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
b32cffd2628e78a98b8d077a7cacba59278ac7b1
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/multiplicity.lean
42c7328c1909447bdd72de5fb45bf09022b375ce
[ "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
20,413
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Chris Hughes -/ import algebra.associated import algebra.big_operators.basic import ring_theory.valuation.basic /-! # Multiplicity of a divisor For a commutative mo...
4123a076ee203c355b0c42690d3d6a6f6b9c846a
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170425-unfolding.lean
b9e9a317db827eee53b21b4e2da70a71917cc835
[ "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
488
lean
structure X := ( x : nat ) definition S ( a : X ) : X := { x := a.x } definition f ( a : X ) ( n : nat ) : nat := 1 lemma foo ( a : X ) : f (S a) (S a).x = 0 := begin -- I want a tactic that will unfold `(S a).x` to `a.x`, but leave the other `(S a)` entirely alone. -- Use transitivity for first simplification ...
c99c4fc4e74625f1496a3e1ea60459b76e249808
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/algebra/binary.lean
46ad727fd62603fb22933f9990fc22d4ade002d3
[ "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
3,297
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad General properties of binary operations. -/ open eq.ops function namespace binary section variable {A : Type} variables (op₁ : A → A...
edbcab0fdcff9a62395ca118727f3bcbe8bc8eb6
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/undergraduate/MAS114/Semester 1/Q04.lean
e0120c35910263b47699a146c088670af5dbc64e
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,752
lean
import data.fintype namespace MAS114 namespace exercises_1 namespace Q04 /- This question is about "gappy sets", ie subsets s in fin n = {0,...,n-1} such that s contains no adjacent pairs {i,i+1}. -/ /- We find it convenient to introduce a new notation for the zero element in fin m. Notice that this only ...
3b719896bd39d03636b62311455f06a63ca0eda5
137c667471a40116a7afd7261f030b30180468c2
/src/analysis/normed_space/normed_group_hom.lean
b5f63bcc8df8c8b685fa35d742584ea9debdd4ff
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,768
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 analysis.normed_space.basic import topology.sequences /-! # Normed groups homomorphisms This file gathers definitions and elementary constructions about bou...
40f0d06d99401641b80574690d5c487c329cf347
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/defs.lean
d8f5f6acc5333b916fef735f16e434af3ebe9bd1
[ "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
36,547
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import data.option.defs import logic.basic import tactic.cache /-! ## Definitions on lists Th...
c966016ab782fa28b82c4714e87260068998cd4f
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/convex/integral.lean
0b88e49d52c6d5b77cb75e6fbf5f645381c3a18b
[ "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
7,703
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import analysis.convex.basic import measure_theory.set_integral /-! # Jensen's inequality for integrals In this file we prove four theorems: * `convex.smul_...
e028f43adf4723c0a21b8a9ec8b83814e97917bc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/polynomial/dickson.lean
3d051565a0439463286b18c66af1e5b7b55cea8a
[ "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,665
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import algebra.char_p.invertible import data.zmod.basic import field_theory.finite.basic import ring_theory.localization.fraction_ring import ring_theory.poly...
d0bec98adf72c6b0c427d4052b9cecadad91e789
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/algebra/field_power.lean
083d11cc22ae93da794be43a0619a68b80f39bcd
[ "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
5,251
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis Integer power operation on fields. -/ import algebra.group_power tactic.wlog universe u section field_power open int nat variables {α : Type u} [division_ring α] ...
069153fbabf801e27ec69230827be3aa2e0a33e6
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/options.lean
10471a8787c920c049900ed93dca134a5fb38aef
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,296
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.name universe variables u meta constant options : Type meta constant options.size : options → nat me...
f9861accb55a25b2479ca66c33f1e43a12194d39
97c8e5d8aca4afeebb5b335f26a492c53680efc8
/ground_zero/HITs/moebius.lean
3d27fd05b4380b8711db8a4bf256c1b793ce2a29
[]
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
856
lean
import ground_zero.cubical /- The Möbius band as quotient of square I × I. * https://en.wikipedia.org/wiki/M%C3%B6bius_strip#Topology --------> | A | | | | A | <-------- Edges labelled A are joined that so the directions of arrows match. -/ namespace ground_zero.HITs open ground_zero....
abfdb3039ff456b1ba5fc8bd904000bf59977002
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/bundle.lean
4b05142e2f0a459228ab51032ca7901cecca841d
[ "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,233
lean
/- Copyright © 2021 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import algebra.module.basic /-! # Bundle Basic data structure to implement fiber bundles, vector bundles (maybe fibrations?), etc. This file should contain all pos...
5f5a02b4d7443212f3c3404cb33f7eae4221ddae
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/char_p/basic.lean
a5d0123f34b529261408c0ddca8e82e009ac93b9
[ "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
16,749
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Joey van Langen, Casper Putz -/ import data.int.modeq import algebra.iterate_hom import data.nat.choose.sum import group_theory.order_of_element import data.nat.choose.dvd /-! #...
1359bca8ae5063d5c74d1be081bb5900c7eb536f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/meta.lean
271169b240db95d2d399cfb8e42fb67ac5a73a56
[ "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
18
lean
print metaclasses
3562be445eac0d0b228c29dcaf27f5cc138685bc
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/07_Induction_and_Recursion.org.4.lean
ff3de6adc6b8acf1740f6d8a517ebea2260c7731
[]
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
265
lean
/- page 100 -/ import standard open bool definition neg : bool → bool | neg tt := ff | neg ff := tt theorem neg_neg : ∀ (b : bool), neg (neg b) = b | neg_neg tt := rfl -- proof that neg (neg tt) = tt | neg_neg ff := rfl -- proof that neg (neg ff) = ff
301ee98ab07d8012e8637224ff7aeaa8642eecba
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/Parser/Syntax.lean
8e61288b8c706bae33e56886dc15042d19814ed9
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,777
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 @[init] def regBuiltinSyntaxParserAttr : IO Unit :...
a20359a967eea512f18f0011d6fda198ee0678c7
735bb6d9c54e20a6bdc031c27bff1717e68886b9
/tools/binders.lean
3674055d5e0d5d0df75f83f873a597c4eff35085
[]
no_license
digama0/library_dev
3ea441564c4d7eca54a562b701febaa4db6a1061
56520d5d1dda46d87c98bf3acdf850672fdab00f
refs/heads/master
1,611,047,574,219
1,500,469,648,000
1,500,469,648,000
87,738,883
0
0
null
1,491,771,880,000
1,491,771,879,000
null
UTF-8
Lean
false
false
7,824
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 Binder elimination -/ import standard import ..algebra.lattice #exit -- conv was essentially killed /- |- t = ?m x y z -/ namespace conv open tactic monad meta...
ff2befa54f2049f2efed93b0ffc98ea1ddade519
94e33a31faa76775069b071adea97e86e218a8ee
/src/logic/function/basic.lean
a9ca7d4410e2c4ad36fc2d82f95face2b83e44de
[ "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
32,758
lean
/- Copyright (c) 2016 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.option.defs import logic.nonempty import tactic.cache /-! # Miscellaneous function constructions and lemmas -/ universes u v w namespac...
30bfc2396db2a350c6523d5d13af736151866ce2
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/homotopy/circle.hlean
f1091920e21bb8afc507e64958bf3ab671c53000
[ "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,497
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 Declaration of the circle -/ import .sphere import types.bool types.int.hott types.equiv import algebra.homotopy_group algebra.hott open eq susp bool sphere_index...
ca9f9ffd9c8189403e61ab2aba0047a1f5c2e80d
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/let_tac.lean
c64acc5ca2a36fef5945375036f279205a537483
[ "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
316
lean
import data.nat open algebra example (a b : Prop) : a → b → a ∧ b := begin intro Ha, intro Hb, let aux := and.intro Ha Hb, exact aux end open nat example (a b : nat) : a > 0 → b > 0 → a + b + 0 > 0 := begin intro agt0, intro bgt0, let H := add_pos agt0 bgt0, change a + b > 0, exact H end
6673cbad28937946a55da8b5755cff0a66b6f650
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/05_Interacting_with_Lean.org.11.lean
175f65d27180716057d37cca7adf2a58ae007422
[]
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
208
lean
/- page 67 -/ import standard import standard algebra.ordered_ring open nat algebra -- BEGIN check @add_le_add_left check @add_le_add_right check @le_of_mul_le_mul_left check @le_of_mul_le_mul_right -- END
9c3eb2ba481da438281189ec653911f4e8c55c54
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/list/nat_antidiagonal.lean
425741eb2c28d93fff636b69cb4b7cc4cf3bbe84
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,302
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 data.list.range /-! # Antidiagonals in ℕ × ℕ as lists This file defines the antidiagonals of ℕ × ℕ as lists: the `n`-th antidiagonal is the list of pairs `(i...
a0f267ef19f62cda95c16766b977c1c2f5f65aed
4727251e0cd73359b15b664c3170e5d754078599
/src/data/nat/modeq.lean
ec1a8265fecbaba01b44f52b0df333a63579a084
[ "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
20,418
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.int.gcd import data.list.rotate import tactic.abel /-! # Congruences modulo a natural number This file defines the equivalence relation `a ≡ b [MOD n]` ...
69bb8319367d4537df80e32ea2bd42edaeba8734
649957717d58c43b5d8d200da34bf374293fe739
/src/data/fintype.lean
ab03a30ac3e705ed8d75242cab83bffe3430d557
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
32,016
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 logic.unique universes u v variables {α : Type*} {β : Type*} {γ : Type*} /-- `fintype α` me...
a138cf1cbdc2fa934f0c24b8f9dd8e04bc2476b7
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/seminorm.lean
611c1d738fdf49fea7ace29c2a8fbf54a1e6d33c
[ "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
8,101
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo -/ import algebra.pointwise import analysis.normed_space.basic /-! # Seminorms and Local Convexity This file introduces the following notions, defined for a vector space over a nor...
52ef8d214966b1bec146633450a7b7062252e7e6
7bf54883c04ff2856c37f76a79599ceb380c1996
/non-mathlib/roots.lean
919b03f579f919c0d6f62f6139ca5653da7c9eee
[]
no_license
anonymousLeanDocsHosting/lean-polynomials
4094466bf19acc0d1a47b4cabb60d8c21ddb2b00
361ef4cb7b68ef47d43b85cfa2d13f2ea0a47613
refs/heads/main
1,691,112,899,935
1,631,819,522,000
1,631,819,522,000
405,448,439
0
2
null
null
null
null
UTF-8
Lean
false
false
24,050
lean
import field_definition import field_results import numbers /- We can apply an additional contraint onto a field that it has some notion of square roots. It is not necessary to define any properties of square roots other than (sqrt (a) * sqrt (a) = a) . -/ class fld_with_sqrt (f : Type) [myfld f] := (sqrt : f ->...
af03002cae47f0001962af7dc15cea245c2828cc
bdb33f8b7ea65f7705fc342a178508e2722eb851
/tactic/ring.lean
2148a6d8059df65379bc6e840553a666768db7f2
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
17,194
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Evaluate expressions in the language of (semi-)rings. Based on http://www.cs.ru.nl/~freek/courses/tt-2014/read/10.1.1.61.3041.pdf . -/ import algebra.group_power tactic...
870bf7217ec1b56fa7db6261f6a111535f2d0ecf
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/char.lean
70c6b1566c09a339b2c2bb48c81fed96c2dc37b3
[ "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
901
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ /-! # More `char` instances This file provides a `linear_order` instance on `char`. `char` is the type of Unicode scalar values. -/ instance : linear_order char :=...
a065b2b6f5fa6f6ec2d3d812535a69df65287ed3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/opposites.lean
00f7ca6069333195582083407b00a99646f6fb66
[ "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
29,056
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Floris van Doorn -/ import category_theory.limits.filtered import category_theory.limits.shapes.finite_products import category_theory.discrete_category import tactic.e...
61a70cd5cc9c1d3579866f7d34f30f3c1dedbc15
7da5ceac20aaab989eeb795a4be9639982e7b35a
/src/category_theory/limits/shapes/equalizers.lean
46f46b5c04fa12cbd210ee5f0d9ff2d02ab7ebfa
[ "MIT" ]
permissive
formalabstracts/formalabstracts
46c2f1b3a172e62ca6ffeb46fbbdf1705718af49
b0173da1af45421239d44492eeecd54bf65ee0f6
refs/heads/master
1,606,896,370,374
1,572,988,776,000
1,572,988,776,000
96,763,004
165
28
null
1,555,709,319,000
1,499,680,948,000
Lean
UTF-8
Lean
false
false
4,719
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 .pullbacks ...basic open category_theory namespace category_theory.limits -- local attribute [tidy] tactic.case_bash universes v u @[derive decidable_...
41c10c152569d11ff6912bb5a6060b176b73c750
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/lie_algebra.lean
80113b4e37fe1e631c2de75941e951ad607358ae
[ "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
42,214
lean
/- Copyright (c) 2019 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import ring_theory.algebra import linear_algebra.linear_action import linear_algebra.bilinear_form import linear_algebra.direct_sum.finsupp import tactic.noncomm_ring /-! ...
961124211be8281907b6b1ea3a4dde71937cbffa
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/new_compiler.lean
377e6f72393ffcc543938f04914d47767388548b
[ "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
1,746
lean
universes u v w r s set_option trace.compiler.stage1 true -- set_option pp.explicit true set_option pp.binder_types false -- set_option pp.proofs true def foo (n : Nat) : Nat := let x := Nat.zero; let x1 := Nat.succ x; let x2 := Nat.succ x1; let x3 := Nat.succ x2; let x4 := Nat.succ x3; let x5 := Nat.succ x4; let x...
7beeb4110da5132965adc13ecf7a4449c974d7a2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/liftMethodInMacrosIssue.lean
9792196ce854dc31b5261838214de27c5c76bfc3
[ "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
514
lean
def foo (x : Nat) : IO Bool := do if x == 0 then throw $ IO.userError "foo: unexpected zero" pure (x == 1) def tst (x : Nat) : IO Unit := do if x == 0 then IO.println "x is 0" else if (← foo x) then IO.println "x is 1" else IO.println "other" #eval tst 0 #eval tst 1 #eval tst 2 syntax term "<|||>" term : do...
128f5b4b23fb177b54c9b3b8a0a212fa81037b4e
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/presheaf.lean
9139a4069e2cb351d31bfdfd8598525c4554b16a
[ "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
15,980
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.adjunction.limits import category_theory.adjunction.opposites import category_theory.elements import category_theory.limits.functor_category import...
6df7f0efe8cc99c206f298e867ef4edb59448e08
66a6486e19b71391cc438afee5f081a4257564ec
/spectrum/trunc.hlean
ced901b51de10870958d895b6c1a750280471ae3
[ "Apache-2.0" ]
permissive
spiceghello/Spectral
c8ccd1e32d4b6a9132ccee20fcba44b477cd0331
20023aa3de27c22ab9f9b4a177f5a1efdec2b19f
refs/heads/master
1,611,263,374,078
1,523,349,717,000
1,523,349,717,000
92,312,239
0
0
null
1,495,642,470,000
1,495,642,470,000
null
UTF-8
Lean
false
false
10,943
hlean
/- Copyright (c) 2017 Floris van Doorn and Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Ulrik Buchholtz Truncatedness and truncation of spectra -/ import .basic open int trunc eq is_trunc lift unit pointed equiv is_equiv algebra E...
59d51bd6d4339de5f2293a4b87af1b00bb3baab1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed/group/add_torsor.lean
6642720beafb01a4de373f99dd070d205ec1915d
[ "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
10,881
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Yury Kudryashov -/ import analysis.normed.group.basic import linear_algebra.affine_space.affine_subspace import linear_algebra.affine_space.midpoint /-! # Torsors of addit...
154d305ab410a88236e1f46a3c382667afd5bd7a
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/set_theory/ordinal.lean
b5dedd03b45d0bfddee05e1c6311bd420cf7eaf8
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
124,817
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 Ordinal arithmetic. Ordinals are defined as equivalences of well-ordered sets by order isomorphism. -/ import order.order_iso set_theory.cardinal data.sum noncomputable...
2e074faafc8295cbbe9f84aab47ffa433c129211
827a8a5c2041b1d7f55e128581f583dfbd65ecf6
/propositional_truncation.hlean
3586740c0318d32fb91857122a5d9740edb6c135
[ "Apache-2.0" ]
permissive
fpvandoorn/leansnippets
6af0499f6f3fd2c07e4b580734d77b67574e7c27
601bafbe07e9534af76f60994d6bdf741996ef93
refs/heads/master
1,590,063,910,882
1,545,093,878,000
1,545,093,878,000
36,044,957
2
2
null
1,442,619,708,000
1,432,256,875,000
Lean
UTF-8
Lean
false
false
14,124
hlean
import types.eq types.pi hit.colimit types.nat.hott hit.trunc cubical.square open eq is_trunc unit quotient seq_colim pi nat equiv sum algebra /- NOTE: THIS IS AN OLD PROOF. A SIMPLER PROOF CAN BE FOUND in cpp.hlean In this file we define the propositional truncation (see very bottom), which, given (X : Type) ...
9b3c387d194c64256c6bf44b0046fa7a07d9a883
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Meta/LevelDefEq.lean
4473f86c40583e8fa6fbae202c302f1d0575ef1a
[ "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
8,757
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.InferType namespace Lean namespace Meta private partial def decAux? : Level → MetaM (Option Level) | Level.zero _ ...
c7b23cd5d7cce02f12d3907af3ca65c0cbd46187
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/bracket.lean
4372992dcfd76c7dc10435f661520037a027fb88
[ "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
1,456
lean
/- Copyright (c) 2021 Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Lutz, Oliver Nash -/ /-! # Bracket Notation This file provides notation which can be used for the Lie bracket, for the commutator of two subgroups, and for other similar operat...
9900145371ce11b6f8f79e0ce80bedf3bf6818a7
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/adjoin_root.lean
d2c0007771cef42c667ac04674ffca6d4d192f6d
[ "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
32,292
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 -/ import algebra.algebra.basic import data.polynomial.field_division import field_theory.minpoly.basic import ring_theory.adjoin.basic import ring_theory....
f94b8217ca1368e0f88bad943f258e21fd6207b1
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/init/num.lean
2884e7da22b705e4e34f233bc321e35b2a76b262
[ "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
3,266
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.logic init.bool open bool definition pos_num.is_inhabited [instance] : inhabited pos_num := inhabited.mk pos_num.one namespace pos_nu...
35143ad6d2d90a8a2ccf5d653d8e8c9abb59a5ac
9028d228ac200bbefe3a711342514dd4e4458bff
/src/topology/separation.lean
0f6a841dbad74f74a3fbcd99cb7a44f909826515
[ "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
23,080
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 Separation properties of topological spaces. -/ import topology.subset_properties open set filter open_locale topological_space filter local attribute ...
946ec438acda88523078e95dbc007f9c14a3e6c2
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/nat/choose/dvd.lean
64ab70013cbab45c57c79c5a65ec5ac16ab16f1b
[ "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
1,221
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Patrick Stevens -/ import data.nat.choose.basic import data.nat.prime /-! # Divisibility properties of binomial coefficients -/ namespace nat namespace prime open_locale ...
5e35976e26716af9c0b2329ddaefdcdb83e352df
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Deriving/Util.lean
009dd21404aebbbd92272d856058e260a50b5859
[ "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
6,917
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.Elab.Term namespace Lean.Elab.Deriving open Meta def implicitBinderF := Parser.Term.implicitBinder def instBinderF ...
1ff503dbe16ba9ee4dde94f9111fb9d6d597cc7e
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/tree_subterm_pred.lean
51c32891fb1fb371b44d4aa91404d29aba64543c
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,937
lean
import logic open eq.ops inductive tree (A : Type) := leaf : A → tree A, node : tree A → tree A → tree A namespace tree inductive direct_subterm {A : Type} : tree A → tree A → Prop := node_l : Π (l r : tree A), direct_subterm l (node l r), node_r : Π (l r : tree A), direct_subterm r (node l r) definition direct_sub...
370d8d8b2465214f6f9adc12a6ee4de19f4e09a9
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/metric_space/basic.lean
35a6e65f133cde09185dac9ade123e3507739c97
[ "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
124,053
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import data.int.interval import topology.algebra.order.compact import topology.metric_space.e...
20154954332066d55ba501a4564018c207bb7dcf
4727251e0cd73359b15b664c3170e5d754078599
/src/data/complex/is_R_or_C.lean
e417e3e209d13b69833cf77da8442323d89e3f12
[ "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
36,325
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 data.real.sqrt import field_theory.tower import analysis.normed_space.finite_dimension import analysis.normed_space.star.basic /-! # `is_R_or_C`: a typeclas...
2ea2f4417b4842a45c2c0118de2d6870c3e085ef
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/leanpkg/b/B.lean
3d031b53f21d242081c7954a56a0d32c8a072f45
[ "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
62
lean
import A def main : IO Unit := IO.println "Hello, {name}!"
9da9a19fc3c60658337e9a9ed0c6f0af6bb5080e
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/interactive/missing.lean
11cf755041187e22668d342827cf89f0c3368388
[ "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
314
lean
import logic inductive tree (A : Type) := leaf : A → tree A| node : tree A → tree A → tree A namespace tree definition below_rec {A : Type} (t : tree A) {P : tree A → Type} (iH : Π (t : tree A), P t) : P t := have general : ∀ (t : tree A), P t, from -- take t, iH t, sorry, general t end tree
1d40698ffe17a61dd0ce0b65efef885703400b65
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/group_theory/submonoid/operations.lean
6bbaa22b8daa4789562d60f4fe161200f63eb2ac
[]
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
25,481
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathl...
bdf037fc273da9395a27a431709ea967cf722937
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/tests/lean/run/matchArrayLit.lean
39559462d1e76c0485ba1c08c7b760358a0585ce
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,085
lean
universes u v theorem eqLitOfSize0 {α : Type u} (a : Array α) (hsz : a.size = 0) : a = #[] := a.toArrayLitEq 0 hsz theorem eqLitOfSize1 {α : Type u} (a : Array α) (hsz : a.size = 1) : a = #[a.getLit 0 hsz (ofDecideEqTrue rfl)] := a.toArrayLitEq 1 hsz theorem eqLitOfSize2 {α : Type u} (a : Array α) (hsz : a.size = 2...
edaf5af67b139df97fd6fc2abeab81fe4f9f05bc
abd85493667895c57a7507870867b28124b3998f
/src/deprecated/submonoid.lean
1f0017ca2b8912cd2af2987a0b415e80d638b415
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
20,428
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard -/ import group_theory.submonoid /-! # Submonoids This file defines unbundled multiplicative and additive sub...
cc966b9add0b8c50490418d936e87da4f748ecb1
4f643cce24b2d005aeeb5004c2316a8d6cc7f3b1
/omin/presheaf_choice.lean
9bdd18c7bed01ba4798660bdbace47c0729db037
[]
no_license
rwbarton/lean-omin
da209ed061d64db65a8f7f71f198064986f30eb9
fd733c6d95ef6f4743aae97de5e15df79877c00e
refs/heads/master
1,674,408,673,325
1,607,343,535,000
1,607,343,535,000
285,150,399
9
0
null
null
null
null
UTF-8
Lean
false
false
3,311
lean
import .presheaf2 import .def_choice.choice namespace o_minimal variables {R : Type*} {S : struc R} /- NB: Some lemmas in this file have an unnecessarily strong [OQM R] hypothesis where [DUNLO R] (or maybe even nothing) would be enough; that's just because they are lemmas about things which were defined under a stan...
f80cf751cc7b0cb20477483e32f5f6155ff38402
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/types/univ.hlean
bf396ba6748dcc8283cc34ac4eeee778951d3612
[ "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
4,921
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Theorems about the universe -/ -- see also init.ua import .bool .trunc .lift .pullback open is_trunc bool lift unit eq pi equiv sum sigma fiber prod pullback is_e...
de8f10c899ec8cda78cd442c9adf311421f99f26
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/field_theory/tower.lean
521d4eff0783119de1ddbaa2efa5194a079710a8
[]
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,144
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.algebra_tower import Mathlib.linear_algebra.matrix import Mathlib.PostPort universes u v...
aebc94177d79157b1ea6ba74ad8e26afea23ff23
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/set_theory/ordinal_notation.lean
8d9ba5d8913c3ca0064c80f65b2d4633d4077230
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
35,744
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Ordinal notations (constructive ordinal arithmetic for ordinals < ε₀). -/ import set_theory.ordinal data.pnat.basic open ordinal local notation `ω` := omega.{0} /-- Re...
399dba7cc801964cfd200de4e9eded3a4346bb60
4727251e0cd73359b15b664c3170e5d754078599
/src/data/matrix/basic.lean
6b32afe45ee3ce23f96d3eff24aa0feaffa1ebb9
[ "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
72,187
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin, Lu-Ming Zhang -/ import algebra.algebra.basic import algebra.big_operators.pi import algebra.big_operators.ring import ...
0425ad1341446ed97e824db10f86721b5dc52585
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Elab/SyntheticMVars.lean
ae2b3bb0e1e4db1c1ff940f32e9715dc649d1a0d
[ "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
12,615
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Elab.Term import Lean.Elab.Tactic.Basic namespace Lean namespace Elab namespace Term open Tactic (TacticM evalTactic getUns...
4bfff00ec449c2a8e2501b3d5d378e0287cc5c82
6094e25ea0b7699e642463b48e51b2ead6ddc23f
/library/data/bool.lean
756b8fc6a723a752d4669bb72b244e7b2bc1aca6
[ "Apache-2.0" ]
permissive
gbaz/lean
a7835c4e3006fbbb079e8f8ffe18aacc45adebfb
a501c308be3acaa50a2c0610ce2e0d71becf8032
refs/heads/master
1,611,198,791,433
1,451,339,111,000
1,451,339,111,000
48,713,797
0
0
null
1,451,338,939,000
1,451,338,939,000
null
UTF-8
Lean
false
false
3,569
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 logic.eq open eq eq.ops decidable namespace bool local attribute bor [reducible] local attribute band [reducible] theorem dichotomy (b : bool...
4b01c03b5f35ef2bbb41d4e40c2d0484cb7b1d3f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/paracompact.lean
672ffe7f71075603244586085e8eee88c3207562
[ "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
15,237
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Yury Kudryashov -/ import topology.subset_properties import topology.separation import data.option.basic /-! # Paracompact topological spaces > THIS FILE IS SYNCHRONIZE...
073bc317830b8a4d6653e8652174d4db4ed21435
d86d87b5d977229d06b07d5853d72ff583325634
/cool.lean
aed6a920380ef140bf20f66ec77cf6b9264d2153
[]
no_license
ezrasitorus/matrices
6440c54da81f0971193c8584ed42ce1c748c0294
f412d066a1ac7d33d06f81a1a5aa347644c00c9f
refs/heads/master
1,670,160,489,593
1,598,040,300,000
1,598,040,300,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16
lean
ℝ ℝ² θ λ
7271e6271585101f66f4c5f6ef16e4f40921ba63
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/group_with_zero/basic.lean
4735407c984f37ccd3e9c4c6fc2b305b79e5d999
[ "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
36,359
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 logic.nontrivial import algebra.group.units_hom import algebra.group.inj_surj import algebra.group_with_zero.defs /-! # Groups with an adjoined zero element ...
07588ba4835526c2ba51ea4bab5845848fff25b6
141a24caeb72a0cfbc7b490f36ead29eea9f7324
/lean/tour.lean
c918ac9fd21cf4be03fa2ceb01b8de6ce7d83bd8
[]
no_license
joaogui1/Recreational
a5fcebfd0f48ad6bcda4b679be1f0ddc8959e11e
365d5eb99e7c016409b82970901476ba7eadc705
refs/heads/main
1,680,773,766,593
1,680,386,239,000
1,680,386,239,000
149,201,587
0
0
null
null
null
null
UTF-8
Lean
false
false
3,530
lean
namespace BasicFunctions #eval 2+2 def sampleFunction1 x := x*x + 3 def result1 := sampleFunction1 4573 #eval println! "The result of squaring the integer 4573 and adding 3 is {result1}" def sampleFunction2 (x : Nat) := 2*x*x - x + 3 def result2 := sampleFunction2 (7 + 4) #eval println! "The result of applying t...
146408fa7f64875ce5e2ad0a3511ae0477d7104a
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebraic_topology/dold_kan/functor_n.lean
1a54418c218d994fbd3d1fc33de791a51c1f6ab5
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
2,319
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import algebraic_topology.dold_kan.p_infty /-! # Construction of functors N for the Dold-Kan correspondence TODO (@joelriou) continue adding the various files referenced be...
9bef0f8fe9fb9432dd102dfcdffa8fcc81ed15ff
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Init/Data/Nat/Linear.lean
a5ef959918e775c79dd3f3b34eba3e70d6ccf07e
[ "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
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
30,046
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 -/ prelude import Init.Coe import Init.Classical import Init.SimpLemmas import Init.Data.Nat.Basic import Init.Data.List.Basic import Init.Data.Prod namespace...
07962aa5c7453a7d8b96f3f32dd33c920a19623d
35960c5b117752aca7e3e7767c0b393e4dbd72a7
/src/typ/lc.lean
08ea46ca90da3086e48c2521a6048b5f3507e917
[ "Apache-2.0" ]
permissive
spl/tts
461dc76b83df8db47e4660d0941dc97e6d4fd7d1
b65298fea68ce47c8ed3ba3dbce71c1a20dd3481
refs/heads/master
1,541,049,198,347
1,537,967,023,000
1,537,967,029,000
119,653,145
1
0
null
null
null
null
UTF-8
Lean
false
false
1,383
lean
import typ.open namespace tts ------------------------------------------------------------------ namespace typ ------------------------------------------------------------------ variables {V : Type} [_root_.decidable_eq V] -- Type of variable names variables {t t₁ t₂ : typ V} -- Types variables {ts : list (typ V)} -- ...
13c2c4722bdb1289d16f6e0e28aa7c629f02ba51
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/holor.lean
87ab56a7ab96131e688c7750b71b55b3055647aa
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
14,185
lean
/- Copyright (c) 2018 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import algebra.module.pi import algebra.big_operators.basic /-! # Basic properties of holors Holors are indexed collections of tensor coefficients. Confusin...
b2dc637f21c72d9465a499f36581e4d4d8e5f00f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/projection.lean
7a24b999effd89193d22646bb512704bdbfa21c5
[ "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
12,985
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 linear_algebra.basic import linear_algebra.prod /-! # Projection to a subspace In this file we define * `linear_proj_of_is_compl (p q : submodule R E) (h :...
4ea08db2daf0740ec423fb44fce6cd97aed4278a
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/lie/classical.lean
ef6c02b596675b323c14f9f693223aa0c1f73f7f
[ "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
13,416
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 algebra.lie.abelian import linear_algebra.matrix.trace import linear_algebra.matrix.transvection import dat...
8fc8836b94fc5b905117ffffc6e5e0edcd576307
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/combinatorics/composition.lean
835c1e596461e68e0ee56b90543bb5a2be39a20c
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
34,340
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 data.fintype.card import tactic.omega /-! # Compositions A composition of an integer `n` is a decomposition `n = i₀ + ... + i_{k-1}` of `n` into a sum ...
fab077692fc6b2fb4a068398dd8d2003a22c8ad6
7a468d7c7c0949ab8b191bb62ff6d4d2af9f3917
/test/unit.lean
2224c08bd580f86fea425479b7544e505f79eb9f
[ "Apache-2.0" ]
permissive
seanpm2001/LeanProver_SMT2_Interface
c15b2fba021c406d965655b182eef54a14121b82
7ff0ce248b68ea4db2a2d4966a97b5786da05ed7
refs/heads/master
1,688,599,220,366
1,547,825,187,000
1,547,825,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
173
lean
import smt2 lemma fstar_goal_with_unit (a b q : nat) (prf_b : 0 < b) (prf_q : 0 < q) (p : unit → Prop) (x : forall (x : unit), p x) : a = a := begin z3 "fst.log" end
2d79d6cddbf17e73c5e020fe5a34941e8af160d2
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/nat/gcd.lean
c7e10c5a0d0161746e17561bd9c87d187acc5357
[ "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
16,658
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Definitions and properties of gcd, lcm, and coprime. -/ import .div open well_founded decidable prod namespace nat /- gcd -/ private definition pair...
613afe940af2c99e37b27b6d971703744f92eb6e
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/complex/exponential.lean
518ee9cb4b9dcbee08429386a36338ecda83206b
[ "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
49,895
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 -/ import algebra.geom_sum import data.nat.choose import data.complex.basic /-! # Exponential, trigonometric and hyperbolic trigonometric functions...
3f13284b58a30a79d85240c3e4e61890d3d47e80
7282d49021d38dacd06c4ce45a48d09627687fe0
/tests/lean/interactive/t12.lean
0a77c70ab9646fd2097f6cb210257d33b55d37f3
[ "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,118
lean
(* import("tactic.lua") -- Define a simple tactic using Lua auto = Repeat(OrElse(assumption_tac(), conj_tac(), conj_hyp_tac())) *) theorem T1 (A B : Bool) : A /\ B -> B /\ A := fun assumption : A /\ B, let lemma1 : A := (by auto), lemma2 : B := (by auto) in (hav...
a47606df5ee4adb77d4ed40aba30d8b29c45f8f7
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Init/Conv.lean
bc8deea42f8f63aca7134bb9f411d31d02559c4e
[ "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
13,118
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Notation for operators defined at Prelude.lean -/ prelude import Init.NotationExtra namespace Lean.Parser.Tactic.Conv /-- `conv` is the syntax category for ...
ea7c6640b19056facb80c7db1fc48e06c51acd8c
48f4f349e1bb919d14ab7e5921d0cfe825f4c423
/fabstract/Roux_C_and_vanDoorn_F_PTSs/pure_type_systems.lean
5aaaba95cb7c182af6e7dc659fb9ce1e3a53358f
[]
no_license
thalesant/formalabstracts-2017
fdf4ff90d30ab1dcb6d4cf16a068a997ea5ecc80
c47181342c9e41954aa8d41f5049965b5f332bca
refs/heads/master
1,584,610,453,925
1,528,277,508,000
1,528,277,508,000
136,299,625
0
0
null
null
null
null
UTF-8
Lean
false
false
4,361
lean
open list option /- Pure Type Systems using DeBruijn indices -/ -- the specification of a PTS structure pure_type_system : Type 2 := (Sorts : Type) (Axioms : Sorts → Sorts → Prop) (Relations : Sorts → Sorts → Sorts → Prop) namespace pure_type_system section parameter (PTS : pure_type_system) /- untyped terms ...
b3b91583697ab9fb08609a134bc2416f8d44421e
7c92a46ce39266c13607ecdef7f228688f237182
/src/for_mathlib/nonarchimedean/is_subgroups_basis.lean
c94b3ac712ad964ee92a5c28fdc6e7f550576f44
[ "Apache-2.0" ]
permissive
asym57/lean-perfectoid-spaces
3217d01f6ddc0d13e9fb68651749469750420767
359187b429f254a946218af4411d45f08705c83e
refs/heads/master
1,609,457,937,251
1,577,542,616,000
1,577,542,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,417
lean
import for_mathlib.nonarchimedean.basic import for_mathlib.topological_rings open set filter function lattice add_group_with_zero_nhd --local attribute [instance] pointwise_mul pointwise_add local attribute [instance] set.pointwise_mul_semiring local attribute [instance] set.pointwise_mul_action local notation `𝓝` ...
13c13e16ee832f481d692be5ebbb62401a2af280
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/empty_eq.lean
818d8ec205fc981688c00d164c42532d63a59200
[ "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
135
lean
import data.fin open nat open fin definition case0 {C : fin zero → Type} : Π (f : fin zero), C f | [none] print definition case0
1db49bb092c76f6c02d17c96d22fd6cb4cc129ae
fb874bbe08e5843959092135244ee64bc3e4dbbb
/tests/syntax-tests/source/Lean/test.lean
eddf316c60af4c98e115520e519f31bc10baa3fa
[ "Apache-2.0", "MIT" ]
permissive
sharkdp/bat
40dee33e4c3be1201f71ada25e963ef8b3f066b5
1893405cbf6a0676db4cf93e64939eb29a0ca6cb
refs/heads/master
1,693,467,908,872
1,686,601,946,000
1,693,237,829,000
130,464,961
43,494
1,495
Apache-2.0
1,694,663,147,000
1,524,307,943,000
Rust
UTF-8
Lean
false
false
2,165
lean
import data.matrix.notation import data.vector2 /-! Helpers that don't currently fit elsewhere... -/ lemma split_eq {m n : Type*} (x : m × n) (p p' : m × n) : p = x ∨ p' = x ∨ (x ≠ p ∧ x ≠ p') := by tauto -- For `playfield`s, the piece type and/or piece index type. variables (X : Type*) variables [has_repr X] n...
c91a7e94b8de2345fd39ed8f09cf51c5e64f2760
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/binder_matching.lean
6440e85afd7a7cae16ec2e5f8b7a10a6892bedd4
[]
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,075
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.option.defs import Mathlib.meta.expr import Mathlib.PostPort namespace Mathlib /-! #...
2ec5a786bbe433bb14e5e62adc4472dc1e6595af
aa5a655c05e5359a70646b7154e7cac59f0b4132
/stage0/src/Init/Control.lean
fbc11e24898efe92e4fa71f2c0d7b8d96746afbc
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
357
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.Control.Basic import Init.Control.State import Init.Control.StateRef import Init.Control.Id import Init.Control.Except import Init.Contr...
f18f94b5f12e61c44d34299fe57c1e5adfd6bbbd
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/basics/unnamed_1649.lean
d7546312af002eacd46286a7c81a1d29acdf2b11
[]
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
121
lean
import data.real.basic variables a b : ℝ -- BEGIN example : abs a - abs b ≤ abs (a - b) := begin sorry end -- END
acb6ad520df09ecd8856a9a666ef0f91f6c0c895
649957717d58c43b5d8d200da34bf374293fe739
/src/linear_algebra/basis.lean
0544490972c25e8f4bafb5dc22653fce2583eff5
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
46,017
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, Alexander Bentkamp Linear independence and basis sets in a module or vector space. This file is inspired by Isabelle/HOL's linear algebra, and hence i...
75b5429d5b0dd6190fd4f184920ec6024f932b90
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/measure_theory/lp_space.lean
3475c4e210493d3df27d94a2ba6e24bb15f8f537
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
15,804
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Rémy Degenne. -/ import measure_theory.l1_space import analysis.mean_inequalities /-! # ℒp space This file describes properties of measurable functions with finite seminorm `(∫ ∥f a∥^p ...
ae3b27fbbb8374d2ba625dbdb10f0e5b91b06112
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/brouillon.lean
b72583ba108b43e27a09497418f7230380ef08dc
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
2,572
lean
namespace morphism_composition /- Goal to make effective the composition -/ open morphism variables {M1 : Type w} [add_comm_group M1] [module R M1] {M2 : Type w'} [add_comm_group M2] [module R M2] {M3 : Type w''} [add_comm_group M3] [module R M3] {ρ1 : group_representation G R M1} ...
684bbe1c54249dfacfb9fafdc2c980c86dc82d7c
37a833c924892ee3ecb911484775a6d6ebb8984d
/src/category_theory/universe_lifting.lean
85c328fc9b76d8711fb293084b77e21d5d732885
[]
no_license
silky/lean-category-theory
28126e80564a1f99e9c322d86b3f7d750da0afa1
0f029a2364975f56ac727d31d867a18c95c22fd8
refs/heads/master
1,589,555,811,646
1,554,673,665,000
1,554,673,665,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
430
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.equivalence namespace category_theory universes u₁ variable (C : Type u₁) variable [small_category C] local attribute [back] category.i...
4b64cd4e1bfda7a07e9c88a37c8c9998da4be21d
5719a16e23dfc08cdea7a5bf035b81690f307965
/src/Init/Control/EState.lean
bab6287d0709837531da504ad4cfb1bbf7fc8cfc
[ "Apache-2.0" ]
permissive
postmasters/lean4
488b03969a371e1507e1e8a4df9ebf63c7cbe7ac
f3976fc53a883ac7606fc59357d43f4b51016ca7
refs/heads/master
1,655,582,707,480
1,588,682,595,000
1,588,682,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,613
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.Control.State import Init.Control.Except universes u v namespace EStateM inductive Result (ε σ α : Type u) | ok {} : α → σ → Result...
5ba04bb2dbf06d08fd05786926d55b37897e7bd6
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/category/Groupoid.lean
64f6769ae04fc399d3a6f1684ed0ad9c6830086b
[ "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
1,854
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.groupoid import category_theory.category.Cat /-! # Category of groupoids This file contains the definition of the category `Groupoid` of al...
32612b99f90d9400d19e5d3492ad0cec20730694
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/group_theory/free_abelian_group.lean
ad5acdaf2d6c98e99ad6ed1ec069c0a4b7fc5439
[ "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
12,396
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Free abelian groups as abelianization of free groups. -/ import algebra.group.pi import group_theory.free_group import group_theory.abelianization universes u v variables (α : ...
c011e5760540c00f4671dedd52f413caf370280e
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/linear_algebra/prod.lean
65aadf802d91fcdef05a502c207a9b03b777d394
[ "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
31,235
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov, Eric Wieser -/ import linear_algebra.span import order.partial_sups import algebra.algebra.basic /-! ### Products of mo...
4dc77a9fff7518aee86c5dfda8300b423d83fe44
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/closed/zero.lean
751ad5e9daf120e949dee3c0cda80b832ca2715f
[ "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
2,104
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.closed.cartesian import category_theory.limits.shapes.zero_morphisms import category_theory.punit import category_theory.conj /-! # A cartesian c...
60fa345956aa58f801410dcbedc8a026889ef9b3
4fa161becb8ce7378a709f5992a594764699e268
/src/combinatorics/composition.lean
e8fc80c590377ce80a7767e3ae26a9b20a1766d0
[ "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
34,346
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 data.fintype.card import tactic.omega /-! # Compositions A composition of an integer `n` is a decomposition `n = i₀ + ... + i_{k-1}` of `n` into a sum ...
0e17863aa0c09e35320ab9799630d334c7a9a664
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/envtest.lean
2b0363af3742999c410c70de04c52802af853601
[ "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
537
lean
import init.lean.environment open Lean def mkMyExt : IO (EnvExtension (Array Nat)) := registerEnvExtension [1, 2, 3].toArray @[init mkMyExt] constant myExt : EnvExtension (Array Nat) := default _ def showMyExt (env : Environment) : IO Unit := IO.println $ myExt.getState env def addVal (env : Environment) (n : Nat) ...
64b8076198a0dae223aff1ccadf10752a0b348ee
7282d49021d38dacd06c4ce45a48d09627687fe0
/examples/lean/tactic1.lean
50e1dcd208a23466661ab5e7590cb62e900dc21b
[ "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
2,726
lean
-- This example demonstrates how to specify a proof skeleton that contains -- "holes" that must be filled using user-defined tactics. import tactic (* -- Define a simple tactic using Lua auto = Repeat(OrElse(assumption_tac(), conj_tac(), conj_hyp_tac())) conj_hyp = conj_hyp_tac() conj = conj_tac() *) -- The (by ...
17320239a50e95876587f177c51962c0bf8df754
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/stone_cech.lean
497e64c4b873445fef2803c9c7219f8b529afd00
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
11,695
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import topology.bases import topology.dense_embedding /-! # Stone-Čech compactification Construction of the Stone-Čech compactification using ultrafilters. Parts of the ...
adf3a3c51eb056b98b9ce6dd5ece92be3d299f00
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/ring_theory/adjoin.lean
d543bb4171cdfdd29d63b6964ee94de3c2fcfc7b
[ "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
8,695
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Adjoining elements to form subalgebras. -/ import ring_theory.polynomial import ring_theory.principal_ideal_domain universes u v w open submodule namespace algebra variables ...
623a00371d3807dc28778c2ed11d6611b83a7e94
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/vm_noncomputable_real.lean
43fcf472546ca1fe598d944a05091274cec499b1
[ "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
510
lean
def ℝ := set ℕ constant ℝ.sub' : ℝ → ℝ → ℝ /- The following definition is accepted because the type is (ℝ → ℝ → ℝ) which is defeq to (ℝ → ℝ → ℕ → Prop). The code generator can handle it because it is returning a type. Morally, it is the function that takes three arguments and returns an unit. -/ def ℝ.sub (a b : ℝ) := ...
df93490caa3d545c57302b22bef32b0ea0a10b12
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/rewrite_search/types.lean
5e8fd5e1e57f97c9b99add4728cad4beccd78c6f
[ "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
2,365
lean
/- Copyright (c) 2020 Kevin Lacker, Keeley Hoek, Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Keeley Hoek, Scott Morrison -/ import tactic.nth_rewrite /-! # Types used in rewrite search. -/ declare_trace rewrite_search namespace tact...
f92aaee596520deec60bbc542a93d7c967f26a29
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/PPTopDownAnalyze.lean
4b1358654e9fe2e30394165c1a1a703528659717
[ "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
14,095
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean import Std open Lean Lean.Meta Lean.Elab Lean.Elab.Term Lean.Elab.Command open Lean.PrettyPrinter def checkDelab (e : Expr) (tgt? : Option Syntax)...