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
809909d1061d6c5ed91d24afd2b97f7a6704d48d
ca1ad81c8733787aba30f7a8d63f418508e12812
/clfrags/src/hilbert/wr/proofs/pt_neg.lean
7c8668651b20c9f786be85f8cbbe07e33f6e8145
[]
no_license
greati/hilbert-classical-fragments
5cdbe07851e979c8a03c621a5efd4d24bbfa333a
18a21ac6b2e890060eb4ae65752fc0245394d226
refs/heads/master
1,591,973,117,184
1,573,822,710,000
1,573,822,710,000
194,334,439
2
0
null
null
null
null
UTF-8
Lean
false
false
6,492
lean
import hilbert.wr.pt_neg namespace clfrags namespace hilbert namespace wr namespace pt_neg theorem pt₂_neg {a b c : Prop} (h₁ : neg (pt a b c)) : neg (pt b a c) := have h₂ : pt (neg a) b c, from ptn₁ h₁, have h₃ : pt a (neg b) c, from ptn...
3665f9dbd238d02dc8ddf81b4e71914449df4be8
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebra/free_monoid.lean
d6d45edf173c2ef72a9276d93ee622223e9f9ebf
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
4,444
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Yury Kudryashov -/ import data.equiv.basic import data.list.basic /-! # Free monoid over a given alphabet ## Main definitions * `free_monoid α`: free monoid over alphabet ...
efec7e6a8b2f875b7a9ff98200d4734be2095e49
618003631150032a5676f229d13a079ac875ff77
/src/data/matrix/notation.lean
b50d25b9b944688f43f8364b4e457a5533313908
[ "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
11,018
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 data.fintype.card import data.matrix.basic import tactic.fin_cases /-! # Matrix and vector notation This file defines notation ...
0700b1f3b5a20248a8fa555f22fcc5ea31dc73ee
ec5e5a9dbe7f60fa5784d15211d8bf24ada0825c
/src/Alignment.lean
6337f78b752eb7eae21b1014f675e8538656d494
[]
no_license
pnwamk/lean-llvm
fcd9a828e52e80eb197f7d9032b3846f2e09ef74
ebc3bca9a57a6aef29529d46394f560398fb5c9c
refs/heads/master
1,668,418,078,706
1,593,548,643,000
1,593,548,643,000
258,617,753
0
0
null
1,587,760,298,000
1,587,760,298,000
null
UTF-8
Lean
false
false
3,174
lean
import Init.Data.RBMap namespace RBNode universes u v variables {α : Type u} {β : α → Type v} section variable (lt : α → α → Bool) @[specialize] def upperBound : RBNode α β → α → Option (Sigma β) → Option (Sigma β) | leaf, x, ub => ub | node _ a ky vy b, x, ub => if lt x ky then upperBound a x (some...
d6788c1d00764a2609ae152ffe4bcdc1f24a46f3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/dynamics/omega_limit.lean
ccdbced232442a8ff42cb461be4bf241a55be254
[ "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
16,642
lean
/- Copyright (c) 2020 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo -/ import dynamics.flow /-! # ω-limits For a function `ϕ : τ → α → β` where `β` is a topological space, we define the ω-limit under `ϕ` of a set `s` in `α` with respect to filter `f...
3afefa6c700ec6b0592daa46cf34de654ad3803c
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Init/Data/UInt.lean
e6bf545e2aa1671551bfb1e0423242d26d5564cd
[ "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
11,812
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Fin.Basic import Init.System.Platform open Nat @[extern "lean_uint8_of_nat"] def UInt8.ofNat (n : @& Nat) : UInt8 := ⟨Fin.ofNat n...
09d6166a357efbaccb3234134a2583eb8f9826c2
4727251e0cd73359b15b664c3170e5d754078599
/archive/imo/imo2008_q3.lean
ce940546064a30a6679198216961bf74850c038d
[ "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,833
lean
/- Copyright (c) 2021 Manuel Candales. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Manuel Candales -/ import data.real.basic import data.real.sqrt import data.nat.prime import number_theory.primes_congruent_one import number_theory.legendre_symbol.quadratic_reciproc...
409e3447947dacdf35b4c469bda831c6c7e834f7
4ad6af7525e674c3cdc623c1495472954f3ce34c
/src/02_three_languages.lean
7bdedf6d12ac37786604c335723e44532c2c4362
[]
no_license
alcides/lean3_tutorial
4bf48026f7cfa5ae80e9a75f46ca23364d455810
7a871e00c4fd5cb000929a59e1bd804a626ef277
refs/heads/master
1,663,719,613,974
1,591,141,389,000
1,591,141,389,000
268,600,781
5
0
null
null
null
null
UTF-8
Lean
false
false
1,947
lean
import system.io open io /- One of the good things about Lean is that you can see it as three different languages. While all the languages are actually the same, this purely artificial distinction is quite helpful for learners. The next function is a typical function-programming style hello world using monads. If ...
727c9af4984a4cd9264da522d0737ae5ee7e8472
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1813.lean
c1e82c60469b80c2166f2ab42c8242cfa8942b09
[ "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
160
lean
example [Add α] [Neg α] [Mul α] [∀ n, OfNat α n] {a b : α} := calc 4 + 5 * b = -6 + 5 * (b + 2) := sorry _ = -6 + 5 * 3 := sorry
3df3d99ae9614436dfdea264f752986acd5904c9
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/fintype/card.lean
015cc06d268abaa0f9b114ba4d6389a4a25d70f2
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,263
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fintype.basic import algebra.big_operators.ring /-! Results about "big operations" over a `fintype`, and consequent results about cardinalities of certai...
86e672156cde8af932c71bd23d0fbe5dcb72e588
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/intervals/pi.lean
44062039f587c9a9331e4e3a1ce34fd535d2ce8e
[]
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
6,387
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.intervals.basic import Mathlib.data.set.lattice import Mathlib.PostPort universe...
915acd194a4804dbfca081498575554beed7a876
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/lucas_primality.lean
8e565130d18e06a1ff21003ef2c192d4b1d4e2ac
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
2,698
lean
/- Copyright (c) 2020 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey -/ import data.fintype.basic import group_theory.order_of_element import tactic.zify import data.nat.totient /-! # The Lucas test for primes. This file implements the Lu...
c163c054703dbf06b0cbcbafebcf04c4c4aa0605
e0b0b1648286e442507eb62344760d5cd8d13f2d
/tests/lean/interactive/goalIssue.lean
b46c5591633170f47c8341490455279ca30eb81b
[ "Apache-2.0" ]
permissive
MULXCODE/lean4
743ed389e05e26e09c6a11d24607ad5a697db39b
4675817a9e89824eca37192364cd47a4027c6437
refs/heads/master
1,682,231,879,857
1,620,423,501,000
1,620,423,501,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
261
lean
theorem foo1 (x : Nat) : 0 + x = x := by first | skip; have x + x = x + x from rfl; done --^ $/lean/plainGoal | simp theorem foo2 (x : Nat) : 0 + x = x := by induction x with | zero => done --^ $/lean/plainGoal | succ => done
c34cac387425dd995eab357525398fc088856690
1dd482be3f611941db7801003235dc84147ec60a
/src/data/set/function.lean
6ae7247495b1b1d304c4c8f55e01e254dc7277dd
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
10,790
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu Functions over sets. -/ import data.set.basic logic.function open function namespace set universes u v w x variables {α : Type ...
abf2063de1e1ac7a9131994ba52715b5a60c7f8b
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.11.lean
bd79dd9252c794f87fd428760d76bcacf9331407
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
312
lean
import standard import data.nat.order open nat -- BEGIN check @add_lt_add_right definition foo (n m k : ℕ) (H : n < m) : n + k < m + k := !(add_lt_add_right H) example {n m k l : ℕ} (H : n < m) (K : m + l < k + l) : n < k + l := calc n ≤ n + l : !le_add_right ... < m + l : !foo H ... < k + l : K -- END
f1cb725661641505af7779f24349eeac13c8de1e
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/category_theory/adjunction/mates.lean
f660fab2d236f10d295e2c2fc34420fa1568ff64
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
10,531
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Bhavik Mehta -/ import category_theory.adjunction.basic import category_theory.conj import category_theory.yoneda /-! # Mate of natural transformations This file establishes the bijecti...
97524822491fd7c30b9fdfb68cb8816376a400ad
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast_cc12.lean
6640000d2f6f93773dbe0080140330c1af50a33b
[ "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
388
lean
set_option blast.subst false set_option blast.simp false set_option pp.all true definition foo1 (a b : nat) (p : Prop) : a = b → (b = a → p) → p := by blast print foo1 definition foo2 (a b c : nat) (p : Prop) : a = b → b = c → (c = a → p) → p := by blast print foo2 definition foo3 (a b c d : nat) (p : Prop) : a ≠ ...
5ed159dde8876230b799a6d61368b97580ef8388
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.6.lean
b3ff88c69d126492f221eeb03b88e414d065e9da
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
135
lean
import standard theorem test (p q : Prop) (Hp : p) (Hq : q) : p ∧ q ∧ p := begin apply (and.intro Hp); exact (and.intro Hq Hp) end
452813bafbbc768f69ebaa65b51d973cb38b775f
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/tools/super/defs.lean
5363b9f3a10a636805b66cdae53c9f54de28097d
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,095
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open tactic expr monad namespace super meta def try_unfold_one_def (type : expr) : tactic expr := dunfold_expr_core transparency.all ...
8488ef336a6287e0aff9cfdf861e891ccac59510
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/rb_map.lean
8dde0c19cad0098029cf9f31376d35dace7c7418
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
7,563
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, Jeremy Avigad -/ prelude import init.data.ordering init.function init.meta.name init.meta.format init.category.monad meta constant {u₁ u₂} rb_map : Type u₁ →...
eb4b0d5787e76bc7d989ab253335c4f2954df8c5
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/transpostions.lean
7c6dcd9e304183b49841db43dd7103ed30bd33c4
[]
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
1,487
lean
import group_theory.subgroup data.equiv.basic data.fintype algebra.big_operators open equiv variables {α : Type*} def is_transposition (f : perm α) : Prop := ∃ x y, f x = y ∧ f y = x ∧ ∀ a, a ≠ x → a ≠ y → f a = a lemma is_transposition_inv {f : perm α} : is_transposition f → is_transposition (f⁻¹) := λ ⟨x, y, h⟩...
4a8173b19c561496d490b7d6293b9effb76ce4b9
26bff4ed296b8373c92b6b025f5d60cdf02104b9
/tests/lean/run/revert_tac.lean
e873457e1c3a09ed51d0da89395c12788310399b
[ "Apache-2.0" ]
permissive
guiquanz/lean
b8a878ea24f237b84b0e6f6be2f300e8bf028229
242f8ba0486860e53e257c443e965a82ee342db3
refs/heads/master
1,526,680,092,098
1,427,492,833,000
1,427,493,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
516
lean
import logic theorem tst {a b c : Prop} : a → b → c → a ∧ b := begin intros (Ha, Hb, Hc), revert Ha, intro Ha2, apply (and.intro Ha2 Hb), end theorem foo1 {A : Type} (a b c : A) (P : A → Prop) : P a → a = b → P b := begin intros (Hp, Heq), revert Hp, apply (eq.rec_on Heq), intro Hpa, apply Hpa end ...
4bc92b91386eb027311675203ef9b32caac8da9c
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/field_theory/perfect_closure.lean
5a292ad4b7e00fc1d9aa2bdf437ec151d4de660c
[ "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
17,184
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau The perfect closure of a field. -/ import algebra.char_p universes u v /-- A perfect field is a field of characteristic p that has p-th root. -/ class perfect_field (α : Type u...
63db26c87bd04e1c9f27f4fef2082deb4959209b
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/partition_of_unity.lean
d848c9618af08ab3d205f450fabbf6724d417e1c
[ "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
20,410
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import algebra.big_operators.finprod import topology.urysohns_lemma import topology.paracompact import topology.shrinking_lemma import topology.continuous_function....
59ef5ef579c2b995547367ef1a06fd2b12f3f588
94e33a31faa76775069b071adea97e86e218a8ee
/src/linear_algebra/tensor_algebra/basic.lean
a4bb65422be10a1d621998b1b9bb2fcd8c4b9900
[ "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
10,070
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import algebra.free_algebra import algebra.ring_quot import algebra.triv_sq_zero_ext import algebra.algebra.operations import linear_algebra.multilinear.basic /-! # Tensor A...
802b9ec18d091238bcb6130e7ae4be5a6a9c845a
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/meta_expr1.lean
4e59086b40c6b0274a512b3a450f65fca09d6e9e
[ "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,772
lean
open unsigned list meta definition e1 := expr.app (expr.app (expr.const `f []) (expr.mk_var 1)) (expr.const `a []) meta definition e1' := expr.app (expr.app (expr.const `f []) (expr.mk_var 1)) (expr.const `a []) meta definition tst : e1 = e1' := rfl #eval e1 #eval expr.fold e1 (0:nat) (λ e d n, n+1) meta definiti...
a1dda8bcc406e8fc1a2c33b193eade1a9640a910
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Elab/Notation.lean
072628dcfbedba85174b3e63a4afb3fc8b277b64
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
7,466
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.Syntax import Lean.Elab.AuxDef import Lean.Elab.BuiltinNotation namespace Lean.Elab.Command open Lean.Syntax open Lean.Parser.Term hiding ...
d659f90e6c955213de86e4b0fb656ea08715a4b1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/natural_isomorphism.lean
20414563146b5101bfded5df637e1cdf70c6fc8d
[ "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
7,372
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor_category import category_theory.isomorphism /-! # Natural isomorphisms For the most pa...
4a5b8fda05f58f91810c9fd55e6741801bac975a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/ordering/basic_auto.lean
abe38c5ebbf483e2850c2a4809f0a6488a4b15e7
[]
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,268
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.repr import Mathlib.Lean3Lib.init.data.prod import Mathlib.Lean3Lib.init.data.sum.basic universes ...
161cd1dec019ac71c936d09dba03dd2f3dee4d89
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/LCNF/Bind.lean
06a4b7ecf540bb7d573dc50539d213f9fa4374f9
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
4,981
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.InferType namespace Lean.Compiler.LCNF /-- Helper class for lifting `CompilerM.codeBind` -/ class MonadCodeBind (m : Type → Type...
b67aa4c1676e911ab329404d93d243fb99665e91
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/measure_theory/l1_space.lean
9e563aa543fe8dbfdbcbb837dc73371d01a28028
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
28,744
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.ae_eq_fun /-! # Integrable functions and `L¹` space In the first part of this file, the predicate `integrable` is defined and basic properties ...
4e4e525361cf9e013c6f985e20d5216481204c5d
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/imp3.lean
b82d21cf3c5a9303936b179e3032c4f4ad8dcf06
[ "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
235
lean
structure is_equiv [class] {A B : Type} (f : A → B) := (inv : B → A) check @is_equiv.inv namespace is_equiv section parameters A B : Type parameter f : A → B parameter c : is_equiv f check inv f end end is_equiv
fd4342f01f8a6a2b9a4c31e055c60af24ceff37b
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/function/continuous_map_dense.lean
949035b8da651c50e14e897f777e5741fc4f2407
[ "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
10,160
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 measure_theory.measure.regular import measure_theory.function.simple_func_dense_lp import topology.urysohns_lemma import measure_theory.function.l1_space /...
2155ec1e85b3ee9878fbbfc882f341f881ac6262
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/library/theories/analysis/inner_product.lean
c294d8bd3b1ebee894f4bf393c4adeb51b78d493
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,685
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Real inner product spaces. Note: We can enter ⟨v, w⟩ as \<v, w\>. This file overwrites the notation for dependent pairs. -/ import theories.analysis.normed_space theorie...
4d1b1de54a644d2866ddccf13a4c7e4f0fa05944
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Server/InfoUtils.lean
4a6f9050c9fae3c1e169c004af0dc1d9546a14d1
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
13,911
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.PrettyPrinter namespace Lean.Elab /-- Visit nodes, passing in a surrounding context (the innermost one) and accumulating results on the way back ...
dee76aa743f842b4e68d96c3e3cd310f0f3560f4
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/geometry/manifold/smooth_manifold_with_corners.lean
d6dcffecaffa90938f8bfe0a15deb74a80636355
[ "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
38,627
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.times_cont_diff import geometry.manifold.charted_space /-! # Smooth manifolds (possibly with boundary or corners) A smooth manifold i...
ecfd0f8b453647e6058256613a4cd51e1f6b9502
9028d228ac200bbefe3a711342514dd4e4458bff
/src/algebra/invertible.lean
a72964b00257f478134a77018126873901ed4c3c
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,097
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen A typeclass for the two-sided multiplicative inverse. -/ import algebra.char_zero import algebra.char_p /-! # Invertible elements This file defines a typeclass `invertible ...
3dd99a06cc05826e6afaf7cca187dc51539bd99a
159fed64bfae88f3b6a6166836d6278f953bcbf9
/Structure/Generic/Instances/Categories.lean
6d4040066755677afdd081cd35d6967ebc1b6eba
[ "MIT" ]
permissive
SReichelt/lean4-experiments
3e56830c8b2fbe3814eda071c48e3c8810d254a8
ff55357a01a34a91bf670d712637480089085ee4
refs/heads/main
1,683,977,454,907
1,622,991,121,000
1,622,991,121,000
340,765,677
2
0
null
null
null
null
UTF-8
Lean
false
false
5,211
lean
#exit import Structure.Generic.Axioms import Structure.Generic.Instances.Basic import Structure.Generic.Instances.Bundled import Structure.Generic.Functors open GeneralizedRelation set_option autoBoundImplicitLocal false set_option pp.universes true universes u u' v v' w w' section BundledCategories variabl...
0b15bd8c48b2dc6fd67924ce4659c1e7fbb572c7
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/real/ennreal.lean
9c26fc425b833aeb7a6dcdb25e8f0c02763095c1
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
66,892
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 data.real.nnreal import data.set.intervals /-! # Extended non-negative reals We define `ennreal = ℝ≥0∞ := with_no ℝ≥0` to be the type of ext...
a306ef4a1aae5324a8dabd3578ccbaeb6d2ea856
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/specific_groups/dihedral.lean
889f538502344b686af5586d53e071094c014cd7
[ "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,915
lean
/- Copyright (c) 2020 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import data.zmod.basic import group_theory.exponent /-! # Dihedral Groups > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspondin...
502f9c71d48e255d10fe7f9759b7dc5b3a6000d0
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/unfold_crash.lean
c46021fcb3e6c0749a599489b77ef7066c66ce69
[ "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
198
lean
-- open nat tactic example (a b : nat) : a = succ b → a = b + 1 := by do H ← intro `H, try (unfold_at [`nat.succ] H), unfold [`add], dsimp, unfold [`nat.add], trace_state, assumption
446112a9d70f5ee528e50e3c74bafc85fad23a38
5883d9218e6f144e20eee6ca1dab8529fa1a97c0
/src/vrel/map.lean
6a6eadff2c9298abc3c6c9bf3b540d83f0408102
[]
no_license
spl/alpha-conversion-is-easy
0d035bc570e52a6345d4890e4d0c9e3f9b8126c1
ed937fe85d8495daffd9412a5524c77b9fcda094
refs/heads/master
1,607,649,280,020
1,517,380,240,000
1,517,380,240,000
52,174,747
4
0
null
1,456,052,226,000
1,456,001,163,000
Lean
UTF-8
Lean
false
false
2,718
lean
/- This file contains declarations for mapping one `vrel` to another. -/ import .update namespace acie ----------------------------------------------------------------- namespace vrel ----------------------------------------------------------------- variables {V : Type} [decidable_eq V] -- Type of variable names v...
8674289d9c1234c10a6705e2c4fe36920d353c5d
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_theory/unnamed_1320.lean
27d947c174fca413b670954f440d3357c04af4a4
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
713
lean
variables p q r : Prop theorem imp_trans1 : (p → q) → (q → r) → (p → r) := λ h₁ h₂ h₃, h₂ (h₁ h₃) -- BEGIN example (h₁ : p ↔ q) (h₂ : q ↔ r) : p ↔ r := begin split, -- By iff intro., it suffices to prove `p → r` and `r → p`. { show p → r, apply imp_trans1, -- We show `p → r`. By transi...
2362ac1ba9043028d7ca31430186534129c416d8
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/finally.lean
3e6999276ecfc733a3ce42de3d9fb972ef574bf3
[ "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
1,855
lean
new_frontend def checkM (b : IO Bool) : IO Unit := unlessM b (throw $ IO.userError "failed") abbrev M := ExceptT String $ StateRefT Nat $ IO def f1 : M Nat := throw "error 1" def f2 : M Nat := throwThe IO.Error $ IO.userError "error 2" def tst1 : M Nat := «catch» («finally» f1 (do set 100; IO.println "finisher e...
9cb163526820740fc0020309f338ca3cf12f9de1
94e33a31faa76775069b071adea97e86e218a8ee
/src/group_theory/group_action/basic.lean
e264febc6ba9c1ee4b5e12b7b391b479c77848cd
[ "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
12,669
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 algebra.hom.group_action import group_theory.group_action.defs import group_theory.group_action.group import data.setoid.basic import data.fintype.card /-! # Basi...
c782a1429c1d969cf182e5375fb7ad787d2f5d77
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/homotopy/basic.lean
7deeee09350bc9769f4801ddac1beccdff91701f
[ "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
20,466
lean
/- Copyright (c) 2021 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import topology.algebra.order.proj_Icc import topology.continuous_function.ordered import topology.compact_open import topology.unit_interval /-! # Homotopy between f...
d78499f02df9db938c886364356b17d2844dad19
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/585c.lean
bb0cbaa27cc246be177d6ff4925f2f6b990ac6eb
[ "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
723
lean
namespace list inductive perm {α} : list α → list α → Prop | nil : perm [] [] | cons : Π (x : α) {l₁ l₂ : list α}, perm l₁ l₂ → perm (x::l₁) (x::l₂) | swap : Π (x y : α) (l : list α), perm (y::x::l) (x::y::l) | trans : Π {l₁ l₂ l₃ : list α}, perm l₁ l₂ → perm l₂ l₃ → perm l₁ l₃ infix ` ~ `:50 := perm @[refl] pro...
4f9e404fe5637a4c39125dc64933d58c15650f0a
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/list/range.lean
d1337de1c598025053590b25657934c8a140b7c7
[ "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
8,416
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau, Scott Morrison -/ import data.list.chain import data.list.nodup import data.list.of_fn open nat namespace list /- iota and range(') -/ universe u variabl...
29a76e212f917bfa6403659f8216f639ec0991f5
2cf781335f4a6706b7452ab07ce323201e2e101f
/lean/imap.lean
63984fd9d9bcf1cb8777718032695d2b93af1148
[ "Apache-2.0" ]
permissive
simonjwinwood/reopt-vcg
697cdd5e68366b5aa3298845eebc34fc97ccfbe2
6aca24e759bff4f2230bb58270bac6746c13665e
refs/heads/master
1,586,353,878,347
1,549,667,148,000
1,549,667,148,000
159,409,828
0
0
null
1,543,358,444,000
1,543,358,444,000
null
UTF-8
Lean
false
false
931
lean
/- A simple interval map -/ structure {u v} data.imap.imap_entry (k : Type u) (val : Type v) : Type (max u v) := (start : k) (extent : k) (value : val) def {u v} data.imap (k : Type u) (val : Type v) (lt : k -> k -> Prop) := list (data.imap.imap_entry k val) namespace data.imap section universes u v param...
db25385559076be225d8a2ba56e5792c8f7c6ce6
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/rat.lean
737f416d316fa57d9704965219d4904c1f3e1f34
[ "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
308
lean
import data.rat.meta_defs run_cmd let q : ℚ := 3/15 in guard $ (reflect q : expr) = `((1/5 : ℚ)) constants (α : Type) (h : field α) attribute [instance] h run_cmd guard $ expr.eval_rat `(1/3 - 100/6 : α) = some (-49/3) run_cmd guard $ (expr.eval_rat ∘ rat.reflect) (-(5/3) : ℚ) = some (-5/3)
df48dd099343efda091cc6e7b289fa2b35c243d4
2fbe653e4bc441efde5e5d250566e65538709888
/src/data/set/finite.lean
fe1f840cba7a7bfac187c274abd7276b25588c04
[ "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
22,874
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 Finite sets. -/ import logic.function import data.nat.basic data.fintype data.set.lattice data.set.function open set lattice function universes u v w ...
64aa29205f74b7b2864ab03598fdc93183cf8905
9028d228ac200bbefe3a711342514dd4e4458bff
/src/linear_algebra/finsupp.lean
1de22e5e4219c643f4adcf126aeb490812869ba1
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,882
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 Linear structures on function with finite support `α →₀ M`. -/ import algebra.monoid_algebra noncomputable theory open set linear_map submodule open_locale classical ...
94ce39cad58d9467a8bbdafe0d021ee51b7d6fc8
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/linear_algebra/matrix/nonsingular_inverse.lean
3d4c3178cd707f0074846d6442527051faed69ce
[ "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
13,587
lean
/- Copyright (c) 2019 Tim Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baanen, Lu-Ming Zhang -/ import algebra.regular.smul import data.matrix.notation import linear_algebra.matrix.polynomial import linear_algebra.matrix.adjugate /-! # Nonsingular invers...
2e82cad3cb6c0e0c98f70ceb1c51009d335f73fd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/homology/additive.lean
072555a1eabcea49b3cb4a96da9e07ad69d9aa4a
[ "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
11,209
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.homology import algebra.homology.single import category_theory.preadditive.additive_functor /-! # Homology is an additive functor When `V` i...
9352b6e7f95b67d8661d63bcf7330fe297c3ba20
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/inner_product_space/l2_space.lean
518ff11a4b9a9155bdb409b6101e00204bcc723e
[ "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
24,802
lean
/- Copyright (c) 2022 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.inner_product_space.projection import analysis.normed_space.lp_space import analysis.inner_product_space.pi_L2 /-! # Hilbert sum of a family of inn...
f82c3cda4e7ae765a8f34bff63accadc33198f95
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebraic_geometry/AffineScheme.lean
114556cb2195b4ae9598e0e50c2ebf2b700355a5
[ "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
32,380
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.Gamma_Spec_adjunction import algebraic_geometry.open_immersion import category_theory.limits.opposites import ring_theory.localization.inv_submono...
4e5b358e83f814f50b66a9586593f3e3cd2a4110
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/simpperf/simp1000.lean
9db027639bbb4fa228783ac5a2dd33aa20f8fdec
[ "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
84,599
lean
axiom f (x : Prop) : Prop axiom g0 (x : Prop) : Prop axiom g1 (x : Prop) : Prop axiom g2 (x : Prop) : Prop axiom g3 (x : Prop) : Prop axiom g4 (x : Prop) : Prop axiom g5 (x : Prop) : Prop axiom g6 (x : Prop) : Prop axiom g7 (x : Prop) : Prop axiom g8 (x : Prop) : Prop axiom g9 (x : Prop) : Prop axiom g10 (x : Prop) : P...
d1e4463925d02e27a7473c6f07a6772f9f2324dd
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/analysis/normed_space/multilinear.lean
f18235c17b4c359826fe0b333dec52e88133c0b6
[ "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
73,325
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.operator_norm import topology.algebra.multilinear /-! # Operator norm on the space of continuous multilinear maps When `f` is a c...
b81116cb2e417842f335bad7680b0bd114b1da5e
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/deprecated/subfield.lean
12239b30ba1742a87f9d26362487fa609bb55cf0
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,829
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import deprecated.subring import algebra.group_with_zero.power /- # Unbundled subfields This file introduces the predicate `is_subfield` on `S : set F` where `F...
86fd14c7ec8c89c24983c6697ef3199e4e2a2028
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/finsupp/basic.lean
b33c567e7b050a05d0dbcff23b3a91288f7874fe
[ "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
79,236
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.linear_map import data.fintype.card import data.finset.preimage impor...
6c2824823df2b2f8d22ccce9d64ddcb61b3df977
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/simple_graph/strongly_regular.lean
05fb2fda4ad5c66e6812266f9b66c6d45ae23491
[ "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,145
lean
/- Copyright (c) 2021 Alena Gusakov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alena Gusakov -/ import combinatorics.simple_graph.basic import data.set.finite /-! # Strongly regular graphs > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file requ...
c2628ac34ac0f7fa2486ebcd940eb1eac8c159eb
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/mllist.lean
6be6c5ef6d7f931c6d988e5090f8783c162cd736
[ "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
4,762
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carnerio, Keeley Hoek, Simon Hudon, Scott Morrison Monadic lazy lists. The inductive construction is not allowed outside of meta (indeed, we can build infinite objects). This is...
b97002ff47fe5e8215fd66207c85fa632f3f4043
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/continuous_function/compact.lean
7b83f26c73a942af39e2775fd2bb60f979ff541d
[ "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
18,817
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.continuous_function.bounded import topology.uniform_space.compact import topology.compact_open import topology.sets.compacts /-! # Continuous functio...
9aa638c289f6a0ffbdbcf47619e573afe0f6cea4
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/normed_space/conformal_linear_map.lean
2ca1d2a0a6c12621c195e66f484a88b0dc0be9a0
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,017
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang -/ import analysis.normed_space.inner_product /-! # Conformal Linear Maps A continuous linear map between `R`-normed spaces `X` and `Y` `is_conformal_map` if it is a nonze...
c7b6b3fd8feefee926fd61a5d35dd21f9c6ba56d
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/for_mathlib/finset.lean
4b65aa362f8471a42e575a23ade1f3bfca9fba85
[ "Apache-2.0" ]
permissive
semorrison/lean-perfectoid-spaces
78c1572cedbfae9c3e460d8aaf91de38616904d8
bb4311dff45791170bcb1b6a983e2591bee88a19
refs/heads/master
1,588,841,765,494
1,554,805,620,000
1,554,805,620,000
180,353,546
0
1
null
1,554,809,880,000
1,554,809,880,000
null
UTF-8
Lean
false
false
1,800
lean
import data.finset local attribute [instance] classical.prop_decidable namespace finset open function variables {α : Type*} {β : Type*} (t : finset β) (f : α → β) set_option pp.proofs true lemma exists_finset_of_surjective (h : surjective f) : ∃ (s : finset α), s.image f = t := ⟨t.bind $ λ b, singleton $ classica...
ba34b5deabebf512775d4936706db7751c3fec53
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/binopIssues.lean
200dd92bc34e6be8a1c85ab203789c1eb559cd14
[ "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
245
lean
axiom Int.add_comm (i j : Int) : i + j = j + i example (n : Nat) (i : Int) : n + i = i + n := by rw [Int.add_comm] def f1 (a : Int) (b c : Nat) : Int := a + (b - c) def f2 (a : Int) (b c : Nat) : Int := (b - c) + a #print f1 #print f2
ee7da79439187358953aa4c2dc56d6df125cef57
a721fe7446524f18ba361625fc01033d9c8b7a78
/elaborate/mul_cancel_induction.lean
bf2a14fd5f00c87b23b3355f56c2f99a17888cd0
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
88,091
lean
mynat.rec (λ {m k : mynat} (hmn0 : m = zero → false) (hmk0 : zero = mul m k), eq.rec (eq.refl k) (mynat.rec (eq.rec true.intro (eq.rec (eq.refl ((m = zero → false) → zero = zero → zero = zero)) (eq.rec (propext {mp := λ (hab :...
f4cb476657fd5600f7d5d369433fa6e0078da927
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/shapes/biproducts_auto.lean
386f2c6d371f14d17ae8b10fb430c34a2c97e089
[]
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
44,424
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.finite_products import Mathlib.category_theory.limits.shapes....
bbe3f899071bf18f062ee782ef08f73a6a8b1d65
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/category_theory/abelian/projective.lean
2f399ba62b6bb7ca65708f0962d61fb579d40530
[ "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
898
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import category_theory.abelian.exact import category_theory.preadditive.projective /-! # Abelian categories with enough projectives have projective res...
7aed4db8932243e1d521e930591c6954734800b1
ac076ebc286fa9b7a67171f6cd11eb98b263d6ef
/src/SES.lean
5149d17a638a40766326f5c5eb2c1fd34829fc1c
[]
no_license
Shamrock-Frost/jordan-holder
e891e489d00f8ff9e29c47b3083f22cac7804efb
bab3daccd70a4f3c5b25731b899a2cd72d7b8376
refs/heads/master
1,594,962,465,041
1,576,197,432,000
1,576,197,432,000
205,951,913
1
0
null
null
null
null
UTF-8
Lean
false
false
24,776
lean
import group_theory.subgroup import group_theory.quotient_group import group_theory.category import .category_theory open category_theory universe u structure SES (A B C : Group.{u}) := (f : A ⟶ B) (g : B ⟶ C) (f_inj : function.injective f) (g_surj : function.surjective g) (im_f_eq_ker_g : set.range f = is_group_hom.k...
c46105f03b040949f8da53880e4ff949f75e8ef6
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/tactic/core.lean
d10b500fa363454d5262f5435550aa5967a6efae
[ "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
84,275
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic import control.basic import meta.expr import meta.rb_map import data.bool import tactic.lean_core_do...
d869a9a6fe9ccd54f8ac56d7e3ccece65ebc0a89
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/functor_category.lean
c867cc0cd9ef5455405679717acdf02e32da56df
[ "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,309
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.preserves.limits /-! # (Co)limits in functor categories. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require...
1e46de45316e0c08f4370884f856e3a36137947d
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/Term.lean
3e2120893da5596e7d78f748bc2bfbd1aabeb3e0
[ "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
79,774
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.ResolveName import Lean.Log import Lean.Deprecated import Lean.Util.Sorry import Lean.Util.ReplaceExpr import Lean.Structure ...
ea7f7c64a95c37594fb3e6d160dbb8a46e1e010d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/lint/misc.lean
3aefc3d101946f7bc0d8de04b8fa5bb4e64a216d
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
21,178
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 -/ import data.bool.basic import meta.rb_map import tactic.lint.basic /-! # Various linters This file defines several small linters: - `ge_or_gt...
8f7a897bb62e7c82e8b0d8ff5fe69760e42b6173
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/init/data/option_t.lean
3f572a02c8e1311a1efdf82fff054126847d021e
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,092
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.interactive universes u v def option_t (m : Type u → Type v) [monad m] (α : Type u) : Type v := m (option α) @[inline] def optio...
f0ba3e321100cada7ba48a031e540c2032722140
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/finsupp.lean
260c88bd60c15f16b79dca8887856465b584300e
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
67,805
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 data.finset data.set.finite algebra.big_operators algebra.module /-! # Type of functions with finite support For any type `α` and a type `β` with zero, we ...
11c71b0e00f88124fa657903e5a591f5daeede6e
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/geometry/manifold/charted_space.lean
3ab18e6f002da536422a3e19903f5e5b1bb1756d
[ "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
41,874
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 /-! # Charted spaces A smooth manifold is a topological space `M` locally modelled on a euclidean space (or a euclidean half-...
dc25223ee19852e72fd20ca41568b7bf4652a4e8
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/data/enumeration.lean
527c2d601b93ee3d6c888f37d6f440928308b86f
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,318
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This file defines a typeclass for types α with an ordered enumeration of the elements (as opposed to a `fintype` instance, which is an unordered enumeration). This...
7c98e72b4c193953410cb945ed199f0abe809f50
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/measure_theory/l1_space.lean
f3ed92d6f942fffe5aecccc74528a2c16957d82b
[ "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
29,960
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.ae_eq_fun /-! # Integrable functions and `L¹` space In the first part of this file, the predicate `integrable` is defined and basic properties o...
1c4efcf330acfcdd50a16830a055e574fff2ed10
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/abelian/non_preadditive.lean
c9013e51d9e808aa7a057f6f18260c7a270cd77c
[ "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
32,457
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.limits.shapes.finite_products import category_theory.limits.shapes.kernels import category_theory.limits.shapes.pullbacks import category_theory....
f6c1ac3bd612262589af88751ca403f220727845
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world4/level5.lean
e6ef0305a06cdac1ee1208e4701cbebc9063f767
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
296
lean
import game.world4.level4 -- hide namespace mynat -- hide /- # Power World ## Level 5: `pow_add` -/ /- Lemma For all naturals $a$, $m$, $n$, we have $a^{m + n} = a ^ m a ^ n$. -/ lemma pow_add (a m n : mynat) : a ^ (m + n) = a ^ m * a ^ n := begin [nat_num_game] end end mynat -- hide
c703024cd048483dee4fbcfe94b51fccb958585a
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/hom/group.lean
c67dbb5c7e05c25bfd112398ec54e27ad13b7cc7
[ "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
52,916
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group.commute import algebra.group_with_zero.defs impor...
215e4817b411c49f9c93ed683fb7ea42be3be089
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/module/ulift.lean
9d4bb1bfc1239a306108ffd77bd1cfa70609cea0
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
4,307
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 algebra.ring.ulift import algebra.module.equiv /-! # `ulift` instances for module and multiplicative actions This file defines instances for module, mul_acti...
6d6b2698ad8c24484f742c2fafcc101a7db0f309
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/unnecessaryUnfolding.lean
b18a1575e969c3b2e6ce46cf4e9b2475e3e83c1d
[ "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
145
lean
import Lean open Lean abbrev M := StateRefT Nat IO def M.run (x : M α) (s := 0) : IO α := x.run' s variable (x : M Unit) #check id x.run
9dd42a3ac643d64e8855c6dd907f986a80ff05de
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Meta/Instances.lean
59aeb54f07d3dedab69a3e42398740f8999561b4
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
4,922
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.ScopedEnvExtension import Lean.Meta.DiscrTree namespace Lean.Meta structure InstanceEntry where keys : Array DiscrTree.Key val ...
f638820ef86eb5ac0fea6b0fed62404f9cc1626c
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/meta/environment.lean
86f0c600e85025480e7848f2e6ccbd2fa4891982
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
10,699
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.declaration init.meta.exceptional init.data.option.basic import init.meta.rb_map /-- An __environment__ contains all of the declar...
47a272028a70962f5dc82a43266148587d1c211c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/sharecommon.lean
c4db313573c83b99e528ceb938fc66a32de8104f
[ "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
3,948
lean
import Lean.Util.ShareCommon open Lean.ShareCommon def check (b : Bool) : ShareCommonT IO Unit := do unless b do throw $ IO.userError "check failed" unsafe def tst1 : ShareCommonT IO Unit := do let x := [1] let y := [0].map (fun x => x + 1) check $ ptrAddrUnsafe x != ptrAddrUnsafe y let x ← shareCommonM x let y ← sha...
e33502d97be40c8a6e8cdbbc1ada11c2dca4e8b3
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/tut_104.lean
86e521155148ecd3eb1a24709ed6ea584c0e3099
[ "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,190
lean
import data.set namespace function section open set variables {A B : Type} set_option pp.beta false lemma injective_eq_inj_on_univ₁ (f : A → B) : injective f = inj_on f univ := begin esimp [injective, inj_on, univ, mem], apply propext, apply iff.intro, intro Pl a1 a2, rewrite *true_imp, ...
f5b6b197c7f3d7bf47e8c16a7bca7289e84d4253
e6b8240a90527fd55d42d0ec6649253d5d0bd414
/src/meta/expr.lean
2498ba2ac2993f2b7ea7a97d96df1c843d633975
[ "Apache-2.0" ]
permissive
mattearnshaw/mathlib
ac90f9fb8168aa642223bea3ffd0286b0cfde44f
d8dc1445cf8a8c74f8df60b9f7a1f5cf10946666
refs/heads/master
1,606,308,351,137
1,576,594,130,000
1,576,594,130,000
228,666,195
0
0
Apache-2.0
1,576,603,094,000
1,576,603,093,000
null
UTF-8
Lean
false
false
25,494
lean
/- Copyright (c) 2019 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek, Robert Y. Lewis -/ import data.string.defs /-! # Additional operations on expr and related types This file defines basic ope...
3816212b3f0cd28916849395a1aad563505d72fe
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/tactic/solve_by_elim.lean
01156d5fff9a5cbf330e45dae2cb3c117ecf1894
[ "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
6,812
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Scott Morrison -/ import tactic.core namespace tactic /-- Builds a collection of lemmas for use in the backtracking search in `solve_by_elim`. * By default, it includes al...
d37b9176b3c69de8779e04e4f2e24175399a4c1a
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/meta3.lean
30183b44d3caaa7bc8442727a533cc6b3bba538e
[ "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
1,782
lean
import Lean.Meta open Lean open Lean.Meta def dbgOpt : Options := let opt : Options := {}; let opt := opt.setBool `trace.Meta true; -- let opt := opt.setBool `trace.Meta.check false; opt def print (msg : MessageData) : MetaM Unit := trace! `Meta.debug msg def check (x : MetaM Bool) : MetaM Unit := unlessM x $ throwE...
b57feac56e1371829a2f4e401b1fef896f0857c3
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/archive/100-theorems-list/83_friendship_graphs.lean
f0e9917d046d0cee4441459797f490d5b60ce360
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,773
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller -/ import combinatorics.simple_graph.adj_matrix import linear_algebra.char_poly.coeff import data.int.modeq import data.zmod.basic import tacti...
6f69af34e1870caba64ac792a0eade3c392afc37
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/MoufangLoop.lean
1e58d9b5d7c51f94f5885e8f8397bdceb3a6ff8b
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
13,429
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section MoufangLoop structure MoufangLoop (A : Type) : Type := (op : (A → (A → A))) (e : A) (lunit_e : (∀ {x : A} , (op e x) = x)) (runit_e : (∀ {x : A} ,...
c1c41306cdc6b4fb22ba80a948723603c51d8f65
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/topology/metric_space/basic.lean
623643ba4c29e760365e483f7e74c70b39588ba3
[ "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
77,017
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel Many definitions and theorems expected on metric spaces are already introduced o...
8c58ed744848756fc5e5f3e6734a0dd45fe0ac7e
82e44445c70db0f03e30d7be725775f122d72f3e
/src/geometry/manifold/instances/real.lean
495f61c15ec32275a12d668e0c440fb9aca279bf
[ "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
13,574
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 geometry.manifold.algebra.smooth_functions import linear_algebra.finite_dimensional import analysis.normed_space.pi_Lp /-! # Constructing examples of ma...
e3362bd98ed362215d57f948c84a8a6c16213976
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/data/unit/basic.lean
df303f48e074fb0297db6e17bc5e6458e7d5a28a
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
213
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 inductive unit.{l} : Type.{l} := star : unit
ac3fcec63c59be4cab4224e939bd59456676587b
1d335ec6ac4181a0a762b12797936770cc9fcef9
/eval/geometryEval.lean
ec3bfdbef6ba7637588c7ff8f84109605595435a
[]
no_license
rohanrajnair/lang
dbadcc3997e44245ca84d48dc1733cf09a2605a6
3beb4e29d8faa692983a55fa18acb6eb947134e8
refs/heads/master
1,672,640,379,424
1,597,948,771,000
1,597,948,771,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
260
lean
import ..imperative_DSL.environment open lang.classicalGeometry def classicalGeometryEval : lang.classicalGeometry.expr → environment.env → classicalGeometry | (lang.classicalGeometry.expr.lit s) i := s | (lang.classicalGeometry.expr.var v) i := i.g v
d8a20dbc47ffffa683ed9118bb502f584770d95a
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/tensor_product.lean
dcb86fa9955b31827e60669fa320045355db90ae
[ "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
16,587
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 linear_algebra.tensor_product import algebra.algebra.basic universes u v₁ v₂ v₃ v₄ /-! The tensor product of R-algebras. We construct the R-algebra struct...
c691ed4df0de8d41904d3e742556f89b1c772e23
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/data/matrix/basic.lean
a98d8ce39f26f0e78bdfe1913f1312bc4de0058a
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
42,236
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin -/ import algebra.big_operators.pi import algebra.module.pi import algebra.module.linear_map import algebra.big_operator...
cab2b25ff35483730c3ec9d7c9c84619e5088d53
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/ring_theory/polynomial/content.lean
cf6e2574c83f281151f4d3d2a0d916439b986405
[ "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
17,074
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 algebra.gcd_monoid.finset import data.polynomial import data.polynomial.erase_lead import data.polynomial.cancel_leads /-! # GCD structures on polynomials De...