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
e15dc1f5d9f6b3a6b372f752b78a7e63b1ed03f0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/completion4.lean
51bbb26e19d9c84b244eb3248fbf0aea4311abdc
[ "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
447
lean
structure S where fn1 : Nat β†’ IO Unit fn2 : Bool β†’ IO Unit pred : String β†’ Bool def f (s : S) : IO Unit := do s.fn1 10 s. --^ textDocument/completion def g1 (s : S) : IO Unit := do if (← s. --^ textDocument/completion def g2 (s : S) : IO Unit := do s.fn1 10 if (← s.f --^ textDocume...
9ee5cde2a2cd89622603fac1106757f1cc6a3a41
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/fix_reflect_string.lean
2b3c15d5bb32d812b52e2210b620eea87876bbdc
[]
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
888
lean
/- Copyright (c) 2020 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.PostPort namespace Mathlib /-! # Workaround for stack overflows with `has_reflect string` ...
467676a9a8e52ea24f29476672f795f68261f9e4
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/module/submodule_lattice.lean
03dbd746a252b4b37d7fcb9c2d17570f637b0e6a
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,901
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 /-! # The lattice structure on `submodule`s This file defines the lattice structure ...
ec4ee72ef6a21e7e884ce6e6fcf48aae064f8afa
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Expr.lean
8191c035f2d24b60a1846b9414bb14e60a0b7379
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
37,007
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.KVMap import Lean.Level namespace Lean inductive Literal where | natVal (val : Nat) | strVal (val : String) deriving Inhabited, BEq...
9fc8b38f020e84a3d95c0a82c63c5bed37d7bf51
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/ring_hom_properties.lean
5799d9d7ea037175922b2875034a3e709d101546
[ "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,579
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 algebra.category.Ring.constructions import algebra.category.Ring.colimits import category_theory.isomorphism import ring_theory.localization.away import ring_theory....
219f5e1ceca2e15ec4a9fe3ea4f5b96a611a3c72
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/simpExtraArgsBug.lean
210c5d66634156a7ea065cf7e57f564d1b2bebd9
[ "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
915
lean
variable {X : Type u} {Y : Type v} {Z : Type w} def comp (f : Y→Z) (g : X→Y) (x : X) := f (g x) def swap (f : X→Y→Z) (y : Y) (x : X) := f x y def diag (f : X→X→Y) (x : X) := (f x x) @[simp] def comp_reduce (f : Y→Z) (g : X→Y) (x : X) : (comp f g x) = f (g x) := by simp[comp] done def swap_reduce (f : X→Y→Z) (y : Y) (...
a61fd5ca93cd45965c6f48ab1b918821caebf0ea
329788bf44a766cbceec47f6d3a91aeee20146cf
/src/elliptic_curve_rationals.lean
898339b4bffb93a1e55b0e43402fb666d625ba82
[]
no_license
jamiebell2805/BSD-conjecture
ca69613bb4b0d7051575ff6a7528ccace1bf9c6b
74aa51f13750868b7011e397576d6f8035d69360
refs/heads/master
1,685,937,124,285
1,624,744,421,000
1,624,744,421,000
364,047,425
7
0
null
1,624,482,924,000
1,620,072,330,000
Lean
UTF-8
Lean
false
false
14,573
lean
import data.nat.prime import data.zmod.basic import data.complex.basic import analysis.special_functions.pow import analysis.analytic.basic import analysis.calculus.iterated_deriv import tprod import fg_quotient import algebra.module.basic local attribute [semireducible] with_zero def disc (a b : β„€) : β„€ := -16*(4*a^3+...
2db2e3bedda49f6cdd7fa08ae3ff3c6427c648fa
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/set_theory/cardinal/basic.lean
8583fd931b065cbc97908f2c537f8d22c7343a91
[ "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
66,405
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, Floris van Doorn -/ import data.finsupp.basic import data.nat.part_enat import data.set.countable import logic.small import order.conditionally_complete...
1206a2083d695744e2185dcccb888022c71e93a9
be5348f86d661459153802318209304b793c0e2a
/src/deletion.lean
83e40cc8661fe73707a78ff35f77995f603e7ab9
[]
no_license
reglayass/lean-avl
6b758c7708bdb3316b1b97ada3e3f259b49da58a
c7bffa75d7548e5ff8cdd7d69f5a58499f883df1
refs/heads/master
1,692,297,536,477
1,633,946,864,000
1,633,946,864,000
340,881,572
4
0
null
null
null
null
UTF-8
Lean
false
false
4,641
lean
import definitions rotations del_root forall_keys tactic.linarith tactic.induction set_option pp.generalized_field_notation false universe u namespace deletion_lemmas open btree rotation_lemmas del_root_lemmas forall_keys_lemmas variables {Ξ± : Type u} /- Auxiliary lemma for deletion: a previously existing key's rel...
57c328a8e2b8234c11f18ad6a5afa18d3b14babc
159fed64bfae88f3b6a6166836d6278f953bcbf9
/Structure/TypeClasses.lean
0e26fbdbf064d46a29e83473f1aa8925838a092d
[ "MIT" ]
permissive
SReichelt/lean4-experiments
3e56830c8b2fbe3814eda071c48e3c8810d254a8
ff55357a01a34a91bf670d712637480089085ee4
refs/heads/main
1,683,977,454,907
1,622,991,121,000
1,622,991,121,000
340,765,677
2
0
null
null
null
null
UTF-8
Lean
false
false
2,733
lean
-- TODO: This is partly outdated. import Structure.Basic import Structure.SortStructure import Structure.AbstractPiSigma open StructureFunctor open PiSigma set_option autoBoundImplicitLocal false universes u v namespace TypeClasses -- If `C` is a type class, we need to show that it is a functor in order to ...
bb65601bf6ffd748f450b649a1aa2988714cbe29
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/linear_algebra/prod.lean
4fcb79b3c2f3baa7ed45c308619a6d6f2c68eadb
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,363
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, Eric Wieser -/ import linear_algebra.basic import order.partial_sups /-! ### Products of modules This file defines con...
3797bfcc41caf4f08489cf71027b501511dc934f
7b66d83f3b69dae0a3dfb684d7ebe5e9e3f3c913
/src/solutions/thursday/afternoon/category_theory/exercise4.lean
d4ac1e566c04fe66ed746bddbd867fc00e0aa7d5
[]
permissive
dpochekutov/lftcm2020
58a09e10f0e638075b97884d3c2612eb90296adb
cdfbf1ac089f21058e523db73f2476c9c98ed16a
refs/heads/master
1,669,226,265,076
1,594,629,725,000
1,594,629,725,000
279,213,346
1
0
MIT
1,594,622,757,000
1,594,615,843,000
null
UTF-8
Lean
false
false
913
lean
import category_theory.monoidal.category /-! Let's construct the category of monoid objects in a monoidal category. -/ universes v u open category_theory variables (C : Type u) [category.{v} C] [monoidal_category C] structure Mon_in := (X : C) (ΞΉ : πŸ™_ C ⟢ X) (ΞΌ : X βŠ— X ⟢ X) -- There are three missing axioms here!...
d88588d29d80895582cd8c28aad90a18c1af4388
9dc8cecdf3c4634764a18254e94d43da07142918
/src/combinatorics/set_family/harris_kleitman.lean
4130df8b0cbc7b44a6faa405f7efdff3cacc5f06
[ "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
6,140
lean
/- Copyright (c) 2022 YaΓ«l Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: YaΓ«l Dillies -/ import algebra.big_operators.basic import combinatorics.set_family.compression.down import order.upper_lower /-! # Harris-Kleitman inequality This file proves the Harri...
d91b889a50dc682e2e8204146b7b3fa153255212
26ac254ecb57ffcb886ff709cf018390161a9225
/src/ring_theory/prod.lean
4c8554bb617361a189dc622670c589e7de158a22
[ "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
3,783
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Chris Hughes, Mario Carneiro, Yury Kudryashov -/ import algebra.group.prod import algebra.ring /-! # Semiring, ring etc structures on `R Γ— S` In this file we define ...
e7ac9ef1049f685559e8a5a8af6c781df9971f9a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/multiset/range.lean
e6dc92578e4b440234402fc725a9c814587783b9
[ "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
1,087
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.multiset.basic import data.list.range /-! # `multiset.range n` gives `{0, 1, ..., n-1}` as a multiset. -/ open list nat namespace multiset /- r...
0c25a7d99780c7edd22820f2dd6d4340979a44c5
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/tactic_failure.lean
1e460db66f2ace595509ed174f283b1e9d25be53
[ "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
75
lean
open tactic example (A B : Type) : B β†’ A := by do intro `Hb, assumption
39188407fa777cb6ebd93254fd7b0f1308aab776
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch6/ex0502.lean
62db1fed87589d5e37fc06e28b5529d8387c7814
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
811
lean
namespace hidden variables {Ξ± : Type} (r : Ξ± β†’ Ξ± β†’ Prop) definition reflexive : Prop := βˆ€ (a : Ξ±), r a a definition symmetric : Prop := βˆ€ ⦃a b : α⦄, r a b β†’ r b a definition transitive : Prop := βˆ€ ⦃a b c : α⦄, r a b β†’ r b c β†’ r a c definition euclidean : Prop := βˆ€ ⦃a b c : α⦄, r a b β†’ r a c β†’ r b c variab...
09c4802bd578953b830cc35f1bf6b5d3ab0119c4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/lazylistThunk.lean
fc3f451ffbca63d20185ba8b2806646f69d4cec9
[ "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,195
lean
inductive LazyList (Ξ± : Type u) | nil : LazyList Ξ± | cons (hd : Ξ±) (tl : LazyList Ξ±) : LazyList Ξ± | delayed (t : Thunk (LazyList Ξ±)) : LazyList Ξ± deriving Inhabited namespace LazyList @[inline] protected def pure (a : Ξ±) : LazyList Ξ± := cons a nil /- Length of a list is number of actual elements in the lis...
0dc7c0ec91b36412eae9d45704793d1f8063f1ae
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/valuation/valuation_ring.lean
6631c1583974d24e93971a7d898496dd81a951b2
[ "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
17,249
lean
/- Copyright (c) 2022 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import ring_theory.valuation.integers import ring_theory.ideal.local_ring import ring_theory.localization.fraction_ring import ring_theory.localization.integer import ring_th...
35e66f0f765daccb5c4f91a373579bcb1e37ca0c
4fa118f6209450d4e8d058790e2967337811b2b5
/src/for_mathlib/quotient_group.lean
fd81f52f0b39782bb2bfe9fd7a007509c11a6115
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
2,117
lean
import data.equiv.algebra import group_theory.quotient_group -- Some stuff is now in mathlib namespace quotient_group theorem map_id {G : Type*} [group G] (K : set G) [normal_subgroup K] (g : quotient K) : map K K id (Ξ» x h, h) g = g := by induction g; refl theorem map_comp {G : Type*} {H : Type*} {J : Type*} [...
82ad6378b7dd6c4a9864267dacf80137c1e2d723
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/function.hlean
9d3440fac698faea0fb451b613d2a2696921ef24
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
11,615
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about embeddings and surjections -/ import hit.trunc types.equiv cubical.square open equiv sigma sigma.ops eq trunc is_trunc pi is_eq...
9c7997dfec7435a8b63a9b0d80c809d51f03086a
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/or_shortcircuit.lean
1d96f421898412413e159ff88645d5b9470231cf
[ "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
420
lean
@[noinline] def c1 (x : Nat) : Bool := dbg_trace "executed c1" x == 0 @[noinline] def c2 (x : Nat) : Bool := dbg_trace "executed c2" x == 0 @[noinline] def c3 (x : Nat) : Bool := dbg_trace "executed c3" x > 0 @[noinline] def f (x : Nat) := x + 1 def tst (x : Nat) : Nat := do let x := if !c1 x || (!c2 ...
de6a10d53f19e216f04e38cf809956b36472f431
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/linear/yoneda.lean
c888432d38571a55328069f92b535a9344269278
[ "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,861
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.category.Module.basic import category_theory.linear.basic import category_theory.preadditive.yoneda.basic /-! # The Yoneda embedding for `R`-linear ca...
0f7ad9f34cafa01dd325bd7612c0fe2085eef82a
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/commutative_algebra/nilpotents.doc.lean
d8c2bfc9c5be189ed5860daf9327865a79e082cf
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
66,904
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import algebra.ring import algebra.group_power import ring_theory.ideals import data.nat.choose import data.zmod.basic /-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
5a5d605b0313d55ecf9668a48b50adc933cffce3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/hom/set.lean
736dee0c5f8ab9b4faa2eb47f90fe40623bef26c
[ "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,949
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 order.hom.basic import logic.equiv.set import data.set.basic /-! # Order homomorphisms and sets -/ open order_dual variables {F Ξ± Ξ² Ξ³ Ξ΄ : Type*} namespace ...
81cf271833b6e3e462ff121ef4d4a2ec9746f5f2
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/linear_algebra/basic.lean
6e62a4869190bf73e756edb8256c60a4f1c6b44b
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
92,186
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.pi_instances import data.finsupp /-! # Linear algebra This file defines the basics of linear algebra....
6630eae692db07439de225bdbda8e78f7f7c3a42
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/simplifier_custom_relations.lean
31c260543e5ead95fe4b7fe640db73238e21abf2
[ "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
1,004
lean
open tactic constants (A : Type) (rel : A β†’ A β†’ Prop) (rel.refl : βˆ€ a, rel a a) (rel.symm : βˆ€ a b, rel a b β†’ rel b a) (rel.trans : βˆ€ a b c, rel a b β†’ rel b c β†’ rel a c) attribute [refl] rel.refl attribute [symm] rel.symm attribute [trans] rel.trans constants (x y z : A) (f g h : A β†’ A)...
b5509d349ae6c413428e89864cc463eb7be43fec
5d95c8513fa8592ce314d1f40c23ad5eecfe1e34
/src/util/meta/ind_utils.lean
f4d047af0def479b6a49b86045a3581d6bca49d1
[ "Apache-2.0" ]
permissive
solovay/lean-universal
6b792513ced2fe82218e7828400743375dd59e24
417ed5e1b030e547912cbfefe34df9d3d01c2b65
refs/heads/master
1,598,052,603,315
1,565,981,123,000
1,565,981,123,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,277
lean
-- Copyright Β© 2019 FranΓ§ois G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .expr_ctx meta structure inductive_declaration := (to_name : name) (univ_params : list name) (type : expr) (num_params : nat) (num_indices : nat) (recursor : option name) (constru...
496e7f8537e7023d7fe4cf73042e0399b4e58025
ff5230333a701471f46c57e8c115a073ebaaa448
/library/data/bitvec.lean
74afea77adfee527cb55cae1e7ce36e80c278e92
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
6,705
lean
/- Copyright (c) 2015 Joe Hendrix. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joe Hendrix, Sebastian Ullrich Basic operations on bitvectors. This is a work-in-progress, and contains additions to other theories. -/ import data.vector @[reducible] def bitvec (n : ...
dc4029517bf181be1e60d341350970e1752ed4fb
69bc7d0780be17e452d542a93f9599488f1c0c8e
/10-3-2019.lean
541c9893f1a3f859d3bcdca00b9788bd6fb71822
[]
no_license
joek13/cs2102-notes
b7352285b1d1184fae25594f89f5926d74e6d7b4
25bb18788641b20af9cf3c429afe1da9b2f5eafb
refs/heads/master
1,673,461,162,867
1,575,561,090,000
1,575,561,090,000
207,573,549
0
0
null
null
null
null
UTF-8
Lean
false
false
1,463
lean
-- Notes 10/3/2019 -- example of a polymorphic function: identity function def identity {Ξ± : Type} : Ξ± β†’ Ξ± | x := x -- explicit type arguments are denoted by () -- implicit type arguments are denoted by {} def id' (Ξ± : Type) (a : Ξ±) : Ξ± := a #eval id' nat 3 #check (id' nat) -- we can partially evaluate id', making...
124485d86151c79ca785210fdb190a7067d1e1dd
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/linear_algebra/std_basis.lean
ee539ee79f627ac73cd17f8cd8acb8c648098c84
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
9,504
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 linear_algebra.basic import linear_algebra.basis import linear_algebra.pi /-! # The standard basis This file defines the standard basis `std_basis R Ο† i b j`...
d3b7b292ed3e2a7a097c72189eae5424fa9ad848
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/lean/parser_auto.lean
b0328724ea569559466472b8dfc27302cf4636f8
[]
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
409
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.has_reflect import Mathlib.Lean3Lib.init.control.alternati...
96278ea6ab3427bd0435068bdab033219e7d2e89
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/permutation.lean
982f019d7cae146df814929b3046492c1834a078
[ "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,788
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import data.list.join /-! # Permutations of a list In this file we prove properties about `l...
85ace2b6955493798c635a28acff7eec81210869
1437b3495ef9020d5413178aa33c0a625f15f15f
/category_theory/fully_faithful.lean
6c939166d78657463b1324d4ea71a05d8d1020d5
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,687
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.isomorphism universes v₁ vβ‚‚ v₃ u₁ uβ‚‚ u₃ -- declare the `v`'s first; see `category_theory.category` for an explanation namespace category_...
752db8e1f5a9271325d182ce3005df30e6a7318f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/module/opposites.lean
1bc9f61281c3ffd225177f1538675d7dfa2cc340
[]
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
2,196
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.module.linear_map import Mathlib.algebra.opposites import Mathlib.PostPort universes u v...
20102a2d157ceb29156b488c494ed3f34b069b05
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/logic/examples/propositional/soundness_type.lean
91a4c6fa456bcb2f28cf098af1d6b91ced44cf84
[ "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
7,129
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Define propositional calculus, valuation, provability, validity, prove soundness. This file is based on Floris van Doorn Coq files. Similar to soundness.lea...
a3034b895a2dccc0f5067cbf836d443263b2080d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/category/Cat.lean
3389fc80b7cac215f8181e176df2ab529813e776
[ "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,802
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.concrete_category.bundled import category_theory.discrete_category import category_theory.types import category_theory.bicategory.strict /-!...
74c45bfa0f2e76cfa9f1691243a64dd40add348c
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/hash_map.lean
68699db23af63a8e531519d065b881c5600acb53
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
27,903
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.list.basic data.pnat.basic data.array.lemmas logic.basic algebra.group data.list.defs data.nat.basic data.option.basic ...
e7b62e66fd72c56ec0994118a2aa6142beecf45c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Data/FuzzyMatching.lean
d9878ead3123745b8cedab46f18d7e0fba261331
[ "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
8,923
lean
/- Copyright (c) 2022 Lars KΓΆnig. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Lars KΓΆnig The string fuzzy matching algorithm in this file is based on the algorithm used in LLVM with some modifications. The LLVM algorithm itself is based on VS code's client side filt...
171d8d2e27f0222458844ec0e430a28c31e4d200
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/binrel.lean
e7616d28236f5e3b5ace4482870a5d13771f182a
[ "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
828
lean
def ex1 (x y : Nat) (i j : Int) := binrel% LT.lt x i def ex2 (x y : Nat) (i j : Int) := binrel% LT.lt i x def ex3 (x y : Nat) (i j : Int) := binrel% LT.lt (i + 1) x def ex4 (x y : Nat) (i j : Int) := binrel% LT.lt i (x + 1) def ex5 (x y : Nat) (i j : Int) := binrel% LT.lt i (x + y) def ex6 (x y : Nat) (i...
be332579a5f5d9d75a20fb07f4d5cb6607bb417a
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.46.lean
b1167a4cc115b6f74bf9769d4ee7e5b59751027c
[]
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
224
lean
import standard import algebra.group open algebra variables {A : Type} [s : group A] include s theorem inv_eq_of_mul_eq_one {a b : A} (H : a * b = 1) : a⁻¹ = b := by rewrite [-(mul_one a⁻¹), -H, inv_mul_cancel_left]
c6a00517adf1da616e0b47a867ac86fb16a8ec10
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/to_string.lean
4301cfed3aeef744d421722b87a66485191c2216
[ "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
3,771
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.string init.bool init.subtype init.unsigned init.prod init.sum open bool list sum prod sigma subtype nat universe variables u v stru...
47e8a837dc86915086ec25337025d8f837b1f02b
a4673261e60b025e2c8c825dfa4ab9108246c32e
/stage0/src/Lean/Elab.lean
e884462a60362cf298d2b6018e0e0b0fb858ecd0
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
701
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.Elab.Import import Lean.Elab.Exception import Lean.Elab.Command import Lean.Elab.Term import Lean.Elab.App import Lean.Elab.Binders import Lean....
f20c8dd8cfc323c89c5c69af7047d6269d082a9a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/defaul_param3.lean
96b974765a7f66a5f76ad337c44866f2f7a918f6
[ "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
684
lean
meta constant f (a : nat) (b : nat := 10) : tactic unit meta example : tactic unit := f 10 constant g (a : nat) (b : nat := 10) (c : nat) : nat example : g 0 = g 0 10 := rfl noncomputable example : nat := g 0 1 2 noncomputable example : nat β†’ nat := g 0 noncomputable def foo : nat β†’ nat β†’ nat := g example : foo ...
4021a6560a995588066164c99b467603519bdb0a
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Lean/Elab/AutoBound.lean
a057aaf20244615a0e6385a273235613b2b9a2bc
[ "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
1,980
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.Data.Options /- Basic support for auto bound implicit local names -/ namespace Lean.Elab builtin_initialize registerOption `autoBoundImplic...
39fd14a1be3cc8577c04d1fa0bf1706d1fb39967
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/tools/super/lpo.lean
b36c76f73e75a4ec68295fd5ddac8df1783268ff
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,612
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ -- Polytime version of lexicographic path order as described in: -- Things to know when implementing LPO, Bernd LΓΆchner, ESFOR 2004 import .utils open expr decidable m...
b297c8c9adbe208914df3ab5ee1d05ae9862d0a4
46125763b4dbf50619e8846a1371029346f4c3db
/src/topology/algebra/ordered.lean
d7b9d849c1d31301c92c1ca55c283abed309f26c
[ "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
78,149
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, Yury Kudryashov -/ import tactic.tfae import order.liminf_limsup import data.set.intervals import topology.algebra.group import topology.constructions ...
bced3fc7d7fd3df77b9e67cf05debbd2abff73bc
46125763b4dbf50619e8846a1371029346f4c3db
/src/measure_theory/measure_space.lean
26e9172f8981b2496a0ff5ff1c5d4f86fd2b940b
[ "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
35,607
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro -/ import data.set.lattice data.set.finite import topology.instances.ennreal measure_theory.outer_measure /-! # Measure spaces Measures are rest...
003e780c37bc1d1719294ace8bdef9eddedde69e
fe84e287c662151bb313504482b218a503b972f3
/src/combinatorics/erase.lean
ad46363642d83a9a167f74c5cb5fd0ff42989c38
[]
no_license
NeilStrickland/lean_lib
91e163f514b829c42fe75636407138b5c75cba83
6a9563de93748ace509d9db4302db6cd77d8f92c
refs/heads/master
1,653,408,198,261
1,652,996,419,000
1,652,996,419,000
181,006,067
4
1
null
null
null
null
UTF-8
Lean
false
false
1,821
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This is about the obvious bijection (X \ {x}) ∐ 1 ≃ X, or (option (erase a)) ≃ Ξ± in Lean notation. -/ import data.fintype.basic namespace combinatorics variables {...
73201e431acef901638818a370ff879b62bb62fc
7b89826c26634aa18c0110f1634f73027851edfe
/natural-number-game/src/world02/level02.lean
8721c06e7ff927da5e2463ee185ef9935f8207f4
[ "MIT" ]
permissive
marcofavorito/leanings
b7642344d8c9012a1cec74a804c5884297880c4d
581b83be66ff4f8dd946fb6a1bb045d2ddf91076
refs/heads/master
1,672,310,991,244
1,603,031,766,000
1,603,031,766,000
279,163,004
1
0
null
null
null
null
UTF-8
Lean
false
false
354
lean
import mynat.definition -- Imports the natural numbers. import mynat.add -- imports addition. namespace mynat -- hide lemma add_assoc (a b c : mynat) : (a + b) + c = a + (b + c) := begin [nat_num_game] induction c with d hd, rw add_zero, rw add_zero, refl, rw add_succ, rw add_succ, rw add_succ, rw hd...
473aa7341a564e5a6b29199b169b1a6ccd2cc1f4
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/hott/types/arrow.hlean
34fcc74bd746735270e41d190445042b04a7686f
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,128
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about arrow types (function spaces) -/ import types.pi open eq equiv is_equiv funext pi equiv.ops is_trunc unit namespace pi vari...
c9d457474be1db91afb2775ac29e67d6adee64cd
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/data/rbmap/basic.lean
426c9b31776162aecf1121810fcb2c2bf2ee1e1f
[ "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
2,941
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.rbtree.basic universes u v w def rbmap_lt {Ξ± : Type u} {Ξ² : Type v} (lt : Ξ± β†’ Ξ± β†’ Prop) (a b : Ξ± Γ— Ξ²) : Prop := lt a.1 b.1 set_o...
72122a26238180bf53f936fe6ecdfcd9d8df2c72
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/gcd_monoid/basic.lean
cb092a5eb93c0a303d63d3736ef2e5960810aacc
[ "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
47,956
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.associated import algebra.group_power.lemmas /-! # Monoids with normalization functions, `gcd`, and `lcm` This file defines extra st...
25e303d2d8e3cd336b0829918d8e8d0bff87af18
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/pi/basic_auto.lean
a003c07e9e9eb1ed2ed7c0bf4d3df2d6772818ef
[]
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,269
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.natural_isomorphism import Mathlib.category_theory.eq_to_hom i...
de5c0e932f7bbd3e92111ce64044db8ee1acd15e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/locally_constant/basic.lean
78df3d95d6ba8f24972b9cf01ff76e945925f057
[ "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
19,421
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import topology.subset_properties import topology.connected import topology.algebra.monoid import topology.continuous_function.basic import tactic.tfae import tactic....
86610d106fbdca16ce32f3838ef96e6e1cf32486
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/nat/basic.lean
77054910e87ca847b58be3d748428ee2b10bcb02
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
60,076
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.order.ring import algebra.order.sub /-! # Basic operations on the...
484f7258b7a8cb4dec5c80a4c8e50240886e4d42
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Elab/DeclUtil.lean
3163070b7768037e2017168c8048f9568633a384
[ "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,901
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, Sebastian Ullrich -/ import Lean.Meta.ExprDefEq namespace Lean namespace Meta def forallTelescopeCompatibleAux {Ξ±} (k : Array Expr β†’ Expr β†’ Expr β†’ MetaM Ξ±) ...
0f782e6835a361605a2b854b4868349dc4545edd
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/div2.lean
014d24531a477ca9d6d321d4ceb2d15bf75357de
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,935
lean
import logic data.nat.sub algebra.relation data.prod import tools.fake_simplifier open nat relation relation.iff_ops prod open fake_simplifier decidable open eq.ops namespace nat -- A general recursion principle -- ----------------------------- -- -- Data: -- -- dom, codom : Type -- default : codom -- measure ...
669647f275fd69181199416df38b8282e67418ce
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Init/Control/StateCps.lean
2747b258e8a912453e7d3b42083d46cb4057929d
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
3,668
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 -/ prelude import Init.Control.Lawful /-! The State monad transformer using CPS style. -/ def StateCpsT (Οƒ : Type u) (m : Type u β†’ Type v) (Ξ± : Type u) := (Ξ΄...
9430395ac2a096488e02ae53da279d20c2231a11
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/algebra/order/archimedean.lean
bbf0859725ce2a86f41b1821c9c296696089dfaf
[ "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
850
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.order.basic import algebra.order.archimedean /-! # Rational numbers are dense in a linear ordered archimedean field In this file we prove th...
5cff0c6e01d6d613bf7968c349b2f8184bbdfbc2
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/bool.lean
d0ca8b482e40e23cf74815c6d902eba620c04412
[ "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
5,504
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 -/ /-! # booleans This file proves various trivial lemmas about booleans and their relation to decidable propositions. ## Notations This file...
18c8112fee20575378be73352d2b8c83d2209775
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/back_chaining4.lean
7f23a2e83849dc4e856bf494be15c38374e651a4
[ "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
1,225
lean
-- Backward chaining with hypotheses constants {P Q R S T U : Prop} constants (Huq : U β†’ Q) (Hur : U β†’ R) (Hus : U β†’ S) (Hut : U β†’ T) attribute Huq [intro] attribute Hur [intro] attribute Hus [intro] attribute Hut [intro] open tactic definition lemma4 : (P β†’ Q) β†’ (Q β†’ R) β†’ (R β†’ S) β†’ (S β†’ T) β†’ P β†’ T := by do H1 ← in...
1b4f09cb4d5ee5da6207623fced0a8c9652f4ae2
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/measure_theory/outer_measure.lean
972a6fc210364cc549f2129a896500db4675981e
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
59,612
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro -/ import analysis.specific_limits import measure_theory.measurable_space import measure_theory.pi_system import data.matrix.notation import topology.alg...
d2f9b85672ac611b6db4039d663e524f15d751c9
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/async_tactic.lean
310906632ce003fe36ebf330beb36fbb507d4469
[ "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
1,903
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import init.meta.tactic import init.meta.interactive import init.meta.instance_cache namespace tactic private meta def report {Ξ±} (s : tactic_state) : option ...
406d785795b8be70f5fdcc02d7171f2c80145a93
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/whnfDelayedMVarIssue.lean
5c9e93f5cfc94356a554e43ece87a1c3451f2f70
[ "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
225
lean
def Nat.isZero (n : Nat) := n == 0 def test (preDefs : Array (Array Nat)) : IO Unit := do for preDefs in preDefs do let preDef := preDefs[0]! if preDef.isZero then pure () else IO.println "error"
5815c4f24aec6e32551c154b5fe3e6eeef00956d
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/ematch2.lean
e967184913df2f2976503df8725bae74ac3b9c03
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
986
lean
namespace foo universe variables u variables {Ξ± : Type u} open tactic meta def add_insts : list (expr Γ— expr) β†’ tactic unit | [] := skip | ((inst, pr)::r) := do assertv `_einst inst pr, add_insts r meta def internalize_hs : list expr β†’ ematch_state β†’ tactic ematch_state | [] s := return s | (h:...
c8b4f737643ddeb27a37450e051c0ba296271383
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/rat/cast.lean
12b18d1827bd5e669f682d778ad61ad567b7eb61
[ "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
12,178
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.order /-! # Casts for Rational Numbers ## Summary We define the canonical injection from β„š into an arbitrary division ring and prove...
1d377ff8ff88707d93a43ed8b52e5a6d23c95d6f
9028d228ac200bbefe3a711342514dd4e4458bff
/src/measure_theory/lebesgue_measure.lean
9823b909172ea378dbba00a7e9c0f216c42c583c
[ "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
14,054
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 measure_theory.measure_space import measure_theory.borel_space /-! # Lebesgue measure on the real line -/ noncomputable theory open classical set filter open...
6406cf3cdfdbb2a86f8315ad7883690882e44a73
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/tactic/ring.lean
770c957e33ee4da8dbf35de9556cd79de82a9415
[ "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
18,547
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Evaluate expressions in the language of (semi-)rings. Based on http://www.cs.ru.nl/~freek/courses/tt-2014/read/10.1.1.61.3041.pdf . -/ import algebra.group_power tactic...
dbe9aa55cfe3c1062950f9fea1c6d07e82cc2ffc
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/matrix/basic.lean
a8a613b1e9c1a0de73f97c2fa672b0e66fa628a9
[ "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
80,270
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin, Lu-Ming Zhang -/ import algebra.algebra.pi import algebra.big_operators.pi import algebra.big_operators.ring import al...
24738bfbe2c2f4b5f884946928e703cfc804f9cd
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/structSorryBug.lean
a1113dbcae18555c1557572ec8a3e9a40eb4a5d3
[ "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
92
lean
instance has_arr : HasArr Preorder := { Arr := Function } def foo : Nat := { first := 10 }
5e99737173b6754bf6ad4d7b8890ff37dc776474
80746c6dba6a866de5431094bf9f8f841b043d77
/src/topology/instances/real.lean
12105150c5aebfb4164697f0916b609e23883c73
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
18,218
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 real numbers ℝ. They are constructed as the topological completion of β„š. With the following steps: (1) prove that β„š forms a uniform space. (2) subt...
62fbfec2c1733e00836f5f53981b7079be65571b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/doNotation3.lean
bc6bfb5a747c38dd491d05bc5924d43e201e3a51
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
2,611
lean
theorem zeroLtOfLt : {a b : Nat} β†’ a < b β†’ 0 < b | 0, _, h => h | a+1, b, h => have a < b from Nat.ltTrans (Nat.ltSuccSelf _) h zeroLtOfLt this def fold {m Ξ± Ξ²} [Monad m] (as : Array Ξ±) (b : Ξ²) (f : Ξ± β†’ Ξ² β†’ m Ξ²) : m Ξ² := do let rec loop : (i : Nat) β†’ i ≀ as.size β†’ Ξ² β†’ m Ξ² | 0, h, b => b | i+1, h, b => do ...
9190ed680fc60de663c77e7d640af55c392d5ed7
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/category_theory/monoidal/CommMon_.lean
7aa5f0ed4a20e641aa874dba6c8b50c0446d796a
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
5,342
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.monoidal.braided import category_theory.monoidal.Mon_ /-! # The category of commutative monoids in a braided monoidal category. -/ universes ...
d905b6f222416094d3ab79a9f73bf7736138f8b1
9e47285bdd500b89455fd905c20aabcd3af1a5cf
/ak_utils.lean
a886eaf65f84f5fe0017bd7e6b216d35e2c65459
[]
no_license
akreuzer/feteke-lean
d4ec120e3e7dab9d36681499b239f0e57eb18349
d030101b3ab2aa4155c2aa1a84021e833da3a497
refs/heads/master
1,610,987,214,936
1,490,906,196,000
1,490,906,196,000
86,744,981
0
0
null
null
null
null
UTF-8
Lean
false
false
10,897
lean
/- Copyright (c) Alexander Kreuzer 2016 Lean Utilities Proofs for a proof of Feteke's lemma All theorems are contained in the namespace ak. Since these theorem come from different fields they are separated by sections. -/ import theories.analysis.real_limit import standard import ak_compat open eq.ops real analysis ...
d82980033e4846e57f2b997e83d4d2652e8b7e89
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/ring_theory/witt_vector/verschiebung.lean
416f20a5d05d1b24ce887d67a372e7c1a79e3529
[ "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
6,086
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 ring_theory.witt_vector.basic import ring_theory.witt_vector.is_poly /-! ## The Verschiebung operator ## References * [Hazewinkel, *Witt Vectors*][Haze09]...
42218204dbb96296675f9145b8f3872b71858a9d
bb31430994044506fa42fd667e2d556327e18dfe
/src/measure_theory/decomposition/unsigned_hahn.lean
e2d80b9594cf247f50a02ef4e8d11998491d7e26
[ "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
8,544
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 -/ import measure_theory.measure.measure_space /-! # Unsigned Hahn decomposition theorem This file proves the unsigned version of the Hahn decomposition theorem. ## M...
31b67b9926ce1b6bc758dd319f1c1f05ac7613ff
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/hw6_quiz/cleaned up notes/proposition_logic_syntax_and_semantics.lean
16ed30a8868b296cb4468fc011ad869321128c07
[]
no_license
jngo13/Discrete-Mathematics
8671540ef2da7c75915d32332dd20c02f001474e
bf674a866e61f60e6e6d128df85fa73819091787
refs/heads/master
1,675,615,657,924
1,609,142,011,000
1,609,142,011,000
267,190,341
0
0
null
null
null
null
UTF-8
Lean
false
false
1,080
lean
--justin inductive var : Type | mk : β„• β†’ var inductive pExp : Type | pTrue : pExp | pFalse : pExp | pVar : var β†’ pExp | pNot : pExp β†’ pExp | pAnd : pExp β†’ pExp β†’ pExp | pOr : pExp β†’ pExp β†’ pExp | pImp : pExp β†’ pExp β†’ pExp | pIff : pExp β†’ pExp β†’ pExp | pXor : pExp β†’ pExp β†’ pExp open pExp /- not P -/ -- implies de...
45669df0a49fc9f7395f491eb8b9233094de87df
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Elab/Tactic/Generalize.lean
f3f3da8ea8c370d2d9f059df86364f2668c6c09d
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
1,006
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, Sebastian Ullrich -/ import Lean.Meta.Tactic.Generalize import Lean.Meta.Check import Lean.Meta.Tactic.Intro import Lean.Elab.Tactic.ElabTerm import Lean.Elab...
93cccceb2a06879b0717208ccfad88b57fb19905
5a6ff5f8d173cbfe51967eb4c96837e3a791fe3d
/mm0-lean/x86/bits.lean
e77af535c447d2c79f81fb74443121847bf3ac4d
[ "CC0-1.0" ]
permissive
digama0/mm0
491ac09146708aa1bb775007bf3dbe339ffc0096
98496badaf6464e56ed7b4204e7d54b85667cb01
refs/heads/master
1,692,321,030,902
1,686,254,458,000
1,686,254,458,000
172,456,790
273
38
CC0-1.0
1,689,939,563,000
1,551,080,059,000
Rust
UTF-8
Lean
false
false
10,199
lean
-- import data.bitvec import data.vector order.basic algebra.group_power @[reducible] def bitvec (n : β„•) := vector bool n namespace bitvec open vector nat -- Create a zero bitvector @[reducible] protected def zero (n : β„•) : bitvec n := repeat ff n -- Create a bitvector with the constant one. @[reducible] protected ...
e5ad5971856c1029204dd6fd11a3d3e09cdc4c77
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/match1.lean
01f1625316c98be57395d8557a9fb2031fbfa55b
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
4,860
lean
import Lean def checkWithMkMatcherInput (matcher : Lean.Name) : Lean.MetaM Unit := Lean.Meta.Match.withMkMatcherInput matcher fun input => do let res ← Lean.Meta.Match.mkMatcher input let origMatcher ← Lean.getConstInfo matcher if not <| input.matcherName == matcher then throwError "matcher name not recons...
c048d9381dc2e2e0cb995f113ca2e62d407063b3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/fin_cases.lean
e99e19f943f18b5a6f41c5cde7aa211de8625d91
[]
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,641
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison Case bashing: * on `x ∈ A`, for `A : finset α` or `A : list α`, or * on `x : A`, with `[fintype A]`. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default impor...
38cd9da779af517d82b2757767c0363150305f48
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_1977.lean
d1a2e01f9788f2fdfd30728914bcfb38f4e1072c
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
208
lean
import data.real.basic variables {x y : ℝ} namespace my_abs -- BEGIN theorem lt_abs : x < abs y ↔ x < y ∨ x < -y := sorry theorem abs_lt : abs x < y ↔ - y < x ∧ x < y := sorry -- END end my_abs
309e2054709417eed9930fc8d924a178501d3583
9028d228ac200bbefe3a711342514dd4e4458bff
/src/analysis/normed_space/basic.lean
f929d957a0808e0e0baf4e564b1e8b71ccec564f
[ "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
55,623
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.instances.nnreal import topology.instances.complex import topology.algebra.module import topology.metric_space.antilipschitz /-! # No...
7040df0558160530e901f5480d05ba755a1fe5c2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/sites/sheafification.lean
557577a7291c9f427a988ed9db5664a583ac2933
[ "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,184
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.adjunction.fully_faithful import category_theory.sites.plus import category_theory.limits.concrete_category import category_theory.concrete_category.el...
20157b447b659261a0bfb53846fda8ff2771dbb6
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/data/set/finite.lean
5f394d9f6e496d84cfe3ad800024d234f790a05e
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
11,663
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 Finite sets. -/ import data.set.lattice data.nat.basic logic.function data.fintype open set lattice function universes u v w variables {Ξ± : Typ...
a68046358f861d55b819e2bc99be1b1c3f140c71
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/array2.lean
96f581922dc106dac3223f7df29c100379beeb22
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
307
lean
check @array.mk local infix ` << `:20 := array.push_back def test1 := let v1 := mk_array 3 2, v2 := v1 << 3 << 4, v3 := (v2 << 5)^.write' 0 0 in (v1, v2, v3) vm_eval test1 def tst1 (n : nat) := let v1 := (mk_array n 1), v2 := array.map (Ξ» v, v + 1) v1 in v2^.read' 1 vm_eval tst1 10
097d4d3e5735215f3408aa0941ca4f2f06add7e1
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/category_theory/limits/cones.lean
4551b382d12328d6759582edc95d8c2dccca1a9b
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,046
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import category_theory.natural_isomorphism import category_theory.whiskering import category_theory.const import category_theory.opposites import ...
94d9ef0c4a4fe57ce04978c8ca07a13ad3de257b
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/set/finite.lean
93501337a875be36d666067bab35cbbe70e88864
[ "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
25,872
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro -/ import data.fintype.basic import algebra.big_operators.basic /-! # Finite sets This file defines predicates `finite : set Ξ± β†’ Prop` and `infinite : ...
5b009e1012ad7aaa5cc4ba7023ac037ace607882
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/group_theory/index.lean
4fa2b00ef9dba9570525e4a336a7c7a599e3a57d
[ "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
2,028
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.coset import set_theory.cardinal /-! # Index of a Subgroup In this file we define the index of a subgroup, and prove several divisibility pro...
4ca8763212a9a299514889132dc0fffb9aa96d8a
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/tools/super/clausifier.lean
770fce9604da619b42a215108bc6740bdafd7f81
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,834
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .clause_ops import .prover_state .misc_preprocessing open expr list tactic monad decidable universe u namespace super meta def try_option {a : Type u}...
7f99c58677c814281c95733de1599642c24163e9
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/univInference.lean
9639be939609b92307b13cc22207669e9e5ea57a
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
2,408
lean
universes w₁ wβ‚‚ w₃ namespace Struct structure S1.{r, s} (Ξ± : Type s) : Type (max s r) := up :: (down : Ξ±) def ex1.{u, v} (Ξ± : Type u) (Οƒ : Type (max v u)) (h : Οƒ = S1.{v, u} Ξ±) : True := trivial structure S2.{u, v} (Ξ± : Sort u) (Ξ² : Sort v) := (a : Ξ±) (b : Ξ²) def ex2.{u, v} (Ξ± : Sort u) (Ξ² : Sort v) (Οƒ : S...
7c212fab3b062982bfc1b003f38f04feffae00ce
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Data/SMap.lean
0d9f3b4aa805a374b22cbdbf0a47878e7f16f4c6
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
3,073
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.HashMap import Init.Data.PersistentHashMap universes u v w w' namespace Lean /- Staged map for implementing the Environment. The ...
5a5f9cf22053f828a8d1158922fbb62fd8ea9b25
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/conv_for_find.lean
b902f2dae61031a3d2f8ed9e13026042f05c615f
[ "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
1,192
lean
-- typos should be caught example {a b c : β„•} : (a * b) * c = (a * b) * c := begin conv { rw does_not_exist, }, end example {a b c : β„•} : (a * b) * c = (a * b) * c := begin conv { for (_ * _) [1] { rw does_not_exist, }, }, end example {a b c : β„•} : (a * b) * c = (a * b) * c := begin conv {...
fc40af7106b835c8c3d6dbbb9bfab8ee5911c64f
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/function/locally_integrable.lean
e8d07e8aeebf3dbc37373942b293222d8abe9600
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,042
lean
/- Copyright (c) 2022 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.integral.integrable_on /-! # Locally integrable functions A function is called *locally integrable* (`measure_theory.locally_integrable`) ...
4268df75dcf56f2e0d6fe1a5d563179c46992f44
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/types/nat/basic.hlean
a745067e161565b8af5a2a3f7002c7f4842330b2
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
12,324
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. (Ported from standard library file data.nat.basic on May 02, 2015) Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad Basic operations on the natural numbers. -/ import algebra.ring...
18c132fcb05d309c8e814391cde1aed36bf2b002
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/control/traversable/equiv.lean
8394f0200b29b21884b52a87e75e5d60f379b292
[ "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
4,477
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Transferring `traversable` instances using isomorphisms. -/ import data.equiv.basic import control.traversable.lemmas universes u namespace equiv section functor parameter...
8f0354240a6d7f20b99278f9a75067c2787f534f
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/lie/cartan_matrix.lean
fad2ebbe0ac5423a4b7cf428a78e10483a84a1a9
[ "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,578
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.free import algebra.lie.quotient import data.matrix.basic /-! # Lie algebras from Cartan matrices Split semi-simple Lie algebras are uniquely determine...
abbcb2ff875a7e51220b7f9a7fd6acae59e9c1e1
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/bases.lean
ce8b34f07a555c353023e9cbd1d220c9fdec5687
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
14,848
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 Bases of topologies. Countability axioms. -/ import topology.constructions data.set.countable open set filter lattice classical namespace filter univ...
ab1362c5713388b1ab288bfc8722dcf719a295d6
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/set_theory/cardinal/finite.lean
7b0d8ab267cd9dc6204f5268f23181cb8eb6b1b9
[ "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
2,939
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import set_theory.cardinal.basic /-! # Finite Cardinality Functions ## Main Definitions * `nat.card Ξ±` is the cardinality of `Ξ±` as a natural number. If `Ξ±` is i...