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
06ef16310e9e0119b6cf38d032fc2e80ff8dc0d2
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/monoid_algebra.lean
bb74f103da64a13d2d31eeb9eb1a159babc38dc2
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
38,380
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, Yury G. Kudryashov, Scott Morrison -/ import algebra.algebra.basic import linear_algebra.finsupp /-! # Monoid algebras When the domain of a `finsupp` has a multiplica...
af0536f3f3a116f47536fea5b31c25fb77009800
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/topological_fiber_bundle.lean
1fc8fe4a2787105d51e80a42401893cb7915d0d4
[ "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
61,321
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.local_homeomorph import topology.algebra.ordered.basic /-! # Fiber bundles A topological fiber bundle with fiber `F` over a base `B` is a spac...
99a0ffa1467e76d612eb6d7fdbb0825ad1fc492a
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/rw_set1.lean
c7710a023a0379eb8356372b30b5ab3cc725a4db
[ "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
238
lean
import data.nat namespace foo attribute nat.add_assoc [simp] print nat.add_assoc end foo print nat.add_assoc namespace foo print nat.add_assoc attribute nat.add_comm [simp] open nat print "---------" print [simp] end foo
4c78ace8b48805512e9036640de9bec8b4977ed4
737dc4b96c97368cb66b925eeea3ab633ec3d702
/src/Lean/Meta/Offset.lean
dc48c6b248cd4ba1a1b962ee65586e490eea2520
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,369
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.Data.LBool import Lean.Meta.InferType import Lean.Meta.AppBuilder namespace Lean.Meta private abbrev withInstantiatedMVars (e : Expr) (k : Exp...
16f8c32cb5983c9647f7ef5798cdcd2571dde497
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/functor/adjoint2.hlean
aadcb31001d1f1804f8e45c235d0226f1969fe76
[ "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
1,541
hlean
import .equivalence open eq functor nat_trans namespace category variables {C D E : Precategory} (F : C ⇒ D) (G : D ⇒ C) (H : D ≅c E) /- definition adjoint_compose [constructor] (K : F ⊣ G) : H ∘f F ⊣ G ∘f H⁻¹ᴱ := begin fconstructor, { fapply change_natural_map, { exact calc 1 ⟹ G ...
b5a162b817846e1243acb31869ed0865b6474a2f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/direct_sum/decomposition.lean
86a1fe2c66343a1b40a6b09c8095c8c99a196d19
[ "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,267
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Jujian Zhang -/ import algebra.direct_sum.module import algebra.module.submodule.basic /-! # Decompositions of additive monoids, groups, and modules into direct sums ## Mai...
1df7b499bc267369663478f3795e6c292b39d998
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/PrettyPrinter.lean
f64e75c180ef4dc5a187038c4651c66953b33761
[ "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
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
4,405
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.PrettyPrinter.Delaborator import Lean.PrettyPrinter.Parenthesizer import Lean.PrettyPrinter.Formatter import Lean.Parser.Module import Lean.ParserCo...
0208c0e5424aadbb356e3bc65dc2ee88367eeb83
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Data/Name.lean
ca65809fd178b4bc2d7480ebe4fea0b324b6c121
[ "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
3,977
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 -/ namespace Lean instance : Coe String Name := ⟨Name.mkSimple⟩ namespace Name -- Remark: we export the `Name.hash` to make sure it matches the hash implement...
fe2c8173bab8e34eb60c1c13a15b4dc812e2bbdd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/star/algebra_auto.lean
39f2f9fd1ce466a6c2c8526f21d8bd3cdcee416d
[]
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,220
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.algebra.basic import Mathlib.algebra.star.basic import Mathlib.PostPort universes...
fb45c4af5c26de2b0f46c09cc70234a7d6f45bc3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/ffi/lib/lean/FFI.lean
35c838bcd46fc2e6842c121ca0e3e5ff1d8e8079
[ "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
29
lean
import FFI.Fn import FFI.Add
379059d5d519990ae8da7b7d437a288337b0eb2e
6305b69bc7636a761e1a1947508bb5ebad93cb7e
/library/init/data/list/lemmas.lean
7bd66b90a1e8587bcd3a6d52893a64a8e9dfce54
[ "Apache-2.0" ]
permissive
HGldJ1966/lean
e7f0068f8a69fde3593b77d8a44609ae446d7738
049d940167c419cd5935d12b459c0695d8615ae9
refs/heads/master
1,611,340,395,700
1,503,103,829,000
1,503,103,829,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,476
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn -/ prelude import init.data.list.basic init.function init.meta init.data.nat.lemmas import init.meta.interactive i...
34e70dfb5e46e03c4855a0526ebea3b932df3e06
5c4b17dae42fab1d4f493f3b52977bffa54fefea
/4.6.3.lean
d50da69fbf4131ce9a39072fe28922b373fe0be6
[]
no_license
hyponymous/theorem-proving-in-lean-solutions
9214cb45cc87347862fd17dfdea79fdf24b9df92
a95320ae81c90c1b15da04574602cd378794400d
refs/heads/master
1,585,777,733,214
1,541,039,359,000
1,541,039,359,000
153,676,525
2
0
null
null
null
null
UTF-8
Lean
false
false
794
lean
open classical variables (men : Type) (barber : men) variable (shaves : men → men → Prop) theorem not_p_iff_not_p {p : Prop} : ¬(p ↔ ¬p) := assume h : p ↔ ¬p, have hnp : ¬p, from (assume hp : p, (h.mp hp) hp), hnp (h.mpr hnp) -- via not_p_iff_not_p example (h : ∀ x : men, shaves barber x ↔ ¬ shaves x x) : false := ...
aec3c01d8aeee5867fe90ad2710ff726e6aef7b0
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/polynomial/coeff.lean
8a11187bef5e05edf1fdafb4beb6f01a2d73dd83
[ "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
11,975
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.basic import data.finset.nat_antidiagonal import data.nat.choose.sum /-! # Theory of univariate p...
94c34fcb1f7bf4b6c08a6154569b7e8c86256d6e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/634b.lean
4540e244a18c5a12f0afee689b3807b24278f661
[ "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
701
lean
open nat namespace foo section parameter (X : Type) definition A {n : ℕ} : Type := X definition B : Type := X variable {n : ℕ} #check @A n #check foo.A #check foo.A #check @foo.A 10 #check @foo.A n #check @foo.A n #check @foo.A n set_option pp.full_names true #check A #check foo.A #check...
8b766a0d0cd950a29f719a3fd724b5e58c74545e
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/ring_theory/ideal/basic.lean
792d140decc01d05b15fb885d384501fd2bf0463
[ "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
32,146
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Mario Carneiro -/ import algebra.associated import linear_algebra.basic import order.zorn import order.atoms /-! # Ideals over a ring This file defines `ideal R`,...
de4a44c39c073ef3c248384351dc855504c4c40c
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/basic_monitor2.lean
c0d29bbadfd2e1220653977782199d2c45e789d2
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
884
lean
meta def get_file (fn : name) : vm format := do { d ← vm.get_decl fn, some n ← return (vm_decl.olean d) | failure, return (to_fmt n) } <|> return (to_fmt "<curr file>") meta def pos_info (fn : name) : vm format := do { d ← vm.get_decl fn, some pos ← return (vm_decl.pos d) | failure, file ← get_f...
ef4fd68bcf953b0ebb77e37af57605b8a9d9c0c8
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/NonDistributiveAddPreSemiring.lean
f2f5b8104367ff84b7d8e86e24459688376858a4
[]
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,361
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 NonDistributiveAddPreSemiring structure NonDistributiveAddPreSemiring (A : Type) : Type := (plus : (A → (A → A))) (commutative_plus : (∀ {x y : A} , (plus x y) ...
23cf79cc75937c3858c386d1b1bbd777aadd3c63
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/finally.lean
df72a401679653a10d725b29595ef213c80273e7
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,787
lean
def checkM (b : IO Bool) : IO Unit := unlessM b (throw $ IO.userError "failed") abbrev M := ExceptT String $ StateRefT Nat $ IO def f1 : M Nat := throw "error 1" def f2 : M Nat := throwThe IO.Error $ IO.userError "error 2" def tst1 : M Nat := catch (finally f1 (do set 100; IO.println "finisher executed")) (fun ...
3705eabc5ecd589b4f9a5707ce667a2c247db651
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Attributes.lean
8573d31aaa81b3d147fe571bf924024c673ae15a
[ "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
21,308
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.Scopes import Lean.Syntax import Lean.CoreM namespace Lean inductive AttributeApplicationTime | afterTypeChecking | afterCompilation | beforeE...
90dc8f12bcb052df3adf9d76e5f11431f45b4b23
a7602958ab456501ff85db8cf5553f7bcab201d7
/Notes/Theorem_Proving_in_Lean/Chapter4/4.4.lean
1e66acf0a268527534cf7eb508bfce3ce8ce82c4
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
750
lean
-- 4.4 The Existential Quantifier -- See open nat example: ∃ x : ℕ, x > 0 := have h: 1 > 0, from zero_lt_succ 0, exists.intro 1 h theorem dom (x: ℕ) (h: x > 27): ∃ y, y < x := exists.intro 27 h example (x y z: ℕ) (hxy: x < y) (hyz: y < z): ∃ w, x < w ∧ w < z := exists.intro y (and.intro hxy hyz) #check @e...
3523c761e0ffce4e6ee3b6c78518ceceaf892cb3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/category/Locale.lean
2bfa9589c3744da28ed46336467e1a0002b9d962
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,359
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.category.Frm /-! # The category of locales > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. T...
a9bdd6d3aea36d3ccdac38f36a8099524a220169
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/multilinear/basic.lean
bef802e1d31f6001cd914132e6b38b17ab68467b
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
61,894
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 linear_algebra.basic import algebra.algebra.basic import algebra.big_operators.order import algebra.big_operators.ring import data.list.fin_range import ...
9fdf12539b8ecbc982347eb2b6c7c1bc9e647fc8
4727251e0cd73359b15b664c3170e5d754078599
/src/tactic/linear_combination.lean
daf000dfd527b6a0850096a3964eb100e073725a
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
15,099
lean
/- Copyright (c) 2022 Abby J. Goldberg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abby J. Goldberg -/ import tactic.ring /-! # linear_combination Tactic In this file, the `linear_combination` tactic is created. This tactic, which works over `ring`s, attempts ...
608da08abe948c7e6a7f61f817bdad6ff2f7d6ba
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/num2.lean
c8cda7a059eb32f86c2125d22107b74e856e0714
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
349
lean
prelude set_option pp.notation false definition Prop := Sort 0 constant eq {A : Type} : A → A → Prop infixl `=`:50 := eq constant N : Type constant z : N constant o : N constant b : N notation 0 := z notation 1 := o check 1 check 0 constant G : Type constant gz : G constant a : G notation 0 := gz check a = 0 che...
331bdafa8280081e8de645e31d22df1e6398fa60
fe84e287c662151bb313504482b218a503b972f3
/src/commutative_algebra/local_integers.lean
5eed75a1a42f18adc8f06be74e8d5c67cbc6b65c
[]
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
2,941
lean
import algebra.ring data.rat data.real.basic data.complex.basic import data.nat.prime ring_theory.subring.basic import tactic.ring tactic.squeeze namespace local_integers def to_denom (p : ℕ) (b : ℤ) := (p : ℤ) * b + 1 def to_denom' (p : ℕ) (b : ℤ) : ℚ := (to_denom p b) def denom_prod (p : ℕ) (b₀ b₁ : ℤ) := (p : ℤ)...
c981f4a416d6a6ace0a8f82d8ea18a1d225bef6b
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/mv_polynomial/basic.lean
597e65023f10f1dc3d9dfb0af194bdc307cef253
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
4,370
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.char_p.basic import data.polynomial.algebra_map import data.mv_polynomial.variables import linear_algebra.finsupp_vector_space /-! # Multivariate pol...
67b6c505dd74a26d17c53f742361c4fc9df7155e
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-algebra-109.lean
2bd0c99d94c9728e68a2c3f67d48669625be923c
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
264
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic example (a b : ℝ) (h₀ : 3 * a + 2 * b = 12) (h₁ : a = 4) : b = 0 := begin linarith, end
358368bd6d9783e9a6ef915341133022a4c9e78a
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/order/pi.lean
58d1edb4f39fa736a85dc4f3d7d2e6ab29c0df2a
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,311
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.group.pi import algebra.order.group import tactic.pi_instances /-! # Pi instances for ordered groups and monoids This file defines instances...
914095f93a76b479921304a37605988a0671a60c
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/order/euclidean_absolute_value.lean
ddfbe8b958802c9bd4eafb21f0440057061d589e
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,113
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 algebra.order.absolute_value import algebra.euclidean_domain /-! # Euclidean absolute values This file defines a predicate `absolute_value.is_euclidean abv` statin...
5dd3fad88d9d1b5d09f1469fdb69684d34330e82
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/algebra/lie/subalgebra.lean
4f31bdb83b3fab1f324d150f7e7e630df378320c
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,263
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.basic import ring_theory.noetherian /-! # Lie subalgebras This file defines Lie subalgebras of a Lie algebra and provides basic related definitions and...
264cd8bb19357dc6af23c43db2a4c83686f1f518
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/ring/inj_surj.lean
e69a498a330bd951245718ac15c05a6ecd9d7004
[ "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
12,261
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro -/ import algebra.order.ring.defs import algebra.order.monoid.cancel.basic import algebra.ring.inj_surj /-! # Pulling back ordered ring...
c588c9815baea50f63ddcfce8084ed41d96933f8
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/tactic/interactive.lean
10a3cfda8d1b48b25eec87079564717d6df100ef
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
40,714
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Sebastien Gouezel, Scott Morrison -/ import tactic.lint open lean open lean.parser local postfix `?`:9001 := optional local postfix *:9001 := many name...
462145c47c0090e3b7a359ca025fd4d1a29fb69a
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/nat/sub.lean
b74db851832b21ce9f0ca0eacf52ddf74c67b899
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,562
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jeremy Avigad Subtraction on the natural numbers, as well as min, max, and distance. -/ import .order open eq.ops algebra namespace nat /- subtraction -/ protec...
a21cef4f2b89b720f6f567b5eb0aef49ab556f48
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/fintype/basic.lean
8c5733b451fa944495b6a13f54b8d7a4da4080f8
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
60,119
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Finite types. -/ import tactic.wlog import data.finset.powerset import data.finset.lattice import data.finset.pi import data.array.lemmas import order.well_founded impo...
c353bf60a11e8841cdb8003013c19c518dcba5d5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/nonarchimedean/bases.lean
29401a6db52948c4da46f8430227e3841be31bec
[ "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
12,580
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import topology.algebra.nonarchimedean.basic import topology.algebra.filter_basis import algebra.module.submodule.pointwise /-! # Neighborhood bases for non-archime...
f455c9874af2179bf942d14a37bb33538d5af3ba
8c02fed42525b65813b55c064afe2484758d6d09
/src/freevar.lean
c64c0291b3e8eee7bf066f2bb1473763757114de
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/AliveInLean
3eac351a34154efedd3ffc4fe2fa4ec01b219e0d
4b739dd6e4266b26a045613849df221374119871
refs/heads/master
1,691,419,737,939
1,689,365,567,000
1,689,365,568,000
131,156,103
23
18
NOASSERTION
1,660,342,040,000
1,524,747,538,000
Lean
UTF-8
Lean
false
false
9,852
lean
-- Copyright (c) Microsoft Corporation. All rights reserved. -- Licensed under the MIT license. import .lang import .irsem import .irsem_exec import .irsem_smt import smt2.syntax import smt2.builder namespace freevar open irsem open io def update (lhses:list string) (t:ty) (op:operand) (freevs:list (string × ty)) :...
496483700f994be066817dfc8ca7a75d58d03720
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/group/semiconj.lean
780c119ff9364d23c6a1db6dff4d0af7fabeaa20
[ "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
7,610
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov Some proofs and docs came from `algebra/commute` (c) Neil Strickland -/ import algebra.group.units /-! # Semiconjugate elements of a semigroup ## Main definitions ...
6ec61ecb2484deade3c11cf282f479d9d899841b
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/lift_coe_off.lean
279f3b6cebd27955fb86471783f7f9980a94c2b1
[ "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
389
lean
open nat inductive tree (A : Type) := leaf : A → tree A, node : tree A → tree A → tree A set_option elaborator.lift_coercions false definition size {A : Type} (t : tree A) := tree.rec (λ a, 1) (λ t₁ t₂ n₁ n₂, n₁ + n₂) t set_option elaborator.lift_coercions true definition size {A : Type} (t : tree A) := tree.rec (...
c4af569afe1cd021c10097359b2cb94cb7754ae4
618003631150032a5676f229d13a079ac875ff77
/src/algebra/continued_fractions/translations.lean
111307de560efda1c77df6b6f35bc0da4d41295d
[ "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
4,032
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.basic /-! # Basic Translation Lemmas Between Functions Defined for Continued Fractions ## Summary Some simple translation lem...
2aa1d10323dad82e463a530acf2f03dcbadd9a5c
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/tactic_paper_supplemental_material/gapt_export/grp778_1.opt1.lean
fc2a74dacd836c1b1197b5295ac48d1732e74894
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
122,510
lean
namespace gapt open tactic expr namespace lk lemma LogicalAxiom {a} (main1 : a) (main2 : ¬a) : false := main2 main1 lemma BottomAxiom (main : false) : false := main lemma TopAxiom (main : ¬true) : false := main ⟨⟩ lemma ReflexivityAxiom {α : Type} {a : α} (main : a ≠ a) : false := main (eq.refl a) lemma NegLeftRule ...
241015d662414fb69693afb6239b19ae4ccab871
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast_cc8.lean
7e41d81a877a23cf64a01bedf10f6107691a2ad1
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,987
lean
import data.finset open set finset structure finite_set [class] {T : Type} (xs : set T) := (to_finset : finset T) (is_equiv : to_set to_finset = xs) definition finset_set.is_subsingleton [instance] (T : Type) (xs : set T) : subsingleton (finite_set xs) := begin constructor, intro a b, induction a with f₁ h₁, in...
e7a74bd8b9c5221757b52328bc7db9ff5fcbfb13
94e33a31faa76775069b071adea97e86e218a8ee
/src/logic/hydra.lean
2191270b478040df953dada91c96ca3ef6c7514a
[ "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
9,227
lean
/- Copyright (c) 2022 Junyan Xu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Junyan Xu -/ import data.multiset.basic import order.well_founded /-! # Termination of a hydra game This file deals with the following version of the hydra game: each head of the hydra is...
96d79ca1f5e363e9fdd2b9477c0305d555e295c8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/geometry/euclidean/angle/unoriented/basic.lean
e001f6f43dc7c2d8127eac07fc245c9a745cd97a
[ "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
15,514
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Manuel Candales -/ import analysis.inner_product_space.basic import analysis.special_functions.trigonometric.inverse /-! # Angles between vectors > THIS FILE IS SYNCHRONI...
d9c50f8167820aa4bc875cc8b7f4d8e77110dcff
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/linear_algebra/sesquilinear_form.lean
f035cc01f0fb62c41bbeeefd9601289c0a3fb36e
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,848
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import ring_theory.ring_invo import algebra.module.linear_map /-! # Sesquilinear form This file defines a sesquilinear form over a module. The definition requir...
0a40cbf88d984653264c08a6a508ed5df6c0fd4b
f94866221d9fc3e2706d042c19de3c569d853531
/src/biject.lean
f578edf1e035e57ae4d3ec987de036495e29d4d1
[]
no_license
arthur-adjedj/proof_Q_denumerable
1040647af48ffa7afe921b73a96c89e1a6896ba3
7a1059ea91cff929bb0c5fa3876c73b72ebee9f7
refs/heads/main
1,692,085,100,716
1,632,130,913,000
1,632,130,913,000
398,863,134
1
0
null
null
null
null
UTF-8
Lean
false
false
7,335
lean
import tactic.interactive import tactic.finish import data.int.parity import init.function universes u1 u2 u3 u4 constant α : Sort u1 constant β : Sort u2 constant γ : Sort u3 def injective {α : Sort u1} {β : Sort u2} (f : α → β ) : Prop := ∀ (x1 x2 : α ), f x1 = f x2 → x1 = x2 def surjective {α : Sort u1}...
0f14f448c506206964edc8f870280ace98e3d822
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/ring_theory/unique_factorization_domain.lean
2452304bcf561df3b74b0346322ed61b5b5cdd0c
[ "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
19,715
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 Theory of unique factorization domains. @TODO: setup the complete lattice structure on `factor_set`. -/ import algebra.gcd_domain variables {α : Type*...
d4e52aad2f47a7dc66d9bf4b7e0704671c65ef04
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/ideal/over.lean
ab89c1bb2d87b49ef0dfe2b40045a8d6cfe00d43
[ "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
17,655
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.algebraic import ring_theory.localization.at_prime import ring_theory.localization.integral /-! # Ideals over/under ideals This file concerns ideals l...
524ab521d258b0df92430b38660dc14e066fb3ce
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/group_action/defs.lean
2cbac9808e79bc0a148534730fe993977164501e
[ "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
23,461
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yury Kudryashov -/ import algebra.group.defs import algebra.group.hom import algebra.group.type_tags import logic.embedding /-! # Definitions of group actions This file d...
cfcd2d59f58c6011477987606387fff7db77e9b0
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/measure_theory/integral/bochner.lean
7829a649512c903aaa7bdba7d497a4de5ec975d0
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
67,104
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import measure_theory.integral.set_to_l1 import measure_theory.group.basic import analysis.normed_space.bounded_linear...
bc44bcb2d991c7fca4a70133982577e9b5088084
271e26e338b0c14544a889c31c30b39c989f2e0f
/src/Init/Lean/Meta.lean
c16a7731a6fe9f3037688d5e986de3067de7e479
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
656
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.Lean.Meta.Basic import Init.Lean.Meta.LevelDefEq import Init.Lean.Meta.WHNF import Init.Lean.Meta.InferType import Init.Lean.Meta.FunInf...
3d6897020e9f137645aab474544e2f1e31a34868
1446f520c1db37e157b631385707cc28a17a595e
/src/Init/Lean.lean
d6a06d23126a22858a28b05a86482444fdcb67c5
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
673
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.Lean.Compiler import Init.Lean.Environment import Init.Lean.Modifiers import Init.Lean.ProjFns import Init.Lean.Runtime import Init.Lean...
10737fe53ebbbdd667f3a487997841f8476179ff
92b50235facfbc08dfe7f334827d47281471333b
/tests/lean/run/fibrant_class1.lean
914bc35d3965b01489f9cd35bf9720fc3c4bb65c
[ "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
547
lean
inductive fibrant [class] (T : Type) : Type := fibrant_mk : fibrant T inductive path {A : Type'} [fA : fibrant A] (a : A) : A → Type := idpath : path a a notation a ≈ b := path a b axiom path_fibrant {A : Type'} [fA : fibrant A] (a b : A) : fibrant (path a b) attribute path_fibrant [instance] axiom imp_fibrant {A :...
ded573f22161caef27cbd436f59665c62adf91f9
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/fintype/order.lean
accdd05fb029e995ed5df558f27fbb6c449ccc59
[ "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
5,174
lean
/- Copyright (c) 2021 Peter Nelson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Peter Nelson, Yaël Dillies -/ import data.fintype.basic import order.conditionally_complete_lattice /-! # Order structures on finite types This file provides order instances on fintype...
175606f764f048d2342530fbe4350e02eedb7020
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/convex/topology.lean
078d9b74569c5d14b4d65ce7cdec0743dfc5ba42
[ "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
21,103
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudryashov -/ import analysis.convex.jensen import analysis.convex.strict import analysis.normed.group.pointwise import topology.algebra.module.finite_dimensi...
5b9a5d3cca1af7aa8acc528d515d766d41e202e7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/omega/int/dnf.lean
a4d82b9361fa65f9f9a6bef6988555e831df55f2
[]
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,015
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.omega.clause import Mathlib.tactic.omega.int.form import Mathlib.PostPort namespace Mathlib /...
7c2957f045f6d0b3579e7164d5b517cb925ec20c
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/Elab/Quotation.lean
2be476a55ed8eb04bc880595bf38073dd7cc0e4b
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,719
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic hygiene workings and data types. -/ import...
27e25d2c1663d897f8725e8937bd5bf6db7825fe
928e43dd755d83a0986ba91420df8ad05b8d7c9f
/5_existential.lean
edd3949d19e375cae9d0033ec09502dc24d5372d
[]
no_license
zmactep/llfgg
ea222b377095a42e0de5cf8d4846aff806ce0f31
ed684ae69b94a4a042615c412fef68bdec8fc80c
refs/heads/master
1,585,131,334,279
1,533,894,322,000
1,533,894,322,000
143,688,771
1
0
null
null
null
null
UTF-8
Lean
false
false
9,211
lean
-- Существование example : ∃ x : ℕ, x > 0 := -- с места в карьер докажем существование (\exists для ∃) натурального числа have h : 1 > 0, from nat.zero_lt_succ 0, -- больше 0 предъявим 1, который больше нуля по великой лемме zero_lt_one show ∃ x : ℕ, x > 0, from exists.intro 1 h -- с п...
f20a676b6c0cef2dea56f57f9d751564171cc2f5
c9e78e68dc955b2325401aec3a6d3240cd8b83f4
/src/property_catalogue/LTL/patterns.lean
d8d4b62b51479712d662a840ba2fe5c5b6838118
[]
no_license
loganrjmurphy/lean-strategies
4b8dd54771bb421c929a8bcb93a528ce6c1a70f1
832ea28077701b977b4fc59ed9a8ce6911654e59
refs/heads/master
1,682,732,168,860
1,621,444,295,000
1,621,444,295,000
278,458,841
3
0
null
1,613,755,728,000
1,594,324,763,000
Lean
UTF-8
Lean
false
false
2,940
lean
import LTS.defs variable {M : LTS} set_option pp.beta true @[reducible] def init_state (s : M.S) [has_coe M.S (formula M)] : formula M := ↑s @[reducible] def holds_over_transition (s : M.S) [has_coe M.S (formula M)] : formula M := ◾(↑s ⇒ formula.next ↑s) @[reducible] def not_init (s : M.S) [has_coe M.S (for...
418b8fd3894d0b8495112041622a35ee784ef02d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/computability/partrec_auto.lean
64755c50ff2cdda1868a60c3d50359001ae83cc4
[]
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
25,031
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.computability.primrec import Mathlib.data.nat.psub import Mathlib.data.pfun import Mathlib.P...
540702505f384e1e999396b5686488facb8b84bd
44023683920a51f2416cf51eeab3fc51c3ff0765
/library/system/io.lean
c23ac72c73d1ea462ee1c60a7074aeaab921515e
[ "Apache-2.0" ]
permissive
pirocks/lean
e6e3e3fd20c5e7877f7efc3b50e5e20271e8d0cf
368f17d0b1392a5a72c9eb974f15b14462cc1475
refs/heads/master
1,620,671,385,768
1,516,152,564,000
1,516,152,564,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,447
lean
/- Copyright (c) 2017 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 -/ import data.buffer inductive io.error | other : string → io.error | sys : nat → io.error structure io.terminal (m ...
ed10e17c8237048376d1be649fd7f796877fe101
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/list/sort.lean
09f2c534a80bdd3a7d23705f68ddf3504919827f
[ "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
8,141
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Naive sort for lists -/ import data.list.comb data.list.set data.list.perm data.list.sorted logic.connectives algebra.order namespace list open decidable nat va...
1dfe4b80863c2237733e24aacb453726505c2e4b
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/internal_names.lean
21811b4bc202f45eec80fdb281678b7a63bbe6ed
[ "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
93
lean
definition _foo : nat := 0 -- error structure _bla := (a b : nat) inductive _empty : Type.
dbee112e1f192b304c3d3388377e28f722cc6dc8
618003631150032a5676f229d13a079ac875ff77
/src/algebra/commute.lean
872f8b07423959e32f90dbd2dd186bfa01904f0c
[ "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
14,982
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland, Yury Kudryashov -/ import algebra.semiconj import ring_theory.subring /-! # Commuting pairs of elements in monoids ## Main definitions * `commute a b` : `a * b = b...
53a94ffa452d9fb7601693bd0654130dfcf5fdad
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Elab/Util.lean
c8a54300d43831d735f14881b37a3ff1f269b9b9
[ "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
6,914
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.Trace import Lean.Parser.Extension import Lean.KeyedDeclsAttribute import Lean.Elab.Exception namespace Lean def Syntax.prettyPrint (stx ...
28c094b16282695e4081cf0befc782bd14db6709
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/check.lean
7dff5711ee26bc4f94875c4b41bc8f02eee968a4
[ "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
61
lean
-- #check And.intro #check @Or.rec #check Eq #check @Eq.rec
95dc124884b8fa7d30cee4cee5cb5fe70527c3cd
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/eckmann_hilton.lean
3cbc0aadc8db52dd5ad71d8b5065f091cf900338
[ "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
4,385
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau, Robert Y. Lewis -/ import algebra.group.defs /-! # Eckmann-Hilton argument The Eckmann-Hilton argument says that if a type carries two monoid structures that di...
f7f5b3490e29bef158edb01e170dc2cf5ad49eae
56e5b79a7ab4f2c52e6eb94f76d8100a25273cf3
/src/tests/test_openai_api.lean
a2d7293d11b1d847482f36d2ecd5f6f5e6cd9366
[ "Apache-2.0" ]
permissive
DyeKuu/lean-tpe-public
3a9968f286ca182723ef7e7d97e155d8cb6b1e70
750ade767ab28037e80b7a80360d213a875038f8
refs/heads/master
1,682,842,633,115
1,621,330,793,000
1,621,330,793,000
368,475,816
0
0
Apache-2.0
1,621,330,745,000
1,621,330,744,000
null
UTF-8
Lean
false
false
438
lean
import evaluation import backends.greedy.openai open openai meta def main : io unit := do m_api_key ← io.env.get "OPENAI_API_KEY", match m_api_key with | none := io.fail "ENVIRONMENT VARIABLE $OPENAI_API_KEY NOT FOUND" | (some api_key) := do cmd_args ← dummy_cr.to_cmd "davinci" api_key, io.put_str_ln $ fo...
a09d3cbe3036d69922eec7eb4e05b07fde7244c7
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/wf_k.lean
90807ab87d5c075f3e37956362871dae7cdb9dea
[ "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
771
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 prelude import init.wf universe variables u namespace well_founded -- This is an auxiliary definition that useful for generating a new "proof" for (well...
c17d5cfe19c6aaaa2e8ef7cc645d73ddfc16dfa7
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/dynamics/ergodic/measure_preserving.lean
eeceaa9c3164bd8c368f0e4d3b0f9ffd8dc5571f
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
6,240
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.measure.measure_space /-! # Measure preserving maps We say that `f : α → β` is a measure preserving map w.r.t. measures `μ : measure α` and ...
df75fd947ad551608cce89b65a2b45e80505c17a
90edd5cdcf93124fe15627f7304069fdce3442dd
/src/Lean.lean
570177e81c146c80e3586bebb8a02bbb6e84747c
[ "Apache-2.0" ]
permissive
JLimperg/lean4-aesop
8a9d9cd3ee484a8e67fda2dd9822d76708098712
5c4b9a3e05c32f69a4357c3047c274f4b94f9c71
refs/heads/master
1,689,415,944,104
1,627,383,284,000
1,627,383,284,000
377,536,770
0
0
null
null
null
null
UTF-8
Lean
false
false
928
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.Data import Lean.Compiler import Lean.Environment import Lean.Modifiers import Lean.ProjFns import Lean.Runtime import Lean.ResolveName import L...
16854e23f220c1242348c2ffdd714997faabb0e3
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/continuous_on.lean
bec903efb4b3f8ca9c0d9ba0913b595ea55d66fd
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
57,071
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require ...
518ae0e3678e996f526db7b62976f44f3cc2e5e5
798dd332c1ad790518589a09bc82459fb12e5156
/category_theory/category.lean
6be266f8c47b9777756bcd21d474ce3591796367
[ "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
5,488
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, Johannes Hölzl, Reid Barton Defines a category, as a typeclass parametrised by the type of objects. Introduces notations `X ⟶ Y` for the morphism spa...
0c71bca56184dbf2181ba9f2448ba679a834bee2
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/topology/algebra/open_subgroup.lean
bc4475bc1ede653b535b0e6188841997931b0cb1
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
5,893
lean
import order.filter.lift import linear_algebra.basic import topology.opens topology.algebra.ring section open topological_space variables (G : Type*) [group G] [topological_space G] /-- The type of open subgroups of a topological group. -/ @[to_additive open_add_subgroup] def open_subgroup := { U : set G // is_open U...
d6e6baf2bc3301c18f1154fb5bf502416044d2df
46125763b4dbf50619e8846a1371029346f4c3db
/src/analysis/asymptotics.lean
c4fe81f4ff13f250e1e49dd349ed0748fa4470c8
[ "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
39,837
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Yury Kudryashov -/ import analysis.normed_space.basic tactic.alias /-! # Asymptotics We introduce these relations: * `is_O_with c f g l` : "f is big O of g along l wi...
7073f264d6f013656edd0759d74fb49a6f1a48ba
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/homology/complex_shape.lean
94b6110670cc5b3c331f7b214cdad0a0442647e2
[ "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,774
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import algebra.group.defs import logic.relation /-! # Shapes of homological complexes > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to th...
1f81d5fe22e0f86b5080ae29fd72d8980212889f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/measure_theory/lp_space_auto.lean
7cbeeafef1e492ce0fa419c6cc14a43d1895b3be
[]
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
31,394
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Rémy Degenne. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.measure_theory.ess_sup import Mathlib.measure_theory.l1_space import Mathlib.analysis.mean_ineq...
1bc688d48075de5245c11585209cc9f81cde4560
dcf093fda1f51c094394c50e182cfb9dec39635a
/graph_keith.lean
2bd0af4e7d9e192c4030ca6443889a7b6ae4755a
[]
no_license
dselsam/cs103
7ac496d0293befca95d3045add91c5270a5d291f
31ab9784a6f65f226efb702a0da52f907c616a71
refs/heads/master
1,611,092,644,140
1,492,571,015,000
1,492,571,015,000
88,693,969
1
0
null
null
null
null
UTF-8
Lean
false
false
17,360
lean
import data.list data.set algebra.binary algebra.group classical open nat list definition no_dup {V : Type} : list V → Prop | [] := true | (x :: xs) := ¬ x ∈ xs ∧ no_dup xs definition last {V : Type} [V_inhabited : inhabited V] : list V → V | [] := arbitrary V | [x] := x | (x :: xs) := last xs lemma reverse_last_he...
f737880b72a0c1d3e7cb9f1a6e551426147071e1
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/local_homeomorph.lean
1ac0bf05a418f75c5867daa9be4f650589bf9f73
[ "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
53,050
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 logic.equiv.local_equiv import topology.sets.opens /-! # Local homeomorphisms This file defines homeomorphisms between open subsets of topological spac...
53e7a4973b1f242baba33e613ba6a80ba894c61b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/monoid_localization.lean
3890cdfbe8f28f689894c3c8ee8e8449132a9ef0
[ "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
74,644
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import group_theory.congruence import group_theory.submonoid.membership import algebra.group.units /-! # Localizations of commutative monoids > THIS FILE IS S...
d7f6b0e4cf5155a19428bb8286d3e70f14434425
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/numChars.lean
edbfee80675a35f71cce3fc70f53066700bce90d
[ "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
430
lean
def numChars (s : String) : Nat := go s.iter where go (i : String.Iterator) : Nat := if h : i.hasNext then go i.next + 1 else 0 #eval numChars "aαc" example : numChars "aαc" = 3 := by rfl' def numChars2 (s : String) : Nat := go s.iter where go (i : String.Iterator) : Nat := match h ...
f5e6e419aabd278f469a58cc25c0648fb181f08f
f7315930643edc12e76c229a742d5446dad77097
/tests/lean/hott/trunc_1.hlean
c2063a183f962b62c568e84c130a2b64eb751328
[ "Apache-2.0" ]
permissive
bmalehorn/lean
8f77b762a76c59afff7b7403f9eb5fc2c3ce70c1
53653c352643751c4b62ff63ec5e555f11dae8eb
refs/heads/master
1,610,945,684,489
1,429,681,220,000
1,429,681,449,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,088
hlean
open is_trunc inductive trunc (n : trunc_index) (A : Type) : Type := tr {} : A → trunc n A axiom is_trunc_tr (n : trunc_index) (A : Type) : is_trunc n (trunc n A) attribute is_trunc_tr [instance] namespace trunc definition trunc_rec_on {n : trunc_index} {A : Type} {P : trunc n A → Type} (aa : trunc n A) [Pt :...
7e859f085d91ecf0e7c574e8ceb13a3a3882ac71
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/probability_theory/independence_auto.lean
7cdd6fddb850ad04f3b7b2df74d9cbb10481cfac
[]
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
16,194
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Rémy Degenne -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.measure_theory.measure_space import Mathlib.algebra.big_operators.intervals import Mathlib.data....
1d789e19499061810da038b9cae04316176e8feb
54f4ad05b219d444b709f56c2f619dd87d14ec29
/my_project/src/love04_functional_programming_exercise_sheet.lean
fe3a54b2e1bd41636203f848e282cfcd9754272b
[]
no_license
yizhou7/learning-lean
8efcf838c7276e235a81bd291f467fa43ce56e0a
91fb366c624df6e56e19555b2e482ce767cd8224
refs/heads/master
1,675,649,087,737
1,609,022,281,000
1,609,022,281,000
272,072,779
0
0
null
null
null
null
UTF-8
Lean
false
false
6,798
lean
import .love03_forward_proofs_demo /-! # LoVe Exercise 4: Functional Programming -/ set_option pp.beta true namespace LoVe /-! ## Question 1: Reverse of a List We define a new accumulator-based version of `reverse`. The first argument, `as`, serves as the accumulator. This definition is __tail-recursive__, mean...
d449281b11f8ba37ebe44ca16bc4fc740ff62815
e514e8b939af519a1d5e9b30a850769d058df4e9
/test/equivalences_full.lean
7ecf7db20acd74ae8096ca2fb3bce0b9e4f82335
[]
no_license
semorrison/lean-rewrite-search
dca317c5a52e170fb6ffc87c5ab767afb5e3e51a
e804b8f2753366b8957be839908230ee73f9e89f
refs/heads/master
1,624,051,754,485
1,614,160,817,000
1,614,160,817,000
162,660,605
0
1
null
null
null
null
UTF-8
Lean
false
false
709
lean
import tactic.rewrite_search universes u₁ u₂ open category_theory variables {D : Type u₂} {C : Type u₁} [𝒟 : category D] [𝒞 : category C] include C 𝒞 D 𝒟 local attribute [search] functor.map_comp is_equivalence.fun_inv_map nat_iso.naturality_1 nat_iso.naturality_2 nat_iso.hom_app_inv_app_id category.assoc is_eq...
91d742118c6add00a71da559ce2118a44d22e462
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/constant_speed.lean
aa5b84190414f2487b535208468b0a1658df07c4
[ "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
13,574
lean
/- Copyright (c) 2023 Rémi Bottinelli. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémi Bottinelli -/ import data.set.function import analysis.bounded_variation import tactic.swap_var /-! # Constant speed > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to ...
ea6b9ab46d13084901a8c5e6cfaaf7e58d1aeb53
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/Simp/SimpAll.lean
915f0c5d05348552bda28f410921af399a28bf44
[ "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
5,734
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.Clear import Lean.Meta.Tactic.Util import Lean.Meta.Tactic.Simp.Main namespace Lean.Meta open Simp (UsedSimps) namespace SimpAll ...
41fb2c30902db470bc3bda4e2a5072809a92237a
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/category/constructions.lean
b4da8ae5e2f442dee508010fdf699a0d73362e76
[ "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
16,834
lean
-- 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 -- This file contains basic constructions on categories, including common categories import .natural_transformation import data.unit data.sigma data.prod dat...
34b52cfc05efac0a4995275cbe9406594ec02800
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/idempotent_completion.lean
9425bdc6fc1db8b8d9cc1afe3856c1bd4ac7c0e7
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
4,170
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 import .equivalence import .functor open tqft.categories open tqft.categories.functor open tqft.categories.natural_transformatio...
6c93ffb01a492c63ccf76a5bb2dca3fe3d6f18b3
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Parser/Tactic.lean
bcd972bb70d9c8f971eee4aeb21111ad778af9ec
[ "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
5,863
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, Sebastian Ullrich -/ import Lean.Parser.Term namespace Lean namespace Parser namespace Tactic def underscoreFn : ParserFn := fun c s => let s := symbolF...
d188af6b826c1ffd06de44479270de0261e2e50b
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/analysis/analytic/composition.lean
0f0b05283927f467045b0ef45c207bf14b6bc02f
[ "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
58,799
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, Johan Commelin -/ import analysis.analytic.basic import combinatorics.composition /-! # Composition of analytic functions in this file we prove that the composi...
3cc58783fb37e3f251ca3c4b5587ae1574849743
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/match.lean
8d36ef0825dfa6b3f2e9074fe95e28090e74c6a0
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
2,062
lean
def is_not_zero (n : ℕ) : bool := match n with | 0 := ff | (n + 1) := tt end universe u def filter {α : Type u} (p: α → bool): list α → list α | [] := [] | (x :: xs) := match p x with | tt := x :: filter xs | ff := filter xs end example : filter is_not_zero [1,0,0,3,0] = [1,3] := rfl def foo...
aac0b0c71d1b9120b1cde564de9861ba4089627d
b87641ffb6358d6508ccbfa54e67c87070cb28d8
/cat/cat.lean
37d8b8720185c6f0d024dcb88e82da9b8ad604f0
[]
no_license
Nolrai/LeanGiggle
a4b628745ae3f5a36ae79b673ee8543e18ed4899
8326b2a6685b60a3529ee0fe26bd86f5d849b071
refs/heads/master
1,545,396,766,168
1,538,238,458,000
1,538,238,458,000
105,524,473
0
0
null
null
null
null
UTF-8
Lean
false
false
777
lean
structure category_raw := (Ob: Type) (Hom : Ob -> Ob -> Type) (id : ∀ A : Ob, Hom A A) (comp : ∀ (A B C : Ob), Hom A B -> Hom B C -> Hom A C) notation A `♯` c `⟹`:50 B := c.Hom A B definition comp {c : category_raw} {A B C : c.Ob} (f : A ♯c⟹ B) (g : B ♯c⟹ C) := c.comp A B C f g open category_raw ...
69d39ffc9eac13d928a56a89f9df90268e9aec78
4727251e0cd73359b15b664c3170e5d754078599
/src/probability/density.lean
1ffefadfb1bad5d1806e978863c354e544d0c4a1
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
18,087
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.radon_nikodym import measure_theory.measure.lebesgue /-! # Probability density function This file defines the probability density func...
6c807c97362c00315b8b0c894a0f8828299021bb
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/src/tidy/automatic_induction.lean
33ab98cdf14c4ad22d9311e72da6197919c0ef59
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
1,496
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 .at_least_one open tactic meta def automatic_induction_at (h : expr) : tactic string := do t' ← infer_type h, t' ← whnf t', (do n ← num_goals, ca...
ef39dfc3483a926a805d9816a10968a39f9b348e
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/number_theory/pell.lean
39805892924eb9008f7a592298a77461032373d4
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
37,614
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 data.nat.prime data.nat.modeq data.zsqrtd.basic namespace pell open nat section parameters {a : ℕ} (a1 : a > 1) include a1 private def d := a*a - 1 ...
4d8af8cc5261e346dd4056ce265c68b6c7d32d92
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/sheaves/sheaf_condition/unique_gluing.lean
2cbe750fc243391d23fc00d86552246c7a11ee24
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
11,729
lean
/- Copyright (c) 2021 Justus Springer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justus Springer -/ import topology.sheaves.forget import category_theory.limits.shapes.types import topology.sheaves.sheaf import category_theory.types /-! # The sheaf condition in t...
5dba47452a43c5924fbaa91a697866a245127dd0
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/order/bounded_lattice.lean
6b7e4b78680bcfe0693c2dc40dccb57f25d96f7c
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
40,280
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 bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice import data.option.basic import tactic.pi_instances set_opt...
c283f4490fe593b5d6249b3f7d30958d6180c7ec
61c3861020ef87c6c325fc3c3dcbabf5d6b07985
/cubical/cube.lean
c82bced93f20bdfcdd9243ac307bcd9ef4e6ebcb
[ "Apache-2.0" ]
permissive
jonas-frey/hott3
a623be2959e8a713c03fa1b0f34bf76a561dfa87
a944051b4eb5919bdc70978ee15fcbb48a824811
refs/heads/master
1,628,408,720,559
1,510,267,042,000
1,510,267,042,000
106,760,764
0
0
null
1,507,856,238,000
1,507,856,238,000
null
UTF-8
Lean
false
false
21,892
lean
/- 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, Jakob von Raumer Cubes -/ import .square universes u v w hott_theory namespace hott open equiv is_equiv sigma namespace eq inductive cube {A : Type u} {a₀₀...
9afdf61a05f91fd5d5f785750d031d45f762d356
c777c32c8e484e195053731103c5e52af26a25d1
/src/dynamics/periodic_pts.lean
30e6211e651260d7fe1f2218e1f061962956fac5
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
23,473
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import algebra.hom.iterate import data.list.cycle import data.pnat.basic import data.nat.prime import dynamics.fixed_points.basic import group_theory.group_ac...
ccd5de957e639e0dba009ef0e2a0ecd3ef364987
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/1260.lean
b5d4be6508e0e6e2243fea8d1e1a124a8567afca
[ "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
1,169
lean
inductive dvec {X : Type} (Y : X → Type) : list X → Type | dnil {} : dvec [] | dcons : Π {x : X}, Y x → Π {xs : list X}, dvec xs → dvec (x::xs) namespace dvec notation `⟦` l:(foldr `, ` (h t, dvec.dcons h t) dvec.dnil `⟧`) := l def get {X : Type} [decidable_eq X] {Y : X → Type} (x₀ : X) [inhabited (Y x₀)] : Π {xs...