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
642697f6423fff3a8674b787160c9cfc4f1eac30
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/topology/sheaves/sheaf.lean
cd0c19f638a33e37aa94aa5f2d5825e1cb219b27
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
10,785
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 topology.sheaves.presheaf import category_theory.limits.punit import category_theory.limits.shapes.products import category_theory.limits.shapes.equalizers /-...
d777dcea70b557a40068072ab0e2bd903243f9ab
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/notation3.lean
c806bd76db8567c9d263fb95c67b1e2104acbb52
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
148
lean
import data.prod data.list data.num open list prod num constants a b : num check [a, b, b] check (a, true, a = b, b) check (a, b) check [1, 2+2, 3]
28b1e7ab282db916dc969d1684867d3730d40abc
80162757f50b09d3cad5564907e4c9b00742e045
/filter.lean
ffac3f51255f44cf7856d1085304d2c30d22658f
[]
no_license
EdAyers/edlib
cc30d0a54fed347a85b6df6045f68e6b48bc71a3
78b8c5d91f023f939c102837d748868e2f3ed27d
refs/heads/master
1,586,459,758,216
1,571,322,179,000
1,571,322,179,000
160,538,917
2
0
null
null
null
null
UTF-8
Lean
false
false
5,902
lean
import .set .lattice .order open set lattice structure filter (α:Type*) := (sets : set (set α)) (univ_sets : set.univ ∈ sets) (sets_of_superset {X Y} : X ∈ sets → X ⊆ Y → Y ∈ sets) (inter_sets {X Y} : X ∈ sets → Y ∈ sets → X ∩ Y ∈ sets) namespace filter universes u variables {α : Type u} {ℱ 𝒢 : filter α} {X Y : set α...
b882bb7aa0668b9b9dbfd5f3843e17c95ca04ec9
3863d2564418bccb1859e057bf5a4ef240e75fd7
/hott/homotopy/hopf.hlean
d199ace9d8405711cb814750b3254dc29eabfa19
[ "Apache-2.0" ]
permissive
JacobGross/lean
118bbb067ff4d4af48a266face2c7eb9868fa91c
eb26087df940c54337cb807b4bc6d345d1fc1085
refs/heads/master
1,582,735,011,532
1,462,557,826,000
1,462,557,826,000
46,451,196
0
0
null
1,462,557,826,000
1,447,885,161,000
C++
UTF-8
Lean
false
false
6,811
hlean
/- Copyright (c) 2016 Ulrik Buchholtz and Egbert Rijke. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz, Egbert Rijke H-spaces and the Hopf construction -/ import types.equiv .wedge .join open eq eq.ops equiv is_equiv is_conn is_trunc trunc susp join ...
10088014cc316a7669f6fb4ad8c26466731ee318
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/nat/choose/basic.lean
b223f1400df931d469950630f9c188b70de285eb
[ "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
11,437
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Bhavik Mehta -/ import data.nat.factorial.basic /-! # Binomial coefficients This file defines binomial coefficients and proves simple lemmas (i.e. those not requiring mor...
57748c4b224671cc0f2756e7d8419a3e9e78c611
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/number_theory/quadratic_reciprocity_auto.lean
44571a435427b17c43c29958155677d9b54de610
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
6,436
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.field_theory.finite.basic import Mathlib.data.zmod.basic import Mathlib.data.nat.parity import ...
cba07cabbbf62afe3840e673a6c9d93bf9ecedff
137c667471a40116a7afd7261f030b30180468c2
/src/tactic/transform_decl.lean
6959bcaa5e957f2eec8cc4c749c7c0f7bb034885
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,472
lean
/- Copyright (c) 2017 Mario Carneiro All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import tactic.core namespace tactic open expr /-- Auxilliary function for `additive_test`. The bool argument *only* matters when applied to exactly...
5a75c44cb2efe7ac649ac76513eb875175693805
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/model_theory/basic.lean
e579841a4a73ef55de2820deb8262b01953ec83b
[ "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
29,600
lean
/- Copyright (c) 2021 Aaron Anderson, Jesse Michael Han, Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jesse Michael Han, Floris van Doorn -/ import data.nat.basic import data.set_like.basic import data.set.lattice import order.closur...
23248bb1cfc1c52ef16c343ffc99260d00c411fa
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/Tactic/Revert.lean
4d1cc137e9581f00b0b665d1728c1c0796808b8f
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,876
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Clear namespace Lean.Meta def revert (mvarId : MVarId) (fvarIds : Array FVarId) (preserveOrder : Bool := false) : MetaM (Array FVa...
c3d3da3f846c23897ea16e06a9aaea79a0ecfa44
3dd1b66af77106badae6edb1c4dea91a146ead30
/library/standard/binary.lean
c9eaa4717dddcaecb59470f64df7a567798a100b
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
980
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 logic using eq_proofs namespace binary section parameter {A : Type} parameter f : A → A → A infixl `*`:75 := f abbreviation commutative :...
35ab1fde38a6db126160dd7688a9c226ab7114b2
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/instances/real.lean
12761309a2288356747e96b6bf7304bba8007c64
[ "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
17,270
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...
0656e82a7ee50a6e657f50e9f167cb716de48ce1
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/instances/real.lean
392a2b62d06b8da31f7b368a30da37d98c9581c3
[ "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
16,391
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...
b76f16baf4ae4bb3ef70f0cb290086af03ade130
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/redundant_pattern.lean
065498701058490d989804c57181b86da1937273
[ "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
234
lean
constants P : nat → Prop constants R : nat → nat → Prop constants f g : nat → nat definition foo [forward] (m n k : nat) : P (f m) → P (g n) → P (f k) → P k ∧ R (g m) (f n) ∧ P (g m) ∧ P (f n) := sorry print foo
6b134053d98e384ddad31debfec3f2c629cda5b0
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/data/nat/gcd.lean
899ca756d35a25f77b8d09a23bed9e9ecd171de1
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
15,742
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import data.nat.basic /-! # Definitions and properties of `gcd`, `lcm`, and `coprime` -/ namespace nat /-! ### `gcd` -/ theorem gcd_dvd (m n : ℕ...
3bcccc4a522e3d905f26534d2fa3e48c1ef8fb79
137c667471a40116a7afd7261f030b30180468c2
/src/analysis/calculus/mean_value.lean
9263f94bf532616757381483cb46d5f6e6f441d1
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
60,521
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, Yury Kudryashov -/ import analysis.calculus.local_extr import analysis.convex.topology import data.complex.is_R_or_C /-! # The mean value inequality and equaliti...
4b057245557db1043db1360cab2d78d2efc66019
4727251e0cd73359b15b664c3170e5d754078599
/src/data/mv_polynomial/funext.lean
ed08c70b9336c9806f90b8e32242fbeb9bb80d04
[ "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
3,316
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.polynomial.ring_division import data.mv_polynomial.rename import ring_theory.polynomial.basic /-! ## Function extensionality for multivariate polynomials...
ff243ce6b137b51e5c4d67aec10aed3df67f1ad5
63abd62053d479eae5abf4951554e1064a4c45b4
/src/analysis/calculus/times_cont_diff.lean
bc63f85ead175d37c6a139b4b249a873eb20e003
[ "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
129,556
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 analysis.calculus.mean_value /-! # Higher differentiability A function is `C^1` on a domain if it is differentiable there, and its derivative is contin...
8fa83fa854bdcfe2b4387f15208973e5108c86f1
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/p_group.lean
cd1ac4f63fb67f4eb3c4e3ca30061e718fd9832f
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
11,995
lean
/- Copyright (c) 2018 . All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import data.zmod.basic import group_theory.index import group_theory.group_action.conj_act import group_theory.perm.cycle_type import group_theory.quotient_group /...
c7b217d3c7ef9afff7b59e8dd89f8e02457597fc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/group/commutator.lean
874c92a99f0e0352efe22f7f2b044178b2f91a5e
[ "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
688
lean
/- Copyright (c) 2022 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import algebra.group.defs import data.bracket /-! # The bracket on a group given by commutator. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this ...
f8e4f8a2694cc5551a67d692d055dd03e65db7a7
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/analysis/calculus/tangent_cone.lean
54592889c52d3a3b3c3dd4b8f64832d15a5b5717
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
16,558
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 analysis.convex.basic import analysis.normed_space.bounded_linear_maps import analysis.specific_limits /-! # Tangent cone In this file, we define two p...
9adff29adf1bc34140d271ffe1986d1f2a5b3ff2
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/number_theory/zsqrtd/basic.lean
c65da606b3ebd6e9405819a3bfd963e1eaf349fa
[ "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
31,876
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.associated import tactic.ring /-! # ℤ[√d] The ring of integers adjoined with a square root of `d : ℤ`. After defining the norm, we show that it is a...
85448b493908382337e8222e2dafbf99985972bc
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/succ_pred/basic.lean
a6ff473bbec3dff0074325963ba48932dd6b4ba9
[ "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
38,119
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.complete_lattice import order.cover import order.iterate import tactic.monotonicity /-! # Successor and predecessor This file defines successor and predece...
899017441327a0b19bcfc20759acad132090c0e4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/user_attribute.lean
27506fc8d513595456fabc0da9e90e87c3b13bf5
[ "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
851
lean
definition foo_attr : user_attribute := ⟨`foo, "bar"⟩ run_command attribute.register `foo_attr attribute [foo] eq.refl print [foo] print eq.refl run_command attribute.get_instances `foo >>= tactic.pp >>= tactic.trace print "---" -- compound names definition foo_baz_attr : user_attribute := ⟨`foo.baz, "bar"⟩ run_com...
884ccffe5ad82765375e2195242a1d57fbcca40f
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/simp_tactic.lean
c67de6b91f0b38e37868146c4c42e8e847e5b12d
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
27,811
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.meta.tactic init.meta.attribute init.meta.constructor_tactic import init.meta.relation_tactics init.meta.occurrences import init.data.op...
db472748c3b00b22f187a544a0d132c3972e99dd
c9ba4946202cfd1e2586e71960dfed00503dcdf4
/src/object_k/object_symbol.lean
c7e12a1f7b154aaeeba2bded3aee2fec48709bdc
[]
no_license
ammkrn/learning_semantics_of_k
f55f669b369e32ef8407c16521b21ac5c106dc4d
c1487b538e1decc0f1fd389cd36bc36d2da012ab
refs/heads/master
1,588,081,593,954
1,552,449,093,000
1,552,449,093,000
175,315,800
0
0
null
null
null
null
UTF-8
Lean
false
false
1,568
lean
import .object_sort import .object_var import meta_k.meta_symbol -- ############################################ -- ##### object_symbol ################## @[derive decidable_eq] inductive object_symbol | mk : string → list object_sort → list object_sort → object_sort → object_symbol notation `~Symbol` := ob...
8903492a5d786d5ff38c530ddbb8ea32ebb3a60a
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/solutions/thursday/category_theory/exercise7.lean
2b7a39d2c2ab49f2860d5fecfc67719be3005a08
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,368
lean
import category_theory.monoidal.category import algebra.category.CommRing.basic /-! Let's define the category of monoid objects in a monoidal category. -/ open category_theory variables (C : Type*) [category C] [monoidal_category C] structure Mon_ := (X : C) (ι : 𝟙_ C ⟶ X) (μ : X ⊗ X ⟶ X) -- There are three missin...
2c2bede432147dfb37a15d154004cff98dcac70f
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/group_power/basic.lean
bf9818b7fa7513e64f318d7ae99a73d583ccd75d
[ "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
17,470
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.order.ring import tactic.monotonicity.basic import group_theory.group_action.defs /-! # Power operations on monoids and groups The pow...
0e3c61306f4a1bbcdfd5f4004949946b81f3337b
95a02f25ddbaf30f9e6fdb8043e6fd3c197ea01c
/src/axiomatization.lean
0395b052a8a125e1912a742b5b158152a42bcaeb
[ "MIT" ]
permissive
praalhans/lean-abs
b23aad54878c06f5a495dfff63260b72d17e9b99
5d23eec7234c880f5ebc0d7b831caf55119edef8
refs/heads/master
1,587,416,771,564
1,575,885,115,000
1,575,885,115,000
169,097,861
0
0
null
null
null
null
UTF-8
Lean
false
false
1,059
lean
/- Copyright 2019 (c) Hans-Dieter Hiep. All rights reserved. Released under MIT license as described in the file LICENSE. -/ import semantics open list variables {α β : Type} [objects α β] /- We consider the conditions required for reachable global histories. -/ /- A global history is a sequence of events, restric...
a6063955631ce4d0c72984e3303b4088977d8db9
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category/bitraversable/lemmas.lean
71922635b7860272254663dcc2c32911ffbf3ec3
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
3,327
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import category.bitraversable.basic /-! # Bitraversable Lemmas ## Main definitions * tfst - traverse on first functor argument * tsnd - traverse on second functor ...
02e231c37e68ba3a885553e8f3ee8a3ad786dbc4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/termination_by.lean
b1c239a99cf307c52669a4a930479c5a01e26f91
[ "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
731
lean
mutual inductive Even : Nat → Prop | base : Even 0 | step : Odd n → Even (n+1) inductive Odd : Nat → Prop | step : Even n → Odd (n+1) end termination_by' measure mutual def f (n : Nat) := if n == 0 then 0 else f (n / 2) + 1 termination_by' measure end def g' (n : Nat) := match n with | 0 => 1...
fe7061a991c7aa50e98daa56ca401a9341f88d00
4fa118f6209450d4e8d058790e2967337811b2b5
/src/valuation_spectrum.lean
b253c649c56645c25479fb806971204c1e8da2b3
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
9,950
lean
import topology.order import group_theory.quotient_group import valuation.canonical /-! # Valuation Spectrum (Spv) The API for the valuation spectrum of a commutative ring. Normally defined as "the equivalence classes of valuations", there are set-theoretic issues. These issues are easily solved by noting that two va...
3b41e90bbef9976fec7e05a6ff48c6d2e2117b83
1437b3495ef9020d5413178aa33c0a625f15f15f
/data/polynomial.lean
4ec0bee65ceebed766dd277a1e2fbaf5212fa08e
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
85,125
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, Jens Wagemaker Theory of univariate polynomials, represented as `ℕ →₀ α`, where α is a commutative semiring. -/ import data.finsupp algebra.euclidean_domai...
90c44bfe1b0fd0f48f99e86ce95ebd6d07534638
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/topology/instances/real.lean
c850fb12012ea20fec477bfa48fa0dba815f37dc
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,664
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 topology.algebra.continuous_functions imp...
07e121f4bb1a96b324cec6a0633afb765b6678a1
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/group_power/basic.lean
509d2de3d6e166a1891de9a3517b85175ddded81
[ "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
26,586
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.ordered_ring import tactic.monotonicity.basic import deprecated.group /-! # Power operations on monoids and groups The power operation...
0248e5e17d3e86592498acd944174a208032206a
fe84e287c662151bb313504482b218a503b972f3
/src/data/cfrac/cfrac.lean
2e9dd62eef8521325f3dc788da7152afe631271b
[]
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
9,409
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This file attempts to define the rationals using a variant of continued fractions as the primary definition. Essentially, the point is that any strictly positive ra...
d7a823872ebc634f4e3994361688930103e93522
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/hole_in_fn.lean
866aad72b9ff628aa12ce4b204165be9892124a0
[ "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
84
lean
inductive foo | mk : (nat → nat) → foo definition f : foo := foo.mk (λ n, _)
984c762f4ae0a78eb34719d31846665edd67e3d6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/monoid/type_tags.lean
f0544665e062f1484bf774172cd7c96d706d0149
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,660
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, Johannes Hölzl -/ import algebra.group.type_tags import algebra.order.monoid.cancel.defs import algebra.order.monoid.canonical.defs /-...
6a0e19decd4e5f62d9db2c8edf8d8ce15eee1894
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/lattice.lean
eed3fafc02a1899ce6d938a942a9685942578dd5
[ "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,675
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Justus Springer -/ import order.complete_lattice import category_theory.limits.shapes.pullbacks import category_theory.category.preorder import category_theory.limits.s...
d863a64cce84885cd07e26a918c9b474b745f6da
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/bench/qsort.lean
e271596a13855db391cb5d691d1a2217d7902a58
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,460
lean
#lang lean4 abbrev Elem := UInt32 def badRand (seed : Elem) : Elem := seed * 1664525 + 1013904223 def mkRandomArray : Nat → Elem → Array Elem → Array Elem | 0, seed, as => as | i+1, seed, as => mkRandomArray i (badRand seed) (as.push seed) partial def checkSortedAux (a : Array Elem) : Nat → IO Unit | i => if i <...
eae9b346baec4fc5d53b62296efad65b5fb62800
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/tactic/interval_cases.lean
0672f18f01204baf66f2aa9eaa70113d2176fa0d
[ "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
10,987
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.fintype.intervals import tactic.fin_cases /-! # Case bash on variables in finite intervals This file provides the tactic `interval_cases`. `interval_cas...
593ceb882792464a8525e7b32f050342c1d8ca7c
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/category_theory/monad/basic.lean
387437f257047cb24a5897af188fc12695e00997
[ "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
2,117
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.functor_category namespace category_theory open category universes v₁ u₁ -- declare the `v`'s first; see `category_theory.categ...
dc5e2bd993e4d12c853265bf65968de819fedc6c
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/algebra/module.lean
4dd710e2dd1548d5faa6ca12b48ef4469dcad608
[ "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
48,953
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo, Yury Kudryashov -/ import topology.algebra.ring import topology.uniform_space.uniform_embedding import algebra.algebra.basic import li...
68d9edb2e9d06c581840f95d27d1794e6e11d21e
367134ba5a65885e863bdc4507601606690974c1
/src/data/list/default.lean
807ad2a5a339b61ad0514acbd26620904040f505
[ "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
717
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import data.list.alist import data.list.bag_inter import data.list.basic import data.list.chain import data.list.defs import data.list.erase_dup import data.list...
631b068a420dea6ae2db4c69382351952977c278
00de0c30dd1b090ed139f65c82ea6deb48c3f4c2
/src/algebra/group_with_zero.lean
f173e166c5edb2942703889df7f403cea443dc2f
[ "Apache-2.0" ]
permissive
paulvanwamelen/mathlib
4b9c5c19eec71b475f3dd515cd8785f1c8515f26
79e296bdc9f83b9447dc1b81730d36f63a99f72d
refs/heads/master
1,667,766,172,625
1,590,239,595,000
1,590,239,595,000
266,392,625
0
0
Apache-2.0
1,590,257,277,000
1,590,257,277,000
null
UTF-8
Lean
false
false
19,139
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.group.units import algebra.ring import tactic.push_neg /-! # Groups with an adjoined zero element This file describes structures that are not usually...
ce03a5cca24a4cc64449921a700d664494a1d17a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/star/chsh.lean
019da618b60143850de3635113f5cd0810c4c31b
[ "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
11,333
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.star.basic import algebra.algebra.ordered import analysis.special_functions.pow /-! # The Clauser-Horne-Shimony-Holt inequality and Tsirelson's inequa...
8c4c180e3c984f6c499fefb29843a6fda1837c48
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/fin/basic.lean
2597d23aafd75334adeda9eeaa239dc58c6f86d0
[ "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
78,572
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import data.nat.cast import data.int.basic import tactic.localized import tactic.apply_fun import order.rel_iso /-! # The finite type with `n` element...
298f54e3b5089080f608a1359e016128bd581533
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/order/field.lean
0a07899914a9d1695b74a09117ff8235aca703d8
[ "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
34,281
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Mario Carneiro, Floris van Doorn -/ import algebra.order.field_defs /-! # Linear ordered (semi)fields A linear ordered (semi)field is a (semi)field equ...
66c155f0686f831992fc204e9685893ff3748725
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/ring_theory/ideal_operations.lean
a46c2ee08fa523a17e417ab05eb66cdc73da2c63
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
26,863
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau More operations on modules and ideals. -/ import ring_theory.ideals data.nat.choose order.zorn import linear_algebra.tensor_product import data.equiv.algebra import ring_theory....
944f1b80ccb8508bf40813983cd7ac04c0790725
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/ring.lean
49894673b7973ec681ee09bdc00145bf9617c298
[]
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
13,298
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.norm_num import Mathlib.data.int.range import Mathlib.PostPort universes u_1 l na...
ca2d5a4c1b7a9a5205b4925db1d6f1019f79a074
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/matrix/general_linear_group.lean
5a6c6f6e3505132248ee2c1e6fdf0812a5afcf56
[ "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
8,611
lean
/- Copyright (c) 2021 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import linear_algebra.general_linear_group import linear_algebra.matrix.nonsingular_inverse import linear_algebra.matrix.special_linear_group /-! # The General Linea...
38b0a47945df88b0eeb271a1c569098d8d7686ff
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Lean/ResolveName.lean
f9b2ace28a8f214ab2a5398a54c472c42fd38762
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,994
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.OpenDecl import Lean.Hygiene import Lean.Modifiers import Lean.Exception namespace Lean /-! We use aliases to impleme...
6e1a6d4e74ea0516ecb07a19eacd1040e8190d52
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/metric_space/thickened_indicator.lean
59f690929ae744e4fe8fafe05650d1b1d3cd1dc6
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
11,751
lean
/- Copyright (c) 2022 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä -/ import data.real.ennreal import topology.continuous_function.bounded import topology.metric_space.hausdorff_distance /-! # Thickened indicators This file is about thick...
6df6deebb1c579f34f17e0e67d2b5150675229c8
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/parserPrio.lean
60c052ad5ecf4aed36462c83e088673fa809f0c9
[ "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
861
lean
-- New notation that overlaps with existing notation syntax [myPair, 100] "(" term "," term ")" : term macro_rules[myPair] | `(($a, $b)) => `([$a, $b]) #eval (1, 2) -- not ambiguous since myPair parser has higher priority theorem ex1 : (1, 2) = [1, 2] := rfl -- Define macro for expanding the builtin triple notati...
44553314b6a361ddb3ce69d8e8171299af999352
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/zmod.lean
85aa3d4eed097c0c11964838b1fa021e192a8dad
[ "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,024
lean
/- Copyright (c) 2022 Alex J. Best. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alex J. Best -/ import algebra.squarefree import data.zmod.basic import ring_theory.int.basic /-! # Ring theoretic facts about `zmod n` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any...
11c03186550575f6fc330bbe3732de8c0c3fbc3f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/logic/equiv/defs.lean
d473f09861fdc0afef71bae25def10ba5a42a2e6
[ "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
35,353
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.fun_like.equiv import logic.unique /-! # Equivalence between types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github...
7d1cfbe13ee120caff3746db9bb7a360b819dfab
b73bd2854495d87ad5ce4f247cfcd6faa7e71c7e
/src/game/world1/level3.lean
59a44c2502c3094ff5e18a39ff0bd10ccaa5f5ed
[]
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
1,152
lean
import category_theory.category.default 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] /- # Category world ## Level 3: The `specialize` tactic -/ /-So recall that, in t...
e92f1f7542f928a06bba2fd55d25c27162c4f8a9
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/for_mathlib/sequences.lean
57f05f51fa035d8f9588f4d1f79e54715d67c445
[]
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,684
lean
import topology.sequences import topology.algebra.normed_group import topology.algebra.group_completion import topology.metric_space.completion import for_mathlib.normed_group_hom -- **TODO** Move completion.normed_group out of for_mathlib.locally_constant noncomputable theory open filter set function open_locale u...
0dba7468fccad9f52c0ba2a11b05a184987d0aaa
c777c32c8e484e195053731103c5e52af26a25d1
/src/group_theory/p_group.lean
c07f252b002d113a96af9f8012e4f0c27e161cb0
[ "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
16,265
lean
/- Copyright (c) 2018 . All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import data.zmod.basic import group_theory.index import group_theory.group_action.conj_act import group_theory.group_action.quotient import group_theory.perm.cycle....
31fa9cc24f4f79ac1c3e3202dd650ab7bc39de25
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/EXAMS/exam1-practice-key.lean
4a48917af3e57aa0876251ec9a41e51787025fb0
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
7,953
lean
/-***************-/ /- ** BASICS ** --/ /-***************-/ /- # A Write a defintion of x as a value of type nat having the specific value 0. Be sure it type-checks. -/ def x := 0 /- # B Write a definition of f as a function of type ℕ → ℕ that returns the square of the value to which it is applied (i.e., that it...
a9b151612160d71ddc5ef58106dd554219b4005e
fe25de614feb5587799621c41487aaee0d083b08
/src/Lean/Meta/DiscrTree.lean
65e77260687f6e2ae6f816e215b83f4e1ece818d
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,154
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 import Lean.Meta.WHNF namespace Lean.Meta.DiscrTree /- (Imperfect) discriminat...
de8ea3786b9fb457eedc2defcc3c185ae82f49a8
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/omega_complete_partial_order.lean
471392a666fce99bc490df368b06d9f50b3bf071
[ "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
27,635
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 control.monad.basic import data.part import order.hom.order import tactic.monotonicity import tactic.wlog /-! # Omega Complete Partial Orders An omega-complete par...
4c2f8c94ddfbfb94b3b75e8cbff1c2de66746c58
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/lib/array.lean
1032f34a2d818956cdf58b83105d131d1f57c7cb
[ "Apache-2.0" ]
permissive
khoek/mathlib-tidy
8623b27b4e04e7d598164e7eaf248610d58f768b
866afa6ab597c47f1b72e8fe2b82b97fff5b980f
refs/heads/master
1,585,598,975,772
1,538,659,544,000
1,538,659,544,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,982
lean
universes u v z namespace array -- TODO Prove well-founded induction meta def mmap_copy_aux {k : Type v → Type z} [monad k] {α : Type u} {β : Type v} {n m : ℕ} (f : α → k β) : ℕ → array n α → array m β → k (array m β) | r x y := do if h : r < n ∧ r < m then do let fn : fin n := ⟨r, and.elim_left h⟩, ...
d483c1bf63a101b62ce8c961f79d6a8fdbb8b0d4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/schwartz_space.lean
86c4d8105c34e338c1d5a3c5731608dbd42ce207
[ "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
36,520
lean
/- Copyright (c) 2022 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import analysis.calculus.cont_diff import analysis.calculus.iterated_deriv import analysis.locally_convex.with_seminorms import topology.algebra.uniform_filter_basis impor...
8c04816b151425d10b15740745d82aaf4ec397e3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/functor/equivalence.hlean
6b303a7e88e826f77ca9744b47004bafdbeafd81
[ "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,019
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 Functors which are equivalences or isomorphisms -/ import .adjoint open eq functor iso prod nat_trans is_equiv equiv is_trunc namespace category variables {C D...
69bfaba39d80d6ba8a60c8139c985ab4e394583c
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/list/cycle.lean
44dc4f313759aa13b796398e3b2b04885dcf160f
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
24,224
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 data.multiset.sort import data.fintype.list import data.list.rotate /-! # Cycles of a list Lists have an equivalence relation of whether they are rotationa...
e9c4f209a6ec998cf60ce79c7fe2895a7e21904d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/basic.lean
1b6797a857051a72c6030d530e05689bbfbec7ec
[ "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
964
lean
import tactic.alias import tactic.clear import tactic.choose import tactic.converter.apply_congr import tactic.congr import tactic.dec_trivial import tactic.delta_instance import tactic.dependencies import tactic.elide import tactic.explode import tactic.find import tactic.finish import tactic.generalizes import tactic...
7904425b5e38c6704ab6f5c6465c6183de763ab1
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/list/pairwise.lean
2f4a72a0c2c2192ca1b5340b5563f86bec930c87
[ "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
14,229
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.basic open nat function universes u v variables {α : Type u} {β : Type v} namespace list /- pairwise relation (generalized no duplicate) -/ mk_...
8a5ff46bd20c408eca75a8d65225948c739cc15d
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebraic_topology/dold_kan/p_infty.lean
d63259f68d3e95a00a0c6c2d47ad56c64d1eeae4
[ "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
5,850
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 algebraic_topology.dold_kan.projections import category_theory.idempotents.functor_categories import category_theory.idempotents.functor_extension /-! # Construction ...
c0ce192ec85e6360dc827e33b207329a9322fa89
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Init/Data/Int/Basic.lean
5e8081cbc8981e36cdda57a6514fac58d6a6dce1
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,824
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 The integers, with addition, multiplication, and subtraction. -/ prelude import Init.Data.Nat.Basic import Init.Data.List import Init.Data.Repr import ...
7a019809804e4ded2e03b888f1625d8489da4111
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/limits/preserves/shapes/zero.lean
999241a5ad2911c342a79f123b3856bad33d6dba
[ "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
5,765
lean
/- Copyright (c) 2022 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.preserves.shapes.terminal import category_theory.limits.shapes.zero_morphisms /-! # Preservation of zero objects and zero morphisms We d...
ec2f6c0aead60876d5933d174d084300b4ce6f52
fe25de614feb5587799621c41487aaee0d083b08
/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean
84228d1ab01ef96b238279d58be34329aadb85ed
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,340
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ /-! The parenthesizer inserts parentheses into a `Syntax` object where syntactically necessary, usually as an intermediary step between the delaborator and the...
9ba5979770e1f628c73d6f2dd46037dd66c680b4
d450724ba99f5b50b57d244eb41fef9f6789db81
/src/instructor/lectures/lecture_19.lean
9ccbc61792210eb6f57ca2f3062589d6ab6a3ff3
[]
no_license
jakekauff/CS2120F21
4f009adeb4ce4a148442b562196d66cc6c04530c
e69529ec6f5d47a554291c4241a3d8ec4fe8f5ad
refs/heads/main
1,693,841,880,030
1,637,604,848,000
1,637,604,848,000
399,946,698
0
0
null
null
null
null
UTF-8
Lean
false
false
7,657
lean
import data.set /- PART II: BASIC SET THEORY Give formal and English language proofs of the following conjectures. -/ /- We'll use our favorite set, of the even numbers, in what follows, so we define it again here. -/ def evens : set ℕ := { n | n%2 = 0} /- PROOFS INVOLVING SUBSET RELATIONS -/ example : ({ 0, 2 ...
ad3b536f4862f60d8275d82f2aad74856f9d1a08
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/analytic/radius_liminf.lean
bbaad072c93dea4ff19d1db393bdf782edce5a1e
[ "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
2,619
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.analytic.basic import analysis.special_functions.pow.nnreal /-! # Representation of `formal_multilinear_series.radius` as a `liminf` > THIS FILE I...
c078d2648d4c6339357715823218735976c586cc
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/interactive.lean
d67f6f68595d524886aee7f7d06122adbe621dfc
[]
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
13,969
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.lint.default import Mathlib.tactic.d...
40901ae1e73c737cd28b5b15bb8241c37e450223
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/algebra/filter_basis.lean
128547789d5e7eb3b4602069a7c5889e98139cc8
[ "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
15,921
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 order.filter.bases import topology.algebra.module /-! # Group and ring filter bases A `group_filter_basis` is a `filter_basis` on a group with some propertie...
2d7ad911edbb33240a18ca91890696d96d23efa1
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/subobject/mono_over.lean
0325ade408c0438f8fc44c6e0e2c375875c2d5ee
[ "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,503
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.functor.currying import category_theory.limits.over import category_theory.limits.shapes.images import category_theory.adjunction.r...
ee8eacfb72c6c3c3d3d606f880c233e684697cab
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/testing/slim_check/testable.lean
0481621177560251c25d25d1fca07bb135eead9c
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
21,242
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import testing.slim_check.sampleable /-! # `testable` Class Testable propositions have a procedure that can generate counter-examples together with a proof that they i...
c7d885e5bd3de6bc5612be1ea8092372158d7546
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/pexpr.lean
589d52ee65fad2d5e731e7a4b0a6ef6d155ba3e3
[ "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,054
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.meta.expr universe variables u /- Quoted expressions. They can be converted into expressions by using a tactic. -/ meta constant pexpr ...
fa50c032e7797c4440cb2fcff057eaec8b1fc0cd
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-numbertheory-35.lean
0f8c8fb8b6b73418f09bf94b45ffd5b61dffa6da
[ "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
420
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import algebra.big_operators.basic import data.real.basic import data.nat.basic import data.finset.basic open_locale big_operators example (h₀ : fintype { n : ℕ | n ∣ (nat.sqr...
b6e6eb5494e47d2ac94d39828f7c74ae365d0cc0
94e33a31faa76775069b071adea97e86e218a8ee
/src/number_theory/padics/padic_integers.lean
c917e1a259bc1d6e5b42e6ffe331c1c12f5b06a4
[ "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
21,237
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 number_theory.padics.padic_numbers import ring_theory.discrete_valuation_ring import topology.metric_sp...
52aca5b186702432289df8dfa5cf803055af33f8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/linear_recurrence.lean
6b57b51ca8cfee32d2a0a2d848d515948839c7a5
[ "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
8,192
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import data.polynomial.eval import linear_algebra.dimension /-! # Linear recurrence Informally, a "linear recurrence" is an assertion of the form `∀ n : ℕ, u (n...
d0e7592fa918420969a7282aff7fb6d04b0ca300
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/ind2.lean
133a3b65c639a1032e5c8c4c7c51ec02cbd23ba6
[ "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
338
lean
prelude inductive nat : Type | zero : nat | succ : nat → nat namespace nat end nat open nat inductive {u} vector (A : Type u) : nat → Type u | vnil : vector zero | vcons : Π {n : nat}, A → vector n → vector (succ n) namespace vector end vector open vector check vector.{1} check vnil.{1} check vcons.{1} check vector.r...
89f43bb51c725c02516c0f0207b3a94d8d4411d2
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/data/rat.lean
f8ab85d6313c473adf0178a765188518f8345aa5
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
41,468
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 Introduces the rational numbers as discrete, linear ordered field. -/ import data.nat.gcd data.pnat data.int.basic data.equiv.encodable order.basic ...
edd11f353a557a84ab22bd104d910ae1f0a27350
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/measure_theory/measure/hausdorff.lean
d184f29cee4d8221e1461f73704b8b196e23f2a4
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,508
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 topology.metric_space.metric_separated import measure_theory.constructions.borel_space import analysis.special_functions.pow import measure_theory.measure.le...
8ef0e76099df52e2f1d7b541887f231bcfebe411
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/macroid.lean
f6c43d743cfa86212c4a196eb96cc251edb2fc34
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
619
lean
new_frontend syntax "[" ident "↦" term "]" : term macro_rules `([$x ↦ $v]) => `(fun $x => $v) #check [x ↦ x + 1] syntax "case!" ident ":" term "with" term "," term : term macro_rules `(case! $h : $c with $t, $e) => `((fun $h => cond $h $t $e) $c) #check case! h : 0 == 0 with h, not h syntax "case2!" ident ":" term...
02e99a9b417b676015c68a653adf9ffe584b9ab2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/num/bitwise.lean
4ea3eb1ed0eb44967791af741337d32fdb67c45e
[ "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,139
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.num.basic import data.bitvec.core /-! # Bitwise operations using binary representation of integers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > A...
9343c60a87dfa8abdca99d45cf9eed87306fa968
4727251e0cd73359b15b664c3170e5d754078599
/src/representation_theory/Action.lean
bb29fd03d19cce698c463e54b4a6c067214e57dc
[ "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,229
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.category.Group.basic import category_theory.single_obj import category_theory.limits.functor_category import category_theory.limits.preserves.basic imp...
312bc895fd784e47bae694eb49bfc16979bb1c08
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/small_complete.lean
e416c868d121280150c7fc567d5b35f4f253e81a
[ "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,038
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.products import set_theory.cardinal.basic /-! # Any small complete category is a preorder We show that any small category which ha...
b7464507d56ad8288a929e5c4422aaaf0a679436
46125763b4dbf50619e8846a1371029346f4c3db
/src/algebra/ordered_group.lean
97ae9b818d62d029ed6818b8659d3e866bc1ed04
[ "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
28,217
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl Ordered monoids and groups. -/ import algebra.group.units algebra.group.with_one algebra.group.type_tags import order.bounded_lattice tactic.basic univ...
edcebe14cca77bf0729d8e1844a3649fed0198cb
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/calculus/lagrange_multipliers.lean
0e001fa1211cb9ab8ff1f7772a4a1a49abd31eb9
[ "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
7,975
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 analysis.calculus.inverse import linear_algebra.dual /-! # Lagrange multipliers In this file we formalize the [Lagrange multipliers](https://en.wikipedia.o...
d8df56206232643e859d6ebe6c41597b86aa0ea1
01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab
/categories/types/default.lean
dacb9dcd00a45becec8c68f3fe58fc84217beede
[]
no_license
PatrickMassot/lean-category-theory
0f56a83464396a253c28a42dece16c93baf8ad74
ef239978e91f2e1c3b8e88b6e9c64c155dc56c99
refs/heads/master
1,629,739,187,316
1,512,422,659,000
1,512,422,659,000
113,098,786
0
0
null
1,512,424,022,000
1,512,424,022,000
null
UTF-8
Lean
false
false
993
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 ..full_subcategory import ..isomorphism namespace categories.types open categories open categories.isomorphism definit...
179344ea059fd22cf0a483c266b1a6c4c0c21f12
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/linear_algebra/affine_space/affine_map.lean
b4d03594fd543501697002300254da62abf5fe78
[ "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
22,174
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import linear_algebra.prod import linear_algebra.pi import data.set.intervals.unordered_inte...
936309a484def6f51471bc06366a4555f1fb6207
a5271082abc327bbe26fc4acdaa885da9582cefa
/src/fol.lean
0aad82622365c1ab6f67d2186a6cc7f9b424504e
[ "Apache-2.0" ]
permissive
avigad/embed
9ee7d104609eeded173ca1e6e7a1925897b1652a
0e3612028d4039d29d06239ef03bc50576ca0f8b
refs/heads/master
1,584,548,951,613
1,527,883,346,000
1,527,883,346,000
134,967,973
0
0
null
null
null
null
UTF-8
Lean
false
false
9,396
lean
import .prop namespace fol variable {α : Type} class is_symb (α : Type) extends prop.is_symb α := (fa : α) (ex : α) inductive symb : Type | fn : string → symb | prd : string → symb | true : symb | false : symb | not : symb | and : symb | or : symb | imp : symb | fa : symb | ex : symb instance : decidable_eq ...
66a0506cac929ce745a6003f1f972ad20529ea0a
6d2e314e8334c895b6c9e10c64e593ac1e587c47
/Test.lean
3a6f6f0d8d5b7d1c896d1d5de8e074e6c0ca401a
[]
no_license
rwbarton/lean4-test
7cf35a17f6df773e3b7f4e5db2fc84d1d544b112
6ca157fd66cd3823f22776ee854013a010bd6451
refs/heads/master
1,677,625,439,988
1,612,288,659,000
1,612,288,659,000
335,378,526
0
0
null
null
null
null
UTF-8
Lean
false
false
38
lean
def myDouble (x : Int) : Int := x + x
15de0dc0ee4c0d59e44672a3d84de34eb4b861df
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/ideal/basic.lean
8b17a2a09b71e9577cbaaacc834d96e829ae865d
[ "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
30,466
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 import order.compactly_generated /-! # Ideals over a r...
4556e4d07e8578c86e1c4c8132adf3dd578ae74f
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/finset/card.lean
24bcd3a1af01174bbf806b1606657d545f43705f
[ "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
10,423
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Cardinality calculations for finite sets. -/ import .to_set .bigops data.set.function data.nat.power open nat eq.ops namespace finset variables {A B : Type} vari...
6633e8b00acc46b6b8d0b148033f3117d76979e9
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/types/eq.hlean
85a33b36aaae1d7a3cb0c83dfc0b2232a30c34ff
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,326
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: types.eq Author: Floris van Doorn Ported from Coq HoTT Theorems about path types (identity types) -/ open eq sigma sigma.ops equiv is_equiv namespace eq /- Path spaces -/ var...
fe0ed7e4185cbd3d01c5ac495761080b85d74818
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/measure_theory/measure_space.lean
2b6dda6cfa79f5e0d492908882fff4ae476375df
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
35,583
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 data.set.lattice data.set.finite import topology.instances.ennreal measure_theory.outer_measure /-! # Measure spaces Measures are rest...
950f13d552831c8b420757930fc490d5dfbfef9d
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/tests/lean/run/rb_map1.lean
4010e22ecdf24b7c641b52af61ee4b57e3713b7d
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
696
lean
import system.io open io section open native.nat_map #eval size (insert (insert (mk nat) 10 20) 10 21) meta definition m := (insert (insert (insert (mk nat) 10 20) 5 50) 10 21) #eval find m 10 #eval find m 5 #eval find m 8 #eval contains m 5 #eval contains m 8 open list meta definition m2 := of_list [((1:nat), "on...
1c7f982640319ac62941300098548ac756fe3323
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/ring_hom/surjective.lean
82cf95993fdab5ff0e593f756c652684103dfe53
[ "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
2,589
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.local_properties /-! # The meta properties of surjective ring homomorphisms. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file req...