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
5d7676437aac061f658690515fb8444a4ab28252
fe84e287c662151bb313504482b218a503b972f3
/src/exercises/mathcomp_book/chapter_4.lean
95c4f005e3551620115163f3406eb1f7fac77757
[]
no_license
NeilStrickland/lean_lib
91e163f514b829c42fe75636407138b5c75cba83
6a9563de93748ace509d9db4302db6cd77d8f92c
refs/heads/master
1,653,408,198,261
1,652,996,419,000
1,652,996,419,000
181,006,067
4
1
null
null
null
null
UTF-8
Lean
false
false
1,886
lean
import tactic.interactive tactic.find data.list.basic def my_list_bexists {α : Type} (p : α → bool) : ∀ l : list α, bool | list.nil := ff | (list.cons a l) := bor (p a) (my_list_bexists l) def my_list_pexists {α : Type} (p : α → Prop) : ∀ l : list α, Prop | list.nil := false | (list.cons a l) := (p a) ∨ (my_list_pe...
dbfcae58899695273ff73a4c9910223e0488c1dc
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Init/Data/List/Basic.lean
c04cb9f7290c023a72dac1039eb3c9705b15a5b6
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
11,640
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.SimpLemmas import Init.Data.Nat.Basic open Decidable List universes u v w variable {α : Type u} {β : Type v} {γ : Type w} namespace Li...
8b47863cc9529ab5e4d35996f62819633a704925
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/category_theory/limits/shapes/binary_products.lean
65495b40786fb9b116b27a85aa27e6db6f72897b
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
18,227
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 category_theory.limits.shapes.terminal /-! # Binary (co)products We define a category `walking_pair`, which is the index category for a binary (co)product di...
df1682d62e5498b428dfc86cc3d30e06dbd4bce9
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/integral/integrable_on.lean
30c6ad7aa1efd498dc8fd3b63aaa1e303b86ede4
[ "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
21,145
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.function.l1_space import analysis.normed_space.indicator_function /-! # Functions integrable on a set and at a filter We define...
0941d0d8321c6897301cdc971a044399d65b6991
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/types.lean
661940114190dc6a86f451dcd73b18c01821775d
[ "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
15,180
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton -/ import category_theory.limits.shapes.images import category_theory.filtered import tactic.equiv_rw universes u open category_theory open category_theor...
713401f000b7afb1d314f07792eacbf4ef492582
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/notation_error_pos.lean
9a1394b7466f9fa45b54a3e20c94418d6f58580e
[ "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
170
lean
notation `foo` := "a" + 1 notation `bla` a := a + 1 notation `boo` a := 1 + a notation `cmd` a := λ x, x + a #check foo #check bla "a" #check boo "a" #check cmd "b"
25f5ac9028df80d6c5668def738d6d8983c1147a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/LinearArith/Main.lean
7145f38cc335306885bd81ff4ffdb656bb15fed3
[ "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
254
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.LinearArith.Nat namespace Lean.Meta.Linear end Lean.Meta.Linear
d5082b39e93bc1173a5cf9676d97a6c8ff6d2506
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/order/copy.lean
70552c27e5ea3be5a5e3991f68f3a1873e755c86
[ "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
4,534
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 order.conditionally_complete_lattice /-! # Tooling to make copies of lattice structures Sometimes it is useful to make a copy of a lattice structure where on...
c82d43b26844eaa2bcb6f25f6d0632cb386f4b57
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/ring_theory/localization.lean
445a7bbfb832ad22ce4c99cc7854f2d180459080
[ "Apache-2.0" ]
permissive
uniformity1/mathlib
829341bad9dfa6d6be9adaacb8086a8a492e85a4
dd0e9bd8f2e5ec267f68e72336f6973311909105
refs/heads/master
1,588,592,015,670
1,554,219,842,000
1,554,219,842,000
179,110,702
0
0
Apache-2.0
1,554,220,076,000
1,554,220,076,000
null
UTF-8
Lean
false
false
24,599
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...
75763fd18aea230c810c7160c117a33ac46b1a92
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/server/diags.lean
71895faf51e3e9c101b25e8b6431242200c17757
[ "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,176
lean
import Lean.Data.Lsp open IO Lean Lsp def main : IO Unit := do Ipc.runWith (←IO.appPath) #["--server"] do let hIn ← Ipc.stdin hIn.write (←FS.readBinFile "init_vscode_1_47_2.log") hIn.flush discard $ Ipc.readResponseAs 0 InitializeResult Ipc.writeNotification ⟨"initialized", InitializedParams.mk⟩ ...
6c04825b29be3ec7ffc049df6439f739bd99b771
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/instances/ennreal.lean
3efe8bb66fd6a5b56ff4b6227b7aa9c5f95441f8
[ "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
73,112
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 topology.instances.nnreal import topology.algebra.order.monotone_continuity import analysis.normed.group.basic /-! # Extended non-negative reals -/ noncomputa...
a6ab7c5a976bbc7bf1e06942223c4890153025ed
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/defeq_simp2.lean
0a5d968c906c4cb439aabde4f9e9ca1b7ca46b4a
[ "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
1,204
lean
open tactic constant f (n : nat) : n ≥ 0 → nat axiom foo1 (n : nat) : n ≥ 0 axiom foo2 (n : nat) : n ≥ 0 axiom foo3 (n : nat) : n ≥ 0 -- by default we dont canonize proofs example (a b : nat) (H : f a (foo1 a) = f a (foo2 a)) : true := by do s ← simp_lemmas.mk_default, e ← get_local `H >>= infer_type, s^.dsimp...
12d0007172b9383febc47c30c82fbd2faf6015d1
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/order/complete_lattice.lean
bf56d5bb70cb49ebfe0cfbda5e579d47ec82250e
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,809
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 Theory of complete lattices. -/ import order.bounds set_option old_structure_cmd true open set universes u v w w₂ variables {α : Type u} {β : Type v} {ι : Sort w} {ι₂...
5b8ca01efa2267b9be65f7ff901bacfb9b036f82
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/algebra/category/constructions/product.hlean
cef0b991111e34c9092164b87c6d520ae576bfa4
[ "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
5,470
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, Jakob von Raumer Product precategory and (TODO) category -/ import ..category ..nat_trans hit.trunc open eq prod is_trunc functor sigma trunc iso prod.ops nat_tr...
24d43102a6fd36ed9b635781e2d71a77c859055f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/gen_fail.lean
1cfe577816fb70e6468c89cba25b44da63c8ceac
[ "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
116
lean
import data.examples.vector open nat theorem tst (n : nat) (v : vector nat n) : v = v := begin generalize n, end
2f8d727f208f81c618867f7cef3a664716a2f4f8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/nat/lattice.lean
9590c769b0c133460b5e44894a582b6efdcc06af
[ "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,536
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, Floris van Doorn, Gabriel Ebner, Yury Kudryashov -/ import data.nat.enat import order.conditionally_complete_lattice /-! # Conditionally complete linear order structur...
cdbdde611478a7bd5a32c112afb53597b0da813e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/archive/100-theorems-list/73_ascending_descending_sequences.lean
e909d44087044eae5dd7912606864d56a48eddf9
[ "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
8,145
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 tactic.basic import data.fintype.basic /-! # Erdős–Szekeres theorem This file proves Theorem 73 from the [100 Theorems List](https://www.cs.ru.nl/~freek/100/), a...
ea646a716039ef077b04df892565bdf86bb0ed0c
a047a4718edfa935d17231e9e6ecec8c7b701e05
/test/linarith.lean
6dba126d8961c5ef303faa08e233ba34e7cd76e0
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
8,302
lean
import tactic.linarith example (e b c a v0 v1 : ℚ) (h1 : v0 = 5*a) (h2 : v1 = 3*b) (h3 : v0 + v1 + c = 10) : v0 + 5 + (v1 - 3) + (c - 2) = 10 := by linarith example (u v r s t : ℚ) (h : 0 < u*(t*v + t*r + s)) : 0 < (t*(r + v) + s)*3*u := by linarith example (A B : ℚ) (h : 0 < A * B) : 0 < 8*A*B := begin linarit...
6e685a4c0c3e756cea9d13da2f78ebe0958878be
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/lcnfInferProjTypeBug.lean
e680089cc13fe734d1b9c88297e2d4a36b1b7ab7
[ "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
103
lean
import Lean set_option trace.Compiler.result true #eval Lean.Compiler.compile #[``Lean.Meta.mapMetaM]
8c710630e33aa29e5a20c5156f57b25d9203da7d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/shapes/terminal.lean
dd524d6093fc292521cc38beb20ac6882d377537
[ "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
12,890
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.pempty import category_theory.limits.has_limits import category_theory.epi_mono /-! # Initial and terminal objects in a category...
30c02f7d2bb15fb53f4fbbeada6302f8e96d1eb0
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/assoc_flat.lean
7ec04dcdfaef4053035fd90a01d965cf3678c64d
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
2,275
lean
open tactic expr meta definition is_op_app (op : expr) (e : expr) : option (expr × expr) := match e with | (app (app fn a1) a2) := if op = fn then some (a1, a2) else none | e := none end meta definition flat_with : expr → expr → expr → expr → tactic (expr × expr) | op assoc e rhs := match (is_op_...
57d84a4553cd00d6a51269da83028008634cab79
367134ba5a65885e863bdc4507601606690974c1
/src/topology/uniform_space/absolute_value.lean
5084786a25fd8c7980e76bb49134ad385740d830
[ "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
2,880
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 data.real.cau_seq import topology.uniform_space.basic /-! # Uniform structure induced by an absolute value We build a uniform space structure on a commutativ...
aa650786329daf357720c75f29ba4d42f5f49f90
e9dbaaae490bc072444e3021634bf73664003760
/src/Arith/CRing.lean
af6675c73c6a58aa6efa812364c3a9e359105193
[ "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
8,806
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam, Mario Carneiro Proving equalities in commutative rings, building on: 1. https://github.com/leanprover-community/mathlib/blob/master/src/tactic/ring2.lean 2. Gré...
3b6a520ee03a09e338f0cb4fc6324f259b568774
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/real/nnreal.lean
125f8759b39bf41506ae17098062135199970447
[ "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
20,771
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import data.real.basic order.lattice algebra.field noncomputable theory open lattice open_locale classical /-- Nonnegative real numbers....
5a4629052dc58a294e80bf23c5573b67fb936840
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world2/level2.lean
c67f93d5266eb0e8f40fdd05ed7d221df0655a3c
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
2,226
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level1 -- hide namespace mynat -- hide /- # World 2 -- addition world ## Your theorems so far: * `add_zero (a : mynat) : a + 0 = a` * `add_succ (a b : mynat) : a + succ(b) = succ(a + b)` * `zero_add (a : mynat) : 0 + a = a` * (some ...
d16aa7caa544e59fb6f7b48bbb8b28054b2980c5
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/e14.lean
7bf29c15bd3e7e4f22c35cd8c9bbe5671fd1e7df
[ "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
887
lean
prelude inductive nat : Type := | zero : nat | succ : nat → nat namespace nat end nat open nat inductive list (A : Type) : Type := | nil {} : list A | cons : A → list A → list A definition nil := @list.nil definition cons := @list.cons check nil check nil.{1} check @nil.{1} nat check @nil nat check cons nat.zero n...
34249e42daff71dd1819c314e21956ba77ed1a1d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/additive/pluennecke_ruzsa.lean
16eb9cd950f8d65b42650f725bd3c9a63241c53e
[ "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,327
lean
/- Copyright (c) 2022 Yaël Dillies, George Shakan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, George Shakan -/ import combinatorics.double_counting import data.finset.pointwise import data.rat.nnrat /-! # The Plünnecke-Ruzsa inequality This file pro...
a8aaaaa918db19974ff8b2babd9ebe7f69f8f90c
f3a5af2927397cf346ec0e24312bfff077f00425
/src/game/world4/level1.lean
df2e5ff5abbf7697c778b75f46288c1f19953b41
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/natural_number_game
05c39e1586408cfb563d1a12e1085a90726ab655
f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd
refs/heads/master
1,688,570,964,990
1,636,908,242,000
1,636,908,242,000
195,403,790
277
84
Apache-2.0
1,694,547,955,000
1,562,328,792,000
Lean
UTF-8
Lean
false
false
1,567
lean
import game.world3.level9 -- hide import mynat.pow -- new import namespace mynat -- hide /- Axiom : pow_zero (a : mynat) : a ^ 0 = 1 -/ /- Axiom : pow_succ (a b : mynat) : a ^ succ(b) = a ^ b * a -/ /- # Power World A new world with seven levels. And a new import! This import gives you the power to make powers o...
a4f055e634af3157cc23498cb781180c1ceed814
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/Reformat.lean
53f43103989a2b07744395622c600b2d46ec0701
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
994
lean
/-! Parse and reformat file -/ import Lean.PrettyPrinter open Lean open Lean.Elab open Lean.Elab.Term open Std.Format open Std unsafe def main (args : List String) : IO Unit := do let (debug, f) : Bool × String := match args with | [f, "-d"] => (true, f) | [f] => (false, f) | _ => panic! "usage: f...
e494c951e01b3a245f7fac87f1e5b695704af3bb
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/data/holor.lean
9e23effb51f64d62d26fb4bd9e02a2218c01d26a
[ "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
14,152
lean
/- Copyright (c) 2018 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import algebra.module.pi import algebra.big_operators.basic /-! # Basic properties of holors Holors are indexed collections of tensor coefficients. Confusin...
da5ba7e1c008c81ac5424274158ff63a630de7d6
572fb32b6f5b7c2bf26921ffa2abea054cce881a
/src/week_2/Part_B_subgroups.lean
c9c03b88292f4eb1192cbaaf20e63f0ff2e6ed1a
[ "Apache-2.0" ]
permissive
kgeorgiy/lean-formalising-mathematics
2deb30756d5a54bee1cfa64873e86f641c59c7dc
73429a8ded68f641c896b6ba9342450d4d3ae50f
refs/heads/master
1,683,029,640,682
1,621,403,041,000
1,621,403,041,000
367,790,347
0
0
null
null
null
null
UTF-8
Lean
false
false
18,460
lean
/- Change the below line to import week_2.kb_solutions.Part_A_groups_solutions (once the solutions are posted) if you want to get rid of the warning -/ import week_2.Part_A_groups /-! ## Subgroups We define the structure `subgroup G`, whose terms are subgroups of `G`. A subgroup of `G` is implemented as a subse...
510316b7b197312161eee2cc5556cfdef10192c5
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/topology/metric_space/baire.lean
5fbff5386f6034b7b8f5b0c37e3919482d2742fc
[ "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
15,239
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 Baire theorem: in a complete metric space, a countable intersection of dense open subsets is dense. The good concept underlying the theorem is that of a Gδ set, ...
c66d3e734f76ff9b4492e4eacd53e0ee913ec943
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/decClassical.lean
fa3aa9780c8138d22c145b025b29c811f00a98ac
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
302
lean
open Classical theorem ex : if (fun x => x + 1) = (fun x => x + 2) then False else True := by have (fun x => x + 1) ≠ (fun x => x + 2) by intro h have 1 = 2 from congrFun h 0 contradiction rw ifNeg this exact True.intro def tst (x : Nat) : Bool := if 1 < 2 then true else false
cff8740ad91ec25e018cf7f00713ef9e55cb8adb
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/dedekind_domain.lean
c0f2d6b3b4d6fcb45e6b8c83a1a100ff1edd370a
[ "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
42,324
lean
/- Copyright (c) 2020 Kenji Nakagawa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenji Nakagawa, Anne Baanen, Filippo A. E. Nuccio -/ import ring_theory.discrete_valuation_ring import ring_theory.fractional_ideal import ring_theory.ideal.over import ring_theory.int...
c81dd106cb78eb9d14dfc2e90f34d75f96d0ebff
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/setoid/basic.lean
329a64a77dd3875025b6776a26907a9903a235ec
[ "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
16,333
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston, Bryan Gin-ge Chen -/ import order.galois_connection /-! # Equivalence relations This file defines the complete lattice of equivalence relations on a type, resul...
0f19055e795aa68c0cbda64e67238f861113580f
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/binary.lean
9678399c05303d84929da4a3155f766331e4b96f
[ "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
3,709
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 General properties of binary operations. -/ open function namespace binary section variable {A : Type} variables (op₁ : A → A → A) (...
4cdf06c373e2e616afd7ffbbe8f9a38a6d07d42b
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/field_theory/normal.lean
d4725a1ba58275c31dc2febf1fcaf06cbc5aa131
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,217
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import field_theory.adjoin import field_theory.tower import group_theory.solvable import ring_theory.power_basis /-! # Normal field extensions In this file we define normal ...
8a675566ff453e894f604a85989f468a6787f5b4
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/ring_theory/witt_vector/frobenius.lean
2d3b0e094a505b4b936e19117fa9d2121e76248a
[ "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
13,345
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 data.nat.multiplicity import ring_theory.witt_vector.basic import ring_theory.witt_vector.is_poly /-! ## The Frobenius operator If `R` has characteristic `...
85df88624f2b09656f68544528f4aeca1db9802f
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/matrix/basis.lean
262bf58bb909bb0d4a32272a50c1f725aa8a357a
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
171
lean
import linear_algebra.determinant import linear_algebra.matrix import data.complex.basic open linear_map notation `Σ` := finset.sum finset.univ universe variables u v w
1ba669f20b40149a87180df5d1309adea24a59de
94e33a31faa76775069b071adea97e86e218a8ee
/src/set_theory/cardinal/basic.lean
7be2e3c90f840c799f7ec3ccb15db06cd9f293d0
[ "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
65,265
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, Floris van Doorn -/ import data.nat.part_enat import data.set.countable import logic.small import order.conditionally_complete_lattice import order.succ...
84b0b7c29ec556b9327c8bacfd0c8c1642d619ae
46125763b4dbf50619e8846a1371029346f4c3db
/src/measure_theory/measurable_space.lean
7a49dc4b5584fc677c70cb39d962c3e3643b5259
[ "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
44,027
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 Measurable spaces -- σ-algberas -/ import data.set.disjointed order.galois_connection data.set.countable /-! # Measurable spaces and measurable functio...
795c2b4bb7675c4e2d792e85779162e662335ba7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/rearrangement.lean
f3fa11c25eb67e6375d251a5fd7889ce064a21df
[ "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
27,943
lean
/- Copyright (c) 2022 Mantas Bakšys. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mantas Bakšys -/ import algebra.big_operators.basic import algebra.order.module import data.prod.lex import group_theory.perm.support import order.monovary import tactic.abel /-! # Rea...
a5dc86f5226ec0a0b316353b4daedc2a955cc5c4
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Meta/UnificationHint.lean
948428b1669426acbe84d18be060af8b477c281b
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,107
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.ScopedEnvExtension import Lean.Util.Recognizers import Lean.Meta.DiscrTree import Lean.Meta.LevelDefEq namespace Lean.Meta structure Unificati...
8488b8169793a4a0581b0266e0daeab7d064716f
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/topology/instances/real.lean
cdc7acb44760454bbd99343d8c1db98dcc3a6beb
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
14,538
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 -/ import topology.metric_space.basic import topology.algebra.uniform_group import topology.algebra.ring /-! # Topological properties of ℝ -/ noncomputa...
c5015bf265e02dee343b3b112fb909a214f9b61f
a9e33f9c83301c461f3c3ebc6799d9de1f6d4d20
/assignments/hw2_a_few_easy_pieces.lean
4039bbd1d4ff83dcbfe2472d6c1dbced62d19fe3
[]
no_license
yl4df/Discrete-Mathematics
f1c9a6cf8cfb4686fb617637f69a481e1522f0c2
c93ce9f6a6e36d194e350d9fa0a0360191e97fa0
refs/heads/master
1,598,714,938,443
1,572,275,647,000
1,572,275,647,000
218,074,726
0
0
null
null
null
null
UTF-8
Lean
false
false
5,459
lean
/- UVa CS Discrete Math (Sullivan) Homework #2 -/ /- Note: We distribute homework assignments and even exams as Lean files, as we do now for this assignment. You will answer the questions in one of two ways: by writing an answer in a comment block (such as this one), or by writing mathematical logic (which is what ...
3711c1fc55e84c9604c579d40881ce1581f51eb9
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/ring_theory/free_comm_ring.lean
75232d85b3def1e73702c0b6eab472ac72aae1fb
[ "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
16,014
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import data.equiv.functor import data.mv_polynomial import ring_theory.ideal_operations import ring_theory.free_ring noncomputable theory local attribute [inst...
32b0d0fa2cb2796d18e16d33b3df735387f435d7
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170410-rewrite_nth.lean
aab9d01f88526101444a73a5acb8ddb9c93f21e8
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
1,146
lean
open tactic open lean.parser open interactive namespace tactic.interactive open lean open lean.parser private meta def resolve_name' (n : name) : tactic expr := do { p ← resolve_name n, match p.to_raw_expr with | expr.const n _ := mk_const n -- create metavars for universe levels | _ ...
8b73e5d30cb097bc317349f25286a9972a4292e4
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0708.lean
29f64b7890c6c1ae910e0a3b815dfed3e0018ae5
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
115
lean
variables (f : ℕ → ℕ) (k : ℕ) example (h₁ : f 0 = 0) (h₂ : k = 0) : f k = 0 := by simp [h₁, h₂]
1b6503085c86e70035f93e19629fe3bd3b2984ef
e94d3f31e48d06d252ee7307fe71efe1d500f274
/hott/homotopy/susp.hlean
aab3ab60866ed6beb57a93fb902256b4f7ae1ffd
[ "Apache-2.0" ]
permissive
GallagherCommaJack/lean
e4471240a069d82f97cb361d2bf1a029de3f4256
226f8bafeb9baaa5a2ac58000c83d6beb29991e2
refs/heads/master
1,610,725,100,482
1,459,194,829,000
1,459,195,377,000
55,377,224
0
0
null
1,459,731,701,000
1,459,731,700,000
null
UTF-8
Lean
false
false
10,996
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.pointed cubical.square .connectedness open pushout unit eq equiv definition susp (A : Type...
c404a571f2dab6d74fc2a47fed9ec88cd611bc52
1437b3495ef9020d5413178aa33c0a625f15f15f
/data/dfinsupp.lean
57d1d579c4b19a0822655098433378c2985db965
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
31,952
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau Dependent functions with finite support (see `data/finsupp.lean`). -/ import data.finset data.set.finite algebra.big_operators algebra.module algebra.pi_instance...
754c0f838eaadd38ef7b3f7befc495a096cc3444
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/system/io.lean
6d5f67226cdd3ea2d113d3126fc9c2fe41d63a06
[ "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,212
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch and Leonardo de Moura -/ universe u constant io : Type u → Type u protected constant io.return : ∀ {α : Type u}, α → io α protected constant io.bind ...
e27b8a053b4e93937726e1ccf249aad3d22df900
4fa161becb8ce7378a709f5992a594764699e268
/src/category_theory/limits/shapes/constructions/limits_of_products_and_equalizers.lean
b488a0b8a7e8bf57195bb115d1d1e08a863c3d61
[ "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
4,767
lean
/- -- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.finite_products /-! # Constructing limits from products and equalizers....
54927aaed4d32df16b19eef568460ba8d7f577ce
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/polynomial/cancel_leads.lean
5d8ac8894f5ba07885d3afcf1f995739e4754f06
[ "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
2,949
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import data.polynomial.degree.definitions /-! # Cancel the leading terms of two polynomials ## Definition * `cancel_leads p q`: the polynomial formed by multiplyin...
9d26e5dc2cde79e0df49597f22c835449cedaaf9
e4d500be102d7cc2cf7c341f360db71d9125c19b
/src/algebra/ordered_field.lean
4a30fc9938200a11fc7935dae987a23c4a7d17db
[ "Apache-2.0" ]
permissive
mgrabovsky/mathlib
3cbc6c54dab5f277f0abf4195a1b0e6e39b9971f
e397b4c1266ee241e9412e17b1dd8724f56fba09
refs/heads/master
1,664,687,987,155
1,591,255,329,000
1,591,255,329,000
269,361,264
0
0
Apache-2.0
1,591,275,784,000
1,591,275,783,000
null
UTF-8
Lean
false
false
25,406
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Mario Carneiro -/ import algebra.ordered_ring import algebra.field set_option default_priority 100 -- see Note [default priority] set_option old_structu...
fbb406593f45bc980ce46d46a07bda4d48407760
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/geometry/manifold/whitney_embedding.lean
2532787d986f5cbf35d052f72b0c599c5026bcd9
[ "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
6,268
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import geometry.manifold.partition_of_unity /-! # Whitney embedding theorem In this file we prove a version of the Whitney embedding theorem: for any compac...
dfc4dd21deecf9b4c44567f8acaba5cc5ce3fca6
59a4b050600ed7b3d5826a8478db0a9bdc190252
/src/category_theory/universal/comparisons/cones.lean
8ad327f99a6a15dcc3f5ea49bf8870079139807d
[]
no_license
rwbarton/lean-category-theory
f720268d800b62a25d69842ca7b5d27822f00652
00df814d463406b7a13a56f5dcda67758ba1b419
refs/heads/master
1,585,366,296,767
1,536,151,349,000
1,536,151,349,000
147,652,096
0
0
null
1,536,226,960,000
1,536,226,960,000
null
UTF-8
Lean
false
false
2,146
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 category_theory.equivalence import category_theory.universal.cones import category_theory.universal.comma_categories open category_theory ...
76f88d2c0bc7493217edbaecfeac8ffeda310f9d
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Lean/Elab/Tactic/ElabTerm.lean
ba073d2cf0741aaf1ae34be696f00b7b509b78e8
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
9,261
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.CollectMVars import Lean.Meta.Tactic.Apply import Lean.Meta.Tactic.Constructor import Lean.Meta.Tactic.Assert import Lean.Elab.Tactic.Basic...
7abc51a137ae6fb474be9ba65325f3ff8c1dec81
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/class6.lean
9897342e86b9864526f86194af6823b97e432722
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
293
lean
import standard using pair inductive t1 : Type := | mk1 : t1 inductive t2 : Type := | mk2 : t2 theorem inhabited_t1 : inhabited t1 := inhabited_intro mk1 theorem inhabited_t2 : inhabited t2 := inhabited_intro mk2 instance inhabited_t1 inhabited_t2 theorem T : inhabited (t1 × t2) := _
b242774753f775ab662b2750246b65b0cb20d067
ba4794a0deca1d2aaa68914cd285d77880907b5c
/src/game/world3/level2.lean
32e85e82890c085fc94859702798ee149166292b
[ "Apache-2.0" ]
permissive
ChrisHughes24/natural_number_game
c7c00aa1f6a95004286fd456ed13cf6e113159ce
9d09925424da9f6275e6cfe427c8bcf12bb0944f
refs/heads/master
1,600,715,773,528
1,573,910,462,000
1,573,910,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
793
lean
import game.world3.level1 -- hide import mynat.mul -- hide namespace mynat -- hide /- # Multiplication World ## Level 2: `mul_one` Remember that you can see everything you have proved so far about multiplication in the drop-down box on the left (and that this list will grow as we proceed). In this level we'll need...
ce86558eaad4adb564a309ac751e1b91f0be7036
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/apply_tac_bug.lean
fe5bb8224e9492da905cc059aa445a4007ac7699
[ "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
338
lean
import macros import tactic theorem my_proof_irrel {a b : Bool} (H1 : a) (H2 : b) : H1 == H2 := let H1b : b := cast (by simp) H1, H1_eq_H1b : H1 == H1b := hsymm (cast_heq (by simp) H1), H1b_eq_H2 : H1b == H2 := to_heq (proof_irrel H1b H2) in htrans H1...
1037218c58921233f68d65e563264dbc2b771ffc
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/pkg/user_ext/UserExt/FooExt.lean
686ec53f824b3203b0078e5bd285f553d8d88784
[ "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
858
lean
import Lean open Lean initialize fooExtension : SimplePersistentEnvExtension Name NameSet ← registerSimplePersistentEnvExtension { name := `fooExt addEntryFn := NameSet.insert addImportedFn := fun es => mkStateFromImportedEntries NameSet.insert {} es } initialize registerTraceClass `myDeb...
623ebab67411ab26bfad733b0865d18d2a843fcc
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/autoBoundPostponeLoop.lean
24b7a911dfe57967de24f8ff9e94a8048583cd96
[ "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
131
lean
theorem ex (h₁ : α = β) (as : List α) (bs : List β) (h₂ : (h ▸ as) = bs) : True := True.intro
cc083086c25971456d953ec13fc7300437c2e25d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/decomposition/jordan.lean
e8d1f7ec11632339073e52645aa7dead45ad3029
[ "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
25,242
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import measure_theory.decomposition.signed_hahn import measure_theory.measure.mutually_singular /-! # Jordan decomposition This file proves the existence and uniqueness o...
44c67612dda925a1ab83164f7acf6230af2fd93f
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex49.lean
0261a72d987fab3db6b9b1e409d3cb0d36495a29
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
553
lean
variables (A : Type) (p q : A → Prop) example (h : ∃ x, p x ∧ q x) : ∃ x, q x ∧ p x := exists.elim h (take w, assume hw : p w ∧ q w, show ∃ x, q x ∧ p x, from ⟨w, hw^.right, hw^.left⟩) example (h : ∃ x, p x ∧ q x) : ∃ x, q x ∧ p x := match h with | ⟨w, hw⟩ := ⟨w, hw^.right, hw^.left⟩ end example (h : ∃ x, p ...
e2230641762c0a9d70b8d9dfe772cd968b591333
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/pfun.lean
9725b94e6207c4bd056ab86a3fd1a1f99d3c47cd
[ "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
22,200
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.set.basic data.equiv.basic data.rel logic.relator /-- `roption α` is the type of "partial values" of type `α`. It is similar to `option α...
1be8b680dec47bdce07a9d24e0c7aa6294d2149e
2272e503179a58556187901b8698b789fad7e0c4
/src/morphism.lean
eabc1849592579a56da3440c0de1e58f9c668f02
[]
no_license
kckennylau/category-theory
f15e582be862379453a5341d83b8cd5ebc686729
b24962838c7370b5257e38b7648040aec95922bb
refs/heads/master
1,583,605,043,449
1,525,154,882,000
1,525,154,882,000
127,633,452
0
0
null
null
null
null
UTF-8
Lean
false
false
1,481
lean
import .basic universes u v namespace category variables {α : Type u} (C : category.{u v} α) variables {x y z : α} (f : C.Mor x y) @[reducible] def monomorphism : Prop := ∀ {z : α} (g h : C.Mor z x) (H : C.Comp _ _ _ f g = C.Comp _ _ _ f h), g = h @[reducible] def epimorphism : Prop := ∀ {z : α} (g h ...
a5bae4b61a5eefcfad4151dfaf028d62ab0401aa
a726f88081e44db9edfd14d32cfe9c4393ee56a4
/world_experiments/world9/level2.lean
b43f45a5043cd36e8e1fedc26df2a5787593bfef
[]
no_license
b-mehta/natural_number_game
80451bf10277adc89a55dbe8581692c36d822462
9faf799d0ab48ecbc89b3d70babb65ba64beee3b
refs/heads/master
1,598,525,389,186
1,573,516,674,000
1,573,516,674,000
217,339,684
0
0
null
1,571,933,100,000
1,571,933,099,000
null
UTF-8
Lean
false
false
2,004
lean
import game.world5.level1 -- hide namespace mynat -- hide /- # World 5 : Inequality world ## Level 2 : `le_succ` In this level we will find ourselves with a *hypothesis* of the form `h : ∃ c, P` where `P` is some proposition (which probably depends on `c`). To extract `c` from `h` you can use the `cases` tactic. If...
171872854a768e9093615fd9261f283ed184738f
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/analysis/special_functions/integrals.lean
cca70a2cd21fe95c4258e1b8cc6190598aebd497
[ "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
14,160
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.interval_integral /-! # Integration of specific interval integrals This file contains proofs of the integrals of various specific functi...
23fd3598ebb768fe5c716b820b90e4db31721f6e
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/lattice.lean
891f61767791d25797d06bee4e24e84e56012245
[ "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
2,490
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 category_theory.limits.shapes.finite_limits import order.complete_lattice universes u open category_theory namespace category_theory.limits variables {α : ...
f27a9a1d494851a2fbcf0862fa2b1880058e3ac3
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/group_theory/group_action/basic.lean
3ec60f4ea2825a4ea17627039405db009956ee14
[ "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
7,306
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 group_theory.group_action.group import group_theory.coset /-! # Basic properties of group actions -/ universes u v w variab...
0ce7ae40fccbb5c6cc7e4b78b1a93ffbe819e7ad
130d371f971f05e5686dfbc39bba9b3867057815
/src/basic.lean
b14f780029c23e774c0bebcf1de7131fb3e7f3d1
[]
no_license
JasonKYi/analysis_with_filters
7d5df1a0966e21d54e3baa5b7e2b72938f190fa6
a1182aa3965f034d27b5cf493ee9737972cbbf2a
refs/heads/master
1,669,288,659,683
1,596,107,251,000
1,596,107,251,000
283,021,905
1
1
null
null
null
null
UTF-8
Lean
false
false
8,303
lean
import order.filter.basic topology.separation tactic variables {α : Type*} noncomputable theory open set classical local attribute [instance] classical.prop_decidable /- structure filter (α : Type*) := (sets : set (set α)) (univ_sets : set.univ ∈ sets) (sets_of_superset {x y} : x ∈ se...
954994dc679e39f52d77023d4de8dbf65194ef88
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/sum.lean
00aec690287945d9a99bbffa9d02c1d0fafb2a8e
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
4,107
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro More theorems about the sum type. -/ universes u v variables {α : Type u} {β : Type v} open sum attribute [derive decidable_eq] sum @[simp] theorem sum.forall {p : α...
b95f38d09cb6261499b4354b916e312dea5dcfa1
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/casesRec.lean
2adf9e10e19929745caf7e0465687724ff6162bd
[ "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,029
lean
namespace Ex1 def f (x : Nat) : Nat := by cases x with | zero => exact 1 | succ x' => apply Nat.mul 2 exact f x' #eval f 10 example : f x.succ = 2 * f x := rfl end Ex1 namespace Ex2 inductive Foo where | mk : List Foo → Foo mutual def g (x : Foo) : Nat := by cases x with | mk xs => exact gs xs ...
ac523f793c39eb291340ebd7ca82dc9c643cc451
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Init/Data/String/Basic.lean
204a4371a7132809e420ad9d975e45357aff6b88
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
17,122
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.List.Basic import Init.Data.Char.Basic import Init.Data.Option.Basic universe u def List.asString (s : List Char) : String := ⟨s⟩...
753377a714b0f90c4716082c99855751aed7f432
80162757f50b09d3cad5564907e4c9b00742e045
/order.lean
5246db0197c907b766004faff60917e0c97e217c
[]
no_license
EdAyers/edlib
cc30d0a54fed347a85b6df6045f68e6b48bc71a3
78b8c5d91f023f939c102837d748868e2f3ed27d
refs/heads/master
1,586,459,758,216
1,571,322,179,000
1,571,322,179,000
160,538,917
2
0
null
null
null
null
UTF-8
Lean
false
false
1,603
lean
def order_dual (α : Type*) := α namespace order_dual instance has_le (α : Type*) [has_le α] : has_le (order_dual α) := ⟨λx y:α, y ≤ x⟩ instance has_lt (α : Type*) [has_lt α] : has_lt (order_dual α) := ⟨λx y:α, y < x⟩ instance has_preorder (α : Type*) [preorder α] : preorder (order_dual α) := { le_refl := le_refl, ...
d67b69d0e03261deaa5196bed150a84049223a64
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/list/intervals.lean
0e6984b4b3ccddc3cbd68cf3be08477ebcc7864c
[ "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
6,956
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.list.lattice import data.list.range /-! # Intervals in ℕ > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding P...
8e505b2c9a586a23ebc2b843a0c9da119f8b95a2
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/computability/partrec_code.lean
6602923d380a5cb239c1cb8aa74f39016d0667ed
[ "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
38,845
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Godel numbering for partial recursive functions. -/ import computability.partrec open encodable denumerable namespace nat.partrec open nat (mkpair) theorem rfind' {f...
d02fbdfed7f61cda92498eafd973409dd7dbd671
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/algebra/monoid.lean
cc0e1c518b7e307e4f77f1b51959fdb3937bdbe4
[ "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,078
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 -/ import topology.continuous_on import group_theory.submonoid.operations import algebra.group.prod import algebra.pointwise import algebra.big_operators...
58a01c2d640925fe5f8763bee4d18ff7db267fc3
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/algebra_tower.lean
41686bb7dd95cd46c6a51801c199ecdad814882f
[ "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
14,082
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.invertible import ring_theory.adjoin.fg import linear_algebra.basis import algebra.algebra.tower import algebra.algebra.restrict_scalars /-! # Towers of algebra...
7f438be354222454db6b6423ea6793dfa193257c
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/homotopy_theory/formal/cylinder/sdr.lean
20bdb60346a3b041e454a9440e8c03e3a10c5505
[ "Apache-2.0" ]
permissive
rwbarton/lean-homotopy-theory
cff499f24268d60e1c546e7c86c33f58c62888ed
39e1b4ea1ed1b0eca2f68bc64162dde6a6396dee
refs/heads/lean-3.4.2
1,622,711,883,224
1,598,550,958,000
1,598,550,958,000
136,023,667
12
6
Apache-2.0
1,573,187,573,000
1,528,116,262,000
Lean
UTF-8
Lean
false
false
2,065
lean
import .homotopy universes v u open category_theory open category_theory.category local notation f ` ∘ `:80 g:80 := g ≫ f namespace homotopy_theory.cylinder variables {C : Type u} [category.{v} C] [has_cylinder C] -- A map j : A → X is the inclusion of a strong deformation retract if -- it admits a retraction r : ...
0fef2f7de86905ef48ebfcafd8380685cc7213f7
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/exercises_sources/wednesday/afternoon/topological_spaces.lean
f8ccd205ee878175356003680f3d29471372d785
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
14,934
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...
10776bcda1942053e524e51b682f24d776eb9675
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Meta/Tactic/Assert.lean
7ae0f44e903405a4563fb8eded2d39b7a460aca9
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,045
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.Tactic.Util import Lean.Meta.Tactic.FVarSubst import Lean.Meta.Tactic.Intro import Lean.Meta.Tactic.Revert namespace Lean.Meta /-- Conv...
df3c8984d5b859c73049db80d21eff2de9187656
ae9f8bf05de0928a4374adc7d6b36af3411d3400
/src/formal_ml/nat.lean
5cd5cd9e1923a06d6cb713eaa391972cc83a2c29
[ "Apache-2.0" ]
permissive
NeoTim/formal-ml
bc42cf6beba9cd2ed56c1cd054ab4eb5402ed445
c9cbad2837104160a9832a29245471468748bb8d
refs/heads/master
1,671,549,160,900
1,601,362,989,000
1,601,362,989,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,264
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...
69fffee766ac1d16ea8b4f5310abb585082fbfa3
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/Meta/Tactic/Simp/Main.lean
eea0f93279ca3647bedb11394367f29525d85672
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,457
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.Transform import Lean.Meta.Tactic.Replace import Lean.Meta.Tactic.Util import Lean.Meta.Tactic.Clear import Lean.Meta.Tactic.Simp.Types imp...
e1fc5d4da5bb2b0cad6b07f0d4c109ff97b111f3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/function.hlean
25c569ca813364462c4f2280691b691a4ffffb15
[ "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
9,368
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about embeddings and surjections -/ import hit.trunc types.equiv cubical.square open equiv sigma sigma.ops eq trunc is_trunc pi is_eq...
20b8eea1e9ba0b1061c1263b58967ebd8c6dde95
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/limits/shapes/constructions/binary_products.lean
20a74ad261f272cc3251657a956109b154b85833
[ "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
1,641
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.shapes.pullbacks import category_theory.limits.shapes.binary_products universes v u /-! # Constructing binary product from pullbacks and t...
17f94d88228ed5a19e4e667451b88c9601617b89
dc253be9829b840f15d96d986e0c13520b085033
/pointed_pi.hlean
c8d8b8338ca09ea9b6c5e48c768fd3b45c310053
[ "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
50,157
hlean
/- Copyright (c) 2016 Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz, Floris van Doorn -/ import homotopy.connectedness types.pointed2 .move_to_lib .pointed open eq pointed equiv sigma is_equiv trunc option pi function fiber /- In ...
f3b41a062fd19d413b4b5817fa770483d32622a8
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/topology/order.lean
cab31ed76ebf8b5cc691657fab17ec37c534fde2
[ "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
27,833
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 -/ import topology.basic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. That...
3062690ae2ff3cc071836b3d6f63e06cc6c32a4c
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/place_eqn.lean
40bcc3969b17d8b94d5229304d9a8b96a586077d
[ "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
79
lean
open nat definition foo : nat → nat | foo zero := _ | foo (succ a) := _
53573bf1244ea1bdd4a305455e2651009bec5e9a
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/tactic/norm_num.lean
36f34ead452aef9ea129d62a97b899fb235e9a37
[ "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
59,966
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 data.rat.cast import data.rat.meta_defs /-! # `norm_num` Evaluating arithmetic expressions including `*`, `+`, `-`, `^`, `≤`. -/ universes u v w n...
004161e21e17d04fdc5c689905d7ec8d24e5320c
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/data/real/ereal.lean
e36f4927492f1011db51ef20a9bbf1178b6d4db0
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,590
lean
/- Copyright (c) 2019 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import data.real.basic import data.real.ennreal /-! # The extended reals [-∞, ∞]. This file defines `ereal`, the real numbers together with a top and bottom element, ...
41565bc09dd50c3ff19ac969472a109d7ab58f88
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/LCNF/Specialize.lean
0973ff9099384d966449e9d59ef51d36698f2400
[ "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
17,779
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.ForEachExpr import Lean.Compiler.Specialize import Lean.Compiler.LCNF.Simp import Lean.Compiler.LCNF.SpecInfo import Lean.Compiler.LCNF.Pre...
37a12f696bcbc0a57d91473216c9ff6bb04e348d
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/adjoin_root.lean
d3d24d4c9c20e4283a703b3cb69f212739d3bf82
[ "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
9,718
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes Adjoining roots of polynomials -/ import data.polynomial.field_division import linear_algebra.finite_dimensional import ring_theory.adjoin.basic import ri...
f40bce57b674a961b5fde9fbf8012e001d2628bf
5382d69a781e8d7e4f53e2358896eb7649c9b298
/impossible.lean
de9821a355b55a81978bf9997e2f530231197ba7
[]
no_license
evhub/lean-math-examples
c30249747a21fba3bc8793eba4928db47cf28768
dec44bf581a1e9d5bf0b5261803a43fe8fd350e1
refs/heads/master
1,624,170,837,738
1,623,889,725,000
1,623,889,725,000
148,759,369
3
0
null
null
null
null
UTF-8
Lean
false
false
6,534
lean
import .posets namespace impossible open nat open posets -- bool: instance bool_order: bot_order bool := { le := λ x y: bool, x = ff ∨ (x = tt ∧ y = tt), le_refl := begin intros, induction a; simp, end, ...
76e2eb05305ea2ebd55985df8c68613dd4900e94
7b9ff28673cd3dd7dd3dcfe2ab8449f9244fe05a
/src/jesse/exercises-day-one-solutions.lean
e20f2bd8731e5e6a50e05a80872cb19d41c7aee4
[]
no_license
jesse-michael-han/hanoi-lean-2019
ea2f0e04f81093373c48447065765a964ee82262
a5a9f368e394d563bfcc13e3773863924505b1ce
refs/heads/master
1,591,320,223,247
1,561,022,886,000
1,561,022,886,000
192,264,820
1
1
null
null
null
null
UTF-8
Lean
false
false
6,113
lean
import tactic tactic.explode open classical /- Fill in the `sorry`s below -/ local attribute [instance, priority 0] prop_decidable example (p : Prop) : p ∨ ¬ p := begin by_cases p, { left, assumption }, { right, assumption } end example (p : Prop) : p ∨ ¬ p := begin by_cases h' : p, { left, exact h' },...
d8c53d5c253d4b9bac210207bc9b37e3bfd7111b
92c6b42948d74fe325c2d88530f1d36da388b2f7
/src/cvc4/sig/th_base.lean
5709f8bf59a806743ae0f317974ada11f7b7c897
[ "MIT" ]
permissive
riaqn/smtlean
8ad65055b6c1600cd03b9e345059a3b24419b6d5
c11768cfb43cd634340b552f5039cba094701a87
refs/heads/master
1,584,569,627,940
1,535,314,713,000
1,535,314,713,000
135,333,334
0
1
null
null
null
null
UTF-8
Lean
false
false
76
lean
namespace sig axiom trust : false axiom trust_f (α : Prop) : α end sig
203b546ec995713fc55a3c86c38eb55c268b4949
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/MetavarContext.lean
836570e235449c4b8afb10b4430fb6162621d684
[ "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
51,230
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.Util.MonadCache import Lean.LocalContext namespace Lean /- The metavariable context stores metavariable declarations and their assignments. It...
0e8e8a3973b442815eb0c277dfe351643f1ca559
b9def12ac9858ba514e44c0758ebb4e9b73ae5ed
/src/monoidal_categories_reboot/tensor_product.lean
264e6ff5c73a49598d0717045f83b11749eea8e0
[ "Apache-2.0" ]
permissive
cipher1024/monoidal-categories-reboot
5f826017db2f71920336331739a0f84be2f97bf7
998f2a0553c22369d922195dc20a20fa7dccc6e5
refs/heads/master
1,586,710,273,395
1,543,592,573,000
1,543,592,573,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,305
lean
-- Copyright (c) 2018 Michael Jendrusch. All rights reserved. import category_theory.category import category_theory.functor import category_theory.products import category_theory.natural_isomorphism open category_theory universes u v open category_theory.category open category_theory.functor open category_theory.p...
fd772c9724f5aec5c35b3787d26370a478750d75
649957717d58c43b5d8d200da34bf374293fe739
/src/category_theory/fully_faithful.lean
34cd797f2fc88a754da412864fcef4fd8a558749
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
3,005
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.isomorphism universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; see `category_theory.category` for an explanation namespace category_...
d2ce3a744ee056ce08e7d44aa1f0d313d336bdf2
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Data/LOption.lean
ae29a55699af4d703f200e6e993fafd5698988c4
[ "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
1,094
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.Data.ToString universes u namespace Lean inductive LOption (α : Type u) | none {} : LOption | some : α → LOption | undef {} : LOp...