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
6cc484a63153a1938e7485d7e3691c031868b38f
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/hausdorff_distance.lean
50613568802f185f8e6157ebabf08fa86993ee4f
[ "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
33,559
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.metric_space.isometry import topology.instances.ennreal import analysis.specific_limits /-! # Hausdorff distance The Hausdorff distance on sub...
9674e04b1d4d9060771d24dadb1f258872b6bf3b
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/topology/instances/real.lean
ef0db9e4096851a9143bf4c804ee67c915c5d61e
[ "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
16,388
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.metric_space.basic import topology.algebra.uniform_group import topology.algebra.ring import ring_theory.subring import group_theory.a...
d66ac3feb5c7e725ab6cd55222aff014d5d9eca2
c777c32c8e484e195053731103c5e52af26a25d1
/src/testing/slim_check/sampleable.lean
c14c317264fde201c7c5f4b045643146de333ede
[ "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
31,336
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.lazy_list.basic import data.tree import data.pnat.basic import control.bifunctor import control.ulift import testing.slim_check.gen import tactic.linarith /-! ...
35a9b175dcfb1c73fe025731b9176928f32dc9f7
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/examples/lean/tc.lean
f7e98136c979ae0a7894ba20a7b3716a194df2f1
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
1,727
lean
import macros definition reflexive {A : TypeU} (R : A → A → Bool) := ∀ x, R x x definition transitive {A : TypeU} (R : A → A → Bool) := ∀ x y z, R x y → R y z → R x z definition subrelation {A : TypeU} (R1 : A → A → Bool) (R2 : A → A → Bool) := ∀ x y, R1 x y → R2 x y infix 50 ⊆ : subrelation -- (tcls R) is the trans...
8433f201b9b897d4539f7e80730d750560ea5368
32a2d1642d7519c99693bc1d3b24069e4853dd1f
/logic/relation.lean
4e9ed098489ada3a41890f0843881b71da208b28
[ "Apache-2.0" ]
permissive
Cedric0099/mathlib
7edb81d5d68e280b4d21f6c0377dad1f9b8c0d71
a97101d2df5d186848075a2d0452f6a04d8a13eb
refs/heads/master
1,584,201,847,599
1,524,979,632,000
1,524,979,632,000
131,690,350
0
0
null
1,525,162,341,000
1,525,162,341,000
null
UTF-8
Lean
false
false
8,214
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Transitive reflexive as well as reflexive closure of relations. -/ import tactic variables {α : Type*} {β : Type*} {γ : Type*} {r : α → α → Prop} {a b c d : α} namespa...
97984d05bff5317c679d86df138edc2416d266bc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/interval.lean
76defaf048fa9ddc46dab9c537a1f5950c457c9d
[ "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
16,174
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 data.set.intervals.basic import data.set.lattice import data.set_like.basic /-! # Order intervals This file defines (nonempty) closed intervals in an order (see ...
a3196377f59ea829830922b938af9b15e5815681
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/homology/homotopy.lean
5d37a038749699dd10ff158e406ed1f9c9c8c1a7
[ "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
32,236
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.additive import tactic.abel /-! # Chain homotopies We define chain homotopies, and prove that homotopic chain maps induce the same map on ho...
43407c31f31d1b130a83fc550736b3e95a9a251d
1f6fe2f89976b14a4567ab298c35792b21f2e50b
/algebra/left_module.hlean
6dfe619a74ad02665fa1ac7da0991f30200265b9
[ "Apache-2.0" ]
permissive
jonas-frey/Spectral
e5c1c2f7bcac26aa55f7b1e041a81272a146198d
72d521091525a4bc9a31cac859840efe9461cf66
refs/heads/master
1,610,235,743,345
1,505,417,795,000
1,505,417,795,000
102,653,342
0
0
null
1,504,728,483,000
1,504,728,483,000
null
UTF-8
Lean
false
false
18,033
hlean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Floris van Doorn Modules prod vector spaces over a ring. (We use "left_module," which is more precise, because "module" is a keyword.) -/ import al...
3d825b314d3ec2302cba440999d5e550a84eac8d
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/util.lean
20902ffe740983a45577f4155c2fbca5215a821e
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,059
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.string.basic universe variables u /- This function has a native implementation that tracks time. -/ def timeit {α : Type u} (s : s...
3386d7761e8c818e7e24435839e540e02f1929ed
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Meta/Tactic/Assumption.lean
21991f9bed205ab7450b79e8ca57b4843be9decf
[ "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
831
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.ExprDefEq import Lean.Meta.Tactic.Util namespace Lean namespace Meta def assumptionAux (mvarId : MVarId) : MetaM Bool := withMVarContext ...
1921dbb5b2e9dd4cd23b27b11ed85065149fd3b9
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/group_theory/group_action.lean
3af46182245a13fc05e6ddf92f26e280483d5b59
[ "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
4,122
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.set.finite group_theory.coset universes u v variables {α : Type u} {β : Type v} class is_monoid_action [monoid α] (f : α → β → β) : Prop := (one : ∀ a : β, ...
e6f5b1da404f8485c0f941a15044b7b6454cfa4c
febba19712b2aefe4d6c7fb0230b8d7e272c98c4
/src/realizers.lean
ec150f2a3b21e760a49e9301ed5780f9f2318dfd
[]
no_license
hcheval/formalized-proof-mining
e6eb980feb644ae269f43d9af93ac584b7a47a17
216cc73fccd84900a1ba7eaae5f73732496d6afe
refs/heads/master
1,689,621,410,792
1,629,912,272,000
1,629,912,272,000
399,855,572
0
0
null
null
null
null
UTF-8
Lean
false
false
13,969
lean
import proof section realizers variables {ι : Type} {gri : ground_interpretation ι} local notation `𝔽` := formula ι gri local notation `𝕋` := type ι gri variables {greq : Π {i : ι}, ∥𝕏 i // gri ∥ → ∥𝕏 i // gri ∥ → 𝔽} local infixr `≅` : 35 := formula.eqext @greq namespace dia section logical...
f32a6126c19fc79f1f6e6a92eefcc135f1e52c94
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/ring_theory/witt_vector/is_poly.lean
3c968c5d43c1ed35bd8f60caab2b4521c18c2378
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
23,405
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import algebra.ring.ulift import ring_theory.witt_vector.basic import data.mv_polynomial.funext /-! # The `is_poly` predicate `witt_vector.is_poly...
fafdf322b9be9c1a00a10eba90323efbba188c9d
75c54c8946bb4203e0aaf196f918424a17b0de99
/src/aleph_one.lean
bc091441f546bcfced00222382c78484ad1e57eb
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
46,135
lean
import .bvm_extras2 universes u v namespace pSet section open cardinal lemma regularity (x : pSet.{u}) (H_nonempty : ¬ equiv x (∅ : pSet.{u})) : ∃ (y : pSet) (Hy : y ∈ x), ∀ z ∈ x, ¬ (z ∈ y) := begin have := is_epsilon_well_founded x, cases exists_mem_of_nonempty H_nonempty with w Hw, have := this x (subset_s...
00b91897932c0bee501265795e2caaa222f4b3f4
b73bd2854495d87ad5ce4f247cfcd6faa7e71c7e
/src/game/world2/level2.lean
ebb660199c43aaf91b2d8d246adb326e00e85faa
[]
no_license
agusakov/category-theory-game
20db0b26270e0c95a3d5605498570273d72f731d
652dd7e90ae706643b2a597e2c938403653e167d
refs/heads/master
1,669,201,216,310
1,595,740,057,000
1,595,740,057,000
280,895,295
12
0
null
null
null
null
UTF-8
Lean
false
false
948
lean
import category_theory.category.default import category_theory.isomorphism universes v u -- The order in this declaration matters: v often needs to be explicitly specified while u often can be omitted namespace category_theory variables (C : Type u) [category.{v} C] --rewrite this /- # Category world ## Level 1:...
2bf74b6f8bc4ebae864cd408cda7df08a1aa0304
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/interactive/my_tac_class.lean
c4c9a9bb3dfc576f212c1078104ad35739be3bdc
[ "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,779
lean
meta def mytac := state_t nat tactic meta instance : monad mytac := state_t.monad _ _ meta instance : monad.has_monad_lift tactic mytac := monad.monad_transformer_lift (state_t nat) tactic meta instance (α : Type) : has_coe (tactic α) (mytac α) := ⟨monad.monad_lift⟩ namespace mytac meta def step {α : Type} (t : my...
e8ec9d7861ea3c4b2d6bfda15bddc92afe45639e
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/buffer/basic.lean
21ee942fc3d0f2a7dbf4ca45d8613cd174a0c5d5
[ "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
2,220
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon General utility functions for buffers. -/ import data.buffer import data.array.lemmas import control.traversable.instances namespace buffer open function variables {α : Ty...
93a3428abb263b415d3a3386a18de01e5068c1b0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/autoPPExplicit.lean
7bbe4a9eb2f35ac605d6979d8757a65e70b5c258
[ "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
63
lean
def f {a b c : α} : a = c := Eq.trans (a := a) (b := b = c)
9d9588d10e7449c4dc0ae5d33146600e98a0ad5e
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/int/parity.lean
4430f8e9541322db624d3c2533cbbb3ac088098a
[ "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
4,822
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Benjamin Davidson The `even` and `odd` predicates on the integers. -/ import data.int.modeq import data.nat.parity namespace int @[simp] theorem mod_two_ne_one {n : ℤ}...
0bb5fcb56f8d7370e51efb9f4b89fb967a627afe
14d3c04048fcbea3818a26103a6e4f1c99fc6c62
/src/basic.lean
1666a6fcb565d5af8e25c81c366eff100c2dbb40
[]
no_license
gihanmarasingha/myint
866a880ae7ade3de7d1e8550e6d2c4be94f1b85f
eba85880a500a7977cc4e23c9fa51877dfc82b58
refs/heads/master
1,682,793,960,074
1,619,541,459,000
1,619,541,459,000
360,702,700
0
0
null
null
null
null
UTF-8
Lean
false
false
4,516
lean
import tactic @[derive decidable_rel] protected def myintrel : ℕ × ℕ → ℕ × ℕ → Prop := λ a b, a.1 + b.2 = b.1 + a.2 local infix `~` := myintrel protected theorem myintrel.refl : ∀ n : ℕ × ℕ, n ~ n := λ n, rfl protected theorem myintrel.symm : ∀ n m : ℕ × ℕ, n ~ m → m ~ n := λ n m h, by { dsimp [myintrel] at *, sy...
66f383aeeb9e8fd2678efbcef00bc697fa5de16a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/System/ST.lean
15b120b2bfb8c3b3ce6882d0107d16d8b600b921
[ "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,558
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 -/ prelude import Init.Classical import Init.Control.EState import Init.Control.Reader def EST (ε : Type) (σ : Type) : Type → Type := EStateM ε σ abbrev ST (σ...
c756ecd3effa3029ebf35804b7fad72598cb8f3c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Util/ReplaceLevel.lean
119aedb690fdda3ad3d3341b3dc407afa28a96be
[ "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
3,376
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.Expr namespace Lean namespace Level partial def replace (f? : Level → Option Level) (u : Level) : Level := match f? u with | some v => v ...
62f87aa85e7f0127fe7a974336e3d8401a2eb652
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/dedekind_domain/adic_valuation.lean
5098e9e5faf7911f65835c85f1a0444f712192fd
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
15,506
lean
/- Copyright (c) 2022 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import ring_theory.dedekind_domain.ideal import ring_theory.valuation.extend_to_localization import ring_theory.valuation.valuation_su...
27f86cb75d48706ae69b0b62ae04b09d7885e19e
63abd62053d479eae5abf4951554e1064a4c45b4
/src/analysis/normed_space/multilinear.lean
3edcd74ff1da00de5d5c58ce03400352bc529626
[ "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
57,146
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 analysis.normed_space.operator_norm import topology.algebra.multilinear /-! # Operator norm on the space of continuous multilinear maps When `f` is a c...
d258820cd47c61097d0893f370289c5affa931a9
3d2a7f1582fe5bae4d0bdc2fe86e997521239a65
/spatial-reasoning/spatial-reasoning-problem-08.lean
ca2f0c11c6360501b47caedb5989d4e16eb94be6
[]
no_license
own-pt/common-sense-lean
e4fa643ae010459de3d1bf673be7cbc7062563c9
f672210aecb4172f5bae265e43e6867397e13b1c
refs/heads/master
1,622,065,660,261
1,589,487,533,000
1,589,487,533,000
254,167,782
3
2
null
1,589,487,535,000
1,586,370,214,000
Lean
UTF-8
Lean
false
false
224
lean
/- Spatial Reasoning Problem 08 -/ /- It can be found at: SpatialQs.txt -/ /- (8) Bob and Jane are at the mouth of a tunnel. Bob travels through the tunnel. Can Bob be closer to Jane than the length of the tunnel? -/
7a25f28b9a5042f0fb6f5252ede79c263f6b344c
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Init/Control/Option.lean
5a36ff70141924d3dacf4b44f44110f724ddb9c3
[ "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
2,308
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, Sebastian Ullrich -/ prelude import Init.Data.Option.Basic import Init.Control.Basic import Init.Control.Except universe u v instance {α} : ToBool (Option α...
32e6f291a1f5612326c761b07f5685deee0ae8d6
c777c32c8e484e195053731103c5e52af26a25d1
/src/model_theory/satisfiability.lean
1c1a693e6e45b208c0b90eefa700b334678fbd2b
[ "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
28,055
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.ultraproducts import model_theory.bundled import model_theory.skolem /-! # First-Order Satisfiability This file deals with the satisfiability of ...
7ec86497bf16454b8b29a765fbaf075f4d102e4a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/genindices.lean
da00729e34d9e7071ec96a3fd3df301adeecf410
[ "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
739
lean
import Lean universe u inductive Pred : ∀ (α : Type u), List α → Type (u+1) | foo {α : Type u} (l1 : List α) (l2 : List (Option α)) : Pred (Option α) l2 → Pred α l1 axiom goal : forall (α : Type u) (xs : List (List α)) (h : Pred (List α) xs), xs ≠ [] → xs = xs open Lean open Lean.Meta def tst1 : MetaM Unit := do l...
f8adf28d6b8b7a4c5de90d84aab33703ea8c8cb5
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/topology/bounded_continuous_function.lean
b2f783f5183e766778169ec9d198bb03d039b04b
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
23,631
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro Type of bounded continuous functions taking values in a metric space, with the uniform distance. -/ import analysis.normed_space.basic topology....
d29fd7bb74261968835306415188370c750f74fa
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/calculus/inverse.lean
548f4d24a7f14f28ebad2721f1bb85d1e10f0463
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,270
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Heather Macbeth, Sébastien Gouëzel -/ import analysis.calculus.times_cont_diff import analysis.normed_space.banach import topology.local_homeomorph import topology.me...
7ce58f8c1fa8154df99fcf9964c048c3062ee82a
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/metric_space/hausdorff_distance.lean
4bd05cd29febb02555172d3e2d834127c7030667
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,515
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.metric_space.isometry import topology.instances.ennreal import analysis.specific_limits /-! # Hausdorff distance The Hausdorff distance on sub...
9c7fefe317ecf5ed05ac4cc1c1202ed18ddc3f1d
42610cc2e5db9c90269470365e6056df0122eaa0
/library/data/real/basic.lean
13f3bdf55c4a441571f799fe482b3bfba72ec7de
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
42,450
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). The construction of the rea...
9ef51e58bd66ac0ce443c35445d3391dfd547f60
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/lie/normalizer.lean
e5a30f89fef4d07a4c8153a5ad4310e385652bf7
[ "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
6,494
lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.abelian import algebra.lie.ideal_operations import algebra.lie.quotient /-! # The normalizer of a Lie submodules and subalgebras. Given a Lie module `M...
cc9393947b4503f8949957e66cacb2e4c40d9021
42610cc2e5db9c90269470365e6056df0122eaa0
/hott/hit/set_quotient.hlean
5b0574174fbcf37f44c7ab5d228fdf2d1288a561
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
5,761
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 Declaration of set-quotients, i.e. quotient of a mere relation which is then set-truncated. -/ import function algebra.relation types.trunc types.eq hit.quotient ...
150532815bc026a03065ec5f27424b0b9fb36802
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/vector2.lean
f1d86856542d56990a472d3475e2c7d7f12d9d20
[ "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
389
lean
import logic data.nat.basic open nat inductive vector (A : Type) : nat → Type := | vnil : vector A zero | vcons : Π {n : nat}, A → vector A n → vector A (succ n) namespace vector theorem vcons.inj₁ {A : Type} {n : nat} (a₁ a₂ : A) (v₁ v₂ : vector A n) : vcons a₁ v₁ = vcons a₂ v₂ → a₁ = a₂ := assume h, vector.no_...
611fc4d8fc843b999ce21b0f5fd6e36db57fdcc6
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex39.lean
71426d1d50244f9183a84b7404583290984219c6
[ "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
606
lean
open classical variables p q : Prop check em p theorem dne {p : Prop} (h : ¬¬p) : p := or.elim (em p) (assume hp : p, hp) (assume hnp : ¬p, absurd hnp h) /- For a constructivist ¬¬p means "p is non-contradictory" -/ example (h : ¬¬p) : p := by_cases (assume h1 : p, h1) (assume h1 : ¬p, absurd h1 h) exampl...
6e9f0b29bf1ce65a44bcd56f313707ea12f121bf
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/category/fgModule/basic.lean
6ea72337a70247bd5690874cd0fefdbce0ebd664
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
7,032
lean
/- Copyright (c) 2021 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer -/ import category_theory.monoidal.rigid.basic import category_theory.monoidal.subcategory import linear_algebra.coevaluation import algebra.category.Module.monoidal...
4444a825e2b0dfe283f86d5a4d9b7a17ee7f623d
618003631150032a5676f229d13a079ac875ff77
/test/library_search/basic.lean
f778d10e347b93e29658f078fcee63863d849ccc
[ "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
6,527
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.nat.basic /- Turn off trace messages so they don't pollute the test build: -/ set_option trace.silence_library_search true /- For debugging purposes, we ...
62873cdec79ba13e8060b948b1f3e8140fb76143
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/src/builtin/num.lean
646dfc65077a2b858bd5070c229b7525d488f475
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
27,637
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 import macros subtype tactic using subtype namespace num theorem inhabited_ind : inhabited ind -- We use as the witness for non-emptiness, the value w in...
468dc32214b81eada1b2dc3543060f1effa0d365
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/vector.lean
a02d78c6dbbc0c19a31c9498aed61523e0b0e7b2
[ "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
4,886
lean
import logic data.nat.basic data.prod data.unit open nat prod inductive vector (A : Type) : nat → Type := | vnil {} : vector A zero | vcons : Π {n : nat}, A → vector A n → vector A (succ n) namespace vector -- print definition no_confusion infixr `::` := vcons local abbreviation no_confusion := @vector.no_co...
64b3c3adfb184a3818627cf8104eb7ee2587f937
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Server/Rpc/RequestHandling.lean
1f11482aaffcfadc4f38b755a1584c2fec95e50f
[ "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
5,511
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Data.Lsp.Extra import Lean.Server.Requests import Lean.Server.Rpc.Basic namespace Lean.Server private structure RpcProcedure where wrapper...
4bf3710df293752cd471dd3eb2e5d004e15b2769
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/constructions.lean
c7f021430b5497321812008d4296e213485306c7
[ "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
54,680
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 import order.filter.pi import data.fin.tuple /-! # Constructions of new topological spaces from old ones This f...
fb896d43530acf8a35f8b7d75b8cb9af43d7eb8d
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/shapes/normal_mono/basic.lean
8d9883af5c44bdd07bd94682f3e6732171ce6115
[ "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
10,606
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.limits.shapes.regular_mono import category_theory.limits.shapes.kernels import category_theory.limits.preserves.basic /-! # Defi...
ed7bffd3d5a07b955ffed36a8b0351d5b0cf2df6
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebra/archimedean.lean
3f202592b34d388a34dba91b15b1b80234d03731
[ "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
10,109
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Archimedean groups and fields. -/ import algebra.group_power algebra.field_power algebra.floor import data.rat tactic.linarith variables {α : Type*} open_locale add_m...
ac9af2775fdbf7897b5aac4f662522ba1fd2f9fd
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/number_theory/padics/padic_integers.lean
bc01f1cb73a1a5d0884b2b37c56dbe457e037a8c
[ "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
20,816
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Mario Carneiro, Johan Commelin -/ import data.int.modeq import data.zmod.basic import number_theory.padics.padic_numbers import ring_theory.discrete_valuation_ring im...
65a20119ce70a9f880e75100ce94590c4094bd4d
439bc6c3e74a118aa51df633b8e1f24415804d86
/category.lean
6aecc608170934037308f619a3e696bdc32a89d9
[]
no_license
jcommelin/lt2019_slides
4ca498db02b5187c5778c21b985126d52d260696
3234cd92920d3d4321cc2cef78b48e5fa55be413
refs/heads/master
1,586,718,101,957
1,546,930,855,000
1,546,930,855,000
162,697,592
1
0
null
null
null
null
UTF-8
Lean
false
false
541
lean
class category (obj : Type u) : Type (max u (v+1)) := (hom : obj → obj → Type v) (infixr ` ⟶ `:10 := hom) (id : Π X : obj, X ⟶ X) (notation `𝟙` := id) (comp : Π {X Y Z : obj}, (X ⟶ Y) → (Y ⟶ Z) → (X ⟶ Z)) (infixr ` ≫ `:80 := comp) (id_comp' : ∀ {X Y : obj} (f : X ⟶ Y), 𝟙 X ≫ f = f . obviously) (comp_id...
a030050fe62cfa681a488e536cca4495f9fe9fea
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inaccessibleAnnotDefEqIssue.lean
8ce021305f5beb0086472210f8ee723831336a99
[ "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
283
lean
example : Int → Nat | (_ : Nat) => 0 | Int.negSucc n => 0 protected theorem Int.add_comm : ∀ a b : Int, a + b = b + a | (n : Nat), (m : Nat) => sorry | (_ : Nat), Int.negSucc _ => rfl | Int.negSucc _, (_ : Nat) => rfl | Int.negSucc _, Int.negSucc _ => sorry
00d2ab0895c56ee0ec9bb234daed2a3cacf9b146
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/traceStateBactracking.lean
921bf8da8008990c2296b30c8d5265411d5233bf
[ "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
166
lean
example (h : 0 = 1) : False := by first | trace_state; fail | contradiction example (h : 0 = 1) : False := by first | trace "first branch"; fail | contradiction
2497de90aea37270921cfb9256bd4e0d5a74b122
24cea0681d40a3d3a2fd112c35ce26dfe9e2dd1c
/src/relax/disintegration.lean
50b2dbcb5cd82171e220f977ea8fdd0e4679f86c
[ "Apache-2.0" ]
permissive
jtristan/FormalML
4119809fd728bd0e6ffe2e4961e1a2dfdc1b7864
b9f54593c7f2badde15953de876ee214e23b34a0
refs/heads/master
1,668,672,921,807
1,594,691,391,000
1,594,691,391,000
279,452,890
4
0
null
null
null
null
UTF-8
Lean
false
false
12,964
lean
/- Copyright © 2020, Oracle and/or its affiliates. All rights reserved. -/ import .relax local attribute [instance] classical.prop_decidable open set namespace relax variables (μ: probability_measure ℍ) noncomputable def maj_code (u: ℍ × ℍ): (ℍ × ℕ) := let u1 := u.fst in let u2 := u.snd in let theta := g...
824e371ecbbc70bcd6972e0cef8d72711cbdd676
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/order/filter/basic.lean
dc28ffccfcfe1d50e51b439090026ec32b692a42
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
117,407
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad -/ import data.set.finite import order.copy import order.zorn import tactic.monotonicity /-! # Theory of filters on sets ## Main definitions * `filter`...
87b21a341dfd69a009e2008ba905fdb2f1d615d2
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/pseudo_normed_group/CLC.lean
24391434f9ad2ee2e6cfc5ef8412532f1c41af06
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,286
lean
import pseudo_normed_group.LC import locally_constant.Vhat open_locale classical nnreal noncomputable theory local attribute [instance] type_pow open NormedGroup opposite Profinite pseudo_normed_group category_theory breen_deligne open profinitely_filtered_pseudo_normed_group universe variable u variables (r : ℝ≥0) ...
a74a48ee10e26267ea2c3d95d9d6f585307bb058
92bfaf170880e47d55bf51d5a782fffd76db2f5f
/melting_point/graph.lean
37faa4c1e3bda7f94f8bac9b4f5080d384c47086
[]
no_license
forked-from-1kasper/melting_point
d33403e1985d876a2c7c06859962cc0c37570189
e5ea4a0917de086b7e5b122e8d5aa90d2761d147
refs/heads/master
1,624,785,375,577
1,618,305,367,000
1,618,305,367,000
222,729,018
2
0
null
null
null
null
UTF-8
Lean
false
false
2,467
lean
import melting_point.core namespace melting_point.graph universes u v def nat.cases {α : Sort u} (zero : α) (succ : α → α) : ℕ → α | 0 := zero | (n + 1) := succ (nat.cases n) inductive ord | zero | succ : ord → ord | lim : (ℕ → ord) → ord def ord.add : ord → ord → ord | ord.zero y := y | (ord.succ x) y :...
a942edd0dafd12a2ea199a9bedeb469009b6fb8d
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/rw_set3.lean
e96522db7f8a2c452de0b712dbc6ffb230878069
[ "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
217
lean
open tactic nat constant f : nat → nat constant g : nat → nat axiom foo : ∀ x, f x = 1 axiom bla : ∀ x, f x = 2 attribute [simp] foo attribute [simp] bla print [simp] default example : f 5 = 2 := by simp
06e07ae839fda45b276d6e848b9f70ee511e5d8c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/matrix/zpow.lean
70ea8d648dac7722998d4d8b2458e64137f37ba0
[ "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
12,436
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import linear_algebra.matrix.nonsingular_inverse /-! # Integer powers of square matrices In this file, we define integer power of matrices, relying on the nonsing...
35a2ce0707686a5e043d2fa765e692287698da08
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/category/Group/biproducts.lean
77988d003a749a9ce998ce4dc2a54395bfa2f837
[ "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
3,608
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.group.pi import algebra.category.Group.preadditive import category_theory.limits.shapes.biproducts import algebra.category.Group.limits /-! # The cate...
947b5b3c302a1caeb3a5d877f33b116b2f96b0b1
9e90bb7eb4d1bde1805f9eb6187c333fdf09588a
/src/stump/setup_definition.lean
1d6f83a297ac1fa095fcced9b69fd2f87433fdf1
[ "Apache-2.0" ]
permissive
alexjbest/stump-learnable
6311d0c3a1a1a0e65ce83edcbb3b4b7cecabb851
f8fd812fc646d2ece312ff6ffc2a19848ac76032
refs/heads/master
1,659,486,805,691
1,590,454,024,000
1,590,454,024,000
266,173,720
0
0
Apache-2.0
1,590,169,884,000
1,590,169,883,000
null
UTF-8
Lean
false
false
959
lean
/- Copyright © 2019, Oracle and/or its affiliates. All rights reserved. -/ import measure_theory.measurable_space import measure_theory.borel_space import topology.instances.nnreal import ..lib.basic import ..lib.util namespace stump notation `ℍ` := nnreal noncomputable instance meas_ℍ: measurable_space ℍ := begin ...
d4da6ff6bda8ac44170e43138898e2169c795cb9
43dcf09a5df9dc4729cdc024e8680eeaacd05af3
/order.lean
0e46a1b074ed88fe72c31f196da4d16254e035ac
[]
no_license
khoek/lmath
f9ea911aabee1eb276a5319e70a5e62e6bfe8fb1
a4f35205e6b5a3f16926234bf8eb7f7b5f56e47f
refs/heads/master
1,611,452,778,710
1,532,531,556,000
1,532,569,670,000
122,820,532
0
0
null
null
null
null
UTF-8
Lean
false
false
331
lean
structure order (α : Type) := mk :: (sim : α → α → Prop) (h_refl : ∀ a : α, sim a a) (h_antisymm : ∀ a b : α, sim a b ∧ sim b a → a = b) (h_trans : ∀ a b c : α, sim a b → sim b c → sim a b) structure total_order (α : Type) extends order α := mk :: (h_total : ∀ a b : α, sim a b ∨ sim b a)
82d73064eb5b31e34290c1288965ab3daf79c382
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/infinite_sum_auto.lean
0629b58b1387a73a9b413b46d7dfbbc0a4fd0724
[]
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
54,545
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.big_operators.intervals import Mathlib.topology.instances.real import Mathlib.topol...
e6463b762f9b7f5b817b04ffba2f1098d0463f20
367134ba5a65885e863bdc4507601606690974c1
/src/data/zsqrtd/to_real.lean
64efbd5a493870437de783dba30da53c77a2409e
[ "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
846
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 data.real.sqrt import data.zsqrtd.basic /-! # Image of `zsqrtd` in `ℝ` This file defines `zsqrtd.to_real` and related lemmas. It is in a separate file to avoid pul...
7357b7203305bb92aabec619b5887a1e9e7f6c86
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/equiv/ring_aut.lean
42dbccc8a7e741faf7ba4e7c9b4224e0da91d3a1
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
2,178
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, Callum Sutton, Yury Kudryashov -/ import data.equiv.mul_add_aut import data.equiv.ring /-! # Ring automorphisms This file defines the automorphism group structure on ...
8ed77812b1d2458ae8eccb1f42b50b26317c0755
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/ring_theory/ring_invo.lean
061d9a836cf933b6517bdadd6c126bd87e2a7f45
[ "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
2,028
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow, Kenny Lau -/ import data.equiv.ring import algebra.opposites /-! # Ring involutions This file defines a ring involution as a structure extending `R ≃+* Rᵒᵖ`, with...
408a719aa27cd33e36586b060721c0704692cfe5
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0305.lean
166ed16f5849c1a16067deb53bc2c07b6506b79a
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
83
lean
variables p q : Prop variables (hp : p) (hq : q) #check (⟨hp, hq⟩ : p ∧ q)
adcc2f42958b388b62d8dd904b36dcb94e4d10e5
94e33a31faa76775069b071adea97e86e218a8ee
/src/set_theory/surreal/basic.lean
1781d11f732772046566b232ff79267809763336
[ "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
13,910
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Scott Morrison -/ import algebra.order.hom.monoid import set_theory.game.ordinal /-! # Surreal numbers The basic theory of surreal numbers, built on top of the theor...
8bc4e2d1ac279bcfff4f558730ad8549c4715da1
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/04_Quantifiers_and_Equality.org.14.lean
57d89534cc4115f9ae50511ade20f0f7ae2347d8
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
246
lean
/- page 52 -/ import standard import data.nat data.prod open nat prod variables (A B : Type) -- BEGIN example (f : A → B) (a : A) : (λ x, f x) a = f a := rfl example (a : A) (b : A) : pr1 (a, b) = a := rfl example : 2 + 3 = 5 := rfl -- END
f9e5f39fdee8836977edcde04989d60dc1a4866f
9028d228ac200bbefe3a711342514dd4e4458bff
/src/analysis/convex/basic.lean
c1189b597d8218625f4e145cd2a7f22ad51f076d
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
57,804
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import data.set.intervals.ord_connected import data.set.intervals.image_preimage import data.complex.module import linear_algebra.affine_spac...
f9c2729bdb027c1cd5e4f7b70f39115149279eb4
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/LeanExt.lean
79c201f02b981ccea9428fb77d5e61839625fac7
[ "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
3,298
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.String.Basic import Init.Data.UInt namespace Lean /- Basic Lean types used to implement basic extensions. Note that this file is p...
7a7787e44e43860ddd8c05c07652bac4f5884d1f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/pnat/find.lean
80ba4eafd2f56f47fcec330a820662d12ea9f2b9
[ "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,988
lean
/- Copyright (c) 2022 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky, Floris van Doorn -/ import data.pnat.basic /-! # Explicit least witnesses to existentials on positive natural numbers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > A...
9c9c303daaa9de9028fee5cfd6ed4b8d99b927b9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/divisors.lean
f069d24981d6093ac4d9c7dd771827c8586433a4
[ "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
16,356
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.big_operators.order import data.nat.interval import data.nat.factors /-! # Divisor finsets > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes t...
618b4efad379795f5d564de9ce6a124b41a8f230
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Data/RBMap/Basic.lean
52af33ea028607ada6440ea75a1fbbd4eef604db
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,736
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.Data.Repr import Init.Data.Option.Basic universes u v w w' inductive Rbcolor | red | black inductive RBNode (α : Type u) (β : α → Typ...
8a5a2df7b72ffd48e8637906ddc01743dfa65d17
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Init/Data/Float.lean
014f3a5647f7b644811b0151058ca7eda5708221
[ "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
3,711
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 -/ prelude import Init.Core import Init.Data.ToString.Basic structure FloatSpec := (float : Type) (val : float) (lt : float → float → Prop) (le ...
6192c171119cb48eb0aa42c1a0ec9343835e5ceb
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/pi_system.lean
966bb5c5913ba716727758234977196d8808edae
[ "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
21,378
lean
/- Copyright (c) 2021 Martin Zinkevich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Martin Zinkevich -/ import measure_theory.measurable_space_def import data.equiv.encodable.lattice /-! # Induction principles for measurable sets, related to π-syste...
7427f3e0aa273300493cb7b32d2e4712bffeac64
76c77df8a58af24dbf1d75c7012076a42244d728
/src/ch7.lean
bf81dc22e1634bfb8eaf17dcf3af1ade5e2dcaa8
[]
no_license
kris-brown/theorem_proving_in_lean
7a7a584ba2c657a35335dc895d49d991c997a0c9
774460c21bf857daff158210741bd88d1c8323cd
refs/heads/master
1,668,278,123,743
1,593,445,161,000
1,593,445,161,000
265,748,924
0
1
null
null
null
null
UTF-8
Lean
false
false
16,281
lean
import tactic -- Section 7.1: Enumerated Types namespace s71 inductive weekday : Type | sunday : weekday | monday : weekday | tuesday : weekday | wednesday : weekday | thursday : weekday | friday : weekday | saturday : weekday #check weekday.sunday #check weekday.monday open weekday #check s...
ae175a92b63423551ff81fb0c05da352a0ed88aa
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/refine2.lean
1694579422658bc6a6ba5663bb72bb91bde50fa4
[ "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
157
lean
import logic example {A : Type} (f : A → A) (a b : A) : f a = b → f (f a) = f b := begin intro fa_eq_b, refine (congr_arg f _), exact fa_eq_b end
7cfabbd4bb4a56c8226d4a5c607ded43c6c22b5a
75bd9c50a345718d735a7533c007cf45f9da9a83
/src/data/mv_polynomial/basic.lean
70ddb3f7ebf7c6195596a8d48861ff6298fbd8dd
[ "Apache-2.0" ]
permissive
jtbarker/mathlib
a1a3b1ddc16179826260578410746756ef18032c
392d3e376b44265ef2dedbd92231d3177acc1fd0
refs/heads/master
1,671,246,411,096
1,600,801,712,000
1,600,801,712,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,623
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import data.polynomial.eval /-! # Multivariate polynomials This file defines polynomial rings over a base ring (or even semiring), ...
8f6f3abac6b8e2c436af3be6497866ff6573f06e
0d9b0a832bc57849732c5bd008a7a142f7e49656
/src/soko_level29.lean
c7c8d4e9a44b795fa1a07152bfd5e9ea4d0634c5
[]
no_license
mirefek/sokoban.lean
bb9414af67894e4d8ce75f8c8d7031df02d371d0
451c92308afb4d3f8e566594b9751286f93b899b
refs/heads/master
1,681,025,245,267
1,618,997,832,000
1,618,997,832,000
359,491,681
10
0
null
null
null
null
UTF-8
Lean
false
false
21,625
lean
import .sokolevel def soko_level_29 := sokolevel.from_string " ##### # ## # $ ######### ## # # ###### ## # $#$#@ # # # # $ # $ # # ### ######### ## # ## ..*..... # ## ## ## *.*..*.* # ## # $########## ##$ # # $ $ $ $ # # # # # # # ################...
0217e011e2fdaea3225453dd681932b79148ae1d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/linear_pmap.lean
9362c87be5b207059479bdda2a88911f93e8f1aa
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
16,691
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import linear_algebra.basic import linear_algebra.prod /-! # Partially defined linear maps A `linear_pmap R E F` is a linear map from a submodule of `E` to `F`. We...
4c8a1b8c05a78e6a9be131182b904e134026ad91
9db059bff49b1090a86ec0050ac6c577eb16ac67
/src/meetings/analysis.lean
e3f93e6b94acbe8c0ea4afb90e775119367a374f
[]
no_license
fpvandoorn/Harvard-tutoring
d64cd75c4c529009ee562c30e9cb245fe237e760
a8846c08e32cdc7b91a7e28adfa5d9b2810088b0
refs/heads/master
1,680,870,428,641
1,617,022,194,000
1,617,022,194,000
330,297,467
1
0
null
null
null
null
UTF-8
Lean
false
false
4,347
lean
import analysis.special_functions.trigonometric import analysis.special_functions.integrals import analysis.calculus.lhopital open set real topological_space measure_theory open_locale real topological_space big_operators ennreal /- # Analysis in Lean -/ example : deriv (λ x : ℝ, x^2) 2 = 4 := by norm_num example (...
1262f76567da376d03155b66b9a4722112879781
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/sym2.lean
4cdc4b912aad40bedbbb214fbd87077b64e7eca0
[ "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
13,869
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kyle Miller. -/ import tactic.linarith import data.sym open function open sym /-! # The symmetric square This file defines the symmetric square, which is `α × α` modulo swapping. This i...
8f580ea9bc559257c5adf5cd8a156b14daff160c
761fea1362b10b4c588c2dfc0ae90c70b119e35d
/src/dump.lean
2ae437a56d1c1ab25cba463a2e58104f1244a5f0
[]
no_license
holtzermann17/mm-lean
382a29fca5245f97cf488c525ed0c9594917f73b
a9130d71ed448f62df28d4128043b707bad85ccd
refs/heads/master
1,588,477,413,982
1,553,885,046,000
1,553,885,046,000
178,404,617
0
0
null
1,553,863,829,000
1,553,863,828,000
null
UTF-8
Lean
false
false
1,865
lean
import imports mathematica system.io open native tactic mathematica meta def gen_thm : tactic $ list (name × expr) := do env ← get_env, return $ env.fold [] (λ dcl l, match dcl with | declaration.defn nm _ tp val _ tt := (nm, tp) :: l | declaration.thm nm _ tp val := (nm, tp) :: l | _ := l ...
2c82acc23c5f9f0a8b971ba74fe815a133cf3fb4
26ac254ecb57ffcb886ff709cf018390161a9225
/src/computability/primrec.lean
7e24e71db4b10e605363a591132bf07a7b39c5d5
[ "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
51,998
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.equiv.list /-! # The primitive recursive functions The primitive recursive functions are the least collection of functions `nat → nat` which are closed u...
e01da55ddd400e22e920b9403cd66b3f6aba329f
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/Papyrus/Script/Instructions.lean
57293fca05da225609d724c6783f6751d2aec93c
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,645
lean
import Lean.Parser import Papyrus.Builders import Papyrus.Script.Do import Papyrus.Script.Type import Papyrus.Script.Value import Papyrus.Script.ParserUtil namespace Papyrus.Script open Builder Lean Parser Term @[runParserAttributeHooks] def syncscope := nonReservedSymbol "syncscope " true >> "(" >> termParser >> "...
951f4f0a033f13c747e5aee388369ecde5fe62ad
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_theory/unnamed_214.lean
b272d28ed91b155b15a642a982395e7df0a74f30
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
115
lean
variables p q r : Prop -- BEGIN example (h : (p ∧ q) ∧ r) : q := begin show q, from (h.left).right end -- END
5f6efd69b1b8d9f4bd896275ff5cbd45bf919de2
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/generalizeTelescope.lean
2cac11e6541f0aa5c07468a9f11e37bd8412be93
[ "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
1,439
lean
import Lean new_frontend open Lean open Lean.Meta inductive Vec (α : Type) : Nat → Type | nil : Vec α 0 | cons {n} : α → Vec α n → Vec α (n+1) set_option trace.Meta.debug true def nat := mkConst `Nat def succ := mkConst `Nat.succ def tst1 : MetaM Unit := withLocalDeclD `n nat $ fun n => do let n1 := mkApp ...
3b90fb06f8f872a6125de8d74ea3b96d084e89ae
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Server/FileWorker.lean
ad33da466794c9ff5557776a9debf489dd7ad741
[ "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
23,238
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Lean.Data.RBMap import Lean.Environment import Lean.Data.Lsp import Lean.Data.Json.FromToJson import Lean.Util.Paths...
732491e9a666d55376aa15c145738870f56f532c
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/linear_algebra/tensor_product.lean
6b89a08161cca555dd71fff9479557094de6c182
[ "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
43,408
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro -/ import group_theory.congruence import algebra.module.submodule.bilinear /-! # Tensor product of modules over commutative semirings. This file constructs the ...
add58e69abe389dfdf32cbf0e39ddd0922a58cd9
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/linterSuspiciousUnexpanderPatterns.lean
3dc3961b94ed681009c6213ba239173192bb7fce
[ "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
376
lean
import Lean set_option linter.suspiciousUnexpanderPatterns true @[appUnexpander List.nil] def unexpandListNilBad : Lean.PrettyPrinter.Unexpander | `(List.nil) => `([]) | _ => throw () /--hey-/ @[appUnexpander List.cons] private def unexpandListConsBad : Lean.PrettyPrinter.Unexpander | `(List.cons $x []) ...
e7f2c8068b1980916e6b0920c5382c4d3650ea1c
d5bef83c55d40cb88f9a01b755c882a93348a847
/library/init/data/fin/basic.lean
148c96e66df3b897dc62ee23c5e9fe3632cf8a59
[ "Apache-2.0" ]
permissive
urkud/lean
587d78216e1f0c7f651566e9e92cf8ade285d58d
3526539070ea6268df5dd373deeb3ac8b9621952
refs/heads/master
1,660,171,634,921
1,657,873,466,000
1,657,873,466,000
249,789,456
0
0
Apache-2.0
1,585,075,263,000
1,585,075,263,000
null
UTF-8
Lean
false
false
1,534
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.nat.basic open nat /-- `fin n` is the subtype of `ℕ` consisting of natural numbers strictly smaller than `n`. -/ def fin (n : ℕ) :=...
c5e95b049e426d47581b15acbc81863d535ef554
968e2f50b755d3048175f176376eff7139e9df70
/examples/pred_logic/unnamed_610.lean
cc56303d668cddaed997bd9a0b3781acb4a978a4
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
723
lean
import tactic.interactive variables (U : Type*) (S T : U → Prop) -- BEGIN example (h₁ : ∃ x, S x ∧ T x) : ∃ y, S y := begin have h₂ : ∀ y, S y ∧ T y → ∃ y, S y, -- We'll show `h₂ : ∀ y, S y ∧ T y → ∃ y, S y`. { assume u : U, -- Assume `u : U`. It suffices to prove `S u ∧ T u → ∃ y, S y`. assume k₁ : S u ∧ T u, ...
ae9760a984664378d42dd9d48c9abe86e3acfea8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/idempotents/functor_categories.lean
3df7fa5b83120d52b9a50f2b3835493484637635
[ "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,667
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import category_theory.idempotents.karoubi /-! # Idempotent completeness and functor categories > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require...
d32491c1c4ca3a501f23a0f87bdfb56ee5aa6fad
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebra/classical_lie_algebras.lean
9bdd8a6480959f28b61cf71387d8981ae07adc67
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
2,970
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie_algebra import linear_algebra.matrix /-! # Classical Lie algebras This file is the place to find definitions and basic properties of the classical Lie ...
7a918ef677747cf2c4037c25545e867d7ad35efb
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/tactic/dependencies.lean
cb8b07db811617d4e726bf9dd05ad035561efe7e
[ "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
30,414
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import tactic.core /-! # Tactics About Dependencies This module provides tactics to compute dependencies and reverse dependencies of hypotheses. An expression `e` d...
80b63960473801432cf8a46c5c559fb39ad6a87c
5d76f062116fa5bd22eda20d6fd74da58dba65bb
/src/snarks/pinocchio/knowledge_soundness.lean
339f2e9b8f1947f5787ef5276ecd5a974d443955
[]
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
28,821
lean
/- Author: Bolton Bailey -/ import data.mv_polynomial.basic import data.polynomial.div import data.polynomial.field_division import algebra.polynomial.big_operators import .vars /-! # Knowledge Soundness This file proves the knowledge-soundness property of the second, refined protocol described in the Pinocchio paper...
fe34abf3def3b293bab0728d94d00209ae0844de
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/matrix/basic.lean
d440024db7b804792189f4ab78facd58d3bacb62
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
54,448
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin -/ import algebra.big_operators.pi import algebra.module.pi import algebra.module.linear_map import algebra.big_operator...
25afc4882ab22b6f93182770f74394c0cfb07991
a8c03ed21a1bd6fc45901943b79dd6574ea3f0c2
/prover_state.lean
aa14d5a7af67a4fcca5090acc9361e2b1307193d
[]
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
13,900
lean
import clause lpo cdcl_solver open tactic monad expr meta structure locked_cls := (id : name) (c : clause) (assertions : list expr) (reasons : list (list expr)) namespace locked_cls meta instance : has_to_tactic_format locked_cls := ⟨λc, do c_fmt ← pp c↣c, ass_fmt ← pp (c↣assertions↣for (λa, a↣local_type)), reasons_...
90c1084149624eccabb4d6a2780f23e034f107fd
6e41ee3ac9b96e8980a16295cc21f131e731884f
/tests/lean/slow/nat_wo_hints.lean
07c200530bb43ae705133aec7e447307a77b64ef
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
49,588
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 -----------------------------------------------------------...
696c5720e1e46965dcbe586edce4e74f6d2b9183
aa5a655c05e5359a70646b7154e7cac59f0b4132
/src/Lean/Meta/DiscrTree.lean
bcb23418123c2fa19514ebf2d1dc578058da3d8d
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,478
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Basic import Lean.Meta.FunInfo import Lean.Meta.InferType namespace Lean.Meta.DiscrTree /- (Imperfect) discrimination trees. We use a ...
3f3d45fb94bd2e86343397e8da1d2ecf77cf5a7e
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/Ext.lean
3e91386c13c463fbd6ef9384dfe629a1354d3f3e
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
1,204
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Basic import Mathport.Syntax.Translate.Tactic.Mathlib.RCases open Lean namespace Mathport.Translate.Tactic open AST3 ...
3a4bbfd24aaaf02b1683ead4889e6608a3ce8043
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/integral_closure.lean
7daebd198ba68491693b3b0e6ac77a990c6927ac
[ "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
39,697
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 linear_algebra.finite_dimensional import ring_theory.adjoin.fg import ring_theory.polynomial.scale_roots import ring_theory.polynomial.tower import linear_algebra.matrix...
c410f474fe3c2af57a41ef91590b8f587403f4b9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/digits.lean
a69c1ce229fe611a22fbed896a41dae35c771c9d
[ "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
22,853
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Shing Tak Lam, Mario Carneiro -/ import data.int.modeq import data.nat.bits import data.nat.log import data.list.indexes import data.list.palindrome import algebra.pari...
7677df26574ef1c2348ac45af0f143ce3e00af44
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/metric_space/isometry.lean
2629d2a6e487e60bfd894593171cd81cf59ab655
[ "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
13,056
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel We define isometries, i.e., maps between emetric spaces that preserve the edistance (on metric spaces, these are exactly th...