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
fdc348b47a305c00bd8f72fce472d6cb1805c9a8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/uniform_space/cauchy.lean
3cde6e975a9d1a4b02e58686e56f33ef16b91de4
[ "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
30,349
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.uniform_space.basic import topology.bases import data.set.intervals /-! # Theory of Cauchy filters in uniform spaces. Complete uniform...
2ef954d844edb7d3bd9adc97eb2817a7141f4fad
aa5a655c05e5359a70646b7154e7cac59f0b4132
/stage0/src/Lean/Elab/Tactic/Match.lean
fdd3cebcc67d2318af15fabffc401e6e229528fe
[ "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
2,184
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.Match import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.Induction namespace Lean.Elab.Tactic structure AuxMat...
d71f958498f01ec6707a60b550c8cf28a5a1dcf2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/heyting/regular.lean
fbacda636ccd0d26f8f3ae79d322be651ee0001c
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
6,592
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.galois_connection /-! # Heyting regular elements This file defines Heyting regular elements, elements of an Heyting algebra that are their own double compl...
06479dd8cab279d3e89bdba3db9c4c243c588c35
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/t14.lean
d2b170c0829f600418d5f8e4ed8b4a53b82aee7a
[ "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
485
lean
prelude namespace foo constant A : Type.{1} constant a : A constant x : A constant c : A end foo section open foo (renaming a->b x->y) (hiding c) check b check y check c -- Error end section open foo (a x) check a check x check c -- Error end section open foo (a x) (hiding c) -- Error end ...
ebbed2f046c806c5b2fad986b76e1f204137a307
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/function/conditional_expectation/real.lean
a93d5a547b9e7ddc10e322ae737ec99d1663fff7
[ "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
19,712
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Kexing Ying -/ import measure_theory.function.conditional_expectation.indicator import measure_theory.function.uniform_integrable import measure_theory.decomposition.radon...
bc21abc1b14179d319c0de7013d30d22ee6be70e
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/limits/shapes/terminal.lean
6785c251e9f3f916bb8c3f00c1fad132d88ff9e8
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
5,211
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.pempty import category_theory.limits.limits /-! # Initial and terminal objects in a category. ## References * [Stacks: Initial and final obje...
326121d4813537785931ab7266e9f054c72f136a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Util.lean
289a098ff25b751c1938328eea2a9cfcae2c7d9f
[ "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
9,983
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.Parser.Command import Lean.KeyedDeclsAttribute import Lean.Elab.Exception namespace Lean def Syntax.prettyPrint (stx : Syntax) : Format := m...
3f2fc74981076784c197600295bd9480b6afe136
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/ring_theory/ideal_operations.lean
40e72caa2ab847c6ce731acf62f1a8656aaa9f42
[ "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
24,843
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....
e827123db5b7d1fe403545716b611f0a14182d1c
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch2/ex0703.lean
f64dc8c84991faa79a9cd00b870776cb5b4b7902
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
49
lean
open list #check nil #check cons #check append
be950c3a659f7bce54fd2d8b9732d9f32d452e58
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_330.lean
70864bffe96830db0363c1c2106f599d6058abed
[]
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
137
lean
import tactic variable {α : Type*} variables (s t u : set α) -- BEGIN example : s ∩ t = t ∩ s := by ext x; simp [and.comm] -- END
02e9dd4d3ad9c5201760ad7ffe0147a6e8800dbf
76ce87faa6bc3c2aa9af5962009e01e04f2a074a
/HW/HW3-key.lean
a99300042785ba9d208c78c5f2cc3f51723f84a6
[]
no_license
Mnormansell/Discrete-Notes
db423dd9206bbe7080aecb84b4c2d275b758af97
61f13b98be590269fc4822be7b47924a6ddc1261
refs/heads/master
1,585,412,435,424
1,540,919,483,000
1,540,919,483,000
148,684,638
0
0
null
null
null
null
UTF-8
Lean
false
false
6,635
lean
/- Produce a proof, pf1, of the proposition that 0 = 0 ∧ (1 = 1 ∧ 2 = 2). -/ lemma pf1 : 0 = 0 ∧ (1 = 1 ∧ 2 = 2) := and.intro rfl (and.intro rfl rfl) /- Produce a proof, pf2, of the proposition that (0 = 0 ∧ 1 = 1) ∧ 2 = 2 -/ lemma pf2 : (0 = 0 ∧ 1 = 1) ∧ 2 = 2 := and.intro (and.intro rfl rfl) rfl /- Produc...
e8c5391168a49c3b5809b2406c304fb393702d6f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/transfer.lean
a4302fd6b9c76ff87d10fbb5665d0d5750a95805
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
7,495
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 (CMU) -/ prelude import init.meta.tactic import init.meta.match_tactic import init.meta.mk_dec_eq_instance import init.data.list.instances import logic.relator open tac...
59be4c8bfa5c62beab09a93486e1ac88eab9b034
367134ba5a65885e863bdc4507601606690974c1
/src/data/polynomial/eval.lean
c5f252ab8e26776cb6510a6cde3d8daa383cf0c7
[ "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
26,299
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.induction import data.polynomial.degree.definitions import deprecated.ring /-! # Theory of univari...
a831cb05c1d18f1ec895603ad517f313fd7b14bf
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/list/sort.lean
4a1bb9136e75317b61cc7e43db8bb65390356cbf
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,792
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Insertion sort and merge sort. -/ import data.list.perm namespace list section sorted universe variable uu variables {α : Type uu} (r : α → α → Prop) def sorted : list ...
9d2e2ab5008f92291cfefcb81be783a7327bd5a0
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/cycle.lean
259637ee19d6430a18f8ae5b21acf62a6b404248
[ "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
29,987
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.multiset.sort import data.fintype.list import data.list.rotate /-! # Cycles of a list Lists have an equivalence relation of whether they are rotationa...
15304ffed0c3705c0c6e5fef31b41997a1d95c55
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/lemmas_for_prime_int.lean
1d7f749ebb80f639e591d90712579e94640220ff
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,116
lean
import data.int.basic import data.int.modeq import data.int.order import algebra.group_power import tactic.ring import chris_hughes_various.zmod open nat --#check int.le --theorem l_to_le {a b : ℤ} (hab : a < b) : a ≤ b := begin --unfold has_le.le, --unfold int.le, --have h1 : b < b+1, by lt_succ_self b, --end defi...
799a6aa18bc827688a00a5522a093122b5d3864d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/geometry/manifold/conformal_groupoid.lean
6a75afe7a26f1bc4a8d88f21c8f45b5b3b12bfcc
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,189
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.calculus.conformal.normed_space import geometry.manifold.charted_space /-! # Conformal Groupoid > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes...
eafd2941b2a72dd3a3ba498e7dd40c407e8d5d12
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/lie/ideal_operations.lean
c557c562c3b76587b4b0b70fc22fbb3b18f5846d
[ "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
14,349
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.submodule /-! # Ideal operations for Lie algebras Given a Lie module `M` over a Lie algebra `L`, there is a natural action of the Lie ideals of `L` on ...
d0c0fa1059ccfeb5e7c199be0cbcec47eb16b4a7
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/sheaves/sheaf.lean
4bff3f4fc034077ae4ec6bacfb99ab66b1d0164f
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
3,522
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.sheaves.sheaf_condition.equalizer_products import category_theory.full_subcategory /-! # Sheaves We define sheaves on a topological space, with valu...
d7739fb7d219a306880a3806c8bf6d01e872af96
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/continuous_function/stone_weierstrass.lean
6ba08ff989c622510c7f324edf760b61a9e2aa4a
[ "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
19,958
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 analysis.complex.basic /-! # The Stone-Weierstrass theorem If a subalgebra `A` of `C(X, ℝ)`,...
b281d7f41ef88577f857c774759ccb1d06e06829
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/st_options.lean
3dcdee85bac2b9aff0b9239394a0cfaccae2560a
[ "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
2,594
lean
set_option structure.eta_thm true set_option structure.proj_mk_thm true structure semigroup [class] (A : Type) extends has_mul A := (mul_assoc : ∀a b c, mul (mul a b) c = mul a (mul b c)) structure comm_semigroup [class] (A : Type) extends semigroup A := (mul_comm : ∀a b, mul a b = mul b a) structure left_cancel_sem...
014b3d1d08d3afd09657d50b173248f8b021b775
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/analysis/topology/compact_open.lean
58f5a5fe1565cb6d26062c63406d0327d885f2f7
[ "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
5,540
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 analysis.topology.continuity tactic.tidy open set universes u v w section locally_compact -- There are various definitions of "locally compact space" in the -- ...
35750468aa9feb49b852f898528716359f372d68
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib.lean
c65d2459a6660e169cb460308fa3b3aaeada10a5
[ "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
1,782
lean
import Mathlib.Algebra.Group.Basic import Mathlib.Algebra.Group.Defs import Mathlib.Algebra.GroupWithZero.Defs import Mathlib.Algebra.Ring.Basic import Mathlib.Data.Array.Basic import Mathlib.Data.ByteArray import Mathlib.Data.Char import Mathlib.Data.Equiv.Basic import Mathlib.Data.Equiv.Functor import Mathlib.Data.Fi...
3c9863c7b3043a5c92ba146bd8a394879611019b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/alexandroff.lean
fc0fae833aaa8c31a4afd1561a9f6fc85f4290ca
[ "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
18,795
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang, Yury Kudryashov -/ import data.fintype.option import topology.separation import topology.sets.opens /-! # The Alexandroff Compactification > THIS FILE IS SYNCHRONIZED WIT...
7137c3becabcfb2a092162ba47e9feef303d0448
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/basis.lean
f5da0f90de12a8e11ce15b55368b4f51c1371006
[ "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
54,253
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 -/ import algebra.big_operators.finsupp import algebra.big_operators.finprod import data.fintype.big_operators import linear_algebra....
bcf765795bdf2b440bb01fb76ccb211dbf1ee266
bd30ef9a38da5172e55165b5cf19d92706763afa
/src/array_group.lean
72eed949de941aec887536110375f8d4a9b0e186
[]
no_license
kendfrey/rubiks-cube-group
8838ce34704d8d150e5feba6f1e536b3d228dd37
3baebd73972384294931c75d584a491eb0fbc15c
refs/heads/master
1,671,557,772,358
1,601,554,362,000
1,601,554,362,000
285,715,961
21
0
null
null
null
null
UTF-8
Lean
false
false
1,021
lean
import algebra.group open array variables {n : ℕ} {α : Type*} [group α] (a b c : array n α) instance : has_mul (array n α) := ⟨array.map₂ (*)⟩ instance : has_one (array n α) := ⟨mk_array n 1⟩ instance : has_inv (array n α) := ⟨flip array.map has_inv.inv⟩ private lemma mul_assoc : a * b * c = a * (b * c) := begin ...
dfae3222a6f2600b160a0793339f23d38a7215e3
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/group_power.lean
54256f15b6f4bcea31626ec9ac752123c3065d4a
[ "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
29,110
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis The power operation on monoids and groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We h...
39b6d268dde3ebe8873b9364283d11e85f8f78de
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/order/well_founded_set.lean
5b090b714432dba21170e6c34fb14b5d9a381f57
[ "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
32,975
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import data.set.finite import order.well_founded import order.order_iso_nat import algebra.pointwise /-! # Well-founded sets A well-founded subset of an ordered typ...
f9ad8f1fb7809c48cd843822941a0b55671a2c1d
3dd1b66af77106badae6edb1c4dea91a146ead30
/library/hott/logic.lean
5c47a79f49f713c40f92c7e64db8f489a2c10567
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
7,314
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 abbreviation id {A : Type} (a : A) := a abbreviation compose {A : Type} {B : Type} {C : Type} (g : B → C) (f : A → B) := λ x, g (f x) infixl `∘`:60 := co...
9176db0972f39046e13cb814e981e4d0bba859c4
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch4/ex0506.lean
1b521dbe3484a2b9d798f12b06e46493af4fa7cd
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
179
lean
variable f : ℕ → ℕ variable h : ∀ x : ℕ, f x ≤ f (x + 1) example : f 0 ≥ f 1 → f 0 = f 1 := assume : f 0 ≥ f 1, show f 0 = f 1, from le_antisymm (h 0) this
fc7ea8683c62d303a384ad6cf5d705dee4c47460
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/analysis/complex/basic.lean
be6a21dbcd34ab1f8f13b7f9c48cf97817572fc2
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
8,485
lean
/- Copyright (c) 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.complex.module import data.complex.is_R_or_C /-! # Normed space structure on `ℂ`. This file gathers basic facts on complex numbers of an analytic natur...
0d28c44cd11da8e9242e5f18c6597341d3766f40
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/homotopy/homotopy_group.hlean
67326016787b5b66891edb05a57f605a05cd8ea1
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
11,657
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Clive Newstead -/ import .LES_of_homotopy_groups .sphere .complex_hopf open eq is_trunc trunc_index pointed algebra trunc nat is_conn fiber pointed unit namespa...
ca35ea672f127d935fe5be0d4ead4aefa7c2e778
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/algebraic_geometry/prime_spectrum.lean
e6223fb1da68219524f40bfdf417481b6eb741ba
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,181
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 topology.opens import ring_theory.ideal.prod import linear_algebra.finsupp import algebra.punit_instances /-! # Prime spectrum of a commutative ring The prim...
6228eb006e93be53c75b3a206bcd612ec3e5d1b9
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/run/structure.lean
e674284fd2835a3b58fe1258fe5502841b61eaa5
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,193
lean
import Lean open Lean structure S1 := (x y : Nat) structure S2 extends S1 := (z : Nat) structure S3 := (w : Nat) structure S4 extends S2, S3 := (s : Nat) def check (b : Bool) : CoreM Unit := «unless» b $ throwError "check failed" class S5 := (x y : Nat) inductive D | mk (x y z : Nat) : D def tst : CoreM Unit :...
5e2441454163f36b57ea17b437f106d70f95cf3f
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/backward_rule1.lean
e5e505dc96b6e2f3034df804324ceb8b1464c2e3
[ "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
206
lean
constants (A B C : Prop) (H : A → B) (G : A → B → C) constants (T : Type) (f : T → A) attribute H [backward] attribute G [backward] attribute f [backward] print H print G print f print [backward]
1b585803c19f267ec1afec3617206b0c4eff41de
022547453607c6244552158ff25ab3bf17361760
/src/measure_theory/borel_space.lean
86c28580f104cab3d0d0f1739137ed740be2ee44
[ "Apache-2.0" ]
permissive
1293045656/mathlib
5f81741a7c1ff1873440ec680b3680bfb6b7b048
4709e61525a60189733e72a50e564c58d534bed8
refs/heads/master
1,687,010,200,553
1,626,245,646,000
1,626,245,646,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
65,100
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, Yury Kudryashov -/ import measure_theory.ae_measurable_sequence import analysis.complex.basic import analysis.normed_space.finite_dimension import topology.G_delta impo...
3f4fa6d320ed7c73bf8f93564ecbf3d376167cfa
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/trace.lean
c164ee18444f2bb539764ef096ef9289e243d927
[ "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
11,305
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen, Antoine Labelle -/ import linear_algebra.matrix.to_lin import linear_algebra.matrix.trace import linear_algebra.contraction im...
138370ec191a79496581b5e11231b92847d3e96c
a6b711a4e8db20755026231f7ed529a9014b2b6d
/ZZ_IGNORE/RAW/02_dm_int/dm_int.lean
7b33b2d6eb1393a7302dccbea58288cce6a3525e
[]
no_license
chaseboettner/cs-dm-1
b67d4a7e86f56bce59d2af115503769749d423b2
80b35f2957ffaa45b8b7a4479a3570a2d6eb4db0
refs/heads/master
1,585,367,603,488
1,536,235,675,000
1,536,235,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
119
lean
import ..dm_nat.dm_nat inductive integer : Type | of_nat : natural → integer | neg_succ_of_nat : natural → integer
b814890d2f0a864cde31929819c2eddace66104e
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/list/perm.lean
fdc7b9051c17da0b1f7959f9a157b2642a72e64c
[ "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
40,948
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura List permutations. -/ import data.list.basic data.list.set open list setoid nat binary variables {A B : Type} inductive perm : list A → list A → Prop := | ni...
2a31f3f1165b3371de8f9b46d04be932bc486f4d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/geometry/manifold/partition_of_unity.lean
8d129b488da36c47455a15acbacc5a18a1baa47b
[ "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
27,475
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import geometry.manifold.algebra.structures import geometry.manifold.bump_function import topology.metric_space.partition_of_unity import topology.shrinking_l...
8fb651024842049bc9a7c4c9a71bf4b22f2e7ad1
5cb186111bc6de231aef3b26698e9235da128bb0
/move.lean
6698ccc913b3cfabb744c51b2b37c7bb268f3044
[]
no_license
Kha/syntax
2f96982b920a24d9bdbbb48ad6acce1817e62f26
af05028581955d9fd5af99be9cbb82f5c9226551
refs/heads/master
1,631,456,662,519
1,523,806,396,000
1,523,978,266,000
110,000,924
1
0
null
null
null
null
UTF-8
Lean
false
false
2,928
lean
-- non-meta instance attribute [derive decidable_eq] name universes u v w namespace name -- TODO: make original non-meta by making decidable_eq instance non-meta def replace_prefix' : name → name → name → name | anonymous p p' := anonymous | (mk_string s c) p p' := if c = p then mk_string s p' else mk...
76a0e015fa0c30242613309f7fddf69a37c895c2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/localization/integer.lean
512ea6a21df5ef57f904f2559690173d3d2bc84f
[ "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,390
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import ring_theory.localization.basic /-! # Integer elements of a localization ## Main definitions * `is_loc...
f9b79f48da13afc752772d9ce2cd12d8bb4394ea
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/polynomial/mirror.lean
16b41f1eea6b0e2bf8662d0fb56052952b08ab19
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,655
lean
/- Copyright (c) 2020 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import algebra.big_operators.nat_antidiagonal import data.polynomial.ring_division /-! # "Mirror" of a univariate polynomial > THIS FILE IS SYNCHRONIZED WITH MAT...
d30007870ce63ad5b2a7ed817478fd4d7780b321
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/fib_brec.lean
ecd88c82bf94278b1096dd2ff54b667d1b4964bd
[ "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
1,091
lean
import data.nat.basic data.prod open prod namespace nat namespace manual definition brec_on {C : nat → Type} (n : nat) (F : Π (n : nat), @nat.below C n → C n) : C n := have general : C n × @nat.below C n, from nat.rec_on n (pair (F zero poly_unit.star) poly_unit.star) (λ (n₁ : nat) (r₁ : C n₁ × @...
379c32ddbeab98f2f637d9b5bff36da4d9fc8b0a
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/multiset/intervals.lean
db4bb4fee79c38aaf4ef0db2a3f4d99ce1afb4e1
[ "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
3,467
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.multiset.nodup import data.list.intervals /-! # Intervals in ℕ as multisets For now this only covers `Ico n m`, the "closed-open" interval containing `[...
e406ac002f9bba156f48c75dac156542340f2b7d
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/geometry/euclidean/monge_point.lean
6fa7a0dc05769c53add54b4470bab095f02d4950
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
38,586
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.circumcenter /-! # Monge point and orthocenter This file defines the orthocenter of a triangle, via its n-dimensional generalization, the Mong...
e43f456acdc5cd2570f9ec7dd78814c353e2f42a
495c02489c2d6a1db94dfdba71dd800d3cc67df2
/group_theory/subgroup.lean
b1ca1c32795e2f6ee596ac11612d0369a7ad181b
[ "Apache-2.0" ]
permissive
leodemoura/leanproved
e0fcbe4f4d72bf0dad9a962ed111b5975cf90712
de56e0af159dd0c0421733289c76aa79c78a0191
refs/heads/master
1,606,822,676,898
1,435,711,541,000
1,435,711,541,000
36,675,856
0
0
null
1,433,178,724,000
1,433,178,724,000
null
UTF-8
Lean
false
false
18,812
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import data algebra.group data open function -- ⁻¹ in eq.ops conflicts with group ⁻¹ -- open eq.ops local notation H1 ▸ H2 := eq.subst H1 H2 open set local attribute set...
8bdd618cabd7cb69a5a83c807fafd0048f396524
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/geometry/manifold/manifold.lean
c8f5500bf58ccf74096fd496ae83c3ba82b09f81
[ "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
26,457
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 /-! # Manifolds A manifold is a topological space M locally modelled on a model space H, i.e., the manifold is covered by op...
7af9e3ddf9a4a4bc87bae3d2b3127dce002eadf5
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/tests/lean/run/1331.lean
31fdcb5e79a853e07f0734894917e455a97d1d9a
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
369
lean
def is_space : char → Prop | #" " := true | #"\x09" := true -- \t | #"\n" := true | #"\x0d" := true -- \r | _ := false instance is_space.decidable_pred : decidable_pred is_space := begin delta is_space, apply_instance end def f (a : nat) : nat := a + 2 open tactic lemma flemma : f 0 = 2 := begin delta ...
ad60b1111aa1dd81bc05da33c1d8eb91f5d162d9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/simpCnstr1.lean
e55b1074b75c30f7a18f097b7100a7c9799fdf06
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,439
lean
import Lean open Lean in open Lean.Meta in def test (declName : Name) : MetaM Unit := do let info ← getConstInfo declName forallTelescope info.type fun _ e => do let some (e', p) ← Linear.simp? e none | throwError "failed to simplify{indentExpr e}" check p unless (← isDefEq (← inferType p) (← mkEq e e'...
95e7bda4f1d3fdd3c98f4bcd362fd7fe7a339ca9
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world2/level4.lean
9b6b9beface84373e3bf6df987748fcc793dc582
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
1,075
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level3 -- hide namespace mynat -- hide /- # World 2 -- Addition world ## Level 4 (boss level) : `add_comm` You are equipped with: * `add_zero (a : mynat) : a + 0 = a` * `add_succ (a b : mynat) : a + succ(b) = succ (a + b)` * `zero_ad...
93285172aa45a1c22e97d38b84c777fa13cdd460
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Server/Snapshots.lean
488fec2aea11462bcb9945fb88edeaf2ab2f1114
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,656
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Init.System.IO import Lean.Elab.Import import Lean.Elab.Command /-! One can think of this module as being a partial reimplementation of Lean.Elab.Fron...
674efd1d9f7295e1e41ab1526d468e8bc979a079
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/inClassNotes/type_library/bool.lean
8e7ffae47e6274cd77efdf6143d63555b5c3b0fc
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
938
lean
#check bnot namespace hidden /- The bool data type is a simple, two-valued (true/false) type. A set of operations is defined on values of this type comprising Boolean algebra. EXERCISE: Complete this file as instructed below. -/ inductive bool : Type | tt | ff /- Note: The identifiers ff and tt without qualifica...
560f3ca63e239f7b461bf48cef625b262ffd1947
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Meta/Basic.lean
3d0d54ce1aa4a2ffd029dd2bf0d353a53724b5b8
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
45,125
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.LOption import Lean.Environment import Lean.Class import Lean.ReducibilityAttrs import Lean.Util.Trace import Lean.Util.RecDepth import Lea...
7c9b1364e629d64799d5c8d2ea1aab0d90583410
23c79f5a2b724d0a6865a697f74bc337c40a1c17
/verified-counting/src/list_lemma.lean
dc60003d1167b2d9458ed97195e6f5e43f984b29
[]
no_license
mukeshtiwari/Puzzles
145e679e637d1c36363c90863cba7c0fda0190b1
4a760e7dc6c65cab0fde86d0296d863c62fdda29
refs/heads/master
1,608,024,738,873
1,607,504,305,000
1,607,504,305,000
5,691,003
0
0
null
null
null
null
UTF-8
Lean
false
false
691
lean
import tactic.find tactic.omega data.vector tactic.basic lemma zip_with_len_l {α β γ : Type*} {l₁ : list α} {l₂ : list β} {f : α → β → γ} (h : list.length l₁ = list.length l₂) : list.length (list.zip_with f l₁ l₂) = list.length l₁ := begin induction l₁ with x xs ih generalizing l₂, {simp [list.zip_wit...
af8e44c2de52e8703e79f87106dec2097bef66b1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/hom/lattice.lean
033a64c543d1556d2c70beb05078c4cd5c0b1c36
[ "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
42,781
lean
/- Copyright (c) 2022 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.lattice import order.hom.bounded import order.symm_diff /-! # Lattice homomorphisms This file defines (bounded) lattice homomorphisms. We use the `f...
73042d04a45a68f821f599d92c152bd829ae7801
7565ffb53cc64430691ce89265da0f944ee43051
/hott/homotopy/freudenthal.hlean
07329ef14e11449e90d95c11aedfa43c1775ccdd
[ "Apache-2.0" ]
permissive
EgbertRijke/lean2
cacddba3d150f8b38688e044960a208bf851f90e
519dcee739fbca5a4ab77d66db7652097b4604cd
refs/heads/master
1,606,936,954,854
1,498,836,083,000
1,498,910,882,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,702
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn The Freudenthal Suspension Theorem -/ import homotopy.wedge homotopy.circle open eq is_conn is_trunc pointed susp nat pi equiv is_equiv trunc fiber trunc_index n...
4efe3846b12e44e616681d48e257869bf353ea29
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/order/complete_lattice.lean
4eff73521275392c184060bedc422524ea588474
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
41,166
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 -/ import order.bounds /-! # Theory of complete lattices ## Main definitions * `Sup` and `Inf` are the supremum and the infimum of a set; * `supr (f : ι → α)` and `in...
1a0c496bd0830fd8e99fcbbb05b1a86fb7c6c447
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/group/integration.lean
1143a97806c65af239036f52e3c6d9b739739a4f
[ "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
8,406
lean
/- Copyright (c) 2022 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.integral.bochner import measure_theory.group.measure import measure_theory.group.action /-! # Integration on Groups We develop properties ...
08283b6675de6683280bd3f7d9eefeae51bebba7
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/InfoTree.lean
0e84967de2c2800a82aaa8869cf177759a9c9b8f
[ "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
15,245
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.Position import Lean.Expr import Lean.Message import Lean.Data.Json import Lean.Meta.Basic import Lean.M...
1a83f71d7723c21f75b0c8932fb5c83734a95b53
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/functor/currying.lean
26a95ef824fa72f0f065bac21f81b0ef9732ab3f
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,017
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.products.bifunctor /-! # Curry and uncurry, as functors. We define `curry : ((C × D) ⥤ E) ⥤ (C ⥤ (D ⥤ E))` and `uncurry : (C ⥤ (D ⥤ E)) ⥤ ((C...
e405bc3677ee5cd8c4dfed20126a65511ecc33b3
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/sheaves/presheaf.lean
f8401c44654dbec2df3db4ff4185ae1dadadc997
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
1,930
lean
/- Presheaf (of types). https://stacks.math.columbia.edu/tag/006D Author: Ramon Fernandez Mir -/ import topology.basic import topology.opens universes u v -- Definition of a presheaf. open topological_space lattice structure presheaf (α : Type u) [topological_space α] := (F : opens α → Type v) (res :...
e2fe4ba0b5a9bacb5104b7361c1b765d7b5a5dd8
4727251e0cd73359b15b664c3170e5d754078599
/src/data/qpf/multivariate/constructions/sigma.lean
98bc5f1c1ace79ced8d4206bbfd119099d8edb79
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,034
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.pfunctor.multivariate.basic import data.qpf.multivariate.basic /-! # Dependent product and sum of QPFs are QPFs -/ universes u namespace mvqpf open_locale m...
9fcb8525bd9c8ea9a4cbedf778fc9216af8a69d4
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/get_free_var_range.lean
4174e3d7d8db8f204899d484cd83b53ff5d22d0f
[ "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
262
lean
-- should be 0 #eval expr.get_free_var_range `(Type) -- should be 2 #eval expr.get_free_var_range (expr.lam `hello binder_info.default `(Type) $ expr.app (expr.var 1) (expr.var 2)) -- should be 3 #eval expr.get_free_var_range (expr.app (expr.var 1) (expr.var 2))
164d0bbe85965b7280fded35f66c65a682c0021b
7cef822f3b952965621309e88eadf618da0c8ae9
/src/group_theory/perm/sign.lean
ccc3f63400670ff72c82dd203eb170c252a8299c
[ "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
32,962
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.fintype universes u v open equiv function fintype finset variables {α : Type u} {β : Type v} namespace equiv.perm def subtype_perm (f : perm α) {p : α → Pr...
f0f419bf6eedd42585c64f97cd2552f9fc791d65
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/group.lean
216472bfea4305a951ab3ed644ac945b5b7944b9
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
24,027
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 Various multiplicative and additive structures. Partially modeled on Isabelle's library. -/ import logic.eq data.sigma data.prod import algebra.binary ...
3a4a4771fc211254800901308ae06e345cb52e22
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/analysis/normed_space/finite_dimension.lean
d01acb2c07f0830a5f3a047d2875710bae4e9e51
[ "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
12,345
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.operator_norm import linear_algebra.finite_dimensional import tactic.omega /-! # Finite dimensional normed spaces over complete fi...
e145e8301d1bf5678ef6a8093d1c4b8556d3f986
a3d3bdc686e1395146a6eecc22431ac7fafb6bc7
/examples/ping_pong_server.lean
33cc85b2b3912b3aaa9ce5f7731781f5b68e11f7
[ "Apache-2.0" ]
permissive
jroesch/net
c66581150cad7fc8f10fe1b5fecdae2912211f75
218eac82ea4a4956f63a01e88dc3d2fbbad406c8
refs/heads/master
1,606,948,723,891
1,499,287,492,000
1,499,287,492,000
96,160,509
0
0
null
null
null
null
UTF-8
Lean
false
false
431
lean
import system.io import ..src.net variable [io.interface] def main : io unit := do io.print_ln "starting ping-pong server ...", listener ← tcp_listener.bind "localhost" 3000, io.print_ln "listening on localhost:3000", io.forever $ do stream ← tcp_listener.accept listener, io.print_ln "...
c982c80fa09f12996b7962e07d1a645b33fe820c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/basic.lean
34396e367320d1faa226494e8a07182262340b0c
[ "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
187,697
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 control.monad.basic import data.nat.basic import order.rel_classes import algebra.group...
543245e315775e623b66471c5b0f39c673cbddea
63abd62053d479eae5abf4951554e1064a4c45b4
/src/field_theory/mv_polynomial.lean
395b6334349f2451df2a77c9661375c1e4aededa
[ "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
3,355
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Multivariate functions of the form `α^n → α` are isomorphic to multivariate polynomials in `n` variables. -/ import linear_algebra.finsupp_vector_space import algebra.c...
3d4671f8e5902e9c8d6dc2957a90f2d5f442fc0e
a51edd9a1700339fa6dc7dc428eb5dfa3994b8bc
/src/misc/keyed_array.lean
4f410c92aa07c64d61aa5583fe7b23bbc0c383ce
[]
no_license
avigad/formal_logic
83f5c0534b3e9e7da53eff01bb82289daad65555
59d7fe7cb7a7927fb72d89d4fd40965bcd769349
refs/heads/master
1,585,302,642,116
1,541,000,469,000
1,541,000,469,000
146,376,915
1
1
null
null
null
null
UTF-8
Lean
false
false
1,645
lean
/- A keyed_array is an array of data, each with a string key. The array index acts as a unique id. The rbmap provides the inverse: given a key, it finds the index. -/ import data.list structure keyed_array (α : Type*) := (size : nat) (array : array size (string × α)) (rbmap : rbmap string nat) namespace keyed_array ...
bb9007b59e49f21d518999f5617f1e671c216ab9
6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1
/ExamPractice/Exam-1-Practice.lean
c2b36419c5b8e62623cbcbbbfdf67e3d45769d7c
[]
no_license
derekjohnsonva/CS2102
8ed45daa6658e6121bac0f6691eac6147d08246d
b3f507d4be824a2511838a1054d04fc9aef3304c
refs/heads/master
1,648,529,162,527
1,578,851,859,000
1,578,851,859,000
233,433,207
0
0
null
null
null
null
UTF-8
Lean
false
false
9,900
lean
/- Grading rubric. 7 points per question up to 100 max. Partial credit by subproblem. -/ /- Note: An incorrect answer above or below a correct answer can cause Lean to be unable to process the correct answer. If you are not able to complete a problem succesfully please comment out your incomplete answer so that we can...
cd5de459a053a5c7f9e472f2ab1dcb715d4efe2d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/set/intervals/image_preimage.lean
bab08e24fcdd84a48295bc65caf261d9719a52df
[ "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
20,625
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Patrick Massot -/ import data.set.intervals.basic import data.equiv.mul_add import algebra.pointwise /-! # (Pre)images of intervals In this file we prove a bu...
38fc8349ca5da6e5975009b6f4c61a9a03b58dae
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/nat/factorial/basic.lean
d9fe35f593f0477eae0dfb20d04739996404adda
[ "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
14,766
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, Floris van Doorn, Yaël Dillies -/ import data.nat.basic import data.nat.pow /-! # Factorial and variants This file defines the factorial, along with the...
76afff6ebf62725b1fa68825963cf5bf52b61d51
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/complex/circle.lean
66aebc42a9920a4a8324b405785cac0e2dc377d1
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,407
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.special_functions.exp import topology.continuous_function.basic import analysis.normed.field.unit_ball /-! # The circle This file defines `circle`...
423376fe19532ee90b643080024fb346391b8920
bf532e3e865883a676110e756f800e0ddeb465be
/data/list/basic.lean
4a6c3acc115ae69e813c294c6a70dbaa09e7e4d0
[ "Apache-2.0" ]
permissive
aqjune/mathlib
da42a97d9e6670d2efaa7d2aa53ed3585dafc289
f7977ff5a6bcf7e5c54eec908364ceb40dafc795
refs/heads/master
1,631,213,225,595
1,521,089,840,000
1,521,089,840,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
126,941
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 Basic properties of lists. -/ import tactic.interactive algebra.group logic.basic logic.function...
84df0c95bfc8cfaeb6e128eff68f4eebe8e1011e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/matrix/hermitian.lean
d2d1767b917d4c0a76c9b710a479f81f3fe24d86
[ "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
8,393
lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import analysis.inner_product_space.pi_L2 /-! # Hermitian matrices This file defines hermitian matrices and some basic results about them. ## Main definiti...
bf47e4bee48c3fb73bb098128612ffb3c8f91f61
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/measurable.lean
6bf30f1d2a32501a7cbdf99f0cf56042621ef2f8
[ "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
219
lean
open prod nat example (a b : nat) : size_of (a, true, bool.tt, (λ c d : nat, c + d), option.some b) = a + b := rfl example : size_of (pair (pair (pair (2:nat) true) (λ a : nat, a)) (option.some (3:nat))) = 5 := rfl
f1b74f388d8dadbb85bd5bd39eb092f76939e1d7
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/logic/examples/negative.lean
e62fdf13430f0edf1f0d16bd7df4c513646ca5fd
[ "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
785
lean
/- This example demonstrates why allowing types such as inductive D : Type := | intro : (D → D) → D would make the system inconsistent -/ /- If we were allowed to form the inductive type inductive D : Type := | intro : (D → D) → D we would get the following -/ universe l -- The new type A axiom D : Ty...
d866331f1ab559f29a528543b9c95faf7b725cb9
5df84495ec6c281df6d26411cc20aac5c941e745
/src/formal_ml/restrict.lean
86846566a239710b69979197b90fdc0903ff0e18
[ "Apache-2.0" ]
permissive
eric-wieser/formal-ml
e278df5a8df78aa3947bc8376650419e1b2b0a14
630011d19fdd9539c8d6493a69fe70af5d193590
refs/heads/master
1,681,491,589,256
1,612,642,743,000
1,612,642,743,000
360,114,136
0
0
Apache-2.0
1,618,998,189,000
1,618,998,188,000
null
UTF-8
Lean
false
false
12,965
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
dfe13acd4595a758fcc6798a0ee4ed4ae176dfad
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/lint/type_classes.lean
c8a778dacc12f76394c67b3ba6a36666328e3c07
[ "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
23,325
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import data.bool.basic import meta.rb_map import tactic.lint.basic /-! # Linters about type classes This file defines several li...
ed2b2ebfe726fcb784c97aaf086ea97d9cb24392
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/init/meta/quote.lean
78e9bbce5bd6450d78b152bf467a29f72c7732c7
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
1,815
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.meta.tactic open tactic meta class has_quote (α : Type) := (quote : α → pexpr) @[inline] meta def quote {α : Type} [has_quote α] : α ...
a7bb0f727b04eb1170eb0b4989ab3e97ccb46b4c
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/topology/order.lean
d1a1c89e6b25dc29942735ca9a6c73820a3eed3a
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,737
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.tactic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. Tha...
d372aad4a64bc5288310289121017e50e56f0f20
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/prime_counting.lean
8a61f224fd7806aac850ac205188024fe1069ab0
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
3,386
lean
/- Copyright (c) 2021 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey -/ import data.nat.prime import data.nat.totient import data.finset.locally_finite import data.nat.count import data.nat.nth /-! # The Prime Counting Function In this f...
26fbac85982f1ebdad97efec32a153d8b3dafdc5
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/algebra/module/pi.lean
4adf5a3c12e0899416a8a2782b68d819fe226410
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,524
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.module.basic import algebra.regular.smul import algebra.ring.pi /-! # Pi instances for module and multiplicative actions This file defines ...
cf9a1c1ade0edf6110835e5833cf6c7953fa7cec
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/category/Cat/limit.lean
d5ece82aebf5ca92af06417ab11e81562810924f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,549
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.category.Cat import category_theory.limits.types import category_theory.limits.preserves.basic /-! # The category of small categories has all ...
c0b1802288d2dd9ff27fed258ca8920203bf6572
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/limits/types.lean
9410c3e4c4b4174adf45a43dd59f60bf956ce808
[ "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
15,017
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton -/ import category_theory.limits.shapes.images import category_theory.filtered import tactic.equiv_rw universes u open category_theory open category_theor...
06f2f30b278b7e4e88c4d145b33ae560bfb1d7d9
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/meta/format.lean
705372a4be98a33a42bb8dd739b12973e4f8d623
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
4,669
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.options init.function universes u v inductive format.color | red | green | orange | blue | pink | cyan | grey meta constant form...
1317a843e37247c27435d5ca1f47f78149bc32b3
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/App.lean
378340ca4c6329c85fe2eba8849408628b4503e5
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
66,434
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.Util.FindMVar import Lean.Parser.Term import Lean.Meta.KAbstract import Lean.Meta.Tactic.ElimInfo import Lean.Elab.Term import Lean.Elab.Binders...
cfd89e188c7201f7c51092ddfbda3a89c3d1f067
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebraic_topology/dold_kan/p_infty.lean
bfdcca8a76d360f10a7c058db206b9db621851c0
[ "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
5,929
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.projections import category_theory.idempotents.functor_categories import category_theory.idempotents.functor_extension /-! # Construction ...
1739a5b427166521cfff74bfab3e9743cf306a14
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/num_bug2.lean
b9c53b3aa1d07534f35c8b243050d8dbc818233a
[ "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
373
lean
import algebra.ring data.num open algebra variable A : Type variable s : ring A variable H0 : 0 = (0:A) -- since algebra defines notation '0' it should have precedence over num variable H1 : 1 = (1:A) -- since algebra defines notation '1' it should have precedence over num example : has_zero.zero A = has_zero.zero A ...
b827c23bea6cf9afbf9ed23a01165168c5eddead
ba4794a0deca1d2aaa68914cd285d77880907b5c
/src/mynat/definition.lean
0aeb2d7885da2d1defbe94a5c0bd94495c352f34
[ "Apache-2.0" ]
permissive
ChrisHughes24/natural_number_game
c7c00aa1f6a95004286fd456ed13cf6e113159ce
9d09925424da9f6275e6cfe427c8bcf12bb0944f
refs/heads/master
1,600,715,773,528
1,573,910,462,000
1,573,910,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
912
lean
import tactic.structure_helper import tactic.less_leaky /- mynat/definition.lean -- definition of mynat. Supplies: constants zero : mynat and one : mynat function S : mynat → mynat notation 0 for zero and 1 for one. The below code will be *invisible to the player* -/ -- definition of "the natural number...
255bd5c9958c749aa5b9d86015e4d90b9db3d192
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_topology/dold_kan/p_infty.lean
9cd1e7881ba99675aacd44978425014cae41fc72
[ "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
7,844
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.projections import category_theory.idempotents.functor_categories import category_theory.idempotents.functor_extension /-! # Construction ...
50b185976a541c1f14270ba9e4d22c347a5f111d
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/data/mv_polynomial/equiv.lean
a1158863d41a6e300b78fb387bc8fc2e43df2069
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,812
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, Johan Commelin, Mario Carneiro -/ import data.mv_polynomial.rename import data.equiv.fin /-! # Equivalences between polynomial rings This file establishes a number o...
213bd1b7c65687149f7c3d7b75aa5a610c59e345
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/universal/monic.lean
bd725f24a9b245f18b340195c048db0322ed6856
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
933
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.limits.equalizers import category_theory.abelian.monic open category_theory open category_theory.limits namespace category_theory.univers...
d1c7dc5cdd16dea7dd31d52bfceff84b226b988d
21ee31472b6ad765d2d9f8f655301d8b6ad921c2
/math/leanprover/lean1.lean
3f750c792a3dc26a06099f54f9dd3043e815d542
[]
no_license
anandijain/learning
2229472c40ca651a20cff9c52dabc3e6c3a8aeca
14c98cb0b89805c74e9e8d1afba7945d69ec4b67
refs/heads/master
1,594,406,566,371
1,586,458,652,000
1,586,458,652,000
204,337,259
0
0
null
null
null
null
UTF-8
Lean
false
false
560
lean
import system.io open io def get_file (fn : io char_buffer): io char_buffer := fs.read_file "/home/sippycups/learning/math/leanprover/" ++ fn def hello_world : io unit := do s <- get_file, put_str s.to_string -- #check (@put_str : string → io unit) -- #check(@get_line : io string) #eval hello_world --...
de25016e4bfa425f7c6e21c4c634daff51fec706
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/theories/analysis/ivt.lean
2894a443b305c127d2e5b1c9a494c52f6d437091
[ "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
11,047
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis The intermediate value theorem. -/ import .real_limit open real analysis set classical noncomputable theory private definition inter_sup (a b : ℝ) (f : ℝ → ℝ) := sup...
0f632127a58aed4af50ec36f44fd870e86e2e10c
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/category/traversable/lemmas.lean
44ad4da0dfb90b987f83f4ad32adf50466567364
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
2,274
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Lemmas about traversing collections. Inspired by: The Essence of the Iterator Pattern Jeremy Gibbons and Bruno César dos Santos Oliveira In Journal of Functional...
16271a2e812a321a9c78f6a9761dea463ee44d26
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/analysis/complex/polynomial.lean
dfd928da51f09dd64eb52f37493a3a96fc5095d6
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
5,972
lean
/- Copyright (c) 2019 Chris Hughes All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.polynomial topology.algebra.polynomial analysis.complex.exponential open complex polynomial metric filter is_absolute_value set lattice namespace complex le...
09f557c45edfc969a630673dac2dba3bcd7afd21
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/linear_algebra/char_poly/basic.lean
d79e7c7c20775d673274d5db9f557815692d4a7a
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,809
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.apply_fun import ring_theory.matrix_algebra import ring_theory.polynomial_algebra import linear_algebra.nonsingular_inverse import tactic.squeeze /-! #...