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
249ddb8397b0eb9171c7d0a0db519caba7bbcc66
7bf54883c04ff2856c37f76a79599ceb380c1996
/non-mathlib/cubic_alternate.lean
bc0ecdbf860c043e11281eef9f443fa22ad67910
[]
no_license
anonymousLeanDocsHosting/lean-polynomials
4094466bf19acc0d1a47b4cabb60d8c21ddb2b00
361ef4cb7b68ef47d43b85cfa2d13f2ea0a47613
refs/heads/main
1,691,112,899,935
1,631,819,522,000
1,631,819,522,000
405,448,439
0
2
null
null
null
null
UTF-8
Lean
false
false
28,212
lean
import field_definition import field_results import numbers import roots import quadratic lemma multiply_out_cubed (f : Type) [myfld f] (x a : f) : (cubed f (x .+ a)) = ((cubed f x) .+ (((three f) .* ((square f x) .* a)) .+ (((three f) .* ((x .* a) .* a)) .+ (cubed f a)))) := begin unfold cubed, unfold three,...
201acd46ca3cc385d978c848ed088641d8cb80f3
6b02ce66658141f3e0aa3dfa88cd30bbbb24d17b
/src/Init/Data/Array/Basic.lean
a24ee3b74d20935828e4cefef3f3a337ab81ef06
[ "Apache-2.0" ]
permissive
pbrinkmeier/lean4
d31991fd64095e64490cb7157bcc6803f9c48af4
32fd82efc2eaf1232299e930ec16624b370eac39
refs/heads/master
1,681,364,001,662
1,618,425,427,000
1,618,425,427,000
358,314,562
0
0
Apache-2.0
1,618,504,558,000
1,618,501,999,000
null
UTF-8
Lean
false
false
27,800
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 -/ prelude import Init.Data.Nat.Basic import Init.Data.Fin.Basic import Init.Data.UInt import Init.Data.Repr import Init.Data.ToString.Basic import Init.Util u...
445fcf68971a1af04f8c42891001ea0ee2c588fa
ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb
/ijcar16/examples/cc15.lean
c0364212bc9329b531165c1efc2f799330bec282
[ "MIT" ]
permissive
leanprover/leanprover.github.io
cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a
071a20d2e059a2c3733e004c681d3949cac3c07a
refs/heads/master
1,692,621,047,417
1,691,396,994,000
1,691,396,994,000
19,366,263
18
27
MIT
1,693,989,071,000
1,399,006,345,000
Lean
UTF-8
Lean
false
false
1,100
lean
/- Example/test file for the congruence closure procedure described in the paper: "Congruence Closure for Intensional Type Theory" Daniel Selsam and Leonardo de Moura The tactic `by blast` has been configured in this file to use just the congruence closure procedure using the command set_option blast.strategy...
e16ff86a74c642220a807e8213d3d10706b3deae
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/algebra/polynomial.lean
cc3aaef487808ba39662c7258261603dc3f1196f
[ "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
8,495
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import analysis.normed_space.basic import data.polynomial.algebra_map import data.polynomial.inductions import ring_theory.polynomial.vieta import field_theory.spli...
b62b7b8f5981633799bf4882e019dfb06ad83f33
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/tactic.lean
2a6fcd669a0782d33b4a2526225e25a9dd77d1d4
[ "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
24,461
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.trace init.function init.option init.monad init.alternative init.nat_div import init.meta.exceptional init.meta.format init.meta.environ...
72b5a8defda61ebaf983c709ca77ccfd96a74846
9dc8cecdf3c4634764a18254e94d43da07142918
/src/measure_theory/group/arithmetic.lean
4445b7fd061a3a4d077657096ec7a92c35cffb9c
[ "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
33,098
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.measure.ae_measurable /-! # Typeclasses for measurability of operations In this file we define classes `has_measurable_mul` etc and prove do...
2db0b67955ff67757c5ea171347a78ec3afd3fd9
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/coeIssue3.lean
fea701918968306be790153836e6d5e2ffdc411e
[ "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
512
lean
structure Var : Type := (name : String) instance Var.nameCoe : Coe String Var := ⟨Var.mk⟩ structure A : Type := (u : Unit) structure B : Type := (u : Unit) def a : A := A.mk () def b : B := B.mk () def Foo.chalk : A → List Var → Unit := λ _ _ => () def Bar.chalk : B → Unit := λ _ => () instance listCoe {α β} [Coe α...
ff4e5bea52ddbdf932d25ec65e24d89f358c0f3d
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/archive/imo/imo1962_q4.lean
c6f927203d76e6f1615656e7a34b95cb68bc3dec
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,161
lean
/- Copyright (c) 2020 Kevin Lacker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Heather Macbeth -/ import analysis.special_functions.trigonometric.complex /-! # IMO 1962 Q4 Solve the equation `cos x ^ 2 + cos (2 * x) ^ 2 + cos (3 * x) ^ 2 = 1`. Sin...
d3dacfbfa88be9991a086d1fed57591a8aff789a
5ca7b1b12d14c4742e29366312ba2c2ef8201b21
/src/game/world10/level17.lean
19980aafe1f26acd3ac92411b86e7674bd53f55d
[ "Apache-2.0" ]
permissive
MatthiasHu/natural_number_game
2e464482ef3001863430b0336133b6697b275ba3
2d764f72669ae30861f6a1057fce0257f3e466c4
refs/heads/master
1,609,719,110,419
1,576,345,737,000
1,576,345,737,000
240,296,314
0
0
Apache-2.0
1,581,608,357,000
1,581,608,356,000
null
UTF-8
Lean
false
false
746
lean
--import mynat.lt -- definition of < import game.world10.level16 -- hide namespace mynat -- hide /- # Inequality world. ## Level 17: definition of `<` OK so we are going to *define* `a < b` by `a ≤ b ∧ ¬ (b ≤ a)`, and given `lt_aux_one a b` and `lt_aux_two a b` it should now just be a few lines to prove `a < b ↔ s...
01abec88e2453330e50036d5c5e719b4379ecf5a
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed_space/bounded_linear_maps.lean
f105ef1de57dbfe89e24567f9dc38360bc81c0cf
[ "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
25,629
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 analysis.normed_space.multilinear import analysis.normed_space.units import analysis.asymptotics.asymptotics /-! # Bounded linear maps This f...
daa9022fc984d7b8cef400ecd8d1326cee0832f6
7a468d7c7c0949ab8b191bb62ff6d4d2af9f3917
/test/test_tactics.lean
b365e4d06150f4319607007a14e6a29b03dae156
[ "Apache-2.0" ]
permissive
seanpm2001/LeanProver_SMT2_Interface
c15b2fba021c406d965655b182eef54a14121b82
7ff0ce248b68ea4db2a2d4966a97b5786da05ed7
refs/heads/master
1,688,599,220,366
1,547,825,187,000
1,547,825,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
190
lean
import init.meta.tactic universe u axiom should_of_failed (A : Sort u) : A meta def must_fail (tac : tactic unit) := do tactic.fail_if_success tac, tactic.refine ``(should_of_failed _)
b8a863b69bb875b2d9aaa29e23f3bdd99668979d
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/arith4.lean
93d3c315a128dfa19c8868a20be49a8f34db1dd7
[ "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
107
lean
import specialfn. variable x : Real eval sin(x) eval cos(x) eval tan(x) eval cot(x) eval sec(x) eval csc(x)
e901d60a99eb45e49a2accd2cb1d23c81d9345b5
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/fp/basic.lean
be26faf149003c4fbaa77a02e7164362479d62f1
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
6,346
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Implementation of floating-point numbers (experimental). -/ import data.rat data.semiquot def int.shift2 (a b : ℕ) : ℤ → ℕ × ℕ | (int.of_nat e) := (a.shiftl e, b) | -...
8bee8ccdc9a6c919f7a11574d946bea084abda3e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/module/linear_pmap.lean
26777fabe0e9f2a47939ecc7a13b6c3ab49a4d6d
[ "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,494
lean
/- Copyright (c) 2022 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import linear_algebra.linear_pmap import topology.algebra.module.basic /-! # Partially defined linear operators over topological vector spaces We define basic notions of...
813efbfaf3dadcd0d9e81ee8deb05f0fa83838f1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/option/defs.lean
535df54ee80b6e18ca200bb148a2b00bc4cc3162
[ "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,038
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ /-! # Extra definitions on `option` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This file defines...
a5e9d995882ef26be843bc64fcb00ac11fae2ee1
2cf781335f4a6706b7452ab07ce323201e2e101f
/lean/deps/typed_smt2/src/galois/smt2/test.lean
7ed7bccd1b1d97cce4d69e3f8e9d3d62bf7037a1
[ "Apache-2.0" ]
permissive
simonjwinwood/reopt-vcg
697cdd5e68366b5aa3298845eebc34fc97ccfbe2
6aca24e759bff4f2230bb58270bac6746c13665e
refs/heads/master
1,586,353,878,347
1,549,667,148,000
1,549,667,148,000
159,409,828
0
0
null
1,543,358,444,000
1,543,358,444,000
null
UTF-8
Lean
false
false
2,620
lean
import system.io import .file_writer import .semantics import .theories.bv open smt2 /- Generte a proble mtaht asserts a constant x is equal to 3. -/ def generate_problem {m} [is_generator m ] : m unit := do let x := symbol.of_string "x", declare_const x (BitVec 32), assert (all_equal [var x (BitVec 32), bv.dec...
1fc87c843443cb605b77a7962dde10c64d31b857
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/algebra/category/constructions/cone.hlean
5cb0c872feb7c965cc4511f1c02902e6b7137d8b
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,557
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Cones -/ import ..nat_trans ..category open functor nat_trans eq equiv is_trunc is_equiv iso sigma sigma.ops pi namespace category structure cone_obj {I C : P...
37c1ed92e87004295cfa7341cfe98e36f8c58115
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/complete_boolean_algebra.lean
ee0945a23edc803c4f975eda9479f3654a3027b7
[ "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
5,862
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Theory of complete Boolean algebras. -/ import order.complete_lattice set_option old_structure_cmd true universes u v w variables {α : Type u} {β : Type v} {ι : Sort ...
667acf87542512ef1892cc8e9da39002e3dbc7a6
08a8ee10652ba4f8592710ceb654b37e951d9082
/src/hott/types/sigma.lean
d6c3c6b01bc270d6dc21577fc93fac3df2df61a6
[ "Apache-2.0" ]
permissive
felixwellen/hott3
e9f299c84d30a782a741c40d38741ec024d391fb
8ac87a2699ab94c23ea7984b4a5fbd5a7052575c
refs/heads/master
1,619,972,899,098
1,509,047,351,000
1,518,040,986,000
120,676,559
0
0
null
1,518,040,503,000
1,518,040,503,000
null
UTF-8
Lean
false
false
24,103
lean
/- Copyright (c) 2014-15 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Partially ported from Coq HoTT Theorems about sigma-types (dependent sums) -/ import .prod universes u v w hott_theory namespace hott open hott.eq sigma hott.e...
8dcb9581e54989cb81d8d99bc7319200cf2eb6b3
35960c5b117752aca7e3e7767c0b393e4dbd72a7
/src/typing/core.lean
8dc10d79b05cde7806b33de0309898b3eacc9964
[ "Apache-2.0" ]
permissive
spl/tts
461dc76b83df8db47e4660d0941dc97e6d4fd7d1
b65298fea68ce47c8ed3ba3dbce71c1a20dd3481
refs/heads/master
1,541,049,198,347
1,537,967,023,000
1,537,967,029,000
119,653,145
1
0
null
null
null
null
UTF-8
Lean
false
false
1,309
lean
import env exp namespace tts ------------------------------------------------------------------ variables {V : Type} [decidable_eq V] -- Type of variable names open occurs exp typ sch inductive typing : env V → exp V → typ V → Prop | var : Π {Γ : env V} {x : tagged V} {s : sch V} {ts : list (typ V)}, x :~ s ∈ Γ ...
79c96d47be6d09a827c9740cb140bab62bcdb8e7
4fa161becb8ce7378a709f5992a594764699e268
/src/category_theory/limits/shapes/biproducts.lean
bf71a9f85d9c8fa881f71bbb8ab20f7659f5770c
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
19,226
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.epi_mono import category_theory.limits.shapes.binary_products import category_theory.preadditive /-! # Biproducts and binary biproducts We in...
11954f2766439d8967e46cfa3b27464ba84b0724
26b8b0964ca8e1c2e203585ba5940f83fe05e48a
/test/rewrite_search.lean
5082a4183fab44ec5b17dd0f53acc468ff497fe7
[]
no_license
jcommelin/lean-tidy
ef3cd32a3804221d93f0dff9e180bb2c52f4b143
9cecf497e90db64b5ea140ad6ae1603976dcd402
refs/heads/master
1,585,129,919,276
1,533,512,680,000
1,533,512,680,000
143,677,361
0
0
null
1,616,803,481,000
1,533,530,576,000
Lean
UTF-8
Lean
false
false
4,013
lean
import tidy.rewrite_search namespace tidy.rewrite_search.testing axiom foo' : [6] = [7] axiom bar' : [[6],[6]] = [[5],[5]] example : [[7],[6]] = [[5],[5]] := begin success_if_fail { rewrite_search [] }, -- rw [←foo', bar'] rewrite_search [←foo', bar'], end @[search] private axiom foo : [0] = [1] @[search] private...
513fbd7f5914c30775e2403e06ec000a532394a8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/prime.lean
caae523b3054c5b37df651693b99cd1d56701ff0
[ "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
2,697
lean
/- Copyright (c) 2020 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.associated import algebra.big_operators.basic /-! # Prime elements in rings This file contains lemmas about prime elements of commutative rings. -/ variab...
79160b5059140508610bd7e265c87da0d6fdb883
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/TermSeq.lean
9c5a4d8b4b9eaacff30788c152699f7afbebe6bd
[ "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
351
lean
inductive TermSeq where | empty : TermSeq | cons : {α : Type} → (a : α) → (tail: TermSeq) → TermSeq namespace TermSeq def prodType : TermSeq → Type | empty => Unit | @cons α a tail => Prod α (prodType tail) def asProd : (ts: TermSeq) → prodType ts | empty => (() : Unit) | @cons α a tail => (a, asProd tai...
9d7b3222a8748ea891e9510c43f6f2d22ae3f8fe
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/lemmas.lean
144a707cf5c448b9bbdb53a68bc6baa89959a3ad
[ "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
2,148
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky, Yury Kudryashov -/ import data.set.function import data.list.basic /-! # Some lemmas about lists involving sets Split out from `data.list.basic` to reduce its depen...
fb53dccaef093e3e46229b33e2e29bf59b7a9407
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/ring_theory/power_basis.lean
53dadb23c1b45074857160b198671851789e7a01
[ "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
14,596
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import field_theory.minpoly /-! # Power basis This file defines a structure `power_basis R S`, giving a basis of the `R`-algebra `S` as a finite list of powers `1, x, ......
05596b07efe52645789824051b08e34fba9b93d8
0c6b99c0daded009943e570c13367c8cc7d3bcae
/chapter3.lean
1041386edace8ff2cb601555361b1e997bdf381b
[]
no_license
TateKennington/logic-and-proof-exercises
e3c5c5b12b6238b47b0c5acf8717923bd471a535
acca8882026e7b643453eb096d3021cd043005bd
refs/heads/main
1,687,638,489,616
1,626,858,474,000
1,626,858,474,000
371,871,374
4
0
null
null
null
null
UTF-8
Lean
false
false
3,637
lean
section variables A B : Prop variable h : A ∧ B example: B ∧ A := and.intro (and.right h) (and.left h) end section variables Q R : Prop variable h: Q example: (Q → R) → R := assume h1, h1 h end section variables A B: Prop example: ¬(A ∧ B) → (A → ¬B):= assume h, assume h1, assum...
284bcb1f8a1c757a10ccf1953267c3a80bf1a2e1
dcf093fda1f51c094394c50e182cfb9dec39635a
/path.lean
5997639bd6b66ed15a886b2c92b7ba848d8ee7de
[]
no_license
dselsam/cs103
7ac496d0293befca95d3045add91c5270a5d291f
31ab9784a6f65f226efb702a0da52f907c616a71
refs/heads/master
1,611,092,644,140
1,492,571,015,000
1,492,571,015,000
88,693,969
1
0
null
null
null
null
UTF-8
Lean
false
false
5,009
lean
import data.list data.subtype data.sigma open subtype list prod prod.ops sigma.ops definition edge (V : Type) := V × V definition graph (V : Type) := edge V → Prop definition undirected {V : Type} (g : graph V) := ∀ (u v : V), g (u,v) → g (v,u) namespace path variables {V : Type} [V_decidable_eq : decidable_eq V] i...
6a3df16cd00478abe686ce943d12c40a3e74c283
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/refinePreservesNaturalMVars.lean
952656e504d98985c7ef97a65cd7882433a84e6f
[ "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,516
lean
import Lean /-! Ensures that `refine` does not remove pre-existing natural goals from the goal list. -/ open Lean Meta Elab Tactic Term elab "add_natural_goal" s:ident " : " t:term : tactic => do let g ← mkFreshExprMVar (← elabType t) .natural s.getId appendGoals [g.mvarId!] /-! In the following, `refine` woul...
4e8c1f5f053375ec9282c0d3e8bd431741a01697
d450724ba99f5b50b57d244eb41fef9f6789db81
/src/mywork/lectures/lecture_22a.lean
f1a8767b384f9b65c6aa23aa75c76eeeaeb4f074
[]
no_license
jakekauff/CS2120F21
4f009adeb4ce4a148442b562196d66cc6c04530c
e69529ec6f5d47a554291c4241a3d8ec4fe8f5ad
refs/heads/main
1,693,841,880,030
1,637,604,848,000
1,637,604,848,000
399,946,698
0
0
null
null
null
null
UTF-8
Lean
false
false
3,338
lean
/- State formally and prove the proposition that congruence mod n is an equivalence relation. Follow the steps below. -/ /- First, we need to define congruence mod n. Technically it is defined not only on the natural numbers but on the integers. Here's the English language definition: Given a natural number, n, grea...
9405a152a1d03e207a7b9d2bfb47f127cf3ca26d
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/have.lean
61ae385dc4acde85e1ed078bda708e4020de9115
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
958
lean
variable f : ℕ → ℕ variable H : ∀ (n:ℕ), f n ≤ f (n+1) example : f 0 ≤ f 3 := have f 0 ≤ f 1, from H 0, have f 0 ≤ f 2, from le_trans this (H 1) , show f 0 ≤ f 3, from le_trans this (H 2) example : f 0 ≤ f 3 := have f 0 ≤ f 1, from H 0, have f 0 ≤ f 2, from le_trans (by assumption) (H 1), show f 0 ≤ f 3,...
51acf6bf5ce23e465e40c46962d82eb5813ce370
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/RightZero.lean
95390ffc1badf382edd4fc93398ed149f64ab69f
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,467
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section RightZero structure RightZero (A : Type) : Type := (e : A) (op : (A → (A → A))) (rightZero_op_e : (∀ {x : A} , (op x e) = e)) open RightZero stru...
f2bb5e0fd4b71ba37d9441526f0df99389afd7a8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/algebra/algebra.lean
e8e4d433f4ed579e7f74931dec653ea8fb918e4d
[ "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
4,001
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.algebra.subalgebra import topology.algebra.module /-! # Topological (sub)algebras A topological algebra over a topological semiring `R` is a topologi...
ca9d81c3b3534538516f033914d4b30413ae8c93
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/catchThe.lean
1472ca74f96a8ae7d32aa5cdff0f5b3dad8d5a16
[ "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
852
lean
import Lean.Meta new_frontend open Lean open Lean.Meta universes u v w abbrev M := ExceptT String $ MetaM def testM {α} [HasBeq α] [HasToString α] (x : M α) (expected : α) : MetaM Unit := do let r ← x; (match r with | Except.ok a => «unless» (a == expected) $ throwError ("unexpected result " ++ toString a) | Exc...
907a9e1feee717b264afc0533c86a091ced6b5e0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/apply_fun.lean
a77b1ba953d4e4b863b0d5d3513f54659c6fe979
[ "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
5,164
lean
/- Copyright (c) 2019 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Patrick Massot -/ import tactic.monotonicity namespace tactic /-- Apply the function `f` given by `e : pexpr` to the local hypothesis `hyp`, which must either be of the ...
632620ce16dadb025071eaf119f2220b19110722
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/meta/mk_dec_eq_instance.lean
202647df5c6ffae3646767b010685be4a65f7f8b
[ "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
5,254
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 Helper tactic for showing that a type has decidable equality. -/ prelude import init.meta.contradiction_tactic init.meta.constructor_tactic import init.meta.i...
d1d33ce6e0a19055fbe13e95d34c9854529b1cab
c0807e3249ba126be15fd22370e98ae1a6dac0f0
/src/Blake3.lean
928d2308acfc576af47420e169a5bf162c0c0263
[]
no_license
tydeu/lean-blake3
1297035629db93e13ffa6a4381f9a0dc496f796f
26fab13b7d37a7c473bd3aaf8a585c5b44b64839
refs/heads/main
1,693,063,372,343
1,634,843,383,000
1,634,843,383,000
419,835,491
1
0
null
null
null
null
UTF-8
Lean
false
false
3,315
lean
/- Bindings to the Blake3 hashing library. -/ namespace Blake3 /- BLAKE3 constant values. -/ constant BLAKE3_KEY_LEN: Nat := 32 constant BLAKE3_OUT_LEN: Nat := 32 constant BLAKE3_BLOCK_LEN: Nat := 64 constant BLAKE3_CHUNK_LEN: Nat := 1024 constant BLAKE3_MAX_DEPTH: Nat := 54 /- Simplification rules for ensuring type...
9c82a3ae759e73134223dd7968df78dd6ee4bfe6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/abelian/transfer.lean
5134e852c5df956f0f201418028cdd71a369fc08
[ "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
8,651
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.abelian.basic import category_theory.limits.preserves.shapes.kernels import category_theory.adjunction.limits /-! # Transferring "abelian-ness...
712789268892913cc33fc0ea751399809c84e07c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/logic/nontrivial.lean
aca6f71a477fedaca718c3fe5a64990eab826a07
[]
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
8,173
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.pi import Mathlib.data.prod import Mathlib.logic.unique import Mathlib.logic.fun...
8b1268251217ea1f53ebdeb725772e5f2e3193a5
78630e908e9624a892e24ebdd21260720d29cf55
/src/logic_propositional/prop_09.lean
e32eea1e4c7d47cef55a4070e2aa294b90813452
[ "CC0-1.0" ]
permissive
tomasz-lisowski/lean-logic-examples
84e612466776be0a16c23a0439ff8ef6114ddbe1
2b2ccd467b49c3989bf6c92ec0358a8d6ee68c5d
refs/heads/master
1,683,334,199,431
1,621,938,305,000
1,621,938,305,000
365,041,573
1
0
null
null
null
null
UTF-8
Lean
false
false
271
lean
namespace prop_09 variables X Y : Prop theorem prop_9 (h : X ∨ Y) (h2 : ¬ X) : Y := show Y, from or.elim h (assume h1: X, show Y, from (classical.by_contradiction (assume Y, h2 h1))) (assume h3: Y, h3) -- end namespace end prop_09
5b278f81a63862407e3e2f67901781b1bc3c3bef
91b8df3b248df89472cc0b753fbe2bac750aefea
/experiments/lean/src/ddl/host/basic.lean
cb2b23009bb26f1cdf31014f3e5c66d8d154077c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yeslogic/fathom
eabe5c4112d3b4d5ec9096a57bb502254ddbdf15
3960a9466150d392c2cb103c5cb5fcffa0200814
refs/heads/main
1,685,349,769,736
1,675,998,621,000
1,675,998,621,000
28,993,871
214
11
Apache-2.0
1,694,044,276,000
1,420,764,938,000
Rust
UTF-8
Lean
false
false
1,253
lean
import ddl.basic namespace ddl.host /- The type syntax of the host language -/ inductive type (ℓ : Type) : Type | bool {} : type | nat {} : type | union_nil {} : type | union_cons : ℓ → type → type → type | struct_nil {} : type | struct_cons : ℓ → type → type → type | array {} : type →...
0f75c9fc5aab41dd4e87e70d93a62fdcaba659f2
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/types/lift.hlean
147df4507029f3b26fa41b3b918ab5068dee1f6b
[ "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
4,888
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 Theorems about lift -/ import ..function open eq equiv equiv.ops is_equiv is_trunc namespace lift universe variables u v variables {A : Type.{u}} (z z' : lift...
6eb1bcf2d01ed728494240ac7927f65ee11cf791
367134ba5a65885e863bdc4507601606690974c1
/src/group_theory/monoid_localization.lean
62272387ffb01ad53a1dbeba2c00c2248022d15d
[ "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
54,941
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import group_theory.congruence import group_theory.submonoid import algebra.group.units import algebra.punit_instances /-! # Localizations of commutative monoi...
616efc43456e51184d7a4ba25a23c37775ee864d
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/perm/option.lean
1cfa369403d7cdf1d7c8f35c4f7d07915205e1e3
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,001
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import group_theory.perm.sign import logic.equiv.option /-! # Permutations of `option α` -/ open equiv @[simp] lemma equiv.option_congr_one {α : Type*} : (1 : perm α).opt...
ff8423fdc00a68d6f0ec6a6b530a32469fa8712f
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/tactic/doc_commands.lean
d1e9a634285c33536f79affe9419122e6ac85e0c
[ "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
16,888
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import tactic.fix_reflect_string /-! # Documentation commands We generate html documentation from mathlib. It is convenient to collect lists of tactics, commands,...
4e334a55114f3717cf9b841442ffdbdd69fff27e
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/bicategory/coherence.lean
17e06361f01b26e5e83a4b6c7b705f5586f70b98
[ "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
9,120
lean
/- Copyright (c) 2022 Yuma Mizuno. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuma Mizuno, Junyan Xu -/ import category_theory.path_category import category_theory.functor.fully_faithful import category_theory.bicategory.free import category_theory.bicategory.local...
c8b3b1f9f7b529b54195adf965c022c6630895eb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/geometry/euclidean/inversion.lean
92cd13a99fa17f3f9ef4dc189871f685c602b0f2
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,526
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.inner_product_space.basic /-! # Inversion in an affine space > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a...
55171b1aeae2da558e63b463543ac39eb91f1411
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/ac_rfl.lean
d7e2df4677db6d4dc87cdaaf544090c2fe0b0752
[ "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,973
lean
open Lean instance : IsAssociative (α := Nat) HAdd.hAdd := ⟨Nat.add_assoc⟩ instance : IsCommutative (α := Nat) HAdd.hAdd := ⟨Nat.add_comm⟩ instance : IsNeutral HAdd.hAdd 0 := ⟨Nat.zero_add, Nat.add_zero⟩ instance : IsAssociative (α := Nat) HMul.hMul := ⟨Nat.mul_assoc⟩ instance : IsCommutative (α := Nat) HMul.hMul := ...
d0e1fef771a1e44ceceb182c5d30d64f553cc00b
46125763b4dbf50619e8846a1371029346f4c3db
/src/measure_theory/probability_mass_function.lean
89b155b6f090fc34a4db7c9c10232f838e61a2d9
[ "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
4,785
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Probability mass function -- discrete probability measures -/ import topology.instances.nnreal topology.instances.ennreal topology.algebra.infinite_sum noncomputable the...
6b8f53bf5e7571f137df5ebada6cb5b6a0bbdb7e
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Meta/Tactic/Injection.lean
89f4fbdcb5f6b44755158c3af8c900627d730a55
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,146
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 import Lean.Meta.Tactic.Clear import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Intro namespace Lean.Meta def getCtorNumP...
8346be9be1a52b4e36d38317fcc99e8ff9fa60d8
c0807e3249ba126be15fd22370e98ae1a6dac0f0
/tests/Tests.lean
513378e4da701e92fc9586b4a71409663d7afae3
[]
no_license
tydeu/lean-blake3
1297035629db93e13ffa6a4381f9a0dc496f796f
26fab13b7d37a7c473bd3aaf8a585c5b44b64839
refs/heads/main
1,693,063,372,343
1,634,843,383,000
1,634,843,383,000
419,835,491
1
0
null
null
null
null
UTF-8
Lean
false
false
23
lean
import Tests.HashString
0e74b50e4cbce039b24fb1e76ef1055e500f0efa
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/autoBoundImplicits1.lean
7352980ebf380c74ba7ae5589fa5ca8e3321c94f
[ "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,353
lean
def myid (a : α) := a -- works set_option relaxedAutoImplicit false #check myid 10 #check myid true theorem ex1 (a : α) : myid a = a := rfl def cnst (b : β) : α → β := fun _ => b -- works theorem ex2 (b : β) (a : α) : cnst b a = b := rfl def Vec (α : Type) (n : Nat) := { a : Array α // a.size = n } def mkVec : Vec...
9beb8aaeeff36b7321504df139421894613c9455
a721fe7446524f18ba361625fc01033d9c8b7a78
/elaborate/add_comm_0.lean
c97fcf277084ed25b8999b4ccd87e248c209891a
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
1,311
lean
λ (m n : mynat), mynat.rec (eq.rec (eq.refl m) (eq.rec (eq.refl (m = add zero m)) (eq.rec (eq.refl (m = add zero m)) (mynat.rec (eq.refl zero) (λ (m_n : mynat) (m_ih : add zero m_n = m_n), eq.rec (eq.refl (succ m_n)) (eq.rec (eq...
815bc1a36a4d56d23ca34116041cfeac87e5a85d
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/app/SMTParser.lean
aa1527bb17f0ff9d2d2f8d1da821da2918986a00
[]
no_license
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
7,862
lean
import Galois.Data.RBMap import Galois.Data.SExp import SMTLIB.Syntax import LeanLLVM.AST import X86Semantics.Common import ReoptVCG.WordSize namespace ReoptVCG section universes u v open WellFormedSExp open SMT ------------------------------------------------------------------------ -- Expression inductive Atom ...
9f4d02fb4edc87ed6d8782f56a886cbee9b61740
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/init/pointed.hlean
4b0cc5eb7e0a72121443a961c0e3f07b73a0956f
[ "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
3,605
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn The definition of pointed types. This file is here to avoid circularities in the import graph -/ prelude import init.trunc open eq equiv is_equiv is_trunc struct...
d08ebf9b115d739366606fe6414f14330e195dc4
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/witt_vector/frobenius.lean
6d0ed81da992cdfbcc34e87783d0bf3c690adf36
[ "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
13,300
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.nat.multiplicity import ring_theory.witt_vector.basic import ring_theory.witt_vector.is_poly /-! ## The Frobenius operator If `R` has characteristic `...
d609cac6d845f3fb0be313c315208343872b1662
63abd62053d479eae5abf4951554e1064a4c45b4
/src/tactic/norm_num.lean
2d42386325d80e04f832ffb3f4120210362cc838
[ "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
65,987
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro -/ import data.rat.cast import data.rat.meta_defs import data.nat.prime /-! # `norm_num` Evaluating arithmetic expressions including `*`, `+`, `-`, `^`, `≤`. ...
27e8c6559793067dd3633a847141b0c5b9cc600d
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/445.lean
1e93c8e1e96ae58f5a837883052e030daf887c3d
[ "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
112
lean
constants (A : Type) (a : A) constants (B : Type) (b₁ b₂ : B) (H : b₁ = b₂) check a check b₁ check H
c5efecc3c758391809288f11f951b5d51854bee1
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/05_Interacting_with_Lean.org.18.lean
7ceeadcfe408965c67d0f783b98eab82ed174600
[]
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
635
lean
/- page 73 -/ import standard import data.nat data.int open nat int variables a b : int variables m n : nat -- BEGIN check 123 -- 123 : num check (123 : nat) -- 123 : ℕ check (123 : int) -- 123 : ℤ check a + n -- a + n : ℤ check n + a -- n + a : ℤ check a + 123 -- a + 123 : ...
690b0c786f17308db7a5cd8b3745cbd971ee2ffa
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/meta/async_tactic.lean
0f86f1dfe11ab310f480b1e6a466bb3fac765493
[ "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
1,851
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 namespace tactic private meta def report {α} (s : tactic_state) : option (unit → format) → α | (some fmt)...
6a41dd5c32b77caf2341078dfb630c3f3ccc016b
dac4e6671410f506c880986cbb2212dd7f5b3dfd
/hanoi_project/nga.lean
6ca0a56405b33b73d3a2b3573300129a17c5f75a
[ "CC-BY-4.0" ]
permissive
thalesant/formalabstracts-2018
e6ddfe8b3ce5c6f055ddcccf345bf55c41f850c1
d206dfa32a6b4a84aacc3a5500a144757e6d3454
refs/heads/master
1,642,678,879,231
1,561,648,713,000
1,561,648,713,000
97,608,420
1
0
null
1,564,063,995,000
1,500,388,250,000
Lean
UTF-8
Lean
false
false
22
lean
#print "Good morning!"
dc325b06736772213deb244d33cc9dfb479b5079
193da933cf42f2f9188bb47e3c973205bc2abc5c
/AA_Algebras/01_dm_bool/2b_dm_bool_test.lean
46d6ee891cf6163dca0aeb42ca0ca699191aa41f
[]
no_license
pandaman64/cs-dm
aa4e2621c7a19e2dae911bc237c33e02fcb0c7a3
bfd2f5fd2612472e15bd970c7870b5d0dd73bd1c
refs/heads/master
1,647,620,340,607
1,570,055,187,000
1,570,055,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,222
lean
/- To use definitions from another lean, you must "import" that file: directly or indirectly. If you don't import, then the symbols in that file are not defined in this one. To see, uncomment the following line. Hover to see the error and understand what it's saying. As an aside, importing from a file reveals the def...
3161f2a9abf1e30d106414386ceda30456f9f3cc
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/PostPort/Pow.lean
3c1e48e6e85c3952563ae56010f82ddfc6de6ad6
[]
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
428
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Mathlib.Lean3Lib.init.core namespace Mathlib universes u v variable {α : Type u} {β : Type v} noncomputable instance [has_pow α β] : HPow ...
fa59bf794486dbcc9971adc4b4ead42a1d0cbec1
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/tactic_paper_supplemental_material/monoid_cancellation/cancellation_solver.lean
312b57c072ef26da714ba417922726c904150878
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
1,586
lean
import .smt local infix * := star open tactic smt_tactic attribute [ematch] one_star meta def qf_monoid := using_smt $ smt_tactic.intros; eblast section variables {a b c d : m} lemma plus_unit_p : a = b → o * a = b := by qf_monoid lemma plus_assoc_p1 : a * (b * c) = d → (a * b) * c = d := by qf_monoid lemma plus_asso...
755a570210d1f5290868561603d9c69f2870df9c
957a80ea22c5abb4f4670b250d55534d9db99108
/library/data/vector.lean
64b9abe2756ba41ce85df61254a08486b7cc05e1
[ "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
4,563
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 Tuples are lists of a fixed size. It is implemented as a subtype. -/ prelude import init.data.list init.data.subtype init.meta.interactive init.data.fin unive...
632b429fb15dbfb03d23cd6559811a7b39518602
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/ring_theory/witt_vector/structure_polynomial.lean
56c0ebbbc5b430b468135a01ee2fd18504fd0cce
[ "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
18,512
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.matrix.notation import field_theory.mv_polynomial import field_theory.finite.polynomial import number_theory.basic import ring_theory.wi...
8a27e8c410cea0ac144983dbf75d64408c11e608
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1050.lean
25fc31940d42ce916b4234e5cf5ef05ce0ac9f85
[ "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
950
lean
universe u inductive Foo : Type u → Type u → Type (u+1) | foo {as bs cs: Type u}: Foo as bs → Foo bs cs → Foo as cs namespace Foo mutual def bar : {as bs: Type u} → Foo.{u} as bs → bs := bar_aux def bar_aux: {as bs: Type u} → Foo.{u} as bs → bs | as, bs, foo _ x => x.bar end terminati...
5cd655dae821273b355b48fa17844be3f8ebca90
37a833c924892ee3ecb911484775a6d6ebb8984d
/src/category_theory/presheaves/locally_ringed.lean
0114976684dc38fb06cb9c57cfbce09bd4364b18
[]
no_license
silky/lean-category-theory
28126e80564a1f99e9c322d86b3f7d750da0afa1
0f029a2364975f56ac727d31d867a18c95c22fd8
refs/heads/master
1,589,555,811,646
1,554,673,665,000
1,554,673,665,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
979
lean
import category_theory.presheaves.sheaves import category_theory.presheaves.stalk import category_theory.examples.CommRing.products import category_theory.examples.rings import ring_theory.ideals universes v open category_theory.examples open category_theory.presheaves open category_theory.limits variables (X : Top....
a45d80b171f423ab7de4c3909bf99aa067955948
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/invertible.lean
3713bfd6d689179b8c4c3106f2750a913e330a81
[ "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
9,971
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.group.units import algebra.ring.basic /-! # Invertible elements This file defines a typeclass `invertible a` for elements `a` with a two-sided multiplicat...
3784e0689c97519ac98b486259beb3fce04c920d
704c0b4221e71a413a9270e3160af0813f426c91
/src/refinement/tableau_class.lean
1777d90925c871ec8de41c8a34974bdcc617f5ad
[]
no_license
CohenCyril/LP
d39b766199d2176b592ff223f9c00cdcb4d5f76d
4dca829aa0fe94c0627410b88d9dad54e6ed2c63
refs/heads/master
1,596,132,000,357
1,568,817,913,000
1,568,817,913,000
210,310,499
0
0
null
1,569,229,479,000
1,569,229,479,000
null
UTF-8
Lean
false
false
1,127
lean
import simplex class is_tableau (X : ℕ → ℕ → Type) : Type := (to_tableau {m n : ℕ} : X m n → tableau m n) (pivot {m n : ℕ} : X m n → fin m → fin n → X m n) (pivot_col {m n : ℕ} (T : X m n) (obj : fin m) : option (fin n)) (pivot_row {m n : ℕ} (T : X m n) (obj : fin m) : fin n → option (fin m)) (to_tableau_pivot {m n : ...
351caa05428b4d8e29b0d090f5d827340a1dd38d
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/option/basic.lean
a64fd190b0bc19b6ab5c14879097f0307fbf3cd5
[ "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
18,799
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 logic.is_empty import tactic.basic import logic.relator /-! # Option of a type This file develops the basic theory of option types. If `α` is a type, then `...
31af991f577aad2fd7214e2e08263cd8a880c270
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/polynomial/coeff.lean
2f0628977a1336a197d0de8ad87adf80d1650a00
[ "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
5,861
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.monomial import data.finset.nat_antidiagonal /-! # Theory of univariate polynomials The theorems ...
fda83c952bbc5ab48fd00d147cc1feb1fa38c489
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/data/seq/parallel.lean
69b2413719294fd8b6b24dad6062b7c7d2bfef89
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
12,242
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Parallel computation of a computable sequence of computations by a diagonal enumeration. The important theorems of this operation are proven as terminates_paralle...
6efd9a6ae8467910e5e72ce17015804a4bf22824
4a3109c7bb55b7ea698278061cbb921b8db93b7f
/mm0-lean/mm0/fol.lean
4ef2571867ceaf3a128a983c64041db724338136
[ "CC0-1.0" ]
permissive
LongJohnCoder/mm0
d233200cd7baae9c521cacfbbe162b2ff3bd993f
0c556a21af92d552e859fd42794f57398c3964cf
refs/heads/master
1,600,930,472,594
1,574,627,400,000
1,574,627,400,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,925
lean
import zfc def deps := list bool def deps.single (n : ℕ) : deps := nat.rec ([tt]) (λ _, list.cons ff) n -- | 0 := [tt] -- | (n+1) := ff :: deps.single n def deps.union (d1 : deps) : deps → deps := list.rec id (λ a l₁ IH l₂, list.cases_on l₂ l₁ (λ b l₂, (a || b) :: IH l₂)) d1 -- | [] l := l -- | l [] := l -- | (a :...
808195bad0065d46ef163220bb694fad0af83506
4f9ca1935adf84f1bae9c5740ec1f2ad406716fa
/src/data/real/nnreal.lean
96f855c503762387229197a24bc03f9c5a77c1c6
[ "Apache-2.0" ]
permissive
matthew-hilty/mathlib
36fd7db866365e9ee4a0ba1d6f8ad34d068cec6c
585e107f9811719832c6656f49e1263a8eef5380
refs/heads/master
1,607,100,509,178
1,578,151,707,000
1,578,151,707,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,155
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import data.real.basic order.lattice algebra.field noncomputable theory open lattice open_locale classical /-- Nonnegative real numbers....
280040c58fd8e186cae1d4fbb1c01ea5937cc7a1
4727251e0cd73359b15b664c3170e5d754078599
/src/order/filter/basic.lean
748cf89a8400b475a214bab0b0de99a5c45ba79a
[ "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
121,167
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 control.traversable.instances import data.set.finite import order.copy import tactic.monotonicity /-! # Theory of filters on sets ## Main defi...
c03175c4e21e44f818ea0f155d10529de4212579
c777c32c8e484e195053731103c5e52af26a25d1
/src/set_theory/ordinal/principal.lean
61774bc56030ae224fd06ca702bc1ddbbf4a95ab
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
16,575
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import set_theory.ordinal.fixed_point /-! ### Principal ordinals > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file requ...
daf9f8871b8cf8ef65dcdff017d38eeb591f5aee
f3849be5d845a1cb97680f0bbbe03b85518312f0
/old_library/init/funext.lean
b5e7563d9f33b429ad642de5a24908d46f1b1ac1
[ "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
2,227
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Extensional equality for functions, and a proof of function extensionality from quotients. -/ prelude import init.quot init.logic namespace function universe va...
3d215252222c2386aa31ce2a27d7be9f077b751e
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Parser/Do.lean
32afe9ecd699afeddc6c26096c0cc95613c55079
[ "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,483
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.Parser.Term namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribute `builtinDoElemParser `doElem builtin_initialize ...
ae5c2470734a94a965085df85f17de831006eb85
2a8b9c9fb34993732e24b7934050207f28675948
/lua/tests/fixtures/example-lean4-project/Test/Test1.lean
6877d754bb3da8335e1d4916195d43f5dd06e150
[ "MIT" ]
permissive
jcommelin/lean.nvim
471b8c2c16f47e76dfc36dc85d1e9cf6938b58e6
b10a525f65cd2fda1c2e629d4b68f241caf67d64
refs/heads/main
1,691,387,304,436
1,633,447,198,000
1,633,447,198,000
413,898,327
0
0
MIT
1,633,451,737,000
1,633,451,737,000
null
UTF-8
Lean
false
false
20
lean
def test : Nat := 5
98ae692ddb74b742045638c9b1a821c4e9a45784
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/witt_vector/basic.lean
2067ecdfe286813e95b42743cdbe6f712e29abdc
[ "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
9,183
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.mv_polynomial.counit import data.mv_polynomial.invertible import ring_theory.witt_vector.defs /-! # Witt vectors This file verifies th...
653a20c1cd651a1aadc2b2c497a40c4b0f7be0a0
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/hints/thursday/afternoon/category_theory/exercise3/hint2.lean
5e22fcdabdb9761c8ec48e6a7c3c80e59575d8ad
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
652
lean
import for_mathlib.category_theory -- This imports some simp lemmas that I realised belong in mathlib while writing this exercise. open category_theory variables {C : Type*} [category C] variables {D : Type*} [category D] lemma equiv_reflects_mono {X Y : C} (f : X ⟶ Y) (e : C ≌ D) (hef : mono (e.functor.map f)) : ...
79cdfacb52b9911de4c028021c8edb26d7c39961
93366ecea09eebeeb0b320567c6f71715434c3f0
/src/bum/auxiliary.lean
78464bb08029d7f8876981656b7c28fe2ed3de20
[ "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
o89/bum
9c1286cedb878c1e14c618e81b33d365f62c8a8a
18ffb2b46932ba767c50758a93cc99846ef1b46a
refs/heads/master
1,670,171,693,018
1,669,086,393,000
1,669,086,393,000
205,409,352
8
6
null
null
null
null
UTF-8
Lean
false
false
1,377
lean
open System (FilePath) @[extern 2 "lean_io_chdir"] constant changeDir (s : @& String) : IO UInt32 @[extern 2 "lean_io_remove"] constant IO.remove (s : @& String) : IO UInt32 @[extern 2 "lean_get_last_write_time"] constant IO.getLastWriteTime (path : @& String) : IO UInt64 @[extern 3 "lean_io_set_env"] constant IO.s...
cb47af27a0a9213ccd53b57873fac9720e0d5068
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/field_theory/perfect_closure.lean
f247b2e20259ffbb8a746a82c8650d5453994011
[ "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
16,647
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 algebra.char_p.basic import data.equiv.ring import algebra.group_with_zero.power import algebra.iterate_hom /-! # The perfect closure of a field -/ un...
bc4bea87a888f7e00dd38f53ab5e6dc20b0c563b
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/ring_theory/noetherian.lean
9ad8a180eaaf521e7e86a455a1dc9a76bac25aa0
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
21,255
lean
/- Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import data.equiv.algebra import linear_algebra.finsupp import ring_theory.ideal_operations import ring_theory.subring import linear...
96c51d5a5389eeabdb2bdb7454cdf3008071003b
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/polynomial/scale_roots.lean
00dc95b0543b5d1d2525117b9db622ce7470dd31
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,332
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Devon Tuma -/ import ring_theory.polynomial.basic import ring_theory.non_zero_divisors /-! # Scaling the roots of a polynomial This file defines `scale_roots p s` for a po...
754fc85f65fc85d35d166d0c1b5e45acebf5ff5e
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/prime.lean
ca448c7ebe0fcea5de8cf54e7e203986d4b38272
[ "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
2,684
lean
/- Copyright (c) 2020 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.associated import algebra.big_operators.basic /-! # Prime elements in rings This file contains lemmas about prime elements of commutative rings. -/ variab...
a8a37090a1e0cac7893093efcb0e153c1e73ecbf
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/series/L01defs.lean
09f98f65fdd2548b8194fdbd0808461273025dd1
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
179
lean
import data.real.basic import game.limits.bdd_monos_converge --import topology.algebra.infinite_sum namespace xena --hide notation `|` x `|` := abs x -- hide end xena --hide
9152c16cb91bc0130a1fc4a6dc33a508ccd054d6
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/simp7b.lean
29280a2c0124ab3d6504da72640097960f1e9c0f
[ "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
263
lean
variables a b c d e f p: Bool rewrite_set simple add_rewrite and_assoc and_comm and_left_comm : simple (* local t = parse_lean("((f ∨ p) ∧ (e ∨ p)) ∧ ((p ∨ d) ∧ c) ∧ (b ∧ a)") local t2 = simplify(t, "simple") print(t) print("====>") print(t2) *)
cca9da0b49dd09b0a913ab0d151e2178a3b788cc
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/integral/circle_integral.lean
9cd190c8bdbcd22fed27fad57e494b6c17bedbdf
[ "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,659
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.integral.interval_integral import analysis.normed_space.pointwise import analysis.special_functions.non_integrable import analysis.analytic.ba...
93a236e2a9a9edd18f0d904a219f210167b8e5bd
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/group_theory/congruence.lean
fdc393c614ad6f452b3d19c20703723ce4cdfb33
[ "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
42,709
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import data.setoid.basic import algebra.group.pi import algebra.group.prod import data.equiv.mul_add import group_theory.submonoid.operations /-! # Congruence ...
ec320ff6b3efe271152c851f73a3a10a9fa19cfa
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/doc_commands.lean
d03a2a214e221c40d5be33aa8fefdc54dd064de1
[ "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
161
lean
import tactic.doc_commands open tactic namespace bar def foo := 5 /-- ok -/ add_decl_doc foo run_cmd do ds ← doc_string ``foo, guard $ ds = "ok" end bar
44e086e478c58d8aa14c4985e00aa3f40c2f8352
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/polynomial/div.lean
8cc64300f878fb835ab2dbc1d46e06f13306803d
[ "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
25,910
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.monic import ring_theory.euclidean_domain import ring_theory.multiplicity /-! # Division of univar...
93aa0ffd1276169df3ea737facdb2e0902628d88
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/pi_instances.lean
3ab20ab678d387dde01c3c930ed5d18053492af0
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
2,072
lean
/- Copyright (c) 2018 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import tactic.solve_by_elim order.basic /-! # `pi_instance` Automation for creating instances of mathematical structures for pi types -/ namespace tactic open interactiv...
2d613a910b8cc1f7d2fe4ff7e58210bfca09db9c
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/lie/semisimple.lean
d91ce454a00c130d05d2cc3b5cd162bc5219d2fb
[ "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
4,544
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.solvable /-! # Semisimple Lie algebras The famous Cartan-Dynkin-Killing classification of semisimple Lie algebras renders them one of the most importan...
ba956daded82690cc38d36f482ca5ed851bae9f1
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/data/int/basic.lean
d9c0d85c7bf0b4b8eb2e99835e8eee1c7c93a802
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
51,594
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import data.nat.basic data.list.basic algebra.char_zero algebra.order_functions open nat namespace int ...
1a90cac0f96fea99c2c2d337410ea49c2c147857
4bddde0d06fbd53be6f23d7f5899998e8f63410b
/src/tactic/iconfig/command.lean
313a7def5e8eee9b6fe0a8ae787a76c6f085eb4f
[]
no_license
khoek/libiconfig
4816290a5862af14b07683b3d2663e8e62832ef4
6f55c50bc5d852d26ee5ee4c5b52b2cda2a852e5
refs/heads/master
1,586,109,683,212
1,559,567,916,000
1,559,567,916,000
157,085,466
0
1
null
1,559,567,917,000
1,541,945,134,000
Lean
UTF-8
Lean
false
false
1,358
lean
import .tactic open iconfig open tactic lean lean.parser open interactive interactive.types @[user_command] meta def iconfig_mk_cmd (_ : decl_meta_info) (_ : parse (tk "iconfig_mk")) : lean.parser unit := do n ← ident, of_tactic' $ iconfig.env_mk n private meta def eat_members (cfgn : name) : lean.parser unit :=...
82a98c1dcaaba044c3a8433f8ef45ef41ddde279
649957717d58c43b5d8d200da34bf374293fe739
/src/data/finsupp.lean
78aa4f34eea119ea12924be5abb6fa3168f02e47
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
58,345
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...
d50517095eb1c0a9d750404458bceec13b2bb8d4
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/is_connected.lean
a087eef022bf5998878d1029c92613fd60ccef3e
[ "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
14,272
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import data.list.chain import category_theory.punit import category_theory.groupoid /-! # Connected category Define a connected category as a _nonempty_ category for wh...
cfb4de7f3a12ad5a680ea50c9a625e74c72e4a0b
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/Mbar/bounded.lean
7045bba9e8090e1903a18dde51d96bc1d7f249e8
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,609
lean
import data.fintype.intervals import data.real.basic import algebra.big_operators.ring import data.fintype.card import category_theory.Fintype import topology.order import topology.separation import topology.subset_properties import data.real.nnreal /-! # \overline{\mathcal{M}}_r(S)_{\leq c} Throughout, `S` is finit...