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
44924f18da55c8d7962161bc2db18f73bc57be54
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/eq21.lean
00afa15c69d7f1c8395aaf4864024109aceee54a
[ "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
429
lean
inductive formula := | eqf : nat β†’ nat β†’ formula | impf : formula β†’ formula β†’ formula namespace formula definition denote : formula β†’ Prop | denote (eqf n1 n2) := n1 = n2 | denote (impf f1 f2) := denote f1 β†’ denote f2 theorem denote_eqf (n1 n2 : nat) : denote (eqf n1 n2) = (n1 = n2) := rfl theorem deno...
e55b1475bdd2e63555ca8e2aed36382ae45af56e
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Server/InfoUtils.lean
273a8aecab8cc0f8d83263acc8e154e72acecefe
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
14,704
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 ...
17343fc14b84bd0c33ae7f6aee2b27df144a5fcd
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/inst.lean
7073510e5a1239487904f89c82315e44a32b6022
[ "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
495
lean
import Lean.Expr open Lean def tst : IO Unit := do let f := mkConst `f; let x := mkBVar 0; let y := mkBVar 1; let t := mkApp (mkApp (mkApp f x) y) x; let a := mkConst `a; let b := mkApp f (mkConst `b); let c := mkConst `c; IO.println t; IO.println (t.instantiate #[a, b]); IO.println (t.instantiateRange 0 2 #[a, b]); I...
cfec20427f722ada8c122110f1eb386887e26299
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inlineProjInstIssue.lean
264f099c7ab2a874a9f7f9d87e74226f37a49f96
[ "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
345
lean
class NameableType (Ο„ : Type) where name : String instance : NameableType String where name := "String" instance [inst : NameableType Ξ±] : NameableType (Array Ξ±) where name := if inst.name.contains ' ' then s!"Array ({inst.name})" else s!"Array {inst.name}" def foo : String := NameableTyp...
1a0ac95bc67b092bc08849fe9d4a04ec4ee0e942
1d265c7dd8cb3d0e1d645a19fd6157a2084c3921
/src/lessons/lesson20.lean
221d211858c47f7999a490d883e28475807a0638
[ "MIT" ]
permissive
hanzhi713/lean-proofs
de432372f220d302be09b5ca4227f8986567e4fd
4d8356a878645b9ba7cb036f87737f3f1e68ede5
refs/heads/master
1,585,580,245,658
1,553,646,623,000
1,553,646,623,000
151,342,188
0
1
null
null
null
null
UTF-8
Lean
false
false
5,864
lean
namespace mynat inductive mynat : Type | zero : mynat | succ : mynat β†’ mynat def zero := mynat.zero def one := mynat.succ zero def two := mynat.succ one def three := mynat.succ (mynat.succ (mynat.succ zero)) #reduce one #reduce two #reduce three /- Unary functions -/ --...
d1d32d742765edba815692127f9857a19f5657b9
d5ecf6c46a2f605470a4a7724909dc4b9e7350e0
/tactic/norm_num.lean
fcc69761961484e3e6ea2b4db8e4cfc341dd31b7
[ "Apache-2.0" ]
permissive
MonoidMusician/mathlib
41f79df478987a636b735c338396813d2e8e44c4
72234ef1a050eea3a2197c23aeb345fc13c08ff3
refs/heads/master
1,583,672,205,771
1,522,892,143,000
1,522,892,143,000
128,144,032
0
0
Apache-2.0
1,522,892,144,000
1,522,890,892,000
Lean
UTF-8
Lean
false
false
11,936
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro Evaluating arithmetic expressions including *, +, -, ^, ≀ -/ import algebra.group_power data.rat tactic.interactive universes u v w open tactic namespace ex...
c4ee5fcae9187f88165eb3d454b38bd24a341335
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/topology/dense_embedding.lean
f252c4035448443416d4d5be508914097ee79842
[ "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
13,576
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro, Patrick Massot -/ import topology.separation /-! # Dense embeddings This file defines three properties of functions: * `dense_range f` means `f` ha...
a37fb972db7ce8a0d7783de7f78b7ef0eb1dbd39
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/zeta_values.lean
296f70123d5593634f6f3b1777a2648ca255b992
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
16,722
lean
/- Copyright (c) 2022 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import number_theory.bernoulli_polynomials import measure_theory.integral.interval_integral import analysis.fourier.add_circle import analysis.p_series /-! # Critic...
25c20687ac891ea58c46af7498a28a625e233d57
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/omega/term_auto.lean
0701362413ae9945eccb6200c935259695efc838
[]
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
2,022
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.omega.coeffs import Mathlib.PostPort namespace Mathlib /- Normalized linear integer arithmeti...
600ffdfcb8a202bccb8cfb4d4d1beb565b4ec893
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/module/submodule/basic.lean
106569d968336d42e7c821a350532f9bc5ab1ebe
[ "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
16,225
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes HΓΆlzl, Mario Carneiro -/ import algebra.module.linear_map import algebra.module.equiv import group_theory.group_action.sub_mul_action /-! #...
d76c7fb596a26bfc2e09d2d20045b755b4955669
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/pseudo_normed_group/breen_deligne.lean
9ad0592bd56ad04bd094c8a483ca1630b179ca46
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,111
lean
import pseudo_normed_group.basic import pseudo_normed_group.category import breen_deligne.suitable import for_mathlib.add_monoid_hom noncomputable theory local attribute [instance] type_pow open_locale nnreal big_operators matrix namespace breen_deligne namespace basic_universal_map variables {m n : β„•} (f : basi...
71f8ace728ffd90fa197f306d308e30bbd13e0da
7920bb65c187f9e7065f47e49b3b60ebe8cfe2c1
/src/part1.lean
9c3688df828e08a762c8b2079df4b9b8d0e7ccba
[]
no_license
ADedecker/grifone-3-16
3357441687acd8e1d8aa0f3eaeab76d69bd46b62
d7cb5a58695203dea6a27fb69067e08eb6a82bad
refs/heads/master
1,679,431,665,551
1,616,077,475,000
1,616,077,475,000
348,148,279
0
0
null
null
null
null
UTF-8
Lean
false
false
1,848
lean
import linear_algebra import utils namespace linear_map variables {E K : Type*} [field K] [add_comm_group E] [vector_space K E] (f : E β†’β‚—[K] E) local notation `k` := f.ker_it local notation `j` := f.range_it def ker_it (n : β„•) := (f^n).ker lemma mem_ker_it_succ_iff (n : β„•) (x : E) : x ∈ k (n+1) ↔ f x ∈ k n := by r...
c2046a18bd0a75aa9b9a83fcba398d04a1fe0970
a6b711a4e8db20755026231f7ed529a9014b2b6d
/05_Disjunction/00_intro.lean
46ea4e07e4eddc9d3b469a0cdb4ca06eaa19d6b8
[]
no_license
chaseboettner/cs-dm-1
b67d4a7e86f56bce59d2af115503769749d423b2
80b35f2957ffaa45b8b7a4479a3570a2d6eb4db0
refs/heads/master
1,585,367,603,488
1,536,235,675,000
1,536,235,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
507
lean
-- UNDER CONSTRUCTION section variables P Q R X Y Z: Prop variable pfP : P variable pfQ : Q variable pfR : R /- There's not enough information on the right hand side of the := to infer the value of R, so type inference can't be used, so R must be given explicitly. -/ theorem pfPorR : P ∨ R := or.intro_left R pfP ...
2a3efc65e84e6d2247d815ba337a984207554593
f7c63613a4933f66368ef2802a50c417a46cddfc
/tests/lean/run/1813.lean
e5b265dfabdd3baa084656419da83840001199d9
[ "Apache-2.0" ]
permissive
avigad/lean
28cef71cd8c4eae53f342c87f81ca78d7cc75874
5410178203ab5ae854b5804586ace074ffd63aae
refs/heads/master
1,608,801,379,340
1,504,894,459,000
1,505,174,163,000
22,361,408
0
0
null
null
null
null
UTF-8
Lean
false
false
523
lean
open tactic example {A B : Type} (f : A -> B) a b c (h1 : f a = b) (h2 : f a = c) : false := begin rw h1 at *, guard_hyp h1 := f a = b, guard_hyp h2 := b = c, admit end example {A B : Type} (f : A -> B) a b c (h1 : f a = b) (h2 : f a = c) : false := begin rw [id h1] at *, guard_hyp h1 := f a = b, guard_...
ad68946d0a81b8ba871c07289706ecacacf332a7
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/legendre_symbol/jacobi_symbol.lean
9bbec60ab8148ebd131ea7324d30b0ca8bd7f472
[ "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
17,540
lean
/- Copyright (c) 2022 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Stoll -/ import number_theory.legendre_symbol.quadratic_reciprocity /-! # The Jacobi Symbol We define the Jacobi symbol and prove its main properties. ## Main definitions We...
5c64e78d5be303a6a4709e4263f7edfa9c4e934e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/subtype_instance.lean
5160037818792d837f67e36a5f044a840c44de1b
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,434
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Provides a `subtype_instance` tactic which builds instances for algebraic substructures (sub-groups, sub-rings...). -/ import tactic.basic open tactic expr name list namespa...
90e8732016237b17b51f93f9b45896b9c4c21563
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/restrict_bug.lean
252a109db2a3f7e322b47a592a7e6f93630418a5
[ "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
157
lean
axiom all {A : Type}: list A β†’ (A β†’ Prop) β†’ Prop variable {A : Type} variable {R : A β†’ A β†’ Prop} set_option pp.all true check βˆ€ a l, all l (R a)
0c9b51be3d4e1ef6f1f0feb6587c9b125a9b7e3c
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/category/Compactum.lean
68850283ad17d72dcc0946b2fb9b5bdf2b0e581d
[ "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
17,822
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 category_theory.monad.types import category_theory.monad.limits import category_theory.equivalence import topology.category.CompHaus import topology.category.Profinit...
9f4028cda4a6e29ecc5a3dc0990dbdce9a9764e7
bf532e3e865883a676110e756f800e0ddeb465be
/category/basic.lean
12b64227d15fb60a7137f9fdc6faac67ba57e208
[ "Apache-2.0" ]
permissive
aqjune/mathlib
da42a97d9e6670d2efaa7d2aa53ed3585dafc289
f7977ff5a6bcf7e5c54eec908364ceb40dafc795
refs/heads/master
1,631,213,225,595
1,521,089,840,000
1,521,089,840,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,242
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 Extends the theory on functors, applicatives and monads. -/ universes u v w x y variables {Ξ± Ξ² Ξ³ : Type u} section applicative variables {f : Type u β†’ Type v} [applic...
f151e822d54bdfb18e154cc7becd600144d65736
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/strInterpolation.lean
5f51880ea478f4c10c63ea8a995c994b8953b966
[ "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
372
lean
#eval s!"hello {1+1}" def tst (x : Nat) : IO Unit := do IO.println s!"x: {x}" IO.println s!"x+1: {x+1}" #eval tst 10 #eval s!"{1}+{1}" #eval s!"\{{1+1}}" #eval s!"a{1}" def g (x : Nat) : StateRefT Nat IO Nat := do modify (Β· + x) get def ex : StateRefT Nat IO Unit := do IO.println s!">> hello {(←g 1)}" IO.println ...
0e22cd3a5f7fa8b51268eafe6b2a388c43930941
3863d2564418bccb1859e057bf5a4ef240e75fd7
/hott/homotopy/complex_hopf.hlean
038695919f9528ce165ec3dd7b69e672b003a629
[ "Apache-2.0" ]
permissive
JacobGross/lean
118bbb067ff4d4af48a266face2c7eb9868fa91c
eb26087df940c54337cb807b4bc6d345d1fc1085
refs/heads/master
1,582,735,011,532
1,462,557,826,000
1,462,557,826,000
46,451,196
0
0
null
1,462,557,826,000
1,447,885,161,000
C++
UTF-8
Lean
false
false
1,104
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 The H-space structure on SΒΉ and the complex Hopf fibration (the standard one). -/ import .hopf .circle open eq equiv is_equiv circle...
0db7fa7d05898634991f6482920f9991e7d41393
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/limits/cones.lean
d08eed316f623ca817b6123b6d7629dbd5769be3
[ "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
30,953
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor.const import category_theory.discrete_category import category_theory.yoneda import category_theory.f...
12f8450a976d1ca07a9d34d007d6b970045f8323
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/tactic/squeeze.lean
635dee7b98a0a18709c8de7f5dd2d276cfae9d79
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
3,609
lean
import meta.rb_map import tactic.basic import category.traversable open interactive interactive.types lean.parser meta def loc.to_string_aux : option name β†’ string | none := "⊒" | (some x) := to_string x meta def loc.to_string : loc β†’ string | (loc.ns []) := "" | (loc.ns [none]) := "" | (loc.ns ls) := string.join $...
1c9c189db59cf465f84000ee15f07e7274ad8974
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/normed_space/dual.lean
e2b6c94a46c829b08bb3c241b78ccab532fb67bf
[ "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
10,336
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.normed_space.hahn_banach.extension import analysis.normed_space.is_R_or_C import analysis.locally_convex.polar /-! # The topological dual of a norm...
6529e41a114d639cac6e683561279151903675aa
94e33a31faa76775069b071adea97e86e218a8ee
/src/number_theory/padics/padic_numbers.lean
e4ce9e5011d0f5c20f747eae8969279e49db27dc
[ "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
42,044
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import analysis.normed_space.basic import number_theory.padics.padic_norm /-! # p-adic numbers This file defines the p-adic numbers (rationals) `β„š_p` as the compl...
097d2a7bb316430ba3d7c825c96a3d6ddf573447
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/affine_space/matrix.lean
fd7eb1c68674943d0e38fdcc2d28a7e17070f3bf
[ "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
6,825
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import linear_algebra.affine_space.basis import linear_algebra.determinant /-! # Matrix results for barycentric co-ordinates > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > ...
a1b6a53565b92e086c5b8627cbf7c8769812c421
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/matrix/basic.lean
673c7a813acd1913d5790ed1658ee7250f868b3a
[ "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
39,244
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.big_operators.ring import data.fintype.card ...
dbb2e9a238f3725339cc5d5235cb51d562a7fe28
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/unknownTactic.lean
01ad345ecc2255629cb93e33e80a56467314227a
[ "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
271
lean
theorem ex1 (x : Nat) : x = x β†’ x = x := by intro aexact (rfl) #print "---" theorem ex2 (x : Nat) : x = x β†’ x = x := have : x = x := by foo fun h => h #print "---" theorem ex3 (x : Nat) : x = x β†’ x = x := have : x = x := by foo (aaa bbb) fun h => h
b55bd6b083fbf109f1c806d6248c9c0cbf336496
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/calc.lean
337d1e0b62612b8f16c41dda130b049d0123784c
[ "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
356
lean
namespace foo constant le : nat β†’ nat β†’ Prop axiom le_trans {a b c : nat} : le a b β†’ le b c β†’ le a c attribute [trans] le_trans infix `<<`:50 := le end foo namespace foo theorem T {a b c d : nat} : a << b β†’ b << c β†’ c << d β†’ a << d := assume H1 H2 H3, calc a << b : H1 ... << c : H2 ...
848c1513307bef7f3bd62ff88be1311043dde7fd
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/group_with_zero/units/lemmas.lean
68ced6b72bfc91a6f58f982c4eaf36c4319ba368
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
7,460
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.group_with_zero.commute import algebra.hom.units import group_theory.group_action.units /-! # Further lemmas about units in a `monoid_with_zero` or a ...
faa43b477e1724440388404b18ac8dff9641ebb3
bb31430994044506fa42fd667e2d556327e18dfe
/src/linear_algebra/projection.lean
0607c59f7ad110d90ec019a840c336223ccc4a0b
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
16,752
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import linear_algebra.quotient import linear_algebra.prod /-! # Projection to a subspace In this file we define * `linear_proj_of_is_compl (p q : submodule R E) (...
c37b897681d343208473c15912bfcc106a428a96
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/doNotation2.lean
de460b63ee24dbba2e1ab2cd4b1c2445d3b0424f
[ "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
365
lean
new_frontend def f (x : Nat) : IO Nat := do IO.println "hello world" let aux (y : Nat) (z : Nat) : IO Nat := do IO.println "aux started" IO.println ("y: " ++ toString y ++ ", z: " ++ toString z) pure (x+y) aux x (x + 1) -- It is part of the application since it is indented aux x (x -- parentheses use `withoutP...
cabf6df81c462153f4ae5d299e81a077f52cc621
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/simpStar.lean
abdc7b707b0a9d54db64f2a357b9d42702cda4d2
[ "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
506
lean
opaque f (x y : Nat) : Nat opaque g (x : Nat) : Nat theorem ex1 (x : Nat) (h₁ : f x x = g x) (hβ‚‚ : g x = x) : f x (f x x) = x := by fail_if_success simp simp [*] theorem ex2 (x : Nat) (h₁ : f x x = g x) (hβ‚‚ : g x = x) : f x (f x x) = x := by simp [*] axiom g_ax (x : Nat) : g x = 0 theorem ex3 (x y : Nat) (h₁ ...
10b650a0e190de4e4a6f2f80193a1995c1903902
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/number_theory/quadratic_reciprocity.lean
c53fa07f341478ffebda67c9f0e4ec9f5047f431
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,987
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 field_theory.finite.basic import data.zmod.basic import data.nat.parity /-! # Quadratic reciprocity. This file contains results about quadratic residues modulo ...
d0a0df6204cf275696c8114b43edc1fced5be391
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/app_builder_tac1.lean
64d91ca732f4e5403b65edd6dbb6677a657901d0
[ "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
520
lean
open tactic list nat name set_option trace.app_builder true set_option pp.all true meta_definition mk_ite (c a b : expr) : tactic expr := mk_mapp `ite [some c, none, none, some a, some b] example (a b : nat) : nat := by do a ← get_local `a, b ← get_local `b, mk_app `add [a, b] >>= trace, mk_app `mu...
d45e9a205ca47d315de507353d47117f96f64353
5c4b17dae42fab1d4f493f3b52977bffa54fefea
/4.6.1.lean
10886c00e73687156c80b736f358ab1f12ca5153
[]
no_license
hyponymous/theorem-proving-in-lean-solutions
9214cb45cc87347862fd17dfdea79fdf24b9df92
a95320ae81c90c1b15da04574602cd378794400d
refs/heads/master
1,585,777,733,214
1,541,039,359,000
1,541,039,359,000
153,676,525
2
0
null
null
null
null
UTF-8
Lean
false
false
1,036
lean
variables (Ξ± : Type) (p q : Ξ± β†’ Prop) example : (βˆ€ x, p x ∧ q x) ↔ (βˆ€ x, p x) ∧ (βˆ€ x, q x) := iff.intro (assume h : (βˆ€ x, p x ∧ q x), show (βˆ€ x, p x) ∧ (βˆ€ x, q x), from and.intro (assume z : Ξ±, (h z).left) (assume z : Ξ±, (h z).right)) (ass...
85706764f5011d05aada7ce31e1e1ed23ed6f36f
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/lamexp.lean
69a4587f58ae4c754d0554b20d00fa969732f219
[ "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
1,768
lean
inductive ty | base : string β†’ ty | arr : ty β†’ ty β†’ ty namespace ty instance : decidable_eq ty := by tactic.mk_dec_eq_instance instance : inhabited ty := ⟨ty.base "o"⟩ end ty @[reducible] def ctx := list ty inductive lamexp_core : ctx β†’ ty β†’ Type | var : Ξ  {Ξ“ : ctx} {t} (n : β„•), list.nth Ξ“ n = some t β†’ lamexp_core Ξ“...
3a1594454aabeac993ab77d570f6e43e68bb9abd
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20171217-false.lean
0314ec37cad4be380344ef58f04d9a2e22d69b1d
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
160
lean
lemma main : false := begin have helper : (βˆƒ x : β„•, true) β†’ false := Ξ» ⟨x, h⟩, by apply _fun_match; assumption, exact helper ⟨0, ⟨⟩⟩, end
d2eae8b960eb256d83919268adcdc7c3115822aa
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/analysis/normed_space/finite_dimension.lean
ffa6612043a0d8e636a8ddb5569e1491d8e58706
[ "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
12,834
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 linear_algebra.finite_dimensional tactic.omega /-! # Finite dimensional normed spaces over complete fields Over a ...
caf6a9d34ed3cb9d435ceddf59493f40ad856702
26ac254ecb57ffcb886ff709cf018390161a9225
/src/order/filter/bases.lean
bbacfc16afea719bc478a3b8abb156b758da90cb
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
31,112
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov, Johannes HΓΆlzl, Mario Carneiro, Patrick Massot -/ import order.filter.at_top_bot import data.set.countable /-! # Filter bases A filter basis `B : filter_basis Ξ±` on ...
22228b805b2464589824899b1e252d72f59ea18e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/set_like/fintype.lean
92783be767416b2536168710b97e3170f9832987
[ "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
910
lean
/- Copyright (c) 2021 . All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.set_like.basic import data.fintype.basic /-! # Set-like fintype This file contains a fintype instance for set-like objects such as subgroups. If `set_like A B` and `fint...
1deac0597c381ee486612dac86b918e39cf32bab
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/polynomial/tower.lean
8dc8313ae783ed5d7fba3d775f5b735f12dc440c
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,363
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yuyang Zhao -/ import algebra.algebra.tower import data.polynomial.algebra_map /-! # Algebra towers for polynomial > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to ...
c5e6c2504230e74c6407b4a599e93db1ef18d0c8
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/data/list/basic.lean
e7cd3009bdb54a8674b10fa7792e6a9f59923ddd
[ "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
8,090
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Parikshit Khanna. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura ---------------------...
0ffe8df5ec8834fe349c8ec4ca7fe058a5c2c7b5
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0104.lean
ae35412277790d7e40673376b3cf5a8cf834d7c9
[]
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
117
lean
constant Proof : Prop β†’ Type constant modus_ponens : Ξ  p q : Prop, (Proof p β†’ Proof q) β†’ Proof (implies p q)
02de878e3d3e9da2568503bf40a649ee31f5bbe5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/rel.lean
1c1b0f2186a251ec1edbb8c26719bf7220f18794
[ "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,748
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import order.complete_lattice import order.galois_connection /-! # Relations > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspon...
c9f0cb1a6c55a2767c619947a2437eda09e402c6
4727251e0cd73359b15b664c3170e5d754078599
/src/field_theory/finiteness.lean
b8ca2c16da3a9dbdf4a1d158c7489e03d2cdf965
[ "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,996
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.finiteness import linear_algebra.dimension /-! # A module over a division ring is noetherian if and only if it is finite. -/ universes u v open_loc...
0bf8b7b190b2f8c21e639964d07b9768476faf22
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/decAuxBug.lean
25e3b814858f9866d38ad901d5f84d90e1bb1242
[ "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
98
lean
section variable (A : Type) (B : A β†’ Prop) def foo := PSigma B def bar : Type := PSigma B end
b59505dc7bc43b90053589d6cebecf555dbf8ca6
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/typeclass_metas_internal_goals4.lean
361d8a5e0f997e1bfdaa8c09420341cd75e568dc
[ "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
649
lean
class Foo (Ξ± Ξ² Ξ³ : Type) := (u:Unit) class Bar (Ξ± Ξ² Ξ³ : Type) := (u:Unit) class Top := (u:Unit) instance FooBarToTop (Ξ± Ξ² Ξ³ : Type) [Foo Ξ± Ξ² Ξ³] [Bar Ξ± Ξ² Ξ³] : Top := {u:=()} instance Foo₁ (Ξ² Ξ³ : Type) : Foo Unit Ξ² Ξ³ := {u:=()} instance Fooβ‚‚ (Ξ± Ξ³ : Type) : Foo Ξ± Unit Ξ³ := {u:=()} instance Foo₃ (Ξ± Ξ² : Type) : Foo Ξ± Ξ² Uni...
8189b48440d7c88d8cc5ba921b6aac4f4c952987
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/category_theory/abelian/basic.lean
7b3c32128285ae2b8f828e288171f15fb1e592a6
[ "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
23,261
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.constructions.pullbacks import category_theory.limits.shapes.biproducts import category_theory.limits.shapes.images import category_theor...
82dd1055be4a608fa478dda59c44c63ddc39372a
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-numbertheory-102.lean
23bdf862896774664f0114940f10f13844c30d80
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
241
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.nat.basic import data.real.basic example : (2 ^ 8) % 5 = 1 := begin norm_num, end
6671e297784349038799e41edbc76318f30414d9
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/order/ideal.lean
116992c97c4d913d6c129a4c576612fedd6a51e1
[ "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
12,955
lean
/- Copyright (c) 2020 David WΓ€rn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David WΓ€rn -/ import order.basic import data.equiv.encodable.basic import order.atoms /-! # Order ideals, cofinal sets, and the Rasiowa–Sikorski lemma ## Main definitions Throughout thi...
41bb75b992c4d34e7210525d7b396f8c4961ae7e
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/tprod.lean
58a2b3596b533061c6a490f040d7cbba3fbc15a7
[ "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
5,913
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 -/ import data.list.nodup /-! # Finite products of types This file defines the product of types over a list. For `l : list ΞΉ` and `Ξ± : ΞΉ β†’ Type*` we define `list.t...
cee1fcc0d62f7a576bf57e5323b853906fe264eb
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/control/fix.lean
cc257a5177d54ce21e3c5601e4f7f178835b43ce
[ "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
3,314
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.nat.upto import data.stream.basic import data.pfun /-! # Fixed point This module defines a generic `fix` operator for defining recursive computations that ar...
9f896e1c1ed7eb96895631b11f8c99894a86bb55
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/combinatorics/young_diagram.lean
7886783d1f48ad7a37f9679d521a4216b8fe1a90
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
4,643
lean
/- Copyright (c) 2022 Jake Levinson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jake Levinson -/ import order.upper_lower /-! # Young diagrams A Young diagram is a finite set of up-left justified boxes: ```text β–‘β–‘β–‘β–‘β–‘ β–‘β–‘β–‘ β–‘β–‘β–‘ β–‘ ``` This Young diagram corresponds ...
18589d4988b3abd4febb23c38a9d29590fb28372
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/finset/preimage.lean
d8f7c34a28b100e01a71ebf7df946b0fe5561b63
[ "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
4,253
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro -/ import data.set.finite import algebra.big_operators.basic /-! # Preimage of a `finset` under an injective map. -/ open set function open_locale big...
4e4fd53d2e508af0cac0be1dc07bc6dc9319bddd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Tactic/Rewrite.lean
55de56b798b193c3079563a07710665dfb2e149c
[ "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,144
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.Tactic.Rewrite import Lean.Meta.Tactic.Replace import Lean.Elab.Tactic.Location import Lean.Elab.Tactic.Config namespace Lean.Elab.Tactic ...
b304af7324100f4adda2d0067bfe24eb17c5b5f5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/group/units.lean
f492b62332cd4a6a9c74737dc134ba0179a1cb47
[ "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
15,540
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes HΓΆlzl, Chris Hughes, Jens Wagemaker -/ import algebra.group.basic import logic.nontrivial /-! # Units (i.e., invertible elements) of a multiplicative mo...
13e6a4f2e0aef95c1482814caea276bda3304af5
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/adjunction/reflective.lean
3febb0a8d88f7e10e4af8f975b4b0c60eff63522
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
7,937
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.adjunction.fully_faithful import category_theory.functor.reflects_isomorphisms import category_theory.epi_mono /-! # Reflective functors Basic pr...
80a26493fd267f976b18ffce6fd192572761c7a2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/path_connected.lean
9a13c1b205d627a7b6dbe03d7be43fe66534c4c6
[ "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
40,951
lean
/- Copyright (c) 2020 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import topology.unit_interval import topology.algebra.ordered.proj_Icc import topology.continuous_function.basic /-! # Path connectedness ## Main definitions In th...
c4721a01fa7940e1c10219de339f21867401b55e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/preadditive/injective.lean
0f4b579d247b3ce21a1e332b95b12a7d54a98399
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
10,584
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Kevin Buzzard -/ import algebra.homology.exact import category_theory.types import category_theory.preadditive.projective import category_theory.limits.shapes.biproducts ...
9007a5e3e31d0413ea76d90d378b2569965b6cbf
ce89339993655da64b6ccb555c837ce6c10f9ef4
/bluejam/chap4_exercise1.lean
1337a16aded0d4c6c2dd2cb580497c39e664a0fc
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
1,363
lean
variables (Ξ± : Type) (p q : Ξ± β†’ Prop) example : (βˆ€ x, p x ∧ q x) ↔ (βˆ€ x, p x) ∧ (βˆ€ x, q x) := iff.intro ( assume h: βˆ€ x, (p x ∧ q x), have βˆ€ x, p x, from ( assume x: Ξ±, show p x, from (h x).left ), have βˆ€ x, q x, from ( ...
63c25dcde5a4e0a8210783c955d28e0041a43bb9
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/tactic/monotonicity/interactive.lean
35893af4fc997c06b940fc6d4f5f857bd18dc613
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
21,467
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import tactic.monotonicity.basic import category.basic import category.traversable import category.traversable.derive import data.dlist import logic.basic import tactic.cor...
df323b41f0c4e1028eead4fd2c8d1ff3d5c0cc4c
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/logic/embedding.lean
dd2380a6216c304f596843cac17c2e81814735de
[ "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
9,944
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro -/ import data.equiv.basic import data.sigma /-! # Injective functions -/ universes u v w x namespace function /-- `Ξ± β†ͺ Ξ²` is a bundled injective fun...
c0f8c0655d9b7d21f7a5cb1c005a4f1da5f7f51c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/ring/defs.lean
7f28e7eb12f262f81c4ef9b1f9836f61a31d87d9
[ "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
16,731
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Yury Kudryashov, Neil Strickland -/ import algebra.group.basic import algebra.group_with_zero.defs import data.int.cast.defs /-! # S...
bb32d45e0667f86aff21174d1a2c2cc100258847
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/holeErrors.lean
e6969e64608d264cf5b240dd8df9a864b43c4d39
[ "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
176
lean
-- def f1.{u} := id.{u} def f2 : _ := id def f3.{u} := let x := id.{u}; x def f4 (x) := x def f5 (x : _) := x def f6 := fun x => x def f7.{u} := let rec x := id.{u}; 10
8479b138a3221f0817f4903213d473f1c7ef5286
b2e508d02500f1512e1618150413e6be69d9db10
/src/measure_theory/measure_space.lean
0b44bde0f148bb7eb127a34c728d08c1b8811b7a
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
35,104
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 Measure spaces -- measures Measures are restricted to a measurable space (associated by the type class `measurable_space`). This allows us to prove equ...
63257b2f047686fc7731c2b1b36e79d410ec9eaf
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/module/submodule/basic.lean
1ffe24a81fd9e5083a27a8eadf6d84aaeb25c6ac
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
17,534
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes HΓΆlzl, Mario Carneiro -/ import algebra.module.linear_map import algebra.module.equiv import group_theory.group_action.sub_mul_action /-! #...
e1c6353ab23f4d9ed61055c826dfafa7adb11caf
32317185abf7e7c963f4c67c190aec61af6b3628
/library/data/nat/bigops.lean
6784624bf6cbc1d30f0e93ae63a4ca957f736747
[ "Apache-2.0" ]
permissive
Andrew-Zipperer-unorganized/lean
198a2317f21198cd8d26e7085e484b86277f17f7
dcb35008e1474a0abebe632b1dced120e5f8c009
refs/heads/master
1,622,526,520,945
1,453,576,559,000
1,454,612,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,407
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Finite sums and products over intervals of natural numbers. -/ import data.nat.order algebra.group_bigops algebra.interval namespace nat /- sums -/ section add_monoid ...
86d4f5a3a276adf6e90793952ad790d09f5640f2
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/types/eq.hlean
1519ec50b5d87c44b7890b63de69dd0b918e10f5
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
21,849
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Partially ported from Coq HoTT Theorems about path types (identity types) -/ import types.sigma open eq sigma sigma.ops equiv is_equiv is_trunc namespace eq /- P...
e2ee5827ab26527ed3d6d4fbb0a8439a6e82f99a
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/lie/solvable.lean
c86d78d44197e0024c485fd45396d4b198ca43ad
[ "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
14,024
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.ideal_operations import algebra.lie.abelian import order.preorder_hom /-! # Solvable Lie algebras Like groups, Lie algebras admit a natural concept of ...
92980efbd57a1bdbd22bd6833f48133c29367633
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/Array/Mem.lean
1c6ec08e958a905fa044c27c4f4b034268c1e286
[ "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
2,193
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Array.Basic import Init.Data.Nat.Linear import Init.Data.List.BasicAux theorem List.sizeOf_get_lt [SizeOf Ξ±] (as : List Ξ±) (i : Fi...
c46121fa1117eeb63c605788b441bb59a3ad47fa
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_423.lean
1990833eb9b345c442fe437fc6da3a92f6e5df7b
[]
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
632
lean
import data.real.basic variables (f g : ℝ β†’ ℝ) -- BEGIN def fn_even (f : ℝ β†’ ℝ) : Prop := βˆ€ x, f x = f (-x) def fn_odd (f : ℝ β†’ ℝ) : Prop := βˆ€ x, f x = - f (-x) example (ef : fn_even f) (eg : fn_even g) : fn_even (Ξ» x, f x + g x) := begin intro x, calc (Ξ» x, f x + g x) x = f x + g x : rfl ...
335774aa5ed69bd7c774f4ef25dabbaaf08ea64f
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/linear_algebra/free_module/rank.lean
d23cf5a7782d599b01dcf3aeb2f5ab5859d3ecfa
[ "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
3,612
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import linear_algebra.free_module.basic import linear_algebra.finsupp_vector_space /-! # Rank of free modules This is a basic API for the rank of free modules. ...
3d7687acbe1f8cc675088f81bfeab06c36b8b091
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/analysis/normed_space/multilinear.lean
da9426bf6c04710761798de629d58f90cf67301d
[ "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
72,042
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...
04c046baba54fc5472d3604f9ea0712b2ab3005c
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/data/finsupp/basic.lean
8eadf22566b3ea49b3175bbc3259f0683aa9753d
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
73,834
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 data.fintype.card import data.finset.preimage import dat...
827ccf058f68858d2ffd54655760c43ddf6827d7
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/category/Module/filtered_colimits.lean
39cf4e67f18cf92846cdb8d9f2fb668c36f3ec73
[ "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
7,268
lean
/- Copyright (c) 2021 Justus Springer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justus Springer -/ import algebra.category.Group.filtered_colimits import algebra.category.Module.basic /-! # The forgetful functor from `R`-modules preserves filtered colimits. For...
ae0eb4b6454bf9df39ef54fed8ccb245eb1486ec
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/test/examples.lean
773d1a76e7d23c72bacf084a556b138ab1a72abb
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
5,815
lean
import tactic data.stream.basic data.set.basic data.finset data.multiset category.traversable.derive open tactic universe u variable {Ξ± : Type} example (s t u : set β„•) (h : s βŠ† t ∩ u) (h' : u βŠ† s) : u βŠ† s β†’ true := begin dunfold has_subset.subset has_inter.inter at *, -- trace_state, intro1, triv end ex...
5332c94a7be302c8eea00ed1b85b7eb37f654fef
bdd56e6eb0f467437e368d613de75299495d4054
/src/data/dvector.lean
06f128328204a40a381db4e91eb0f3bbc9c53a80
[]
no_license
truong111000/formalabstracts
49a04c268ccee136e48e24e9d5dcb6fedea4b53e
93a89a5c05c6fbc23eb9b914b60dcc353e609cd2
refs/heads/master
1,589,551,767,824
1,555,708,723,000
1,555,708,723,000
182,326,292
0
0
null
1,555,708,332,000
1,555,708,331,000
null
UTF-8
Lean
false
false
10,613
lean
import tactic.tidy data.pnat universes u v w @[derive decidable_eq]inductive dvector (Ξ± : Type u) : β„• β†’ Type u | nil {} : dvector 0 | cons : βˆ€{n} (x : Ξ±) (xs : dvector n), dvector (n+1) @[derive decidable_eq]inductive dfin : β„• β†’ Type | fz {n} : dfin (n+1) | fs {n} : dfin n β†’ dfin (n+1) namespace dfin @[simp] def to...
7246ea8a8685037dd268148ec9f4da47b1c61426
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/ring/pi.lean
6d41616e06a7771f7ddc85032d0ebba40939323f
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
3,001
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import tactic.pi_instances import algebra.group.pi import algebra.ring.basic /-! # Pi instances for ring This file defines instances for ring, semiring an...
22e78bb21ff9d3cd6f0e9151ba459c7bc23d70da
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/local_extr.lean
4cdcfeacb43e70de0899b887468d20f10baaec90
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
20,797
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.calculus.deriv.polynomial import topology.algebra.order.extend_from import topology.algebra.polynomial /-! # Local extrema of smooth functions > T...
a484c193b8e5371f227377df80bad643bd69fad2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/algebra_tower.lean
0a0515b1a5f51ebb49bc118f3b48d8f65eda1b45
[]
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
9,962
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.algebra.tower import Mathlib.algebra.invertible import Mathlib.linear_algebra.basis import Ma...
449231be22eef4e507223ad4468f001420161688
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/hom/units.lean
c6e5cc49872881a96c5ad6d7b953835b12439ae9
[ "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
13,935
lean
/- Copyright (c) 2018 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes, Kevin Buzzard -/ import algebra.hom.group import algebra.group.units /-! # Monoid homomorphisms and units > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any...
21b3bfe59e604e9fcd682c84490aa53642781974
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/data/real/nnreal.lean
4b31fa3900a7f045c277cd245bb9864aea8b1561
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
25,779
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import algebra.linear_ordered_comm_group_with_zero import algebra.big_operators.ring import data.finset.lattice import data.real.basic impo...
f47d179868639e01de7ec8af75f95884119f1237
4fa161becb8ce7378a709f5992a594764699e268
/src/category_theory/equivalence.lean
978002281148fb63d1b55bfeaa435c088461b6ab
[ "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
14,752
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.fully_faithful import category_theory.whiskering import tactic.slice namespace category_theory ...
21815ae881490a80436eca42ebbddaf5ce40de4b
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/finsupp/basic.lean
0b375d281d6606f95aaa8920ee96271b407dbf6c
[ "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
106,131
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 data.finset.preimage import algebra.indicator_function import algebra.group_action_hom /-! # Type of functions with finite support For any ty...
d94a1ec39fb120429721238f3df5b84ce536671f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/shapes/reflexive_auto.lean
beca4841e387814b85152c5f9916bada8c537080
[]
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
8,533
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.adjunction.default import Mathlib.category_theory.limits.shapes.equalizers impo...
3eb8bcc53b1289e3d706cd9b1c9e71f2a72baf9d
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/analysis/normed_space/basic.lean
3dadf36205989b4eec162e83145ad0b3a0b262b5
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
40,458
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes HΓΆlzl -/ import algebra.pi_instances import linear_algebra.basic import topology.instances.nnreal topology.instances.complex import topology.algebra.module im...
b2d7986e59b2c681308a0a08727899a780f45fb5
05b503addd423dd68145d68b8cde5cd595d74365
/src/algebra/field.lean
ee6e32642e3355cf2526ae4f01996ee04b010bcf
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,061
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro -/ import logic.basic algebra.ring algebra.group_with_zero open set universe u variables {Ξ± : Type u} @[priority 100] -- see Note [lower instance prior...
29db49c4d8bd067e948f4578c6085982f26148da
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Data/JsonRpc.lean
2121b62419dae371faa72d5b7bf07fa3d6073ca3
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
13,639
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.Control import Init.System.IO import Lean.Data.RBTree import Lean.Data.Json /-! Implementation of JSON-RPC 2.0 (https://www.jsonrpc.org...
2a27bfa5de1a3c47bd71e654efcfc7559e9ffbca
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/tactic/mk_iff_of_inductive_prop.lean
cff6aba96cb5e135ac367b7ce3ce6af117f18dee
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
6,893
lean
/- Copyright (c) 2018 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl Generation function for iff rules for inductives, like for `list.chain`: βˆ€{Ξ± : Type*} (R : Ξ± β†’ Ξ± β†’ Prop) (a : Ξ±) (l : list Ξ±), chain R a l ↔ l = [] ∨ βˆƒ{b : Ξ±...
1e44059248455bf5127e8714c17fe490bdf847e2
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/geometry/manifold/smooth_manifold_with_corners.lean
9aa609e9d202728b6fc5c0f898b1352bf5ef3f5b
[ "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
41,634
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...
46791912ba653c3ed2ac5a9d329c9f8df4fc0fae
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/pi.lean
9d55eab4bb20a378b4ef482776afbefd364a2b60
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
12,808
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov, Eric Wieser -/ import linear_algebra.basic /-! # Pi types of modules This file defines constructors for linear maps wh...
b1b5ab65b0e983cc2d70bafb1bf2c66487c75935
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/extern.lean
84a3c515d012f0fa235baa5e2f7b0ba13b0d9925
[ "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
318
lean
new_frontend @[extern] def foo (x : Nat) := x @[extern "bla"] def foo2 (x : Nat) := x @[extern 2 "boo"] def foo3 (x : Nat) := x @[extern cpp "Lean::bla" llvm "lean_bla"] def foo4 (x : Bool) := x @[extern cpp inline "#1 && #2"] def foo5 (x y : Bool) := x @[extern cpp adhoc llvm "foo"] def foo6 (x y : Bool) := x
1b1d290dbff704d1b7d86143904ab696fe034b9e
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/hit/pushout.hlean
908a17e5233e4f7bc818996e2f8350deac956533
[ "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
12,891
hlean
/- Copyright (c) 2015-16 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Ulrik Buchholtz Declaration and properties of the pushout -/ import .quotient types.sigma types.arrow_2 open quotient eq sum equiv is_trunc namespace pushout...
710d3139400c5661ad864a6e765bfe6125a5026f
63abd62053d479eae5abf4951554e1064a4c45b4
/src/linear_algebra/lagrange.lean
cf03e714c1cb0b9a69d6b3be9d92cc2ddbe1ed31
[ "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
7,092
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 import algebra.big_operators.basic /-! # Lagrange interpolation ## Main definitions * `lagrange.basis s x` where `s : finset F` and `x : F`: t...
afda772d936d6bdfd1ef7d0b433553344ca1694f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/list/pairwise_auto.lean
b352f6f770a5d759bea9bda21d0b95427f328058
[]
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
10,835
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.list.basic import Mathlib.PostPort universes u v namespace Mathlib namespace list ...
150538370de750475017c16f6a05bbef4cfa5f6c
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/analysis/calculus/local_extr.lean
2fcb5e3c6cd85afbdcf73e4fe328e74e04de2597
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,926
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.local_extr import analysis.calculus.deriv /-! # Local extrema of smooth functions ## Main definitions In a real normed space `E` we define `pos_t...
b1ff6a51e9e626aeada2bede8951cbe545e85a4d
0d2e44896897eda703992595d71a0b19ed30b8a1
/uexp/tactic_paper_supplemental_material/monoid_cancellation/cancellation_solver_opt.lean
06e08f8920a1bf3600a7e24de465c39759e24fc8
[ "BSD-2-Clause" ]
permissive
wwombat/Cosette
a87312aabefdb53ea8b67c37731bd58c7485afb6
4c5dc6172e24d3546c9818ac1fad06f72fe1c991
refs/heads/master
1,619,479,568,051
1,520,292,502,000
1,520,292,502,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,041
lean
import .cancellation_solver local infix * := star open tactic expr namespace opt set_option eqn_compiler.max_steps 20000 meta def iter_right : tactic unit := do t ← target, match t with | `(%%a = o * %%b) := apply `(@plus_unit_c %%a %%b) | `((%%a * %%b) * %%c = %%d) := (apply `(@plus_assoc_c1 %%a %%...
41c5b2e8ca6654f5e1ecbc504bd789e760acdda2
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world4/level7.lean
8d2e81c653c073c7b25a825328f7511bb261424a
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
817
lean
import game.world4.level6 -- hide namespace mynat -- hide /- # World 4 : Power World ## Level 7 : `pow_pow` -/ /- Boss level! What will the collectible be? -/ /- Lemma For all naturals $a$, $m$, $n$, we have $(a ^ m) ^ n = a ^ {mn}$. -/ lemma pow_pow (a m n : mynat) : (a ^ m) ^ n = a ^ (m * n) := begin [less_leaky...
007fd8cb2067f1815ab94cd304bfe27fc7a43b80
46125763b4dbf50619e8846a1371029346f4c3db
/src/category_theory/limits/limits.lean
b48be9b3313abb810619f9cb3d5950323e9fd749
[ "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
36,825
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Scott Morrison, Floris van Doorn -/ import category_theory.whiskering import category_theory.yoneda import category_theory.limits.cones import category_the...