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
7ed161001bc584dec9d96dcc4507d66b493443d7
75c54c8946bb4203e0aaf196f918424a17b0de99
/old/cohen_poset.lean
ab4f0e5c1be9bc24b61ebe355f96770eb33ed6b7
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
36,739
lean
/- Copyright (c) 2019 The Flypitch Project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jesse Han, Floris van Doorn -/ import .to_mathlib .pSet_ordinal data.pfun -- local attribute [instance] classical.prop_decidable /- The Cohen poset of finite partial functions ...
d0180401780493517ef0c46d8d7e7fcd11bc1e7e
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/linear_recurrence.lean
a7feb17cbca3b85dff017b80b397cabb8115d9ab
[ "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
8,263
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import data.polynomial.ring_division import linear_algebra.dimension import algebra.polynomial.big_operators /-! # Linear recurrence Informally, a "linear recur...
42d2ea178f8e6ac7db8e4d9f91c5f859b837764b
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/Reduce.lean
d371a1296be05c71f8d0e67901e20f78ed430c66
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,497
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Basic import Lean.Meta.FunInfo import Lean.Util.MonadCache namespace Lean.Meta partial def reduce (e : Expr) (explicitOnly skipTypes skip...
e4a1382a675fedd4ed4072b94f8d81c3f4ed0c74
4727251e0cd73359b15b664c3170e5d754078599
/src/set_theory/game/birthday.lean
db7a1616b365ca00bf1e3501d55f3dc3f8210a4c
[ "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
4,674
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.game.ordinal import set_theory.ordinal.arithmetic /-! # Birthdays of games The birthday of a game is an ordinal that repr...
60fc53ea35c13be1f668d4eb814d9a91f630a247
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Meta/DiscrTree.lean
5919548d53c1fdb4c2f6bc24f33029ed78cc2de8
[ "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
18,232
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Basic import Lean.Meta.FunInfo import Lean.Meta.InferType namespace Lean.Meta.DiscrTree /- (Imperfect) discrimination trees. We use a ...
f42b7016756992d7e6a2db9fa13cb3c32750c1f5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/combinatorics/set_family/compression/uv.lean
453c48e94f14e63b748d8a2fe7ae84eb2e3a4d92
[ "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,898
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import data.finset.card /-! # UV-compressions This file defines UV-compression. It is an operation on a set family that reduces its shadow. UV-compressin...
542ddff16d7db140fe681c8dab9641eeadadf897
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/multiset/bind.lean
7e04601843c552c23abe2564ffd4fefa4b3ccd19
[ "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,161
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 algebra.big_operators.multiset /-! # Bind operation for multisets This file defines a few basic operations on `multiset`, notably the monadic bind. ## Main ...
bef0acdb802b81c1acba42beff7b6af77271e325
c37c89b934e368a90005cf2a72457da4d59a48a1
/fixedpoint/src/Fixedpoint.lean
3cc526ff7a6e48378233c24f2a095608c709e697
[ "Apache-2.0" ]
permissive
mukeshtiwari/Leanplayground
aa1cd9c69d4f1db6c824778a560c72f1e5aeaf65
773deaf73fbb677cdf518d0db34ad62a79bad642
refs/heads/master
1,667,860,698,346
1,664,052,419,000
1,664,052,419,000
209,532,791
0
0
null
null
null
null
UTF-8
Lean
false
false
4,285
lean
import data.fintype data.list namespace Fixedpoint universes u variables (A : Type u) variables [finA : fintype A] include finA /- Boolean function representing set -/ def predicate := A -> bool /- Subset set relation -/ def rel_subset (fSet sSet : predicate A) : Prop := ∀ (x : A), fSet x = tt -> sSet x = tt /...
7a6434bd3a168664cb53d882fc1f1c3c9226c43f
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Lean/Parser/Syntax.lean
381fe5d4d52d0cd1089b8a0873bc112729520719
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
5,807
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Command import Lean.Parser.Tactic namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribut...
18ba151cdec25770055cc41e2bc7a326027456ee
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/hyperoperation.lean
739603bb2df950e4ac7fcd4390ed7c958a0a101e
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,526
lean
/- Copyright (c) 2023 Mark Andrew Gerads. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mark Andrew Gerads, Junyan Xu, Eric Wieser -/ import tactic.ring import data.nat.parity /-! # Hyperoperation sequence > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to ...
c04a98a6856a08da09d137b4f386c475357546ca
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_1503.lean
311757685b3bce2fcd1ba0d4fa91f2b76aa2f834
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
190
lean
import data.real.basic -- BEGIN example {x y : ℝ} (h₀ : x ≤ y) (h₁ : ¬ y ≤ x) : x ≤ y ∧ x ≠ y := begin split, { assumption }, intro h, apply h₁, rw h end -- END
edd53b7ed0879985af3280da0ca507e3ad401163
4727251e0cd73359b15b664c3170e5d754078599
/src/data/mv_polynomial/derivation.lean
161fbbc4fd518ff1087632ea156b2fa1ee487c73
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,211
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 data.mv_polynomial.supported import ring_theory.derivation /-! # Derivations of multivariate polynomials In this file we prove that a derivation of `mv_pol...
5668d9c0421fd1e0a675b4f324cd1f6063c987de
74a02dffce22907d2b61b8e226f1d9aa8384c7c0
/Cli.lean
418fa3a1f9baf43206d854520ca7df2278ca385b
[ "MIT" ]
permissive
mhuisi/lean4-cli-docker-test
7e0566c7397746701162e2e22fbad38afcf1e9c4
6b3881eaa22596f6f430654f61fc03719ee18c62
refs/heads/main
1,680,104,973,886
1,616,975,353,000
1,616,975,353,000
352,411,347
0
0
null
null
null
null
UTF-8
Lean
false
false
38
lean
import Cli.Basic import Cli.Extensions
47ae57da3a82b639956904f564c14e368069adb6
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Lsp/Utf16.lean
8f263ab1c0ab721b80875b131db958708439de00
[ "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
2,998
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.Data.String import Init.Data.Array import Lean.Data.Lsp.Basic import Lean.Data.Position /-! LSP uses UTF-16 for indexing, so we need to...
ac95d7eded2c41f5d2ef69ec94ac7e94208c3075
cb1829c15cd3d28210f93507f96dfb1f56ec0128
/theorem_proving/06-interacting_with_lean.lean
3dceb1585b2a796fcdf1bc8ba41ba1f3607395d4
[]
no_license
williamdemeo/LEAN_wjd
69f9f76e35092b89e4479a320be2fa3c18aed6fe
13826c75c06ef435166a26a72e76fe984c15bad7
refs/heads/master
1,609,516,630,137
1,518,123,893,000
1,518,123,893,000
97,740,278
2
0
null
null
null
null
UTF-8
Lean
false
false
3,392
lean
-- 6. Interacting with Lean /- Not all of the information in this section will be useful right away. Skim this section to get a sense of Lean's features, and return later, as necessary. -/ #print "========================================" #print "Section 6.1. Importing Files" #print " " namespace Sec_6_1 /- W...
cd842c6f6e6d1311cfc7a7c18044cf9c652f153a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/matrix/dot_product.lean
c6b916b3ff7ebb8934a96e23580f7e8ca55e7802
[ "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,050
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import data.matrix.basic import linear_algebra.std_basis /-! # Dot product of two vectors This file contains some results...
510d00f26301358a3fb1d0d3c0358714a05c4d20
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/n3.lean
8498d81fc04a253b3577d30e97f8a3321e0de6ae
[ "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
616
lean
definition Prop [inline] : Type.{1} := Type.{0} variable N : Type.{1} variable and : Prop → Prop → Prop infixr `∧`:35 := and variable le : N → N → Prop variable lt : N → N → Prop variable f : N → N variable add : N → N → N infixl `+`:65 := add precedence `≤`:50 precedence `<`:50 infixl ≤ := le infixl < := lt notation A...
5acd3e43c25bb4589ba52e42b6864d325aefa400
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/PersistentArray.lean
995a80e9a9c0aa265d868a834e429c3f1f5def5a
[ "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
14,184
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 -/ universe u v w namespace Lean inductive PersistentArrayNode (α : Type u) where | node (cs : Array (PersistentArrayNode α)) : PersistentArrayNode α | l...
a115f94f9400c5e5cf9d90e7719f322be7623c3b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/bench/rbmap.lean
01492d07491e31771151d43e5eaff465ace112c4
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
2,903
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Option.Basic import Init.Data.List.BasicAux import Init.Data.String import Init.System.IO universes u v w w' inductive color | Re...
871ae5cc22d19745355340d4560ff3e267611879
32a2d1642d7519c99693bc1d3b24069e4853dd1f
/tactic/basic.lean
76c159b88c2c9abb3a1491dac1dd07dc221951c7
[ "Apache-2.0" ]
permissive
Cedric0099/mathlib
7edb81d5d68e280b4d21f6c0377dad1f9b8c0d71
a97101d2df5d186848075a2d0452f6a04d8a13eb
refs/heads/master
1,584,201,847,599
1,524,979,632,000
1,524,979,632,000
131,690,350
0
0
null
1,525,162,341,000
1,525,162,341,000
null
UTF-8
Lean
false
false
4,992
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ namespace expr open tactic protected meta def to_pos_nat : expr → option ℕ | `(has_one.one _) := some 1 | `(bit0 %%e) := bit0 <$> e.to_pos_nat | `(bit1 %%e) := bit1...
12ea802b557cf4c31fa84bb951020ed93cfb99e3
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/no_confusion1.lean
190fd090826a98f66f44e72026e07f6ce1c9acbc
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
430
lean
open nat theorem ex1 (n : nat) : bit0 n ≠ 1 := nat.cases_on n (show 0 ≠ 1, from ne.symm nat.one_ne_zero) (λ m h1, have h2 : succ (succ (m + m)) = 1, from nat.succ_add m m ▸ h1, nat.no_confusion h2 (λ h3, absurd h3 (nat.succ_ne_zero (m + m)))) theorem ex2 (n : nat) : succ n ≠ 0 := λ h, nat.no_confusion h ...
e0d772dcd91fda0543ed072120aba9f56fc9e269
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/category_theory/limits/has_limits.lean
d2d87212c65e4a94b4ade41c2c9a408bc383c23f
[ "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
43,176
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Scott Morrison, Floris van Doorn -/ import category_theory.limits.is_limit import category_theory.category.ulift /-! # Existence of limits and colimits I...
99ad7c623b3f166ad6d0064d35a79ce301cb6a66
8c9f90127b78cbeb5bb17fd6b5db1db2ffa3cbc4
/kennys_stuff.lean
5eb82eccf7a996c060f67e3ee45770fe4188217b
[]
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
1,161
lean
def even : ℕ → Prop | 0 := true | 1 := false | (n+2) := even n def even2 : ℕ → Prop := λ n, ∃ k, n = 2 * k inductive even3 : ℕ → Prop | zero : even3 0 | add_two : ∀ n, even3 n → even3 (n+2) example : even3 4 := even3.add_two 2 $ even3.add_two 0 even3.zero example : ∀ n, even3 n ↔ even2 n := λ n, ⟨λ H, even3.rec_on ...
2010fdd164e0d75a5aca8aa9082d595662e60fb6
d450724ba99f5b50b57d244eb41fef9f6789db81
/src/mywork/lectures/lecture_11.lean
bb5bc2deeb9963a17b23c4cad444509283884d3d
[]
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
5,464
lean
/- In this lecture we began to pull together the big picture of the language of predicate logic, proofs, reasoning principles (axioms, theorems proved from them). For each logical connective and quantifier, we have zero or more introduction and elimination rules. You absolutely have to understand all of them and be su...
7cc81f116434ccec7098f544acbb9074c09e8c95
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Init/System/IO.lean
db703115134c4762ceb386a8140b80c7be60f981
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
25,726
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch, Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Control.EState import Init.Control.Reader import Init.Data.String import Init.Data.ByteArr...
88959051e21b066f2413c7aa3c01f163fdfdedb1
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/setoid/basic.lean
645b9f3119f63ab2ddb2db3999df574104d62f14
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,494
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston, Bryan Gin-ge Chen -/ import order.galois_connection /-! # Equivalence relations This file defines the complete lattice of equivalence relations on a type, resul...
4b234373c3168c0dc619eb45a9cd375b521eee40
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world03/level05.lean
90e61058046d103f6d4afad296bca18c0298d9c5
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
163
lean
lemma mul_assoc (a b c : mynat) : (a * b) * c = a * (b * c) := begin induction c with h hd, repeat {rw mul_zero}, rw mul_succ, rw mul_succ, rwa [hd, mul_add], end
df4fad570f6ed7712e8d7c96a95f2f9eb596cab4
f20db13587f4dd28a4b1fbd31953afd491691fa0
/tests/lean/run/check_constants.lean
21317a80fee12250df62b1f14d934ba703294795
[ "Apache-2.0" ]
permissive
AHartNtkn/lean
9a971edfc6857c63edcbf96bea6841b9a84cf916
0d83a74b26541421fc1aa33044c35b03759710ed
refs/heads/master
1,620,592,591,236
1,516,749,881,000
1,516,749,881,000
118,697,288
1
0
null
1,516,759,470,000
1,516,759,470,000
null
UTF-8
Lean
false
false
15,462
lean
-- DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py import smt system.io open tactic meta def script_check_id (n : name) : tactic unit := do env ← get_env, (env^.get n >> return ()) <|> (guard $ env^.is_namespace n) <|> (attribute.get_instances n >> return ()) <|> fail ("identifier '" +...
1f825052f8a66b2dc3efc97db9f56dc579d37797
037dba89703a79cd4a4aec5e959818147f97635d
/src/2022/logic/sheet6.lean
a99aab7e1aae48283420d2259d09687a602bb713
[]
no_license
ImperialCollegeLondon/M40001_lean
3a6a09298da395ab51bc220a535035d45bbe919b
62a76fa92654c855af2b2fc2bef8e60acd16ccec
refs/heads/master
1,666,750,403,259
1,665,771,117,000
1,665,771,117,000
209,141,835
115
12
null
1,640,270,596,000
1,568,749,174,000
Lean
UTF-8
Lean
false
false
1,626
lean
/- Copyright (c) 2022 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Kevin Buzzard -/ import tactic -- imports all the Lean tactics /-! # Logic in Lean, example sheet 6 : "or" (∨`) We learn about how to manipulate `P ∨ Q` in Lean. ## Tactics You'll...
f5fa640a2161e6bae5bec0d64b8343b7189bd4ad
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/algebra/lie/classical.lean
7d3504e82260c6f4012830a020a964e2cfa3b102
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,510
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.invertible import algebra.lie.skew_adjoint import linear_algebra.matrix /-! # Classical Lie algebras This file is the place to find definitions and basic p...
12d624d04525abbd328765702cfa2d81dcac36e2
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/ring_theory/subsemiring/basic.lean
e693a75715df0ab47bd873c2b9dac76d0ab4e6f6
[ "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
44,234
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import algebra.module.basic import algebra.ring.equiv import algebra.ring.prod import data.set.finite import group_theory.submonoid.centralizer import group_theory....
9db8b8ba548b932f5e3b71a9caff27927b17def5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/wf_auto.lean
d9490b319522392f20a67506fbc3dd5a9a5c9770
[]
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
9,263
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.nat.basic import Mathlib.Lean3Lib.init.data.prod universes u l v namespace Mathlib inductive acc...
4ef395afb2ef62791b532601262a9b69d98ba97b
9028d228ac200bbefe3a711342514dd4e4458bff
/src/category_theory/limits/functor_category.lean
bdfa647ca3534407dd09dc575acd92dcc7b01904
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,776
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.preserves.basic open category_theory category_theory.category namespace category_theory.limits universes v v₂ u -- declare the `v`'s ...
efd16ecdae8be72eba745f05e2021b94ea433df8
968e2f50b755d3048175f176376eff7139e9df70
/examples/pred_logic/unnamed_131.lean
86725f02977241d3647d645e7c48cc333e717c90
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
91
lean
def avgu : ℤ × ℤ → ℤ | (x, y) := (x + y)/2 #eval avgu (10,6) -- This displays 8.
0a3c0216f331ffb947a07ebdbdcad9379078f835
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/category/Group/colimits.lean
037d3b1a50afb1663dbb597453fa303a3cf9696d
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
9,697
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 algebra.category.Group.preadditive import group_theory.quotient_group import category_theory.limits.concrete_category import category_theory.limits.shapes.kern...
192b04c4049bbaa4ca4250b20b1d47efabebd4eb
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/algebra/ordered/basic.lean
6950c7f3e87fcdf7f9e9d10d4ffc74d084456ad7
[ "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
174,127
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import tactic.tfae import algebra.group_with_zero.power import data.set.intervals.pi import topology.algebra.group import order.filte...
561ce5f5efadf2fb74a63192a1f789c6ecad37cb
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/polynomial/degree/definitions.lean
bac87138058bb7226131e1f9e82e47a232c22c44
[ "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
50,151
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.fintype.big_operators import data.nat.with_bot import data.polynomial.monomial import data.polynomial.coeff /...
64b9b5f80878fd095ad7a35474ac3158c154648b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/exitAfterParseError.lean
4d139b075f4a902e5ef74d2a0786b7c06a9ca186
[ "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
27
lean
def foo #exit def bla
4e78eaf24dda5f086e02fc459fed3055ab44e29e
d642a6b1261b2cbe691e53561ac777b924751b63
/src/data/equiv/algebra.lean
46780b68ae0adb43c1b69bd574f3aaeb33d312b3
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
19,437
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Callum Sutton -/ import data.equiv.basic algebra.field /-! # equivs in the algebraic hierarchy In the first part there are theorems of the following form: if `α` has...
9f2855ea2955bd7d1c88625055250bf0172a1e4a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/lint/basic.lean
f1b03c9dccb657e4367ec49c29515fe17ca0e66e
[ "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,092
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import tactic.core /-! # Basic linter types and attributes This file defines the basic types and attributes used by the linting ...
7554b1bede0418dad79271a4cce42fb79322a3ba
b7536f9489184b9b43e71226db2c620e772337e9
/prelude/A.lean
8e30f98e57391f671b0401a38a71a7b889423c6e
[]
no_license
gebner/lean4-split-leanpkg
bf7cf03b9672963188cb05dcba3a5d7b546a7d78
2a8cc83583263ef4f93a513271876ae69748661d
refs/heads/master
1,681,771,764,711
1,620,545,291,000
1,620,545,291,000
365,693,312
0
0
null
null
null
null
UTF-8
Lean
false
false
11
lean
def A := 1
048761e95c9e39150b3e8c74e82aff5a5ccba962
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/ring_theory/algebraic.lean
4c411d58b5df938ea0ca623060b7f1d36bdc26bc
[ "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
10,097
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 linear_algebra.finite_dimensional import ring_theory.integral_closure import data.polynomial.integral_normalization /-! # Algebraic elements and algebraic ex...
2ac0ae6c5d613bbe70edfd2ae826a68902d744cd
c777c32c8e484e195053731103c5e52af26a25d1
/src/group_theory/subsemigroup/centralizer.lean
8eadf8a074db31984b64f2cf0e83e85313fb81a2
[ "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
5,039
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Jireh Loreaux -/ import group_theory.subsemigroup.center import algebra.group_with_zero.units.lemmas /-! # Centralizers of magmas and semigroups > THIS FILE IS SYNC...
f274c7a8ad4dd5da6110d90c34c472610ddf1fa9
29cc89d6158dd3b90acbdbcab4d2c7eb9a7dbf0f
/x31_library.lean
b537191e60c1477f02617d4625a42f9844422f15
[]
no_license
KjellZijlemaker/Logical_Verification_VU
ced0ba95316a30e3c94ba8eebd58ea004fa6f53b
4578b93bf1615466996157bb333c84122b201d99
refs/heads/master
1,585,966,086,108
1,549,187,704,000
1,549,187,704,000
155,690,284
0
0
null
null
null
null
UTF-8
Lean
false
false
3,679
lean
/- Library 3.1: Program Semantics — Operational Semantics -/ /- Some auxiliary lemmas concerning logical connectives and relations -/ @[simp] lemma or_imp_distrib {p q r : Prop} : p ∨ q → r ↔ (p → r) ∧ (q → r) := iff.intro (assume h, ⟨assume hp, h (or.intro_left _ hp), assume hq, h (or.intro_right _ hq)⟩) (assume...
9464b28a6c87c2993824cc7378d40092d046ab7d
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/myrat/basic.lean
07fcc874fc8255e4065dd7af58542d8009ff045a
[]
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
6,766
lean
import .frac import ..myfield.basic namespace hidden open myint open myring open ordered_myring open ordered_integral_domain def myrat := quotient frac.frac.setoid namespace myrat instance deceq: decidable_eq myrat := quotient.decidable_eq private lemma class_setoid (x y : frac) : ⟦x⟧ = ⟦y⟧ ↔ x ≈ y := iff.intro q...
a3b25d4b1b2203c35a11f2735e53a4fdf555eca1
75bd9c50a345718d735a7533c007cf45f9da9a83
/src/algebra/associated.lean
5f02075f274de1d0cca1f402ec38621890f9c9f0
[ "Apache-2.0" ]
permissive
jtbarker/mathlib
a1a3b1ddc16179826260578410746756ef18032c
392d3e376b44265ef2dedbd92231d3177acc1fd0
refs/heads/master
1,671,246,411,096
1,600,801,712,000
1,600,801,712,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,424
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker -/ import data.multiset.basic import algebra.divisibility /-! # Associated, prime, and irreducible elements. -/ variables {α : Type*} {β : Type*} {γ : ...
3a95901af2d6ac414318a9b26615b4826c5dd112
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Compiler/LCNF/Main.lean
8776e19cb8eb81cf458b520eafff54cdaf51c6e0
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
4,065
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...
ae2dee7c559a6273df538c1d9bd5cb97a6e6a95d
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/CoreM.lean
bf9a64f6f58b017bd00b6982b4d7972c18ce734c
[ "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
4,068
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.RecDepth import Lean.Util.Trace import Lean.Environment import Lean.Exception import Lean.InternalExceptionId import Lean.Eval import Lean....
c73c13ab218e3a255d14aff12d6952e2563402a0
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/nat_bug3.lean
261c8b69e09d9504f05edbfa559b0f31b2a67c84
[ "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
699
lean
import logic num using num eq_proofs inductive nat : Type := | zero : nat | succ : nat → nat abbreviation plus (x y : nat) : nat := nat_rec x (λn r, succ r) y definition to_nat [coercion] [inline] (n : num) : nat := num_rec zero (λn, pos_num_rec (succ zero) (λn r, plus r (plus r (succ zero))) (λn r, plus r r) n) n de...
86d95ece70e1bc9f918e8764c4c2de3475a3bb63
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/bench/rbmap.lean
d0fdb26f3401d176ec418d15342958270339082d
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,916
lean
#lang lean4 /- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Option.Basic import Init.Data.List.BasicAux import Init.Data.String import Init.System.IO universes u v w w' inductiv...
33bd2dabd697d70d24f9ae79749a9a516ca00ff9
b9d8165d695e844c92d9d4cdcac7b5ab9efe09f7
/src/topology/basic.lean
28085f2d268d32fa37f7950f0a06c5a205432b0e
[ "Apache-2.0" ]
permissive
spapinistarkware/mathlib
e917d9c44bf85ef51db18e7a11615959f714efc5
0a9a1ff463a1f26e27d7c391eb7f6334f0d90383
refs/heads/master
1,606,808,129,547
1,577,478,369,000
1,577,478,369,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,492
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, Jeremy Avigad -/ import order.filter /-! # Basic theory of topological spaces. The main definition is the type class `topological space α` which endo...
8d0afc22002489b06c13fbadc9b9ea02d12dfdb9
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tmp/new-frontend/parser/token.lean
c1dc4042600736a5c9bb48bb9e0ef86fa427913d
[ "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
13,744
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich Tokenizer for the Lean language Even though our Parser architecture does not statically depend on a tokenizer but works directly on the input String, we still...
64cc6adaf8d4154d89f3d8dc02c680f7b165afa5
4fa161becb8ce7378a709f5992a594764699e268
/src/ring_theory/polynomial.lean
352c0ce1cd794d13f4e6abc92d459054a90c3a15
[ "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
18,602
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Ring-theoretic supplement of data.polynomial. Main result: Hilbert basis theorem, that if a ring is noetherian then so is its polynomial ring. -/ import data.mv_polynomial impor...
86fe49d68abff2b3f2281fabfca2838eb1cebc1d
3446e92e64a5de7ed1f2109cfb024f83cd904c34
/src/game/world1/level5.lean
1b969435de86a869b4011b420210f018dac547ff
[]
no_license
kckennylau/natural_number_game
019f4a5f419c9681e65234ecd124c564f9a0a246
ad8c0adaa725975be8a9f978c8494a39311029be
refs/heads/master
1,598,784,137,722
1,571,905,156,000
1,571,905,156,000
218,354,686
0
0
null
1,572,373,319,000
1,572,373,318,000
null
UTF-8
Lean
false
false
2,850
lean
import mynat.definition -- hide import mynat.add -- definition of addition namespace mynat -- hide /- # World 1 : Tutorial world ## Level 5: addition We have a new import -- the definition of addition. Peano defined addition `a + b` by induction on `b`, or, more precisely, by *recursion* on `b`. He first explained ...
eb15bcab70316ecc4a0b4f247f423abb025fe94c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/lie/universal_enveloping.lean
218f402cb80cdbcb1a9765318150afb967129e71
[ "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
5,592
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.of_associative import algebra.ring_quot import linear_algebra.tensor_algebra.basic /-! # Universal enveloping algebra Given a commutative ring `R` and ...
1c408a58157fdf152ef9021a5648c96f31deb340
ea4aee6b11f86433e69bb5e50d0259e056d0ae61
/src/tidy/repeat_at_least_once.lean
3cd85cdf7a773942d1ff0cab9de619746978f3e4
[]
no_license
timjb/lean-tidy
e18feff0b7f0aad08c614fb4d34aaf527bf21e20
e767e259bf76c69edfd4ab8af1b76e6f1ed67f48
refs/heads/master
1,624,861,693,182
1,504,411,006,000
1,504,411,006,000
103,740,824
0
0
null
1,505,553,968,000
1,505,553,968,000
null
UTF-8
Lean
false
false
394
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison namespace tactic meta def repeat_at_least_once ( t : tactic unit ) : tactic unit := t >> repeat t namespace interactive meta def repeat_at_least_once : itactic ...
dbab7160aee8d5a091a0a73934ba54eae625035d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/exterior_algebra/basic.lean
d5c712c549edb010f6719513dd9b5bf2ae62d1e7
[ "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
10,993
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhangir Azerbayev, Adam Topaz, Eric Wieser -/ import algebra.ring_quot import linear_algebra.clifford_algebra.basic import linear_algebra.alternating import group_theory.perm.sign /-! # ...
085ee8c556b7e25b6f6fc0c21908d00607c129ea
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/analysis/calculus/mean_value.lean
d9aa219e771e799048dd599f0deb0d4dadf6708d
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
7,663
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel The mean value inequality: a bound on the derivative of a function implies that this function is Lipschitz continuous for the same bound. -/ import analysis.calcu...
fc107273b1d483be6208ed31d0be2c696b7b60b9
a523fc1740c8cb84cd0fa0f4b52a760da4e32a5c
/src/missing_mathlib/algebra/ring.lean
1e4caadedc8a6d70e39469b30c78a1bf3d120fb8
[]
no_license
abentkamp/spectral
a1aff51e85d30b296a81d256ced1d382345d3396
751645679ef1cb6266316349de9e492eff85484c
refs/heads/master
1,669,994,798,064
1,597,591,646,000
1,597,591,646,000
287,544,072
0
0
null
null
null
null
UTF-8
Lean
false
false
108
lean
import algebra.ring universes u v variable {α : Type u} section domain variable [domain α] end domain
7263fb112483eadac7ea6bd6b7a480e45b908fda
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/pp_links.lean
f9d1d579f6da1b377709285b0570263e070be649
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
292
lean
open tactic structure point (α : Type*) := (x : α) (y : α) example : ∀ i : ℤ, (i, i).snd = i + 0 + (point.mk 0 i).x := by do os ← get_options, set_options (os.set_bool `pp.links tt) example : ∃ i j : ℤ, true := by do os ← get_options, set_options (os.set_bool `pp.links tt)
3565b73ef41304f339b1c45ea4c939bdfe430c03
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/meta/expr_lens_auto.lean
ce91b336a0326a12386f209d39d39d9e4b681444
[]
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,765
lean
/- Copyright (c) 2020 Keeley Hoek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Keeley Hoek, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.meta.expr import Mathlib.PostPort universes l namespace Mathli...
e2748636ba4cb0f5ef66bc8c41c346405aac8132
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/norm_cast_coe_fn.lean
3942e367604f87ccecd90f441c21ef2b67146efa
[ "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
767
lean
import tactic.norm_cast structure hom (α β : Type) := (to_fun : α → β) instance {α β} : has_coe_to_fun (hom α β) := ⟨_, hom.to_fun⟩ structure hom_plus (α β) extends hom α β instance {α β} : has_coe (hom_plus α β) (hom α β) := ⟨hom_plus.to_hom⟩ instance {α β} : has_coe_to_fun (hom_plus α β) := ⟨λ _, α → β, λ f, f⟩ ...
6860d2568511bc1fc794bbd0acc3212b392301f9
4bddde0d06fbd53be6f23d7f5899998e8f63410b
/test/test.lean
bafdf7950720aebcf1fae00576ecdcc3af03cbd5
[]
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
605
lean
import tactic.iconfig section iconfig_mk my_tac set_option formatter.hide_full_terms false iconfig_add my_tac [ abool : bool, -- (TODO:) := tt ! iconfig.overload_policy.ignore⟩, anum : nat, aenum : enat, astr : string, aident : name, ] end namespace tactic namespace interactive meta def cfgdump (...
536390f64ad32808400627be8084415d85fa5cdf
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/theories/group_theory/finsubg.lean
7074531ff4f2c264df8a19ca8d36560c7878aef9
[ "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
20,702
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ -- develop the concept of finite subgroups based on finsets so that the properties -- can be used directly without translating from the set based theory first import d...
c5002d66cf2e7967d024bdf3b3cdadbe7a23ce9f
4fa161becb8ce7378a709f5992a594764699e268
/src/tactic/default.lean
2d0b3fbc5baf095b956bf2c9dfd712ec71ee1b96
[ "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
970
lean
/- This file imports many useful tactics ("the kitchen sink"). You can use `import tactic` at the beginning of your file to get everything. (Although you may want to strip things down when you're polishing.) Because this file imports some complicated tactics, it has many transitive dependencies (which of course may n...
5795816db333bdb644ea5e63aab45adc12f363a5
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/finset/basic.lean
8a5963971e58e93f8645be12ee763f36597dd332
[ "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
114,807
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro -/ import data.multiset.finset_ops import tactic.monotonicity import tactic.apply import tactic.nth_rewrite /-! # F...
2de9355f727222d06edd35522323cd942a9012f5
57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5
/algebra/ordered_ring.lean
0087c8b0014ac6ab9bc611cc160017231d7372f9
[ "Apache-2.0" ]
permissive
louisanu/mathlib
11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe
2bd5e2159d20a8f20d04fc4d382e65eea775ed39
refs/heads/master
1,617,706,993,439
1,523,163,654,000
1,523,163,654,000
124,519,997
0
0
Apache-2.0
1,520,588,283,000
1,520,588,283,000
null
UTF-8
Lean
false
false
8,216
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 order.basic algebra.order algebra.ordered_group algebra.ring universe u variable {α : Type u} -- TODO: this is necessary additionally to mul_nonneg otherwise...
929f95fed1e7d64eec326118af7e657fef2e2caf
f3a5af2927397cf346ec0e24312bfff077f00425
/src/tactic/nat_num_game.lean
7c49d6d2c8d1a00077d8a3f6a9e3bf56c39f1bf6
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/natural_number_game
05c39e1586408cfb563d1a12e1085a90726ab655
f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd
refs/heads/master
1,688,570,964,990
1,636,908,242,000
1,636,908,242,000
195,403,790
277
84
Apache-2.0
1,694,547,955,000
1,562,328,792,000
Lean
UTF-8
Lean
false
false
1,873
lean
-- Many many thanks to Rob Lewis for supplying 99.9% of this file. import tactic.modded tactic.apply open tactic meta def copy_decl (d : declaration) : tactic unit := add_decl $ d.update_name $ d.to_name.update_prefix `nat_num_game.interactive @[reducible] meta def filter (d : declaration) : bool := d.to_name ∉ [`t...
59bc3824de00a3244ef53793becf053358781b23
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/elab4.lean
29300b21f86c37fe4c7f90417ff760dbc69c84ab
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
337
lean
definition foo.f {A : Type*} {B : Type*} (a : A) (b : B) : A := a definition boo.f (a : nat) (b : nat) (c : nat) := a + b + c definition bla.f (a b c d : bool) := a open boo foo bla set_option pp.full_names true #check f 0 1 2 #check f 0 1 2 3 #check f 0 1 #check f tt 2 #check f tt ff tt #check f tt ff #chec...
16ff2b14d59e10d019e1215911688ddfdaab6c92
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/match1.lean
296dc13c4a6614c345104a607f7de37f81b0a090
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
741
lean
import data.nat.basic open nat definition two1 : nat := 2 definition two2 : nat := succ (succ (zero)) constant f : nat → nat → nat (* local tc = type_checker_with_hints(get_env(), true) local plugin = whnf_match_plugin(tc) function tst_match(p, t) local r1, r2 = match(p, t, plugin) assert(r1) prin...
5798d8a0c4aff1839fb2f67c4c580982917de66a
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/types/nat/basic.hlean
baac4f2100231388cef37a226a85d5a63d8e2ac2
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
10,023
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. (Ported from standard library) Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad Basic operations on the natural numbers. -/ import ..num algebra.ring open prod binary eq algebra l...
090f6cf36202bf3e63f3b965a4649e3740086058
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/shapes/terminal.lean
7f70267457a1b63b3f8194d50d0fe234fc484f34
[]
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
10,750
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.pempty import Mathlib.category_theory.limits.limits import Ma...
256ba6bc7b7a00de9fae64fe0b4c6b81bd3ed17d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/lint_simp_comm.lean
dc675d22ee2d5ebaa66d7a87015551821c0f0fc6
[ "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,081
lean
import tactic.lint import algebra.group.basic /-! ## Commutativity lemmas should be rejected -/ attribute [simp] add_comm add_left_comm open tactic run_cmd do decl ← get_decl ``add_comm, res ← linter.simp_comm.test decl, -- linter complains guard res.is_some open tactic run_cmd do decl ← get_decl ``add_left_comm, ...
36a6ab96012aec771b878a620b4628a691437dd3
618003631150032a5676f229d13a079ac875ff77
/src/tactic/push_neg.lean
d49a1d050cc90cee6b598379af312317e9dc7fc8
[ "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
7,955
lean
/- Copyright (c) 2019 Patrick Massot All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Patrick Massot, Simon Hudon A tactic pushing negations into an expression -/ import tactic.interactive import algebra.order open tactic expr namespace push_neg section universe u ...
575a7c74aeae1ce46878c9e3c080a81136f6a5e0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/univPolyEnum.lean
96f4af0867f257b2d2966b77c997368e2042180a
[ "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
35
lean
inductive T : Type u | intro : T
f0ff35f688fc9f59b0898dbb551bd357d6edb4b7
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/list_elab1.lean
f383919055dfeb7a0f367308d1aa685c1d347e88
[ "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
1,146
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Parikshit Khanna. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Authors: Parikshit Khanna, Jeremy Avigad ----------------------------------------...
2558a0973409cee630d17e0dce30f4403e3f64f9
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/nat_num_game/src/Advanced_Addition_World/adv_add_wrld2.lean
cd258e1cd2898d56509c875802d07dd6fa72abe1
[]
no_license
Samyak-Surti/LeanCode
1c245631f74b00057d20483c8ac75916e8643b14
944eac3e5f43e2614ed246083b97fbdf24181d83
refs/heads/master
1,669,023,730,828
1,595,534,784,000
1,595,534,784,000
282,037,186
0
0
null
null
null
null
UTF-8
Lean
false
false
199
lean
theorem succ_succ_inj {a b : ℕ} (h : nat.succ(nat.succ(a)) = nat.succ(nat.succ(b))) : a = b := begin have hs : nat.succ a = nat.succ b, apply nat.succ.inj h, apply nat.succ.inj hs, end
4173baf3d1e9d7559f30fae142d0fd3a2d1e84a2
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/meta/environment.lean
92b9b936ef0881747e0be28f539028a7fdb42b3a
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
9,756
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.declaration init.meta.exceptional init.data.option.basic import init.meta.rb_map /-- An __environment__ contains all of the declar...
cea6e88d3b8334259daa0412b76747aa50f44c44
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/data/examples/notencodable.lean
55ba37087ffe2a86c3028286deb68abba09783c9
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,170
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.examples.unencodable Author: Leonardo de Moura Small example showing that (nat → nat) is not encodable. -/ import data.encodable open nat encodable option section hypothe...
d338b385bb92ec8552efa274aa1df06b99bb65c2
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/category_theory/sites/canonical.lean
eeb4ee71eade62b61ea8d39d5465b6d9f57a9e9a
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,645
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 category_theory.sites.sheaf /-! # The canonical topology on a category We define the finest (largest) Grothendieck topology for which a given presheaf `P` is a...
486d6f0598ec8f61381c538d7bc67a7fd879e3bc
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/analysis/topology/topological_space.lean
df4ff60c2f89c59143245745075a53ddcbf9de4b
[ "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
61,395
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 Theory of topological spaces. Parts of the formalization is based on the books: N. Bourbaki: General Topology I. M. James: Topologies and Uniformit...
da1ec4143d4d0d07c7f45729786fb6eb4263d5c3
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/computability/turing_machine.lean
ffc12b44718a7fef3c393e46adf9ae875cdd5f7b
[ "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
109,861
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import algebra.order import data.fintype.basic import data.pfun import tactic.apply_fun import logic.function.iterate /-! # Turing machines This file defines a seque...
0e95b0311692261776570f059afed50dbd9a2305
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/tactic/ring.lean
6c74d0d351712d2c8d0f8585fc33aa6a4181accb
[ "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
28,926
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 tactic.norm_num import data.int.range /-! # `ring` Evaluate expressions in the language of commutative (semi)rings. Based on <http://www.cs.ru.nl/~freek/cour...
99c0fd8d5ce8f2b849867c99ad82262fa66e7cd5
af6139dd14451ab8f69cf181cf3a20f22bd699be
/library/init/meta/attribute.lean
b8479bc2c768c662a7f1d2e8c1dfce1dc5f903ee
[ "Apache-2.0" ]
permissive
gitter-badger/lean-1
1cca01252d3113faa45681b6a00e1b5e3a0f6203
5c7ade4ee4f1cdf5028eabc5db949479d6737c85
refs/heads/master
1,611,425,383,521
1,487,871,140,000
1,487,871,140,000
82,995,612
0
0
null
1,487,905,618,000
1,487,905,618,000
null
UTF-8
Lean
false
false
1,587
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.meta.tactic init.meta.rb_map init.meta.quote meta constant attribute.get_instances : name → tactic (list name) meta constant attribute....
f0552eb64dc87ca8f71c3509acdc641d4c76d872
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/finsupp/pointwise.lean
e859af998c5f8f60b0ce963386783c5707b9e135
[ "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,433
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.finsupp.basic /-! # The pointwise product on `finsupp`. For the convolution product on `finsupp` when the domain has a binary operation, see the type sy...
984bb972035361b7356308ac91779b4ef4ca48fd
82e44445c70db0f03e30d7be725775f122d72f3e
/src/topology/metric_space/closeds.lean
dcbfb77ea0c57a7737265fcec2b8673533337eaf
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
21,273
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.metric_space.hausdorff_distance import topology.compacts import analysis.specific_limits /-! # Closed subsets This file defines the metric and...
1a66203790ef3f4be65a7ef02b30d1084ca693e8
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Init/Data/String/Extra.lean
02bfdee8948181ca1f7f8d335307a7cb2176ab09
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
3,326
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Control.Except import Init.Data.ByteArray import Init.SimpLemmas import Init.Data.Nat.Linear import Init.Util import Init.WFTactics name...
d713be0dbfeee94069a988f105a0b0a1534d2257
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/ring/boolean_ring.lean
48516c021d21265c89c2b04548f314c73d749c9b
[ "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
15,961
lean
/- Copyright (c) 2021 Bryan Gin-ge Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bryan Gin-ge Chen, Yaël Dillies -/ import algebra.punit_instances import order.hom.lattice import tactic.abel import tactic.ring /-! # Boolean rings A Boolean ring is a ring where...
97d8dca3b9efe57ed04bd2bb566186602f9a4378
f57749ca63d6416f807b770f67559503fdb21001
/hott/algebra/category/functor.hlean
bd7e7dcbe25c0476e1e1ee5499bafe06d1ce543d
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,273
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, Jakob von Raumer -/ import .iso types.pi open function category eq prod prod.ops equiv is_equiv sigma sigma.ops is_trunc funext iso open pi structure functor (C ...
22ebd04f89a17fef19776fdb87cf60c6cd447771
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/bench/rbmap_checkpoint.lean
4c4ecf178b793b789f940943d7bb4ad5cb9799af
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
3,429
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Option.Basic import Init.Data.List.BasicAux import Init.Data.String import Init.System.IO universes u v w w' inductive color | Re...
6b7670417a714d5b34d5b2848974952d3a4e2c82
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/set/disjointed.lean
c2026f83a90691cdb12750167b22e538e097cbce
[ "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
4,336
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 Disjointed sets -/ import data.set.lattice import tactic.wlog open set classical open_locale classical universes u v w x variables {α : Type u} {β : Type v} {γ : Type ...
00609d45c8f65ec1e7d1fc6356dc839ea6e542b4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/casesUsing.lean
b5f070709d547ecf8b03925878e10dabc8a8f69d
[ "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,713
lean
import Lean open Lean open Lean.Meta open Lean.Elab.Tactic universe u axiom elimEx (motive : Nat → Nat → Sort u) (x y : Nat) (diag : (a : Nat) → motive a a) (upper : (delta a : Nat) → motive a (a + delta.succ)) (lower : (delta a : Nat) → motive (a + delta.succ) a) : motive y x theorem ex1 (p q : Nat) : p ≤ ...
850214eb214c4f644ed937cee21abd38bf642257
618003631150032a5676f229d13a079ac875ff77
/src/tactic/omega/nat/dnf.lean
ba1b26ca7f32aa5e623b2420393f60d9af843715
[ "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
4,950
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek DNF transformation. -/ import tactic.omega.clause import tactic.omega.nat.form namespace omega namespace nat open_locale omega.nat @[simp] def dnf_core : preform → list clause ...
dec7116f704df2a7ec13f0504697416327c3b576
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/ulift.lean
49fff01eb444d87b8608d9410a486e2ac861295b
[]
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
3,009
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.data.equiv.mul_add import Mathlib.PostPort universes u u_1 v namespace Mathlib /-! # `u...
3dfa08eae8a164af292cc22d8373e1196d10a552
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/calculus/extend_deriv.lean
62f9065ef2309219a3c27d256bbfbb986ff3892f
[ "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
11,570
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.mean_value /-! # Extending differentiability to the boundary We investigate how differentiable functions inside a set extend to diffe...
e1b7a32d72df9fca1381b281f9cf60295a908995
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast_cc11.lean
d71a01c77c03dc739f23b3a06e9fd703e4d4d0fe
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
876
lean
import data.list set_option blast.subst false set_option blast.simp false definition t1 (a b : nat) : (a = b) ↔ (b = a) := by blast print t1 definition t2 (a b : nat) : (a = b) = (b = a) := by blast print t2 definition t3 (a b : nat) : (a = b) == (b = a) := by blast print t3 open perm definition t4 (a b : list...
1f218dda705ddd1f84a50aaef75e9ba22729d93a
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/interactive/plainTermGoal.lean
c8e92d29240dd43eef726aa68dd174c266466234
[ "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
873
lean
example : 0 < 2 := Nat.ltTrans Nat.zeroLtOne (Nat.ltSuccSelf _) --^ $/lean/plainTermGoal --^ $/lean/plainTermGoal --^ $/lean/plainTermGoal --^ $/lean/plainTermGoal --^ $/lean/plainTermGoal example : OptionM Unit...
4ec9fa5126d71f7295fc9b6d7bdc93dfb6082b37
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebraic_geometry/gluing.lean
9fc37f88a00ca312ca7bf5a4fded05743a34c127
[ "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
17,336
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.presheafed_space.gluing /-! # Gluing Schemes Given a family of gluing data of schemes, we may glue them together. ## Main definitions * `algeb...
019a8adfd1fdad89a0bb7e00dbd4f801babc978a
94e33a31faa76775069b071adea97e86e218a8ee
/src/field_theory/abel_ruffini.lean
aa9ee0ae382e9b75e4197b442f41b21c8c061e50
[ "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
17,339
lean
/- Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import group_theory.solvable import field_theory.polynomial_galois_group import ring_theory.roots_of_unity /-! # The Abel-Ruffini T...
17b93b58342db68e0f6a765df37fdae6fc25be26
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1058.lean
6bc0b6b1ae48f4f74d9476a86d4032db60781c51
[ "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
128
lean
example : List (Unit -> Nat) := let g := [by exact fun _ => 0]; g example : List (Unit -> Nat) := let g := [fun _ => 0]; g