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
d98ba93707b569b076e9222fd9efcd00cca65119
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/integral_domain.lean
77edf0ced38cd37a27e441e27a32f3d8c93a1326
[ "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
7,814
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes -/ import data.fintype.card import data.polynomial.ring_division import group_theory.specific_groups.cyclic import algebra.geom_sum /-! # Integral domain...
caf7702cbef18397d52a09844cf2abb4f406c9fe
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Meta/Tactic/Util.lean
e00498dd934418c4b4ae633ae5e0a58250915fdd
[ "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
2,005
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.AppBuilder import Lean.Meta.LevelDefEq namespace Lean.Meta /-- Aka user name -/ def getMVarTag (mvarId : MVarId) :...
bda008da77625bf3138930ed3099e2ad91c047d6
75c54c8946bb4203e0aaf196f918424a17b0de99
/src/pSet_ordinal.lean
9a026d8fedc50b948dc32168bcbd1ca9fe29ae3a
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
63,437
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 set_theory.zfc tactic.tidy .to_mathlib open ordinal open cardinal local prefix `#`:70 := cardinal.mk noncomputable theory local attrib...
733a781f824b514ee385dcfd98561d5eebb10baa
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/homology/chain_complex.lean
f4b849b0643e2f58d7fa34ce4e9ee7c06ad8dcb8
[ "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
3,792
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.graded_object import category_theory.differential_object /-! # Chain complexes We define a chain complex in `V` as a di...
d8ebca361562f9f5c6f4b75a2446651d9b5e32bf
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebra/group/units_hom.lean
b68dbf5e485a27dffca6ae05bf17773497eb6fe4
[ "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,998
lean
/- Copyright (c) 2018 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes, Kevin Buzzard -/ import algebra.group.units import algebra.group.hom /-! # Lift monoid homomorphisms to group homomorphisms of their units subgroups. -/ u...
e56e407f23cc21ee6757eefb057d4384eea8e655
c777c32c8e484e195053731103c5e52af26a25d1
/src/probability/kernel/basic.lean
e2068f99f01cc1207a18e36a0d3c8558c0a5e90c
[ "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
26,568
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import measure_theory.constructions.prod /-! # Markov Kernels A kernel from a measurable space `α` to another measurable space `β` is a measurable map `α → measure β`,...
1d6bc33d2470f981b43d2cd549726e370386050e
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/playground/hashable.lean
7dd48931723de3d20cf2ff61466f1fc88c37fa02
[ "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
2,099
lean
set_option trace.Elab.Deriving.hashable true inductive SimpleInd | A | B deriving Hashable theorem «inductive fields have different base hashes» : ∀ x, hash x = match x with | SimpleInd.A => 0 | SimpleInd.B => 1 := λ x => rfl mutual inductive Foo : Type → Type | A : Int → (3 = 3) → String → Foo Int | B : Bar → Foo ...
dbc6fc076278c97cea38363d2273d20fe581e042
67190c9aacc0cac64fb4463d93e84c696a5be896
/Lists of exercises/List 4/garrafas.lean
332d15d99627614f298ed40c2935437cc69192a0
[]
no_license
lucasresck/Discrete-Mathematics
ffbaf55943e7ce2c7bc50cef7e3ef66a0212f738
0a08081c5f393e5765259d3f1253c3a6dd043dac
refs/heads/master
1,596,627,857,734
1,573,411,500,000
1,573,411,500,000
212,489,764
0
0
null
null
null
null
UTF-8
Lean
false
false
3,210
lean
/- (X) We agree with sharing this code with the classmates. Alunos: - Lucas Emanuel Resck Domingues - Lucas Machado Moschen Considere uma fonte de água inesgotável e duas garrafas, uma de 5 e outra de 7 litros, as quais não possuem quaisquer marcações que possibilitem medidas de volumes intermediários às suas resp...
49021e0ed2f92d799692fd3dfa55ece2fe9ec98d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/Diff.lean
4631737d41eb46f29e24c5e11c92601971daff52
[ "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
621
lean
def hello : (x : Nat) → (h : x = x) → True := by intro x --^ goals intro --^ goals trivial def hello2 : (x : Nat) → (h : x = x) → True := by intros --^ goals trivial theorem qqww (x y : Nat) (f : (α → x = y)) (h : y = x) : True := by rw [h] at f --^ goals trivial theorem qqww2 (x y : Nat) (f : (...
44afcfa7115db053784093251eb4fdde12321fce
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/inner_product_space/positive.lean
8311d019874de6a1d8252dde3d8b711c81b083bc
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
4,347
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.inner_product_space.l2_space import analysis.inner_product_space.adjoint /-! # Positive operators In this file we define positive operators in a...
b805d3cec3eb8f798d0628cf3730054f8f1a216e
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/number_theory/pell.lean
203d610a0bf372584d31a5065bd99d3fff2c898d
[ "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
37,083
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.nat.modeq data.zsqrtd.basic tactic.ring namespace pell open nat section parameters {a : ℕ} (a1 : a > 1) include a1 private def d := a*a - 1 @[...
cd71a22148377fec439a783db835d141cc370ad3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/witt_vector/mul_p.lean
91bd4b8de87e7bd5cdcf202188ff2795686ed5f7
[]
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,767
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.ring_theory.witt_vector.is_poly import Mathlib.PostPort universes u_1 namespace Mathlib ...
5a8379126f73efbeffb91be6ac829d02a3bcb706
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/lua15.lean
1a678e5e2445d62f502ba0b137a048ae9e986f98
[ "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
234
lean
import Int. variables i j : Int variable p : Bool (* local env = get_environment() ok, ex = pcall( function() print(parse_lean("i + p")) end) assert(not ok) assert(is_exception(ex)) print(ex:what()) ex:rethrow() *)
9bf2959abb271f5d2df06f603acf5843d6422cdf
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebraic_geometry/presheafed_space.lean
63748e11bf56b6bf9bb0b8f526145d15b59557f7
[ "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
8,452
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 topology.sheaves.presheaf /-! # Presheafed spaces Introduces the category of topological spaces equipped with a presheaf (taking values in an arbitrary targe...
157d0721a8dc8ed7b9faf9fff56f27a919f51e86
724b37749f589c3ad15e106a1a0610240659c140
/Levenshtein.lean
69d2ab033fe869eab5ef7c3f51ef63e737f01e0a
[ "Apache-2.0" ]
permissive
Vtec234/lean4-bits
3865b6f11edbcdf82ea3a0a89d6ac8046fc41ef9
0d9340285b208553e0e0b31acfb2c9097ff4546a
refs/heads/master
1,688,039,348,308
1,627,783,881,000
1,627,784,253,000
391,503,122
0
0
null
null
null
null
UTF-8
Lean
false
false
1,099
lean
/-! Levenshtein Distance -/ import Init.Data.Array def Array.iota (n : Nat) : Array Nat := List.range n |>.toArray def lev' (s₀ : String) (s₁ : String) : Nat := let v₀ := Array.iota (s₁.length + 1) let v₁ := Array.mkArray (s₁.length + 1) 0 let ⟨v₀, v₁⟩ : Array Nat × Array Nat := s₀.toList.enum.foldl (λ ...
1aee1c69af5adf57b79596f9487e46f88ebed5dd
b561a44b48979a98df50ade0789a21c79ee31288
/src/Lean/Elab/BuiltinCommand.lean
8be3d5563da059d392731cd4489c64ff4daa9bed
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,798
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.DocString import Lean.Elab.Command import Lean.Elab.Open namespace Lean.Elab.Command @[builtinCommandElab moduleDoc] def elabModuleDoc : Comma...
b6ca4964f293514cb1e7bd42ea726bdac9f3f20f
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Data/ToString.lean
5eca7af4ac0d5c1885586d268912d470e190038b
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,171
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.String.Basic import Init.Data.UInt import Init.Data.Nat.Div import Init.Data.Repr open Sum Subtype Nat universes u v class HasToSt...
c42406ae3a50253a35168098767cc741e8df619c
500f65bb93c499cd35c3254d894d762208cae042
/src/tactic/finish.lean
8ef7f9951bd98464c0e3f656dacc8be3b993653a
[ "Apache-2.0" ]
permissive
PatrickMassot/mathlib
c39dc0ff18bbde42f1c93a1642f6e429adad538c
45df75b3c9da159fe3192fa7f769dfbec0bd6bda
refs/heads/master
1,623,168,646,390
1,566,940,765,000
1,566,940,765,000
115,220,590
0
1
null
1,514,061,524,000
1,514,061,524,000
null
UTF-8
Lean
false
false
21,584
lean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jesse Michael Han These tactics do straightforward things: they call the simplifier, split conjunctive assumptions, eliminate existential quantifiers on the left, and lo...
2a02fe27b140fc22891afecebad28869b6209e8c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/archive/imo/imo2019_q2.lean
b93b1046604ed6c30228d64dbf8d2b397c65268b
[ "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
26,667
lean
/- Copyright (c) 2022 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.angle.sphere import geometry.euclidean.sphere.second_inter /-! # IMO 2019 Q2 > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this ...
dcdbc69b6e573d55cb35713faafacc5a63f6c367
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/dfinsupp.lean
230147f10ca12152b046239891ef83c1b58dc90e
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
18,403
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import data.finsupp.to_dfinsupp import linear_algebra.basis /-! # Properties of the module `Π₀ i, M i` Given an indexed collection of `R`-modules `M i`, the `...
ec9fc2e2e2a8ff1d1d2b4f21f816863eb288574d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/number_theory/padics/default.lean
9eaf5cc607bb8abdabdea3c7d1edcc42dad1c3e7
[ "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
43
lean
import number_theory.padics.padic_integers
aa7cdb0045f52a57b86c2944367547bbd3287741
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/Fintype.lean
08d43243895d28448a7f96dd29a7bc9540fbb1ca
[ "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
4,936
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Adam Topaz -/ import category_theory.concrete_category.basic import category_theory.full_subcategory import category_theory.skeletal import category_theory.elementwise impor...
5346399ab536103aba1a1af543259306a487f015
1e3a43e8ba59c6fe1c66775b6e833e721eaf1675
/src/analysis/convex/basic.lean
90563f3e7bb0aaa18bc77156ccc5b3948e8019fd
[ "Apache-2.0" ]
permissive
Sterrs/mathlib
ea6910847b8dfd18500486de9ab0ee35704a3f52
d9327e433804004aa1dc65091bbe0de1e5a08c5e
refs/heads/master
1,650,769,884,257
1,587,808,694,000
1,587,808,694,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,852
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import data.set.intervals import ring_theory.algebra import algebra.pointwise /-! # Convex sets and functions on real vector spaces In a re...
93bf52d4a9ad8b2fe7550ffdcdce0a4de2bc2ceb
947b78d97130d56365ae2ec264df196ce769371a
/tests/compiler/lazylist.lean
5a8ff24a280121d300a39e7c94188ce7aa9aac2a
[ "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
3,963
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ universes u v w inductive LazyList (α : Type u) | nil : LazyList | cons (hd : α) (tl : LazyList) : LazyList | delayed (t : Thunk L...
526084dce7cc246e41838cab437665d35595c37b
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/Mathlib/Mathlib/Init/Logic.lean
5ed06064b6f5b6f14da51022dfd54df7c5b4c1b8
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,554
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 -/ import Mathlib.Tactic.Basic universe u v w @[simp] theorem opt_param_eq (α : Sort u) (default : α) : optParam α default ...
cf4946daa47d36a4faa10e6441b116281795c9a9
2ee768fce4d0783536570385ee340d97e2411436
/src/monotonicity.lean
c261890ade5ee3f6eb5174ce9aa5e7c2247c33a3
[]
no_license
agjftucker/exists-unique
835cf0c0ec622d49dbceb84be37db62e6ab8a6d0
1fba6035a08347f424c765d8a1c56b1a15c8abbe
refs/heads/master
1,683,445,592,336
1,622,649,822,000
1,622,649,822,000
309,485,697
2
0
null
null
null
null
UTF-8
Lean
false
false
3,072
lean
import u_prop variables {𝒩 : Type} [decidable_eq 𝒩] {T : with_top ℝ} variables {ℋ : well_behaved_soln 𝒩 T} {ℰ : equity_function 𝒩 T} namespace mo variable {A : finset 𝒩} lemma ssubsets_sup'_le {hA : A.ssubsets.nonempty} : A.ssubsets.sup' hA (u ℋ ℰ) ≤ u ℋ ℰ A := begin apply finset.sup'_le _ (u ℋ ℰ), intros B...
3d6816c47a3e3590d7f4bf0c42db761c70f9e3c5
7b4371534ac437ca8cfb325dd5c6638ff111d31a
/sum_over.lean
5c69644e2cd539dd20e489b4a6d4de63077b7010
[]
no_license
Shamrock-Frost/boolean_rings
6d78294568b6b9ad7b9c67b5de5e9545227826da
5da11beeaa37ec186c1deff946f2dbf7594fceb4
refs/heads/master
1,588,394,857,485
1,553,973,949,000
1,553,973,949,000
177,757,941
0
0
null
null
null
null
UTF-8
Lean
false
false
27,225
lean
import .finite .heq section parameters {R : Type _} [semiring R] def sum_over : Π {n} (f : fin n → R), R | 0 f := 0 | (n+1) f := sum_over (fin.restrict f) + f ⟨n, nat.lt_succ_self n⟩ lemma sum_over.step {n} (f : fin (nat.succ n) → R) : sum_over f = sum_over (fin.restrict f) + f ⟨n, nat.lt_succ_self n⟩ := rf...
e64c389658c9a4a3ddbd8bbec916f3a81f8eecf2
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/integral/bochner.lean
480e74c107edd510572a5f95ed337a50ce1c254b
[ "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
65,351
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import measure_theory.integral.set_to_l1 import measure_theory.group.basic import analysis.normed_space.bounded_linear...
82ebce30c0a81723b0abb8c0754a34d1f2d4092c
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world4/level1.lean
c17b86cc1eac015b8cb5bec0ec75d548c87053a2
[]
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
1,501
lean
import game.world3.level9 -- hide import mynat.pow -- new import namespace mynat -- hide -- World name : Power world /- Axiom : pow_zero (a : mynat) : a ^ 0 = 1 -/ /- Axiom : pow_succ (a b : mynat) : a ^ succ(b) = a ^ b * b -/ /- # World 4 : Power World A new world with seven levels. And a new import! This impor...
b53f6dc19ff1cc36ea541303acbe0e13a0568cbb
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/exists_intro1.lean
48cd5e8ce81f6e0d5d28c4a20cfc5811dd3266d4
[ "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
674
lean
example : ∃ x : nat, x = x := Exists.intro 0 rfl example : ∃ x : nat, x = x := exists.intro 0 rfl lemma ex1 : ∃ x : nat, x = x := Exists.intro 0 rfl lemma ex2 : ∃ x : nat, x = x := exists.intro 0 rfl lemma ex3 : ∃ x y : nat, x = y := exists.intro 0 (exists.intro 0 rfl) lemma ex4 : ∃ x y : nat, x = y + 1 := exists...
20dbfbfd8626ee698005ca50ec0df831eeced062
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1870.lean
1bfb5ebda556d8f85b630400b056c352b518e619
[ "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
833
lean
class Zero.{u} (α : Type u) where zero : α instance Zero.toOfNat0 {α} [Zero α] : OfNat α (nat_lit 0) where ofNat := ‹Zero α›.1 instance Zero.ofOfNat0 {α} [OfNat α (nat_lit 0)] : Zero α where zero := 0 class One (α : Type u) where one : α instance One.toOfNat1 {α} [One α] : OfNat α (nat_lit 1) where ofNat ...
6e65a50bcdbaf06beb755950cc8227c74d51e994
f22a91842f18b5e855075b9becd55d2233756c6a
/src/misc/descent.lean
5180ad46c38885dc2d2520a28cdde3b95a2abffa
[]
no_license
kckennylau/tao-analysis-one
48cef1ee896d6703fcaf47ce5548e44f88901a0e
2bd2d14c3c722bb36526c5a4e6b87618b2c081b1
refs/heads/master
1,621,002,517,963
1,514,151,057,000
1,514,151,057,000
115,971,702
0
0
null
1,514,864,495,000
1,514,864,495,000
null
UTF-8
Lean
false
false
156
lean
lemma noetherian : ∀ P : ℕ → Prop, (∀ x, (∀ y, y < x → P y) → P x) → (∀ x, P x) := λ P h₁ x, well_founded.fix nat.lt_wf h₁ x
83004df912dc0f12edb920559929c2966857f1bd
dc253be9829b840f15d96d986e0c13520b085033
/component.hlean
9e05a55770747be780f00da0f16f378638880f72
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
3,925
hlean
-- Author: Floris van Doorn import homotopy.connectedness .move_to_lib open eq equiv pointed is_conn is_trunc sigma prod trunc function group nat fiber namespace is_conn open sigma.ops pointed trunc_index /- this is equivalent to pfiber (A → ∥A∥₀) ≡ connect 0 A -/ definition component [constructor] (A : Type...
6b4ea7874348ccb091bd2fb8e60a93b03d1e0508
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/analysis/calculus/fderiv_measurable.lean
09e7de4c17b18a4a3cfe4f82d18a66e077477754
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,739
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, Yury Kudryashov -/ import analysis.calculus.deriv import measure_theory.borel_space /-! # Derivative is measurable In this file we prove that the derivative of...
2f7c21665692d78b2f75faf89fcb8e41562d9fd3
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/linear_algebra/quadratic_form.lean
ca8d97b6a22ceeacccbf6322a54dc2a13a39d35b
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,882
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen -/ import algebra.invertible import linear_algebra.bilinear_form import linear_algebra.determinant import linear_algebra.special_linear_group /-! # Quadratic forms This file...
03b5ae4366eaa9987a8045d1231a43561b4164cb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1359.lean
2fbfb0842e72629247aaee37895eba3da020aad1
[ "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
177
lean
#check (by exact 42) = Nat.zero -- invalid 'by' tactic, expected type has not been provided #check (by exact 42) + 1 -- invalid 'by' tactic, expected type has not been provided
befcfdd0468a02e0b68374ca45eea16fad4b7fb7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/logic/relator.lean
c9ea9b0afedac5b7b19c08ab5691a75a19416840
[ "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
3,463
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 Relator for functions, pairs, sums, and lists. -/ import logic.basic namespace relator universes u₁ u₂ v₁ v₂ /- TODO(johoelzl): * should we introduce relators of da...
588f0fb747f83a362a4e8e6fdcb7a71847fdcd24
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/univ3.lean
31a3cf0df9ba87b04d4b2541ad01a8fadb08117c
[ "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
99
lean
universe Z >= 0 definition Z := 0 eval Z definition TZ := (Type Z) eval TZ definition U := 1 eval U
22f44ba9160407d238d1b40c2bae62070e686f2d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/constructions/zero_objects.lean
a4d2f763aba751faddcc3405f96070c9d70cb536
[ "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
7,253
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.zero_morphisms import category_theory.limits.constructions.binary_products /-! # ...
85b67c7fcf2d9847e1b023b3bb5aa6c6ada2542b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/cyclotomic/primitive_roots.lean
a6dc27d8567dfca27d0bf9a35898a3eed716c117
[ "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
25,510
lean
/- Copyright (c) 2022 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alex Best, Riccardo Brasca, Eric Rodriguez -/ import data.pnat.prime import algebra.is_prime_pow import number_theory.cyclotomic.basic import ring_theory.adjoin.power_basis import ri...
e967aae7427465c2d22802d7f22ef6d2b8ced9cb
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Data/Name.lean
353c4bf3d76c501493fee6c3309cf0e5fcb41951
[ "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,921
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Std.Data.HashSet import Std.Data.RBMap import Std.Data.RBTree import Lean.Data.SSet namespace Lean instance : Coe String Name := ⟨Name.mkSimple⟩ nam...
915705d52019cee5ec522ef25c1e5dcd896d1d45
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/star_subalgebra.lean
241c1da3132bd5319ceefcfb7e7b72fcad788afc
[ "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
9,265
lean
/- Copyright (c) 2022 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import algebra.star.subalgebra import topology.algebra.algebra import topology.algebra.star /-! # Topological star (sub)algebras > THIS FILE IS SYNCHRONIZED WITH MATH...
d6f79ede7a240bc612bd11e687600cbd307c8df1
14d3c04048fcbea3818a26103a6e4f1c99fc6c62
/src/application.lean
a3d8d3fe8ab6a16d2fc3dd0863a8f36bcbc553c2
[]
no_license
gihanmarasingha/myint
866a880ae7ade3de7d1e8550e6d2c4be94f1b85f
eba85880a500a7977cc4e23c9fa51877dfc82b58
refs/heads/master
1,682,793,960,074
1,619,541,459,000
1,619,541,459,000
360,702,700
0
0
null
null
null
null
UTF-8
Lean
false
false
3,658
lean
import lemmas basic namespace myint example (a : nat) : a • (0 : myint) = (0 : myint) := smul_zero a def five_z : add_subgroup int := add_subgroup.closure ({5} : set ℤ) def five_mint : add_subgroup myint := add_subgroup.closure ({5} : set myint) example (a b : int) : (-a - b) = -(a+b) := (neg_add' a b).symm -- `f...
9bda7f6cdbb23499cc3408190e3e8b4a1dded2e5
aa5a655c05e5359a70646b7154e7cac59f0b4132
/src/Init/Data/Repr.lean
b1925e0a6a8ee015b483bb7f0b6600c9aab83b95
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,757
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Format.Basic import Init.Data.Int.Basic import Init.Data.Nat.Div import Init.Data.UInt import Init.Control.Id open Sum Subtype Nat ...
75ca46ac97554cbec81edbfb8fc298b413d9a270
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/list/sort.lean
914259bc948b364c26538688b579625bd1a18f53
[ "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
14,909
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import data.list.of_fn import data.list.perm /-! # Sorting algorithms on lists > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresp...
756b1c82af6f145424fe1f749bcf025b9139b831
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/incmd.lean
3e3c1cfe8f5abe9fa106419f3eb0683e6242df63
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
224
lean
variable {α : Type} in def f : α → α := fun x => x #check @f variables {α : Type} {β : Type} in variable (h : α → α) in set_option pp.raw.maxDepth 1000 in def g : α → β → α := fun x _ => h x #check @g
0c3bd8835e76e19e0b58b9ecbaacf461dd0786e5
26ac254ecb57ffcb886ff709cf018390161a9225
/src/category_theory/endomorphism.lean
7782722f2bbf549a8f6d339aef9cf63a65fc2b27
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
2,776
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Scott Morrison, Simon Hudon Definition and basic properties of endomorphisms and automorphisms of an object in a category. -/ import category_theory.category import ...
8dc45d13ae02fac20e5bd841948d9e58565167d4
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/Mathlib/Mathlib/Algebra/Order.lean
2ca0354e16c91d9ec964ec1c92871e237e929b3a
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,274
lean
/- Ported by Deniz Aydin from the lean3 prelude: https://github.com/leanprover-community/lean/blob/master/library/init/algebra/order.lean Original file's license: Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo d...
5bfaba7ea251a8ad3e9a3524c8d503b0cd55a97a
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/field.lean
fc1cc73d2cb841c8dcb9f29dee34341733ce34dd
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,495
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, Johannes Hölzl, Mario Carneiro -/ import algebra.ring.basic import algebra.group_with_zero open set set_option old_structure_cmd true universe u variab...
a71c047a9ba13654b94a18dd4a00f32e9dc8d74b
ea916b7f42baf59c02ca82e274a87b3e45397968
/src/super/utils.lean
b9a23b6651f9725ae1d6fcc7be8311640092ea28
[]
no_license
robertylewis/super2
2926383b166e43ebd815b81ae8fba976393a160c
8ba522fd609d25752cd3d9b478bc48b6453e3c1e
refs/heads/master
1,670,062,676,962
1,597,795,530,000
1,597,795,530,000
289,744,671
0
0
null
1,598,207,476,000
1,598,207,476,000
null
UTF-8
Lean
false
false
8,510
lean
import tactic.core attribute [inline] or.decidable decidable.to_bool bool.decidable_eq and.decidable nat.decidable_eq ne.decidable decidable.false implies.decidable option.get_or_else option.map meta def format.form (as : list format) : format := (format.join (as.intersperse format.line)).paren.group open native...
d05769b83305c8242db9e6fd460e82368d9bee04
f22a91842f18b5e855075b9becd55d2233756c6a
/src/ch04_04.lean
448d077bd48f2a4ea12d23416bccdf9e950ca678
[]
no_license
kckennylau/tao-analysis-one
48cef1ee896d6703fcaf47ce5548e44f88901a0e
2bd2d14c3c722bb36526c5a4e6b87618b2c081b1
refs/heads/master
1,621,002,517,963
1,514,151,057,000
1,514,151,057,000
115,971,702
0
0
null
1,514,864,495,000
1,514,864,495,000
null
UTF-8
Lean
false
false
3,555
lean
-------------------------------------------------------------------------------- -- Chapter 4 - Integers and rationals -- Section 4 - Gaps in the rational numbers -- Analysis 1, Third Edition, Tao -------------------------------------------------------------------...
774be3858d7dbf38346e85b2e2a25e94aae31498
46ee5dc7248ccc9ee615639c0c003c05f58975cd
/src/setsimp.lean
a51d47b65bda1632df0446e747f272138f6e32a5
[ "Apache-2.0" ]
permissive
m4lvin/tablean
e61d593b4dde6512245192c577edeb36c48f63c0
836202612fc2bfacb5545696412e7d27f7704141
refs/heads/main
1,685,613,112,076
1,676,755,678,000
1,676,755,678,000
454,064,275
8
1
null
null
null
null
UTF-8
Lean
false
false
1,794
lean
-- SETSIMP import syntax @[simp] lemma union_singleton_is_insert {X : finset formula} {ϕ: formula} : X ∪ {ϕ} = insert ϕ X := begin have fo := finset.insert_eq ϕ X, finish, end @[simp] lemma sdiff_singleton_is_erase {X : finset formula} {ϕ: formula} : X \ {ϕ} = X.erase ϕ := begin apply finset.induction_on X...
d2f2dd219aa4406c83b8607461d4f5cd6b71ea02
63abd62053d479eae5abf4951554e1064a4c45b4
/src/order/filter/ultrafilter.lean
bb55e669c07573e5c3c8187914266555192b6cfe
[ "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
14,373
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad -/ import order.filter.cofinite /-! # Ultrafilters An ultrafilter is a minimal (maximal in the set order) proper filter. In this file we define * `is_u...
d1fe85db751049b92f6395883a30dfcc03e48752
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/data/finsupp.lean
a6315deabdae66bda59efb08abee259af085688b
[ "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
34,313
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 Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
8929b5e4396621256f468e622a38b934f38a16c2
46125763b4dbf50619e8846a1371029346f4c3db
/src/topology/metric_space/gromov_hausdorff_realized.lean
22a38f7f74ea241bdabf383d9484a7a74cb1166f
[ "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
26,997
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel Construction of a good coupling between nonempty compact metric spaces, minimizing their Hausdorff distance. This construction is instrumental to study the Gromov-...
9b6c09069ddf3a24a0914ef2921db244bf14f6d2
a2ee6a66690e8da666951cac0c243d42db11f9f3
/src/linear_algebra/finsupp.lean
a5b8ae3b82f8ce8a7cd295dd9c8056dd7c6d408e
[ "Apache-2.0" ]
permissive
shyamalschandra/mathlib
6d414d7c334bf383e764336843f065bd14c44273
ca679acad147870b2c5087d90fe3550f107dea49
refs/heads/master
1,671,730,354,335
1,601,883,576,000
1,601,883,576,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,114
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 `α →₀ M`. -/ import algebra.monoid_algebra noncomputable theory open set linear_map submodule open_locale classical ...
aeef6f487e66ccc966f66d86c41136aad196af8d
6cc23d886ccf271bfd0c9ca5d29cafb9c0be7bf5
/src/LeanPlay/Help.lean
51949f99744f654c1777b451c46250d2bc681814
[]
no_license
Anderssorby/LeanPlay
d39b15dbc3441c2be5a4ea5adf8fe70c4648737b
8fd63d98d02490060323f4c5117b9a7e8da50813
refs/heads/main
1,692,004,930,931
1,633,974,729,000
1,633,974,729,000
368,654,414
0
0
null
null
null
null
UTF-8
Lean
false
false
521
lean
namespace LeanPlay def usage := " USAGE: lean-play [OPTIONS] <COMMAND> OPTIONS: --version print version and exit --help, -h print help of the program or a command and exit --dir, -d=file use the package configuration in a specific directory --file, -f=file use a specifi...
6a9b90a2ba7952701bb2332fbd65d48b78d69357
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/annihilating_polynomial.lean
8a868acb78e221cd358a0dd7d8e4a8a48c1120d5
[ "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
6,626
lean
/- Copyright (c) 2022 Justin Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justin Thomas -/ import field_theory.minpoly import ring_theory.principal_ideal_domain /-! # Annihilating Ideal Given a commutative ring `R` and an `R`-algebra `A` Every element `a : ...
4f37290bf5a773c1130302d2b6f6d42b2349ffce
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Util/Trace.lean
4e0c4c6543bb20b13b3f9868f27d43f18f6a2ba3
[ "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
5,611
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Leonardo de Moura -/ import Lean.Message import Lean.MonadEnv universe u namespace Lean open Std (PersistentArray) structure TraceElem := (ref : Syntax) ...
8c428d8d412e8e2bd8ad4f485680a8a8c6cfb49f
cbb817439c51008d66b37ce6b1964fea61434d35
/theorem-proving-in-lean/src/chap_8.lean
e91d5f46002b24f70cce20a732d3d4350c230224
[]
no_license
tomhoule/theorem-proving-in-lean-exercises
a07f99d4f6b41ce003e8a0274c7bc46359fa62b2
60ccc71b8a6df6924e7cc90aab713b804f78da9f
refs/heads/master
1,663,582,321,828
1,590,352,467,000
1,590,352,476,000
257,107,936
3
0
null
null
null
null
UTF-8
Lean
false
false
33,307
lean
namespace chap8ex1 open function #print surjective universes u v w variables {α : Type u} {β : Type v} {γ : Type w} open function lemma composition_check {g : β → γ} {f : α → β} : α → γ := g ∘ f lemma surjective_comp {g : β → γ} {f : α → β} (hg : surjective g) (hf : surjective f) : ...
7c68ccf2c29b37c39c40479f1f8d82b27c5132af
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/mapVShmap.lean
ef663940ca7c39e3f7258a9dc9976def8f268a6f
[ "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,088
lean
def mkBigPairs : Nat → Array (Nat × Nat) → Array (Nat × Nat) | 0 ps := ps | (n+1) ps := mkBigPairs n (ps.push (n, n)) set_option pp.implicit true set_option pp.binderTypes false -- set_option trace.compiler.specialize true -- set_option trace.compiler.boxed true def f1 (ps : Array (Nat × Nat)) : Array (Nat × Nat)...
2d2815ecd2ddb6463f19c0a08a91d980285e02d7
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/for_mathlib/tidy.lean
98611ba3eb6713e22d1e358a14f6042525b18cf2
[ "Apache-2.0" ]
permissive
rwbarton/lean-homotopy-theory
cff499f24268d60e1c546e7c86c33f58c62888ed
39e1b4ea1ed1b0eca2f68bc64162dde6a6396dee
refs/heads/lean-3.4.2
1,622,711,883,224
1,598,550,958,000
1,598,550,958,000
136,023,667
12
6
Apache-2.0
1,573,187,573,000
1,528,116,262,000
Lean
UTF-8
Lean
false
false
219
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Mario Carneiro, Scott Morrison import tactic.ext attribute [ext] subtype.eq
65db52b6822c6ed4110113c9ab39567ec139b2b5
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/zsqrtd/gaussian_int.lean
02bd567c03491c8aa7e55ac16426a85c4a662aab
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
12,564
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import number_theory.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.legendre_symbol.quadratic_reciprocity /-! # Gau...
ea6eaf02d6f1a2c5516744bc927b39832255fffa
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/eq20.lean
0649779abafc81d33657ac54f7a2aae33aa931b2
[ "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
869
lean
open nat list section parameter {A : Type} parameter (p : A → Prop) parameter [H : decidable_pred p] include H definition filter : list A → list A | nil := nil | (a :: l) := if p a then a :: filter l else filter l theorem filter_nil : filter nil = nil := rfl theorem filter_cons (a : A) (l :...
c14b50eaf58b45159341f5231750a2f5a23e5f91
bb31430994044506fa42fd667e2d556327e18dfe
/src/geometry/manifold/cont_mdiff.lean
e96446cc2f90e3fcf6a9b372255611f79b11e50a
[ "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
71,516
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, Floris van Doorn -/ import geometry.manifold.smooth_manifold_with_corners import geometry.manifold.local_invariant_properties /-! # Smooth functions between smoo...
1ece368e93a6176f24c85e9a0b795c7ab34b87b4
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/topology/bounded_continuous_function.lean
2b53ad7bcdba1e34c94ca29ac18ea08c1e39856b
[ "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
25,825
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro Type of bounded continuous functions taking values in a metric space, with the uniform distance. -/ import analysis.normed_space.basic topology....
494da9307a75560a48654f28f703ff9a11309846
4727251e0cd73359b15b664c3170e5d754078599
/src/data/set/intervals/ord_connected.lean
a18dcbd8d37ea04e16076d655509b6d25733779d
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
7,910
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 data.set.intervals.unordered_interval import data.set.lattice /-! # Order-connected sets We say that a set `s : set α` is `ord_connected` if for all ...
4cde79c7da85f3ac40179ecec16b76091e34ca7a
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/predicate_logic/introduction.lean
dfd8a63c692b04059ed34fb29df508e95089993a
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
6,496
lean
/- Predicate logic: (1) Vastly extends concept of domain: can be pretty much anything - domain no longer just boolean, but can involve objects of any type - e.g., natural numbers, persons, programs, program states, locations - variables can now range over objects of any type (e.g., n : ℕ) - can also refer to *relatio...
de95c16608db3dafee671b56f7e49689007f74d5
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/algebra/algebra/basic.lean
8aeba69e2cdc4b3c2a3e754724d0368a8e0bc3ec
[ "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
47,431
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 data.equiv.ring_aut import linear_algebra.tensor_product import ring_theory.subring import deprecated...
c68d783a5507b2d3d0c019d6eca4745e38ecf8bd
c5b07d17b3c9fb19e4b302465d237fd1d988c14f
/src/isos/geom.lean
0ffc87067ed31502695e1817b8000555ad1b26e9
[ "MIT" ]
permissive
skaslev/papers
acaec61602b28c33d6115e53913b2002136aa29b
f15b379f3c43bbd0a37ac7bb75f4278f7e901389
refs/heads/master
1,665,505,770,318
1,660,378,602,000
1,660,378,602,000
14,101,547
0
1
MIT
1,595,414,522,000
1,383,542,702,000
Lean
UTF-8
Lean
false
false
524
lean
import data.fseq import functors.generating -- Geometric power series -- geom(x) = Σ n:ℕ, xⁿ def geom (A) := Σ n, fseq n A namespace geom -- geom(x) = 1 + x geom(x) def lin_iso {A} : geom A ≃ 1 ⊕ A × (geom A) := ax₁ ⋆ iso.add fseq.one_iso (iso.sigma_subst (λ n, fseq.cons_iso⁻¹) ⋆ ax₂) -- geom(x) = Σ n:ℕ, xⁿ def ogf_...
a2189a420fa3d60bb6d982039d468b2ac70d8625
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/field_theory/primitive_element.lean
21368518409ba64d101935f50ddc2a261065843b
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,794
lean
/- Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning and Patrick Lutz -/ import field_theory.adjoin import field_theory.separable /-! # Primitive Element Theorem In this file we prove the primitive el...
b0805c38e64d0a947f0f210671d582bdad3f45dd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/normed/ring/seminorm.lean
37ffa61e48c85fe8f1f48cf18ad2ba81ad8f16ca
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
11,615
lean
/- Copyright (c) 2022 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández, Yaël Dillies -/ import analysis.normed.field.basic /-! # Seminorms and norms on rings This file defines seminorms and norms on rings. ...
68630cf0c36ded68cb53368af616bf4e1bf6648c
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/unify_approx_bug.lean
5d156ef15c8512e5d52aa7cf4680af7db5d89c42
[ "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
7,294
lean
open tactic /- Given a metavariable ?m with local context (α : Type) (a : α) then, the following unification problem should fail ?m α =?= ((λ (α : Type) (a : α), α) α a) type_context will try the type incorrect assignment ?m := λ α', ((λ (α : Type) (a : α), α) α' a) -/ def ex1 (α : Type) (a : α) : T...
17a432c92e8ab116d528e7bdf802f13ad7aaf46d
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/var.lean
e8109d8c4c01ad621fd43a1d9e736d64204d47f9
[ "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
115
lean
import logic section variable A : Type parameter a : A end section variable A : Type variable a : A end
115de8ff310bd1aa8b818c34e3dd10bdf8c51721
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/associated.lean
6e0df0f4ff04c4d4012b258f6b7025bd2026524c
[ "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
37,518
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 -/ import algebra.divisibility import algebra.group_power.lemmas import algebra.invertible import order.atoms /-! # Associated, prime, and irreducible e...
7d47026d331ca16fa96c21487282641a6a1b4b1c
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/list/forall2.lean
0c497bbd6af32d23b26ce8a9348094d4e6f7f864
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
13,318
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl -/ import data.list.infix /-! # Double universal quantification on a list This file provides an API for `list.forall₂` (definition in `data.list.defs`)...
d136d47bf8ad0f7d50111ba82db082594dde0481
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/testing/slim_check/gen.lean
46af42ddd3b5b255aab1c0e8a7337dccb429e473
[ "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
5,692
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import control.uliftable import system.random import system.random.basic /-! # `gen` Monad This monad is used to formulate randomized computations with a parameter to sp...
11412fd9bd54092a56f6f25b4fe80a49b4176021
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/tele_eq.lean
4c0f9886d3522ef87128af7c6903c119355fed69
[ "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
555
lean
constant A₁ : Type constant A₂ : A₁ → Type constant A₃ : Π (a₁ : A₁), A₂ a₁ → Type structure foo := mk :: (a₁ : A₁) (a₂ : A₂ a₁) (a₃ : A₃ a₁ a₂) theorem foo.eq {a₁ b₁ : A₁} {a₂ : A₂ a₁} {b₂ : A₂ b₁} {a₃ : A₃ a₁ a₂} {b₃ : A₃ b₁ b₂} (H₁ : a₁ = b₁) (H₂ : a₂ == b₂) (H₃ : a₃ == b₃) : foo.mk a...
403887966813a065600753638132f017c51492e6
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/meta_tac7.lean
a39b86eeb7acf39fe6d93fabd50e5baba977cad0
[ "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
197
lean
open nat tactic example (a b c : Prop) (Ha : a) (Hb : b) (Hc : c) : b := by do trace_state, assumption definition ex1 (a b c : Prop) : a → b → c → b := by do intros, assumption #print ex1
a1c0e21fd01d4afbf3bc3f511900b6ad3f336279
bb31430994044506fa42fd667e2d556327e18dfe
/src/measure_theory/integral/lebesgue.lean
fa276733d378ffc613bb42eab82fa70dd5125d64
[ "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
147,567
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl -/ import measure_theory.measure.mutually_singular import measure_theory.constructions.borel_space import algebra.indicator_function import algebra.suppo...
801afe6a352ae40d4f3aa666cc4f69bcfb5587a0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/sarray.lean
e835a729ea500fd0456d415125f4e247770bd73e
[ "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
921
lean
def mkByteArray (n : Nat) : ByteArray := Id.run <| do let mut r := {} for i in [:n] do r := r.push (UInt8.ofNat i) return r def tst1 (n : Nat) (expected : UInt32) : IO Unit := do let bs := mkByteArray n let sum := bs.foldl (init := 0) fun s b => s + b.toUInt32 assert! sum == expected IO.println sum ...
1512d43082014cfc2bcdae3b08322cc8c8fcdef7
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/whnf.lean
f8f27ad3c15e1e4085cb9041705c5cc165bff2e0
[ "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
156
lean
open nat #reduce [whnf] (fun x, x + 1) (2:nat) #reduce (fun x, x + 1) (2:nat) variable a : nat #reduce [whnf] a + succ nat.zero #reduce a + succ nat.zero
17d86074d92296521735ba083439083ff97bc7f9
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/fin/interval.lean
84bfd9df0524e0b7e108d61dd38fd13b1544c32a
[ "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
2,501
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.nat.interval /-! # Finite intervals in `fin n` This file proves that `fin n` is a `locally_finite_order` and calculates the cardinality of its intervals as ...
f4442d254230f3ffd33347e3402427b04c74d21c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/rat/order.lean
af2629c3dc4048d44d810ded6c18e13c1c31208c
[ "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,604
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, Mario Carneiro -/ import data.rat.basic /-! # Order for Rational Numbers ## Summary We define the order on `ℚ`, prove that `ℚ` is a discrete, linearly ordered field,...
22421c8d95d2d717cf7bf24c52207c3d2a3678e9
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/dynamics/circle/rotation_number/translation_number.lean
b89b6597a108f1662d48f1f49c3119d6d6d0ba0c
[ "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
39,625
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 analysis.specific_limits import order.iterate import order.semiconj_Sup import algebra.iterate_hom /-! # Translation number of a monotone real map tha...
c5fbc9e269324bb6bc52946d28151845d34b6128
5df84495ec6c281df6d26411cc20aac5c941e745
/src/formal_ml/radon_nikodym.lean
f110c14622210f1b9c26c239a7b7cfa4e7965f40
[ "Apache-2.0" ]
permissive
eric-wieser/formal-ml
e278df5a8df78aa3947bc8376650419e1b2b0a14
630011d19fdd9539c8d6493a69fe70af5d193590
refs/heads/master
1,681,491,589,256
1,612,642,743,000
1,612,642,743,000
360,114,136
0
0
Apache-2.0
1,618,998,189,000
1,618,998,188,000
null
UTF-8
Lean
false
false
54,689
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...
0d7e0aa97d08955f7ecfc3227108dc7a3f1a4b06
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/bits.lean
662a5a507bef0001f3be142441c6ac8402ec443f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,342
lean
/- Copyright (c) 2022 Praneeth Kolichala. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Praneeth Kolichala -/ import data.nat.basic /-! # Additional properties of binary recursion on `nat` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require...
f4d1733ce8284e818a0c364155d0a5ddd995d0c8
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/PreDefinition/MkInhabitant.lean
1ed531927f18de512a80be434270dc1b6c7e7469
[ "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,874
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.AppBuilder namespace Lean.Elab open Meta private def mkInhabitant? (type : Expr) (useOfNonempty : Bool) : MetaM (Option Expr) := do try ...
5e2539a64584eef10cae66ded70252935752c8b0
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/polynomial/coeff.lean
f787cc51eb32e58fbd626a0f1238d2b92dcbded1
[ "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
11,219
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.basic import data.finset.nat_antidiagonal import data.nat.choose.sum /-! # Theory of univariate p...
4830d90e3cdc4edf32687afb50e6254930d232df
6094e25ea0b7699e642463b48e51b2ead6ddc23f
/library/theories/group_theory/hom.lean
4c5a9194713714d0cbe53c9ee254b11a188eb1cc
[ "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
7,084
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import algebra.group data.set .subgroup namespace group_theory -- ⁻¹ in eq.ops conflicts with group ⁻¹ -- open eq.ops notation H1 ▸ H2 := eq.subst H1 H2 open set open ...
816a851bdfe1cdd9e1ca92fe947cc77297b43079
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/monoidal/coherence.lean
27b7e7bc6b669ea94490158e261e42c4a5488a5d
[ "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
14,273
lean
/- Copyright (c) 2022. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Yuma Mizuno, Oleksandr Manzyuk -/ import category_theory.monoidal.free.coherence import category_theory.bicategory.coherence_tactic /-! # A `coherence` tactic for monoidal categories...
4f1e85b559e27a30475c0505ade79197b0200c32
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/data/to_string.lean
ce41bb44842d28a71ef4290d626a1f2366f467f6
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
3,608
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.string.basic init.data.bool.basic init.data.subtype.basic import init.data.unsigned.basic init.data.prod init.data.sum.basic init.da...
f27aa17ba82e2c8e92e216df2741bc4a6b31da2a
49d1ff3d0fc0688d81e4b505d423e6215881caa6
/src/quantum_lemmas.lean
b174048dcf80dc2f7b4d6034740badddfd347834
[]
no_license
jvlmdr/lean-quantum
813e9453eade9f4ce64c8b473f9f75571df549c4
160cabcbd22bf24819b72930f56578e23b109a27
refs/heads/master
1,680,342,797,940
1,615,047,803,000
1,615,049,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
48,329
lean
import quantum import matrix_lemmas open_locale big_operators open matrix open Matrix open quantum ------------------------------------------------------------------------------ section measurement variables {n : ℕ} {s : Vector n} lemma measure_eq_mul_conj {m : fin n} : (measure s m : ℂ) = ((s m 0)†) * (s m...
ea0629b6ed1fe046d0a5e9d45ec35b3053f18dfd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/homology/homotopy.lean
0c28c5eb5b6ae057937ce98da9daffd97de274bb
[ "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
30,821
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.additive import tactic.abel /-! # Chain homotopies We define chain homotopies, and prove that homotopic chain maps induce the same map on ho...
1583a89aa150b9a917e4bb4171b1493c37625f8b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/Channel.lean
e109c3e40fc72c5bc5e18aba0374c21fe94b313f
[ "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,100
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import Init.Data.Queue import Init.System.Promise import Init.System.Mutex namespace IO /-- Internal state of an `Channel`. We maintain the invariant...
fc42432481703c4a6765a81f8cbe3b8f6dcc361e
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/394.lean
1d0e284aca281ed2bc539205af98ebde0bdcb1b4
[ "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
314
lean
def casesTFOn {motive : Prop → Sort _} (P) [inst : Decidable P] : (T : motive True) → (F : motive False) → motive P := λ ht hf => match inst with | isTrue H => eqTrue H ▸ ht | isFalse H => eqFalse H ▸ hf example (P) [Decidable P] : ¬¬P → P := by induction P using casesTFOn admit admit
fff541cfc7d3ece9b8c53960dcc6af4e72f95356
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/algebra_tower.lean
d7d0074893fdbb3abe7cf9251406a2b704bab5a8
[ "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,609
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.tower import algebra.invertible import linear_algebra.basis import ring_theory.adjoin.basic import ring_theory.polynomial.tower /-! # Towers of algebra...
aa5cf25f23de0574eda5c97f10bd27a1ffbe804a
ba4ad8a778c69640c9cca8e5dcaeb40d4a10fa10
/lean4/Bin/lakefile.lean
799300eaa440074df85ced84d121c31202f52e39
[]
no_license
tangentstorm/tangentlabs
390ac60618bd913b567d20933dab70b84aac7151
137adbba6e7c35f8bb54b0786ada6c8c2ff6bc72
refs/heads/master
1,693,514,213,127
1,692,322,210,000
1,692,322,210,000
7,815,356
33
22
null
1,433,592,935,000
1,359,097,381,000
Visual Basic
UTF-8
Lean
false
false
164
lean
import Lake open Lake DSL require mathlib from git "https://github.com/leanprover-community/mathlib4.git"@"master" package Bin { } lean_exe Main
d38d4a1a5a6fa757376d35d81adc9cbb2f007c26
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/decl_cmds.lean
5bc92825f2f21830f000578e5fcfc941354d3bd3
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,088
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.rb_map open tactic private meta def apply_replacement (replacements : name_map name) (e : expr) : expr := e^.repl...
fda8642601a42f83b41be989055dc36bcd192b0b
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/module/submodule_lattice.lean
7dafdd9f0137516ea6aaecbf26ef0e0fa5f1ed09
[ "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
11,255
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, Kevin Buzzard, Yury Kudryashov -/ import algebra.module.submodule import algebra.punit_instances /-! # The lattice structure on `submodule`s This file...