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
1e124ba49fc42e2fde56b7a526997f2f1f69e31a
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/algebra/operations.lean
21a142b2763f8a47dd1270903c24820c612d4ef4
[ "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
11,572
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.basic /-! # Multiplication and division of submodules of an algebra. An interface for multiplication and division of sub-R-modules of an R-algebra A is...
2da0ad4656c2e3aac1c8c360a31b8726e547e123
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/LeanTutorial/LeanDay2.lean
3b91aca453095ef845be553464e3991e7a05eab8
[]
no_license
Samyak-Surti/LeanCode
1c245631f74b00057d20483c8ac75916e8643b14
944eac3e5f43e2614ed246083b97fbdf24181d83
refs/heads/master
1,669,023,730,828
1,595,534,784,000
1,595,534,784,000
282,037,186
0
0
null
null
null
null
UTF-8
Lean
false
false
606
lean
def zeroEqualsZero : 0 = 0 := rfl #check zeroEqualsZero theorem theorem1 : 2 = 1 + 1 := rfl #check theorem1 #reduce theorem1 theorem theorem1' : 2 = 1 + 1 := eq.refl 2 #check theorem1' #reduce theorem1' theorem theorem2 : tt = tt := rfl #check theorem2 #reduce theorem2 /- Doesn't work due to memory constraints-/ th...
f3141a33f28f13f622a046d6ebc0748a0999a842
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/algebra/category/constructions/product.hlean
31cfe6c384212d5846195fccabf09661d1c2e59d
[ "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
3,215
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 Functor product precategory and (TODO) category -/ import ..category ..functor hit.trunc open eq prod is_trunc functor sigma trunc namespace ca...
d3a205c5d566d5267a3e50e6aae9f3f7f823bc1d
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/order/lattice.lean
91ec7d880c57927aedb249dd5816f1fb76b2ccec
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
11,565
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 Defines the inf/sup (semi)-lattice with optionally top/bot type class hierarchy. -/ import order.basic set_option old_structure_cmd true universes u v w -- TODO: mo...
6655609cee35b4a020c0b4062b5135a0b167243c
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/414.lean
9770bcabf989c9bd914e18a565d65c3c7ddca6fc
[ "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
181
lean
macro_rules (kind := numLit) | `($n:numLit) => `("world") #check 2 macro_rules | `($n:numLit) => `("hello") #check 2 macro_rules (kind := numLit) | n => `("boo") #check 2
47a1aad8159c47981487ff6c0dab934f1988ebe7
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/ring_theory/ideal/over.lean
abf600efd003cf6297c0728827d39199d105991d
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
12,152
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen -/ import ring_theory.algebraic import ring_theory.localization /-! # Ideals over/under ideals This file concerns ideals lying over other ideals. Let `f : R →+* S` be a ring...
58a3ee640ab5ec125887ec6bc0ac7d70a29dc16f
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex44.lean
465a0d5e08a1651e7cdde6b1b146a909d5969835
[ "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
224
lean
/- Reflexivity is more powerful than it looks -/ variables (A B : Type) example (f : A → B) (a : A) : (λ x, f x) a = f a := eq.refl _ example (a : A) (b : A) : (a, b).1 = a := eq.refl _ example : 2 + 3 = 5 := eq.refl _
627f8cf334210479668e24f3fcb30744b1fb3c97
b328e8ebb2ba923140e5137c83f09fa59516b793
/stage0/src/Lean/Elab/Frontend.lean
2c5edcb5aecc565bebaf189fa7f766c45356b28e
[ "Apache-2.0" ]
permissive
DrMaxis/lean4
a781bcc095511687c56ab060e816fd948553e162
5a02c4facc0658aad627cfdcc3db203eac0cb544
refs/heads/master
1,677,051,517,055
1,611,876,226,000
1,611,876,226,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,500
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Elab.Import import Lean.Elab.Command import Lean.Util.Profile namespace Lean.Elab.Frontend structure State where commandS...
335861a85df5898a26ab875060649a5cd6fb1017
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/Tactic/Conv/Rewrite.lean
3b904db60faad1aa990fac9fadfb98e828b85128
[ "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
780
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Rewrite import Lean.Elab.Tactic.Rewrite import Lean.Elab.Tactic.Conv.Basic namespace Lean.Elab.Tactic.Conv open Meta @[builtinTact...
2596364e2c6952a8ddbaf9a4416c1b8192dc776a
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/logic/axioms/default.lean
4b10fc3b9c94a9c332f99cc5d4c5fcb0a79151e8
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
474
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Microsoft Corporation. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Author: Jeremy Avigad ------------------------------------------------------...
c6219b5c814e1f160128c907421ed84550208666
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/set_get_option_tactics_auto.lean
fa58eda7157f35f913bec0b41afecdcce1ccdaa3
[]
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
278
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic namespace Mathlib namespace tactic end Mathlib
4af91737f2300b9ad281dce9c91b14fa5048d775
680b0d1592ce164979dab866b232f6fa743f2cc8
/library/data/bag.lean
c6f423b1cd379f53493f443f2a203bd127c7158b
[ "Apache-2.0" ]
permissive
syohex/lean
657428ab520f8277fc18cf04bea2ad200dbae782
081ad1212b686780f3ff8a6d0e5f8a1d29a7d8bc
refs/heads/master
1,611,274,838,635
1,452,668,188,000
1,452,668,188,000
49,562,028
0
0
null
1,452,675,604,000
1,452,675,602,000
null
UTF-8
Lean
false
false
34,413
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 Finite bags. -/ import data.nat data.list.perm algebra.binary open nat quot list subtype binary function eq.ops open [decl] perm variable {A : Type} definiti...
c69175f528e5f5830c114cdf7b3f7987ba935038
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Algebra/basic.lean
f8162553f00407c72988a3432763d09799f80a49
[ "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,957
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.algebra.subalgebra.basic import algebra.free_algebra import algebra.category.Ring.basic import algebra.category.Module.basic /-! # Category instance f...
6ff6d1ead2fdb1b4aaa807911628e629e6fcb383
4fa161becb8ce7378a709f5992a594764699e268
/src/group_theory/perm/sign.lean
a0c33de13be792b1e68a9e34ad70a6f360829217
[ "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
32,592
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.fintype.basic import algebra.big_operators universes u v open equiv function fintype finset open_locale big_operators variables {α : Type u} {β : Type v} na...
d6d9b9e1a92017bada6527cd111ab7d858d3a934
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/tactic_io.lean
cd09b8f2bfead7d65092eeb93e0e39c108e8e7a7
[ "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
229
lean
import system.io section def tst_io : io string := do b ← io.fs.read_file "tactic_io.lean", return b^.to_string end open tactic meta def tac : tactic unit := do s ← tactic.unsafe_run_io tst_io, trace s run_cmd tac
52fffd8dfaddf7b91aad638f7ed1d3a94e010c83
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/analysis/complex.lean
fa8225ea7b21010a4726b485268d1ba911e964a4
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
5,213
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Topology of the complex numbers. -/ import data.complex.basic analysis.metric_space noncomputable theory open filter namespace complex -- TODO(Mario): these proofs ar...
d2e6fc457bf1125d178389c8c73f0ab0201104d2
c61b91f85121053c627318ad8fcde30dfb8637d2
/Chapter5/5-7.lean
fb6154e72b5324f3230289bab4e279a4f970e0fc
[]
no_license
robkorn/theorem-proving-in-lean-exercises
9e2256360eaf6f8df6cdd8fd656e63dfb04c8cdb
9c51da587105ee047a9db55d52709d881a39be7a
refs/heads/master
1,585,403,341,988
1,540,142,619,000
1,540,142,619,000
148,431,678
2
0
null
null
null
null
UTF-8
Lean
false
false
2,270
lean
import data.list.basic section variables (x y z : nat) (p : nat → Prop) variable (h : p (x * y)) example : (x + 0) * (0 + y * 1 + z * 0) = x * y := by simp include h example : p ((x + 0) * (0 + y * 1 + z * 0)) := by { simp, assumption } end section universe u variable {α : Type} open list example (xs : list n...
1b4be595c7f0be3c5ce0e4a2f7db8d1e8151ba56
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/logic/function/iterate_auto.lean
853a86e47a258afba39e5f69e128d1b8f20dec5e
[]
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
6,606
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.logic.function.conjugate import Mathlib.PostPort universes u v namespace Mathlib /-! #...
734c23290637c78f220901837ab8c86e9fc575df
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/hole_command.lean
652212a9cc03879933d6e2748f24ca3903349439
[ "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,972
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic /-- The front-end (e.g., Emacs, VS Code) can invoke commands for holes `{! ... !}` in a declaration. A command is a tactic ...
56882b11f66fcad53dcdd1cbb26e6bc8809ad88c
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/LAMR/Util/Propositional/Syntax.lean
7015deb4376a83b47e1f8a733bfeedbc3e4162c4
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,641
lean
import Mathlib /- Propositional formulas. -/ inductive PropForm | var : String → PropForm | tr : PropForm | fls : PropForm | neg : PropForm → PropForm | conj : PropForm → PropForm → PropForm | disj : PropForm → PropForm → PropForm | impl : PropForm → PropForm → PropForm | biImpl : P...
8552f911c7ca7e23e2857da1bd762c7164ef7397
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world3/level1.lean
277b5b1cdb0fb697e2dc9f7689ede0befaf1e767
[ "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
2,146
lean
import game.world2.level6 -- hide import mynat.mul -- import the definition of multiplication on mynat -- World name : Multiplication world /- Axiom : mul_zero (a : mynat) : a * 0 = 0 -/ /- Axiom : mul_succ (a b : mynat) : a * succ(b) = a * b + a -/ /- # Multiplication World A new import! This import gives you t...
2cc0e793a81bc3b0c2bd0ae29c513eadf55af851
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/homotopy/contractible.lean
27eac8247631745f74198697f0b2921f54df1076
[ "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
3,314
lean
/- Copyright (c) 2022 Praneeth Kolichala. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Praneeth Kolichala -/ import topology.homotopy.path import topology.homotopy.equiv /-! # Contractible spaces > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this fil...
c303ce6994a26be4bdab277412d416135253c76b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/262.lean
2ab641808ef3c2b073619b0ed5741e405e81be6f
[ "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
245
lean
mutual inductive ConE : Type where | nilE : ConE | extE : ConE → TyE → ConE inductive TyE : Type where | UE : ConE → TyE end def length (ΓE : ConE) : Nat := match ΓE with | ConE.nilE => 0 | ConE.extE ΓE AE => (length ΓE) + 1
cb8ea94b4a349aef35685af6ee2b4c4c2c91923e
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Lean/Data/Name.lean
92334a9d56bf2f5825d6013d99ff09ff01b66046
[ "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
5,476
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Std.Data.HashSet import Std.Data.RBMap import Std.Data.RBTree namespace Lean instance : Coe String Name := ⟨Name.mkSimple⟩ namespace Name @[export ...
651d41d49ff006bc1b08aafcf4a2b802e8e44859
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/geometry/manifold/times_cont_mdiff.lean
fa6b75f8a7a62031c5aa12c7e5e269e38c80b755
[ "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
51,458
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import geometry.manifold.mfderiv import geometry.manifold.local_invariant_properties /-! # Smooth functions between smooth manifolds We define `Cⁿ` functions...
91c20e570210c334c4797a7ea3a97f1bfdac035d
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/tests/lean/interactive/field_info.lean
e6fb9edd44bc8daff937377962dc7f3044682bf3
[ "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
148
lean
def f (n : ℕ) := n^.to_string --^ "command": "info" def g (l : list ℕ) := l^.all --^ "command": "info"
06dbfa003a3a6ad9935b265a9f6c0fc2800416e7
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed_space/add_torsor.lean
6d14953250ea07277d7182941859f378f8fbe746
[ "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
12,949
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Yury Kudryashov -/ import analysis.normed_space.basic import linear_algebra.affine_space.midpoint import topology.instances.real_vector_space /-! # Torsors of additive nor...
6240cc514739c73ceadb8cffd8f75d9fb8e3aa47
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/fderiv/restrict_scalars.lean
d414c3f156487d7ed8921beb5b091d5c879511be
[ "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
4,392
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.fderiv.basic /-! # The derivative of the scalar restriction of a linear map > THIS FILE IS SYNCHRONIZED W...
20ee2da3d00705b73c91063f630249d036ff5e3c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/fin2_auto.lean
171e4183d1a55d24e7a3198f30ecd147efb20403
[]
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,769
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.PostPort universes l u namespace Mathlib /-- An alternate definition of `fin n` defined...
be9db6c3fe77e7f13d72cd95e80db9010bde14d0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/continued_fractions/convergents_equiv.lean
d3a521d88eff7dc0ea11f51ab7ad5d8bce70a9d7
[ "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
19,944
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.continuants_recurrence import algebra.continued_fractions.terminated_stable import tactic.linarith import tactic.field_simp /-...
50e2b79399deaee9ad2e0f4f84e8a59266e06100
5f83eb0c32f15aeed5993a3ad5ededb6f31fe7aa
/lean/attic/bitvec-ind/bv/lemmas.lean
cf41e0233349df657fe31d6643700cc8457b7993
[]
no_license
uw-unsat/jitterbug
45b54979b156c0f5330012313052f8594abd6f14
78d1e75ad506498b585fbac66985ff9d9d05952d
refs/heads/master
1,689,066,921,433
1,687,061,448,000
1,688,415,161,000
244,440,882
46
5
null
null
null
null
UTF-8
Lean
false
false
25,110
lean
import .basic import .helper namespace num @[simp] lemma bodd_to_nat (n : num) : num.bodd n = nat.bodd n := begin cases n with n, { refl }, { cases n; simp [num.bodd]; refl } end @[simp] lemma div2_to_nat (n : num) : (n.div2 : ℕ) = nat.div2 n := begin cases n with n, { refl }, { cases n; simp [num.div2]...
ea04fbb62834b8a10034b3bc855bc9ba1b3920db
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/tauto.lean
a60aa9e761a1d671a6b4c30b2c606bfb98623845
[]
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,518
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.hint import Mathlib.PostPort namespace Mathlib namespace tactic /-- find all assumpt...
d3857d1556e5c3f49e9ca33ee304a1bd96e0c208
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/deq.lean
65f61fe2d6bac4743123388ae5d2c03e7ca0cb7f
[ "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
922
lean
inductive LazyList (α : Type u) | nil : LazyList α | cons (hd : α) (tl : LazyList α) : LazyList α | delayed (t : Thunk (LazyList α)) : LazyList α namespace LazyList def force : LazyList α → Option (α × LazyList α) | delayed as => force as.get | nil => none | cons a as => some (a,as) end LazyList def deq (Q ...
41487d8edf910fa1b53ae15fcb311049f5700cc6
c5b07d17b3c9fb19e4b302465d237fd1d988c14f
/src/functors/generating.lean
95d03b219c60a94349cfee6d1b3df2de91ec8772
[ "MIT" ]
permissive
skaslev/papers
acaec61602b28c33d6115e53913b2002136aa29b
f15b379f3c43bbd0a37ac7bb75f4278f7e901389
refs/heads/master
1,665,505,770,318
1,660,378,602,000
1,660,378,602,000
14,101,547
0
1
MIT
1,595,414,522,000
1,383,542,702,000
Lean
UTF-8
Lean
false
false
4,207
lean
-- Analytic combinatorics[1,2] is a wonderful subject for analyzing large -- combinatorial structures using methods from complex analysis. -- This is an attempt to formalize some of the ideas in Lean. -- [1] https://aofa.cs.princeton.edu/home -- [2] http://algo.inria.fr/flajolet/Publications/book.pdf import data.iso i...
9e5489541d912cd6c251a53eb853ff559fc45856
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/sigma_match.lean
a4d3ebfd150d6f53a7d4bf5d3c8eb09a86e9f88e
[ "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
848
lean
open sigma constant {l₁ l₂} hom {A : Type l₁} {B : Type l₂} (a : A) (b : B) : Type (max l₁ l₂) attribute [reducible] noncomputable definition arrow_ob (A B : Type) : Type := Σ (a : A) (b : B), hom a b noncomputable definition src1 {A B : Type} (x : arrow_ob A B) : A := match x with (sigma.mk a (sigma.mk b h)) := a...
015ecb257dc992f4cf3d02ae5412776ffaea5274
26ac254ecb57ffcb886ff709cf018390161a9225
/src/topology/constructions.lean
e272cdfbc27cd1fb5ae2e3db3a4916c92f86ac61
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
33,631
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.maps /-! # Constructions of new topological spaces from old ones This file constructs products, sums, subtypes and q...
515ce1cfa450fde96b64d1d5691acfdac2de06c4
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/order/omega_complete_partial_order.lean
11ac6ca1f06daedb09ec94ff26bac8a315b0cae7
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
27,159
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import data.pfun import order.preorder_hom import tactic.wlog /-! # Omega Complete Partial Orders An omega-complete partial order is a partial order with a supremum operat...
738e89c5e9ded1a8d7de63cf7c3ddc0917f67c7a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/Congr.lean
90cfb6affe3f60eaf80aafb7972a3009e99d77d2
[ "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
4,645
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.CongrTheorems import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Apply import Lean.Meta.Tactic.Clear import Lean.Meta.Tactic.Refl impor...
63b52c6c7315d54ba58949ff25a479df65d54f61
cc62cd292c1acc80a10b1c645915b70d2cdee661
/src/category_theory/examples/graphs.lean
c327ab2f91c398c384b67d16c360316565d85872
[]
no_license
RitaAhmadi/lean-category-theory
4afb881c4b387ee2c8ce706c454fbf9db8897a29
a27b4ae5eac978e9188d2e867c3d11d9a5b87a9e
refs/heads/master
1,651,786,183,402
1,565,604,314,000
1,565,604,314,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,204
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.category import category_theory.graphs open category_theory open category_theory.graphs namespace category_theory.examples.graphs univer...
4ee9b30fb4bc9e8dfbfabec070bc13a48777a818
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/inj1.lean
413063df6ab28e5cbb1cdb60b6d9ac220114b4a3
[ "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
918
lean
theorem test1 {α} (a b : α) (as bs : List α) (h : a::as = b::bs) : a = b := by { injection h; assumption; } theorem test2 {α} (a b : α) (as bs : List α) (h : a::as = b::bs) : a = b := by { injection h with h1 h2; exact h1 } theorem test3 {α} (a b : α) (as bs : List α) (h : (x : List α) → (y : List α) → x = ...
2fc2cba879f49591b2e39247a668965ee7f4f7ad
bb31430994044506fa42fd667e2d556327e18dfe
/src/geometry/manifold/instances/sphere.lean
1ad1ee1abe08f4c98ad3267d6bab286148dbad87
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
25,872
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.complex.circle import analysis.normed_space.ball_action import analysis.inner_product_space.calculus import analysis.inner_product_space.pi_L2 impor...
a8fc98ef8471b6c7d2e3bea319cb0bb5174dde21
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/int/modeq.lean
728f64ce1b5247a001bf197a7a5bd5eda7e692e8
[ "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
6,017
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.int.basic data.nat.modeq namespace int def modeq (n a b : ℤ) := a % n = b % n notation a ` ≡ `:50 b ` [ZMOD `:50 n `]`:0 := modeq n a b namespace modeq v...
a8822b658021e60d21be27d74ae70579fdf8019b
c61b91f85121053c627318ad8fcde30dfb8637d2
/Chapter2/2-1.lean
2ebcd76b49e6e2856ce82433ae90ff46633e587f
[]
no_license
robkorn/theorem-proving-in-lean-exercises
9e2256360eaf6f8df6cdd8fd656e63dfb04c8cdb
9c51da587105ee047a9db55d52709d881a39be7a
refs/heads/master
1,585,403,341,988
1,540,142,619,000
1,540,142,619,000
148,431,678
2
0
null
null
null
null
UTF-8
Lean
false
false
1,109
lean
/- declare some constants -/ constant m : nat -- m is a natural number constant n : nat constants b1 b2 : bool -- declare two constants at once constant t : int /- check their types -/ #check m -- output: nat #check n #check n + 0 -- nat #check m * (n + 0)-- nat #check b1 -- bool #check b1 && b2 -- "&&" is...
62fdc4c89a844ab95b0ba867f7546157e22778c9
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/algebraic_independent.lean
88ef89d4296c007cca2bb6f70669bdc9b9dbf872
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,037
lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.adjoin.basic import linear_algebra.linear_independent import ring_theory.mv_polynomial.basic import data.mv_polynomial.supported import ring_theory.alg...
cc098dc9bb23876600787980cb43d01c8ba7f201
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/types/fin.hlean
4d2be9265f7892c6faf0b11bd27940288386cc44
[ "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
20,997
hlean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Haitao Zhang, Leonardo de Moura, Jakob von Raumer Finite ordinal types. -/ import types.list algebra.group function logic types.prod types.sum open eq nat function list equiv is_trunc a...
b201a698b8d37963319ea3695877232556440170
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/set_theory/game.lean
129f3810b3526dda088f2ef2a2e15f1c15385b63
[ "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
24,880
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, Apurva Nakade -/ import set_theory.pgame import tactic.abel /-! # Combinatorial games. In this file we define the quot...
fd501690f58c5b81f1c4dd06536338d02a1f648b
5d76f062116fa5bd22eda20d6fd74da58dba65bb
/src/proof_system.lean
e230b4cf57d530953d2a08aa976065dcb89c8181
[]
no_license
brando90/formal_baby_snark
59e4732dfb43f97776a3643f2731262f58d2bb81
4732da237784bd461ff949729cc011db83917907
refs/heads/master
1,682,650,246,414
1,621,103,975,000
1,621,103,975,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,273
lean
import algebra.field import algebra.polynomial.big_operators -- correct import? open_locale big_operators section /-! This file contains classes for noninteractive proof systems. -/ universe u /-- The finite field parameter of our SNARK -/ parameter {F : Type u} parameter [field F] -- The types of the statement...
ff3d92eea8cb9ab5d1752eb3f534a279d0734b35
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/BoundedModularLattice.lean
3be2acc3e7b431c58fd660360c9f3db127a5112a
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
13,979
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section BoundedModularLattice structure BoundedModularLattice (A : Type) : Type := (times : (A → (A → A))) (plus : (A → (A → A))) (commutative_times : (∀ {x y : ...
f049f29e63b1d5fa43f3dbc0554035a9e0ddd70b
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/Top/adjunctions.lean
b8a82a08dd70c4f769f5e36f2cf7333baee6a94e
[ "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
840
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Mario Carneiro -/ import topology.Top.basic import category_theory.adjunction.basic universe u open category_theory open Top namespace Top def adj₁ : discrete ⊣ for...
c67aabeb1741506de66d0388f87b5401da3977bc
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/diamond2.lean
993e41706045f0e41da9950583d72effa826e712
[ "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
526
lean
set_option structureDiamondWarning false class Foo (α : Type) extends Add α where zero : α class FooComm (α : Type) extends Foo α where comm (a b : α) : a + b = b + a class FooAssoc (α : Type) extends Foo α, Mul α where add_assoc (a b c : α) : (a + b) + c = a + (b + c) mul_assoc (a b c : α) : (a * b) * c = a...
3c8722a575fa2125496a2107e904b65725f443b7
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/computability/turing_machine.lean
a84f8a3bbc8082e72d8101583667d7d6d9ad0294
[ "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
109,920
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 algebra.order import data.fintype.basic import data.pfun import tactic.apply_fun import logic.function.iterate /-! # Turing machines This file defines a seque...
a96b7406798f69e5d0947a0825a73298189b896d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/function_field.lean
838621d04d50b64449efe42ef2a6a8342bc21827
[ "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,178
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 algebraic_geometry.properties /-! # Function field of integral schemes We define the function field of an irreducible scheme as the stalk of the generic point. Thi...
a7d381a2fb027799c3146c8dc3858e183d6b98c1
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/data/stream.lean
f7e75add8686ad9b80f1224adfc67dc6db8e88a1
[ "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
21,354
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 -/ open nat function option universes u v w def stream (α : Type u) := nat → α namespace stream variables {α : Type u} {β : Type v} {δ : Type w} def cons (a ...
08c0cd0add33e029381172c6b60c19c3eaf47b03
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/logic/weak_fan.lean
4987067cf6f86e6974d03c3d186ee0cc4af4d462
[ "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
4,908
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 This file is based on Coq's WeakFan.v file A constructive proof of a non-standard version of the weak Fan Theorem in the formulation of which infinite paths a...
2621986e6db2106118de98059deabb61ef24dc95
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/set/map.lean
0bd14349041a70eeb63f0f993b82fe5cc3c95015
[ "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
6,177
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Andrew Zipperer Functions between subsets of finite types, bundled with the domain and range. -/ import data.set.function open eq.ops namespace set record map {X Y : Ty...
6a7d08bd528ce526fb88331f70cc6adc298559c6
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/category/except.lean
4a9e42479c054c8c91ff447e9db886438c7e3448
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
5,229
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jared Roesch, Sebastian Ullrich The except monad transformer. -/ prelude import init.category.alternative init.category.lift universes u v w inductive except (ε : Type u) (α ...
13795a801ccd65d35a2d06953f45309d03f526a8
92b50235facfbc08dfe7f334827d47281471333b
/hott/types/eq.hlean
f53196dc7eb9b21c73646180213083828b38f94e
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
18,085
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Partially ported from Coq HoTT Theorems about path types (identity types) -/ open eq sigma sigma.ops equiv is_equiv equiv.ops -- TODO: Rename transport_eq_... and ...
78372b6f21dbaf564f47df585ffabc88009a5921
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/simple_graph/basic.lean
79a8aff3c977bdfa92bbc15246487dad3aea6412
[ "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,979
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark, Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller, Alena Gusakov, Hunter Monroe -/ import data.rel import data.set.finite import data.sym.sym2 /-! # Simple graphs Th...
cd2bccfe0086bdc0b92a2ab1f81514b964c0673f
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/ring_theory/associated.lean
652f5adf5a7c16dd91a284f8261607bd75b860cd
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
21,858
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, Jens Wagemaker Associated and irreducible elements. -/ import order.galois_connection algebra.group data.equiv.basic data.multiset data.int.gcd variables {α : Type*} ...
7ab464bf36d4d89461d4c8445bec87f7423e58b0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/IR/ElimDeadVars.lean
fe4b421fbeca516325e34a249024e17b7a84d80a
[ "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,607
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.Compiler.IR.Basic import Lean.Compiler.IR.FreeVars namespace Lean.IR partial def reshapeWithoutDead (bs : Array FnBody) (term : FnBody) : FnBo...
b79247e7d49a2b02c86f829489dd27bf796dcbe1
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Parser/Syntax.lean
c2e33239369a8d6e59b4e4d3cb787f94716b566f
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,621
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Command import Lean.Parser.Tactic namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribut...
0a0395fa782733fbcec689bcb3874b4035756fc7
4fa161becb8ce7378a709f5992a594764699e268
/src/order/complete_lattice.lean
a3d20798b60c1738219f75597c005cfd1568a6fe
[ "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
35,647
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} {ι₂...
f16d0b78c4767f92990985f382f17d7aadadb465
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/nat/pairing.lean
3440d3372f9926f55f44ee2d0298b4cdf9f176f3
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
4,328
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.nat.sqrt import data.set.lattice /-! # Naturals pairing function This file defines a pairing function for the naturals as fol...
3e083c2dd748c52f299b1e85aaf96c322ab1c816
367134ba5a65885e863bdc4507601606690974c1
/src/topology/algebra/module.lean
c07ff72977acb7c0b96d59f4c77557712528e1b1
[ "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
59,266
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo, Yury Kudryashov -/ import topology.algebra.ring import topology.uniform_space.uniform_embedding import algebra.algebra.basic import li...
c6ef59127045602d92d429da1761835eafff7334
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/comment.lean
24aa2d3ad215834e6665d248c2a355e2facad8c5
[ "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
192
lean
/- tests -/ /- /- /- nested comment blocks -/ -/ -/ /-- /- /- nested comment blocks in a docstring -/ -/ -/ example : true := trivial /-! /- /- nested comment blocks in a module block-/ -/ -/
edb3a27224e1a145fba73b181d6504078a004c8f
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/LeftDistributiveMagma.lean
2273eeadad3514d08d1c79f1f69c93011b08ee35
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,530
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section LeftDistributiveMagma structure LeftDistributiveMagma (A : Type) : Type := (op : (A → (A → A))) (leftDistributive : (∀ {x y z : A} , (op x (op y z)) = (op (op x...
7cc5846867941dd944a40d3ab0fe07cd8204f604
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/fiber_bundle.lean
821fc8a1f5b7b61c227318cc3e04d97cdf5a7042
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
63,526
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 data.bundle import topology.algebra.order.basic import topology.local_homeomorph /-! # Fiber bundles A topological fiber bundle with fiber `F` over a b...
f7fb3a1650c078461ebd1a3cc3531ec08e915b0e
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/archive/oxford_invariants/2021summer/week3_p1.lean
0b222b028ed247ea715f53d310c9a105f2898c33
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,760
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import algebra.big_operators.order import algebra.big_operators.ring /-! # The Oxford Invariants Puzzle Challenges - Summer 2021, Week 3, Pro...
a64620de55fc7434b0f5ab6c7184627aff988890
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/compiler/lazylist.lean
95621556060648bd64d31d3a09a5b13bba223432
[ "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
4,022
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 -/ universe u v w inductive LazyList (α : Type u) where | nil : LazyList α | cons (hd : α) (tl : LazyList α) : LazyList α ...
60e3f52019a84670b7577a2b5ecaaf8bc9be2dbc
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/witt_vector/teichmuller.lean
81e9289af99cf10978c545c9972cbadbdaa4fa5c
[ "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
4,466
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 ring_theory.witt_vector.basic /-! # Teichmüller lifts This file defines `witt_vector.teichmuller`, a monoid hom `R →* 𝕎 R`, which embeds `r : R` as the `0`...
29ef75a3a707827b73a546c2c6404f20112602b3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/rel_iso.lean
aa48961a89d7f8791dc65143c965be74839faea0
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
28,756
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 algebra.group.defs import data.fun_like.basic import logic.embedding import logic.equiv.set import order.rel_classes /-! # Relation homomorphisms, embeddings,...
70464e084fe114b1370fb1358b174d1da087018f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/linarith/preprocessing_auto.lean
b0f6d6fe3703baabd31b73448f572ed0f072787f
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,277
lean
/- Copyright (c) 2020 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.tactic.linarith.datatypes import Mathlib.tactic.zify import Mathlib.tactic.cancel_denoms ...
e7e3982d3c0a1ca268e375da3d29fca6dc748d03
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/locally_convex/balanced_core_hull.lean
6b962ff17cc7a39135b923d7d05b50131772de63
[ "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,140
lean
/- Copyright (c) 2022 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import analysis.locally_convex.basic import order.closure /-! # Balanced Core and Balanced Hull ## Main definitions * `balanced_core`: The largest balanced subset of a s...
df9251ae7e162df4180af87537739c14f4bff654
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/nat/cast/defs.lean
4d0f0c673bcf52cb52da75761aec15d6ae809a2e
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
5,783
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Gabriel Ebner -/ import algebra.group.basic /-! # Cast of natural numbers This file defines the *canonical* homomorphism from the natural numbers into an `add_monoid`...
efb37a917e76bfdaa215e32f98ddca34472ca0c2
46125763b4dbf50619e8846a1371029346f4c3db
/src/tactic/rename_var.lean
142b2f3110bd1fdceb609ebb1a23b324dc14d3a7
[ "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
2,052
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 tactic.interactive /-! # Rename bound variable tactic This files defines a tactic `rename_var` whose main purpose is to teach renaming of bound variables. ...
042bb123a108fa668c96cd9139a7485febe2bd98
ac2987d8c7832fb4a87edb6bee26141facbb6fa0
/Mathlib/Function.lean
4ec3edb4964785ac2bdd567b0f2ba94be6473ffe
[ "Apache-2.0" ]
permissive
AurelienSaue/mathlib4
52204b9bd9d207c922fe0cf3397166728bb6c2e2
84271fe0875bafdaa88ac41f1b5a7c18151bd0d5
refs/heads/master
1,689,156,096,545
1,629,378,840,000
1,629,378,840,000
389,648,603
0
0
Apache-2.0
1,627,307,284,000
1,627,307,284,000
null
UTF-8
Lean
false
false
5,681
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Haitao Zhang -/ -- a port of core Lean `init/function.lean` /-! # General operations on functions -/ namespace Function variable {α : Sort u₁...
d42cbafa6d10bbcd40f70fcc93d3f95caf6004fc
dac4e6671410f506c880986cbb2212dd7f5b3dfd
/folklore/submodule.lean
e13081f787536493e7d6744820c900c1593481c4
[ "CC-BY-4.0" ]
permissive
thalesant/formalabstracts-2018
e6ddfe8b3ce5c6f055ddcccf345bf55c41f850c1
d206dfa32a6b4a84aacc3a5500a144757e6d3454
refs/heads/master
1,642,678,879,231
1,561,648,713,000
1,561,648,713,000
97,608,420
1
0
null
1,564,063,995,000
1,500,388,250,000
Lean
UTF-8
Lean
false
false
568
lean
import .banach noncomputable theory open set filter classical local attribute [instance] prop_decidable universes u v w namespace substructure variable { α : Type u} class sub_add_comm_group [add_comm_group α] (D : set α) := (nonempty : ∃ (x : α), x ∈ D) (closure_group : ∀ (x y : α), x ∈ D ∧ y ∈ D → x -...
01de168b5530036fd5bca31532942ba21dce2a5b
b2e508d02500f1512e1618150413e6be69d9db10
/src/data/equiv/algebra.lean
5e4dad4a9d8d33c2f80e890d5479003eeeb64bbc
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
13,659
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 The role of this file is twofold. In the first part there are theorems of the following form: if α has a group structure and α ≃ β then β has a group structure, and sim...
c18f06be0e152150760375a745a60c655951dd23
94e33a31faa76775069b071adea97e86e218a8ee
/src/linear_algebra/tensor_power.lean
f200c4298cd2d5842db53d2f022b1d10598b8b7f
[ "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
2,506
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.pi_tensor_product import logic.equiv.fin import algebra.direct_sum.algebra /-! # Tensor power of a semimodule over a commutative semirings We defin...
3237d8f4941ab4b342c9b0307142c39f8ed16b79
80746c6dba6a866de5431094bf9f8f841b043d77
/src/topology/instances/complex.lean
c7e7661311e416df872988a391bca9d4f1fb358b
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
6,136
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Topology of the complex numbers. -/ import data.complex.basic topology.metric_space.basic topology.instances.real noncomputable theory open filter metric namespace com...
6077af86b7cc25332b9309108caf33db00d79623
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/uni_bug1.lean
e54fc08c13633cdcd7ff85f0a0a43080d0add949
[ "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
180
lean
import data.prod open nat prod constant R : nat → nat → Prop constant f (a b : nat) (H : R a b) : nat axiom Rtrue (a b : nat) : R a b check f 1 0 (Rtrue (pr1 (pair 1 0)) 0)
ce856f1b570e3e31db23e21cbe910d743550b3ea
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/coe3.lean
4d858789a934e41379a6fd929b1166469f52a3a5
[ "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
322
lean
constants A B₁ B₂ C D : Type constant A_to_B₁ : has_coe A B₁ constant A_to_B₂ : has_coe A B₂ constant B₁_to_C : has_coe B₁ C constant B₂_to_D : has_coe B₂ D attribute [instance] A_to_B₁ A_to_B₂ B₁_to_C B₂_to_D constant a : A constant f : C → C constant g : D → D #check f a #check g a
e82f45cbefc2d6ee515ccc7627bba2e1100a3796
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/bytearray.lean
41aed42023780c12c18dc1e16b40657bfa225be7
[ "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
284
lean
def tst : IO Unit := do let bs := [1, 2, 3].toByteArray; IO.println bs; let bs := bs.push 4; let bs := bs.set! 1 20; IO.println bs; let bs₁ := bs.set! 2 30; IO.println bs₁; IO.println bs; IO.println bs.size; IO.println (bs ++ bs); IO.println (bs.extract 1 3); pure () #eval tst
3652e4e2b56a3d866264f9f13c85672fe0b99192
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/prime_norm_num.lean
664fd3f285cb9244d545c47a95587a94a830b848
[ "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,761
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.nat.factors import data.nat.prime import tactic.norm_num /-! # Primality prover > THIS FILE IS SYNCHRONIZED WIT...
5eb2b51c5535c489c1b1e95cda5df807c4a76b4a
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world05/level01.lean
48c098768705ee5ef854a47147ad589e0ca35469
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
72
lean
example (P Q : Type) (p : P) (h : P → Q) : Q := begin exact h(p), end
5ed1179bbab713ec58b249bfd9cf916c780478f7
49ffcd4736fa3bdcc1cdbb546d4c855d67c0f28a
/library/init/data/ordering.lean
6c5e02d36aa31fc1fc7e24758c61c40f006bc6a1
[ "Apache-2.0" ]
permissive
black13/lean
979e24d09e17b2fdf8ec74aac160583000086bc8
1a80ea9c8e28902cadbfb612896bcd45ba4ce697
refs/heads/master
1,626,839,620,164
1,509,113,016,000
1,509,122,889,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,865
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.repr init.data.prod init.data.sum.basic universes u v inductive ordering | lt | eq | gt namespace ordering def swap : ordering...
dddfbac0570fc9df3b20c15e824b53440dfb511e
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/1813.lean
b75fb28dda506280facde9f1215681db4458e338
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
529
lean
open tactic example {A B : Type} (f : A -> B) (a b c) (h1 : f a = b) (h2 : f a = c) : false := begin rw h1 at *, guard_hyp h1 := f a = b, guard_hyp h2 := b = c, admit end example {A B : Type} (f : A -> B) (a b c) (h1 : f a = b) (h2 : f a = c) : false := begin rw [id h1] at *, guard_hyp h1 := f a = b, gu...
cfd2246345103f742b03a8af398b506e12eb5c80
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Lean/Util/Profile.lean
bac75f38c8e67e0a6376114537ece8d77a89d3aa
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,044
lean
/- Copyright (c) 2019 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich -/ import Lean.Data.Position namespace Lean /-- Print and accumulate run time of `act` when option `profiler` is set to `true`. -/ @[extern "lean_profileit"] def ...
a33f01e669a895c28b8aa88b3e49e201fb18ef4e
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/algebra/pi_instances.lean
381bed79f0f8aed2669fe27e929e121bf29a8938
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
17,147
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 Pi instances for algebraic structures. -/ import order.basic import algebra.module algebra.group import data.finset import tactic.pi_instances namespace pi u...
5c1e5bec11467d59657d104df13fb92a6d3de5c2
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170425-new-structures.lean
bd474e9a10db67cd6e558ebc98ec67f7a083bbbf
[ "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
623
lean
set_option pp.universes true -- First, we verify everthing works as expected when not parameterised by a universe: structure X := ( m : Type ) structure Y extends x : X definition coercion : has_coe Y X := { coe := Y.x } attribute [instance] coercion def f ( x : X ) := x.m def g ( y : Y ) := f y -- Second, we s...
c8cdc2a7f43293c09be7f02ae0d75e5eef362274
11e28114d9553ecd984ac4819661ffce3068bafe
/src/tree.lean
3f6b7745b2a3e5fc7302b2aeb57a112f13152296
[ "MIT" ]
permissive
EdAyers/lean-subtask
9a26eb81f0c8576effed4ca94342ae1281445c59
04ac5a6c3bc3bfd190af4d6dcce444ddc8914e4b
refs/heads/master
1,586,516,665,621
1,558,701,948,000
1,558,701,948,000
160,983,035
4
1
null
null
null
null
UTF-8
Lean
false
false
5,096
lean
/- Author: E.W.Ayers © 2019 -/ import .util namespace robot universes u /-- A `tree α` is either a `leaf` of `α` or a `branch` of `α` and `list (tree α)`. -/ inductive tree (α : Type u) |branch (a : α) (children : list tree) : tree |leaf (a : α) : tree namespace tree variables {α β : Type u} def head_item : tree α ...
83dc4e65885fd15eb4ee6f62c407db451742697b
f3be49eddff7edf577d3d3666e314d995f7a6357
/TBA/While/Solution.lean
f0c69d67564dd450e0a00d12860893c8062fdb25
[]
no_license
IPDSnelting/tba-2021
8b930bcd2f4aae44a2ddc86e72b77f84e6d46e82
b6390e55b768423d3266969e81d19290129c5914
refs/heads/master
1,686,754,693,583
1,625,135,602,000
1,625,136,365,000
355,124,341
50
7
null
1,625,133,762,000
1,617,699,824,000
Lean
UTF-8
Lean
false
false
79
lean
import TBA.While.Semantics namespace While -- Now it's your turn! end While
05a3e2621912bdd6e96b3fb412760fe99cd03e5f
a8c03ed21a1bd6fc45901943b79dd6574ea3f0c2
/utils.lean
7ab0d8b0c3222afda314c8092a96f163bd90a230
[]
no_license
gebner/resolution.lean
716c355fbb5204e5c4d0c5a7f3f3cc825892a2bf
c6fafe06fba1cfad73db68f2aa474b29fe892a2b
refs/heads/master
1,601,111,444,528
1,475,256,701,000
1,475,256,701,000
67,711,151
0
0
null
null
null
null
UTF-8
Lean
false
false
9,029
lean
open tactic expr list namespace expr meta instance : has_ordering expr := has_ordering.mk expr.cmp meta def imp (a b : expr) : expr := pi (default name) binder_info.default a b meta def and_ (a b : expr) : expr := app (app (const ``and []) a) b meta def not_ (a : expr) : expr := app (const ``not []) a meta def fa...
7971c89722b1137c001ee553ce8afa00a283df7a
3268ab3a126f0fef71459fbf170dc38efe5d0506
/homotopy/fwedge.hlean
416e3879df1723ad81e33f78160e5a6fc4fe67be
[ "Apache-2.0" ]
permissive
soraismus/Spectral
f043fed1a4e02ddfeba531769b2980eb817471f4
32512bf47db3a1b932856e7ed7c7830b1fc07ef0
refs/heads/master
1,585,628,705,579
1,538,609,948,000
1,538,609,974,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,246
hlean
/- Copyright (c) 2016 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Favonia The Wedge Sum of a family of Pointed Types -/ import homotopy.wedge ..move_to_lib ..choice ..pointed_pi open eq is_equiv pushout pointed unit trunc_index ...
88fd7ef5d7ace0b761c57767f82b12728a8f5e19
798dd332c1ad790518589a09bc82459fb12e5156
/linear_algebra/basic.lean
b2496dc45bc6cc397937d9e01f8fc727ab387081
[ "Apache-2.0" ]
permissive
tobiasgrosser/mathlib
b040b7eb42d5942206149371cf92c61404de3c31
120635628368ec261e031cefc6d30e0304088b03
refs/heads/master
1,644,803,442,937
1,536,663,752,000
1,536,663,907,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,281
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear algebra -- classical This file is inspired by Isabelle/HOL's linear algebra, and hence indirectly by HOL Light. We define the following concepts: * `lc α β`: l...
e5f18a1f79961d67a0924d2e4d91b8ed3c6690ae
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/limits/types.lean
6c2046e21f582729a4b1f9967b36e3fd772af1b2
[ "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
3,708
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.limits universes v u -- declare the `v`'s first; see `category_theory.category` for an explanation open category_theory o...
ec7e7613da436dd8df6a433cb03a4a116c7a9be1
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Elab/Command.lean
5a541ed5ff6949a80a5cf359c2f7dca93488b427
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,697
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.ResolveName import Lean.Elab.Log import Lean.Elab.Term import Lean.Elab.Binders import Lean.Elab.SyntheticMVars import Lean.Elab.DeclModifiers ...
6bb1a1aeaadf414a8393c6ea469d769566b3c4f7
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/AbelianAdditiveGroup.lean
0961ccafc9d6e9110a477380224e4d516c445461
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
10,600
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section AbelianAdditiveGroup structure AbelianAdditiveGroup (A : Type) : Type := (plus : (A → (A → A))) (associative_plus : (∀ {x y z : A} , (plus (plus x y) z) = (plus...
c7f426bc701a3ac0c37b852d14e74c346a85cd85
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/field_theory/ratfunc.lean
af065ab19b270ba1bb013feaea332108e7541549
[ "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
56,986
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 ring_theory.euclidean_domain import ring_theory.laurent_series import ring_theory.localization /-! # The field of rational functions This file defines the field `...
1df2ec26e91834a9e9b6f939a4a7896595086171
3c693e12637d1cf47effc09ab5e21700d1278e73
/src/equivalence_relations/partitions_solution.lean
ad3c96ecb440d28c729a611b4441aa539585eff0
[]
no_license
ImperialCollegeLondon/Example-Lean-Projects
e731664ae046980921a69ccfeb2286674080c5bb
87b27ba616eaf03f3642000829a481a1932dd08e
refs/heads/master
1,685,399,670,721
1,623,092,696,000
1,623,092,696,000
275,571,570
19
1
null
1,593,361,524,000
1,593,344,124,000
Lean
UTF-8
Lean
false
false
4,991
lean
import data.equiv.basic -- bijections with inverses import tactic -- we want to use tactics open set /-- Definition of a partition as a collection of disjoint nonempty subsets of X whose union is X-/ @[ext] structure partition (X : Type) := (C : set (set X)) (Hnonempty : ∀ c ∈ C, c ≠ ∅) (Hcover : ∀ x, ∃ c ∈ C, x ∈ ...