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
788d33a1a9dbc2e9d8126022261408fb66d100f7
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2008/IMO_2008_P1.lean
25092b15d9d1e9908380f7b1146242d90a73f8a7
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
494
lean
import Geo.Geo.Core namespace Geo open Triangle def IMO_2008_P1 : Prop := ∀ (A B C : Point), acute ⟨A, B, C⟩ → let H := orthocenter ⟨A, B, C⟩; ∀ (A₁ A₂ B₁ B₂ C₁ C₂ : Point), intersectAt₂ (Circle.buildOP (Seg.mk B C).midp H) (Line.mk B C) A₁ A₂ → intersectAt₂ (Circle.buildOP (Seg.mk C A).midp H) (Line.mk C A) B₁ B₂ →...
7098d508ef17b55e8c824b392c57697100cb94cf
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/bounded_variation.lean
3deb1eb619731a5f4f6ff74ff37372e095bcf40a
[ "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
34,131
lean
/- Copyright (c) 2022 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 measure_theory.measure.lebesgue import analysis.calculus.monotone /-! # Functions of bounded variation We study functions of bounded variation. In part...
b8a2c835eb556cf5dec5e800d4745d425974944f
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Declaration.lean
e9f0d5272cd56f4adf53e49e67eacd1075691e7a
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,094
lean
/- Copyright (c) 2018 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 /-- Reducibility hints are used in the convertibility checker. When trying to solve a constraint such a (f ...)...
c1b799a834025af8084f6f039c46ed5af26a6a93
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/task_test_io.lean
f567c3308345dcb6d9bb466580c1b1ae835260d0
[ "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
912
lean
#lang lean4 #eval id (α := IO _) do let t1 ← IO.asTask $ Nat.forM 10 fun _ => IO.println "hi"; let t2 ← IO.asTask $ Nat.forM 10 fun _ => IO.println "ho"; IO.ofExcept t1.get #eval id (α := IO _) do let t1 ← IO.mapTask IO.println (Task.spawn fun _ => "ha"); pure () #eval id (α := IO _) do let t1 ← IO.bindTa...
2659a3f42f565aed0f2187732ce6845d99d260d7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/lint_coe_t.lean
0a809d2f6e3509731d65f2c6f9172ab07374773d
[ "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,075
lean
import tactic.lint open tactic -- bad, because every iteration of tc search will loop, generating nested quotients section local attribute [instance] def a_to_quot {α} (R : setoid α) : has_coe α (quotient R) := ⟨quotient.mk⟩ run_cmd do d ← get_decl ``a_to_quot, some _ ← linter.has_coe_variable.test d, d ← get_d...
39f1567e89ade9b1300455bd740a34864527153c
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/src/builtin/sum.lean
abfc2e50f58ecdf396f7c96d5ce55855bff331fe
[ "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
7,035
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 optional using subtype using optional -- We are encoding the (sum A B) as a subtype of (optional A) # (optional B), where -- (pr...
662f5fec6c1009b5ca0c774ded18c15488803058
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/dynamics/circle/rotation_number/translation_number.lean
578ccef2af38496ccd8c20d663d31c351b66d7b5
[ "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
39,650
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import algebra.iterate_hom import analysis.specific_limits import topology.algebra.ordered.monotone_continuity import order.iterate import order.semiconj_Sup ...
fbb3e5e3efa683ff1639d5321f99e1dfd4aec1cb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Tactic/Calc.lean
a62cb28c3fac0fa38e308bdcba2ead3b8976c469
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,369
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Calc import Lean.Elab.Tactic.ElabTerm namespace Lean.Elab.Tactic open Meta /-- Elaborator for the `calc` tactic mode variant. -/ @[builti...
5b15463f62e33461af87109dc2eeb0dd52744537
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/whnfProj.lean
24699be17a4e0ac4a4f5f648062a375dea029064
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
527
lean
import Lean def h (x : Nat) := x def f (x : Nat) := x + 1 def g (x : Nat) := (x, x+1).fst open Lean open Lean.Meta def tst (declName : Name) : MetaM Unit := do let c ← getConstInfo declName lambdaTelescope c.value! fun _ b => do trace[Meta.debug]! "1. {b}" trace[Meta.debug]! "2. {← withReducible <| whnf...
f6f391602dc428fe71ca455e45f0d579336a4ade
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/manifold/whitney_embedding.lean
fe0a799e38d9f6c3b6cb63c1c8b451337488ea78
[ "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
6,327
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import geometry.manifold.diffeomorph import geometry.manifold.instances.real import geometry.manifold.partition_of_unity /-! # Whitney embedding theorem In ...
c2663b8c5612b50edd386368ad40f346599077d3
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/logic.lean
32d695768432a76a46bcfd062bbec7bb7a61d4ef
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
38,525
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.core universes u v w @[simp] lemma opt_param_eq (α : Sort u) (default : α) : opt_param α default = α ...
96c2b74f484edfbf9966f5c9a80cb58db3562218
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/solve_by_elim_auto.lean
0dabf3936740bcce1fddf684e174f3f2492e7aa3
[]
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
9,497
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /-! # solve_by_elim A de...
1011db510e8131586c11b2bdf81e3b64b53b8c12
618003631150032a5676f229d13a079ac875ff77
/src/tactic/omega/find_scalars.lean
aa1aa22653f7ebb12a0dcec09009ec2a3a1f1bd8
[ "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
3,040
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Tactic for performing Fourier–Motzkin elimination to find a contradictory linear combination of input constraints. -/ import tactic.omega.term import data.list.min_max open list....
b093b8cdcc792890143549c4171e6b79811437de
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/polynomial/basic.lean
c708f8ce63163590ec2701c486d061b1ca657839
[ "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
41,830
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.char_p.basic import data.mv_polynomial.comm_ring import data.mv_polynomial.equiv import data.polynomial.field_division import ring_theory.principal_ideal_domain...
154b59e67bc8bf26b41b46d06dd2564955b42ee7
3dd1b66af77106badae6edb1c4dea91a146ead30
/library/hott/prop.lean
01e520b6d6480a761dbb20563e9f31f6ae8576cf
[ "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
311
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 definition is_prop (A : Type) := Π (x y : A), x = y inductive hprop : Type := | hprop_intro : Π (A : Type), is_prop A → hprop
f86fdda8c79d79426b4089573a49bd07ab850300
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/complex/liouville.lean
aa2b6a8ae40ebcdbc1b555bbe6fb2ee37ffe41f0
[ "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,824
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.complex.cauchy_integral import analysis.calculus.fderiv_analytic import analysis.normed_space.completion /-! # Liouville's theorem > THIS FI...
f8478499f48a0a679ad6584ebdcf9c6d075275e8
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/category/CommRing/colimits.lean
1093af8707fa2c1d8ca09a0ca773cd1329ed3802
[ "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
12,766
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 algebra.category.CommRing.basic import category_theory.limits.limits import category_theory.limits.concrete_category /-! # The category of commutative rings h...
6f699769e42ca9739daf5ac1812dcd17250b961d
d31b9f832ff922a603f76cf32e0f3aa822640508
/src/hott/hit/trunc.lean
94c8a1abaea3bda2a0f7286aa2c8a04f6535f2ba
[ "Apache-2.0" ]
permissive
javra/hott3
6e7a9e72a991a2fae32e5764982e521dca617b16
cd51f2ab2aa48c1246a188f9b525b30f76c3d651
refs/heads/master
1,585,819,679,148
1,531,232,382,000
1,536,682,965,000
154,294,022
0
0
Apache-2.0
1,540,284,376,000
1,540,284,375,000
null
UTF-8
Lean
false
false
6,073
lean
/- 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 n-truncation of types. Ported from Coq HoTT -/ /- The hit n-truncation is primitive, declared in init.hit. -/ import hott.types.sigma hott.types.pointed universe...
be5003bfd8f8ef27f6ba9d6fe1b161793f812dfc
1446f520c1db37e157b631385707cc28a17a595e
/src/Init/Lean/Meta/AppBuilder.lean
2bb34dbf8f02b11c23045f7ef721331b2c7d0624
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,912
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 Init.Lean.Meta.SynthInstance namespace Lean @[inline] def Expr.eq? (p : Expr) : Option (Expr × Expr × Expr) := if p.isAppOfArity `Eq 3 then some ...
e77c0dfe782f531fdd622e3a1881bd218343dbdd
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Meta/ExprDefEq.lean
bb57345edba23e06a3fc2baf0f1a782920bc0cab
[ "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
77,343
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.Offset import Lean.Meta.UnificationHint import Lean.Util.OccursCheck namespace Lean.Meta /-- Return true if `b` is of the form `mk a.1 ...
4fba9a64e692ce566ef44f10c5dcac9fa2029666
b392eb79fb36952401156496daa60628ccb07438
/Lib4/PostPort.lean
3008c53149241791f2a60ed27eda7d2db63f9a68
[ "Apache-2.0" ]
permissive
AurelienSaue/mathportsource
d9eabe74e3ab7774baa6a10a6dc8d4855ff92266
1a164e4fff7204c522c1f4ecc5024fd909be3b0b
refs/heads/master
1,685,214,377,305
1,623,621,223,000
1,623,621,223,000
364,191,042
0
0
null
null
null
null
UTF-8
Lean
false
false
207
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import PostPort.Coe import PostPort.Pow
ea3a675e9f3662edb823785af6fdfadd4a70d4ab
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/number_theory/bernoulli_polynomials.lean
4138f46586aeffda955636e38a29d4c0a53a9def
[ "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
7,118
lean
/- Copyright (c) 2021 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan -/ import data.nat.choose.cast import number_theory.bernoulli /-! # Bernoulli polynomials The Bernoulli polynomials (defined here : https://en.wikipedia.org/wiki/B...
fe7278edcdbb6bab8b0d8029192a494d1188265f
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/section3.lean
771a6565ce78f9702f58d9d76753090eb230ccba
[ "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
110
lean
section parameter (A : Type) definition foo := A definition bar {X : Type} {A : X} : foo := sorry end
7db8e6823a082779f057c339a3cf1f9cac063032
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/number_theory/dioph.lean
758029d21859cc987d9e2db7b1b42b4cb2f55acf
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
36,071
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 number_theory.pell data.pfun universe u open nat function namespace int lemma eq_nat_abs_iff_mul (x n) : nat_abs x = n ↔ (x - n) * (x + n) = 0 := begin r...
8be7abf1015d1cd508b339a37b26cd39a639ffcd
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/direct_sum/ring.lean
aae4829ac4f87e4bbecc0a2923421ab694a93096
[ "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
22,801
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 group_theory.subgroup.basic import algebra.graded_monoid import algebra.direct_sum.basic import algebra.big_operators.pi /-! # Additively-graded multiplicative stru...
9c4c1e2091275d14e311672ec3771f51fe8729a9
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/polynomial/cancel_leads.lean
a75bac5dacfabf57b30c3e2487c82fb7f6c3b602
[ "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
2,760
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import data.polynomial.degree.definitions import tactic.compute_degree /-! # Cancel the leading terms of two polynomials ## Definition * `cancel_leads p q`: the pol...
544531e61e89d6db6a25d158d7d6843208da3087
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/PullLetDecls.lean
b80174336c7c8ce41ddf124cc467b5197236c3da
[ "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,018
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.CompilerM import Lean.Compiler.LCNF.DependsOn import Lean.Compiler.LCNF.Types import Lean.Compiler.LCNF.PassManager namespace Lea...
273b5c9dfb74b45b466ac932585cd69b6326346f
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/coprime/basic.lean
2eb406bc1b075e6224fe60831c4d8412f5bf235b
[ "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
12,383
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Ken Lee, Chris Hughes -/ import tactic.ring import algebra.ring.basic import group_theory.group_action.units /-! # Coprime elements of a ring ## Main definitions * `is_coprime...
1d9f1c989ad0851a053c6878c013c5cda7491011
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/archimedean.lean
bf4cdcc97a2ec37f7e075330549c15f19216ca6a
[ "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
14,543
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.int.least_greatest import data.rat.floor /-! # Archimedean groups and fields. This file defines the archimedean property for ordered groups and proves s...
1950c06a2b54f5e05814a126e796509c75400e8b
80746c6dba6a866de5431094bf9f8f841b043d77
/src/category_theory/natural_isomorphism.lean
fd94b2030fd52d445c1d34d6b0f4baf725f9b8d5
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
5,408
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Tim Baumann, Stephen Morgan, Scott Morrison import category_theory.isomorphism import category_theory.functor_category open category_theory namespace category_theory.nat_iso ...
7550f975b7724de6fbc9869f71c31f08b54734e4
947b78d97130d56365ae2ec264df196ce769371a
/tests/playground/cmdparsertest1.lean
7293984425596066e4a1ab4d41b2d5efc997a453
[ "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,192
lean
import Lean.Parser.Command open Lean open Lean.Parser def testParser (input : String) : IO Unit := do env ← mkEmptyEnvironment; cmdPTables ← builtinCommandParsingTable.get; stx ← IO.ofExcept $ runParser env cmdPTables input "<input>" "command"; IO.println stx def test (is : List String) : IO Unit := is.mfor $ fun inp...
d30b67399fbc95dc3c1ea6922b1cf94aef4022a1
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/noncomputable_bug.lean
f09f5032ba6b6d54b8ce0d4fd0cf6b5154adcbf1
[ "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
116
lean
new_frontend axiom f : ∀ (A : Type), A → Type def ex5b (α : Type) (a : α) : ∀ (A : Type), A → Type := f
6437219d36945792dc8f3e688008e9e19590cc71
b9a81ebb9de684db509231c4469a7d2c88915808
/src/super/misc_preprocessing.lean
1104b441d32bc5afabda281e463115c66afb7705
[]
no_license
leanprover/super
3dd81ce8d9ac3cba20bce55e84833fadb2f5716e
47b107b4cec8f3b41d72daba9cbda2f9d54025de
refs/heads/master
1,678,482,996,979
1,676,526,367,000
1,676,526,367,000
92,215,900
12
6
null
1,513,327,539,000
1,495,570,640,000
Lean
UTF-8
Lean
false
false
1,134
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .prover_state open expr list monad namespace super meta def is_taut (c : clause) : tactic bool := do qf ← c.open_constn c.num_quants, return $ list.bor...
871bd14ed4525f5bc08baad8566d7bbf161fd482
367134ba5a65885e863bdc4507601606690974c1
/src/control/traversable/derive.lean
68d5db907885ac4267014a24678f6f14e689c8d2
[ "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
17,057
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Automation to construct `traversable` instances -/ import control.traversable.lemmas import data.list.basic namespace tactic.interactive open tactic list monad functor meta...
496f26b7a32b62e230b28004bb11492f1fc60928
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Server/AsyncList.lean
c45d696e0d3e9bf679c1f639333cdc850d15440a
[ "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
4,965
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Init.System.IO namespace IO universe u v /-- An async IO list is like a lazy list but instead of being *unevaluated* `Thunk`s, lazy tails are `Task`s...
4e9bc1ee5ac5a430575b35c2a088666c6c676b92
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/idempotents/karoubi_karoubi.lean
983eb2ac4b9e7539e9b198d9e1d056506390332a
[ "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,350
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 /-! # Idempotence of the Karoubi envelope In this file, we construct the equivalence of categories `karoubi_karoubi.equivalence C ...
067c31a1795434fcf1a28acb8b00c7f0ed5a40be
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/tactic/linarith.lean
61e706c1fd8a7857677715a1476853b4b5d1e803
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
32,563
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis A tactic for discharging linear arithmetic goals using Fourier-Motzkin elimination. `linarith` is (in principle) complete for ℚ and ℝ. It is not complete for n...
95e29d0be07742962e61cf746cc857c91e78446a
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/algebra/group_power/basic.lean
df7acba22a56b19dfb1122fd3c88f853359e9914
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
26,397
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...
b69ccb0f725afde9192e6f3a670b1729712aa1b8
6a205478518645c9c32139432d2515af695dade4
/src/Sample.lean
d7676262b6b28216b68510eda0ff66a1f03f77de
[ "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
o89/sample-n2o
9febd9110b69ecb9c999e98d1d9ed5498425f5dd
6a6a450bbebc2f54a7f0d2ab66ef37c8a69feb45
refs/heads/master
1,655,813,514,957
1,655,472,697,000
1,655,472,697,000
205,369,860
2
2
null
null
null
null
UTF-8
Lean
false
false
464
lean
import Init.System.IO import N2O.Default def echoProto : Proto := { ev := Option String, nothing := Result.ok, proto := λ p => match p with | Msg.text s => some s | _ => none } def echo : echoProto.ev → Result | none => Result.ok | some s => Result.reply (Msg.text s) def router (cx : Cx echoProto) : Cx e...
cdb10be8aced6a688a28efbcf59f0ab7e8f0169f
ebbdcbd7ddc89a9ef7c3b397b301d5f5272a918f
/qp/p0_stdlib/c3_order.lean
2cd3a8365c457e65af92223db2fee7757d9936fd
[]
no_license
intoverflow/qvr
34b9ef23604738381ca20b7d622fd0399d88f2dd
0cfcd33fe4bf8d93851a00cec5bfd21e77105d74
refs/heads/master
1,616,591,570,371
1,492,575,772,000
1,492,575,772,000
80,061,627
0
0
null
null
null
null
UTF-8
Lean
false
false
659
lean
/- ----------------------------------------------------------------------- Facts about orders. ----------------------------------------------------------------------- -/ namespace qp namespace stdaux universe variables ℓ₁ ℓ₂ /-! #brief A monotone function. -/ definition monotone {A : Sort ℓ₁} (r : A → A → Prop) ...
27dfbf4e177fef44359464903d6c5ceb7e12359c
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/algebra/algebra/basic.lean
1664a13e31c388a23379696adafe05239bd1c52f
[ "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
44,610
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import tactic.nth_rewrite import data.matrix.basic import linear_algebra.tensor_product import ring_theory.subring import deprecated.subring /-! # Algebra ove...
2e14262aa483a5efa3f3f06679c9a965f9fe49e9
b66669ef1ec06ddbd9526fe3afe0a68566dfbad3
/src/wireworld.lean
bce2d21ce2c294f0e94b2c9eacff856a3a7eda20
[ "MIT" ]
permissive
FerdoSil/LatticesAndCellularAutomata
40185a9099bb3cf1371c85f1ca33a17c2e26fecb
2a69d2e74a231addf0e446dca86ef90d50d60218
refs/heads/master
1,587,683,992,072
1,586,018,471,000
1,586,018,471,000
171,533,028
0
0
null
null
null
null
UTF-8
Lean
false
false
7,071
lean
-- Implementation of Wireworld. -- Cell states 'cellT' are represented as follows. -- 'empty' -- 'ehead' for electron head -- 'etail' for electron tail -- 'condu' for conductor -- The definition 'mk_hpp' builds an instance of HPP -- from an initial configuration of cell states. import cell_automaton utils dat...
a2861dbcba5a36d7b31a613d48252087ab6eb2e1
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/x86_semantics/src/x86_semantics/evaluator.lean
1546757a2eb33e30b9749bf1121da77fcffd344f
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
38,128
lean
-- Evaluates actions in an environment. import galois.data.bitvec import .common import .machine_memory import .sexpr -- FIXME: move def annotate {ε} {m} [monad m] [monad_except ε m] {a} (f : ε -> ε) (c : m a) : m a := catch c (λe, throw (f e)) def annotate' {m} [monad m] [monad_except string m] {a} (e : string) ...
ee5c0d851d53d796f06c3e0290445ed9ba6d54fc
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/category_theory/sites/sheaf.lean
4cb48c2e0b22c42e471829c06d26985cf2328f5c
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,338
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.sites.pretopology import category_theory.limits.shapes.types import category_theory.full_subcategory /-! # Sheaves on a Grothendieck topology De...
bc8831b08e134db807ee69b6f631af640f0a6396
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/eq_class_error.lean
2c0cc5fd218fbe7b78f567dcbb0ce0c974551050
[ "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
621
lean
inductive foo := | a | b open foo -- This test demonstrates we need to disable local instances. set_option elaborator.local_instances false definition decidable_eq_foo [instance] : ∀ f₁ f₂ : foo, decidable (f₁ = f₂) | a a := by left; reflexivity | a b := by right; contradiction | b a := by right; contradiction --...
bd62f90675898791313c86e466ce3e56650c98b8
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/set/lattice.lean
2aa3de791fb5586db63622c02695eb04faf301d7
[ "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
34,287
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, Johannes Hölzl, Mario Carneiro -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import order.complete_boolean_algebra import data...
e22836667a36d732ad7e419d4ebd8895878d0f42
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebraic_topology/dold_kan/normalized.lean
e6e55b3f70a4decec8ff4ddacc699e881071aeac
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
5,554
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.functor_n /-! # Comparison with the normalized Moore complex functor TODO (@joelriou) continue adding the various files referenced below ...
d086290e11116991b24e3ced2cb43ce4ebc80079
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/vector2.lean
6618114fa0a813a86cb02c04b31255a006e01d7b
[ "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
376
lean
namespace Ex open nat inductive vector (A : Type) : nat → Type | vnil : vector nat.zero | vcons : Π {n : nat}, A → vector n → vector (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_confusion h (λ n h t...
2b189a51fe5c69928619228fb789bdccb5f56fb3
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/even_odd2.lean
de89ba850e1c21c6850495d2977c5b6e48412b01
[ "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
489
lean
mutual def even, odd with even : nat → bool | 0 := tt | (a+1) := odd a with odd : nat → bool | 0 := ff | (a+1) := even a using_well_founded {rel_tac := λ f eqns, tactic.trace f >> tactic.trace eqns >> tactic.apply_instance} example (a : nat) : even (a + 1) = odd a := by simp [even] example (a : nat) : odd (a ...
a95bf23a6a6d4b944b01d6e50f594da80409a74d
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/tests/lean/char_lits.lean
074bdb35ffe965d880c9bd77ced84673ae2809c5
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
193
lean
import system.io open io #check #"a" #eval #"a" #eval #"\n" #eval #"\\" #eval put_str (list.cons #"\\" "aaa") #eval put_str [#"\n"] #eval put_str [#"\n"] #eval put_str (list.cons #"\'" "aaa")
e0aebf642e5661940eb375d98fb455c2c4c7db0e
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/order/field.lean
1b3766df2847dd4ec7408236270a7acdd564b281
[ "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
28,761
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.field import algebra.group_power.order import algebra.order.ring import tactic.monotonicity.basic /-!...
992bbfe242830fc430e32e5c7ef7355dfbdd2ee3
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/lift_nested_rec.lean
3a5905064230f131bfd192bab40f571e01118cc1
[ "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
243
lean
definition f : nat → (nat × nat) → nat | 0 m := m.1 | (n+1) m := match m with | (a, b) := (f n (b, a + 1)) + (f n (a, b)) end check @f._main.equations._eqn_1 check @f._main.equations._eqn_2 check @f._match_1.equations._eqn_1
33193ff2f8df258569007ea43c68b66463cbae2c
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/for_mathlib/rings.lean
b9c870a4cc5b1eb64bc13365e592223517503468
[ "Apache-2.0" ]
permissive
semorrison/lean-perfectoid-spaces
78c1572cedbfae9c3e460d8aaf91de38616904d8
bb4311dff45791170bcb1b6a983e2591bee88a19
refs/heads/master
1,588,841,765,494
1,554,805,620,000
1,554,805,620,000
180,353,546
0
1
null
1,554,809,880,000
1,554,809,880,000
null
UTF-8
Lean
false
false
2,517
lean
import ring_theory.ideal_operations data.equiv.algebra import for_mathlib.subtype universes u u₁ u₂ v v₁ w section variables {R : Type*} {S : Type*} [monoid R] [monoid S] lemma mul_left_mul {G : Type*} [semigroup G] (x y : G) : (*) (x * y) = (*) x ∘ (*) y := funext $ λ _, mul_assoc _ _ _ -- It seems that semigro...
c0530e25b1c5a2ded547d0f0b20d1bc703a2d1ee
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/dependencies.lean
9befb337213aaf6fbc9ff27571dc1a905b6e6be6
[ "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
30,423
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 meta.rb_map import tactic.core /-! # Tactics About Dependencies This module provides tactics to compute dependencies and reverse dependencies of hypotheses. ...
dbb3681c66bb5fd2c67722d87d09846b8649e851
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/buffer/parser/basic.lean
e76841f87d0f791b089c5df3b6a57030564e19ea
[ "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
110,139
lean
/- Copyright (c) 2020 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.string.basic import data.buffer.basic import data.nat.digits /-! # Parsers `parser α` is the type that describes a computation that can ingest a `char...
d627a2af5a7e613222c2c097e19ebe27bcfce6dc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/shapes/wide_equalizers.lean
afb10a6c18cd079c9970912862e435595b9534ad
[ "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,925
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.epi_mono import category_theory.limits.has_limits import category_theory.limits.shapes.equalizers /-! # Wide equalizers and wide coequalizers Thi...
e1f8b44c7583908aac17f7a847636535f052be4d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/fintype/card.lean
8d5532a2a5ee693010ca0a64df7b7cd4bf7d124f
[ "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
9,827
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fintype.basic import algebra.big_operators.ring import algebra.big_operators.option /-! Results about "big operations" over a `fintype`, and consequent r...
a56fbd92a29abe8f20d203d96514efc16d336f22
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/set/intervals/basic.lean
c00cfd830fdefa1f0142cc4ece013b0f58c969d3
[ "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
54,225
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, Yury Kudryashov, Rémy Degenne -/ import algebra.order.group import data.set.basic import order.rel_iso import order.order_dual /-! # In...
ac0d625fc45b56569dddc6bee9ec18ea233acf4e
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/223.lean
34ef6ca33529bdbd71a7c9cd25b6b6be79ca8555
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
335
lean
universe u v inductive Imf {α : Type u} {β : Type v} (f : α → β) : β → Type (max u v) | mk : (a : α) → Imf f (f a) def h {α β} {f : α → β} : {b : β} → Imf f b → α | _, Imf.mk a => a #print h theorem ex : ∀ {α β : Sort u} (h : α = β) (a : α), cast h a ≅ a | α, _, rfl, a => HEq.refl a #print ex
4c71846fd079e357fa2ae75fb0756db3b9b58731
fe84e287c662151bb313504482b218a503b972f3
/src/commutative_algebra/book/sec_rings.lean
ed2dc37a3299123b60b5eff10fa60fad32b562ba
[]
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
8,253
lean
import algebra.ring data.rat data.real.basic data.complex.basic import data.nat.prime ring_theory.subring.basic number_theory.zsqrtd.gaussian_int data.zmod.basic import topology.constructions topology.continuous_function.algebra topology.instances.real import data.mv_polynomial import tactic.ring import commutative_al...
3b5f49c472e810d82094702dc273ff35f7a57236
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Elab/Match.lean
49432830a14400daf9110990b0426ff620172c1c
[ "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
33,329
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.Match.MatchPatternAttr import Lean.Meta.Match.Match import Lean.Elab.SyntheticMVars import Lean.Elab.App namespace Lean namespace Elab nam...
5bc3f5cc363279dc6101469a6f83e7e90b2d2e1c
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/algebra_of_equiv.lean
4fb98ea9630b3506c68f020a83dfb8372046d03d
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
4,472
lean
import data.equiv.basic algebra.field universes u v variables {α : Type u} {β : Type v} (e : α ≃ β) namespace equiv protected def has_zero [has_zero α] : has_zero β := ⟨e 0⟩ lemma zero_def [has_zero α] : @has_zero.zero _ (equiv.has_zero e) = e 0 := rfl protected def has_one [has_one α] : has_one β := ⟨e 1⟩ lemma on...
47ee99a2ad4db40b497e166dd0b7850d37990208
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1571.lean
b4c60b644bfd2dffecfadc8d84ec7993500881ab
[ "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
139
lean
#check True → (∃ a : Nat, a = a) -- True → ∃ a, a = a : Prop #check True → (∃ b : Nat, b = b) -- True → ∃ b, b = b : Prop
2d2311afd32beaf01336177ee38c17cebdc278fe
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/int/basic.lean
8c4cbd820993a89b379b4c4d1111ac13f4213f12
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
56,836
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import algebra.char_zero import algebra.ring import data.list.range open nat namespace int instance : c...
a441cb7e88db09883b52f2e1d596e3e15891632b
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/omega/term.lean
de2e3cd34ea02364445e553a4f6a23b9db2c4858
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
2,675
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ /- Normalized linear integer arithmetic terms. -/ import tactic.omega.coeffs namespace omega /-- Shadow syntax of normalized terms. The first element represents the cons...
f90e2cd68e43e649227fa10029a46e1a654b64ec
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/logic/relation.lean
249e24aef2306fcba58dbdd2593c46c6371db122
[ "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
20,557
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 -/ import tactic.basic import logic.relator /-! # Relation closures This file defines the reflexive, transitive, and reflexive transitive closures of relations. It als...
60f80fb7af2ad13c8742ff46fe4fa120dd76702d
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/is_connected.lean
bec73cf91a3598f154815073347d05bd220d50b4
[ "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
12,870
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 data.list.chain import category_theory.punit /-! # Connected category Define a connected category as a _nonempty_ category for which every functor to a discrete ...
47526e14cd1ee7ed74dc13a97e7d2929c30f969b
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/balanced.lean
c1277508f7cef5ff1bad8ba3054001235a03dc13
[ "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
1,440
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.epi_mono /-! # Balanced categories A category is called balanced if any morphism that is both monic and epic is an isomorphism. Balanced categ...
bbeb15377692290d87a13c23c9bb6068be86e95f
f68c8823d8ddc719de8a4513815174aa7408ac4a
/lean_resolutions/PUZ031_1.lean
416b063c960ed296aaeed1839b85943875819c4a
[]
no_license
FredsoNerd/tptp-lean-puzzles
e7ea66a0de9aa3cb7cc7480299f01adf885440a6
43d4d77524e797a4ac7a62b2cfaf8df08b409815
refs/heads/master
1,606,359,611,765
1,576,824,274,000
1,576,824,274,000
228,945,807
4
0
null
null
null
null
UTF-8
Lean
false
false
3,645
lean
-------------------------------------------------------------------------------- -- File : PUZ031_1 : TPTP v7.3.0. Released v5.0.0. -- Domain : Puzzles -- Problem : Schubert's Steamroller -- Version : Especial. -- English : Wolves, foxes, birds, caterpillars, and snails are animals, and -- there are...
7170f3f66f8a5ce62de598abe2eba78582a89e12
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/ring_theory/noetherian.lean
7acf7aa2a911f373500719bb2d16c176028fa73e
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
21,133
lean
/- Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import ring_theory.ideal.operations import linear_algebra.basis import order.order_iso_nat /-! # Noetherian rings and modules The f...
ab7fd00d25688606c8722ec63c8349db4b035b8e
2385ce0e3b60d8dbea33dd439902a2070cca7a24
/library/init/algebra/classes.lean
e0276ec4a85f96e84e2986f2c77b9fa6c0f9ff76
[ "Apache-2.0" ]
permissive
TehMillhouse/lean
68d6fdd2fb11a6c65bc28dec308d70f04dad38b4
6bbf2fbd8912617e5a973575bab8c383c9c268a1
refs/heads/master
1,620,830,893,339
1,515,592,479,000
1,515,592,997,000
116,964,828
0
0
null
1,515,592,734,000
1,515,592,734,000
null
UTF-8
Lean
false
false
11,694
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.logic init.data.ordering.basic universes u @[algebra] class is_commutative (α : Type u) (op : α → α → α) : Prop := (comm : ∀ a b, op a ...
55786430c8aa95d0f3be0e6e20ec4e4a158db2c9
618003631150032a5676f229d13a079ac875ff77
/src/data/list/sigma.lean
63467a3ca56469f5b9608fac446fee991ad29343
[ "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
24,012
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Sean Leather Functions on lists of sigma types. -/ import data.list.perm import data.list.range import data.sigma universes u v namespace list variables {α : Type u}...
0529a54790f605a16296b944bb6369a9e97797fd
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/category_theory/elements.lean
46ab556901fcbe2edd9f39e34325f23aeaa2789b
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
4,056
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.comma import category_theory.groupoid /-! # The category of elements This file defines the category of elements, also known as (a special cas...
7fb693e3c005f254d4535dc0bff6d7d84baccb0f
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/simp_tactic.lean
8e98d0b4e39723aca4551f440914eb1bb97a1d0d
[ "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
28,078
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...
431af19718f40e0108071848c66872c5aa3fa78e
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/data/list/bigop.lean
89147bbb36838e5f88ac0574a84ff2e2f95e6bc7
[ "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
2,348
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.list.bigop Authors: Leonardo de Moura Big operator for lists -/ import algebra.group data.list.comb data.list.set data.list.perm open algebra function binary quot namespace l...
eeb616fcfb2bf5a6aa572a6ae7d7e74b529cc054
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/int/modeq.lean
4518058ae396c5380c7972a8f24f2d974907768f
[ "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
6,052
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.int.basic data.nat.modeq import tactic namespace int def modeq (n a b : ℤ) := a % n = b % n notation a ` ≡ `:50 b ` [ZMOD `:50 n `]`:0 := modeq n a b nam...
ce3c8ca4e55e3485c9bda17e9800013a16e8dc76
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finset/fold.lean
725e3bfd48945d09d55e723c8ecd7c452fd0d076
[ "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
8,127
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.finset.basic import data.multiset.fold /-! # The fold operation for a commutative associative operation over a finset. -/ namespace finset open multiset...
e29df90fad8edc28d531009a6fc79bf8d1a2a6ed
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/ideal/operations.lean
aef44435a9b5a6370240e4c8ff14ce19ddade7f6
[ "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
79,216
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.operations import algebra.ring.equiv import data.nat.choose.sum import linear_algebra.basis.bilinear import ring_theory.coprime.lemmas import ring_theory...
b5a7943e998e15220686df7594cea07344741253
bb31430994044506fa42fd667e2d556327e18dfe
/src/order/conditionally_complete_lattice/basic.lean
8eea89f3d5511024f4ff1039353dc2534bd7ae71
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
56,291
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 -/ import order.bounds.basic import order.well_founded import data.set.intervals.basic import data.set.lattice /-! # Theory of conditionally complete lattices. >...
17783f80e7f5f22315166c9bc309d0cbed7ea1c1
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/set/function.lean
f47b2c72c945e7873201ab8ba58ef803675c129e
[ "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
17,563
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu, Yury Kudryashov -/ import data.set.basic logic.function /-! # Functions over sets ## Main definitions ### Predicate * `eq_on...
32706da479d00b23f93371c4b6180a99dd2bfb93
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/set_theory/ordinal.lean
defcf542a2ac0d69b19bdb11de11b0146daaff6a
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
58,136
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import set_theory.cardinal import order.conditionally_complete_lattice /-! # Ordinals Ordinals are defined as equivalences of well-ordered sets un...
6c7b058b9e3a32f9c4cb2b31bc5ff0a270db8846
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love02_backward_proofs_exercise_sheet.lean
ff153709e559c8a54a7340f50fec0648a7d71159
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,388
lean
import .love02_backward_proofs_demo /- # LoVe Exercise 2: Backward Proofs -/ set_option pp.beta true set_option pp.generalized_field_notation false namespace LoVe namespace backward_proofs /- ## Question 1: Connectives and Quantifiers 1.1. Carry out the following proofs using basic tactics. Hint: Some strateg...
61032e48073d9915eea57fb5c7726287bea2aac9
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/tactic/solve_by_elim.lean
d53b9c7a72df2ebe59369c7e1fc01efe07805146
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
14,282
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Scott Morrison -/ import tactic.core /-! # solve_by_elim A depth-first search backwards reasoner. `solve_by_elim` takes a list of lemmas, and repeating tries to `apply` th...
6f8b0bef58b6f3131ac7e830dca8ab34ee576da5
7cef822f3b952965621309e88eadf618da0c8ae9
/src/ring_theory/maps.lean
476cdd1c542916fb77183c3800e390a9298d5839
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
5,153
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.algebra /-! # Ring antihomomorphisms, isomorphisms, antiisomorphisms and involutions This file defines ring antihomomorphisms, ant...
9736e14fe341e31f0ad516a0a67183dfc2d79666
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/order/field.lean
58445c3027a37c7655566edf5e41f177f4d24287
[ "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
16,443
lean
/- Copyright (c) 2022 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson, Devon Tuma, Eric Rodriguez, Oliver Nash -/ import tactic.positivity import topology.algebra.order.basic import topology.algebra.field /-! # Topologies on linear...
110ec393a9bc2dd7eb32ac31c4fec8a95ede5c39
6094e25ea0b7699e642463b48e51b2ead6ddc23f
/library/data/nat/div.lean
200347eb07cd616e8b5722c78ad196cda9311170
[ "Apache-2.0" ]
permissive
gbaz/lean
a7835c4e3006fbbb079e8f8ffe18aacc45adebfb
a501c308be3acaa50a2c0610ce2e0d71becf8032
refs/heads/master
1,611,198,791,433
1,451,339,111,000
1,451,339,111,000
48,713,797
0
0
null
1,451,338,939,000
1,451,338,939,000
null
UTF-8
Lean
false
false
26,193
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 Definitions and properties of div and mod. Much of the development follows Isabelle's library. -/ import data.nat.sub open eq.ops well_founded decidabl...
17d039df9e00337532aa5de6c8b50f88b7fd0432
57c233acf9386e610d99ed20ef139c5f97504ba3
/test/library_search/basic.lean
e5c7e29ae2d4dfde984d5b0cd810dc7f808986f2
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
5,367
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 tactic.suggest -- No other imports, for fast testing /- Turn off trace messages so they don't pollute the test build: -/ set_option trace.silence_library_sear...
7996c1be85427df1ff014d086af742d860f0cfd5
367134ba5a65885e863bdc4507601606690974c1
/src/topology/algebra/group_completion.lean
0beb68d02376ec9afcf3f38ebc6e5b6384a81ea2
[ "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
4,737
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Completion of topological groups: -/ import topology.uniform_space.completion import topology.algebra.uniform_group noncomputable theory universes u v ...
a6a31ecad0316f708246bbbad80a6122e7f7ee09
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/pnat/factors.lean
08d7e03b465e6033a636fd1bd9f2d67967a1ec46
[ "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
13,960
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Neil Strickland -/ import data.pnat.basic import data.multiset.sort import data.int.gcd import algebra.group /-- The type of multisets of prime numbers. Unique factorization gives a...
858df2f8953b8950a6e09dbc9ab12ce39233ff34
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/group_theory/submonoid/basic.lean
a4bf838fff9e7ff7f943014a237cab4c258cf0e7
[ "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
16,177
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import data.set.lattice import data.set_like.basic /-! # Submonoids: de...
13869c882973f249d94b723ea2e9f84da943a3b6
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/limits/shapes/multiequalizer.lean
4f9c59a9671de04b2a588bbf1d8276d21d37d9b3
[ "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
13,747
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.limits.has_limits /-! # Multi-(co)equalizers A *multiequalizer* is an equalizer of two morphisms between two products. Since both products and equal...
3dafd75e888542cedee39410319e9031b7e6676f
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/uniform_space/basic.lean
bb4e5293a6b43f7fc743b8e76858fc39b634c319
[ "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
70,747
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 order.filter.lift import topology.separation /-! # Uniform spaces Uniform spaces are a generalization of metric spaces and top...
32fc7d2d4034b5fe5cf1c8ac6e0200bdad02fb5d
fe84e287c662151bb313504482b218a503b972f3
/src/combinatorics/square_grid.lean
66a69c4fe7a524a96541b6b9f25dc06c29671ddd
[]
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
13,966
lean
import data.fintype.basic import algebra.power_mod import group_theory.group_action import algebra.group_power import algebra.big_operators import data.zmod.basic import tactic.ring tactic.abel import group_theory.self_map import group_theory.action_instances import group_theory.burnside_count import group_theory....
a69dc37087ad98945d4cb8b98e271a4d0ac1e939
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Meta/WHNF.lean
71914d5ad6c30a31d2decae5490871a423472aa5
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,346
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.ToExpr import Lean.AuxRecursor import Lean.ProjFns import Lean.Meta.Basic import Lean.Meta.LevelDefEq import Lean.Meta.GetConst import Lean.Meta...
365f9654c9ce38f5d2b17a493459e199917c2a2b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1372.lean
634521784a66c9d385ea96342265b66ba1e518d4
[ "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
792
lean
example (x₁ x₂ y₁ y₂ : Nat) : (x₁ + x₂) + (y₁ + y₂) = (x₁ + y₁) + (x₂ + y₂) := by calc (x₁ + x₂) + (y₁ + y₂) = x₁ + (x₂ + (y₁ + y₂)) := by rw [Nat.add_assoc] _ = x₁ + (y₁ + (x₂ + y₂)) := by rw [Nat.add_left_comm x₂ y₁ y₂] _ = (x₁ + y₁) + (x₂ + y₂) := by rw [Nat.add_assoc] example (n x₁ x₂ y₁ y₂ : Nat)...
2a32b17e53f3e8f81ada0f87a57b63ee05ebb8f4
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/analysis/calculus/times_cont_diff.lean
b00849920adfa0dbe4c589e024308b86a544c08a
[ "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
136,287
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 import analysis.calculus.formal_multilinear_series /-! # Higher differentiability A function is `C^1` on a domain if it is...
d19010cf2bc04400b718eb165e3bda7b9b427947
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/normed_space/exponential.lean
5a1afca3c5990973c302755afc40e0d8423c0e0a
[ "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
27,774
lean
/- Copyright (c) 2021 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import algebra.char_p.algebra import analysis.calculus.deriv import analysis.specific_limits import data.complex.exponential import analysis.complex.basic import ...
8634ca3657a82cd197220ea32e192ea421fbeda0
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/free_comm_ring.lean
887264d82f83ed7f894baba39f14a545162deca1
[ "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
14,051
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import data.mv_polynomial.equiv import data.mv_polynomial.comm_ring import logic.equiv.functor import ring_theory.free_ring /-! # Free commutative rings The t...
1323a43d883af68581b0a7c98a2a6af082f91d23
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/list/basic.lean
41e9315d9e661dfbd5930befcdb9e4fd2f2971dd
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,410
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn Basic properties of lists. -/ import logic.basic data.nat.basic data.option open function nat namespace list un...
2b250a3deaf87e531cc16ebdf5da7c1b8195c7df
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/data/num.lean
0209b937ddae5f9fe9d3e0dbc2d2de75167639ae
[ "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
17,770
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.num Author: Leonardo de Moura -/ import data.bool tools.helper_tactics open bool eq.ops decidable helper_tactics namespace pos_num theorem succ_not_is_one (a : pos_num) ...