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
91cd12a255f31675b7152adb99169a57ccd0c8dd
9cba98daa30c0804090f963f9024147a50292fa0
/old/metrology/quantity.lean
6a43d64150293da034f40b32f5d56d64096ef90c
[]
no_license
kevinsullivan/phys
dcb192f7b3033797541b980f0b4a7e75d84cea1a
ebc2df3779d3605ff7a9b47eeda25c2a551e011f
refs/heads/master
1,637,490,575,500
1,629,899,064,000
1,629,899,064,000
168,012,884
0
3
null
1,629,644,436,000
1,548,699,832,000
Lean
UTF-8
Lean
false
false
4,550
lean
import .measurement import .dimensions import .scalar namespace quantity open measurementSystem open dimension /- We express a physical quantity as a tuple of scalars, each of a type consistent with its base dimension, relative to a given (potentially derived) dimension and measurement system. So, for example, to ex...
f3e03e394fd19a9b8dfd15a3b9dc5891bd4a8bff
500f65bb93c499cd35c3254d894d762208cae042
/src/tactic/core.lean
2b519fe9affac9fcf3d30df802570041d697000d
[ "Apache-2.0" ]
permissive
PatrickMassot/mathlib
c39dc0ff18bbde42f1c93a1642f6e429adad538c
45df75b3c9da159fe3192fa7f769dfbec0bd6bda
refs/heads/master
1,623,168,646,390
1,566,940,765,000
1,566,940,765,000
115,220,590
0
1
null
1,514,061,524,000
1,514,061,524,000
null
UTF-8
Lean
false
false
39,997
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic category.basic meta.expr meta.rb_map data.string.defs namespace expr open tactic attribute [derive...
70a0791e6a7ff6b041e090d495f5ec45901b46c3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/finset/nat_antidiagonal.lean
ce3779bfd31ef8a1777dfc3c484e490eb894b6f1
[ "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
4,799
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.finset.card import data.multiset.nat_antidiagonal /-! # Antidiagonals in ℕ × ℕ as finsets This file defines the antidiagonals of ℕ × ℕ as finsets: the `...
d5ff43e2e6c7479ba91bec3cf3979d4f5a7757b6
1437b3495ef9020d5413178aa33c0a625f15f15f
/category_theory/types.lean
2341ace1984c3462e065865afa9ec7b9625ec8d9
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,655
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison, Johannes Hölzl import category_theory.functor_category import category_theory.fully_faithful namespace category_theory universes v v' w u u' --...
5f93a7127d8974d4916bebbcce8e65f3f570a97d
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/list/func.lean
9fb1c9d410ec2e56f060feaf1088169a6c1722c8
[ "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,366
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ import data.nat.basic /-! # Lists as Functions Definitions for using lists as finite representations of finitely-supported functions with domain ℕ. These include pointwise o...
47de91a07d3bd55a79f89576cf2bb3b5e90adec5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/interval.lean
a7efc2bf8d37068c98666ab097bacda61deabb69
[ "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
12,319
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.finset.locally_finite /-! # Finite intervals of naturals > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to...
a3b65e1b31a11f2dd5958909c8ee448d142b3109
618003631150032a5676f229d13a079ac875ff77
/src/data/seq/wseq.lean
4fecabc0f0290711a6ce9a29d24215cb2946b718
[ "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
55,018
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.seq.seq import data.dlist universes u v w /- coinductive wseq (α : Type u) : Type u | nil : wseq α | cons : α → wseq α → wseq α | think : wseq α → ...
c51c7d72e07ae1897eb76f3f58386dfe8a539789
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/convex/quasiconvex.lean
d06a29bc4695bc9a9f85b007c09c76c6653fb100
[ "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
7,894
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import analysis.convex.function /-! # Quasiconvex and quasiconcave functions This file defines quasiconvexity, quasiconcavity and quasilinearity of functions, which are...
99445b4e1c76119c57481c5ff69085de4017b649
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/over_subst.lean
f890b3557a2071a6cc56c756a479d34ee701b175
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
716
lean
namespace experiment namespace nat constant nat : Type.{1} constant add : nat → nat → nat constant le : nat → nat → Prop constant one : nat infixl `+` := add infix `≤` := le axiom add_assoc (a b c : nat) : (a + b) + c = a + (b + c) axiom add_le_left {a b : nat} (H : a ≤ b) (c : nat) : c + a ≤ c + b end nat namespace i...
86ff4a46ec7527ef8daa7095192798ef2c0e6f1f
ac92829298855d39b757cf1fddca8f058436f027
/hott/function.hlean
a63df8e540167404992f1bbf30bd2b1c8a90aa11
[ "Apache-2.0" ]
permissive
avigad/lean2
7af27190b9697b69a13268a133c1d3c8df85d2cf
34dbd6c3ae612186b8f0f80d12fbf5ae7a059ec9
refs/heads/master
1,592,027,477,851
1,500,732,234,000
1,500,732,234,000
75,484,066
0
0
null
1,480,781,056,000
1,480,781,056,000
null
UTF-8
Lean
false
false
14,190
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about embeddings and surjections -/ import hit.trunc types.equiv cubical.square types.nat open equiv sigma sigma.ops eq trunc is_trun...
160367cee13f4771cc1053a2243043bfb48dd0ba
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/homeomorph.lean
55694eb69dc74b9f90f101e72c3610caa558f097
[ "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
17,424
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import topology.dense_embedding import data.equiv.fin /-! # Homeomorphisms This file defines homeomorphi...
a96a88d345a7329d1390973a7ccbb1f20c87f709
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/category_theory/is_connected.lean
4e919a886e6982923de66193bfb060001e9ee63e
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
10,011
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import data.list.chain import category_theory.punit /-! # Connected category Define a connected category as a _nonempty_ category for which every functor to a discrete ...
d8c0c599c593fb396dda0a6379f5728c7ad42c2c
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/category_theory/functor_category.lean
a3aeea9b481b58723fd519b0f14943f70f158edb
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
2,262
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Tim Baumann, Stephen Morgan, Scott Morrison import category_theory.natural_transformation namespace category_theory universes u₁ v₁ u₂ v₂ u₃ v₃ open nat_trans /-- `functor.c...
d7fdecda7dc0c1381d0733cf936de899a288031a
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/special_functions/exp.lean
817d76ba8c6af4aa9205a9be0f8710b6d81530d6
[ "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
10,466
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import analysis.complex.basic import data.complex.exponential /-! # Complex and real exponential In this file we prove c...
8c233bdde98b5710ec7dc7b9ccc1dbd1328d43c6
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/ring_theory/ideal_operations.lean
7f7e0c609b316621ccbe67ccb94b50a260bc81c2
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
26,867
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau More operations on modules and ideals. -/ import ring_theory.ideals data.nat.choose order.zorn import linear_algebra.tensor_product import data.equiv.algebra import ring_theory....
c686fb1eef5f591e286f8b381c70baa6d121d350
0d9b0a832bc57849732c5bd008a7a142f7e49656
/src/boolset2d.lean
58bd19cb750a29bbc50db503a81e2559d7243de9
[]
no_license
mirefek/sokoban.lean
bb9414af67894e4d8ce75f8c8d7031df02d371d0
451c92308afb4d3f8e566594b9751286f93b899b
refs/heads/master
1,681,025,245,267
1,618,997,832,000
1,618,997,832,000
359,491,681
10
0
null
null
null
null
UTF-8
Lean
false
false
17,887
lean
import data.list.func import .helpers import .list2d import .find_indexes2d def bset1d := list bool def bset2d := list2d bool instance : inhabited bset1d := ⟨[]⟩ instance : inhabited bset2d := ⟨[]⟩ instance : has_mem ℕ bset1d := ⟨λ n l, list.func.get n l = tt⟩ instance : has_mem (ℕ×ℕ) bset2d := ⟨λ xy l, list2d.get2d...
3752e38addf6f5ffc36f43dadf280bd3fb3bdec5
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20150320_CMU/undecidable.lean
67b1ae46d7dee2d9147c4c3cbd17618e54368b20
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
781
lean
-- Church number λx f, f (f (f ... (f x) ...)) constant i : Type₁ definition Num := i → (i → i) → i definition add (n : Num) (m : Num) : Num := λx f, n (m x f) f definition mul (n : Num) (m : Num) : Num := λx f, n x (λz, (m z f)) definition zero : Num := λx f, x definition one : Num := λx f, f x definition two ...
953266708cff7c1c9d880a25828d39ca6433c76d
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/manifold/local_invariant_properties.lean
5ac943c74f0a5881afaaa1468721aeec58116dbd
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
25,412
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 geometry.manifold.charted_space /-! # Local properties invariant under a groupoid We study properties of a triple `(g, s, x)` where `g` is a function b...
d8269a53dbd0a201866a3a961a54589723ff466b
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/normed_space/conformal_linear_map.lean
b4dc3b597be260761c0f1e19ea5e846bf2872b1e
[ "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
3,788
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang -/ import analysis.normed_space.linear_isometry /-! # Conformal Linear Maps A continuous linear map between `R`-normed spaces `X` and `Y` `is_conformal_map` if it is a non...
401e5877bf066e7647c6c52aa2723197a434a4c0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/representation_theory/basic.lean
8d13447b4d399faccdcaa8d20ace9c829512a481
[ "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
14,390
lean
/- Copyright (c) 2022 Antoine Labelle. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Labelle -/ import algebra.module.basic import algebra.module.linear_map import algebra.monoid_algebra.basic import linear_algebra.dual import linear_algebra.contraction import...
8e0a5a7cd57d8dbee0bf9892e5f99a0efc97fdc1
367134ba5a65885e863bdc4507601606690974c1
/src/order/pfilter.lean
8c1a6b1e5ec1126f5830809b253d6eba5b1ce839
[ "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
3,306
lean
/- Copyright (c) 2020 Mathieu Guay-Paquet. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mathieu Guay-Paquet -/ import order.ideal /-! # Order filters ## Main definitions Throughout this file, `P` is at least a preorder, but some sections require more structure, su...
b675a3696cc2c9fc2dcee41ca1677971b5cd2c63
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/special_functions/non_integrable.lean
bdc86f7af12298b88d49ce908519186409ef3982
[ "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,627
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 analysis.special_functions.integrals import analysis.calculus.fderiv_measurable /-! # Non integrable functions In this file we prove that the derivative of...
6e8ecb1b7720f2ec70936d46bed355e222c0a4f6
f68ef9a599ec5575db7b285d4960e63c5d464ccc
/Exercises/Lista 4/garrafas.lean
8ef894c600b181a7bfedc3b14b2b854d31dae24a
[]
no_license
lucasmoschen/discrete-mathematics
a38d5970cc571b0b9d202bf6a43efeb8ed6f66e3
0f1945cc5eb094814c926cd6ae4a8b4c5c579a1e
refs/heads/master
1,677,111,757,003
1,611,500,097,000
1,611,500,097,000
205,903,359
1
0
null
null
null
null
UTF-8
Lean
false
false
1,048
lean
/- Alunos: - Fulano da Silva - Beltrano Rodrigues Considere uma fonte de água inesgotável e duas garrafas, uma de 5 e outra de 7 litros, as quais não possuem quaisquer marcações que possibilitem medidas de volumes intermediários às suas respectivas capacidades. O formato das mesmas também impede o uso de aparelhos ...
dd5718b33096b7c7a11063518bce8042a36bdabc
07f5f86b00fed90a419ccda4298d8b795a68f657
/tests/lean/run/quote_bas.lean
20253e3b9d4c49b1911fd141b963428e9f260fad
[ "Apache-2.0" ]
permissive
VBaratham/lean
8ec5c3167b4835cfbcd7f25e2173d61ad9416b3a
450ca5834c1c35318e4b47d553bb9820c1b3eee7
refs/heads/master
1,629,649,471,814
1,512,060,373,000
1,512,060,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,502
lean
universes u v w namespace quote_bas inductive Expr (V : Type u) | One {} : Expr | Var (v : V) : Expr | Mult (a b : Expr) : Expr @[reducible] def Value := nat def Env (V : Type u) := V → Value open Expr def evalExpr {V} (vs : Env V) : Expr V → Value | One := 1 | (Var v) := vs v | (Mult a ...
81862e73b02d0957f2a6af9b9efd148e932cdb01
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/types/pointed.hlean
178fd7dd4f9372b4f845d65f1220b804da45a769
[ "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
18,774
hlean
/- Copyright (c) 2014 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ import arity .eq .bool .unit .sigma .nat.basic prop_trunc open is_trunc eq prod sigma nat equiv option is_equiv bool unit...
2c702eb28d5b597c578a69088e87045fc0d1ef60
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/for_mathlib/Fintype.lean
bd90df039b117d40c8c3601b757d4860a19b3b29
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
367
lean
import category_theory.Fintype namespace Fintype /-- An equivalence between finite types induces an isomorphism in `Fintype`. -/ @[simps] def iso_of_equiv {A B : Fintype} (e : A ≃ B) : A ≅ B := { hom := e, inv := e.symm, hom_inv_id' := by { ext t, change e.symm (e t) = t, simp }, inv_hom_id' := by { ext t, chan...
de9c686d62f4a94dcf66c25b67ff8f9bd61d2a3c
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/category_theory/limits/cones.lean
11736101d4480fce9c2a72e2fecca6f7630c6840
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,487
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.const import category_theory.discrete_category import category_theory.yoneda import category_theory.reflects_...
9766adcf0fc34fba605af2de091bc525735cd181
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/private.lean
f12a0f88dfb2f44fcdbb12bab6f1a28a12a33fcd
[ "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
990
lean
new_frontend -- Issue 1 def foo := 10 def f (x : Nat) := x + x namespace Bla private def foo := "hello" #check foo == "world" -- `foo` resolves to private `Bla.foo` private def foo : Float := 1.0 -- should produce error like in other programming languages end Bla #check foo == 0 #check Bla.foo -- Issue 2 name...
25aab0336098ecaa037db7dab24490106f438ecc
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/analytic/basic.lean
7b3523addd45799b8bda5bf085bdef4a38d9f9f1
[ "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
50,569
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, Yury Kudryashov -/ import analysis.calculus.formal_multilinear_series import data.equiv.fin /-! # Analytic functions A function is analytic in one dimension aro...
8f6ff49c8309a80492465f6921fb1568524ab98d
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/induction1.lean
a003814decd07338ae2b27d22c6b3a967e15afbd
[ "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
1,848
lean
@[recursor 4] def Or.elim2 {p q r : Prop} (major : p ∨ q) (left : p → r) (right : q → r) : r := Or.elim major left right new_frontend theorem tst0 {p q : Prop } (h : p ∨ q) : q ∨ p := begin induction h; { apply Or.inr; assumption }; { apply Or.inl; assumption } end theorem tst1 {p q : Prop } (h : p ∨ q) : q ∨ ...
fc9936bd3a0de262cbbe292a24ea79bb3c3dbb3d
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/topologie-espaces-normés/cpge_ten_16.lean
476dfd9c1d23996e64abc04afe9f266d28b7897d
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
263
lean
import topology.basic import data.set.basic import data.rat.basic import data.real.basic import analysis.normed_space.basic -- Montrer que Z est une partie fermée de R theorem exo: is_closed (fun r, exists z: int, r = real.of_rat (rat.of_int z)) := sorry
96b7ff30991d0cf3fac596fc97fbb2f003e24ef9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/pkg/user_opt/UserOpt/Opts.lean
9b656a13ebd437435d31c495103598acdd7515e4
[ "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
194
lean
import Lean register_option myBoolOpt : Bool := { defValue := false descr := "my Boolean option" } register_option myNatOpt : Nat := { defValue := 100 descr := "my Nat option" }
eac888ec90b27e1e886a1126cc6238c997464056
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/decodex86/src/sexp.lean
0fe5799b9b1a0961fe49e51f049b016d0e3a706c
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
1,520
lean
import system.io -- debug import data.buffer.parser inductive sexp | atom : string -> sexp | list : list sexp -> sexp mutual def sexp_to_string, sexp_to_string_list with sexp_to_string : sexp -> string | (sexp.atom s) := s | (sexp.list ss) := "(" ++ sexp_to_string_list ss ++ ")" with sexp_to_string_list : l...
70cb536fce5c99a941b88277549e9777030237f2
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/cute_binders.lean
689ede441b41b51e6c6b026ae6b3c435ae748fdc
[ "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
650
lean
definition set (A : Type) := A → Prop definition mem {A : Type} (a : A) (s : set A) : Prop := s a definition range (lower : nat) (upper : nat) : set nat := λ a, lower ≤ a ∧ a ≤ upper infix ` ∈ ` := mem local notation `[` L `, ` U `]` := range L U variables s : set nat variables p : nat → nat → Prop -- check a ∈ s s...
9779c4287943b63d53492480f7c75ab92ad8f0a8
7bc35d4fbdda0c01e9b22a949940ee5cbb9800d0
/equiv.lean
f0e199f8e9d473eff75d529c5ee2cb852ce464fb
[]
no_license
truonghoangle/manifolds
e6c2534dd46579f56ba99a48e2eb7ce51640e7c0
dcf4815b29ad363ec9712fd00b7756c36cfa7c1c
refs/heads/main
1,638,501,090,139
1,636,918,550,000
1,636,918,550,000
185,779,631
0
0
null
null
null
null
UTF-8
Lean
false
false
2,277
lean
import data.equiv.algebra algebra.module data.pfun import analysis.normed_space.basic universes u v w variables {α : Type u} {β : Type v} {γ : Type w} open equiv namespace equiv section instances variables (e : α ≃ β) protected def has_scalar [has_scalar γ β] : has_scalar γ α := ⟨λ (a:γ) x, e.symm ( a...
3e2d12e7e6782f0face77f13bcbc2a7b547f70a3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/pi/interval.lean
7388b3bbb69d29d81545993296e9cc9a21e36cc8
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
2,518
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.finset.locally_finite import data.fintype.big_operators /-! # Intervals in a pi type This file shows that (dependent) functions to locally finite orders equ...
3b5e1747444a24f90ca2a1f8dcf0dcb94e5c74aa
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Lean/Structure.lean
3bae2f87d96289b9d2821985dd245f369654e3fc
[ "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
6,791
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 Helper functions for retrieving structure information. -/ import Lean.Environment import Lean.ProjFns /- TODO: We currently assume that the projection functi...
44f396671b9e6d4b8ac5b8544ab9040c8070e59f
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/ring_theory/polynomial/dickson.lean
4bdbca3edc8324ffb8fe87cd39214bdee382bc81
[ "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
10,508
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 ring_theory.polynomial.chebyshev import ring_theory.localization import data.zmod.basic import algebra.char_p.invertible /-! # Dickson polynomials ...
27f3ff24cdba8e6804e72ebf7a37e3375e4c192d
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/record4.lean
7df0184f7f608b00181ddd048727ee433e53dd19
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
308
lean
import logic data.unit structure point (A : Type) (B : Type) := mk :: (x : A) (y : B) check point.eta example (p : point num num) : point.mk (point.x p) (point.y p) = p := point.eta p inductive color := red, green, blue structure color_point (A : Type) (B : Type) extends point A B := mk :: (c : color)
663e532aa9fe5329432500ef537ab3730fc130bd
cabd1ea95170493667c024ef2045eb86d981b133
/src/super/defs.lean
498ace4118cf11effa9923f05c3bf088314065cc
[]
no_license
semorrison/super
31db4b5aa5ef4c2313dc5803b8c79a95f809815b
0c6c03ba9c7470f801eb4d055294f424ff090308
refs/heads/master
1,630,272,140,541
1,511,054,739,000
1,511,054,756,000
114,317,807
0
0
null
1,513,304,776,000
1,513,304,775,000
null
UTF-8
Lean
false
false
1,093
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open tactic expr monad namespace super meta def try_unfold_one_def (type : expr) : tactic expr := dunfold_head type transparency.all ...
695b1156ab8e410e4dc8cd0a25a75daeec5c2bd7
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/category/functor.lean
ebf597cd6507becb881adcc1c999567a9841d9a6
[ "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
3,734
lean
/- Copyright (c) 2017 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Standard identity and composition functors -/ import tactic.ext tactic.cache category.basic universe variables u v w section functor variables {F : Type u → Type v} variabl...
860bfd64dd3eadb9bebdfe9d14b08a40a8de1ef9
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/ring_theory/euclidean_domain.lean
d098c655931081b3053d37608d2c69688c2bc6e5
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
1,861
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 ring_theory.ideals noncomputable theory open_locale classical open euclidean_domain set ideal theorem span_gcd {α} [euclidean_domain α] (x y : α...
707215ba19e83ab2a70f91c18bb684199f6fc819
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/linear_algebra/determinant.lean
06528aa0e7d4879214656f97d26419bc7d30ff46
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
9,321
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Tim Baanen -/ import data.matrix.basic import data.matrix.pequiv import data.fintype.card import group_theory.perm.sign import tactic.ring universes u v open equiv...
5cc33d96c8f36fdda5233e25c8707e54bc8dc052
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib/Tactic/RunTac.lean
550ca0f9dc3710976f91bc7551c60d493b6d00ce
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
986
lean
/- Copyright (c) 2018 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich -/ import Lean.Elab.SyntheticMVars open Lean Elab Tactic unsafe def evalRunTacUnsafe (term : Syntax) : TacticM Unit := do let n := `_runTac let type := mkApp (...
2a2a72b893ac9f18c1ca1e5482ccbc5027b200df
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/coeIssue1.lean
1e2c31b5775bf92da9a6d3a3aaa8aa30604b2ad4
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,270
lean
-- From @joehendrix -- The imul doesn't type check as Lean won't try to coerce from a reg (bv 64) to a expr (bv ?u) inductive MCType | bv : Nat → MCType open MCType inductive Reg : MCType → Type | rax (n : Nat) : Reg (bv n) inductive Expr : MCType → Type | r : ∀{tp:MCType}, Reg tp → Expr tp | sextC {s:Nat} (x : Ex...
014c9f45b750fd7b35eed0b50b32e002070adcc1
271e26e338b0c14544a889c31c30b39c989f2e0f
/src/Init/Data/BinomialHeap/Basic.lean
dd8b2305d88adfb58f5ff8411299ddb8165c90da
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,161
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.List import Init.Coe universes u namespace BinomialHeapImp structure HeapNodeAux (α : Type u) (h : Type u) := (val : α) (rank : N...
a695e0294e7f40a9e391147e455b3a00d96cc7a3
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/module/localized_module.lean
8941bab7c10a4bba6bfebda4d3895a7a4595f695
[ "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
41,224
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang, Jujian Zhang -/ import group_theory.monoid_localization import ring_theory.localization.basic import algebra.algebra.restrict_scalars /-! # Localized Module Given a commu...
cf11fe19908ed79fa5305ee601ecdeede9a6a583
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/elabissues/typeclasses_with_preconditions.lean
4765af900120e23978b45063bfa7ccf3d5ba33c2
[ "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
2,215
lean
/- The current plan is to allow instances to have preconditions with registered tactics. Typeclass resolution will delay these proof obligations, effectively assuming that they will succeed. If typeclass resolution succeeds, it will return a list of (mvar, lctx) pairs to the elaborator, which will try to synthesize the...
181093b3f888caf0b5fe7c1628cbe547a8458a8d
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Data/Json/FromToJson.lean
f17f0156fe5cc030e2b295b77c9dd6c7cf522df3
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,707
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Marc Huisinga -/ prelude import Init.Lean.Data.Json.Basic import Init.Data.List.Control namespace Lean universes u class HasFromJson (α : Type u) := (fromJson? : Json...
5aa8318a0ef8c3364d9925a19b697c0a1eabd97c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/cyclotomic/discriminant.lean
1875990e97556e53c835eff40cf51b841d1806b7
[ "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
11,223
lean
/- Copyright (c) 2022 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import number_theory.cyclotomic.primitive_roots import ring_theory.discriminant /-! # Discriminant of cyclotomic fields > THIS FILE IS SYNCHRONIZED WITH MATHLIB4...
e08306bde93cc661e6725681388022ec27f2db29
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/int/cast/defs.lean
bcb87ad797ead839541d96471cf2726dfbb583c6
[ "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
2,392
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Gabriel Ebner -/ import data.nat.cast.defs /-! # Cast of integers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to ...
171ae2a05bf1677ffd46585aa18daaa86c552920
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/fully_faithful.lean
6be1dfb6141243ec0b4a56f49290969fcac82f7f
[ "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
8,417
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.natural_isomorphism import data.equiv.basic -- declare the `v`'s first; see `category_theory.category` for an explanation universes v₁ v₂ v₃ u...
47b19654e5b5c9dd149a4dd6254d8c17358707e3
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/complete_boolean_algebra.lean
7f16480f758b945fb9dfa95628b5d019c02ccbd7
[ "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
13,897
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, Yaël Dillies -/ import order.complete_lattice import order.directed /-! # Frames, completely distributive lattices and Boolean algebras In this file we define and pro...
6edb0fbf3879762e746a6f5907d0955840be1fd7
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_lean_summary/unnamed_84.lean
0df13adc0c7536dcf08f9d6e1a61fc1a098d4577
[]
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
77
lean
variable p : Prop -- BEGIN example (h : p) : p := begin exact h, end -- END
a21a422af02d91c2130f6ecd119b77c89eaeb89c
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/function/lp_space.lean
33f5fa3f03c11fef1dc101d7cbdec28281559a67
[ "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
102,132
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import analysis.normed_space.indicator_function import analysis.normed_space.normed_group_hom import measure_theory.function.ess_sup import measure_the...
1536cf72edf0faa5f28cb8f6bbee224a28fd3afe
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/clifford_algebra/basic.lean
f6828941f36584c129a2b1d02e998d7e0ddeff1c
[ "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
13,673
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Utensil Song -/ import algebra.ring_quot import linear_algebra.tensor_algebra.basic import linear_algebra.quadratic_form.isometry /-! # Clifford Algebras We construct the ...
74f8e39ee651d73fdc8b9fb4e06a0210c6640d6e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/add_interactive.lean
5c1cfbea1d4ce5500cf2ea180f8089df2d375ae7
[ "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
887
lean
namespace foo namespace bla open lean.parser interactive interactive.types /-- test doc string -/ meta def my_exact (q : parse texpr) := tactic.interactive.exact q /- Copy tactic my_exact to tactic.interactive. -/ run_cmd add_interactive [`my_exact] /- Copy tactic my_exact to test_namespace. -/ run_cmd add_interacti...
7f2637af90f474e0a7e9ec32b88587f83f9bb982
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/pfunctor/univariate/default.lean
15b81217b73933a0a47b9c169fc7e0020a74a2f8
[]
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
192
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.pfunctor.univariate.basic import Mathlib.data.pfunctor.univariate.M import Mathlib.PostPort namespace Mathlib
fe0faffbd71d4fb08905d1b826c320e94ff13492
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/compiler_bug3.lean
9187b46c15c02abe679759646f52c186e7db7611
[ "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
290
lean
inductive {u} tree (A : Type u) : Type u | leaf : A -> tree | node : list tree -> tree def foo {A : Type*} : nat → tree A → nat | 0 _ := 0 | (n+1) (tree.leaf a) := 0 | (n+1) (tree.node []) := foo n (tree.node []) | (n+1) (tree.node (x::xs)) := foo n x
63bf91aa0c70b983da881c6ec64892f5175f61b8
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/pkg/misc/Misc/Foo.lean
918d229608ce34f4c998d3807ddcaf336ac4a110
[ "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
289
lean
import Lean open Lean Meta #eval id (α := MetaM Unit) do modifyEnv fun env => env.addExtraName `auxDecl1 return () def foo := 42 local infix:50 " ≺ " => LE.le #check 1 ≺ 2 local macro "my_refl" : tactic => `(tactic| rfl) def f (x y : Nat) (_h : x = y := by my_refl) := x
59e6c19b1e7b17909e22fbeedb61839de0c90bbc
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Meta/FunInfo.lean
3245426cd45a776cdcff8aebeea7034673e2e233
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,196
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 @[inline] private def checkFunInfoCache (fn : Expr) (maxArgs? : Option Nat...
5ec3a9ab682dbaf0aaa5b52230c1674583328012
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/set_theory/ordinal/exponential.lean
0b1e2723c625a97c19dea6b637aa0f88a4be04db
[ "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
16,569
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn, Violeta Hernández Palacios -/ import set_theory.ordinal.arithmetic /-! # Ordinal exponential > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
4e487d25a33d9a4f4e3bfa923bfcf6596a09be23
b147e1312077cdcfea8e6756207b3fa538982e12
/tactic/ring.lean
c958d19af2c6f069f1ae18a39bc439a66fb03a49
[ "Apache-2.0" ]
permissive
SzJS/mathlib
07836ee708ca27cd18347e1e11ce7dd5afb3e926
23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29
refs/heads/master
1,584,980,332,064
1,532,063,841,000
1,532,063,841,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,695
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...
49b4388f94957a699f80a485c0e50db0d99e9961
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/group_theory/order_of_element.lean
136f2995d00b033898889262f579de915d108d85
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,292
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, Julian Kuelshammer -/ import algebra.pointwise import group_theory.coset import dynamics.periodic_pts import algebra.iterate_hom /-! # Order of an element This file d...
dd869bfd3b3566995c51b5d53c1f5d1b2a39703d
2cf781335f4a6706b7452ab07ce323201e2e101f
/lean/deps/typed_smt2/src/galois/smt2/symbol.lean
f57b9fc12d2f999540b17837ac1d66da8e028c66
[ "Apache-2.0" ]
permissive
simonjwinwood/reopt-vcg
697cdd5e68366b5aa3298845eebc34fc97ccfbe2
6aca24e759bff4f2230bb58270bac6746c13665e
refs/heads/master
1,586,353,878,347
1,549,667,148,000
1,549,667,148,000
159,409,828
0
0
null
1,543,358,444,000
1,543,358,444,000
null
UTF-8
Lean
false
false
12,553
lean
import galois.logic import galois.category.except import galois.data.fin import galois.data.buffer meta def exact_trivial_tac : tactic unit := `[exact trivial] -- Defines the SMT symbol type namespace smt2 ------------------------------------------------------------------------ -- reserved_words /-- This is the li...
49e949feee3ec4c7ce63046e61e817291d234bc0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/continuous_function/stone_weierstrass.lean
4d8ecabec58db9e7f718f682159067b38dd73418
[ "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
20,952
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Heather Macbeth -/ import topology.continuous_function.weierstrass import data.is_R_or_C.basic /-! # The Stone-Weierstrass theorem > THIS FILE IS SYNCHRONIZED WITH MA...
c308d51b152c65f24ab51f9c8bc0db97341ecdd0
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/lean/level.lean
a46408df5ff6e1ffbda23c5d246797fe82bfafac
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
4,645
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.option.basic init.lean.name init.lean.format namespace Lean inductive Level | zero : Level | succ : Level → Level | max : ...
41f3650390221e40d2230c7fc8b6f90b2ecdd4a7
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/analysis/normed_space.lean
13ec6eb8d8ff61044f6853001f8afefc19414d0d
[ "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
11,974
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Normed spaces. Authors: Patrick Massot, Johannes Hölzl -/ import algebra.pi_instances import linear_algebra.prod_module import analysis.nnreal variables {α : Type*} {β : Type*} {γ : Type*} {ι...
c45233f8dd5105ba26b83b6c87600d688aab549c
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/equiv/ring_aut.lean
78fa57982e7e012aec65b69f720cc075cf30dfa9
[ "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
2,178
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, Yury Kudryashov -/ import data.equiv.mul_add_aut import data.equiv.ring /-! # Ring automorphisms This file defines the automorphism group structure on ...
6d71eaaa7cea4d39e0f3701bdcdf2364697bd8ab
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/category/Preorder.lean
acb9e50172a6c7798ddbc4a9c49da019d17aed29
[ "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
892
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import order.preorder_hom import category_theory.concrete_category import algebra.punit_instances /-! # Category of preorders -/ open category_theory /-- The categ...
d13c471c3fc1077791ccd70f145700e64263a7a8
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/norm_cast.lean
22d3d45d9958d885ec745bed44d0a68e361e6144
[ "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
11,862
lean
/- Copyright (c) 2019 Paul-Nicolas Madelaine. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul-Nicolas Madelaine Normalizing casts inside expressions. -/ import tactic.basic tactic.interactive tactic.converter.interactive import data.buffer.parser namespace tacti...
3f5b54deb4063141db00ccfa3e9712dc6e3b91c6
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/nat_num_game/src/Advanced_Multiplication_World/adv_mul_wrld4.lean
cf310275bb251b1f997fca4bade50e7930c5e87f
[]
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
164
lean
theorem mul_left_cancel (a b c : ℕ) (ha : a ≠ 0) : a * b = a * c → b = c := begin intro h, induction c with d hd, rw nat.mul_zero at h, end
a602b9bb0fbf408e62ecb2bde319a06e199ee7e6
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Init/Data/Int/Basic.lean
edd7df195d56fdae83de3b93bcafc2033e7ced76
[ "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
4,809
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura The integers, with addition, multiplication, and subtraction. -/ prelude import Init.Data.Nat.Basic import Init.Data.List import Init.Data.Repr import ...
f3c18be8bea793dab12c30b8a82b16dc80ffb43b
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Lean/Message.lean
208b548dd7299486b7bc92be383adc2fdf87f06d
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,481
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Message Type used by the Lean frontend -/ import Lean.Data.Position import Lean.Data.OpenDecl import Lean.Syntax import Lean.MetavarContext ...
50ff8c69e8b28f41db6c2bfbdb61696d89631b71
7920bb65c187f9e7065f47e49b3b60ebe8cfe2c1
/src/utils.lean
5dda575b0f578ab039a12a977781d80211bb3cb3
[]
no_license
ADedecker/grifone-3-16
3357441687acd8e1d8aa0f3eaeab76d69bd46b62
d7cb5a58695203dea6a27fb69067e08eb6a82bad
refs/heads/master
1,679,431,665,551
1,616,077,475,000
1,616,077,475,000
348,148,279
0
0
null
null
null
null
UTF-8
Lean
false
false
2,052
lean
import order.directed import linear_algebra.basic lemma antimono_of_antimono_nat {α : Type*} [preorder α] {f : ℕ → α} (hf : ∀n, f (n + 1) ≤ f n) : ∀ ⦃x y⦄, x ≤ y → f y ≤ f x | n m h := begin induction h, { refl }, { transitivity, exact hf _, assumption } end lemma directed_le_of_monotone {α ι : Type*} [pre...
e7ff1764ad0e60358800d53a5b40879c2c73722f
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/real/cau_seq.lean
205e834413fa51a3b24de2c4acbce3aebb3ab275
[ "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
24,244
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 algebra.order.absolute_value import algebra.big_operators.order /-! # Cauchy sequences A basic theory of Cauchy sequences, used in the construction of the re...
f574f4202a4059a08c29da00d70b87edfac76e40
82e44445c70db0f03e30d7be725775f122d72f3e
/src/group_theory/quotient_group.lean
e715716318fa19baec5322fa0c21da5340b3c74a
[ "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
16,532
lean
/- Copyright (c) 2018 Kevin Buzzard, Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Patrick Massot This file is to a certain extent based on `quotient_module.lean` by Johannes Hölzl. -/ import group_theory.coset /-! # Quotients of group...
18f072c16f814b62fc05b4c8b2e6d2f00d041a04
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_lean_summary/unnamed_295.lean
f20ddce2278964ee2f9d8429fcff5af4699bace0
[]
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
84
lean
variables p q : Prop -- BEGIN example (k : q) : p → q := assume h : p, k -- END
789a59d48b22a1563fc0b29d523f1a9f1776aad7
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/list/min_max.lean
48a3fe3964e2c762d2cde70e6f09f6da86ef9da9
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
11,232
lean
/- Copyright (c) 2019 Minchao Wu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Minchao Wu, Chris Hughes -/ import data.list.basic /- # Minimum and maximum of lists ## Main definitions The main definitions are `argmax`, `argmin`, `minimum` and `maximum` for lists. ...
639ccc8faa4f8ffd023d2cc9d61dcc66c1bc6745
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Data/Json/Printer.lean
62c92ef4331dcfdc9d1d3ba2bb8bf335e9db681d
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,378
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Marc Huisinga -/ prelude import Init.Lean.Data.Format import Init.Lean.Data.Json.Basic namespace Lean namespace Json private def escapeAux (c : Char) (acc : String) : S...
9cd8d8ef2b45cd98947a8629246c0488077b0343
6e9cd8d58e550c481a3b45806bd34a3514c6b3e0
/src/topology/metric_space/basic.lean
b327cf8052818970a805d441f71bda939dd01b36
[ "Apache-2.0" ]
permissive
sflicht/mathlib
220fd16e463928110e7b0a50bbed7b731979407f
1b2048d7195314a7e34e06770948ee00f0ac3545
refs/heads/master
1,665,934,056,043
1,591,373,803,000
1,591,373,803,000
269,815,267
0
0
Apache-2.0
1,591,402,068,000
1,591,402,067,000
null
UTF-8
Lean
false
false
73,430
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel Many definitions and theorems expected on metric spaces are already introduced o...
2064fee87564a044c8c24cf942d00d2669ae94e8
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/topology/topological_fiber_bundle.lean
4ad853853edf9142e507da7204789944dd5d9e83
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
25,557
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.local_homeomorph /-! # Fiber bundles A topological fiber bundle with fiber `F` over a base `B` is a space projecting on `B` for which the fibe...
f384eda292898d7815329b3098293963341b1619
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/homology/augment.lean
3b4d1154223f81d435fec84c4d52e71734abff18
[ "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,072
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.single import tactic.linarith /-! # Augmentation and truncation of `ℕ`-indexed (co)chain complexes. -/ open category_theory open category_th...
33442e8691b0e46956f75060e01d14eaa8b84c44
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/slow/path_groupoids.lean
a0ce90a0a6aa8b3e83948265b90c7f770dfced90
[ "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
24,823
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Jeremy Avigad -- Ported from Coq HoTT definition id {A : Type} (a : A) := a definition compose {A : Type} {B : Type} {C : Type} (g : B → C) (f : A → B) := λ x, g (f x) infi...
b11a9f03cdc65ccc3b192e5ee11ebddbc1b06595
dd4e652c749fea9ac77e404005cb3470e5f75469
/src/mat.lean
3745d60bdefc1932b285127600c169e63513113e
[]
no_license
skbaek/cvx
e32822ad5943541539966a37dee162b0a5495f55
c50c790c9116f9fac8dfe742903a62bdd7292c15
refs/heads/master
1,623,803,010,339
1,618,058,958,000
1,618,058,958,000
176,293,135
3
2
null
null
null
null
UTF-8
Lean
false
false
3,405
lean
import data.matrix.basic data.real.basic universes u v namespace matrix variables {l m n o : Type u} [fintype l] [fintype m] [fintype n] [fintype o] variables {α : Type v} -- TODO: move / generalize in matrix.lean lemma mul_zero' [ring α] (M : matrix m n α) : M.mul (0 : matrix n l α) = 0 := begin ext i j, unf...
28771e760404c07f7f27a977b333600e0929e7e9
54518a41e0f0c03b53f961e37a3ac2fed5cfeaa9
/src/aleph_one.lean
9a38bcd77ac326a7014c23e25bee850941688b62
[ "Apache-2.0" ]
permissive
cipher1024/flypitch
9110cbfc99aa2195fe0a903fffc7034cdb00e87c
357cd9cc344d7b6ea0c1f5d7232956b9ddb39359
refs/heads/master
1,598,733,974,743
1,572,308,681,000
1,572,992,816,000
218,170,521
0
0
Apache-2.0
1,572,308,724,000
1,572,308,723,000
null
UTF-8
Lean
false
false
46,132
lean
import .bvm_extras2 universes u v namespace pSet section open cardinal lemma regularity (x : pSet.{u}) (H_nonempty : ¬ equiv x (∅ : pSet.{u})) : ∃ (y : pSet) (Hy : y ∈ x), ∀ z ∈ x, ¬ (z ∈ y) := begin have := is_epsilon_well_founded x, cases exists_mem_of_nonempty H_nonempty with w Hw, have := this x (subset_s...
f999b73626287ddedb4172e17fd6e2148fb2b7ab
761d983a78bc025071bac14a3facced881cf5e53
/affine/affine.lean
afccc7d9b8adae548ad3f8ee7c70a63b3d247453
[]
no_license
rohanrajnair/affine_lib
bcf22ff892cf74ccb36a95bc9b7fff8e0adb2d0d
83076864245ac547b9d615bc6a23804b1b4a8f70
refs/heads/master
1,673,320,928,343
1,603,036,653,000
1,603,036,653,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,141
lean
import .add_group_action import .g_space tactic.ext import algebra.module linear_algebra.basis universes u v w variables (X : Type u) (K : Type v) (V : Type w) (ι : Type*) [field K] [add_comm_group V] [vector_space K V] abbreviation affine_space (X K V : Type*) [field K] [add_comm_group V] [vector_spa...
b28fa8cf35cbff0c2074a4f7850122bfc2a1df77
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/special_functions/integrals.lean
ad17991a59d8296059500e3b3341129b2ff352c9
[ "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
21,406
lean
/- Copyright (c) 2021 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson -/ import measure_theory.integral.interval_integral import analysis.special_functions.trigonometric.arctan_deriv /-! # Integration of specific interval integrals ...
ad0cfbb8d4b16e87ab4b529f60c0e3a17cd08082
a721fe7446524f18ba361625fc01033d9c8b7a78
/elaborate/concat_empty_nat.stripped.lean
1d0db47081b8737f5108e115675b85b46ae96c79
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
1,407
lean
λ {lst : mylist mynat}, mylist.rec (eq.rec true.intro (eq.rec (eq.refl (empty = empty)) (eq.rec (eq.refl (empty = empty)) (propext {mp := λ (hl : empty = empty), true.intro, mpr := λ (hr : true), eq.refl empty})))) (λ (lst_head : mynat) (lst_tail : mylist mynat) (lst_ih : lst_tail ++ empty = lst_tail), eq.rec true.intr...
0e76e44e5e4670bae87226d37e7c71eb85fe7619
e38d5e91d30731bef617cc9b6de7f79c34cdce9a
/src/core/kan/basic.lean
b2e614f6d2963a9a967c079a5aa50083c6afc424
[ "Apache-2.0" ]
permissive
bbentzen/cubicalean
55e979c303fbf55a81ac46b1000c944b2498be7a
3b94cd2aefdfc2163c263bd3fc6f2086fef814b5
refs/heads/master
1,588,314,875,258
1,554,412,699,000
1,554,412,699,000
177,333,390
0
0
null
null
null
null
UTF-8
Lean
false
false
1,039
lean
/- Copyright (c) 2019 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Author: Bruno Bentzen -/ import ..interval universe variable u -- n-terms of a homogeneous type as iterated function types indexed by I @[simp] def term (A : Type) : Π (n : ℕ), Type | 0 ...
b8593858f1e038ba2863489a6172dca3815e03e3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/polynomial/group_ring_action.lean
cd41f9587ba6ef29d5012976b52f7f92bd659401
[ "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
4,916
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.group_ring_action import algebra.hom.group_action import data.polynomial.algebra_map import data.polynomial.monic import group_theory.group_action.quotient /-!...
8aa21f1db636935acb348d9f31c6725c88927e70
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/wfForIn.lean
054d6630cffdaaf8f86a943f39474d4fc3930e08
[ "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
298
lean
inductive Term where | app (f : String) (args : List Term) def printFns : Term → IO Unit | Term.app f args => do IO.println f for h : arg in args do have : sizeOf arg < 1 + sizeOf f + sizeOf args := Nat.lt_trans (List.sizeOf_lt_of_mem h) (by simp_arith) printFns arg
a050eff851723fddcfdfb673d0fd4d5cc2023c13
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Build/Module.lean
a6eaa7ca049091de110cf8c26bd97f56577a3ba6
[ "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
10,778
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Mac Malone -/ import Lake.Util.OrdHashSet import Lean.Elab.ParseImportsFast import Lake.Build.Common /-! # Module Facet Builds Build function definitions for...
47bc50511124dd535d1642a44a70941f367c6b4d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/products/basic.lean
65d15df5afe92d9437a4d5bdd53c2bec04cdf46b
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
10,651
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison -/ import category_theory.eq_to_hom import category_theory.functor.const import data.prod.basic /-! # Cartesian products of categories We define the ca...
3a0d2438127a7067256acd25299a2f6a20f6952a
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/witt_vector/frobenius_fraction_field.lean
50c4fba3202de132fa0df8eca772abf6a958a50c
[ "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
11,776
lean
/- Copyright (c) 2022 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Heather Macbeth -/ import field_theory.is_alg_closed.basic import ring_theory.witt_vector.discrete_valuation_ring /-! # Solving equations about the Frobenius map on...
f415d0321d0435880e101037f3c796c00e0f5335
d5bef83c55d40cb88f9a01b755c882a93348a847
/tests/lean/run/u_eq_max_u_v.lean
b2e2af918d808ead2dfa44a2b012a4e6999d92df
[ "Apache-2.0" ]
permissive
urkud/lean
587d78216e1f0c7f651566e9e92cf8ade285d58d
3526539070ea6268df5dd373deeb3ac8b9621952
refs/heads/master
1,660,171,634,921
1,657,873,466,000
1,657,873,466,000
249,789,456
0
0
Apache-2.0
1,585,075,263,000
1,585,075,263,000
null
UTF-8
Lean
false
false
3,182
lean
universe variables u v u1 u2 v1 v2 set_option pp.universes true class semigroup (α : Type u) extends has_mul α := (mul_assoc : ∀ a b c : α, a * b * c = a * (b * c)) open smt_tactic meta def blast : tactic unit := using_smt $ intros >> add_lemmas_from_facts >> iterate_at_most 3 ematch notation `♮` := by blast struct...
13d93c3ac540b73ba8d5b66f7d3a3e3340f8738f
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/group/conj.lean
39efac7b61797f86ce5b36e47d26c9aee6ea8a74
[ "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
7,536
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Chris Hughes, Michael Howes -/ import data.fintype.basic import algebra.group.hom import algebra.group.semiconj import data.equiv.mul_add_aut import algebra.group_with...
b32fa6f32ef859fc796d114df09d9f19da5a740a
4f065978c49388d188224610d9984673079f7d91
/linear_algebra/vector_space.lean
0aa65e6d0e4eaaca1bf99aac9f2c1cc85d4747a8
[]
no_license
kckennylau/Lean
b323103f52706304907adcfaee6f5cb8095d4a33
907d0a4d2bd8f23785abd6142ad53d308c54fdcb
refs/heads/master
1,624,623,720,653
1,563,901,820,000
1,563,901,820,000
109,506,702
3
1
null
null
null
null
UTF-8
Lean
false
false
11,505
lean
import algebra.module instance field.to_vector_space {K : Type} [field K] : vector_space K K := ⟨ring.to_module⟩ lemma eq_zero_of_add_self_eq {α : Type} [add_group α] {a : α} (H : a + a = a) : a = 0 := add_left_cancel (by {rw add_zero, exact H}) class subspace (K : Type) (V : Type) [field K] [vector_space K V] (p : ...
c055b9c83aeee4ab6aa9716f3133d53a07158bba
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/section5.lean
dd5575a007aca7b70683f154787aed17597f5f19
[ "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
264
lean
section foo parameter A : Type variable a : A definition foo := a check foo structure [class] point := (x : A) (y : A) end foo check foo attribute [instance] definition point_nat : point nat := point.mk nat.zero nat.zero print classes check point
9b3d735a98f63f54ec5f77df90e1944e99a11293
9e47285bdd500b89455fd905c20aabcd3af1a5cf
/fekete.lean
8b2c844cf4b5e8c3f0ebd5d8e100cf2ca295c916
[]
no_license
akreuzer/feteke-lean
d4ec120e3e7dab9d36681499b239f0e57eb18349
d030101b3ab2aa4155c2aa1a84021e833da3a497
refs/heads/master
1,610,987,214,936
1,490,906,196,000
1,490,906,196,000
86,744,981
0
0
null
null
null
null
UTF-8
Lean
false
false
11,874
lean
/- Copyright (c) Alexander Kreuzer 2016, 2017 LEAN Proof of Feteke's lemma -/ import theories.analysis.real_limit import standard import ak_utils import ak_compat open real nat set rat pnat num classical int analysis open eq.ops open ak set_option pp.coercions true definition subadditive (X : ℕ → ℝ) : Prop := ∀...