blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
7
139
content_id
stringlengths
40
40
detected_licenses
listlengths
0
16
license_type
stringclasses
2 values
repo_name
stringlengths
7
55
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
6 values
visit_date
int64
1,471B
1,694B
revision_date
int64
1,378B
1,694B
committer_date
int64
1,378B
1,694B
github_id
float64
1.33M
604M
star_events_count
int64
0
43.5k
fork_events_count
int64
0
1.5k
gha_license_id
stringclasses
6 values
gha_event_created_at
int64
1,402B
1,695B
gha_created_at
int64
1,359B
1,637B
gha_language
stringclasses
19 values
src_encoding
stringclasses
2 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
3
6.4M
extension
stringclasses
4 values
content
stringlengths
3
6.12M
302dc082b81c57cad788fddb2efc8698092fe3bb
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/convex/extrema.lean
8f2b298b1ffbcccecd9606a21153e120a66b40a8
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,492
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import analysis.convex.function import topology.algebra.affine import topology.local_extr import topology.instances.real /-! # Minima and maxima of convex function...
b53dbfa2287e19c7483df41ba4bce243bb0a6e5b
abd85493667895c57a7507870867b28124b3998f
/src/data/support.lean
d04abbb47af9b51f9b6d6f2fb4ccbaa796e74125
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
4,756
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import order.conditionally_complete_lattice import algebra.big_operators /-! # Support of a function In this file we define `function.support f = {x | f x ≠ 0}` a...
cfad6948838841225b7d0e86f263e3a26e655831
8e31b9e0d8cec76b5aa1e60a240bbd557d01047c
/scratch/refactor_iterate.lean
8950cefe1a52acfe10e1cf1b1c28957a2c13406a
[]
no_license
ChrisHughes24/LP
7bdd62cb648461c67246457f3ddcb9518226dd49
e3ed64c2d1f642696104584e74ae7226d8e916de
refs/heads/master
1,685,642,642,858
1,578,070,602,000
1,578,070,602,000
195,268,102
4
3
null
1,569,229,518,000
1,562,255,287,000
Lean
UTF-8
Lean
false
false
83,876
lean
import data.matrix.pequiv data.rat.basic tactic.fin_cases data.list.min_max partition import order.lexicographic open matrix fintype finset function pequiv local notation `rvec`:2000 n := matrix (fin 1) (fin n) ℚ local notation `cvec`:2000 m := matrix (fin m) (fin 1) ℚ local infix ` ⬝ `:70 := matrix.mul local postfix...
8b9e395f8ad2bce97e6d4911db93f484757d0cc1
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/sesquilinear_form.lean
2c505cca3a0492f4dd739f126b038e88059f8a82
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
27,299
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import algebra.module.linear_map import linear_algebra.bilinear_map import linear_algebra.matrix.basis import linear_algebra.linear_pmap /-! # Sesquilinear form ...
29a3ecfc957449b9c97d5b502e269d4a1fa8d31a
82e44445c70db0f03e30d7be725775f122d72f3e
/src/logic/function/basic.lean
11de65eabc655a66be9f16c39fb6a15d595d8c7f
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
27,343
lean
/- Copyright (c) 2016 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import logic.basic import data.option.defs /-! # Miscellaneous function constructions and lemmas -/ universes u v w namespace function section var...
f01d1e87b35e15c21aa030bb02f2372be65e91ae
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/no_meta_rec_inst.lean
83a57b73e0441e2ddce9e647ff5f1cefed9c4fc8
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
211
lean
class has_false (α : Type) := (f : false) meta def n_has_false : has_false ℕ := by apply_instance -- Error, the "recursive" instance (n_has_false : has_false ℕ) should not be used in type class resolution
51271e5dc71a69fe21969bb447e7f456f58c5307
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/logic/relation.lean
84d1272480ef994c81e2c451aa8b42c10d5997b5
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
16,079
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Transitive reflexive as well as reflexive closure of relations. -/ import tactic.basic variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} section ne_imp varia...
9a1fa0bc12d49b5dcf902a02d7bdb320db079e74
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Elab/Frontend.lean
a3ecc3639303dea3e83f2ff117a871a93211d5ca
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
4,668
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Elab.Import import Init.Lean.Elab.Command namespace Lean namespace Elab namespace Frontend structure Context :...
edb1ac5e469a7dda49b9ad3027c33f25fd6d3270
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/type_library/nat_test.lean
f632f7f472acdb19e88aff002b8842329139f523
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
5,917
lean
import .nat namespace hidden /- Finally, nat: a properly inductive type, where larger values of this type are constructed using smaller values *of the same type*. -/ def n0 := nat.zero def n1 := nat.succ _ def n2 := nat.succ _ variable n : nat -- assume (n : nat) #check nat.succ n -- succ ...
560bb9abd186edcd661cfb40b8e89cfe30ab7ad4
dc253be9829b840f15d96d986e0c13520b085033
/property.hlean
3477e2c607c32d2af624cd71cb02787dcc6a725e
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
11,528
hlean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import types.trunc .logic .move_to_lib open funext eq trunc is_trunc logic definition property (X : Type) := X → Prop namespace property variable {X : Type} /- memb...
a3babb86283e67293d08c6d0284bc775717bbaa4
367134ba5a65885e863bdc4507601606690974c1
/src/data/option/defs.lean
aa9c57fbc61527dd7e7ee8d917ed8695883e6f32
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
5,793
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Extra definitions on option. -/ namespace option variables {α : Type*} {β : Type*} attribute [inline] option.is_some option.is_none /-- An elimination principle for ...
094afcb6fdc4ff15aaa51b142c4a1cf91b152235
4727251e0cd73359b15b664c3170e5d754078599
/src/logic/equiv/list.lean
523c5832cb68dc6cdeca75432488d1ee37baf46b
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
13,615
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.finset.sort import logic.denumerable /-! # Equivalences involving `list`-like types This file defines some additional constructive equivalences using `e...
12d87886506465969212aa2f29f8068bb2ecbf58
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Leanpkg/Manifest.lean
03912ee606a667bef8484ff74ccea44ecbc785e4
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,769
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich -/ import Leanpkg.Toml import Leanpkg.LeanVersion namespace Leanpkg inductive Source where | path (dirName : String) : Source | git (url r...
9a9d5973047f061cf9b5897a7302fb148c6f5c7b
f5373ccdc976e6390397d9f4220a74c76f706f4a
/src/lean_gym/server.lean
975034ca5f673f0c26d9151543415c69cae7214b
[]
no_license
jasonrute/lean_gym_prototype
fcd91fdc454f9e351bbe258c765f50276407547e
ab29624d14e4e069e15afe0b1d90248b5b394b86
refs/heads/master
1,682,628,526,780
1,590,539,315,000
1,590,539,315,000
264,938,525
3
0
null
null
null
null
UTF-8
Lean
false
false
10,331
lean
import lean_gym.interface_m import tools.serialization -- TODO: Serialize Lean's standard raw expression format import system.io -- read eval print loop namespace lean_gym meta def deserialize_expr (sexpr : string) : interface_m expr := match (expr.deserialize sexpr) with | (sum.inl error_msg) := throw (interface_ex....
e310709fa2404fa1220bd20e2f644d2fd7da2373
cf39355caa609c0f33405126beee2739aa3cb77e
/library/smt/arith.lean
2f67fc9b96eae245287a3d5bf9a91e822eec3525
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
620
lean
constants (real : Type) constants (real.has_zero : has_zero real) constants (real.has_one : has_one real) constants (real.has_add : has_add real) constants (real.has_mul : has_mul real) constants (real.has_sub : has_sub real) constants (real.has_neg : has_neg real) constants (real.has_div : has_div real) constants (re...
e96841df3535b257b1e9ecfedb4d5de665b473aa
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/group_theory/sylow.lean
447d9c0804a9c6db37e886a96cb135e96a998a27
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,269
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import group_theory.group_action import group_theory.quotient_group import group_theory.order_of_element import data.zmod.basic import data.fintype.card import data.list....
0e8ec48d83b288c05855f3a0b79e465760d61cde
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Std/Data/AssocList.lean
fe8271645b5845b5e52cbede4a0a171acf2202ad
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,372
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ namespace Std universes u v w /- List-like type to avoid extra level of indirection -/ inductive AssocList (α : Type u) (β : Type v) | nil : AssocList | con...
191c1151ec348fce2e7d24c2f646ecc957a23a83
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/pi.lean
17521b57d695ff2477be7886e3b89220f461bf54
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
18,051
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov, Eric Wieser -/ import linear_algebra.basic import logic.equiv.fin /-! # Pi types of modules This file defines construc...
e4b9635ff3c939daec6674b3ae12b4422bc11c20
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/meta/lean/parser.lean
47e25699cb788fb47fa0a06689ae8b6408c9d559
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,210
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.data.option.basic init.category.monad init.category.alternative import init.meta.pexpr init.meta.interaction_monad namespace lean -- T...
477d3f1ad220e20f2e9d80a73cef6646d9c10f3a
56af0912bd25910f5caae91d6dd0603b0c032989
/src/complex/kb_solutions/Level_02_I.lean
b60157c5eae0e0d077f3ba399ba6d8cc1bb57435
[ "Apache-2.0" ]
permissive
isabella232/complex-number-game
ae36e0b1df9761d9df07049ca29c91ae44dbdc2d
3d767f14041f9002e435bed3a3527fdd297c166d
refs/heads/master
1,679,305,953,116
1,606,397,567,000
1,606,397,567,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,634
lean
/- Copyright (c) 2020 The Xena project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kevin Buzzard Thanks: Imperial College London, leanprover-community -/ -- import level 1 import complex.kb_solutions.Level_01_of_real /-! # Level 2: I I find it unbelievable tha...
7a416d5b5005fcfa03c6d57b02f9d5197548485d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/29.lean
a95ebdf91a3faf9a99b97a3699decbcdf36c27a7
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
105
lean
def foo : Nat -> Nat -> Nat -> List Nat | _, _, 0 => [1] | 0, _, _ => [2] | n, d, k+1 => foo n d k
2fd00c732373284d2f7e4e29ae041756b7811f99
b73bd2854495d87ad5ce4f247cfcd6faa7e71c7e
/src/game/world4/level1.lean
bcbc1353cf930d8c3e02331985bdc6d4aeea0dad
[]
no_license
agusakov/category-theory-game
20db0b26270e0c95a3d5605498570273d72f731d
652dd7e90ae706643b2a597e2c938403653e167d
refs/heads/master
1,669,201,216,310
1,595,740,057,000
1,595,740,057,000
280,895,295
12
0
null
null
null
null
UTF-8
Lean
false
false
1,649
lean
import category_theory.category.default import category_theory.functor import category_theory.isomorphism universes v₁ v₂ u₁ u₂ -- The order in this declaration matters: v often needs to be explicitly specified while u often can be omitted namespace category_theory variables (C : Type u₁) [category.{v₁} C] variabl...
6b4ff92e1f41e63c06bf5167ebe1d68901d90dd0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/inj_surj.lean
64bb225bdc0c3cf80c757753c28af4bfc07adbef
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
12,133
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.defs import Mathlib.logic.function.basic import Mathlib.PostPort universes u...
21d80be300ff5bf07d10149ea8a59d809e958ed8
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/logic/axioms/funext.lean
54d5687bc3031caecf14daf664503565ac3a0f76
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,127
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: logic.axioms.funext Author: Leonardo de Moura Function extensionality. -/ import logic.cast algebra.function data.sigma open function eq.ops axiom funext : ∀ {A : Type} {B : A...
888c9b8b06ef2dc53038b30eaaf26a84f690c3ce
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebraic_geometry/sheafed_space.lean
4ea40462ab027cc6d891967c01d578524d770394
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,921
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebraic_geometry.presheafed_space import topology.sheaves.sheaf /-! # Sheafed spaces Introduces the category of topological spaces equipped with a sheaf (t...
1955e9cbae3377e1a587520f58e7a3f399281411
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/group_theory/perm/sign_auto.lean
502875881869adeae226d65bafb910941894d798
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
20,273
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.basic import Mathlib.data.finset.sort import Mathlib.group_theory.perm.basic impor...
c00843a4c894d2fd751dbf8efda1ea28c5f875da
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/valuation/valuation_subring.lean
faf017aa2555c486e248b0358be7e6a08286b1cf
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
30,075
lean
/- Copyright (c) 2022 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz, Junyan Xu, Jack McKoen -/ import ring_theory.valuation.valuation_ring import ring_theory.localization.as_subring import ring_theory.subring.pointwise import algebraic_geometry....
3e6b223c7a74c29566ce0c2636c5c103941873a8
ac89c256db07448984849346288e0eeffe8b20d0
/tests/lean/343.lean
b90367f30e27a3bf2e490eade51ae7c9a50cf33f
[ "Apache-2.0" ]
permissive
chepinzhang/lean4
002cc667f35417a418f0ebc9cb4a44559bb0ccac
24fe2875c68549b5481f07c57eab4ad4a0ae5305
refs/heads/master
1,688,942,838,326
1,628,801,942,000
1,628,801,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
620
lean
structure CatIsh where Obj : Type o Hom : Obj → Obj → Type m infixr:75 " ~> " => (CatIsh.Hom _) structure FunctorIsh (C D : CatIsh) where onObj : C.Obj → D.Obj onHom : ∀ {s d : C.Obj}, (s ~> d) → (onObj s ~> onObj d) abbrev Catish : CatIsh := { Obj := CatIsh Hom := FunctorIsh } universe m o unif...
224f8130c4589f628c76b03df585dd97e42155a9
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/module/submodule/lattice.lean
b8a8638df8e2e56f084287ec264abb68643d1638
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
11,636
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov -/ import algebra.module.submodule.basic import algebra.punit_instances /-! # The lattice structure on `submodule`s Thi...
a6db698d23726f075cb27a0093ff278d3608d24f
e750538628490a3f5600df1edf4885819c33a4f3
/Chain-BIRDS/Researcher/D23_update.sql.lean
a1b22683b4fb030b676bce73f39e418d4dba62d6
[ "Apache-2.0" ]
permissive
cmli93/Chain-Dejima
0c054cc8d2d28ebcd6b2f84f8b7ba45e0d88b5cf
008d2748f0602b7d65bba8a9a86530e0899496ec
refs/heads/master
1,634,811,960,801
1,551,677,784,000
1,551,677,784,000
173,666,288
0
0
null
null
null
null
UTF-8
Lean
false
false
4,210
lean
import logic.basic import tactic.basic import tactic.finish import tactic.interactive import bx import super import smt2 universe u open int open auto local attribute [instance] classical.prop_decidable -- make all prop decidable theorem disjoint_deltas {d23_researanddoc: string → string → Prop} {d2_researcher: strin...
843cd5b1ef682efef943b8fbb1ddb29638f68264
7b66d83f3b69dae0a3dfb684d7ebe5e9e3f3c913
/src/solutions/thursday/afternoon/category_theory/exercise1.lean
db2b7f0875ba6537cf31aa92b9ba10c53d256dfc
[]
permissive
dpochekutov/lftcm2020
58a09e10f0e638075b97884d3c2612eb90296adb
cdfbf1ac089f21058e523db73f2476c9c98ed16a
refs/heads/master
1,669,226,265,076
1,594,629,725,000
1,594,629,725,000
279,213,346
1
0
MIT
1,594,622,757,000
1,594,615,843,000
null
UTF-8
Lean
false
false
2,149
lean
import algebra.category.CommRing import category_theory.yoneda open category_theory open opposite open polynomial noncomputable theory /-! # Exercise 1 We show that the forgetful functor `CommRing ⥤ Type` is (co?)representable. There are a sequence of hints available in `hints/thursday/afternoon/category_theory/hi...
9221a175b91633a74af065b2580ffc398cf3f4f6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/archive/sensitivity.lean
5b96d7ddbffa0b326a310e8cb965487145cce625
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
15,684
lean
/- Copyright (c) 2019 Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, Patrick Massot -/ import tactic.fin_cases...
569c27c15d223bd6cae250ac710d19d14d7506cc
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/tactic/slim_check.lean
7add92ac9dfc5bf024c73f66122fd2a2c609ce2a
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
8,168
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import testing.slim_check.testable import testing.slim_check.functions import data.list.sort /-! ## Finding counterexamples automatically using `slim_check` A proposition...
7b6846297ac4f62da944d9dc91467fb75c6addc3
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/topology/separation.lean
bc1feb6ee8a3d9ed7067fccb6288dc6bfb698ec0
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
35,165
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Separation properties of topological spaces. -/ import topology.subset_properties open set filter open_locale topological_space filter local attribute ...
22ea6a4150e196057c73ad4bde8c43f9654f3b36
abd677583c7e4d55daf9487b82da11b7c5498d8d
/src/lia.lean
529a949c4c29fdb31c26a4eb8b2009dcf0467008
[ "Apache-2.0" ]
permissive
jesse-michael-han/embed
e9c346918ad58e03933bdaa057a571c0cc4a7641
c2fc188328e871e18e0dcb8258c6d0462c70a8c9
refs/heads/master
1,584,677,705,005
1,528,451,877,000
1,528,451,877,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
755
lean
import .fol namespace lia variable {α : Type} class is_symb (α : Type) extends prop.is_symb α := (eq : α) (lt : α) (gt : α) (pls : α) (mns : α) def lt [is_symb α] (t s : exp α) := exp.app (exp.app (exp.cst (is_symb.lt α)) t) s notation t `<'` s := eq t s def eq [is_symb α] (t s : exp α) := exp.app (exp.app (exp....
5a8e6fe6ca2d4cb0ffa9775d6d7a8ea05eafa94b
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/t6.lean
7460f313079ad9610c48cec99852b2c664ef6e3e
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
334
lean
definition Prop : Type.{1} := Type.{0} section variable {A : Type} -- Mark A as implicit parameter variable R : A → A → Prop definition id (a : A) : A := a definition refl : Prop := forall (a : A), R a a definition symm : Prop := forall (a b : A), R a b -> R b a end check id.{2} check refl.{1} check...
8665d36177d361c89ff0b7b1ca206d8239bf09c6
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/finset/basic.lean
01844f841df6339671197a5ccca59f13b5430a98
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
90,438
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro -/ import data.multiset.finset_ops import tactic.monotonicity import tactic.apply /-! # Finite sets mathlib has se...
2ef17c8c3c6b38efcf0561b2b4774bac6a76c16e
74d9d5f45c6ce5c4f2faf215c04a68eab55fe525
/src/differentiability/derivative.lean
b2dd3cc231f327507cc470af7cf0a807d3c5dc7a
[]
no_license
joshpoll/differential_geometry
290bb8a934ca3b3b6b707d810e6d4b941710b710
57e00a7e37b7c4c73c847429171ff63d3a48def5
refs/heads/master
1,584,551,626,391
1,527,747,643,000
1,527,747,643,000
135,014,993
1
0
null
null
null
null
UTF-8
Lean
false
false
4,919
lean
-- http://www.docentes.unal.edu.co/eacostag/docs/FreCarat_Acosta.pdf -- Eventually (maybe): http://mathlab.math.scu.edu.tw/mp/pdf/S22N14.pdf -- TODO: try to formalize using arbitrary normed vector spaces. -- If that is too much work, fall back to ℝ → ℝ and build up import order.filter analysis.topology.continuity anal...
92f4e83bcbf3bee3386c85123a7677180dac35b1
367134ba5a65885e863bdc4507601606690974c1
/src/probability_theory/independence.lean
4e50232b801b482233477f1e348c837a1531d7be
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
15,494
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Rémy Degenne -/ import measure_theory.measure_space import algebra.big_operators.intervals import data.finset.intervals /-! # Independence of sets of sets and measure spaces (σ-algebras)...
260f36a9761843b901e45bad407882b482709831
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Expr.lean
aa4c1a4e0242cdb07a969bc7f1c15a3891860781
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,152
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.KVMap import Lean.Level namespace Lean inductive Literal where | natVal (val : Nat) | strVal (val : String) deriving Inhabited, BEq...
f4aa10ace2e3f5c9cafca638cde069d940121b33
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/using_bug2.lean
d74e84f60f06871de785061099d86fb6975c969c
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
399
lean
variable {A : Type} variable {f : A → A → A} variable {finv : A → A} premise (h : ∀ x y : A, finv (f x y) = y) include h theorem foo₁ : ∀ x y z : A, f x y = f x z → y = z := λ x y z, assume e, sorry theorem foo₂ : ∀ x y z : A, f x y = f x z → y = z := λ x y z, assume e, assert s₁ : finv (f x y) = finv (f x z), by re...
86710dc4bda1264894ae447bef6e49cf48f9f498
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/e4.lean
2d3dba7f9ea4cfac9b49e52df84d773088789ec8
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
665
lean
prelude definition Prop := Type.{0} definition false : Prop := ∀x : Prop, x check false theorem false.elim (C : Prop) (H : false) : C := H C definition Eq {A : Type} (a b : A) := ∀ P : A → Prop, P a → P b check Eq infix `=`:50 := Eq theorem refl {A : Type} (a : A) : a = a := λ P H, H definition true : Prop := fa...
0ac6a324df53c582588487347fc89ac115c32a38
4fa161becb8ce7378a709f5992a594764699e268
/src/data/int/modeq.lean
2bd130a2b4f9b05289864fb40414a517a22198cb
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
6,079
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.nat.modeq import tactic namespace int def modeq (n a b : ℤ) := a % n = b % n notation a ` ≡ `:50 b ` [ZMOD `:50 n `]`:0 := modeq n a b namespace modeq var...
64877b9b57fbfefb42a24f071d682c50b4b47c98
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/abelian/pseudoelements.lean
f0c1701b3fc9fdf7e261cb3f36d1714138d455f5
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
20,141
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.abelian.exact import category_theory.over import algebra.category.Module.epi_mono /-! # Pseudoelements in abelian categories A *pseudoelement* ...
b9a0ebe0294c99570d8f399666d782ac503bf165
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/examples/lean/opaque_pairs.lean
485a82991da0d30794b11abf028ae34a53b494c1
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
4,335
lean
import macros tactic variable Sigma {A : (Type 1)} (B : A → (Type 1)) : (Type 1) variable Pair {A : (Type 1)} {B : A → (Type 1)} (a : A) (b : B a) : Sigma B variable Fst {A : (Type 1)} {B : A → (Type 1)} (p : Sigma B) : A variable Snd {A : (Type 1)} {B : A → (Type 1)} (p : Sigma B) : B (Fst p) axiom FstAx {A : (Type 1)...
340263ea1c54daf5804ae5ab7577498c0c09a97c
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/monad/limits.lean
fe9acefab8e64bb954c402befd2449aaa1897fad
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
15,219
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.monad.adjunction import category_theory.adjunction.limits import category_theory.limits.preserves.shapes.terminal /-! # Limits a...
0b8613cd59d8afe85882792a491d22ae630ac80c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/whileRepeat.lean
fa13a1e97d268b39dbcb00b6dd2f2ea5ee287d42
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
310
lean
def test2 : IO Unit := do let mut i := 0 repeat println! "{i}" i := i + 1 until i >= 10 println! "test2 done {i}" #eval test2 def test3 : IO Unit := do let mut i := 0 repeat println! "{i}" if i > 10 && i % 3 == 0 then break i := i + 1 println! "test3 done {i}" #eval test3
bb91029333b6361d1dbf2d057c8a085ac755ca1f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/filter/curry.lean
d0ad3eee57f574d46bd5a9d59477dc3854067e90
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
3,668
lean
/- Copyright (c) 2022 Kevin H. Wilson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin H. Wilson -/ import order.filter.prod /-! # Curried Filters This file provides an operation (`filter.curry`) on filters which provides the equivalence `∀ᶠ a in l, ∀ᶠ b in l', ...
096a76899e2625231d2dd0b35919b92c9faba0e3
a7dd8b83f933e72c40845fd168dde330f050b1c9
/src/analysis/normed_space/deriv.lean
a2e9190bcc92acfee09433dfb94cb8a97c892ca9
[ "Apache-2.0" ]
permissive
NeilStrickland/mathlib
10420e92ee5cb7aba1163c9a01dea2f04652ed67
3efbd6f6dff0fb9b0946849b43b39948560a1ffe
refs/heads/master
1,589,043,046,346
1,558,938,706,000
1,558,938,706,000
181,285,984
0
0
Apache-2.0
1,568,941,848,000
1,555,233,833,000
Lean
UTF-8
Lean
false
false
50,490
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel The Fréchet derivative. Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E →L[k] F` a bounded k-linear map, where `k` is a non-discrete normed...
3ef90b653d0c73611ed72b398c633c21987c765f
704c0b4221e71a413a9270e3160af0813f426c91
/src/partition.lean
ea8bdd2bcc51c46adc9a54fe3dae3898ea9d65b1
[]
no_license
CohenCyril/LP
d39b766199d2176b592ff223f9c00cdcb4d5f76d
4dca829aa0fe94c0627410b88d9dad54e6ed2c63
refs/heads/master
1,596,132,000,357
1,568,817,913,000
1,568,817,913,000
210,310,499
0
0
null
1,569,229,479,000
1,569,229,479,000
null
UTF-8
Lean
false
false
18,644
lean
import data.matrix.pequiv data.rat.basic data.vector2 variables {m n : ℕ} /-- The type of ordered partitions of `m + n` elements into vectors of `m` row variables and `n` column variables -/ structure partition (m n : ℕ) : Type := (row_indices : vector (fin (m + n)) m) (col_indices : vector (fin (m + n)) n) (mem_r...
0b28a187752135dbe0e45e55a8956b5759e76ba3
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/analysis/calculus/fderiv.lean
9e92ff11bb4caf8e8b5fbbff25983aaa4d5e6c02
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
115,057
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.tangent_cone import analysis.normed_space.units /-! # The Fréchet derivative Let `E` and `F` be normed sp...
8e5d7b6bd15eece45c856774aad52f7e3912a1c9
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/param.lean
6c8ab07a2551d80a2b8d2bbff339017c24474699
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
514
lean
import data.num open num definition foo1 a b c := a + b + (c:num) definition foo2 (a : num) b c := a + b + c definition foo3 a b (c : num) := a + b + c definition foo4 (a b c : num) := a + b + c definition foo5 (a b c) : num := a + b + c definition foo6 {a b c} : num := a + b + c definition foo7 a b c : num := a...
a0ee01519f8f1e1b45cd9b00054d9a863f05fe61
85d23ae5fcdcd77981feb67549852ff901e8a583
/kan.lean
2c06fd81d16e16d3661ed6b4465d196a0e278a0f
[]
no_license
javra/cubes
5b480abcf1a869335a82b4fb5357ec4d16ab56bc
734bdf71b9086b0ba9ef7dba3ede0c71f10872cc
refs/heads/master
1,611,513,591,851
1,489,495,303,000
1,489,495,303,000
84,469,571
0
0
null
null
null
null
UTF-8
Lean
false
false
439
lean
/- THE UNIFORM KAN CONDITION ON CUBICAL SETS -/ import .cset structure open_box (X : fcset) (m : ℕ) (a : bool) (S : set (fi $ m + 1)) := (bottom : X^.obj (m + 1)) (side : Π (i ∈ S) (b : bool), X^.obj (m + 1)) (adj_bottom : Π (i ∈ S) (b : bool), X^.zproj a (side i H b) = X^.proj i b bottom) (adj_side : Π {...
49e7018538e719a26c883d9c72c6ec1aede5bf17
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/filter/basic.lean
cadc4fdd3748ce3a0e3f3be8cc554ade5d31c060
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
117,464
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad -/ import data.set.finite import order.copy import order.zorn import tactic.monotonicity /-! # Theory of filters on sets ## Main definitions * `filter`...
26ca4b8f839c042eacfac65198765f81d23d6bd4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/group_power.lean
df414e432011d74c69e4eb75c2f39387b4954c34
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
8,374
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad The power operation on monoids and groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We have "pow a n" for ...
73ce5f7d922c9052a6554c4c0721030aa070a571
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/logic/axioms/hilbert.lean
7cd5debd4b279a5f6b4a459fa5dbce95501d5298
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,628
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Leonardo de Moura, Jeremy Avigad -- logic.axioms.hilbert -- ==================== -- Follows Coq.Logic.ClassicalEpsilon (but our definition of "inhabited" is the -- const...
d27a17b11757e1158f382abfb0d8bc65f9be4eb8
a338c3e75cecad4fb8d091bfe505f7399febfd2b
/src/analysis/normed_space/basic.lean
2a2c1ef151d2fa325313239742f9f219268c4c2a
[ "Apache-2.0" ]
permissive
bacaimano/mathlib
88eb7911a9054874fba2a2b74ccd0627c90188af
f2edc5a3529d95699b43514d6feb7eb11608723f
refs/heads/master
1,686,410,075,833
1,625,497,070,000
1,625,497,070,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
83,473
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import algebra.punit_instances import topology.instances.nnreal import topology.algebra.module import topology.algebra.algebra import topology.algebra...
14084bffa8a6244b904ddb458fee5da8c2fdd072
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/coe6.lean
8f159ea898a459377286ec887b44f62021f5651a
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
321
lean
universe variables u structure Group := (carrier : Type u) (mul : carrier → carrier → carrier) (one : carrier) attribute [instance] definition Group_to_Type : has_coe_to_sort Group := { S := Type u, coe := λ g, g~>carrier } constant g : Group.{1} set_option pp.binder_types true check λ a b : g, Group.mul g a b
c41ebcb6ff30efd8f4f73698418c5c70a16d3aec
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/legendre_symbol/basic.lean
4427fe06ad80030b5a74534ce929bf11cf5b85b2
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
10,753
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Michael Stoll -/ import number_theory.legendre_symbol.quadratic_char.basic /-! # Legendre symbol > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file req...
e0d110fc0515dab766e386d8ef16b2c957821e5a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/computability/tm_computable.lean
30ddb2affce76f3b8c3b6ac90f654749620db5de
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
11,343
lean
/- Copyright (c) 2020 Pim Spelier, Daan van Gent. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Pim Spelier, Daan van Gent -/ import computability.encoding import computability.turing_machine import data.polynomial.basic import data.polynomial.eval /-! # Computable ...
373a963ff353e0ee105ca72c7ca743697852b428
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/measure_theory/category/Meas.lean
0e8bf24ea91fd538dcdd2524bbb438f1cc92ad32
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
4,112
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import topology.category.Top.basic import measure_theory.giry_monad import category_theory.monad.algebra /- * Meas, the category of measurable spaces Measurable spa...
5a37b2c336e9c084b26b342a85b016123ec13332
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/unsigned/ops.lean
f3b2239058357d761e18a2b3ee1ef69b70419b97
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,028
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.unsigned.basic import Mathlib.Lean3Lib.init.data.fin.ops namespace Mathlib namespace unsigned ...
c042b4f38d7f186f3199b951a5d7aa916c3c7dac
4767244035cdd124e1ce3d0c81128f8929df6163
/ring_theory/subring.lean
a3341ab0c0b21f0867bf3aef1d99ae73b73a4c83
[ "Apache-2.0" ]
permissive
5HT/mathlib
b941fecacd31a9c5dd0abad58770084b8a1e56b1
40fa9ade2f5649569639608db5e621e5fad0cc02
refs/heads/master
1,586,978,681,358
1,546,681,764,000
1,546,681,764,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,046
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import group_theory.subgroup import data.polynomial import algebra.ring universes u v open group variables {R : Type u} [ring R] /-- `S` is a subring: a set cont...
954f24c643a5ab58502aab4791a84b9a5ca16119
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/normed_space/star/spectrum.lean
55bd525acdbf2e3f68a93b9b34f4f0e2b0cd3eb0
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
7,914
lean
/- Copyright (c) 2022 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import analysis.normed_space.star.basic import analysis.normed_space.spectrum import analysis.normed_space.star.exponential import analysis.special_functions.exponentia...
b755e9b6f0b7d55cda1c9a0d00ff8975e6396fa6
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/util.lean
8c56da878bebc390ed27d6427549b423a5ba6d6c
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,446
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.string.basic universes u /- This function has a native implementation that tracks time. -/ def timeit {α : Type u} (s : string) (f...
207551401ff3949df63600a1bb80dc87946784be
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/nat/sqrt.lean
904d6a5311d08a028f245243be7e5eb3b28584c6
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
7,194
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Johannes Hölzl, Mario Carneiro -/ import data.int.basic /-! # Square root of natural numbers An efficient binary implementation of a (`sqrt n`) function that...
ba00f8f67bf6d7dd67379043e541416be883a746
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/floor.lean
dc8c6fce6d9951a77a0e31e35dc16a025ee7f826
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,655
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import tactic.linarith import tactic.abel import algebra.ordered_group import data.set.intervals.basic /-! # Floor and ceil ## Summary We define ...
6460419d6ba7d68a12a537d16ccab33236cf7029
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/category_theory/limits/shapes/images.lean
8beebd55492e433182f428b62f14bc97b637808b
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,339
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.strong_epi /-! # C...
d438a25dcd4887bb59357c733625c36fb77bf81e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/ring/ulift.lean
d80b70875968eb8ab2ae4de1716ba464733f3a55
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
3,030
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.group.ulift import data.equiv.ring /-! # `ulift` instances for ring This file defines instances for ring, semiring and related structures on `ulift` ...
e139f0ea621b3010569c15e47712e89c2b4050f8
022547453607c6244552158ff25ab3bf17361760
/src/analysis/specific_limits.lean
82f1f3e54bfe021b08fa824666abf1ab06aa82b0
[ "Apache-2.0" ]
permissive
1293045656/mathlib
5f81741a7c1ff1873440ec680b3680bfb6b7b048
4709e61525a60189733e72a50e564c58d534bed8
refs/heads/master
1,687,010,200,553
1,626,245,646,000
1,626,245,646,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,810
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.geom_sum import order.filter.archimedean import order.iterate import topology.instances.ennreal import tactic.ring_exp import analysis.asymptotics.asym...
cee5e1bfb99a4d89f689b5f10ef422411fe3b2d2
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/topology/uniform_space/cauchy.lean
7ec7071eac33325f6636bab687dd182f9547a18e
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
16,083
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Theory of Cauchy filters in uniform spaces. Complete uniform spaces. Totally bounded subsets. -/ import topology.uniform_space.basic open filter topol...
6ac200fc8ed315a5c73b360fe6de422dbaa422df
618003631150032a5676f229d13a079ac875ff77
/src/topology/algebra/multilinear.lean
8ad6207fdad88f0fda3ccc14e7551eb6380292da
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
12,873
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.algebra.module import linear_algebra.multilinear /-! # Continuous multilinear maps We define continuous multilinear maps as maps from `Π(i : ι...
2753d6860a2adea3453edece122d910396fd22e8
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/tactic/ring_exp.lean
fb44afc5ba19c278770546f2ea2ce2023366afc9
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
56,265
lean
/- Copyright (c) 2019 Tim Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Tim Baanen. Solve equations in commutative (semi)rings with exponents. -/ import tactic.norm_num import control.traversable.basic /-! # `ring_exp` tactic A tactic for solving equations i...
8d96c7f7e66126b9d76cafd58be392e1676f679b
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/algebra/order/extr_closure.lean
834214a96ff6000dfb39d73f88f25ef6d6ca13d9
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,298
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.local_extr import topology.algebra.order.basic /-! # Maximum/minimum on the closure of a set In this file we prove several versions of the f...
e217c06f4fdeb5c26f7af58ddd4bbc4bdf19a14a
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2015/IMO_2015_P4.lean
f87c6f9761c915ae9bc0e6f6cc0a7543f3167844
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
720
lean
import Geo.Geo.Core namespace Geo def IMO_2015_P4 : Prop := ∀ (A B C : Point), let Ω := Triangle.circumcircle ⟨A, B, C⟩; let O := Triangle.circumcenter ⟨A, B, C⟩; ∀ (D E : Point) (Γ : Circle), Circle.isOrigin A Γ → intersectAt₂ Γ (Seg.mk B C) D E → [B, D, E, C].allDistinct → inOrderOn [B, D, E, C] (Line.mk B C) → ∀ (...
8c940cf21a328ea404fc2eb9128d00d7f531d0c1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/number_theory/pell.lean
b2abfcd4cc8dd63cdeba6e454c91a5b22090e053
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
12,278
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.nat.modeq import Mathlib.data.zsqrtd.basic import Mathlib.tactic.omega.default import ...
60c0070baa7d28ffccb8a89a67837707acc71255
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/init/tactic.lean
3aaeb60ee8ed22617e44a985684f9f8bafbb6677
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
8,045
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura This is just a trick to embed the 'tactic language' as a Lean expression. We should view 'tactic' as automation that when execute produces a term. tactic.buil...
2f32fd6aa6a08bd9ee168d92b8dd3aaf443e4061
159fed64bfae88f3b6a6166836d6278f953bcbf9
/Structure/Generic/Notation.lean
22b21ae0e1920dc59679103e08e7acd4e039b02f
[ "MIT" ]
permissive
SReichelt/lean4-experiments
3e56830c8b2fbe3814eda071c48e3c8810d254a8
ff55357a01a34a91bf670d712637480089085ee4
refs/heads/main
1,683,977,454,907
1,622,991,121,000
1,622,991,121,000
340,765,677
2
0
null
null
null
null
UTF-8
Lean
false
false
550
lean
-- Some type classes for special notation that we use. import mathlib4_experiments.Data.Notation set_option autoBoundImplicitLocal false universes u v w class HasProduct (α : Sort u) (β : Sort v) where {γ : Sort w} (Product : α → β → γ) infixr:35 " (⧆) " => HasProduct.γ infixr:35 " ⧆ " => HasProduct.Prod...
7dfe1762225c2458816901e2fd61deef47de0b4e
5df84495ec6c281df6d26411cc20aac5c941e745
/src/formal_ml/nat.lean
3f713070fa2f968fb821f725a52da8ba089e7824
[ "Apache-2.0" ]
permissive
eric-wieser/formal-ml
e278df5a8df78aa3947bc8376650419e1b2b0a14
630011d19fdd9539c8d6493a69fe70af5d193590
refs/heads/master
1,681,491,589,256
1,612,642,743,000
1,612,642,743,000
360,114,136
0
0
Apache-2.0
1,618,998,189,000
1,618,998,188,000
null
UTF-8
Lean
false
false
8,310
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
21afd709b874a1e7c3dc59ac2c58e8de43f7babd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/big_operators/basic.lean
ac866d2ce39f330b9563b1e6069a37efbec897c6
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
22,342
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Floris van Doorn, Sébastien Gouëzel, Alex J. Best -/ import data.list.forall2 /-! # Sums and products from lists This file provides basic results about `list.prod`, `...
043428b4190fa29433c10eac2345eb3f0ad1311f
0bd6c950c82dcba3e46dc8d8acb5ecc60b917520
/ramsey.lean
534c1c0f0c4fbc593ef3cbc9471719a8438f3cce
[]
no_license
truonghoangle/formalabstracts
976dbbdede5c71346a3c534a8f319456248d4610
b889ec60143315053a51b1829a5dc4d82ba503b3
refs/heads/master
1,584,899,948,798
1,537,184,894,000
1,537,184,894,000
140,428,980
0
0
null
null
null
null
UTF-8
Lean
false
false
5,243
lean
import data.set.finite open set variables α : Type variable [decidable_eq α] theorem infinite_ramsey (s :set α) (C:finset α → ℕ ) (m n:ℕ): infinite s ∧ (∀ t:finset α, t.to_set ⊆ s ∧ t.card = n → C t≤ m) → ∃ t c, infinite t ∧ t ⊆ s ∧ (∀ u:finset α, u.to_set ⊆ t ∧ u.card =n → C u = c) := b...
64728665ea6fb06098ff77a20aa72d3e64f52d5a
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/fintype/intervals.lean
430b3d03efe8f4a4cbfce302326809201cae6e05
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
1,623
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.set.intervals import data.set.finite import data.fintype.basic import data.pnat.intervals /-! # fintype instances for intervals We provide `fintype` ins...
af432be9b1e929c1def81d14194cd83039142f28
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/flat.lean
8eff39776ef51e61ff778c0d8560051ee472e067
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,682
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import linear_algebra.dimension import ring_theory.noetherian import ring_theory.algebra_tower /-! # Flat modules A module `M` over a commutative ring `R` is *flat...
616aeeda330193fc1f5f1d54bc1e9317b39a365d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/PreDefinition/Structural/Eqns.lean
21c990b4c613da5b0f45d9d1acbbbbcaa3ee6417
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
3,900
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Eqns import Lean.Meta.Tactic.Split import Lean.Meta.Tactic.Simp.Main import Lean.Meta.Tactic.Apply import Lean.Elab.PreDefinition.Basic imp...
07342249087b57057f3784becec1c23c0f669826
3618c6e11aa822fd542440674dfb9a7b9921dba0
/scratch/golf.lean
e44bfd44a63fa6121de5d34f459ae237ff81587c
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
1,693
lean
import .base_case tactic open free_group multiplicative variables {ι : Type} [decidable_eq ι] def golf_single_aux (r : free_group ι) : Π (w : free_group ι) (wl : ℕ), free_group ι | w wl := let wr := w * r in let wrl := wr.to_list.length in if h : wrl < wl then golf_single_aux wr wrl else w using_well_f...
d46ff35b0ef33753e56b51733705300ed8780a89
74a42606b2a618112114eacdd674a7cc28b585c4
/tpl-sec5.lean
e9413cb027de8bb7cc620629c72594eca462e2df
[]
no_license
Hodapp87/leanprover_scratch
8c53ce6d9e666f8f14cb6162c9e9429ebbecbc8c
de347c54ee56c2a05804f80d5f28e98070507236
refs/heads/master
1,610,428,204,434
1,484,350,758,000
1,484,350,758,000
77,873,828
0
0
null
null
null
null
UTF-8
Lean
false
false
14,784
lean
-- https://leanprover.github.io/theorem_proving_in_lean/index.html -- Section 5 (Tactics) theorem test (p q : Prop) (hp : p) (hq : q) : p ∧ q ∧ p := begin apply and.intro, exact hp, apply and.intro, exact hq, exact hp end print test -- This looks very Coq-like to me (perhaps intentionally, since Roesch -- sp...
421b11ef7bd2665aa801423029193de3bdcfa321
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/concrete_category/default.lean
23b547fc38ceba04956f7a3fea1db2f341f02c37
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
204
lean
import category_theory.concrete_category.basic import category_theory.concrete_category.bundled import category_theory.concrete_category.bundled_hom import category_theory.concrete_category.unbundled_hom
c958434ea4c2f0c1ffdbe71c5a98c05f370616a9
618003631150032a5676f229d13a079ac875ff77
/src/topology/uniform_space/completion.lean
4e3385e7a837638e6aeaa4fb26728cd15ddcd54f
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
23,226
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Hausdorff completions of uniform spaces. The goal is to construct a left-adjoint to the inclusion of complete Hausdorff uniform spaces into all uniform...
5865ae61d38e318078c2af6c4328cdf624fd19e8
b4a7d9c9980fc97e8ea50eaec4d4dab5467ec1ff
/docs/hlm/experimental/lean/hlm-defs.lean
82c84feeb1b3cb6385deea7362c76d71a28446e0
[ "MIT" ]
permissive
SReichelt/slate
27fe8b4f162338460334d86cca640f6dabb24b00
e7d8d3cfd1b8311b7d1026e1b83add345db2e0bd
refs/heads/master
1,674,179,982,128
1,670,018,304,000
1,670,018,304,000
167,445,060
18
1
MIT
1,673,266,820,000
1,548,367,505,000
TypeScript
UTF-8
Lean
false
false
27,696
lean
/- This file experimentally maps the primitives of the HLM logic to the Lean proof assistant. In particular, for HLM parameters of type `Set`, `Subset`, and `Element`, we provide three Lean types with the same names. Some usage examples are included at the bottom. The translation serves several purposes: * It gives HL...
d2b0e436a8e9f0b478be4457ecafbea6313fc6d1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/exterior_algebra/of_alternating.lean
2ad764e901130c0ba9490b93b79cdb238e76a6d6
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
6,206
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.clifford_algebra.fold import linear_algebra.exterior_algebra.basic /-! # Extending an alternating map to the exterior algebra ## Main definitions ...
bac05f7084a0cd6894b23caba24e4936b4f3b95c
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/category/bitraversable/instances.lean
8ddf29dae0a700f4bf407df38fac5e523fb524a3
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
4,007
lean
import category.bitraversable.basic category.bitraversable.lemmas category.traversable.lemmas tactic.solve_by_elim universes u v w variables {t : Type u → Type u → Type u} [bitraversable t] section variables {F : Type u → Type u} [applicative F] def prod.bitraverse {α α' β β'} (f : α → F α') (...
5ef1cfd112bedc97a1ca658e02f610f7f458a61c
b561a44b48979a98df50ade0789a21c79ee31288
/src/Init/Notation.lean
8c425b3c8f59bd3f7272c985a9da953d0c1c02f6
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,467
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Notation for operators defined at Prelude.lean -/ prelude import Init.Prelude -- DSL for specifying parser precedences and priorities namespace Lean.Parser....
ecc0538640585770ac2575818217601c982cd422
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/ring_theory/localization.lean
e732fefd4fec97db2546cb4ba0f3ed3b69e47ae5
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
24,634
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin -/ import tactic.ring data.quot data.equiv.algebra ring_theory.ideal_operations group_theory.submonoid universes u v namespace localization varia...
4f9b84187342f5c1db116c3692a54f641884d8f9
4727251e0cd73359b15b664c3170e5d754078599
/src/order/filter/lift.lean
81c48e3e98b27a3dffb42dffd0fd480765aa58da
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
19,406
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import order.filter.bases /-! # Lift filters along filter and set functions -/ open set open_locale classical filter namespace filter variables {α : Type*} {β : T...
fb174d094488e9434cbf80dae11a4ad41b1e412e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/archive/100-theorems-list/16_abel_ruffini.lean
2bdc569180ffeb0cffd2f2e08fd314a0a7c40fe4
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
7,868
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import field_theory.abel_ruffini import analysis.calculus.local_extr /-! Construction of an algebraic number that is not solvable by radicals. The main ingredients...
f3261759d215c74f9248adc4d1be56940384d9f3
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Data/RBMap.lean
b3c02ddb089ab304c881ab1b4a910f933c0491a1
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
15,792
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ namespace Lean universe u v w w' inductive Rbcolor where | red | black inductive RBNode (α : Type u) (β : α → Type v) where | leaf ...
dd21f42210ab5dd247efda4db64883472b716ccf
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/topology/algebra/module.lean
7dba6acc2f6c95819c0e5685d32fdea188e81211
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
36,761
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo, Yury Kudryashov -/ import topology.algebra.ring import ring_theory.algebra import linear_algebra.projection /-! # Theory of topologic...
0291cea03604210eceb6a24354009a06b1b92c62
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/norm_num.lean
97dba721cd51bb5b3621974af0441815f4826877
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
14,598
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro -/ import tactic.norm_num import algebra.ring.pi /-! # Tests for `norm_num` extensions -/ constant real : Type notation `ℝ` := real @[instance] constant real...
c6c7bcba183414137ceb35891acb3a3bb2ea263c
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/pfun.lean
9d27724a938f8bff42e644ce37816eb239a866b9
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
22,646
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Jeremy Avigad -/ import data.rel /-- `roption α` is the type of "partial values" of type `α`. It is similar to `option α` except the domain condition can be an arbi...
3d08b4246c201bb150af490ee22546b0a522afb7
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/zorn.lean
e5b47dfba7d15eeccdfa171d3d2849a0fcc05936
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
16,294
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.set.lattice /-! # Chains and Zorn's lemmas This file defines chains for an arbitrary relation and proves several formulations of Zorn's Lemma, along wit...