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
b947c5372a7f113d21c3ae9a5758ce0f2260f9b2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/fun_like/basic.lean
802503b21e806add6841f8fb4f6d372106c62c31
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
6,629
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import logic.function.basic import tactic.lint import tactic.norm_cast /-! # Typeclass for a type `F` with an injective map to `A → B` This typeclass is primarily for us...
ce4e2dcb740ed838ee087746103b2e311b86bbd1
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/finset/lattice.lean
a40cba8bfc5a1bd6f3ef568a545c4e3c85c2df60
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
24,935
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.finset.fold import data.multiset.lattice import order.order_dual /-! # Lattice operations on finsets -/ variables {α β γ : Type*} namespace finset open ...
cfb0485d51ad0e6bb52d76ff6621c203e7d5efdf
4fa161becb8ce7378a709f5992a594764699e268
/src/logic/relation.lean
067e1d9e7a71ea09d08c3ded18837a0e0d87f989
[ "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
13,260
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*} namespace relation se...
03bba40952dbd1de8610e9dab22c076e1087a5d3
63abd62053d479eae5abf4951554e1064a4c45b4
/test/ring.lean
bf1bbffcf67458757a66a1ca8782a81e78e22175
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
2,153
lean
import tactic.ring import data.real.basic example (x y : ℕ) : x + y = y + x := by ring example (x y : ℕ) : x + y + y = 2 * y + x := by ring example (x y : ℕ) : x + id y = y + id x := by ring! example {α} [comm_ring α] (x y : α) : x + y + y - x = 2 * y := by ring example (x y : ℚ) : x / 2 + x / 2 = x := by ring example...
c45eb2495fde1f6e2ce2a5a497591f0c19a330ec
b9dd0f3640eda42cdd8d97060417cb19d5c00eaf
/src/game.lean
fb3fb7a3d036760c70a9de3daa438c6fed6bf80b
[]
no_license
foxthomson/guessgame
20e3e5854d0a5c1a26335914446c827a711ee53e
96d542b574949a883a9ed216a4f78e195d61878a
refs/heads/master
1,670,822,903,666
1,599,562,332,000
1,599,562,332,000
293,782,243
0
0
null
null
null
null
UTF-8
Lean
false
false
472
lean
import basic /-- # How to play The tactic `mk_random_game` will generate a random number between 1 and 100. You can then use the tactic `guess n` to guess a random number. If you get it right the goal will be solved otherwise it will add a hypothesis saying whether you were too high or too low. You have 7 guesses. -...
ef07e5f92987f548eac3a7192d90f549f8260dc7
05b503addd423dd68145d68b8cde5cd595d74365
/src/algebra/ordered_ring.lean
4f0c561f8b741e04f10621a5ee883521a16facb6
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,617
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 tactic.split_ifs order.basic algebra.order algebra.ordered_group algebra.ring data.nat.cast universe u variable {α : Type u} -- `mul_nonneg` and `mul_pos` in...
de725bb289223364523507e48ee9be2cff5eb93a
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/order/order_iso.lean
6e85c019047201d66cf0351921556576f6e136b7
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
12,873
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 order.basic logic.embedding data.nat.basic open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α → α → Prop} {s : β → β → Prop...
5eae429d024a17d27431c1f721dd89f89aa1bebc
df561f413cfe0a88b1056655515399c546ff32a5
/3-multiplication-world/l9.lean
a75dad341b714cd6d7cf1c256f586afed55fb931
[]
no_license
nicholaspun/natural-number-game-solutions
31d5158415c6f582694680044c5c6469032c2a06
1e2aed86d2e76a3f4a275c6d99e795ad30cf6df0
refs/heads/main
1,675,123,625,012
1,607,633,548,000
1,607,633,548,000
318,933,860
3
1
null
null
null
null
UTF-8
Lean
false
false
192
lean
lemma mul_left_comm (a b c : mynat) : a * (b * c) = b * (a * c) := begin induction b with k Pk, repeat { rw zero_mul }, rw mul_zero, refl, repeat { rw succ_mul }, rw mul_add, rw Pk, refl, end
0a270d877a5452265e3b59ebdd3acdc28b9035b3
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group/hom_instances.lean
672efaf836ffbeac75d690243dadc2889ccb9dc6
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
9,640
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group_power.basic /-! # Instances on spaces of monoid...
aec5f43d780f1254335f5310928c21b4e139c55a
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world2/level2.lean
4b46ba4156067b30a7cd2fa89d1899e91391baa9
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
1,683
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level1 -- hide namespace mynat -- hide /- # Addition world Don't forget to use the drop down boxes on the left to see your tactics and what you have proved so far. ## Level 2: `add_assoc` -- associativity of addition. It's well-known that ...
b77150c7a5aba527c30a951c08beccf8b4cb8419
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/alist.lean
37ca52e6a9c6c0558dc431c2c5b346cdd0f36ae8
[ "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,991
lean
/- Copyright (c) 2018 Sean Leather. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sean Leather, Mario Carneiro -/ import data.list.sigma /-! # Association Lists This file defines association lists. An association list is a list where every element consists of a key ...
b031d61762cece6b2d0c05fd48d0c82ef6bfc5ab
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-algebra-48.lean
61e4f5ffb07e799c54180fc0b73e66a9bc62814b
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
307
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.complex.basic example (q e : ℂ) (h₀ : q = 9 - 4 * complex.I) (h₁ : e = -3 - 4 * complex.I) : q - e = 12 := begin rw [h₀, h₁], ring, end
bb1bb7a1c434c67c68eede13707d8119ca4a608e
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/group_theory/group_action/group.lean
bd17a40cd2f6fb7e57e322598ec32572061d72f0
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,875
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.defs import algebra.group.units import algebra.group_with_zero import data.equiv.mul_add /-! # Group actions applied to various types of...
4ac6d9a314904e04bb5698fbf3e06e41f084b0d1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/pfilter.lean
62df6bcdc89a1d7110e59fc2203c8046e9d05dc1
[ "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
4,159
lean
/- Copyright (c) 2020 Mathieu Guay-Paquet. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mathieu Guay-Paquet -/ import order.ideal /-! # Order filters ## Main definitions Throughout this file, `P` is at least a preorder, but some sections require more structure, su...
cfdc9fefe3e442488102c15e596273202cc28ee0
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebraic_geometry/stalks.lean
a4e003619fd0a7cfe702c14c38440ea1df2f4de2
[ "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
7,222
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 category_theory.limits.final import topology.sheaves.stalks /-! # Stalks for presheaved spaces This file lifts con...
88cdbd672076a02dfdde6e820b9352cb9a45b895
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/endofunctor/algebra.lean
a43e576f522758fad281ff634b882253fdb2a2c8
[ "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
6,470
lean
/- Copyright (c) 2022 Joseph Hua. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta, Johan Commelin, Reid Barton, Rob Lewis, Joseph Hua -/ import category_theory.limits.final import category_theory.functor.reflects_isomorphisms /-! # Algebras...
bdd2e40c45e8c967bb4d76c4a898f2f78c936c15
6c56e3fbe5d7711b66a3b46f1810b44cfa109768
/src/week1.lean
0277077b4010d6ac2a5ba374887530e63d0c396f
[]
no_license
kodyvajjha/lean-mmc2021
015e7ba9d2f43397582d42ad282e88c8ce876dc3
cc774208f9dc041cad4def289357301b4a0a8173
refs/heads/master
1,689,416,888,246
1,630,161,054,000
1,630,161,054,000
384,140,257
1
0
null
null
null
null
UTF-8
Lean
false
false
4,270
lean
/- This exercise will guide you through a proof that there are infinitely many primes. NOTE: You will need to install mathlib for this. A good way to confirm if mathlib is installed is to see if the following imports work. This tells Lean to import facts about prime numbers. -/ import tactic import data.nat.prime...
9fc645b2c589b96c1a658f1d58e281ed98bf4858
e21db629d2e37a833531fdcb0b37ce4d71825408
/src/use_cases/arrcp.lean
48452762cef91670a3a83efce413550b0bf1697a
[]
no_license
fischerman/GPU-transformation-verifier
614a28cb4606a05a0eb27e8d4eab999f4f5ea60c
75a5016f05382738ff93ce5859c4cfa47ccb63c1
refs/heads/master
1,586,985,789,300
1,579,290,514,000
1,579,290,514,000
165,031,073
1
0
null
null
null
null
UTF-8
Lean
false
false
4,400
lean
/- import rel_hoare namespace arrcp open parlang open parlang.kernel def tstate := string → ℕ def state.update (name : string) (val : ℕ) (s : tstate) : tstate := λn, if n = name then val else s n notation s ` & ` n ` ::= ` v := state.update n v s def init := λ n : ℕ, λ name, if name = "tid" then n else 0 def arr...
3114f4547c98b77e6317ecb1c5cc6964775c2fba
60bf3fa4185ec5075eaea4384181bfbc7e1dc319
/src/game/order/max_API_test.lean
747275c4aee266ca62539457d522fc510ea3e38e
[ "Apache-2.0" ]
permissive
anrddh/real-number-game
660f1127d03a78fd35986c771d65c3132c5f4025
c708c4e02ec306c657e1ea67862177490db041b0
refs/heads/master
1,668,214,277,092
1,593,105,075,000
1,593,105,075,000
264,269,218
0
0
null
1,589,567,264,000
1,589,567,264,000
null
UTF-8
Lean
false
false
4,822
lean
import tactic open_locale classical -- def of max a b is "if a <= b then b else a" noncomputable theory -- same reason -- A linear order is a reflexive, transitive, antisymmetric and total relation `≤` variables {X : Type} [linear_order X] {a b c : X} -- Note in the below that sometimes we have to supply the variab...
ff5425bce0b4e4764817ddaabcb0d1bb6b08d1d8
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/group/compact.lean
0c223c744d154af653d14ae35ee359a6388d772a
[ "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
2,413
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, Patrick Massot -/ import topology.algebra.group.basic import topology.compact_open import topology.sets.compacts /-! # Additional results on topologica...
3569bdad2833ef9ff027efbaac5b72275345ad68
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/discrRefinement3.lean
20774361b66b73bdbf6e4cce071f26c7b4624441
[ "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
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,261
lean
inductive Mem (a : α) : List α → Prop where | head {as} : Mem a (a::as) | tail {as} : Mem a as → Mem a (a'::as) infix:50 " ∈ " => Mem example (a b : Nat) (h : a ∈ [b]) : b = a := match h with | Mem.head => rfl example {as : List α} (h : a ∈ b :: as) : b = a ∨ a ∈ as := match h with | Mem.head => Or.in...
9d0a148772eaf74437c2969a724ce45015e08048
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/data/set/card.lean
01681f03ae0855474358b53991c32cb3e5293e68
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,055
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Cardinality of finite sets. -/ import .finite data.finset.card open nat classical namespace set variable {A : Type} noncomputable definition card (s : set A) := finset....
8e52266588f6c2ba0d0018d07938efc22f396fe7
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Lean/MetavarContext.lean
053cf2a2502a143c2c58a1c562e27fdaa248ed03
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
40,217
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 -/ prelude import Init.Control.Reader import Init.Data.Nat import Init.Data.Option import Init.Lean.Data.NameGenerator import Init.Lean.Util.MonadCache import ...
13c505ab764b51c1a840c80fb510120b74d5abdd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/free_module/basic.lean
25c1a2c1321fecc9927e71a48f4c2801db69c00e
[ "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,325
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import linear_algebra.direct_sum.finsupp import logic.small.basic import linear_algebra.std_basis import linear_algebra.finsupp_vector_space /-! # Free modules ...
09f4d38657d53ee44fea4672d7c54c5d573effeb
5883d9218e6f144e20eee6ca1dab8529fa1a97c0
/src/exp/subst/type.lean
fdabc5f70beab3e99366ce860f3071a251cd22c7
[]
no_license
spl/alpha-conversion-is-easy
0d035bc570e52a6345d4890e4d0c9e3f9b8126c1
ed937fe85d8495daffd9412a5524c77b9fcda094
refs/heads/master
1,607,649,280,020
1,517,380,240,000
1,517,380,240,000
52,174,747
4
0
null
1,456,052,226,000
1,456,001,163,000
Lean
UTF-8
Lean
false
false
873
lean
/- This files defines the substitution type `subst`. -/ import exp.type namespace acie ----------------------------------------------------------------- namespace exp ------------------------------------------------------------------ variables {V : Type} [decidable_eq V] -- Type of variable names variables {vs : T...
38ad0d5213c6fc708b91254c812ade737478079e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/young/semistandard_tableau.lean
993b41bef0539efa8a901361affafc7c63b1af60
[ "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
4,794
lean
/- Copyright (c) 2022 Jake Levinson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jake Levinson -/ import combinatorics.young.young_diagram /-! # Semistandard Young tableaux A semistandard Young tableau is a filling of a Young diagram by natural numbers, such that ...
214c66a18d074d73fa7f1846d193ca8f0b350923
856e2e1615a12f95b551ed48fa5b03b245abba44
/docs/tutorial/category_theory/calculating_colimits_in_Top.lean
5c9df7216803d9efd32218b64b086c0478d67210
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
3,637
lean
import topology.category.Top.limits import category_theory.limits.shapes import topology.instances.real /-! This file contains some demos of using the (co)limits API to do topology. -/ noncomputable theory open category_theory open category_theory.limits def R : Top := Top.of ℝ def I : Top := Top.of (set.Icc 0 1 : ...
349863a6bb56ea3a3bcb90ddce1cb0c8a9f63d97
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/algebra/ordered_field.hlean
f05877ee6c02d8c3646353359e9a5b77ffcb037e
[ "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
20,339
hlean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis -/ import algebra.ordered_ring algebra.field open eq eq.ops algebra set_option class.force_new true namespace algebra structure linear_ordered_field [class] (A : Type) exte...
8c78f5d421d7d4bfdea304e3b149c1002e75c931
46125763b4dbf50619e8846a1371029346f4c3db
/src/analysis/convex/specific_functions.lean
68b6ced1a717525488e6668789fcccd10281044e
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
4,325
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 analysis.calculus.mean_value data.nat.parity analysis.complex.exponential /-! # Collection of convex functions In this file we prove that the following fun...
255cc547f00ca6ac84325fe89578c59c42368e7c
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/KT/KT_defs.lean
ec0593a39f7d9976dce4167b2d4fe53f857119d7
[ "MIT" ]
permissive
minchaowu/ModalTab
2150392108dfdcaffc620ff280a8b55fe13c187f
9bb0bf17faf0554d907ef7bdd639648742889178
refs/heads/master
1,626,266,863,244
1,592,056,874,000
1,592,056,874,000
153,314,364
12
1
null
null
null
null
UTF-8
Lean
false
false
14,113
lean
/- Copyright (c) 2018-2019 Minchao Wu. All rights reserved. Released under MIT license as described in the file LICENSE. Author: Minchao Wu -/ import defs open nnf tactic meta def frame_restriction : tactic unit := do intro `a >> `[simp] structure KT (states : Type) extends kripke states := (refl : reflexive rel . f...
f85482d7da79cb5d7e5983c7925bdd2331d1898e
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/support.lean
1ae9169b9dbd834f789a8d4309a52ceb77bba1fb
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,037
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.basic import algebra.group.prod import algebra.group.pi import algebra.module.pi /-! # Sup...
519827b3d199d5b43b79b19e9e611128e690e85b
d0c6b2ba2af981e9ab0a98f6e169262caad4b9b9
/src/Std/Data/AssocList.lean
c4d1f6eb5345f8cec9b8b63c2b07b98302133e71
[ "Apache-2.0" ]
permissive
fizruk/lean4
953b7dcd76e78c17a0743a2c1a918394ab64bbc0
545ed50f83c570f772ade4edbe7d38a078cbd761
refs/heads/master
1,677,655,987,815
1,612,393,885,000
1,612,393,885,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,107
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 -/ universes u v w w' namespace Std /- List-like type to avoid extra level of indirection -/ inductive AssocList (α : Type u) (β : Type v) where | nil : Asso...
384cb39c89d03638e7dfc7da837ac67a2028fc36
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/sup_inf/level01.lean
8c7f226030f2487f1d8f43e70e0ffae77e5dde17
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,088
lean
import game.order.level09 import data.real.basic -- imports the real numbers ℝ namespace xena -- hide -- World name : Sup and Inf /- # Chapter 3 : Sup and Inf ## Level 1 : Upper bounds -/ /- Let $X$ be a set of real numbers. We say a real number $b$ is an *upper bound* for $X$ if every $x \in X$ is at most $b$. -...
404e0ce307dd27cee70d23933352f9682c278316
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/geo/V.lean
4f7a4c78aa6e8cfd58ae1f046f98edaa1ddda3da
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
1,680
lean
import .global universe u local notation `Ring` := CommRing.{u} local notation `Set` := Type u open CommRing namespace V_definition variables (R : Ring) def V_obj (S : set R)(A : Ring) : Type u := { ζ : ring_hom R A | ∀ x ∈ S, ζ (x) = 0} lemma mem_V_obj (R : Ring) (S : set R)(A : Ring)(ζ: ring_hom R A) : (∀ x...
5a58cc0a0fe1945eaaa533ca3f19eb49fe60c5cf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/homotopy/path.lean
438d71e2d45d3e7abca67cbad8bef02210b4e2d3
[ "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
11,339
lean
/- Copyright (c) 2021 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import topology.homotopy.basic import topology.path_connected import analysis.convex.basic /-! # Homotopy between paths > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > ...
9e4c5f0e1ab3a69c9c4d399a64a9733b2476780b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/eisenstein_criterion_auto.lean
210fea88acbaa61b16a2cfff973948cb424bbf5b
[]
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
2,553
lean
/- Copyright (c) 2020 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.ring_theory.ideal.operations import Mathlib.data.polynomial.ring_division import Mathlib.tactic...
7aaf6b0652159e86069f7ec100d762198884e768
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/num/lemmas.lean
949911b3da6295635e04f02ab1f448c7ad6b5b33
[ "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
53,451
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.num.bitwise import data.int.char_zero import data.nat.gcd.basic import data.nat.psub import data.nat.size /-! # Properties of the binary represent...
475199f3fd9c455814236a43fca1886eafdf57c3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finset/powerset.lean
fc7401ccb03fcfeb51a11035a61ca899108ea30e
[ "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
11,861
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.lattice /-! # The powerset of a finset -/ namespace finset open function multiset variables {α : Type*} {s t : finset α} /-! ### powerset -/ se...
2d4b906991f0f58a3405a57b6ff0b5789a3666d7
abd677583c7e4d55daf9487b82da11b7c5498d8d
/src/prop.lean
b543f25a0d2c872eb1da329f8d5218cb79ad834f
[ "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
7,759
lean
import .exp .print namespace prop variable {α : Type} class is_symb (α : Type) := (true : α) (false : α) (not : α) (and : α) (or : α) (imp : α) def true [is_symb α] := @exp.cst α (is_symb.true α) notation `⊤'` := true def false [is_symb α] := @exp.cst α (is_symb.false α) notation `⊥'` := false def not [is_symb ...
bcff684ca073661a950a423dcd9c6266c88be115
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/topology/metric_space/gromov_hausdorff.lean
9897180fdc3f9bc2da389ba1589e27a730271e9b
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
56,716
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel -/ import topology.metric_space.closeds set_theory.cardinal topology.metric_space.gromov_hausdorff_realized topology.metric_space.completion /-! # Gromov-Hausdorf...
b3f326194cc1353151519b599eae57a0881f739b
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/whnf_tac.lean
bbaa1be3df5fec321c01f9b8dba1632812613f17
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
142
lean
import logic definition id {A : Type} (a : A) := a theorem tst (a : Prop) : a → id a := begin intro Ha, whnf, state, apply Ha end
5b30e6b7194f0607889b7a401282ad274b1e8e75
ce89339993655da64b6ccb555c837ce6c10f9ef4
/zeptometer/topprover/10.lean
87cb10a80d6365a89698ad685f08258456e380f0
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
1,763
lean
-- 10.lean def prefix_sum : ℕ → list ℕ → list ℕ | sum [] := [sum] | sum (head :: tail) := sum :: (prefix_sum (sum + head) tail) def plus_list : list ℕ → list ℕ → list ℕ | [] _ := [] | _ [] := [] | (h1 :: t1) (h2 :: t2) := (h1 + h2) :: (plus_list t1 t2) lemma plus_list_nil_l : ∀l, plus_list [] l = [] := b...
798ebcfd400c73f871ee0cc717fb2a93461ff7f7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/GeneralizeTelescope.lean
d6a77e87edd42ed2fcedc8da5736cb4fd4b8facd
[ "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,857
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 -/ import Lean.Meta.KAbstract import Lean.Meta.Check namespace Lean.Meta namespace GeneralizeTelescope structure Entry where expr : Expr type : E...
41c0bddc44fad71a647eeb0b97f821e6bcaf8548
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Widget/InteractiveCode.lean
280ea1e53b046ec448ff5135ce040c0b6089c131
[ "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,517
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.PrettyPrinter import Lean.Server.Rpc.Basic import Lean.Server.InfoUtils import Lean.Widget.TaggedText import Lean.Widget.Basic /-! RPC infrast...
0c6826fe6d200204c624274ceb9cbd0c73878e3f
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/notation7.lean
95492fc603068cd315d7f73f0d3ab200caa8ff8b
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
203
lean
-- open num constant f : num → num constant g : num → num → num notation A `:+1`:100000 := f A #check g 0:+1:+1 (1:+1 + 2:+1):+1 set_option pp.notation false #check g 0:+1:+1 (1:+1 + 2:+1):+1
e987ab01b090b379b1c70cf8e0a5a032fa1690fa
28be2ab6091504b6ba250b367205fb94d50ab284
/levels/my_solutions/world2_multiplication.lean
3320d078e17e1b83ca19aa1ee89d8637e407daa3
[ "Apache-2.0" ]
permissive
postmasters/natural_number_game
87304ac22e5e1c5ac2382d6e523d6914dd67a92d
38a7adcdfdb18c49c87b37831736c8f15300d821
refs/heads/master
1,649,856,819,031
1,586,444,676,000
1,586,444,676,000
255,006,061
0
0
Apache-2.0
1,586,664,599,000
1,586,664,598,000
null
UTF-8
Lean
false
false
2,344
lean
import solutions.world1_addition -- addition lemmas import mynat.mul /- Here's what you get from the import: 1) The following data: * a function called mynat.mul, and notation a * b for this function 2) The following axioms: * `mul_zero : ∀ a : mynat, a * 0 = 0` * `mul_succ : ∀ a b : mynat, a * succ(b) = a * ...
6c9a5352832e099302dcceac4a96d09462b0a08c
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/group_theory/finiteness.lean
b94a20928c61a54d1298a0626936ba9b3c79c58b
[ "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
8,278
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import data.set.finite import group_theory.submonoid.operations import group_theory.subgroup /-! # Finitely generated monoids and groups We define finitely gener...
88d0c7cba1add3b4c49598a4a124c7558d74e5e4
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/is_nil.lean
75925f30d347e820fd83ec0aa95cd6c635980455
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,341
lean
import logic open tactic inductive list (A : Type) : Type := nil {} : list A, cons : A → list A → list A namespace list end list open list open eq definition is_nil {A : Type} (l : list A) : Prop := list.rec true (fun h t r, false) l theorem is_nil_nil (A : Type) : is_nil (@nil A) := of_eq_true (refl true) theore...
57e0c78929d2b749e14f11d0c41f6642a3de3d66
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/special_functions/integrals.lean
22b8ec9e9bff1bffdfe393d01fc09c64f4acd6ad
[ "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
32,769
lean
/- Copyright (c) 2021 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson -/ import measure_theory.integral.fund_thm_calculus import analysis.special_functions.trigonometric.arctan_deriv /-! # Integration of specific interval integrals ...
e257318d13a56e93c6bf7a22802be2a218b82278
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/id.lean
930393a6d63460ad334c5ebd14bfaaed3848b511
[ "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
157
lean
#check id id set_option pp.universes true #check id id #check id Prop #check id nat #check @id.{0} #check @id.{1} #check id nat.zero #check @eq #check eq eq
808c1a6f43456bcd21bc7b35a5d38ef3c956abc1
87fd6b43d22688237c02b87c30d2a524f53bab24
/src/game/sets/sets_level01.lean
3609d38ede0c5c35dbed2092f0de1f2acf1bf309
[ "Apache-2.0" ]
permissive
grthomson/real-number-game
66142fedf0987db90f66daed52f9c8b42b70f909
8ddc15fdddc241c246653f7bb341df36e4e880a8
refs/heads/master
1,668,059,330,605
1,592,873,454,000
1,592,873,454,000
262,025,764
0
0
null
1,588,849,107,000
1,588,849,106,000
null
UTF-8
Lean
false
false
1,928
lean
import data.set.basic -- hide import kb_defs -- hide namespace xena -- hide open_locale classical -- hide variable X : Type -- we will think of X as a set here /- # Chapter 1 : Sets ## Level 1 : Introduction to sets. This chapter assumes you are familiar with the following tactics: `rw`, `intro`, `apply`, `exact...
8d77c7dac5f9399d02740a3f613c638a30c51b18
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/set_theory/pgame.lean
95659680937f891711412f00711493cf9e731974
[ "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
39,283
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison -/ import logic.embedding import data.nat.cast /-! # Combinatorial (pre-)games. The basic theory of combinatorial games...
502a7d39ad29bc818e43f54962acb3fca7c16903
63abd62053d479eae5abf4951554e1064a4c45b4
/src/measure_theory/integration.lean
57677059d39e01d050d91969b618aee4b0d4bcd5
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
71,660
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl -/ import measure_theory.measure_space import measure_theory.borel_space import data.indicator_function import data.support /-! # Lebesgue integral for ...
2acb031483b498cffb07219affbc6f69498437a4
246309748072bf9f8da313401699689ebbecd94d
/src/order/ord_continuous.lean
083a2bb27731b4b8049a158e19fa609a1ac418bc
[ "Apache-2.0" ]
permissive
YJMD/mathlib
b703a641e5f32a996f7842f7c0043bab2b462ee2
7310eab9fa8c1b1229dca42682f1fa6bfb7dbbf9
refs/heads/master
1,670,714,479,314
1,599,035,445,000
1,599,035,445,000
292,279,930
0
0
null
1,599,050,561,000
1,599,050,560,000
null
UTF-8
Lean
false
false
8,037
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Johannes Hölzl -/ import order.conditionally_complete_lattice import logic.function.iterate import order.rel_iso /-! # Order continuity We say that a function...
194e5a7f4892722112e0da92abfa582cb7387d2e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finset/finsupp.lean
79b9b47bdf144f5635d8c3363ace4879de381289
[ "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,241
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import algebra.big_operators.finsupp import data.finset.pointwise import data.finsupp.indicator import data.fintype.big_operators /-! # Finitely supported product of fin...
38c92e2bb8e5067c2c3bfd2d47d4af45eee5b5ee
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/group/unique_prods.lean
3fc479cc41994a0c898b73b8fa769426d91aa543
[ "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
9,339
lean
/- Copyright (c) 2022 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.finset.preimage /-! # Unique products and related notions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding P...
1b64ba4e3706296fc3f0a7f9b905d137128f209f
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/shrinking_lemma.lean
7c346e2dd844338ec1a07b46f59a8f2ea293b883
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
12,196
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Reid Barton -/ import topology.separation /-! # The shrinking lemma In this file we prove a few versions of the shrinking lemma. The lemma says that in a normal top...
0b566dd7442a7e262e2050fc1da23702fd4ac986
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/toExpr.lean
4c7dacc419a40a0e815cc4b46a9c848cc2e79a7e
[ "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
821
lean
import Init.Lean open Lean unsafe def test {α : Type} [HasToString α] [ToExpr α] [HasBeq α] (a : α) : MetaIO Unit := do env ← MetaIO.getEnv; let auxName := `_toExpr._test; let decl := Declaration.defnDecl { name := auxName, lparams := [], value := toExpr a, type := toTypeExpr α, hints := Redu...
5c580b2d95b0b8ce732109e4329ef8feb3f4feb8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/sites/sheaf_of_types.lean
739d9e26129c922cbfa45367ab143d891d50bb4d
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
40,787
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.sites.pretopology import category_theory.limits.shapes.types import category_theory.full_subcategory /-! # Sheaves of types on a Grothendieck top...
523ac9e684db157c691bb9bd0b07ecc098e69eda
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/adjugate.lean
d2877ef3ef6fa3ad4d78f8b29d8295685ffcd0b5
[ "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
21,477
lean
/- Copyright (c) 2019 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.regular.basic import linear_algebra.matrix.mv_polynomial import linear_algebra.matrix.polynomial import ring_theory.polynomial.basic /-! # Cramer's rule and...
f64c7dc415ff09d45484a41f3969caafd0355ae1
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean
7b2a3803a44193931033f942fd9cae65bc6e61ff
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
10,148
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.Elab.Tactic.Basic namespace Lean.Elab.Tactic open Meta @[builtinTactic Lean.Parser.Tactic.«done»] def evalDone : Tactic := fun _ => done @[...
0f4eb2768dcfa38d3cf9980e3e415581003de91c
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/algebra/module/basic.lean
a72ce6cc45ebe34f26dfe7cf37e323f20ef69059
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,470
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import algebra.big_operators.basic import algebra.smul_with_zero import group_theory.group_action.group /-! # Modu...
fdc2172034539feb7d13c8d59987205627253077
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/lie/direct_sum.lean
1b8a6dd8e8ed73682b31ba6aa6e8486d4fdf3ca0
[ "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
8,638
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.direct_sum.module import algebra.lie.of_associative import algebra.lie.submodule import algebra.lie.basic /-! # Direct sums of Lie algebras and Lie modules ...
64f677a08ab6f8c3e767d6533d0b715515978a67
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/matrix/dmatrix.lean
4a80dde055876fc9e497f923fe693c79413bf2ed
[ "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
5,581
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.group.pi import data.fintype.basic /-! # Matrices > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to...
0ec806ac6c55cc573c1aeaad89dec1d49bbc1ad5
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Util/OrderedTagAttribute.lean
5c4ef60d30b7db7930d634d94d26c7448a0ffc95
[ "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
1,744
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import Lean.Attributes open Lean namespace Lake structure OrderedTagAttribute where attr : AttributeImpl ext : PersistentEnvExtension Name Name (Array Na...
2d28c0055c64d71ed8798d0aebeacd8906c6b360
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/doc/examples/Certora2022/ex24.lean
bd832421fb7e7b6e82bd3d17b0a7e92c3b408a38
[ "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
286
lean
/- induction tactic -/ example (as : List α) (a : α) : (as.concat a).length = as.length + 1 := by induction as with | nil => rfl | cons _ xs ih => simp [List.concat, ih] example (as : List α) (a : α) : (as.concat a).length = as.length + 1 := by induction as <;> simp! [*]
ae65e5b0f2a63a87f3d33b730da5917d98c886ff
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/algebra/module.lean
c4c1fe3bfe587c122875f86cee27db22c920831e
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
9,720
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 Theory of topological modules and continuous linear maps. -/ import topology.algebra.ring linear_algebra.basic ring_theory.algebra o...
0f1754db83789ce1a9f5cf2a8641fb795be68acc
4727251e0cd73359b15b664c3170e5d754078599
/src/tactic/reserved_notation.lean
ef38b2b65197e194c63062b352d21c75a00bbd72
[ "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
1,543
lean
/- Copyright (c) 2020 Bryan Gin-ge Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bryan Gin-ge Chen -/ /-! # Reserved notation This file is imported by `logic.basic` and `logic.relator` to place it at the top of the import graph. We place all of `mathlib`'s re...
336a17589af71d8147bd74dd79af2b4fda0885a3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/padics/hensel.lean
afe249817117d51f6363505df705d057b5b363ea
[]
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
2,893
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.padics.padic_integers import Mathlib.topology.metric_space.cau_seq_filter import Mat...
2ec179a0a11ef1a19cf64a1e23bd54dc9dd9a8b3
64874bd1010548c7f5a6e3e8902efa63baaff785
/hott/algebra/group.hlean
fc97286f5b612d3c9b764aab80ba960efa0e4998
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,951
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.group Authors: Jeremy Avigad, Leonardo de Moura Various multiplicative and additive structures. Partially modeled on Isabelle's library. -/ import algebra.binary open eq trun...
4ae68852d75b9bec8c654746ebcf5302e18cd809
37da0369b6c03e380e057bf680d81e6c9fdf9219
/hott/homotopy/susp.hlean
6e3af542103430d995d64b4289f0b9e339ee6e44
[ "Apache-2.0" ]
permissive
kodyvajjha/lean2
72b120d95c3a1d77f54433fa90c9810e14a931a4
227fcad22ab2bc27bb7471be7911075d101ba3f9
refs/heads/master
1,627,157,512,295
1,501,855,676,000
1,504,809,427,000
109,317,326
0
0
null
1,509,839,253,000
1,509,655,713,000
C++
UTF-8
Lean
false
false
17,715
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Ulrik Buchholtz Declaration of suspension -/ import hit.pushout types.pointed2 cubical.square .connectedness open pushout unit eq equiv pointed is_equiv definit...
084634cfbe04942413e373ff60aa20891fc05117
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/monad/kleisli_auto.lean
97e208530167163a1bc23ce5e236315055e86ac9
[]
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
2,628
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Wojciech Nawrocki, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.adjunction.default import Mathlib.category_theory.monad....
3ada4dcc09e9369e5545e8f7624e119e4c1934bc
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Control/EState.lean
a732269f386ce35dc127aa90d07580ad797f0ac1
[ "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
5,610
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 -/ prelude import Init.Control.State import Init.Control.Except universes u v namespace EStateM inductive Result (ε σ α : Type u) | ok {} : α → σ → Result...
53667af5e5c0a854bcef959f910cc7d4289aef37
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/order/filter/partial.lean
87ed9bd79a8c5bc93068918c48eddb3c3759de9c
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,749
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import order.filter.basic /-! # `tendsto` for relations and partial functions This file generalizes `filter` definitions from functions to partial functions and relat...
c765a8360a408dc02bc0a9525cbeea698a95a4ce
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/geometry/manifold/charted_space.lean
3edfdbbcac523f33f36250304fadeac2c43d0dcf
[ "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
50,658
lean
/- Copyright (c) 2019 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.local_homeomorph /-! # Charted spaces A smooth manifold is a topological space `M` locally modelled on a euclidean space (or a euclidean half-...
7e41efec7f6c2d1cad893674b70556ddeb9dd62a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/set/intervals/pi.lean
b9a28ce41fd2321d50b22a5ba112e6cbe0237ad6
[ "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,141
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 data.set.intervals.basic import data.set.lattice /-! # Intervals in `pi`-space In this we prove various simple lemmas about intervals in `Π i, α i`. Closed...
d1e7bca3ef1b40bb5ff7483ebf98eebb545d8fdd
3446e92e64a5de7ed1f2109cfb024f83cd904c34
/src/game/world2/level8.lean
b3570214ff588be94e2453e5674c0baadf7fc055
[]
no_license
kckennylau/natural_number_game
019f4a5f419c9681e65234ecd124c564f9a0a246
ad8c0adaa725975be8a9f978c8494a39311029be
refs/heads/master
1,598,784,137,722
1,571,905,156,000
1,571,905,156,000
218,354,686
0
0
null
1,572,373,319,000
1,572,373,318,000
null
UTF-8
Lean
false
false
1,377
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level7 -- hide namespace mynat -- hide /- # World 2 -- Addition World ## Level 8 -- `eq_iff_succ_eq_succ` You have these: * `zero_ne_succ : ∀ (a : mynat), zero ≠ succ(a)` * `succ_inj : ∀ a b : mynat, succ(a) = succ(b) → a = b` * `add...
d73e8669cb4f8616b44a31b07ae1135bdd60091c
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/shapes/wide_pullbacks.lean
de96e44f7620d1c52ba39c2dec88378d41cb56db
[ "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
5,406
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.limits import category_theory.sparse /-! # Wide pullbacks We define the category `wide_pullback_shape`, (resp. `wide_pushout_shape`) which...
b406a86b32e652b0433aa5761bc667b74d1b14bf
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/quotient.lean
82c1ccb8eae7d8bee150d5d46cb8d4a819ee682b
[ "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,062
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import data.set_like.basic /-! # Algebraic quotients This file defines notation for algebraic quotients, e.g. quotient groups `G ⧸ H`, quotient modules `M ⧸ N` and ideal...
f7bf887708e5fcc3830810dfb9ccec0731cbe3d6
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/big_operators/pi.lean
dd4d4d6481263aa558b11f38011162a3a0cae925
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
3,885
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.big_operators.basic import algebra.ring.pi /-! # Big operators for Pi Types This file contains theorems relevant to big operators in binary...
4d2a8b365a7db6913c4850e27052563d0e37c68d
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/Check.lean
47582e08502a0be0369fecc844e7867d2202891e
[ "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
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
7,140
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 -/ import Lean.Meta.InferType /-! This is not the Kernel type checker, but an auxiliary method for checking whether terms produced by tactics and `isDefEq` ar...
eb5a5333a78f69ff6460fc65ca7c0e815c20df29
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/hf.lean
4ca9ff27b417a2038ed4989dd0a32d9ad61d0fba
[ "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
25,343
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Hereditarily finite sets: finite sets whose elements are all hereditarily finite sets. Remark: all definitions compute, however the performace is quite poor s...
ee752c3173995f615c395627c93d2e0f33e19f10
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Data/Lsp/Ipc.lean
29325d1a79760db2cddd9c4e0c8bea571ab53611
[ "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
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
2,832
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Lean.Data.Json import Lean.Data.Lsp.Communication import Lean.Data.Lsp.Diagnostics import Lean.Data.Lsp.Extra /-! Prov...
ee4a994aaa55fd1ea3079fb7da056a3bbee5d1a5
98beff2e97d91a54bdcee52f922c4e1866a6c9b9
/src/applications/sheaves_on_a_site.lean
2661d28ac5f51c6003d5048fb6b5cbe3b9f7287a
[]
no_license
b-mehta/topos
c3fc43fb04ba16bae1965ce5c26c6461172e5bc6
c9032b11789e36038bc841a1e2b486972421b983
refs/heads/master
1,629,609,492,867
1,609,907,263,000
1,609,907,263,000
240,943,034
43
3
null
1,598,210,062,000
1,581,877,668,000
Lean
UTF-8
Lean
false
false
3,505
lean
import applications.topologies import opens /-! The category `Sheaf` of (set-valued) sheaves on a site is defined, using the sheaf condition as defined in `grothendieck.lean`. It's defined somewhat abstractly, but an equivalent condition (`grothendieck.sheaf_condition'`) is given there too, which is more concrete. -/ ...
fd49ae6860945267ceee61ddb3620e31e98fc81a
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/logic/basic.lean
7d8a1255931ab8724f1b1987df1dc82518c88f2f
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
51,310
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import tactic.doc_commands import tactic.reserved_notation /-! # Basic logic properties This file is one of the earliest imports in mathlib. ## Im...
1b11e3444dd63b5974f4bf87e2a9bfe5f6e955f2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/mv_polynomial/variables.lean
abfbd4ebb588459d529a1f0abdc7dc2915cb806b
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
29,333
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, Johan Commelin, Mario Carneiro -/ import algebra.big_operators.order import data.mv_polynomial.monad /-! # Degrees and variables of polynomials This file establishes ...
c9c069296095a8a59618534af9b7a31631bf10af
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/gcd_monoid/integrally_closed.lean
47ff732f9952355ffb554305dcf88a7149567bff
[ "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
1,695
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebra.gcd_monoid.basic import ring_theory.integrally_closed import ring_theory.polynomial.eisenstein.basic /-! # GCD domains are integrally closed -/ open_loca...
d54a3042e4b30ec0a7e1ae857520135cb6ee3472
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/uniform_space/absolute_value.lean
e4640629275f9b8d26df5fef1661fffa9842b786
[ "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
1,842
lean
/- Copyright (c) 2019 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import algebra.order.absolute_value import topology.uniform_space.basic /-! # Uniform structure induced by an absolute value > THIS FILE IS SYNCHRONIZED WITH MATHLI...
7cc02178cdb6940bc1a804a2f42b0aac3a12b358
4727251e0cd73359b15b664c3170e5d754078599
/src/data/zmod/algebra.lean
19c6123e6d4dec241e8666538594d7eec6ef4562
[ "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
974
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.zmod.basic import algebra.algebra.basic /-! # The `zmod n`-algebra structure on rings whose characteristic divides `n` -/ namespace zmod variables (R ...
05645c69430b294e6541426153ea65cef4364a96
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/adjunction/comma.lean
803d021f22548638fcf3071536e6f8707dd4872b
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
5,881
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.adjunction.basic import category_theory.punit import category_theory.structured_arrow /-! # Properties of comma categories relating to adjunctions...
ad5e4e7e486f38d043c93f29caca9b3fbcd5b925
0b3933727d99a2f351f5dbe6e24716bb786a6649
/src/sesh/mult.lean
186f05e9994fab344d76bba900516ea47f05f847
[]
no_license
Vtec234/lean-sesh
1e770858215279f65aba92b4782b483ab4f09353
d11d7bb0599406e27d3a4d26242aec13d639ecf7
refs/heads/master
1,587,497,515,696
1,558,362,223,000
1,558,362,223,000
169,809,439
2
0
null
null
null
null
UTF-8
Lean
false
false
3,245
lean
/- Introduces a commutative semiring of zero-one-many. -/ import metastuff @[derive decidable_eq] inductive mult: Type /- Zero represents assumptions which cannot be computed with, but could be used for typing, were I to implement dependent types in the embedded language. Since I didn't, zero is basically u...
b5ddb89a63961a5b7a8538c7086156ec31c3861d
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/exercises_sources/wednesday/topological_spaces.lean
5af6a63e7634df396fdabe276d4d4bd960b91499
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,052
lean
import tactic import data.set.finite import data.real.basic -- for metrics /- # (Re)-Building topological spaces in Lean Mathlib has a large library of results on topological spaces, including various constructions, separation axioms, Tychonoff's theorem, sheaves, Stone-Čech compactification, Heine-Cantor, to name bu...
9b1f55ad76288ff810ff9d473ed2ca2c53a64a96
874a8d2247ab9a4516052498f80da2e32d0e3a48
/triIneq_v2.lean
2592f0762129b4648aa22e14a81c47f838c84015
[]
no_license
AlexKontorovich/Spring2020Math492
378b36c643ee029f5ab91c1677889baa591f5e85
659108c5d864ff5c75b9b3b13b847aa5cff4348a
refs/heads/master
1,610,780,595,457
1,588,174,859,000
1,588,174,859,000
243,017,788
0
1
null
null
null
null
UTF-8
Lean
false
false
421
lean
import tactic import data.real.basic universe u --local attribute [instance] classical.prop_decidable noncomputable def absVal (a : ℝ) : ℝ := if a < 0 then -a else a theorem triIneqInt (a : ℝ) (b : ℝ) : (absVal(b - a) ≤ absVal(a) + absVal(b)) := begin repeat {rw absVal}, split_ifs, repeat {linarith}, en...
8ef5dc472da2a899245b447e54ed2684622fe438
947b78d97130d56365ae2ec264df196ce769371a
/src/Std/Data/Stack.lean
7a8c0d7c227c3ccf4782ba3c74b4b6d3546d7f60
[ "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
886
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam Simple stack API implemented using an array. -/ namespace Std universes u v w structure Stack (α : Type u) := (vals : Array α := #[]) namespace Stack variable ...
f5984fdcc5e07d532fc128aac6d898037a57224f
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/products/switch.lean
ed2741276988946c9bcc8cf64e88a9720c046647
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
750
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import .products open tqft.categories open tqft.categories.functor open tqft.categories.natural_transformation namespace tqft.categories.products...
3eb3cf124fab8e4e41f6236d8e20fbf6f6d0fd4f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/nat/choose/default_auto.lean
60458a1d13025fb3e8565c1e7426725342c77ff5
[]
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
185
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.nat.choose.dvd import Mathlib.data.nat.choose.sum import Mathlib.PostPort namespace Mathlib end Mathlib
232a5ef2d6844a411c9fdc472abfeae86bd43d48
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/group_theory/group_action/group.lean
a49f86283dbe1aa4bc034d8ce97f0537e6f0f40f
[ "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
9,227
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.equiv.mul_add_aut import group_theory.group_action.units /-! # Group actions applied to various types of group This file contains lemmas about `smul` on `gr...
a400510ccf1857df26187f6d32863d74e0c6eadd
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/special_functions/pow.lean
565353336a79c4a64ed3a403a103b512db12f85c
[ "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
60,871
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Sébastien Gouëzel, Rémy Degenne -/ import analysis.special_functions.complex.log /-! # Power function on `ℂ`, `ℝ`, `ℝ≥0`,...
39c9234bca86306dce7c8f4ecd6cdf2cbfab03c3
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/order/lattice.lean
bbef4ceacb155a6a98df5f3e5994926cc762dd13
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
26,835
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 order.rel_classes /-! # (Semi-)lattices Semilattices are partially ordered sets with join (greatest lower bound, or `sup`) or meet (least upper bound, or `in...
bb128cf7dd38e2d53ae7cf21cdd5dfd4ea5d6adc
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/intro0.lean
ad78ca6700aaaebb016fde86f1f22b4af6d84b06
[ "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
73
lean
example (a b : nat) : a = b → a = b := begin intro, assumption end