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
e5d577e9229162308e8fa8ec93888b2eab90a186
97c8e5d8aca4afeebb5b335f26a492c53680efc8
/ground_zero/types/dep_path.lean
a21cbc9bfac99f5f51fff11507c7fb177041aef9
[]
no_license
jfrancese/lean
cf32f0d8d5520b6f0e9d3987deb95841c553c53c
06e7efaecce4093d97fb5ecc75479df2ef1dbbdb
refs/heads/master
1,587,915,151,351
1,551,012,140,000
1,551,012,140,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,477
lean
import ground_zero.types.eq namespace ground_zero.types universes u v inductive dep_path {α : Sort u} (π : α → Sort v) : Π {a b : α} (p : a = b :> α) (u : π a) (v : π b), Sort (max u v) | refl (a : α) (u : π a) : dep_path (eq.refl a) u u attribute [refl] dep_path.refl notation u ` =[` P `,` p `] ` v := dep_path P ...
b993c09ddf8e5734096abac6c0c4832a516131ad
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/limits/shapes/binary_products.lean
bed8935e2b76a979fb6f3654a3b889731c333f59
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
21,935
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.limits.limits import category_theory.discrete_category /-! # Binary (co)products We define a category `walking_pair`, which is ...
7cca6383df0ba9d30189a85043794ee81a4bce26
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/data/rbtree/min_max_auto.lean
d0074a7dd60dc4e27e0d7f844a23d832c29ee570
[]
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,506
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.Lean3Lib.data.rbtree.basic universes u namespace Mathlib namespace rbnode t...
6332fb5d73cacbc138c99674ec632caeff3398c6
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/syntaxPrec.lean
7c0d37ffa35ae7b5f106785874e52bf4cc1fca98
[ "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
135
lean
syntax "foo" term <|> "bar" term : term -- should not compile set_option trace.Elab.command true syntax "foo" ("*" <|> term,+) : term
8f445d74cb51c7a47aea51bc235a5340746238be
5c43b2debfb9d0bb58879986aa53799864d3c01d
/chapter_1.lean
fc417eb120788a282f028959c47d1157693a2148
[ "Apache-2.0" ]
permissive
wgabrielong/NT_lean
571f5c435256c1dfbe67291fa5c7438ade742c80
c4fd8c1d699ff3630844e0960f82a6ad9746fce0
refs/heads/main
1,687,551,371,985
1,627,473,260,000
1,627,473,260,000
390,287,756
0
0
null
null
null
null
UTF-8
Lean
false
false
2,600
lean
import data.pnat.prime import tactic.linarith open nat /- This code outlines formalizes the proofs in Chapter 1 of Hardy and Wright's "An Introduction to the Theory of Numbers". Where availible, the theorems are proven using tools directly availible in mathlib. -/ /- Theorem 1: Every positive integer, excep...
3e5d647c63511a024d10ceea39566a2594a1a43a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/namespaceIssue.lean
987e13d9ae79768654eb3b66c46407ba6be70af4
[ "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
74
lean
def Bla.x := 10 namespace Foo export Bla(x) end Foo open Foo #check x
b5ab5d186828c190602b5ed153eef9b3286285a6
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/multiset/erase_dup.lean
759aeb6665fd46ecbdeb5c6a06c53cb480f87954
[ "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
3,028
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.multiset.nodup /-! # Erasing duplicates in a multiset. -/ namespace multiset open list variables {α β : Type*} [decidable_eq α] /-! ### erase_dup -/ /...
5aaa25384702a5c4601f0c848777567b7e0f466a
a2ee6a66690e8da666951cac0c243d42db11f9f3
/src/analysis/special_functions/trigonometric.lean
fe9a373b8d2a182cb671fe18c94e585f89431ee0
[ "Apache-2.0" ]
permissive
shyamalschandra/mathlib
6d414d7c334bf383e764336843f065bd14c44273
ca679acad147870b2c5087d90fe3550f107dea49
refs/heads/master
1,671,730,354,335
1,601,883,576,000
1,601,883,576,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
81,611
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import analysis.special_functions.exp_log /-! # Trigonometric functions ## Main definitions This fil...
e0b816cf9553651a79ead1bd48a80def20a6c973
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/algebra/continued_fractions/computation/terminates_iff_rat.lean
b88a595c4c028fa8366bfa0230c99a6355158882
[ "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
14,070
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.computation.approximations import algebra.continued_fractions.computation.correctness_terminating import data.rat /-! # Termina...
eeb08fc6304b63c46a21effa34fb565f57092334
367134ba5a65885e863bdc4507601606690974c1
/src/measure_theory/lp_space.lean
2dca4bfa0eb64d4797ba3cf2c502761dbd89cfb0
[ "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
69,300
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import measure_theory.ess_sup import measure_theory.ae_eq_fun import analysis.mean_inequalities /-! # ℒp space and Lp space This file describes prope...
d74d923465a26b6422a81d1408cfe79be1dfcbdf
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Data/Options.lean
9d451083e6b828bc326c680a380797cc6402d17c
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,408
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich and Leonardo de Moura -/ prelude import Init.System.IO import Init.Data.Array import Init.Data.ToString import Init.Lean.Data.KVMap namespace Lean def Option...
1261f38a8ad3d2cd01b9843676ee641407ebad65
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/monotonicity/test_cases.lean
8669a612a695b2009c7a32143ca85052f3ca59a9
[ "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
3,351
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.monotonicity.interactive open list tactic tactic.interactive meta class elaborable (α : Type) (β : out_param Type) := (elaborate : α → tactic β) export e...
20eeaabc3e7eb644ba5c323a3f9a9bc426ab9c53
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/fin/vec_notation.lean
e19013da4447549702672580561761d6f130efce
[ "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
13,978
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 data.fin.tuple.basic import data.list.range import group_theory.group_action.pi import meta.univs /-! # Matrix and vector notation This file defines notation for v...
341b83096fe787ad2c490285dbeb4d7efa3da7e6
ea11767c9c6a467c4b7710ec6f371c95cfc023fd
/src/monoidal_categories/coherence.lean
1aa7864b0d4b41f794e81005ae3701e62b9d3627
[]
no_license
RitaAhmadi/lean-monoidal-categories
68a23f513e902038e44681336b87f659bbc281e0
81f43e1e0d623a96695aa8938951d7422d6d7ba6
refs/heads/master
1,651,458,686,519
1,529,824,613,000
1,529,824,613,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,005
lean
import .monoidal_category open categories.monoidal_category universes u₁ v₁ variables {C : Type u₁} [𝒞 : monoidal_category.{u₁ v₁} C] include 𝒞 inductive monoidal_coherence_step : C → Type u₁ | left_unitor : Π X : C, monoidal_coherence_step ((monoidal_category.tensor_unit C) ⊗ X) | left_tensor : Π (X Y : C) [m...
00ff7f317daa16254435c315c47b15d14f9203ab
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/693.lean
34f9c9064831609a46a1138d1b1accfd978be7a9
[ "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
607
lean
open nat nat_esimp definition foo [unfold 1 3] (a : nat) (b : nat) (c :nat) : nat := (a + c) * b example (c : nat) : c = 1 → foo 1 c 0 = foo 1 1 0 := begin intro h, esimp, state, subst c end example (b c : nat) : c = 1 → foo 1 c b = foo 1 1 b := begin intro h, esimp, -- should not unfold foo state, ...
b15b5d53e58b69f4c2d8670c7ce8e2dc9ad123e3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/separable_degree.lean
b0314e1a1c4c03b050983c1475f8d11e0bf1683d
[ "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,439
lean
/- Copyright (c) 2021 Jakob Scholbach. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob Scholbach -/ import algebra.algebra.basic import algebra.char_p.exp_char import field_theory.separable /-! # Separable degree > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any...
0f4d92c8ff4a4b71cc53860f15cc9a4c17d720d6
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/natural_transformation.lean
622f7f530a77649dc2c7c7a928d7e4b9793461a3
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
2,749
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn Defines natural transformations between functors. Introduces notations `τ.app X` for the components of natural transfo...
1a1bf55e9476cdfb41b4a296f5ab74fed607f6c1
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/data/fintype.lean
bdfb97fca8e54b69fcd9bacafde5afca4950c2d2
[ "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
25,589
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset algebra.big_operators data.array.lemmas data.vector2 universes u v variables {α : Type*} {β : Type*} {γ : Type*} /-- `fintype α` me...
a008a2231fff60cf785cbfec65b1fb927e5c4caf
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/setOptionTermTactic.lean
8089af352a27fd6febbb51e0105a07cabc454d9a
[ "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
257
lean
def f (x : Nat) : Nat := x + (set_option trace.Meta.synthInstance true in 1) def g (x : Nat) : Nat := 0 + x.succ theorem ex : f = g := by simp only [f] set_option trace.Meta.Tactic.simp true in simp only [Nat.add_succ, g] simp only [Nat.zero_add]
ac9f90efb24e18616dcb85e5cfa774e5a62c7ea3
2347ca473be11f805e73bef99478cf04c495ec85
/library/init/meta/interactive.lean
53da43239aa4e16ae59f86544fb904b555ef93cf
[ "Apache-2.0" ]
permissive
uwplse/lean
7a16735e05ba6dc1c4acf8ed42f4a1d3eda19d48
d83b9ef3efbf2d9eafce32c26d047e1f69539a2f
refs/heads/master
1,625,273,223,604
1,505,546,402,000
1,505,765,099,000
104,110,401
0
0
null
1,505,844,591,000
1,505,844,591,000
null
UTF-8
Lean
false
false
43,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 -/ prelude import init.meta.tactic init.meta.rewrite_tactic init.meta.simp_tactic import init.meta.smt.congruence_closure init.category.combinators import init...
0cd696f48017080c5e73ee4059e18cb63b5369b6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/category/Module/biproducts.lean
24be464b445ce0b4b31613bde309eefdcb7e1fb4
[ "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,146
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 algebra.group.pi import category_theory.limits.shapes.biproducts import algebra.category.Module.limits import algebra.category.Module.abelian import algebra.ho...
b95538d073e71fd904943b04965b1dd0a105ed42
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/ring_theory/adjoin_root.lean
a7422f64bef2912618f6cb923514bfbf4481ead6
[ "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
4,188
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes Adjoining roots of polynomials -/ import data.polynomial ring_theory.principal_ideal_domain /-! # Adjoining roots of polynomials This file defines the ...
1756c1e7a692b61ab8b4232217a4ca7e3a6f6510
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/algebra/algebra/operations.lean
54ad99e15bff25f9a80d57bc0df753a130f2dda1
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,083
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.basic /-! # Multiplication and division of submodules of an algebra. An interface for multiplication and division of sub-R-modules of an R-algebra A is...
51996d91a451b7441ee767507b7e1878f2fc0178
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/alias2.lean
777903d88a0d69783c753fdf74fdc61e9e263caa
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
331
lean
import logic namespace N1 variable num : Type.{1} variable foo : num → num → num end namespace N2 variable val : Type.{1} variable foo : val → val → val end using N2 using N1 variables a b : num variable f : num → val coercion f definition aux2 := foo a b check aux2 theorem T3 : aux2 = N1.foo a b := refl _ ...
ecffbd7e61d503147c87291bcb3765979191e2e9
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/simpArgTypeMismatch.lean
5a3f8ee73188cfa6684b442368728f06e438bc0a
[ "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
125
lean
example (p : Prop) [Decidable p] (hnp : ¬ p) : if decide p then 0 = 1 else 1 = 1 := by simp [hnp, decideEqFalse Unit]
8396da60cf26aebe89f87912ec8d73f681ce6c7c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/grothendieck.lean
6c952573cd58ab577b675194b5998bec552a25bc
[]
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
4,898
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.category.Cat import Mathlib.category_theory.elements import Mathlib.PostPor...
52314c14db898b269f0e1f6e0228b1a8b2ad3dab
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/pempty.lean
02da6559e1712e918286b1b81c6997aa617d75d2
[]
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,481
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.discrete_category import Mathlib.PostPort universes v u n...
3cc04628f8fc8bded77443fe8b47219e6fe805bf
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/695e.lean
ab1ad4c1b5da2b58086fc2348b2adf05081cd3c5
[ "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
67
lean
open nat example (n : ℕ) : n + 1 = succ n := by rewrite [<d n+1]
6f992c812d3a1a4a704a2d85d2c47190b09cb5ec
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/e1.lean
fffe74f7ebd9809d80223f1faea8f9e0e35e8a26
[ "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
328
lean
prelude definition Prop : Type.{1} := Type.{0} constant eq : forall {A : Type}, A → A → Prop constant N : Type.{1} constants a b c : N infix `=`:50 := eq check a = b constant f : Prop → N → N constant g : N → N → N precedence `+`:50 infixl + := f infixl + := g check a + b + c constant p : Prop check p + a + b + c
7fff213f1d3d41a3dcb945f06bdcb43bf9c0a923
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/dedup.lean
20dfcd565439e774c98c01729aca574db3b4dc24
[ "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
4,050
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.nodup /-! # Erasure of duplicates in a list This file proves basic results about `list.dedup` (definition in `data.list.defs`). `dedup l` returns `...
eb820b9c2f0420f04436842f337ec58fc9101ca4
ea11767c9c6a467c4b7710ec6f371c95cfc023fd
/src/monoidal_categories/drinfeld_centre.lean
c8c24316eb843d411a31ed9d678d3a1d8b74f10b
[]
no_license
RitaAhmadi/lean-monoidal-categories
68a23f513e902038e44681336b87f659bbc281e0
81f43e1e0d623a96695aa8938951d7422d6d7ba6
refs/heads/master
1,651,458,686,519
1,529,824,613,000
1,529,824,613,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,517
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 .braided_monoidal_category import .tensor_with_object open categories open categories.functor open categories.products open categories.natu...
2dca5cafb2748a61caafc8649c68e88fedd865be
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/archive/imo/imo1972_q5.lean
8dbb28ff56f04b09055b77ba412388bf36c5bc3b
[ "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,393
lean
/- Copyright (c) 2020 Ruben Van de Velde, Stanislas Polu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ruben Van de Velde, Stanislas Polu -/ import data.real.basic import analysis.normed_space.basic /-! # IMO 1972 Q5 > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > An...
8b6c4bd8c8bfc240f41b6a9dd5e550e901bdc12b
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/eq13.lean
d9f676e3b5497900ff4026699b2fcd8a08892b34
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
325
lean
open nat definition f : nat → nat → nat | f _ 0 := 0 | f 0 _ := 1 | f _ _ := arbitrary nat theorem f_zero_right : ∀ a, f a 0 = 0 | f_zero_right 0 := rfl | f_zero_right (succ _) := rfl theorem f_zero_succ (a : nat) : f 0 (a+1) = 1 := rfl theorem f_succ_succ (a b : nat) : f (a+1) (b+1) = arbitrary nat := rfl
23e7e9729b28dce11c5352023a91cd2196c51ebe
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.31.lean
e8f6fbd6ef2b11ca05909b79f5b0b545f5e53ec4
[]
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
140
lean
import standard example (p q : Prop) : p ∧ q → q ∧ p := begin intro H, cases H with [H1, H2], apply and.intro, exact H2, exact H1 end
99d0ec84ae44e8ce74e3b1c03fa377961fe3cb0f
367134ba5a65885e863bdc4507601606690974c1
/src/set_theory/ordinal_arithmetic.lean
27476288c7296dd99fce800cde25256003c0260f
[ "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
70,313
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Floris van Doorn -/ import set_theory.ordinal /-! # Ordinal arithmetic Ordinals have an addition (corresponding to disjoint union) that turns them into an additive mon...
5f63f4221720ca8b30a31ca77d0d17991ff2108c
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Lean/Elab/MutualDef.lean
d88923fdeba90a4cfdf3f7877e673fb1e94d1d89
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,090
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 import Lean.Meta.Closure import Lean.Meta.Check import Lean.Elab.Command import Lean.Elab.DefView import Lean.Elab.PreDefinition imp...
c54496df49e18976e05051f38de7cd20b5c58b10
88892181780ff536a81e794003fe058062f06758
/src/knopp/chapter02.lean
069d944c9f150e00823e1e9fda7a3811539396ae
[]
no_license
AtnNn/lean-sandbox
fe2c44280444e8bb8146ab8ac391c82b480c0a2e
8c68afbdc09213173aef1be195da7a9a86060a97
refs/heads/master
1,623,004,395,876
1,579,969,507,000
1,579,969,507,000
146,666,368
0
0
null
null
null
null
UTF-8
Lean
false
false
136,694
lean
/- Chapter II. Sequences of real numbers. 6. Arbitrary sequences and arbitrary null sequences. We now resume our considerations of 2, and generalise them by allowing all the numbers which there occur to be arbitrary real numbers. Since, with these, we may operate precisely as with rational numbers, both the d...
1a25f0a03048a666b3bec09d51b954c07a8ccba3
957a80ea22c5abb4f4670b250d55534d9db99108
/leanpkg/leanpkg/main.lean
bb10c0f9d5c9c68c9c32bfc5fee88cee59198913
[ "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
7,544
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Gabriel Ebner -/ import leanpkg.resolve leanpkg.git variable [io.interface] namespace leanpkg def write_file (fn : string) (cnts : string) (mode := io.mode.write) : io unit := ...
6ef08fd036b9826710197b6eb997666bd207e34f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/module/pi.lean
6f5da6bf84e494565aa378852725411a800e8d1d
[ "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,788
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.module.basic import algebra.regular.smul import algebra.ring.pi import group_theory.group_action.pi /-! # Pi instances for modules This fil...
ed7e0db7236cedcc37359b745599334b30880b0b
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/homotopy/hopf.hlean
f082d22f120a55fefee9a726cfb8b2ad6de8704f
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
8,084
hlean
/- Copyright (c) 2016 Ulrik Buchholtz and Egbert Rijke. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz, Egbert Rijke H-spaces and the Hopf construction -/ import types.equiv .wedge .join open eq eq.ops equiv is_equiv is_conn is_trunc trunc susp join ...
1c5d7c804c611d77ceeac55f6753b3fd031c3ac2
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/special_functions/pow_deriv.lean
2e769d520dbcd1e65ac70836c8a160ab5e57f18a
[ "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
25,213
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Sébastien Gouëzel, Rémy Degenne -/ import analysis.special_functions.pow import analysis.special_functions.complex.log_der...
dad962aad8b7fdba6bba51d0a82154ebf1467d6d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group_with_zero/defs.lean
6355b61d0d5e3c56ed6c76caedf70160647e5778
[]
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
4,420
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.defs import Mathlib.logic.nontrivial import Mathlib.PostPort universes u_4 l...
f11e008dfc3df18bb17ff98f8a9d0c280587bd73
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean
420c4e53a4ed1a9d53796eadf93c3348738c2c18
[ "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
10,583
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.IR.Format import Lean.Compiler.IR.Basic import Lean.Compiler.IR.CompilerM namespace Lean.IR.UnreachableBranches /-- Value used in the...
f2c69b883f71fd8211a0e24d42ced26ddd993324
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/real/irrational.lean
4aa9af6494abe2a7399fa1e668a6fd432f03825a
[ "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
17,733
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Yury Kudryashov -/ import data.real.sqrt import tactic.interval_cases import ring_theory.algebraic import data.rat.sqrt ...
4e4299f426677285ac530b6de8491f9d722d2c32
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Group/zero.lean
a58fbfeb33a4b8ab6e65741cebb2bf0eba3a6548
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,573
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 algebra.category.Group.basic import category_theory.limits.shapes.zero_objects /-! # The category of (commutative) (additive) groups has a zero object. > THI...
16eff1c3aef0a56a35d6627547853fad9a3f7591
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170403-eq.rec.lean
c227cce750688e08ae25145f9382ecd0f2dd4e28
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
414
lean
def f ( x : ℕ ) := x + 1 lemma p : f 3 = 4 := begin unfold f, trivial end structure X ( n : ℕ ) := ( m : ℕ ) @[reducible] def g ( x : X (f 3) ) : X 4 := begin refine (cast _ x), rewrite p end lemma h ( x : X (f 3) ) ( p : x.m = 0 ) : (g x).m = 0 := begin dsimp, unfold g._proof_1, -- What can I do with t...
f974b942f71a1225daa2782021a6caf528247c3d
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/library/init/algebra/norm_num.lean
0ea8de1d7f7c3b6fa6650852233904302b48ce07
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,725
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis and Leonardo de Moura -/ prelude import init.algebra.field init.algebra.ordered_ring import init.data.nat.lemmas namespace norm_num universe u variable {α : Type u...
01d98de302a1d27ea78700d4a2b8a4b7482260cd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/abelian/pseudoelements.lean
a90fef791f266d01ee946c6e7aa9ea5ce1fcb60d
[]
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
13,664
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.abelian.exact import Mathlib.category_theory.over import Mathlib.PostPort un...
88f213416c79a40a99b492616cd0f70a378ca88b
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/psigma/order.lean
f55e5422d27df9fd3f6cb7e6738062d3d441e53c
[ "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
3,749
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Minchao Wu -/ import data.sigma.lex import order.lexicographic /-! # Lexicographic order on a sigma type This file defines the lexicographic order on `Σₗ' i, α i`. `a...
80e9b5d8496e044783019c0eb01fce047d351409
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed_space/algebra.lean
fe60d558c6e4629a4bf499dc14c3a8ffedeefe88
[ "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
1,739
lean
/- Copyright (c) 2022 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import topology.algebra.module.character_space import analysis.normed_space.weak_dual import analysis.normed_space.spectrum /-! # Normed algebras This file conta...
670ab71a2590816a35cdb1249e506fb60b000d57
6d50885e7b3f72447a03f21d5268d6af87c0a404
/assignments/quiz1.lean
0c91cd203b78331b73aa09ab7134240d99080b0d
[]
no_license
kevinsullivan/uva-cs-dm-s20-old
583c756cded281fcee7f1afc42cb3e08f89c2493
797672cb0ffae6a42a3518c9225d5807191fd113
refs/heads/master
1,607,500,914,982
1,578,752,991,000
1,578,752,991,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,685
lean
/- In lean we represent: (1) propositions as types and (2) predicates as parameterized propositions. A parameterized type gives rise to a whole family of proposition, once for each value of each parameter. We can think of one-parameter predicates as specifying *properties* of objects. As an example, as defined, is_e...
2098f3ad223d337d5aa83a496bb443bbf3ca3417
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/predicate_logic/intro_and_elim_rules/or.lean
310dd525cf8a3d981604845bfdad0caad32debf2
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
1,531
lean
/- If P and Q are arbitrary propositions, then to prove P ∨ Q, you need to prove either P or Q and then use one of the or introduction rules to form a proof of the disjunction. -/ -- Suppose P and Q are arbitrary propositions axioms (P Q : Prop) -- Suppose you have proofs of P and of Q axioms (p : P) (q : Q) -- Yo...
5545dc405f5dfafca6701818330897a699f12ac8
618003631150032a5676f229d13a079ac875ff77
/src/analysis/special_functions/trigonometric.lean
042a27fcd338b3cb73007fdee6d95785e99689d7
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
65,873
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import analysis.special_functions.exp_log /-! # Trigonometric functions ## Main definitions This file contains the foll...
7df54fb8d5c47de5d4fdc53d1661611f42c1a27b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/measure/lebesgue/eq_haar.lean
649bd355f7b6a4a8b998cb310a5da4d795994385
[ "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
43,442
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Sébastien Gouëzel -/ import analysis.normed_space.pointwise import linear_algebra.finite_dimensional import measure_theory.group.pointwise import measure_theory.mea...
521d4d36e3376546bbfc79c96d905d7eead342ca
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/logic/nontrivial.lean
944a67c4dd5579e6578db49353fb6bb115dbf9b8
[ "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,591
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 logic.unique import logic.function.basic /-! # Nontrivial types A type is *nontrivial* if it contains at least two elements. This is useful in particul...
45d9cfb2cc3f3d543aeba616c70b354514dc62a8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebraic_geometry/presheafed_space.lean
21d341bce79a7e8f9ce6b5a18fc45ecb8ecd4d20
[ "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
10,806
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.sheaves.presheaf /-! # Presheafed spaces Introduces the category of topological spaces equipped with a presheaf (taking values in an arbitrary targe...
45cd17fa80ba685b412622f0c8ec95cc423e340c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/Main.lean
ed7578898d4a0b690388d3546444fcf0ecde1c56
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
4,206
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.Options import Lean.Compiler.LCNF.PassManager import Lean.Compiler.LCNF.Passes import Lean.Compiler.LCNF.PrettyPrinter import Lean.Comp...
7580be5fffc3311fd462d0b928a6867672b04ea9
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/src/tidy/pretty_print.lean
1d35dd8208d5d2d9a718b96d1b8a464d6bdd0ca5
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
4,265
lean
import tidy.lib open tactic meta def pretty_print (e : expr) (implicits : bool := ff): tactic string := do options ← get_options, set_options (((options.set_bool `pp.notation true).set_bool `pp.universes false).set_bool `pp.implicit implicits), t ← pp e, set_options options, pure t.to_string meta def tok...
af1fd9dd58cd7bd447fb207d3a55888bbfecc29a
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Util/Profile.lean
6abccffda36864b562b715832cdceabadb5634d8
[ "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,054
lean
/- Copyright (c) 2019 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich -/ import Lean.Data.Options namespace Lean /-- Print and accumulate run time of `act` when option `profiler` is set to `true`. -/ @[extern "lean_profileit"] def p...
59a9ca470cab274c1dcf0d6f5b3c1fcd357a69d1
a4673261e60b025e2c8c825dfa4ab9108246c32e
/stage0/src/Lean/MonadEnv.lean
4a012bd8512069ae99827e0846d9a33c9766224e
[ "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
4,434
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.Environment import Lean.Exception namespace Lean section Methods variables {m : Type → Type} [MonadEnv m] def setEnv (env : Environment) : m...
fd97b0f045fd2eadd13f8370095d474b4d33b3fa
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Data/Queue.lean
68a6627db9f3b218cd5e54fa35c865d009d5d5d2
[ "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
197
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ prelude import Init.Data.Queue.Basic
14307b87f617f04f4320f54915d38a2ae530c60c
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/algebra/continuous_functions.lean
f82abdea4ede0bc8ff85f2cb04e9415367f1eb3f
[ "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
14,573
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Nicolò Cavalleri -/ import topology.algebra.module import topology.continuous_map /-! # Algebraic structures over continuous functions In this file we define instance...
b68315a633dd2323d0f268ccfbf326a42eafc6e0
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/matrix/pequiv.lean
ef3c844971787bb9f6c17b203662adc7d7929cab
[ "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,749
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.matrix.basic import data.pequiv /- # partial equivalences for matrices Using partial equivalences to represent matrices. This file introduces the function `p...
a589beacde66b91749a5216357a5292ea9a99b5b
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/test/run/ir/constantRefs.lean
3d4b02e789680856366baee3d3493d6e0ef45b13
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,952
lean
import Papyrus open Papyrus def assertEq [Repr α] [DecidableEq α] (expected actual : α) : IO (PLift (expected = actual)) := do if h : expected = actual then return PLift.up h else throw <| IO.userError s!"expected '{repr expected}', got '{repr actual}'" def assertBEq [Repr α] [BEq α] (expected actual : α) : IO...
6b2a218fda2b8ec356face5c0f323362a6beb66b
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/category/Profinite/projective.lean
14f214691686e4c71f3db4e0f7986446a12f881c
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,991
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.category.Profinite import topology.stone_cech import category_theory.preadditive.projective /-! # Profinite sets have enough projectives In this fi...
f6c0a8234426904d38060851418af0f81c6ad722
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Elab/Binders.lean
a402407d7d7f875df349386bc9c044aeb20ce025
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,125
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.Lean.Elab.Term import Init.Lean.Elab.Quotation namespace Lean namespace Elab namespace Term /-- Given syntax of the forms a) (`:...
e6a53c390c935697e7b326d983b1f3e2f7e37189
5ca7b1b12d14c4742e29366312ba2c2ef8201b21
/src/game/world10/level13.lean
7da03c2b6b6811ca67c2e78b1b3aec4991a9b168
[ "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
851
lean
import game.world10.level12 -- hide namespace mynat -- hide /- # Inequality world. ## Level 12: `not_succ_le_self` Turns out that `¬ P` is *by definition* `P → false`, so you can just start this one with `intro h` if you like. ## Pro tip: ``` conv begin to_lhs, rw hc, end, ``` is an incantation whi...
3492c6916fa74203d0b41c4f32bc30c46857cd16
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/declaration.lean
6eb791c4687dfab95ca91c33c211375ead1c352e
[]
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,000
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.expr import Mathlib.Lean3Lib.init.meta.name import Mathlib.Lean3Lib.init.meta.task universes l ...
b3ad99f44910c1c083138de4d0f86d41667a3878
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/normed_space/complemented_auto.lean
90ec6b56ca02d2128185df6219d1ae4b6dda4c08
[]
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
7,985
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.normed_space.banach import Mathlib.analysis.normed_space.finite_dimension import ...
bb2128a6870d9b00c22c3ae48ee17abed4c35465
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/ring_theory/ring_invo.lean
26155710be68b428712896716979a372b013da7d
[ "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
1,941
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow, Kenny Lau -/ import data.equiv.ring import algebra.opposites /-! # Ring involutions This file defines a ring involution as a structure extending `R ≃+* Rᵒᵖ`, with...
67ccaa86617b632c6c83a8dec05c18c7e9e85a2a
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/bad_print.lean
ad24ed3712b296c822eec2f26a45023253376af0
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
71
lean
constant boo : nat #print definition boo #print 2 #print fields nat
b2dbeb8472df445a18013c78d294f54eabe14b5f
e898bfefd5cb60a60220830c5eba68cab8d02c79
/uexp/src/uexp/ucongr.lean
5240fd2229a89dcf25d2a2fee8fdafcfe0e50f69
[ "BSD-2-Clause" ]
permissive
kkpapa/Cosette
9ed09e2dc4c1ecdef815c30b5501f64a7383a2ce
fda8fdbbf0de6c1be9b4104b87bbb06cede46329
refs/heads/master
1,584,573,128,049
1,526,370,422,000
1,526,370,422,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,688
lean
import .u_semiring import .cosette_lemmas import .cosette_tactics /- congruence procedure for u-semiring -/ open tactic private meta def flip_ueq : expr → tactic unit | `(%%a * %%b) := flip_ueq a >> flip_ueq b | `(%%t₁ ≃ %%t₂) := if t₁ > t₂ then return () else do h ← to_expr ``(eq_symm %%t₁ %%t₂), ...
7bd9648cd23cedae36100bcb53a0f3783b4e7e49
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/order_auto.lean
9ace7ec02dea0b92f540bbe2a953757ef1e33fc1
[]
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
29,173
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.tactic import Mathlib.PostPort universes u u_1 l v u_2 w u_3 na...
1922f55cdfbdc465693ac4c143a30f07b2443495
2d2554d724f667419148b06acf724e2702ada7c9
/src/theorems.lean
dc43a8d62a49c405d4db7f4a6ef701f983e0bfc0
[]
no_license
hediet/lean-linear-integer-equation-solver
64591803a01d38dba8599c5bde3e88446a2dca28
1a83fa7935b4411618c4edcdee7edb5c4a6678a7
refs/heads/master
1,677,680,410,160
1,612,962,170,000
1,612,962,170,000
337,718,062
1
0
null
null
null
null
UTF-8
Lean
false
false
674
lean
import .definitions import data.bool import data.int.gcd import tactic import .main -- Theory of Single Integer Equations -- `eq.has_solution` correctly computes if an equation has a solution theorem has_solution_iff (eq: Eq) : eq.has_solution ↔ ∃ xs, xs ∈ eq := Eq.has_solution_iff eq -- If `eq.get_solution` compute...
31a005c4e189c567ed537a6955116d3666150204
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/open_subgroup.lean
fd4eb90f9f208acdd3dc4ffd12c0f56d91a70592
[ "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
10,101
lean
/- Copyright (c) 2019 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import topology.algebra.ring import topology.sets.opens /-! # Open subgroups of a topological groups This files builds the lattice `open_subgroup G` of open subgroups...
6a9febb3095394bc0b14505c090a77dddc54e2b6
a7602958ab456501ff85db8cf5553f7bcab201d7
/Notes/Logic_and_Proof/Chapter5/5.12.lean
5b29fb2866b5386ec32e0b3f53c0c3d3a8ec25c9
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
747
lean
-- 5.2 Some Classical Principles open classical variables A B: Prop -- If |A -> B| is any implication, |¬ B -> ¬ A| is known as the contrapositve. -- Every implication implies its contrapositive, and the other direction is -- true classically. -- Forward intuitionistic proof: example: (A -> B) -> (¬ B -> ¬ A) := a...
9b888ed2898286720d952773b283378e9c2dc3e6
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/group_ring_action.lean
7ed2ab9e53ee36e0b5b9e8cc5e8b229242b8fa10
[ "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
6,869
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.pointwise import data.equiv.ring import group_theory.group_action.group import group_theory.submonoid.pointwise import group_theory.subgroup.pointwise import ri...
e751710d14c9e53226bd662ef1414367cfc8cf91
e514e8b939af519a1d5e9b30a850769d058df4e9
/src/tactic/rewrite_search/bundles/logic.lean
bc4b176665f93a1d94f5d4d61bb38824ad2d132a
[]
no_license
semorrison/lean-rewrite-search
dca317c5a52e170fb6ffc87c5ab767afb5e3e51a
e804b8f2753366b8957be839908230ee73f9e89f
refs/heads/master
1,624,051,754,485
1,614,160,817,000
1,614,160,817,000
162,660,605
0
1
null
null
null
null
UTF-8
Lean
false
false
334
lean
import tactic.rewrite_search.discovery.bundle namespace tactic.rewrite_search.discovery @[bundle] meta def logic : bundle := {} attribute [search logic] not_not not_or_distrib not_not attribute [search logic] and_assoc and_comm and_not_self_iff and_false attribute [search logic] imp_iff_not_or end tactic.rewrite_se...
48ca0fcc1ce37c0a7004c84ebe09d38c8a4d2711
94e33a31faa76775069b071adea97e86e218a8ee
/src/set_theory/game/impartial.lean
a86226424178017bfb5533a3d0226729b7ef99d1
[ "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
6,985
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import set_theory.game.basic import tactic.nth_rewrite.default /-! # Basic definitions about impartial (pre-)games We will define an impartial game, one in which left an...
f13f500cb50c9754586ca8063795e1d5d4e88164
8c9f90127b78cbeb5bb17fd6b5db1db2ffa3cbc4
/mult_is_commutative.lean
3325552ba8acedf74248de45c443282b6c8cbeaf
[]
no_license
picrin/lean
420f4d08bb3796b911d56d0938e4410e1da0e072
3d10c509c79704aa3a88ebfb24d08b30ce1137cc
refs/heads/master
1,611,166,610,726
1,536,671,438,000
1,536,671,438,000
60,029,899
0
0
null
null
null
null
UTF-8
Lean
false
false
2,916
lean
def multiplication : nat → nat → nat := λ (a b : nat), nat.rec_on a 0 (λ k result_k : nat, result_k + b) def tricky_bastard (k b : nat) : multiplication b (nat.succ k) = multiplication b k + b := nat.rec_on b rfl ( λ (a : ℕ), λ H: multiplication a (nat.succ k) = multiplication a k + a, ...
ad794a78253314e752551d0aa2527a821fe73dc4
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Init/Control/StateRef.lean
28f962368f728e3236fc8de8a0b24a5aed326d39
[ "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
2,775
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 The State monad transformer using IO references. -/ prelude import Init.System.IO import Init.Control.State def StateRefT' (ω : Type) (σ :...
b403f745ab815cf645471ad38b7f27b9bd34a5d7
a721fe7446524f18ba361625fc01033d9c8b7a78
/elaborate/mul_cancel_total_order_no_tactic.lean
71eca67f02c1f3b1e02ca93e2ba8c2ddf1d47cab
[]
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
181,945
lean
λ (m n k : mynat) (hmnz : m = zero → false), or.rec (λ (h : ∃ (k_1 : mynat), k = add n k_1) («_» : (∃ (k_1 : mynat), k = add n k_1) ∨ ∃ (k_1 : mynat), n = add k k_1) (hmnmk : mul m n = mul m k), Exists.rec (λ (w : mynat) (h : k = add n w) («_» : ∃ (k_1 : mynat), k = add n k_1), eq...
991cf18e34c5f615a020b56da0a5b11eedb673d5
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/nat/cast.lean
9a4351fba79c60a90636745b801ee7e515afe1c9
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
9,044
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Natural homomorphism from the natural numbers into a monoid with one. -/ import algebra.ordered_field import data.nat.basic namespace nat variables {α : Type*} sectio...
00488877b92d0ae71f6c58be0cadc4db85ec394b
63abd62053d479eae5abf4951554e1064a4c45b4
/src/field_theory/perfect_closure.lean
65e1839e7a9327dc070aa70efd8dadb0a563bd54
[ "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
16,697
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 import data.equiv.ring import algebra.group_with_zero_power import algebra.iterate_hom /-! # The perfect closure of a field -/ universe...
6864caa4c8c91eb69398d030056f4fa6b674ffd6
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Elab/PreDefinition/Basic.lean
cb770089afb0cff1eddc3e45dc11aba2150210f0
[ "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
6,572
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.Util.SCC import Lean.Meta.AbstractNestedProofs import Lean.Elab.Term import Lean.Elab.DefView import Lean.Elab.PreDefinition.MkInhabitant names...
77c16e7fe0cf66308b5b57c1c548e8142c1552df
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/polynomial/content.lean
f453497543bba71f649ab17379d2ec05963ab26e
[ "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
17,031
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.gcd_monoid.finset import data.polynomial import data.polynomial.erase_lead import data.polynomial.cancel_leads /-! # GCD structures on polynomials De...
ce8e279bfa09c9fc13a6f7b40ab2f2b118821184
7282d49021d38dacd06c4ce45a48d09627687fe0
/src/builtin/cast.lean
d09e2618906f333ae6b13581663bfc29cd8f49b4
[ "Apache-2.0" ]
permissive
steveluc/lean
5a0b4431acefaf77f15b25bbb49294c2449923ad
92ba4e8b2d040a799eda7deb8d2a7cdd3e69c496
refs/heads/master
1,611,332,256,930
1,391,013,244,000
1,391,013,244,000
16,361,079
1
0
null
null
null
null
UTF-8
Lean
false
false
1,412
lean
import heq variable cast {A B : TypeM} : A = B → A → B axiom cast_heq {A B : TypeM} (H : A = B) (a : A) : cast H a == a theorem cast_app {A A' : TypeM} {B : A → TypeM} {B' : A' → TypeM} (f : ∀ x, B x) (a : A) (Ha : A = A') (Hb : (∀ x, B x) = (∀ x, B' x)) : cast Hb f (cast Ha a) == f a := let s1 : cast Hb f == ...
b75ebea6ac1872f51e615ec85e76434ab86c9168
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/category/Profinite/cofiltered_limit.lean
a816a4a13c585b177c2ff2b5f2c14e9d1937dd7a
[ "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,347
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 topology.category.Profinite import topology.locally_constant.basic import topology.discrete_quotient /-! # Cofiltered limits of profinite sets. This file contains so...
8d72f3b3b1eecda22c0ebf1754e18a6880dff4ba
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/tactic_id_bug.lean
a820d7b1eefefa8112bb47fa07837d1ee14b562a
[ "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
671
lean
-- open function structure bijection (A : Type) := (func finv : A → A) (linv : finv ∘ func = id) (rinv : func ∘ finv = id) attribute bijection.func [coercion] namespace bijection variable {A : Type} protected theorem eq {f g : bijection A} (func_eq : func f = func g) (finv_eq : finv f = finv g) : f = g := ...
9ccc7ccc19988536d354ec55debd44ff74637541
5df84495ec6c281df6d26411cc20aac5c941e745
/src/formal_ml/core.lean
55481f5239d8ff96903d4f9eaa1ad363b062f145
[ "Apache-2.0" ]
permissive
eric-wieser/formal-ml
e278df5a8df78aa3947bc8376650419e1b2b0a14
630011d19fdd9539c8d6493a69fe70af5d193590
refs/heads/master
1,681,491,589,256
1,612,642,743,000
1,612,642,743,000
360,114,136
0
0
Apache-2.0
1,618,998,189,000
1,618,998,188,000
null
UTF-8
Lean
false
false
4,817
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
27f13d8454b5f987da897e368f7a752f6d47c4c0
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/quadratic_discriminant.lean
bad7f3bd1569ea2f5192c9928f46adf7b38b60d4
[ "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
6,425
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import algebra.ordered_field import tactic.linarith tactic.ring /-! # Quadratic discriminants and roots of a quadratic This file defines the discriminant of a quadra...
783b633555b04926d395d8aaef4b899af04b2c3d
26ac254ecb57ffcb886ff709cf018390161a9225
/src/algebra/punit_instances.lean
8d9c3fccc00802d53e30a21d8d9a8b52d50bfbad
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
2,601
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Instances on punit. -/ import algebra.module universes u namespace punit variables (x y : punit.{u+1}) (s : set punit.{u+1}) @[to_additive add_comm_group] instance : comm_grou...
32e3c83849590f6eae91dec5ebc7ce491aa3c8b3
3f48345ac9bbaa421714efc9872a0409379bb4ae
/src/set_category/em_square.lean
fcf1227be43b8c7f11a96d2b4c1266b022d77c19
[]
no_license
QaisHamarneh/Coalgebra-in-Lean
b4318ee6d83780e5c734eb78fed98b1fe8016f7e
bd0452df98bc64b608e5dfd7babc42c301bb6a46
refs/heads/master
1,663,371,200,241
1,661,004,695,000
1,661,004,695,000
209,798,828
0
0
null
null
null
null
UTF-8
Lean
false
false
5,344
lean
import category_theory.category import category_theory.functor import category_theory.types import tactic.tidy import set_category.diagram_lemmas import set_category.category_set import help_functions namespace em_square universes v u open classical function set category_theory help_func...
fd63f1632942deae9763ee5be81f77ac1588d095
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/unify_equations.lean
724b6814e8b9af004f9c53b24f15a1f128c7967f
[ "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
14,581
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jannis Limperg -/ import tactic.core /-! # The `unify_equations` tactic This module defines `unify_equations`, a first-order unification tactic that unifies one or more equations in t...
e72e11b29acbedacfc0827da6fb3ba43a5b65283
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/limits/over.lean
2feb4c117263079f12e031181fd525dffbb17217
[ "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,426
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.over import category_theory.limits.preserves.basic noncomputable theory universes v u -- declare the `v`'s first; ...
0a5887322f89a812dc1585c7d2815c1328296ed0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/min_max.lean
ef7c049fe774fd8965633c6983319407553eabd4
[ "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
11,112
lean
/- Copyright (c) 2019 Minchao Wu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Minchao Wu, Chris Hughes -/ import data.list.basic /-! # Minimum and maximum of lists ## Main definitions The main definitions are `argmax`, `argmin`, `minimum` and `maximum` for lists. ...
68e2e7ffe84330b4b24e4571277fec77efae5d0e
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/algebra/group_power.lean
c14ace89d7464d2c98f1e5fa730fcd5f54594f74
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
26,829
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis The power operation on monoids and groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We h...
2c5afbe5812ca2d3c7abc2d6707104b0eb8efcda
63abd62053d479eae5abf4951554e1064a4c45b4
/src/tactic/rcases.lean
fbf736b3b56f0f8509e48bb48b99d232dea7d683
[ "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
39,150
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.dlist import tactic.core import tactic.clear /-! # Recursive cases (`rcases`) tactic and related tactics `rcases` is a tactic that will perform `cases`...
5a84db889bca75bbf1a53610970518221248ec42
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/complex/is_R_or_C.lean
8db57a072c01d6852797a7e2f1117b48296416d1
[ "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
25,947
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import analysis.normed_space.basic import analysis.complex.basic /-! # `is_R_or_C`: a typeclass for ℝ or ℂ This file defines the typeclass `is_R_or_C` intended t...
f70ffef22051556903cd5cdc8dc03691675e459a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/computability/reduce.lean
0414f18c9e8dc3955679402a42a86cbc22238dbb
[ "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
18,346
lean
/- Copyright (c) 2019 Minchao Wu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Minchao Wu, Mario Carneiro -/ import computability.halting /-! # Strong reducibility and degrees. This file defines the notions of computable many-one reduction and one-one reduction bet...