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
882dbc3ef5f4bf5d336cbfc78ae54ffba2b7ca2a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/omega/nat/neg_elim.lean
fe4bd9edefa45c7fefeb8d35d2616ae476fbacd5
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,819
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.omega.nat.form import Mathlib.PostPort namespace Mathlib /- Negation elimination. -/ namespa...
0ba9a072fef982abcbae531797f52350ec0d9833
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/polar_coord.lean
05cc1d283346ee238be474c7224af241c2524a9b
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
6,693
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.function.jacobian /-! # Polar coordinates We define polar coordinates, as a local homeomorphism in `ℝ^2` between `ℝ^2 - (-∞, 0]` and `(0...
ddd976fb0a8670dc03cc0c0b137640240e17c66b
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/analysis/calculus/extend_deriv.lean
3f2d7b8136e322283df234ebcc983fa41a1f558c
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
11,224
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 tactic.monotonicity /-! # Extending differentiability to the boundary We investigate how differentiable functions i...
b356ac15b34219de3b9992401fc8a0ecd553ffdd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/modBug.lean
61b5357d2306b3cca672f0513e25cd37c872d338
[ "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
65
lean
theorem proofOfFalse : False := Nat.zero_ne_one (Nat.mod_zero 1)
6c3fa0e76803a5e61dcba3415477870c532174b7
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/finset/partition.lean
49de48afb7147fada38736815a70b1c7a0e00418
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,861
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Haitao Zhang Partitions of a type A into finite subsets of A. Such a partition is represented by a function f : A → finset A which maps every element a : A to its equivalence cl...
a11533325510b71501bb8b2bf1822f454b3a1094
883eaea6bef0d3c38f46c45d3454e0af631a6e61
/src/inClassNotes/final/imp.lean
5a1b3c2897f794c1186ef4045a3a41125bfab143
[]
no_license
hannahbrooke720/complogic-s21
bd3c4981cfeb8642654d83ce874a5c50a3077948
3f4098b174c54e1699a07222662ffec7e14223f2
refs/heads/master
1,681,504,336,289
1,620,140,677,000
1,620,140,677,000
335,838,993
0
0
null
1,620,140,678,000
1,612,413,391,000
Lean
UTF-8
Lean
false
false
1,920
lean
import .arith_expr import .bool_expr /- Syntax of our little language (OLL). OLL supports mutable variables and values of types arithmetic (bool) and arithmetic (nat). It has an assignment command for each of these two types. It also supports sequential composition of smaller programs into larger ones. -/ inductive...
05f4fde06c5642cfe8c0a76ce4949249d815a79b
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/set_theory/schroeder_bernstein.lean
27b4b3576cd14dab42cbfac11b887afb9b5d2a22
[ "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
5,085
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 The Schröder-Bernstein theorem, and well ordering of cardinals. -/ import order.fixed_points data.set.lattice logic.function logic.embedding order.zorn ...
77ea33fb1d8ac74a3cef6cd2dc51f0da5ef53e40
0e175f34f8dca5ea099671777e8d7446d7d74227
/library/init/logic.lean
556e9fd3404b5740a0e8420df00a5a48165d3c71
[ "Apache-2.0" ]
permissive
utensil-contrib/lean
b31266738071c654d96dac8b35d9ccffc8172fda
a28b9c8f78d982a4e82b1e4f7ce7988d87183ae8
refs/heads/master
1,670,045,564,075
1,597,397,599,000
1,597,397,599,000
287,528,503
0
0
Apache-2.0
1,597,408,338,000
1,597,408,337,000
null
UTF-8
Lean
false
false
38,243
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 = α ...
05509e1e78ef09c4a9751c7a2139b6138489360e
9028d228ac200bbefe3a711342514dd4e4458bff
/src/ring_theory/witt_vector/structure_polynomial.lean
0687358c5ac85d4841524694d464a67e10b1a636
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,080
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.matrix.notation import field_theory.mv_polynomial import field_theory.finite.polynomial import number_theory.basic import ring_theory.wi...
b2eacba909b3f5a292d11667392522e79e51e61a
3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a
/src/combinatorics/simplicial_complex/krein_milman.lean
3c51794d09acf71cab654c5523c2996ee100a2ec
[]
no_license
mmasdeu/brouwerfixedpoint
684d712c982c6a8b258b4e2c6b2eab923f2f1289
548270f79ecf12d7e20a256806ccb9fcf57b87e2
refs/heads/main
1,690,539,793,996
1,631,801,831,000
1,631,801,831,000
368,139,809
4
3
null
1,624,453,250,000
1,621,246,034,000
Lean
UTF-8
Lean
false
false
5,409
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import combinatorics.simplicial_complex.exposed import order.order_dual open_locale classical affine big_operators open set --TODO: Generalis...
0a6d1b9d7763216ae79c99089d9d30c1b3ef1de0
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Server/References.lean
21c551ca16db282335713a8f2c7802b26138712a
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
12,132
lean
/- Copyright (c) 2021 Joscha Mennicken. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joscha Mennicken -/ import Lean.Server.Utils import Std.System.Uri /-! # Representing collected and deduplicated definitions and usages -/ namespace Lean.Server open Lsp Lean.Elab...
f87b36b851e30ba68fe10fb37948594eb1a572b8
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_geometry/projective_spectrum/scheme.lean
82bb7e9c258a6907adaaf927a92b90aef7d1450f
[ "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,431
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import algebraic_geometry.projective_spectrum.structure_sheaf import algebraic_geometry.Spec /-! # Proj as a scheme This file is to prove that `Proj` is a scheme. ## N...
e0653f8eee37363a64988dff6293f1ba1c6f38ca
1890046a4987fbd27f3f50dbac83f3ce095556d5
/01_Equality/04_propositions_as_types.lean
319571d1fac55e6186865e269b5518e31d9238a9
[]
no_license
kbhuynh/cs-dm
9f335727d1779f7c3d9e8221a52b4c9c106659ba
4041bd73618a49ef6870a1a80764e8947e60e768
refs/heads/master
1,585,353,017,958
1,536,055,215,000
1,536,055,215,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,930
lean
/- Wait! Lean is telling us that: eq.refl 0 : 0 = 0. Putting parenthesis in can make it easier to read: (eq.refl 0) : (0 = 0). We've so far read this as saying that (eq.refl 0) is a proof of 0 = 0. But the observant reader will see that it looks just like a type judgment as well. It looks like it's saying that (eq....
811d0c80721749f19da188d195f327e5cb1ea489
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/algebra/field.hlean
e0f71e61b3e66e4ca9f83075ec1d2fc44290c218
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,013
hlean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis Structures with multiplicative and additive components, including division rings and fields. The development is modeled after Isabelle's library. Ported from the standard ...
e95c407841163aad9e98bb89849e659f304166f8
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.22.lean
1634657322c7af1b7302eb008980cf611720b486
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
776
lean
import standard example (p q r : Prop) : p ∧ (q ∨ r) ↔ (p ∧ q) ∨ (p ∧ r) := iff.intro (assume H : p ∧ (q ∨ r), show (p ∧ q) ∨ (p ∧ r), from proof have Hp : p, from and.elim_left H, or.elim (and.elim_right H) (assume Hq : q, show (p ∧ q) ∨ (p ∧ r), from or.inl (and.intro Hp Hq)) (assume Hr : r, show (p ∧ q) ∨ (p ∧ r), f...
24f7dd4ad154fa2744258b78d382b24efdd2b1f1
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/K/jump.lean
7e7ca12e65d4cdae038f3a850f839fcb7a671ac6
[ "MIT" ]
permissive
minchaowu/ModalTab
2150392108dfdcaffc620ff280a8b55fe13c187f
9bb0bf17faf0554d907ef7bdd639648742889178
refs/heads/master
1,626,266,863,244
1,592,056,874,000
1,592,056,874,000
153,314,364
12
1
null
null
null
null
UTF-8
Lean
false
false
3,640
lean
import .rules open psum nnf node set_option eqn_compiler.zeta true def tableau : Π Γ : list nnf, node Γ | Γ := match get_contra Γ with | inl w := contra_rule w.2 | inr no_contra := match get_and Γ with | inl p := let Δ := p.1.1 :: p.1.2 :: Γ.erase (nnf.and p.val.1 p.val.2) in let inst := and_ins...
c41e58e9b9dc2bba6093bfdb04b74e228375f743
bb31430994044506fa42fd667e2d556327e18dfe
/src/category_theory/idempotents/functor_extension.lean
2178e4be73b4c2c013dda820272123e5c4e9c5ee
[ "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
10,990
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 /-! # Extension of functors to the idempotent completion In this file, we construct an extension `functor_extension₁` of functors ...
e626842792f8bec6070030abf4d11454eb0e84e8
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/linear_algebra/finsupp_vector_space.lean
65184852f79a7d81672e8d17dc40de1242f814f7
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
6,858
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear structures on function with finite support `α →₀ β`. -/ import data.finsupp data.mv_polynomial linear_algebra.dimension noncomputable theory open lattice set lin...
21e40b6bda2ab12541260cc30e0e147062f071ea
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_geometry/locally_ringed_space.lean
10096613620f6b305153be7d31658bde1e8b7acf
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
10,268
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 algebraic_geometry.ringed_space import algebraic_geometry.stalks import logic.equiv.transfer_instance /-! # The category of locally ringed spaces We define ...
9701775616180b85ad432cc137a1d32561f0ff11
5b0c53e5aaa0e60538d10f6b619a464aaf463815
/ch7.hlean
163f925b3908755647af95b05fb63cbc6ba2cb7f
[ "Apache-2.0" ]
permissive
bbentzen/hott-book-in-lean
f845a19ef09d48d2fb813624b4650d5832a47e10
9e262e633e653280b9cde5d287631fcec8501f64
refs/heads/master
1,586,430,679,994
1,519,975,089,000
1,519,975,089,000
50,330,220
1
0
null
null
null
null
UTF-8
Lean
false
false
3,482
hlean
/- Copyright (c) 2017 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Theorems and exercises of the HoTT book (Chapter 7) -/ import .ch2 .ch3 .ch4 open eq prod unit bool sum sigma ua funext nat lift decidable /- ************************************** -/ /- Ch.7 Homotopy...
640962fceca4703f0c0507456a610aec959c010c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/letArrowOutsideDo.lean
71ce43654c806ab99df19fbd2bad14faa1831f1c
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
63
lean
def myFun (n : Nat) : IO Nat := let q ← (10 : Nat) n + q
1188ee7b01a7b45476cbb59074cba222de19b9fd
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Compiler.lean
80de3ba550bfc080618b30b14e740a19cc083a4c
[ "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
489
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.InlineAttrs import Lean.Compiler.Specialize import Lean.Compiler.ConstFolding import Lean.Compiler.ClosedTermCache import Lean.Compiler...
0d4c45e0a43aaf3032972354aa8ee65bf812db4f
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/nat/factorial.lean
83445004a8c0b9a220f1d400b2d2628214d59135
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,141
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes, Floris van Doorn -/ import data.nat.basic /-! # The factorial function -/ namespace nat variables {m n : ℕ} /-- `nat.factorial n` is the factorial of `...
e1e9d1770a94331aca089d055c947c6d32679f1b
5bf112cf7101c6c6303dc3fd0b3179c860e61e56
/lean/problems/default.lean
945b79881f786cf14e6bdeda633ce75a4fe44d34
[ "Apache-2.0" ]
permissive
fredfeng/formal-encoding
7ab645f49a553dfad2af03fcb4289e40fc679759
024efcf58672ac6b817caa10dfe8cd9708b07f1b
refs/heads/master
1,597,236,551,123
1,568,832,149,000
1,568,832,149,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36
lean
import problems.algebra.imo_2018_sl
80cd59754e7576d7b04f59a8c124fd3216600505
c8af905dcd8475f414868d303b2eb0e9d3eb32f9
/src/data/cpi/concretion/pseudo_apply.lean
848dd479e561c73bc6670550e5590301e96a4063
[ "BSD-3-Clause" ]
permissive
continuouspi/lean-cpi
81480a13842d67ff5f3698643210d8ed5dd08de4
443bf2cb236feadc45a01387099c236ab2b78237
refs/heads/master
1,650,307,316,582
1,587,033,364,000
1,587,033,364,000
207,499,661
1
0
null
null
null
null
UTF-8
Lean
false
false
26,630
lean
import data.cpi.concretion.congruence namespace cpi namespace concretion variables {ℍ : Type} {ω : context} /-- An alternative measure, simply computes the depth of a term, and thus is preserved over renames. -/ private def depth : ∀ {Γ} {b y}, concretion ℍ ω Γ b y → ℕ | _ _ _ (#(_; _) _) := 1 | _ _ _ (F |₁ _) :...
edd02dd67d5b77caf691b15ea2a9ed8e0020890a
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/PreDefinition/WF/TerminationBy.lean
9aaa5d7f6cbe90fd316fc7c9643f8cd455a9dc3c
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
2,652
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Parser.Command namespace Lean.Elab.WF inductive TerminationBy where | none | one (stx : Syntax) | many (map : NameMap Syntax) def expan...
19c697fdd65a3477effe6fe3d33734e1f60c1640
ed9ca7f44f366ca3a04272f939b2275961f36c59
/src/for_mathlib/uniform_space/separation.lean
44368851b5111681daf9848cac18988fc40ac8fb
[ "Apache-2.0" ]
permissive
wh941231/lean-perfectoid-spaces
e88fb5d76746009242349f276cd0920285d8beb9
43954f64ce4afdf4fa39e2aeef8ec43826b24f2a
refs/heads/master
1,653,641,928,775
1,588,499,720,000
1,588,499,720,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,178
lean
import topology.uniform_space.separation import topology.uniform_space.uniform_embedding import for_mathlib.quotient import for_mathlib.topology noncomputable theory local attribute [instance, priority 0] classical.prop_decidable open filter universes u v w local notation f `∘₂` g := function.bicompr f g section ...
feb550a2bec79c53a84e6276272deadda4de76dd
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/data/nat/prime.lean
e0c6db381197c4b9e5f60b015582eb5030109d63
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
17,103
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro Prime numbers. -/ import data.nat.sqrt data.nat.gcd data.list.basic data.list.perm open bool subtype namespace nat open decida...
17116306fea15bf183be74b35327a25ffc144594
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/group4.lean
f9c17c88dfa9a43dfa1a60797acb0b6475ce3c4a
[ "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
4,073
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 -- algebra.group -- ============= -- Various structures with 1, *, inv, including groups. import logic.eq logic.connectives import data.unit da...
0f24a65190ccc8d63f41fde6b3812f872964b38e
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/algebra/module/multilinear.lean
de11e05b4035eaf53bc71a61c35a2cc71d463249
[ "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
20,024
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.algebra.module.basic import linear_algebra.multilinear.basic /-! # Continuous multilinear maps We define continuous multilinear maps as maps f...
3bc4e9d09c951c0838bd251824b8f1281bca67c1
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/ring_theory/fractional_ideal.lean
7dcf36f97245411d3c4eaec11f6919ed2623fb90
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
45,791
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Filippo A. E. Nuccio -/ import ring_theory.localization import ring_theory.noetherian import ring_theory.principal_ideal_domain import tactic.field_simp /-! # Fractional ide...
628fa139086e8b810184bc9e16def404cd554733
022547453607c6244552158ff25ab3bf17361760
/src/algebra/big_operators/basic.lean
2b7b5ed774c4d06d823aa0562f585f6f3ecb0930
[ "Apache-2.0" ]
permissive
1293045656/mathlib
5f81741a7c1ff1873440ec680b3680bfb6b7b048
4709e61525a60189733e72a50e564c58d534bed8
refs/heads/master
1,687,010,200,553
1,626,245,646,000
1,626,245,646,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
59,207
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.finset.fold import data.equiv.mul_add import tactic.abel /-! # Big operators In this file we define products and sums indexed by finite sets (specifica...
7a133aed184056c25c28012ca9f23cb8b3d55c24
367134ba5a65885e863bdc4507601606690974c1
/src/order/filter/at_top_bot.lean
5f1ecbd476efa95135488b609d4430920b06b0d4
[ "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
56,771
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ import order.filter.bases import data.finset.preimage /-! # `at_top` and `at_bot` filters on preorded sets, monoids a...
4d6a02ba378e3670ba8885fccffb941236da72aa
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/rewrite_search/search.lean
41ed34462976385e67a315793d7c163840acd894
[ "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
8,650
lean
/- Copyright (c) 2020 Kevin Lacker, Keeley Hoek, Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Keeley Hoek, Scott Morrison -/ import data.buffer.basic import meta.rb_map import tactic.rewrite_search.discovery import tactic.rewrite_search...
605dc6a64dabb75b024a61cc61f0b5c351734d9e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/measure_theory/group_auto.lean
e1d9375c053e2ee2cda900b1e46919a7f30928d4
[]
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
5,966
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.measure_theory.integration import Mathlib.PostPort universes u_1 namespace Mathlib ...
d05f623f04a50d2eafcb0c7108917addd932b6e7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/field_theory/minpoly.lean
2cfa3279a3de65b58e4a39a27f200438662cafc5
[ "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
23,936
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johan Commelin -/ import data.polynomial.field_division import ring_theory.integral_closure import ring_theory.polynomial.gauss_lemma /-! # Minimal polynomials This file ...
3cc2beaf2e16afdba9cdf36f4369efee838beef0
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/Papyrus/Script/AddressSpace.lean
d41c51cc0d6d0c0345112e3fbca65affd9fb2f1b
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
541
lean
import Lean.Parser import Papyrus.IR.AddressSpace namespace Papyrus.Script open Lean Parser @[runParserAttributeHooks] def addrspace := leading_parser nonReservedSymbol "addrspace" true >> "(" >> termParser >> ")" def expandAddrspace : (addrSpace : Syntax) → MacroM Syntax | `(addrspace| addrspace($x:term)) => x |...
97759fed03f61981aa412c0c630e0b8392219d8f
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/differential_object.lean
268eb4e9ff21ac3a2e45ee3054108b4281d3d1ea
[ "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
8,872
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 data.int.basic import category_theory.shift import category_theory.concrete_category.basic /-! # Differential objects in a category. A differential object in...
122b21c68082e0ed80adf1a34e8d168257e7cabb
8e31b9e0d8cec76b5aa1e60a240bbd557d01047c
/scratch/LP_operations.lean
7a7c3c9ead396b4dbcaf8b24a6b6ab5914945539
[]
no_license
ChrisHughes24/LP
7bdd62cb648461c67246457f3ddcb9518226dd49
e3ed64c2d1f642696104584e74ae7226d8e916de
refs/heads/master
1,685,642,642,858
1,578,070,602,000
1,578,070,602,000
195,268,102
4
3
null
1,569,229,518,000
1,562,255,287,000
Lean
UTF-8
Lean
false
false
43,160
lean
import data.matrix.pequiv data.rat.basic tactic.fin_cases data.list.min_max partition open matrix fintype finset function pequiv local notation `rvec`:2000 n := matrix (fin 1) (fin n) ℚ local notation `cvec`:2000 m := matrix (fin m) (fin 1) ℚ local infix ` ⬝ `:70 := matrix.mul local postfix `ᵀ` : 1500 := transpose s...
4028045465c05b774df9d0f15ffa93672a59212d
359199d7253811b032ab92108191da7336eba86e
/src/homework/hw3.lean
fcabad5f27ae84b3136140548606372a7d4367af
[]
no_license
arte-et-marte/my_cs2120f21
0bc6215cb5018a3b7c90d9d399a173233f587064
91609c3609ad81fda895bee8b97cc76813241e17
refs/heads/main
1,693,298,928,348
1,634,931,202,000
1,634,931,202,000
399,946,705
0
0
null
null
null
null
UTF-8
Lean
false
false
17,845
lean
/- Prove the following simple logical conjectures. Give a formal and an English proof of each one. Your English language proofs should be complete in the sense that they identify all the axioms and/or theorems that you use. -/ -- #1 example : true := true.intro /- True is true by its introduction rule. -/ -- #2 examp...
7eda70bf5511095421262727e3faff48ca22c0e6
1ce2e14f78a7f514bae439fbbb1f7fa2932dd7dd
/src/factorize.lean
66ffe9324e5499572f4e7e3a8f3033a16a45b32e
[ "MIT" ]
permissive
wudcscheme/lean-mathgirls
b88faf76d12e5ca07b83d6e5580663380b0bb45c
95b64a33ffb34f3c45e212c4adff3cc988dcbc60
refs/heads/master
1,678,994,115,961
1,585,127,877,000
1,585,127,877,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,770
lean
import data.list import tactic.norm_num import .common .tree_sort .list local attribute [simp, reducible] nat.factors @[simp, reducible] def list.zip_with_count {α: Type*} [decidable_eq α] (l: list α): list (α × ℕ) := list.map (λ x, (x, list.count x l)) l @[simp, reducible] def factorize (n: ℕ) : list (...
edc6b95cdf12498ebf810e9065f7936a2ade4400
ae9f8bf05de0928a4374adc7d6b36af3411d3400
/src/formal_ml/topological_space.lean
4806d5b7bfb2a91595cf4992e1810425f2faf073
[ "Apache-2.0" ]
permissive
NeoTim/formal-ml
bc42cf6beba9cd2ed56c1cd054ab4eb5402ed445
c9cbad2837104160a9832a29245471468748bb8d
refs/heads/master
1,671,549,160,900
1,601,362,989,000
1,601,362,989,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,272
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
ccbecfd6ff9cd681ba2847fcb0f4c8b363244a8b
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/sylow.lean
cb7eb34f450a514659041b623617d424e9086b17
[]
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
45,451
lean
import group_theory.subgroup group_theory.order_of_element data.fintype data.nat.prime data.nat.modeq .zmod_as_fin2 algebra.pi_instances group_theory.subgroup open equiv fintype finset universes u v w variables {G : Type u} {α : Type v} {β : Type w} [group G] namespace finset lemma filter_insert_of_pos [decidable_eq ...
740a82b44a1828fa0e145166a5095579f337604a
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/asymptotics/superpolynomial_decay.lean
ea8d3972a69300d39829534662c86dfd11979e98
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
15,117
lean
/- Copyright (c) 2021 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import analysis.asymptotics.asymptotics import analysis.normed_space.ordered import data.polynomial.eval import topology.algebra.order.liminf_limsup /-! # Super-Polynomial F...
b9f12240f4af05a45017633d58d8a661f12c1630
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/number_theory/quadratic_reciprocity.lean
6588716c217f4e90351120b4e43436acfce81d5e
[ "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
24,987
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 field_theory.finite.basic import data.zmod.basic import data.nat.parity /-! # Quadratic reciprocity. This file contains results about quadratic residues modulo ...
08bcf1dc2e7f5b83c425f5a78a9f2c349c241a31
4efff1f47634ff19e2f786deadd394270a59ecd2
/archive/sensitivity.lean
9400fb974aa0a4b67bdffbbc4feea790d3625f62
[ "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
15,496
lean
/- Copyright (c) 2019 Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, and Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, and Patrick Massot -/ import tactic.f...
c91b8715f215fc56d486cc2b91dd76046315cb93
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/omega/find_scalars.lean
f43ce544aba72d6d92ce1a0cf5d1f89b3689819c
[ "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,034
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 data.list.min_max open list.func ...
b7a1f99cb24befa425d84081acd6751a553447c6
4727251e0cd73359b15b664c3170e5d754078599
/src/representation_theory/basic.lean
1ed9a589137760a9b1e9874dc25c36d9dbd72df0
[ "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,657
lean
/- Copyright (c) 2022 Antoine Labelle. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Labelle -/ import algebra.module.basic import algebra.module.linear_map import algebra.monoid_algebra.basic import linear_algebra.trace import linear_algebra.dual import linea...
d352a56c70c26c6ef47c244b0a1955d58d60cfaf
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/07_Induction_and_Recursion.org.7.lean
8e1be1f0954d159322ca724e1e17575422bd23eb
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
266
lean
/- page 102 -/ import standard namespace hide inductive nat : Type := | zero : nat | succ : nat → nat namespace nat notation 0 := zero -- BEGIN definition add (m : nat) : nat → nat | add 0 := m | add (succ n) := succ (add n) -- END end nat end hide
d8efce8cf7756d6c075093c9d2ae7ae2f6a37481
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/sig1.lean
6be66eca79897cfc9d8ca86ee4ae0dcbf14a5db1
[ "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
249
lean
check sig (x y : Nat) (z : Bool), x > y ∧ z check sig a : Nat, Nat check Nat ⨯ Bool ⨯ Nat check Nat # Bool # Nat check Nat # Type # Nat set_option pp::unicode false check sig x : Nat, Nat check Nat ⨯ Bool ⨯ Nat set_option pp::unicode true
705d35385f8b90c35ff8924e15714cb7fdb9134b
fe25de614feb5587799621c41487aaee0d083b08
/stage0/src/Lean/PrettyPrinter/Formatter.lean
ad0ae82ce626bb883eb889169887e328aca20a02
[ "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
21,084
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 formatter turns a `Syntax` tree into a `Format` object, inserting both mandatory whitespace (to separate adjacent tokens) as well as "pretty" optional ...
353d984afd36cc33830fb9897cd8f7ad70f514bd
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/ring_theory/localization.lean
7c4a7d3db71c6841d58c146cfb9fdf71a390fdb4
[ "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
69,363
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston -/ import data.equiv.ring import group_theory.monoid_localization import ring_theory.ideal.operations import ring_theory.algebr...
3d827110f2979462e51a349c8adb7ee62d4392bb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/localization/basic.lean
06c272a17bd50b077a1299ac689e481caf752aa1
[ "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
48,543
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import algebra.algebra.tower import algebra.ring.equiv import group_theory.monoid_localization import ring_theor...
d5aaf5ab97fbc72a4d62d3479f2612376ecf2f37
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/morphisms/open_immersion.lean
4ae87dfbdce6e331cf6c478ec3560244ee4b2177
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,901
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 topology.local_at_target import algebraic_geometry.morphisms.basic /-! # Open immersions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file req...
867e558fa63a03cc002222d6b810f2e781b6f5e2
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/dynamics/circle/rotation_number/translation_number.lean
9e3b0ddca153c4ef6ac5f2df0aad9597e74b8c34
[ "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
28,240
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import analysis.specific_limits import order.iterate import algebra.iterate_hom /-! # Translation number of a monotone real map that commutes with `x ↦ x + 1`...
2d25a263cf4efa219fcebe4edfc435f42765a7b6
7571914d3f4d9677288f35ab1a53a2ad70a62bd7
/tests/lean/run/mk_byte.lean
ca5db36563ab8ee582424bf2cfbc9bc02207e066
[ "Apache-2.0" ]
permissive
picrin/lean-1
a395fed5287995f09a15a190bb24609919a0727f
b50597228b42a7eaa01bf8cb7a4fb1a98e7a8aab
refs/heads/master
1,610,757,735,162
1,502,008,413,000
1,502,008,413,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,281
lean
namespace Ex universe u -- def vector (α : Type u) (n : ℕ) := { l : list α // l.length = n } namespace vector variables {α : Type u} {n : ℕ} @[pattern] def cons : α → vector α n → vector α (nat.succ n) | a ⟨ v, h ⟩ := ⟨ a::v, congr_arg nat.succ h ⟩ def to_list' (v : vector α n) : list α := v.1 def drop (i : ℕ) : vect...
f017079b5a19ea4c069053dfdf18ef1d9a11b904
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/nat/enat.lean
7f53e7b035da8e85f08cd0f9ff49f2da8e8abf62
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,030
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.pfun import tactic.norm_num import data.equiv.mul_add /-! # Natural numbers with infinity The natural numbers and an extra `top` element `⊤`. ## Main defin...
8e66229b512fcbd3ad7136109458a216b0391f6e
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/ring/basic.lean
63876d521f26c45998b0bef2777fccd61334ccb8
[ "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
42,530
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, Floris van Doorn, Amelia Livingston, Yury Kudryashov, Neil Strickland -/ import algebra.divisibility import data.set.basic /-! # Properties and homomo...
0ce2676f69921956180ccdaa6aad34039e0582bb
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.8.lean
9b1869539b13f0fb794cc8e35d55bf1a928797f3
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
785
lean
/- page 15 -/ import standard constants A B : Type check A -- A : Type check B -- B : Type check Type -- Type : Type check Type → Type -- Type → Type : Type set_option pp.universes true -- display universe information check A -- A.{l_1} : Type.{l_1} check B ...
eec88da4af77d6c1d42b0d3a41d3b29f61c1fa99
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/category/applicative.lean
812b58f0d1c68ff3146278b597dd3db51e91d982
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
4,929
lean
/- Copyright (c) 2017 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Instances for identity and composition functors -/ import category.functor universe variables u v w section lemmas open function variables {F : Type u → Type v} variables...
f3c7e3bcbc39f2be8bb5d648b248d20aa85833af
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/plugin/PapyrusPlugin.lean
e1fbe5fafaf560d78ce1a480d6e3f8800a6aeb54
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15
lean
import Papyrus
501d72eb9266190c0366f4c56e3b7e05dd5cf4cf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/norm_swap.lean
d6dd9aa727c7e81691dd09fa1e284b22a58570a2
[ "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,098
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 logic.equiv.defs import tactic.norm_fin /-! # `norm_swap` Evaluating `swap x y z` for numerals `x y z` that are `ℕ`, `ℤ`, or `ℚ`, via a `norm_num` plugin. T...
7e16ad6dab6c3eaf5e32a0ce551cfa0b2fbf1e9b
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_geometry/Scheme.lean
f05f267c286d195b2ce9b8d4eaa9863d81d555aa
[ "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
9,528
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 algebraic_geometry.Spec /-! # The category of schemes A scheme is a locally ringed space such that every point is contained in some open set where there is a...
05f96a0bf03bffe5139c0706b1b1e885e409b3bd
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/algebra/uniform_group.lean
850759ec45d6b1bc139c36b45e20b4f494c6f7a1
[ "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
19,650
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 -/ import topology.uniform_space.uniform_embedding import topology.uniform_space.complete_separated import topology.algebra.group import tactic.abel /-!...
2fff0c7c57d4f16cb46bf60380521c8e40f8e840
46125763b4dbf50619e8846a1371029346f4c3db
/src/measure_theory/decomposition.lean
3ac07f7373b90693130dbdfab14a0344475d54d3
[ "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
8,673
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Hahn decomposition theorem TODO: * introduce finite measures (into nnreal) * show general for signed measures (into ℝ) -/ import measure_theory.measure_space open set...
eaba90b4d74d2c21781d35390f3032b0c3f0fa78
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/control/equiv_functor.lean
bf80dc9194bb224009477e453e70f692232f4126
[ "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
3,448
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 logic.equiv.defs /-! # Functions functorial with respect to equivalences > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanprover-community...
e0ae96ccd70372d49585238d6ff830dbf73f7ca8
e61a235b8468b03aee0120bf26ec615c045005d2
/tests/lean/json.lean
319cae4e5ee7292f30367f6e2f248131bf48bff2
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
605
lean
import Init.Lean.Data.Json.Parser import Init.Lean.Data.Json.Printer def test (s : String) : String := match Lean.Json.parse s with | Except.ok res => toString res | Except.error err => err #eval test "null" #eval test "false" #eval test "true" #eval test "123.456e-7" #eval test "-0.01e8" #eval test "\"\"" #eval t...
6bb376cc0286ffb171818d55aab207f0039a0bcd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/ideal/basic.lean
b4a03c6b8d82367e332bfc33d75d51f6d3e5254b
[ "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
24,737
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.atoms import order.compactly_generated import tactic.abel import data.nat.choos...
48f7e32f66954497207072ba0748dd273cb954a0
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/two_category.lean
c849c053604f1fd0e54b7f7ba6b06a6a283bcf7c
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
4,271
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 .natural_transformation open tqft.categories open tqft.categories.functor open tqft.categories.natural_transformation namespace tqft.cate...
a32a8d93d156c58bed9f04c89169a859eb44e80d
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/app/VCGBlock.lean
ef759acd3f3d8ae2e7e3f05695c531d03f427383
[]
no_license
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
34,174
lean
import LeanLLVM.AST import LeanLLVM.LLVMLib import LeanLLVM.PP import SMTLIB.Syntax import X86Semantics.Common -- for reg names import ReoptVCG.Types import ReoptVCG.VCGBackend import ReoptVCG.WordSize import ReoptVCG.MCStdLib import ReoptVCG.SMT namespace ReoptVCG open LLVM (LLVMType Typed PrimType Value) open SMT...
8f99e0c6e91ae48a328b63b3e7b796b67786c2fe
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/quotient.lean
a046da6f01a1d0e9ffe3446dd4ca1ab689170d67
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
1,006
lean
import data.set.basic import data.quot variables {α : Type*} {β : Type*} [s : setoid α] namespace quotient lemma prod_preimage_eq_image (g : quotient s → β) {h : α → β} (Hh : h = g ∘ quotient.mk) (r : set (β × β)) : {x : quotient s × quotient s | (g x.1, g x.2) ∈ r} = (λ a : α × α, (⟦a.1⟧, ⟦a.2⟧)) '' ((λ a : α × α...
efe9c4cd0ff28fc565570462f883db881def40f0
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/linear_algebra/exterior_algebra.lean
2c2a8f8250c628b58bccf6ffe01480f3bf20cb9f
[ "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
8,945
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhangir Azerbayev, Adam Topaz, Eric Wieser. -/ import algebra.ring_quot import linear_algebra.tensor_algebra import linear_algebra.alternating import group_theory.perm.sign /-! # Exterio...
13727c699c715ef8ee7f6f670277edf1754f1de8
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/lib/env.lean
90a8ee2926867d8d5b899c598a40d9f3be941246
[ "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
868
lean
namespace environment meta def decl_omap {α : Type} (e : environment) (f : declaration → option α) : list α := e.fold [] $ λ d l, match f d with | some r := r :: l | none := l end meta def decl_map {α : Type} (e : environment) (f : declaration → α) : li...
47e7c8b6c7fa4bbbf5c214e1ba1287c5ad4e1578
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/category_theory/limits/preserves.lean
395b5eace7ff4be3244fa79833d5f1110c18069c
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,243
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton -/ import category_theory.limits.limits /-! # Preservation and reflection of (co)limits. There are various distinct notions of "preserving limits". The on...
b5c425f1b7485d970f5b9b2fc160518d9cbe7af4
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/equiv/local_equiv.lean
2b34575485843045b9e5e972ea2715f99797e621
[ "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
24,804
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import data.equiv.basic /-! # Local equivalences This files defines equivalences between subsets of given types. An element `e` of `local_equiv α β` is made o...
fe634b5b4bd369de6342fd576127aff21c4b16e3
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/GetConst.lean
e16e5161f025e5e8745073e6e6db60a38edc7e79
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
1,516
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.GlobalInstances namespace Lean.Meta private def canUnfoldDefault (cfg : Config) (info : ConstantInfo) : CoreM Bool := do match cfg.tran...
e44d49a1d8dff9f82eaf4dda2a326a416f7440da
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/seq/wseq.lean
c55be3a1b2301d47a5e2b8e4eb9b35aea12f4df7
[ "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
56,216
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.basic import data.seq.seq namespace stream open function universes u v w /- coinductive wseq (α : Type u) : Type u | nil : wseq α | cons : α...
3af56f82b9be7eb2292a2a9bcb4a362573406907
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/bool/all_any.lean
150e38cf3ab2674cac86fab8bd6e0885ac44d218
[ "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,731
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.list.basic /-! # Boolean quantifiers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This...
06b9cfb85be8c8d9fa02ef32331106198a61c794
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/order/filter.lean
f7873b0d7083140eae64738955fdf72c0f885d9d
[ "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
75,469
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Theory of filters on sets. -/ import order.galois_connection data.set data.finset order.zorn open lattice set universes u v w x y local attribute [instance] classical...
a6b0c44d75a0eef268e540e88c4d01f53c6d7d1d
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_topology/dold_kan/notations.lean
e7194e9cf2bd89407c055b5b9e759749e0a47901
[ "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
702
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.alternating_face_map_complex /-! # Notations for the Dold-Kan equivalence This file defines the notation `K[X] : chain_complex C ℕ` for the altern...
ef36d344d7688b9f255b799aa1266319925f8520
7cdf3413c097e5d36492d12cdd07030eb991d394
/world_experiments/world9/level4.lean
163665c7ff3e8675023ab5b1b831246792a41bb6
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
797
lean
import game.world5.level3 -- hide namespace mynat -- hide /- # World 5 : Inequality world ## Level 4 : `le_trans` -/ /- Lemma ≤ is transitive. In other words, if $a\leq b$ and $b\leq c$ then $a\leq c$. -/ theorem le_trans {{a b c : mynat}} (hab : a ≤ b) (hbc : b ≤ c) : a ≤ c := begin [less_leaky] cases hab with ...
07f8ea654aaa047ceed4e00157e03d8458d9c5c7
ca37452420f42eb9a19643a034c532fb39187bd0
/lemmas_from_ramsey.lean
a1c1be4369221216cdb16ae066db60fe47c19f99
[]
no_license
minchaowu/Kruskal.lean
0096fd12c6732dcb55214907e7241df27d22a51e
0ec4a724c18d8fa2bc1e81dfc026a045888526d5
refs/heads/master
1,589,975,750,330
1,481,928,508,000
1,481,928,508,000
70,121,484
0
0
null
null
null
null
UTF-8
Lean
false
false
3,364
lean
import data.nat data.set open classical nat function set section -- the least number principle. lemma alt_of_wf {A : set ℕ}: ∀ n, n ∈ A → ∃₀ a ∈ A, ∀₀ b ∈ A, a ≤ b := take n, nat.strong_induction_on n (take n, assume IH, assume ninA, by_cases (suppose ∃₀ m ∈ A, m < n, obtain m (Hm : m ∈ A ∧ m < n), from this, IH...
6a9ea918c8dda635fcc50c1f0717c38a5b14a9f9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/analytic/composition.lean
520255f56928feaf25bb748cac3de386a2b44520
[]
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
39,534
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.analytic.basic import Mathlib.combinatorics.composition impo...
82bce7e235424037b2626d5075247cb8014037b9
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/category/pairwise.lean
cba20b4bb1e2fd0445af510de0edacb8bfc6a273
[ "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,291
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 category_theory.limits.preserves.basic import category_theory.limits.lattice /-! # The category of "pairwise intersections". Given `ι : Type v`, we build th...
b93f30cd7fa6d2ef8d3b364665f1eb6f4ae8425c
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/gcd_monoid.lean
d4c956703b0d9bb3275135a38340b2faaaebf38a
[ "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
31,281
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker TODO: Provide a GCD monoid instance for `ℕ`, port GCD facts about nats TODO: Generalize normalization monoids commutative (cancellative) monoids with or...
a2449e734bd488b1faba125c69f6034b58eb1613
93f5d951583b87344f929a9ec18c4f603d920c4a
/src/summary.lean
62febc569a54147e546df2f68ca787475fee23ad
[ "Apache-2.0" ]
permissive
jesse-michael-han/flypitch
824a8c1955deb661943b02146d281932dad39302
b9a25b75f6a6c69bd2913c66a8e32fc67f196335
refs/heads/master
1,625,819,158,405
1,595,824,334,000
1,595,824,334,000
167,225,933
1
0
null
1,548,265,151,000
1,548,265,151,000
null
UTF-8
Lean
false
false
2,359
lean
/- Copyright (c) 2019 The Flypitch Project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jesse Han, Floris van Doorn -/ import .zfc .completeness .print_formula open fol bSet pSet lattice collapse_algebra /- This file summarizes: - important definitions with #pri...
a1665092dc3b81404e66f6bccf42ca3a346d2bcf
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/polynomial/chebyshev/defs_auto.lean
a6c5e56eefdb61ce94e1bdacd067b731cfe5e1e5
[]
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,849
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.derivative import Mathlib.tactic.ring import Mathlib.PostPort universes u_...
7d8556163524db5542332460ac541c6b0eb93bc8
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Tactic/Simp/CongrLemmas.lean
a758a8abbe838efe02be9c262e7ea7f22330e630
[ "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
5,200
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.ScopedEnvExtension import Lean.Util.Recognizers import Lean.Meta.Basic namespace Lean.Meta structure CongrLemma where theoremName : Name ...
c90d5a6900ed279ce8a2822d661c745ad907bd3f
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Server/FileWorker.lean
a3caa6ef1c24bd20df86d2269291b70c06cce7d3
[ "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
17,909
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Std.Data.RBMap import Lean.Environment import Lean.Data.Lsp import Lean.Data.Json.FromToJson import Lean.Server.Util...
8513a0ede836da6fbc3ad58316013d0f6d4b292a
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/uniform_space/equiv.lean
037462f508c2a553366b0a52cadc32c8cc43b703
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
11,966
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton, Anatole Dedecker -/ import topology.homeomorph import topology.uniform_space.uniform_embedding import t...
83f410d4a2d32b8b6e7b30cbe0c226d805d569bd
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/prod/basic.lean
23378d994e015cad0e2c83032a300b4772365352
[ "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,738
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import tactic.basic /-! # Extra facts about `prod` This file defines `prod.swap : α × β → β × α` and proves various simple lemmas about `prod`. -/ variables {α : T...
0765a631354fa16ede076541c3b9491ba17656dc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/seq/computation.lean
e1324f9536a29630f8fbff4b959d20c5166413a3
[ "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
37,987
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Coinductive formalization of unbounded computations. -/ import tactic.basic import data.stream.init import logic.relator open function universes u v w /- coind...
929879bbf16c0014cf161db8546ba5fbbb4013cb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/archive/examples/prop_encodable.lean
d2436fd06f034af105355094755ff159e1cadc83
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,140
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import data.W.basic /-! # W types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. The file `data/W.lea...
df3e1d68e018688516f63797064bcd5b97bcb628
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/conjunctive.lean
1c85ae15c1a0d577eed40327838e31706f9821f9
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
917
lean
import ..u_semiring import ..sql import ..cosette_tactics open SQL open Pred open Expr open Proj lemma CQExample0: forall Γ s1 s2 (a: SQL Γ s1) (b: SQL Γ s2) ty0 ty1 (x: Column ty0 s1) (ya: Column ty1 s1) (yb: Column ty1 s2), denoteSQL ((DISTINCT (SELECT1 (right⋅left⋅x) (FROM1 (pro...
d6b3d50f63627759ad743fc256910b0c0f3889c6
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Meta/LevelDefEq.lean
672ceeb416975c4ee89c85dfa991d4940af26a7b
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,670
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.InferType namespace Lean.Meta private partial def decAux? : Level → MetaM (Option Level) | Level.zero _ =...
f433daf05da30286e195ed6269c1dc4eef9b3cd5
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Parser/Command.lean
41f0058b748f36196e95f7edefd797ea699f7c8f
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
14,603
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Term import Lean.Parser.Do namespace Lean namespace Parser /-- Syntax quotation for terms. -/ @[builtinTermParser] d...
7c394153e5b978e424a1c9b195b06c83a25c0829
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/notation2.lean
ba057e6d8fc7d5448bb7988c43ce7ad55a4da37a
[ "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
265
lean
-- inductive List (T : Type) : Type | nil {} : List | cons : T → List → List open List notation h :: t := cons h t notation `[` l:(foldr `,` (h t, cons h t) nil) `]` := l infixr `::` := cons check (1:num) :: 2 :: nil check (1:num) :: 2 :: 3 :: 4 :: 5 :: nil
f5402770e9a784c06e72b68291049629301200be
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/dedekind_domain.lean
2c5c29a90d349519c5278d60c15c91c752f98126
[ "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
5,708
lean
/- Copyright (c) 2020 Kenji Nakagawa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenji Nakagawa, Anne Baanen, Filippo A. E. Nuccio -/ import ring_theory.discrete_valuation_ring import ring_theory.fractional_ideal import ring_theory.ideal.over /-! # Dedekind domain...
652ce4a3ef9ac0738eebb8c93564054c76e40772
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/data/prod.lean
8915b85a9de0dad9b9c281c4bc95a3359c03d2c6
[ "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
1,643
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad -/ prelude import init.logic universes u v section variables {α : Type u} {β : Type v} @[simp] lemma prod.mk.eta : ∀{p : α × β}, (p.1, p.2) = p...
231545b258123bdbf624d06bbae2bca431f2ca4f
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/09_Type_Classes.org.30.lean
40d9ee59a044bbe0445a47e7e5688fc481e6aa4f
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
1,353
lean
import standard import data.nat open nat decidable definition ball (n : nat) (P : nat → Prop) : Prop := ∀ x, x < n → P x definition ball_zero (P : nat → Prop) : ball zero P := λ x Hlt, absurd Hlt !not_lt_zero variables {n : nat} {P : nat → Prop} definition ball_of_ball_succ (H : ball (succ n) P) : ball n P := λ x H...