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
2a0e50cb8a7c63544ed289dd0f9ddaeef51101cd
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/precissues.lean
e77c393dfb26c3b29c31023a5700f8163a127e2f
[ "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
693
lean
#check id fun x => x -- should work #check 0 def f (x : Nat) (g : Nat → Nat) := g x #check f 1 fun x => x -- should fail #check 0 #check f 1 (fun x => x) #check id have True from ⟨⟩; this -- should fail #check id let x := 10; x #check 1 #check id (have True from ⟨⟩; this) #check 0 = have Nat from 1; this #c...
b6ad3c672d15276afa808bc7afc7e432b2b4a854
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/category_theory/punit.lean
6521533720afd23d3ace6c8a7ef558a4e5c056c7
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
1,764
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.const import category_theory.discrete_category import category_theory.equivalence universes v u -- declare the `v`'s first; see ...
b79ac19fc8a960fcd8ae0090e180f5b2c0482de6
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/algebra/algebra/subalgebra.lean
7398aa02f5deefd3f4eddcd5fdf6805bd9b90e6a
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,822
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import algebra.algebra.operations /-! # Subalgebras over Commutative Semiring In this file we define `subalgebra`s and the usual operations on them (`map`, `...
0e5f53f02b9aa5b47018a36ba919c96f306032e6
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/src/Lean/Meta/Tactic/Cases.lean
e1a4dd173f38ef0ab7a3cee8c693bf03bb1f96f7
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,939
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.Meta.AppBuilder import Lean.Meta.Tactic.Induction import Lean.Meta.Tactic.Injection import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Subst...
c87ba253088baa9534fdb00687000336ba73bee8
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/elab8.lean
8e4cfd3921c6680408e58fcc9fe7e53a45e3a9cd
[ "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
376
lean
set_option pp.notation false set_option pp.implicit true set_option pp.numerals false set_option pp.binder_types true check λ (A : Type*) [has_add A] [has_one A] [has_lt A] (a : A), a + 1 check λ (A : Type*) [has_add A] [has_one A] [has_lt A] (a : A) (H : a > 1), a + 1 check λ (A : Type*) [has_add A] [has_one A] [ha...
af0dfd9181bee0b9f41e3fca6e2a13aee0e8a6a1
ddf69e0b8ad10bfd251aa1fb492bd92f064768ec
/src/data/nat/prime.lean
7dc97ff05fcf0f04dca597aead85ad68eae6d0cb
[ "Apache-2.0" ]
permissive
MaboroshiChan/mathlib
db1c1982df384a2604b19a5e1f5c6464c7c76de1
7f74e6b35f6bac86b9218250e83441ac3e17264c
refs/heads/master
1,671,993,587,476
1,601,911,102,000
1,601,911,102,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,033
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.nat.sqrt import data.nat.gcd import algebra.group_power import tactic.wlog /-! # Prime numbers This file deals...
91513c5eca418492a0d2c7a79480a63e09c56a76
0d107d7abd6ae235d586830f8e09b1b30e7eef0b
/src/real_fibonacci/Preloaded.lean
c90bd3a55c5a0488541a86a4b51c9e5897c76169
[]
no_license
ukikagi/codewars-lean
6b9a83ebbb159e7eebf8551b745a1c4d450e747f
1912f2a4e25e917abfce70d65c0469cfac19dc93
refs/heads/master
1,672,948,190,244
1,603,361,004,000
1,603,795,841,000
303,746,208
0
0
null
null
null
null
UTF-8
Lean
false
false
259
lean
import data.real.basic data.nat.fib noncomputable theory def phi : ℝ := ((1 + real.sqrt 5) / 2) def psi : ℝ := ((1 - real.sqrt 5) / 2) def SUBMISSION := ∀ n : ℕ, (nat.fib n : ℝ) = (phi^n - psi^n) / real.sqrt 5 notation `SUBMISSION` := SUBMISSION
da11439eabece3fe5bc93d9bd0b17d45bbbd1fd9
29cc89d6158dd3b90acbdbcab4d2c7eb9a7dbf0f
/Exercises week 3/13_exercise_sheet.lean
2a2996c4a80eed2aeae1144b4128ffdee5303fde
[]
no_license
KjellZijlemaker/Logical_Verification_VU
ced0ba95316a30e3c94ba8eebd58ea004fa6f53b
4578b93bf1615466996157bb333c84122b201d99
refs/heads/master
1,585,966,086,108
1,549,187,704,000
1,549,187,704,000
155,690,284
0
0
null
null
null
null
UTF-8
Lean
false
false
4,615
lean
/- Exercise 1.3: Basics — More Logic and Proofs -/ /- Question 1: Logical symbols -/ /- For all of the following exercises, it can help to unfold the definition of `not`. This can be achieved using the tactic `dunfold not`. -/ /- 1.1. Prove the following propositions, using whichever style you prefer. -/ example (p...
963a8ae6fc945ee5af68efc4cd18e0a4ee70a194
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/group/prod.lean
9e84e468f01ffbe8302c870fdca123f6e6e54b1e
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
15,723
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.constructions.prod import measure_theory.group.measure /-! # Measure theory in the product of groups In this file we show properties about ...
8c2e3497c498f8f12c89ac506d3e96d1c7ae223f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/localized/import2.lean
84bd8c5ee1097123dfa887c4c26a553944b7fe9b
[ "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
89
lean
import tactic.localized open tactic nat localized "infix ` ⊹ `:59 := nat.add" in nat
437255d3126d87c4a1ea7be5d0b2871d39d3572b
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/category_theory/abelian/exact.lean
8bef5d96bd8f823fece77381b7ba3b174aeb3f46
[ "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
2,417
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.abelian.basic import algebra.homology.exact /-! # Exact sequences in abelian categories We prove that in an abelian category, `(f, g)` is exact...
6da464eda34039fc8a6822389685f6a6ba8380cb
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0703.lean
f8c996482b21fd6ebde56fdef70fc2d27008a504
[]
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
138
lean
variables (x y z : ℕ) (p : ℕ → Prop) example (h : p ((x + 0) * (0 + y * 1 + z * 0))) : p (x * y) := by { simp at h, assumption }
bb3a5ec2bae5befba4ec410882fa71f01789f206
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Elab/BuiltinTerm.lean
2fe0bd26642d31d21d9a515db8b9cf7a1cc475b1
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
8,534
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Term namespace Lean.Elab.Term open Meta @[builtinTermElab «prop»] def elabProp : TermElab := fun _ _ => return mkSort levelZero privat...
559ab40d0ee8ca0a3d65d788221d3de867e7223e
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Compiler.lean
b4e6d4fada6cf37b0c0e34689b39beb96dd94528
[ "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
481
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Lean.Compiler.InlineAttrs import Init.Lean.Compiler.Specialize import Init.Lean.Compiler.ConstFolding import Init.Lean.Compiler.ClosedTe...
9a8037988901f7a1e0bff6c637c67f12e5b1a7e1
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/euclidean/basic.lean
10f68e4478f9e6c6287c4b8cccb03953217af41e
[ "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
56,066
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Manuel Candales -/ import analysis.inner_product_space.projection import analysis.special_functions.trigonometric.inverse import algebra.quadratic_discriminant import linea...
2a5d987e717399c654e5cf4ee362cf635419e845
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/defaulValueParamIssue.lean
2df174e0ebac2386309d6a3747d03aa97ff77912
[ "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
125
lean
structure Something (i: Nat) where n1: Nat := 1 n2: Nat := 1 + i def s : Something 10 := {} example : s.n2 = 11 := rfl
e2785864d229fc4fc9219660cbc922ab9a8f87a4
d534932ed7c1eba03b537c377a4f8961acd41e99
/examples/gethostname/Main.lean
a25ba1033c465cecb72889c0699a6545835b5e64
[ "Apache-2.0" ]
permissive
Adminixtrator/lean4-socket
d7e321d547df6545d0c085d310be8f2c41c44ddb
b313041f2e75f4ad8320ab66d7e2afafd2202318
refs/heads/main
1,692,582,696,753
1,633,439,398,000
1,633,439,523,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
222
lean
/- Copyright (c) 2021 Xubai Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xubai Wang -/ import Socket def main : IO Unit := do IO.println (← hostName)
4b5d279f01fdb5cbc799ed3e4aa22f8abb697938
618003631150032a5676f229d13a079ac875ff77
/src/topology/uniform_space/separation.lean
a95b4d7e36ee0b97255ea2135846e4d524b12b50
[ "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
13,806
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, Patrick Massot Hausdorff properties of uniform spaces. Separation quotient. -/ import topology.uniform_space.basic open filter topological_space set classical open_lo...
9269400724f1480553061289cea87fcea0f2b18c
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/norm.lean
d8637f103a93899b5614fe5073258b268b2f0677
[ "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
15,148
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import field_theory.primitive_element import linear_algebra.determinant import linear_algebra.finite_dimensional import linear_algebra.matrix.charpoly.minpoly import linea...
f46fc07deaa3dc932fcc4e7b2129913f36a42dad
359199d7253811b032ab92108191da7336eba86e
/src/instructor/lectures/lecture_9.lean
6d75a1cf814c5454bfcd66ae9b2f5eda25ef4025
[]
no_license
arte-et-marte/my_cs2120f21
0bc6215cb5018a3b7c90d9d399a173233f587064
91609c3609ad81fda895bee8b97cc76813241e17
refs/heads/main
1,693,298,928,348
1,634,931,202,000
1,634,931,202,000
399,946,705
0
0
null
null
null
null
UTF-8
Lean
false
false
10,068
lean
/- Negation -/ /- Given an proposition, P, we can form a new proposition, usually written as ¬P, which we pronounce as "not P," and which we define in such as way as to assert that P is not true. -/ /- So what does it mean when we say that *it is true that P is not true*? Or, equivalently, "it is true that P is fals...
a5cbbe4cf904052357ef9e9a51247459bf2388e7
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/Zmod1.lean
a227e106f4982bb4062c4a486096173f27802738
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
18,280
lean
import .lagrange_four_square tactic.ring data.set.finite .int_gcd data.int.modeq data.int.basic data.nat.modeq data.equiv data.fintype data.nat.prime data.nat.gcd tactic.norm_num group_theory.order_of_element universe u local attribute [instance, priority 0] classical.prop_decidable open int int.modeq @[reducible] def...
3d39b913cf0278354a8ae77a74f11feb6161f7af
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/finsupp/to_dfinsupp.lean
ac7b565f720279840f760b553982437d75593902
[ "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,430
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.dfinsupp.basic import data.equiv.module import data.finsupp.basic /-! # Conversion between `finsupp` and homogenous `dfinsupp` This module provides conversion...
80469d96dc87ff477e7a0c3c8a9ad3c89b9accd4
0003047346476c031128723dfd16fe273c6bc605
/src/data/fintype.lean
bc90809acef6e3d318b8d395f248a5734c15bc03
[ "Apache-2.0" ]
permissive
ChandanKSingh/mathlib
d2bf4724ccc670bf24915c12c475748281d3fb73
d60d1616958787ccb9842dc943534f90ea0bab64
refs/heads/master
1,588,238,823,679
1,552,867,469,000
1,552,867,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,945
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset algebra.big_operators data.array.lemmas data.vector2 data.equiv.encodable universes u v variables {α : Type*} {β : Type*} {γ : Type*...
33d4512b27da812a6462a79822e85501cd147fd4
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/data/zmod.lean
c77bbb2eaa7c1fc542915c020bd93cd834a953dc
[ "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
9,569
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import data.int.modeq data.int.gcd data.fintype data.pnat open nat nat.modeq int def zmod (n : ℕ+) := fin n namespace zmod instance (n : ℕ+) : has_neg (zmod n) := ⟨λ a...
3b6e917f6dfa288f5ff3868308854e558a3f6b18
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/witt_vector/defs.lean
13381a39a2181a65fc6cb525027a45c46de6af8f
[ "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
11,675
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import ring_theory.witt_vector.structure_polynomial /-! # Witt vectors In this file we define the type of `p`-typical Witt vectors and ring operat...
ecae2eacdc5b56aef1040c196d2c8f739cc7b87f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/LBool.lean
978a0606f887ec1bc9721be0944ec0efb857c317
[ "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
812
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 -/ namespace Lean inductive LBool where | false | true | undef deriving Inhabited, BEq namespace LBool def neg : LBool → LBool | true => false ...
444572888c2eda02bfda3a8a1cb3add3fd7182d4
4fa161becb8ce7378a709f5992a594764699e268
/src/linear_algebra/lagrange.lean
59dde6975a1d0a8dad3dcb55dd8bf450212ce0dd
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
6,970
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau. -/ import ring_theory.polynomial algebra.big_operators /-! # Lagrange interpolation ## Main definitions * `lagrange.basis s x` where `s : finset F` and `x : F`: the Lagrange b...
89803bd904c2d4dede297d309dfeb80172227a86
737dc4b96c97368cb66b925eeea3ab633ec3d702
/src/Lean/Meta/DiscrTree.lean
d17d5dff16eea50fdc044b01ef40df5830660b77
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,210
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Basic import Lean.Meta.FunInfo import Lean.Meta.InferType import Lean.Meta.WHNF namespace Lean.Meta.DiscrTree /- (Imperfect) discriminat...
ffd89fd137d2b0522318672cc10525795ea64aae
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/group_theory/group_action/group.lean
0f58233e8946330dcbcb0a41e50744a5f1d189cc
[]
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
5,102
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.group_theory.group_action.defs import Mathlib.algebra.group.units import Mathlib.algebra.group_...
d1e17176883f6c6f2905e7bc657d0467e3c73d88
ae2b6c12c0588329ee57823e19c1f62094f1f735
/primes_infinite.lean
1b84de6f6eafea8cfeb747605cf723225ad8636d
[]
no_license
LeonardoRiojaMachineVentures/LeanProof
a9aff198061d165cf9ed20920308ee062f464206
963c650b5ceb17124f2ea91bb0d9a47af4e187d7
refs/heads/main
1,689,375,079,683
1,629,854,076,000
1,629,854,076,000
399,635,851
0
0
null
null
null
null
UTF-8
Lean
false
false
1,119
lean
import data.nat.prime -- import the theorems you want to use import tactic.linarith -- import the previous line to use tactics you want open nat -- use natural numbers theorem infinitude_of_primes : ∀ N, ∃ p ≥ N, prime p := --for any natural number n you pick, there exists a natural number p, which is prime begin ...
8f59be161b2954853cbe822bac5647ad1c267c14
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Util.lean
7b8b84db3342fb1b08bf011f9b8ecfd7967e9e5d
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
679
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.CollectFVars import Lean.Util.CollectLevelParams import Lean.Util.CollectMVars import Lean.Util.FindMVar import Lean.Util.MonadCache import...
d98dbcc304cfbd79ab4af20566ad789ae4488533
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/check_constants.lean
10eec90e045e0988d0541eda384947fc65ef6744
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
14,353
lean
-- DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py import smt system.io open tactic meta def script_check_id (n : name) : tactic unit := do env ← get_env, (env^.get n >> return ()) <|> (guard $ env^.is_namespace n) <|> (attribute.get_instances n >> return ()) <|> fail ("identifier '" +...
de1517cda5557faacf00a2cfd8d309806fa336cd
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/analysis/complex/exponential.lean
947f37097cf18f5f5692afd7b37397746f34c4a4
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
60,483
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 topology.instances.complex tactic.linarith data.complex.exponential group_theory.quotient_group topology.metr...
cb863da58ef4d4e9411f765f26116b6a8d8afe15
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/submonoid/pointwise.lean
4da829732cdca8e17790626bc39a5b1dec784f63
[ "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
18,206
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.set.pointwise import group_theory.submonoid.membership /-! # Pointwise instances on `submonoid`s and `add_submonoid`s This file provides: * `submonoid.has_in...
bd7fc7f158ed5c9d2a9ced6a29c268b40484315b
5719a16e23dfc08cdea7a5bf035b81690f307965
/src/Init/Lean/Parser/Level.lean
1831a1d2cab0d83438c608d7f5f8056a7eb8830a
[ "Apache-2.0" ]
permissive
postmasters/lean4
488b03969a371e1507e1e8a4df9ebf63c7cbe7ac
f3976fc53a883ac7606fc59357d43f4b51016ca7
refs/heads/master
1,655,582,707,480
1,588,682,595,000
1,588,682,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,009
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Parser.Parser namespace Lean namespace Parser @[init] def regBuiltinLevelParserAttr : IO Unit := registerBuilt...
65dc138418ef50825163630b44f747bf65d52b14
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Tactic/Cases.lean
66c9aa4898cfddbb13b21940ca9661875875f750
[ "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
16,985
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.Meta.AppBuilder import Lean.Meta.Tactic.Induction import Lean.Meta.Tactic.Injection import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Subst...
ba767dbc51311b58e7182646e2d74114d4ebe648
4727251e0cd73359b15b664c3170e5d754078599
/test/monotonicity.lean
afde3d080330efb916ccdcb9b59b78892a964a05
[ "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,631
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.monotonicity import tactic.norm_num import algebra.order.ring import measure_theory.measure.lebesgue import measure_theory.function.locally_integrable import ...
ced45ee7f9bb57e4f63d5857b0ca330516f6599b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/nat_antidiagonal_auto.lean
746537ebc64abeb64cb44a5e4a670369bbd2e42c
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,484
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.nodup import Mathlib.data.list.nat_antidiagonal import Mathlib.PostPort name...
a056f0d9916eb5a42ed4da6e483e9064d10e50d8
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/compiler_bug3.lean
705193fd640c1597cdf319e8a94ee53709fc2afe
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
276
lean
inductive tree (A : Type*) | 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
be0fd57c32f582667c4a1e3e20549f3155cab1c4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/no_confusion_type.lean
8ebeae044dd1302b4acfeef0bbad07470c8c37e0
[ "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
323
lean
-- open nat inductive vector (A : Type) : nat → Type | vnil : vector nat.zero | vcons : Π {n : nat}, A → vector n → vector (succ n) check vector.no_confusion_type constants a1 a2 : num constants v1 v2 : vector num 2 constant P : Type eval vector.no_confusion_type P (vector.vcons a1 v1) (vector.vcons a2 v2)
3a7481bba049e718d812a39187db2cdc7959f848
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/full.lean
508e778d32ec753c6257047a5686efb2d6006929
[ "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
130
lean
import standard namespace foo variable x : num.num check x using num check x set_option pp.full_names true check x end
15c08bb4ec1ed4b8a66190cbb6a695201e60c347
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/set/basic.lean
7f0a951a4860b3ebb0cd043812af5cacad2667fe
[ "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
24,824
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Leonardo de Moura -/ import tactic.finish namespace set universes u v w x variables {α : Type u} {β : Type v} {γ : Type w} {ι : Sort x} instance : inhabited (set α) := ⟨...
013408cb41fd79d407845410d36f12d43f706cda
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/set_family/compression/uv.lean
cdd5f6220c2e13367f8d0a8f46d4acdfc84932dc
[ "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,900
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import data.finset.card /-! # UV-compressions This file defines UV-compression. It is an operation on a set family that reduces its shadow. UV-compressin...
21e824344dc410335d5fabc2b63afe199e5f6c7c
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Elab/Definition.lean
0f8e4b4be7d4a8637bb261a0cc26ecf61f0ff3aa
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,441
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Util.CollectLevelParams import Init.Lean.Util.CollectFVars import Init.Lean.Elab.DeclModifiers import Init.Lean....
3d16a8c624e1a39f07bd622fb6bcd3ed1f5d480c
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/order/filter/at_top_bot.lean
07b0a568b49dc56c9b0d8e77bec364844fcc206f
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
22,786
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, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ import order.filter.basic /-! # `at_top` and `at_bot` filters on preorded sets, monoids and groups. In this file we ...
9bb72a832284948f08e823330ecd045cfc5fc778
4fa161becb8ce7378a709f5992a594764699e268
/src/ring_theory/ideal_operations.lean
8eeddb3e3546a73a5ad81db0bd3d8d3dcdc7b2d4
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
34,419
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 data.nat.choose import data.equiv.ring import ring_theory.algebra_operations universes u v w x open_locale big_operators names...
95dfc29590014b9c84aec317f6dd1e51e9f85fad
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/simple_module.lean
80a8850036a721f0a832588d4a9daf5dbfa808f3
[ "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
5,320
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors : Aaron Anderson -/ import linear_algebra.basic import order.atoms /-! # Simple Modules ## Main Definitions * `is_simple_module` indicates that a module has no proper submodules ...
7664ffed5c92bbe6d5867df356988630b7e81175
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/cone_category.lean
f6ff043646828633dd22d8458e5e73d4b89b9e6f
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,296
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.limits.preserves.shapes.terminal /-! # Limits and the category of (co)cones This files contains results that stem from the limit API. For the def...
718a1c54ee343faa1d6306d3fd154e2d5b8f8a89
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/valuation/basic.lean
bade5ec815bf0e462fa5c247680e8c5b226da22a
[ "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
30,073
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Johan Commelin, Patrick Massot -/ import algebra.order.with_zero import algebra.punit_instances import ring_theory.ideal.operations /-! # The basics of valuation theo...
94dfe965aae6514fd76126b67bc8b427c05277a9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/398c.lean
f58eb7034957afab3b7fc2e41ecae7e31957ae74
[ "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
222
lean
class ring (α) extends has_one α variables (α : Type) [ring α] set_option trace.class_instances true -- this should only synthesize `has_one α` once, -- the second time it should already be cached #check (1 : α) = 1
10bf19fe51d0f69bbaacfd9b308ea7c2a53d7a07
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/set/countable.lean
acd27ccc4872c3df495339846b47bbc96a16723f
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
8,497
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import data.equiv.list import data.set.finite /-! # Countable sets -/ noncomputable theory open function set encodable open classical (hiding some) open_locale clas...
d557ff50dd36ac7d132624431b58406d83afa415
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/grade.lean
9d693b59419ca1e0c554838ef9d75889269004eb
[ "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
12,695
lean
/- Copyright (c) 2022 Yaël Dillies, Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Violeta Hernández Palacios, Grayson Burton, Vladimir Ivanov -/ import data.finset.basic import data.int.succ_pred /-! # Graded orders This fil...
98e7fec515291525089ac91128e97c388776050d
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/linear_algebra/basic.lean
eee4ee74ec96601d235b84b3f382825b408d7b99
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
106,452
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov, Frédéric Dupuis, Heather Macbeth -/ import algebra.big_operators.pi import algebra.module.hom import algebra.module.pr...
3463d5969aee21bab9574d7536804f32455201b3
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/char_poly/coeff.lean
19f1a854cb67563251295673d3b5d78b001c4ecc
[ "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
9,301
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson, Jalex Stark. -/ import data.matrix.char_p import linear_algebra.char_poly import linear_algebra.matrix import ring_theory.polynomial.basic import algebra.p...
edc86362f6174ee6ce51104773663622bec67b53
fe84e287c662151bb313504482b218a503b972f3
/src/combinatorics/binomial_sum.lean
28535086675bf21e446f17baaab3b640bd17119e
[]
no_license
NeilStrickland/lean_lib
91e163f514b829c42fe75636407138b5c75cba83
6a9563de93748ace509d9db4302db6cd77d8f92c
refs/heads/master
1,653,408,198,261
1,652,996,419,000
1,652,996,419,000
181,006,067
4
1
null
null
null
null
UTF-8
Lean
false
false
2,025
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import data.nat.choose import algebra.prod_equiv import tactic.squeeze /- Consider the identity (choose n k) = (choose k-1 k-1) + (choose k k-1) + ... + (choo...
6b5dde0126a5ea4362151c91d4d59349569e587d
5c5878e769950eabe897ad08485b3ba1a619cea9
/src/categories/universal/default.lean
1fddbecab70bad2260af77bf8de6a3d085179a09
[ "Apache-2.0" ]
permissive
semorrison/lean-category-theory-pr
39dc2077fcb41b438e61be1685e4cbca298767ed
7adc8d91835e883db0fe75aa33661bc1480dbe55
refs/heads/master
1,583,748,682,010
1,535,111,040,000
1,535,111,040,000
128,731,071
1
2
Apache-2.0
1,528,069,880,000
1,523,258,452,000
Lean
UTF-8
Lean
false
false
6,328
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 .cones open category_theory open category_theory.initial namespace category_theory.universal /- We give "explicit" definitions of (co)eq...
b3f3c126d8cbbe5c4a9fa7949d6eb753587332f8
271e26e338b0c14544a889c31c30b39c989f2e0f
/tests/bench/parser.lean
5d5a5561e200c025f25048521b072f0628f7dbde
[ "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
226
lean
import Init.Lean.Parser def main : List String → IO Unit | [fname, n] => do env ← Lean.mkEmptyEnvironment; n.toNat.forM $ fun _ => Lean.Parser.parseFile env fname *> pure (); pure () | _ => throw "give file"
da2cb6ba5e9bac31a27a4bcde99041241da988fb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/catalan.lean
484d6028787cf8284ea3a5161d62b20048924cdd
[ "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,897
lean
/- Copyright (c) 2022 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import algebra.big_operators.fin import algebra.big_operators.nat_antidiagonal import algebra.char_zero.lemmas import data.finset.nat_antidiagonal import data...
cceb3679db402d288f6c1f1f72c4c69a0f3962b5
675b8263050a5d74b89ceab381ac81ce70535688
/src/analysis/normed_space/inner_product.lean
4b932a7bf89197a0b0bca1a068ed9e52a42c53c4
[ "Apache-2.0" ]
permissive
vozor/mathlib
5921f55235ff60c05f4a48a90d616ea167068adf
f7e728ad8a6ebf90291df2a4d2f9255a6576b529
refs/heads/master
1,675,607,702,231
1,609,023,279,000
1,609,023,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
80,373
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Sébastien Gouëzel, Frédéric Dupuis -/ import linear_algebra.bilinear_form import linear_algebra.sesquilinear_form import analysis.special_functions.pow import topology.m...
1646b9ad0db6ce3c4e1a41affcb7cc59f249b667
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/445.lean
a5c19831aa4630d40d60b163d0a1098ba2e75043
[ "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,605
lean
import Lean def f : Nat → Bool | 0 => true | n + 1 => (match n with | 0 => true | _ + 1 => true) && f n def g (i j : Nat) : Nat := if i < 5 then 0 else match j with | Nat.zero => 1 | Nat.succ j => g i j def h (i j : Nat) : Nat := i + match j with | Nat.zero => 1 | Nat.succ j => h i ...
9bd06ca860ef125bdc074086d7233e243581076d
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/unused_univ.lean
0077e4f3d9a7d92e22102a6bb638189031a49244
[ "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
284
lean
new_frontend variable (y : Nat) def f.{u} (x : Nat) : Nat := -- error unused universe parameter 'u' x universes u def f.{v, w} (α : Type v) (a : α) : α := -- error unused universe parameter 'w' a axiom f.{w} (α : Type u) (a : α) : α -- error unused universe parameter 'w'
9120ce126046d387fafed7eeaea0ae9bd4a186be
1cc8cf59a317bf12d71a5a8ed03bfc1948c66f10
/src/problem_sheets/sheet_1/sht01Q02.lean
6f73523fa67b54a19cc9e3936aa01f45b7acecaf
[ "Apache-2.0" ]
permissive
kckennylau/M1P1-lean
1e4fabf513539669f86a439af6844aa078c239ad
c92e524f3e4e7aec5dc09e05fb8923cc9720dd34
refs/heads/master
1,587,503,976,663
1,549,715,955,000
1,549,715,955,000
169,875,735
1
0
Apache-2.0
1,549,722,917,000
1,549,722,917,000
null
UTF-8
Lean
false
false
3,240
lean
import data.real.basic tactic.linarith open real -- a non-empty bounded-above set S has a max iff sup(S) is in S theorem Q2d (S : set ℝ) (h1 : ∃ s, s ∈ S) (h2 : ∃ B, ∀ s ∈ S, s ≤ B) : (∃ m ∈ S, ∀ s ∈ S, s ≤ m) ↔ real.Sup S ∈ S := begin let t := Sup S, -- let's get the key fact about t before we start, namely that...
b888540ba691ab6a3b15ae9ee97b6385191fcdc4
2fbe653e4bc441efde5e5d250566e65538709888
/src/topology/metric_space/emetric_space.lean
69783bcdc017b853e0b12e105dd1504fe216d1da
[ "Apache-2.0" ]
permissive
aceg00/mathlib
5e15e79a8af87ff7eb8c17e2629c442ef24e746b
8786ea6d6d46d6969ac9a869eb818bf100802882
refs/heads/master
1,649,202,698,930
1,580,924,783,000
1,580,924,783,000
149,197,272
0
0
Apache-2.0
1,537,224,208,000
1,537,224,207,000
null
UTF-8
Lean
false
false
38,801
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import data.real.nnreal data.real.ennreal import topology.uniform_space.separation topology.u...
e5838da929848607c0068eec699e6385a0cdfee9
f5373ccdc976e6390397d9f4220a74c76f706f4a
/src/lean_gym/api.lean
e15eed2300f893d2b308c8d0755d03a7042e3c5b
[]
no_license
jasonrute/lean_gym_prototype
fcd91fdc454f9e351bbe258c765f50276407547e
ab29624d14e4e069e15afe0b1d90248b5b394b86
refs/heads/master
1,682,628,526,780
1,590,539,315,000
1,590,539,315,000
264,938,525
3
0
null
null
null
null
UTF-8
Lean
false
false
916
lean
/- Tactic grammer -/ meta inductive lean_tactic | skip | apply (sexp : string) | cases (sexp : string) | intro | split | left | right | exfalso /- Manually change the state -/ meta inductive lean_state_control /- -/ | jump_to_state (state_index : nat) | change_top_goal (sexp : string) | change_top_goal_pp (sexp : str...
5114a8cc55a88cffa8b153fa2f551701d2af7141
4727251e0cd73359b15b664c3170e5d754078599
/src/model_theory/graph.lean
e5d2763808457af7507874ec63395cf1752cf9e2
[ "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,700
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.satisfiability import combinatorics.simple_graph.basic /-! # First-Ordered Structures in Graph Theory This file defines first-order languages, st...
84e590421b12c52330c7f979c7d8f8326ac8dba9
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/manyAritySyntax.lean
d5aa87be436fe8b5ac9cd1ac441ce4d1fd3ad800
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
142
lean
syntax "enum" ident " where " ("|" ident)* : command macro_rules | `(enum $id where $[| $ids ]*) =>`(inductive $id where $[| $ids:ident ]*)
ee3d60becc56d4e45ece35f9ceba4a4c0253779a
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/common/cairo_secp/verification/verification/signature_recover_public_key_ec_add_soundness.lean
6129eded22cc763323977a1738d9553d1604b626
[]
permissive
starkware-libs/formal-proofs
d6b731604461bf99e6ba820e68acca62a21709e8
f5fa4ba6a471357fd171175183203d0b437f6527
refs/heads/master
1,691,085,444,753
1,690,507,386,000
1,690,507,386,000
410,476,629
32
9
Apache-2.0
1,690,506,773,000
1,632,639,790,000
Lean
UTF-8
Lean
false
false
22,202
lean
/- File: signature_recover_public_key_ec_add_soundness.lean Autogenerated file. -/ import starkware.cairo.lean.semantics.soundness.hoare import .signature_recover_public_key_code import ..signature_recover_public_key_spec import .signature_recover_public_key_fast_ec_add_soundness import .signature_recover_public_key_i...
ab24ff32b3bf58908dde9563f17d00f72821bd4c
03bd658c402412f41d3026d1040ee8ca8c0fc579
/src/list/lemmas/simple.lean
ef6d3b8c3e4f039c05d54f4ec80a97187105e500
[]
no_license
ImperialCollegeLondon/dots_and_boxes
c205f6dbad8af9625f56715e4d1bed96b0ac1022
f7bd0b1603674a657170c5395adb717c4f670220
refs/heads/master
1,663,752,058,476
1,591,438,614,000
1,591,438,614,000
139,707,103
2
0
null
null
null
null
UTF-8
Lean
false
false
13,270
lean
import data.list.basic tactic.linarith import tactic.omega tactic.apply open list /- cons -/ /-- (a::L) is the same as [a] ++ L-/ lemma cons_eq_sing_append {α : Type*} {L : list α } (a : α ): (a::L) = [a] ++ L := by refl -- true by definition of append /- bind -/ /--list.bind of two lists is the second appended ...
d842461340b039507fa1fcd2e63db6e1ef142afd
4fa161becb8ce7378a709f5992a594764699e268
/src/analysis/normed_space/finite_dimension.lean
b1e67947d86662a60e8ea9f9e33c40b8164934fd
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
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...
414a1e2848518cfa4913993342b7f468364eaab1
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/tacUnsolvedGoalsErrors.lean
ffc8605f23176dd075d1de54eb8f400b319d1891
[ "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
682
lean
theorem ex1 (p q r : Prop) (h1 : p ∨ q) (h2 : p → q) : q := have : q := by -- Error here skip by skip -- Error here skip theorem ex2 (p q r : Prop) (h1 : p ∨ q) (h2 : p → q) : q := have : q := by { skip } -- Error here by skip -- Error here skip theorem ex3 (p q r : Prop) (h1 : p ∨ q) (h2 ...
e7dfc1bce57231b653cdd3b1b6e9f7082e8096d7
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/lean/compiler/namemangling.lean
28909d5ce7001b7cec06f219717093969a538d97
[ "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
1,470
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.lean.name namespace Lean private def String.mangleAux : Nat → String.Iterator → String → String | 0 it r := r | (i+1) it r := let ...
21a5d23d7cff7b703d52a30f51e18898f695462d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/sigma/basic.lean
812241abafcb01ceefd85af69266ffcd37e844cd
[ "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,190
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 meta.univs import tactic.lint import tactic.ext import logic.function.basic /-! # Sigma types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com...
a01f3cf4221427097c646f7d5a759d8be6bc2c82
8f67b34bba98f894155dedf263bc8d61c31e89cd
/2ltt/finite.lean
22bc8078fb9f5f629e772a5e294414cfb797bd1d
[]
no_license
5HT/two-level
3b1523db242cba819681b862fbc8f490d9571a66
370f5a91311db3b463b10a31891370721e2476e2
refs/heads/master
1,648,254,367,420
1,576,269,550,000
1,576,269,550,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,327
lean
import .fibrant data.fin data.equiv .facts algebra.category .facts open nat equiv fin eq.ops sum unit prod.ops function -- facts about a type family indexed by the strict finite type definition pi_fin0_unit_equiv {X : fin 0 → Type} : (Π i, X i) ≃ unit := equiv.mk (λ x, unit.star) (λ x i, fin.elim0 i) begin unfol...
4f3914dc63195c7337c51d437a3369cde70b1734
dd4e652c749fea9ac77e404005cb3470e5f75469
/src/missing_mathlib/linear_algebra/finite_dimensional.lean
6a96c98937cab0ca77de513b5844d613585affb8
[]
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
2,304
lean
import linear_algebra.finite_dimensional import missing_mathlib.linear_algebra.dimension universes u v v' w open_locale classical open vector_space cardinal submodule module function variables {K : Type u} {V : Type v} [field K] [add_comm_group V] [vector_space K V] {V₂ : Type v'} [add_comm_group V₂] [vector_space K...
95653b52f4398fbde691a6279be64ea355c181b1
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/quot_ind_bug.lean
1869602494bfb79aba775975e2d2676cc1ca8b7b
[ "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
197
lean
open quot variables {A : Type} [s : setoid A] {B : quot s → Prop} (c : ∀ (a : A), B (quot.mk a)) (a : A) check (quot.ind c ⟦a⟧ : B ⟦a⟧) check c a eval (quot.ind c ⟦a⟧ : B ⟦a⟧)
9d22692c140d8752ad9ee671fe4edd76617ee51a
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/order_zmodn_kmb.lean
f6d5f9cc5a59cdf381b16d015e0bb945b2b168f1
[ "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
2,250
lean
import algebra.group import chris_hughes_various.zmod import group_theory.order_of_element open zmod nat -- I spell this one out so you can see how it goes. lemma gcd_one_of_unit {n : ℕ} [pos_nat n] (u : units (zmod n)) : nat.gcd (u.val.val) n = 1 := begin let abar := u.val, let bbar := u.inv, -- in zmod n let a...
ada8786e4d655efc5921ff19f17faf70e0f341be
e0d5cc416b0cf9011f9706e3b89ad18e34595c44
/src/cayden/ident.lean
2e9057906774d51b40321d1357be794b1f48f857
[]
no_license
avigad/verified-encodings
c90701b68636c0bae2127b9eb7bcc53e71d06bc8
2b8c3b07a7cfcdad3b13cf01685eabe395f35c17
refs/heads/master
1,687,237,025,852
1,626,625,618,000
1,626,625,618,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,393
lean
/- Proving some useful identities in propositional logic -/ import data.bool import data.list import data.list.basic -- Define shorthand for XOR notation a ⊕ b := bxor a b -- Some trivial, useful theorems @[simp] theorem bxor_tt_left : ∀ a, bxor tt a = bnot a := dec_trivial @[simp] theorem bxor_tt_right : ∀ a, bx...
c9576e8dc78d1780b40c82be10dda4339fc04639
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/fin/tuple/monotone.lean
e67d043a65cb36418289755b0edb3443703fe14b
[ "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,998
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import data.fin.vec_notation /-! # Monotone finite sequences > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding P...
d05503a28766b9626e710c5d5ea614f23ef55529
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/noTabs.lean
9475259ebaff4b1dc9e0dee1ef7e235805d9495b
[ "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
40
lean
#check let a := 1 let b := 2 a + b
f8d7bcb8fb3e79f84566970e027421d453e6f2a6
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/integral/tempLevel1.lean
76e2a4ae01f0759ab9754f7f5a5e727d5f069dcf
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
622
lean
import data.real.basic import data.vector open real variable X : Type -- hide /- # Work in progress. -/ -- begin hide --#check finset --#check finset.card_range --#check list --Do we want a list? A vector? --either way, not sure how to go about this yet --def partition (a b : ℝ) (A: set.Icc a b) (n : ℕ) := list ...
05979e75f7e9532f83687f2c732229f2e27ed963
4fa161becb8ce7378a709f5992a594764699e268
/src/topology/uniform_space/basic.lean
05c0af5dc0695859030377932fc060bd770350b2
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
67,366
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, Patrick Massot -/ import order.filter.lift import topology.separation /-! # Uniform spaces Uniform spaces are a generalization of metric spaces and top...
287ced854080ec845b1759a2512f106e04c677ad
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/introduction/unnamed_104.lean
f661efb8ecd2b4ec4b22edd3a99e54ab96575fe0
[]
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
48
lean
#check 2 + 2 def f (x : ℕ) := x + 3 #check f
5c8b0726f3d22a57b0d2ff09ccd3b1879862ff05
7490bf5d40d31857a58062614642bb5a41c36154
/exam_1.lean
1be8dc0cccc5a3a375106e765a0630488ab8acdf
[]
no_license
reesegrayallen/Lean-Discrete-Mathematics
9f1d6fe1c814cc9264ce868a67adcf5a82566e22
00c875284613ea12e0a729f519738aab8599456b
refs/heads/main
1,674,181,372,629
1,606,801,004,000
1,606,801,004,000
317,387,970
0
0
null
null
null
null
UTF-8
Lean
false
false
10,810
lean
/- REESE ALLEN (rga2uz) CS 2102 Spring 2020, Sullivan, Exam #1 READ THIS:Put away all electronics except for your laptops. Included in the list are watched and headphones. Do not access *any* electronics at all except for your laptop. Close all browser windows and *all* other applications except for VS Code and an...
ae691ff75e59e39f9e87db924f3e449122760cc0
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/class7.lean
1538f0de81720ffe4249992ae1082dfd4a07aecc
[ "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
536
lean
import standard using num tactic inductive inh (A : Type) : Type := | inh_intro : A -> inh A instance inh_intro theorem inh_bool [instance] : inh Prop := inh_intro true theorem inh_fun [instance] {A B : Type} (H : inh B) : inh (A → B) := inh_rec (λ b, inh_intro (λ a : A, b)) H definition assump := eassumption; now...
de825be2c4521899e688d2765dab41bf81d2595a
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/analysis/calculus/fderiv.lean
a7967bf6dde6112ba5eae8fe42e4312418bc8d6a
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
54,266
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel The Fréchet derivative. Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E →L[𝕜] F` a continuous 𝕜-linear map, where `𝕜` is a non-discrete ...
274b23f5b0ea60f076ef723f1a9ce9173ec9d32d
e38d5e91d30731bef617cc9b6de7f79c34cdce9a
/src/core/interval.lean
d7fc7a7501851b092c6b0ffca0fdb4d4b7ab7332
[ "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
351
lean
/- Copyright (c) 2019 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Author: Bruno Bentzen -/ -- the interval type I cannot live in Type inductive interval : Type 0 | i0 : interval | dim : ℕ → interval | i1 : interval notation `I` := interval -- TODO: con...
3ae4d4e4aff4068b3a28ed6cd29ff21cde496b17
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/pack_unpack2.lean
8c34e49fb1c12926d58b943b7f00f4ad97c4bdc8
[ "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
965
lean
--set_option trace.inductive_compiler.nested.define true inductive tree (A : Type*) | leaf : A -> tree | node : list tree -> tree set_option trace.eqn_compiler true definition sz {A : Type*} : tree A → nat | (tree.leaf a) := 1 | (tree.node l) := list.length l + 1 constant P {A : Type*} : tree A → Type 1 constant mk1 ...
852adb92461289c10bda80c7525d6fdac1660a42
7565ffb53cc64430691ce89265da0f944ee43051
/hott/homotopy/hopf.hlean
bfd8894c246e74922495889b8ede807c3934192e
[ "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
8,073
hlean
/- Copyright (c) 2016 Ulrik Buchholtz and Egbert Rijke. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz, Egbert Rijke H-spaces and the Hopf construction -/ import types.equiv .wedge .join open eq eq.ops equiv is_equiv is_conn is_trunc trunc susp join ...
d1e9882b511edb18b35e88c80f08dc04e35c0948
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/stage0/src/Lean/Server/InfoUtils.lean
65253271bb3208a514ad5d8ebabed8e3ade3fd94
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
6,800
lean
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.DocString import Lean.Elab.InfoTree import Lean.Util.Sorry namespace Lean.Elab /-- For every branch, find the deepest node in that branch match...
caba9713cd7987a7b5a8b7ed26af9c02d70ac27d
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/measure_theory/interval_integral.lean
cb4327c53b440d44780b981b73d087bc641ebc5c
[ "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
85,793
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 -/ import measure_theory.set_integral import measure_theory.lebesgue_measure import analysis.calculus.fderiv_measurable import analysis.calculus.extend_deriv /-...
f909a45947c97402e62a59ef77555ff4f028d208
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/task_auto.lean
63d637042dfaeecb1bd228297b41ab59ff1cdbc3
[]
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
196
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.logic namespace Mathlib /-- A task is a promise to produce a value later. They perform the same role as promises in JavaScript. -/ end Mathlib
023fe4a6f26192f64c1dc4e6e37d75fb8b7bd225
24cea0681d40a3d3a2fd112c35ce26dfe9e2dd1c
/src/relax/test.lean
84c98e69b6ed982340c3c5ddb0c1561881b13150
[ "Apache-2.0" ]
permissive
jtristan/FormalML
4119809fd728bd0e6ffe2e4961e1a2dfdc1b7864
b9f54593c7f2badde15953de876ee214e23b34a0
refs/heads/master
1,668,672,921,807
1,594,691,391,000
1,594,691,391,000
279,452,890
4
0
null
null
null
null
UTF-8
Lean
false
false
2,198
lean
/- Copyright © 2020, Oracle and/or its affiliates. All rights reserved. -/ import .relax local attribute [instance] classical.prop_decidable namespace relax variables (μ: probability_measure ℍ) noncomputable def coin_flip_code_simple (u: ℍ × ℍ × ℍ): ℍ × ℕ × ℕ := let u1 := u.fst in let u2 := u.snd.fst in ...
61c34ffcf69561e9ba66662ad47cacf293b547ac
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/data/finsupp/basic.lean
7aa1f66d009eb33f295906c5f9ca9836a240509f
[ "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
82,873
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, Scott Morrison -/ import algebra.group.pi import algebra.big_operators.order import algebra.module.basic import algebra.module.pi import group_theory.submonoid.basic im...
ed8f0097343fc110001ad131af1c6e88fe002535
f1a12d4db0f46eee317d703e3336d33950a2fe7e
/lia/cooper/qe.lean
fe040bb13220e4a5734994fbb0f30c050ee251ec
[ "Apache-2.0" ]
permissive
avigad/qelim
bce89b79c717b7649860d41a41a37e37c982624f
b7d22864f1f0a2d21adad0f4fb3fc7ba665f8e60
refs/heads/master
1,584,548,938,232
1,526,773,708,000
1,526,773,708,000
134,967,693
2
0
null
null
null
null
UTF-8
Lean
false
false
4,150
lean
import ..common.correctness ...common.int namespace lia def hd_coeff_one : int → atom → atom | m (atom.le i (k::ks)) := if k = 0 then (atom.le i (0::ks)) else let m' := has_div.div m (abs k) in atom.le (m' * i) (int.sign k :: list.map (λ x, m' * x) ks) | m (atom.dvd d i (k::ks)) := if k = 0 th...
0264e9ad4e589182a040fbcd5710820c0320a3d3
82e44445c70db0f03e30d7be725775f122d72f3e
/src/algebra/ordered_ring.lean
b63234c8ab8f7381a52f6c98eecdd124d768d834
[ "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
65,471
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, Mario Carneiro -/ import algebra.ordered_group import algebra.invertible import data.set.intervals.basic -- This should probably go into Lean core. le...
bc5a27f8fee688f58b08d0034504a89648bfc05d
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/algebra3.lean
9be885a4920d93d167f88a636b5b29722557f8a2
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
1,560
lean
import logic infixl `*` := has_mul.mul postfix `⁻¹` := has_inv.inv notation 1 := has_one.one structure semigroup [class] (A : Type) extends has_mul A := (assoc : ∀ a b c, mul (mul a b) c = mul a (mul b c)) structure comm_semigroup [class] (A : Type) extends semigroup A renaming mul→add:= (comm : ∀a b, add a b = ...
7db9a62b84a66759995c58239c9c373ac4fca462
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/over_auto.lean
085ebcc07372d13cd86b9dde1aec18329780b12c
[]
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
16,005
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.comma import Mathlib.category_theory.punit import Mathlib.cat...
5374c62339df6c1746b097aceec3d3f6f7eb1d9f
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/combinatorics/derangements/basic.lean
56bb0c3c8f1207207996054493a5bc2b4ab39c06
[ "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
8,381
lean
/- Copyright (c) 2021 Henry Swanson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Henry Swanson -/ import data.equiv.basic import data.equiv.option import dynamics.fixed_points.basic import group_theory.perm.option /-! # Derangements on types In this file we define...
66c031d574a0e6e636bb6c0add28fd7df570a9d4
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/group/to_additive.lean
5a56573d22e673c8a25b605faf4311e4dad16cf7
[ "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
9,720
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury Kudryashov. -/ import tactic.basic tactic.transport tactic.algebra /-! # Transport multiplicative to additive This file defines an attribute `to_additive` that ...
c9bfaf28d5132870293741ad1f2703a0407ab4da
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/matrix/notation_auto.lean
da26577bf38d170f4aa9f74b7fb11a9397f93891
[]
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
21,175
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen Notation for vectors and matrices -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.card import Mathlib.data.matrix.basic import Math...