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
1f1bcb14d518e6f50953be14e30e22e864d2a7ee
4727251e0cd73359b15b664c3170e5d754078599
/src/data/polynomial/iterated_deriv.lean
2ec5217cc9e8341442859957b955e43a32014629
[ "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,816
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import data.nat.interval import data.polynomial.derivative import tactic.linarith /-! # Theory of iterated derivative We define and prove some lemmas about iterated (fo...
d1b1c7242d1d0937afe9a0b064e414340baa32ec
531456391187e1b7678c24ddaf3d6470b4dba971
/library/init/meta/expr.lean
870f25275929c6bd55a82889c0c354a8a02826b6
[ "Apache-2.0" ]
permissive
tigerneil/lean
7e4834cb9b03027c0e3ba42efd8c1a4f52389c9c
8f31cff99bca2c5dd7fcd425de1ff1cb8e4e150a
refs/heads/master
1,606,890,672,381
1,499,580,201,000
1,499,580,305,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,243
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.level init.category.monad init.meta.rb_map universes u v structure pos := (line : nat) (column : nat) instance : decidable_eq p...
c51edf689adb0449f273ac369bf7757f288f42d0
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/elabCmd.lean
6e35a70017e40d7137e89f8acd4334e7264b55f2
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
671
lean
import Lean open Lean open Lean.Elab open Lean.Elab.Term def getCtors (c : Name) : TermElabM (List Name) := do let env ← getEnv; (match env.find? c with | some (ConstantInfo.inductInfo val) => pure val.ctors | _ => pure []) def elabAnonCtor (args : Array Syntax) (τ : Expr) : TermElabM Expr := match τ.getAppFn w...
9186cfd4b354e3df199845a4a8e5f1ce7462a044
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/measure/haar/quotient.lean
5bd1067dbc4e5b7eb79ad367ec02b88d79d6e7a6
[ "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,289
lean
/- Copyright (c) 2022 Alex Kontorovich and Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alex Kontorovich, Heather Macbeth -/ import measure_theory.measure.haar.basic import measure_theory.group.fundamental_domain import algebra.group.opposite /-! #...
610930535f246c156dfa582df57a19b5b4b1fa67
1169362316cbb36a5f4ae286e8419e4e5163f569
/src/syntax.lean
689326cb56b6ce69d3f5e86f806c8870b8e413e4
[]
no_license
fpvandoorn/formal_logic
21687f7e621fdd9124a06a5b3a5a9c5a6ae40cc6
adbe6d70399310842525ff05ff97e29f30dd4282
refs/heads/master
1,585,666,688,414
1,539,046,655,000
1,539,046,655,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,821
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The syntax of simple type theory, i.e. inductive definitions of types and terms. Notes: When it comes to basic types, type constructors, and constants, we distinguish b...
5e541a0a24d3c9bd64430e7dbda4fd7f9ba2ced7
9ee042bf34eebe0464f0f80c0db14ceb048dab10
/stage0/src/Lean/Elab/Declaration.lean
43845e5217d3dd5780a61012c3973c40f9379122
[ "Apache-2.0" ]
permissive
dexmagic/lean4
7507e7b07dc9f49db45df5ebd011886367dc2a6c
48764b60d5bac337eaff4bf8a3d63a216e1d9e03
refs/heads/master
1,692,156,265,016
1,633,276,980,000
1,633,339,480,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,615
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Util.CollectLevelParams import Lean.Elab.DeclUtil import Lean.Elab.DefView import Lean.Elab.Inductive import Lean.Elab.Struct...
e7118a9233d0327e02e94feaf7e3c8f03300d113
ac89c256db07448984849346288e0eeffe8b20d0
/src/Lean/Meta/LevelDefEq.lean
cf8a6dbd691ec76d493e213e8a2afd04a1f03e99
[ "Apache-2.0" ]
permissive
chepinzhang/lean4
002cc667f35417a418f0ebc9cb4a44559bb0ccac
24fe2875c68549b5481f07c57eab4ad4a0ae5305
refs/heads/master
1,688,942,838,326
1,628,801,942,000
1,628,801,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,378
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.CollectMVars import Lean.Util.ReplaceExpr import Lean.Meta.Basic import Lean.Meta.InferType namespace Lean.Meta private partial def decAu...
a9a4b53163d51524f2e93fe875a0373323ad9755
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/DiscrTree.lean
6eb3309feac49dcaf6f4d51f6ed4a22b31a21199
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
9,342
lean
import Lean.Format open Lean def List.insert {α} [BEq α] (as : List α) (a : α) : List α := if as.contains a then as else a::as inductive Term | var : Nat → Term | app : String → Array Term → Term instance : Inhabited Term := ⟨Term.var 0⟩ inductive Key | var : Key | sym : String → Nat → Key instance : Inhabited Key...
24ff88e09ef54ad8bdb7239749a6f9fd722e08c5
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/types/prod.hlean
7d6cb44442a8cfbd0dc9f2e524babd88cdb37742
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
6,821
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 Ported from Coq HoTT Theorems about products -/ open eq equiv is_equiv is_trunc prod prod.ops unit equiv.ops variables {A A' B B' C D : Type} {a a' a'' :...
b4b18528f761ce1131cdcbc9feb6df4487d9a6fa
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Util/CollectLevelParams.lean
82ae8170fbc43047c85d54872d3350eb495a7b66
[ "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
2,213
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.Expr namespace Lean namespace CollectLevelParams structure State where visitedLevel : LevelSet := {} visitedExpr : ExprSet := {} ...
57c2fe4cf0bc9f584cdc461a5d0b33b412a0be21
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/dsimp_at1.lean
7cb34d792692571f57aa07bd50e0f0e3554b68f7
[ "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
315
lean
open tactic constants (A : Type.{1}) (x y : A) noncomputable definition f (z : A) : A := z attribute [defeq] definition f.def (z:A) : f z = z := rfl definition foo (z₁ z₂ : A) : f z₁ = f z₂ → z₁ = z₂ := by do H ← intro `H, trace_state, dsimp_at H, trace_state, assumption
2c7b770e8884a6a7b93c39582b6739f246919159
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/ring_hom/integral.lean
09c56649a254985de9b3ee30203caa9ea97ae6b7
[ "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
1,177
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.ring_hom_properties /-! # The meta properties of integral ring homomorphisms. -/ namespace ring_hom open_locale tensor_product open tensor_product ...
65ffd2ca7993b6c7e172fe8ebf64f3b908fbba49
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/convex/extreme.lean
cde58f3eb43ff2b0c4bd43b9fd7b098090c78f76
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
9,570
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import analysis.convex.hull /-! # Extreme sets This file defines extreme sets and extreme points for sets in a module. An extreme set of `A...
34bd7446e7b165737d82b2dd7eb80c0285ae786d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/localization/integer.lean
65928aeded7b10b3951cd0f9cd8adf6fe8b1cf80
[ "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,501
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import ring_theory.localization.basic /-! # Integer elements of a localization > THIS FILE IS SYNCHRONIZED WIT...
a7c7bf63d02bc0c9d6dc7c17db1eddac400a9b10
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/omega/misc.lean
2931b7282e1eb79ed7eaa8a72f7ee2b71fd36163
[ "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,161
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ /- Miscellaneous. -/ import tactic.localized variables {α β γ : Type} namespace omega lemma fun_mono_2 {p : α → β → γ} {a1 a2 : α} {b1 b2 : β} : a1 = a2 → b1 = b2 → (p a...
e831bf04493240f4a6ce6b17c00a5632030e586a
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/group/pi.lean
67837111d62309d76b6dc6e81fe52e3def805e3c
[ "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
9,137
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 data.pi import data.set.function import tactic.pi_instances import algebra.group.hom_instances /-! # Pi instances for groups and monoids This file ...
e73585b3f4c5c50ed833533d911e7569b59b545d
94637389e03c919023691dcd05bd4411b1034aa5
/src/zzz_junk/04_type_library/04_box.lean
317fe49f05ece31f7a0a65f55d0feda345abca0e
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
410
lean
namespace hidden /- This polymorpmic box type allows one to enclose/wrap a value of any ordinary computational type (of type, Type) "in" a box structure. Using "structure" to define this type as specified here provide a projection function with the same name, val, as the field who value it projects (i.e., accesses an...
bf939b2e25ec2578e1b985240db157ff8a0afc66
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/types/num.hlean
dc7b8b10ac85a355931a3c0bacfd4810fe2edf0f
[ "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
17,884
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import types.bool tools.helper_tactics open bool eq eq.ops decidable helper_tactics namespace pos_num theorem succ_not_is_one (a : pos_num) : is_one (succ...
d28f21985a22b78d2c9a455fa50fdcf5f7ae1b18
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/is_alg_closed/classification.lean
77d72392bc026fe07a19e9588eb6329cd4a0956f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,669
lean
/- Copyright (c) 2022 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.algebraic_independent import field_theory.is_alg_closed.basic import data.polynomial.cardinal import data.mv_polynomial.cardinal import data.zmod.algeb...
e3ff7e3e1c36281918376aa6601498580e1f26e8
aa5a655c05e5359a70646b7154e7cac59f0b4132
/stage0/src/Init/Data/Nat/Div.lean
6aaeca4fb3274e96aba50d4fad7cbd969cab7238
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,185
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.WF import Init.Data.Nat.Basic namespace Nat private def divRecLemma {x y : Nat} : 0 < y ∧ y ≤ x → x - y < x := fun ⟨ypos, ylex⟩ => su...
2d7a8239312210a20f0366289000166c409fe288
75c54c8946bb4203e0aaf196f918424a17b0de99
/src/zfc_expanded.lean
446a2b11ea14af0ca94b76849eb271bb2affb36f
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
14,780
lean
/- Copyright (c) 2019 The Flypitch Project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jesse Han, Floris van Doorn -/ import .fol open fol namespace zfc inductive ZFC_rel : ℕ → Type | ϵ : ZFC_rel 2 def L_ZFC : Language := ⟨λ_, empty, ZFC_rel⟩ def ZFC_el : L_...
1933d382a824041bb26e0d84ad6f29eb23177925
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/ematch_partial_apps.lean
9c3b6bf7cd407a1867922e1f7231fa4dd92921d3
[ "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
778
lean
open tactic set_option trace.smt.ematch true example (a : list nat) (f : nat → nat) : a = [1, 2] → a^.map f = [f 1, f 2] := begin [smt] intros, ematch_using [list.map], ematch_using [list.map], ematch_using [list.map] end example (a : list nat) (f : nat → nat) : a = [1, 2] → a^.map f = [f 1, f 2] := begin [s...
49e60a953294858626c3f9e2b8b96426bc5e73bd
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-algebra-11.lean
69b973b2dd006c3d0fe7267579488ab84ad598fe
[ "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
558
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.real.basic example (a b : ℝ) (h₀ : a ≠ b) (h₁ : a ≠ 2*b) (h₂ : ( 4 * a + 3 * b ) / ( a - 2 * b ) = 5) : ( a + 11 * b ) / ( a - b ) = 2 := begin rw eq_comm, ref...
22e8794ec089e65da5160e4a22af52760fc318d1
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/ring_theory/power_series.lean
cdc1df3cf16a1458071bb9e20dda0480f89ff32d
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
57,892
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau -/ import data.mv_polynomial import ring_theory.ideal.operations import ring_theory.multiplicity import tactic.linarith /-! # Formal power series This file ...
b54193e727ad8e326c35cf3c4f360f311e852e8a
0d9b0a832bc57849732c5bd008a7a142f7e49656
/src/boxint.lean
88e95e137b92e78b8c16be2918d0e8358edc6e05
[]
no_license
mirefek/sokoban.lean
bb9414af67894e4d8ce75f8c8d7031df02d371d0
451c92308afb4d3f8e566594b9751286f93b899b
refs/heads/master
1,681,025,245,267
1,618,997,832,000
1,618,997,832,000
359,491,681
10
0
null
null
null
null
UTF-8
Lean
false
false
13,554
lean
import tactic import .direction import .list2d import .boolset2d import .component2d import .sokostate structure boxint := (subboxes : bset2d) (supboxes : bset2d) (sk_comp : bset2d) structure boxint.valid (avail : bset2d) (as : boxint) : Prop := (sub_sup : as.subboxes ⊆ as.supboxes) (sup_avail : as.supboxes ⊆ avail)...
c8074ea4c1881803689c62edcfcbd4b63c2c96ad
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/init/hedberg.hlean
77a830c67107f03a5b784bf12a144f2f109e6408
[ "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
1,508
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Hedberg's Theorem: every type with decidable equality is a set -/ prelude import init.trunc open eq eq.ops nat is_trunc sigma -- TODO(Leo): move const coll ...
5c229cc29a810407367a867e6d6a25ad264a44bc
1a9d3677cccdaaccacb163507570e75d34043a38
/src/week_4/Part_C_topology.lean
1d999dee2919a91a392250f82962bd308aca6df2
[ "Apache-2.0" ]
permissive
alreadydone/formalising-mathematics
687d386a72065795e784e270f5c05ea3948b67dd
65869362cd7a2ac74dd1a97c7f9471835726570b
refs/heads/master
1,680,260,936,332
1,616,563,371,000
1,616,563,371,000
348,780,769
0
0
null
null
null
null
UTF-8
Lean
false
false
7,238
lean
import topology.subset_properties -- compactness of subsets of top spaces /-! # Topology, the traditional way Let's do some topology! In this file we prove that * the continuous image of a compact space is compact; * A closed subset of a compact space is compact. ## Details In fact we do a little more than this (...
49c413227bf0bee30177e979e5313ac471916570
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/algebra/char_p.lean
cd4cf2165c95085499b19698ba2bf399fa46ee1f
[ "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
9,111
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz Characteristic of semirings. -/ import data.padics.padic_norm data.nat.choose data.fintype.basic import data.zmod.basic algebra.module universes u ...
902895269331a1bb928701db3bf5ede32c5b6fe1
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/test/tactics.lean
d4787354e8dae018c7031281bda8dd1cfcbadbff
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
15,798
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.interactive import tactic.finish import tactic.ext import tactic.lift import tactic.apply import tactic.reassoc_axiom import tactic.tfae impo...
6254658d1bd3ef53a124f04f898850fe1dea08bf
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/algebra/infinite_sum.lean
6f2fb74a4c4777365dadc57541c188829696b19f
[ "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
40,313
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 algebra.big_operators.intervals import topology.instances.real import data.indicator_function import data.equiv.encodable.lattice import order.filter.at_top_bo...
b60e1501d5cd9a5c3fa7ac03581d4df1e1feefdd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/constructions/epi_mono_auto.lean
52210f19ebd41fce2fb214d8c3521bb18b731ad6
[]
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,314
lean
/- Copyright (c) 2021 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.limits.shapes.pullbacks import Mathlib.category_theory.limits.shapes.binary_pro...
9a19768b17279c9c7741b8bda02b3950fea936c8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/completion.lean
49f313ab15d248c2e9fbe61b39b7678904f46ba0
[ "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
8,655
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.uniform_space.completion import topology.metric_space.isometry import topology.instances.real /-! # The completion of a metric space Completio...
a3fc34ec094af83cc3fd79df067a021c2f38b671
54b389c64167c70f046b08bae8e0de8b39b0bf4f
/problem147.lean
3bed5005b1031b66218be386158c6135c667f0b0
[]
no_license
Mercerenies/eulers-melting-pot
4340b55b0c05f2cf8da2a80649971a26315cff18
1a2ea7e8ed33f8c027e08207852b50d6f2767a2c
refs/heads/master
1,693,602,792,233
1,692,838,742,000
1,692,838,742,000
62,594,871
11
0
null
null
null
null
UTF-8
Lean
false
false
1,521
lean
import data.nat.basic import algebra.parity variables {α : Type*} def clamp [linear_order α] (x a b: α): α := linear_order.min (linear_order.max x a) b def sum_zero_up_to [has_zero α] [has_add α] (limit: nat) (f: nat → α): α := nat.rec 0 (λ n acc, f n + acc) limit -- Note: We re-order some terms from the Rust ...
e6127032e320c3318c58aa77a4e7b2383cbffda8
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Util/CollectMVars.lean
b9c6211a69b2cfb7eaf7ebb7f19669fb47542722
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,215
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 -/ prelude import Init.Lean.Expr namespace Lean namespace CollectMVars structure State := (visitedExpr : ExprSet := {}) (result : Array MVarId :...
325d469d4e2f697089cf5d1544ec80471137ec61
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/topology/algebra/monoid.lean
370d25e7453145fa47b1ea059db304ed452c7d4b
[ "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
5,143
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 Theory of topological monoids. TODO: generalize `topological_monoid` and `topological_add_monoid` to semigroups, or add a type class `topological_opera...
9fabb900271cce2cc13151ae6fda3aa5d39af271
52b9f0379b3b0200088f3b2ec594d4dd3d3e6128
/factor.lean
5ae20a8c81cc06bc67f582a6b7ebb05096835d15
[]
no_license
minchaowu/mathematica_examples
f83fdf092a136f157dde8119b8a75c2cd4d91aae
fcc65b0b9fcb854f8671c0ebbca77bb3c1a9ecc1
refs/heads/master
1,610,729,580,720
1,498,331,049,000
1,498,331,049,000
99,731,631
0
0
null
1,502,222,706,000
1,502,222,706,000
null
UTF-8
Lean
false
false
1,265
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis -/ import init.meta.mathematica datatypes open expr tactic nat local attribute [simp] left_distrib right_distrib open mmexpr nat -- this will be unnecessary when t...
bbab8cd97b9bb8b26b374245ec0d1b3f3c76181f
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/opposites.lean
e86d5ec02bcc0938b366f3c6e995be21db5c6131
[ "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
10,060
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison -/ import category_theory.types import category_theory.equivalence import data.opposite universes v₁ v₂ u₁ u₂ -- declare the `v`'s first; see `category_...
8834ea8e8b46afea80890b8d7cf595505949a9f6
3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a
/src/combinatorics/simplicial_complex/star.lean
661b2de3a83692b783423074bb32c4a5a483d536
[]
no_license
mmasdeu/brouwerfixedpoint
684d712c982c6a8b258b4e2c6b2eab923f2f1289
548270f79ecf12d7e20a256806ccb9fcf57b87e2
refs/heads/main
1,690,539,793,996
1,631,801,831,000
1,631,801,831,000
368,139,809
4
3
null
1,624,453,250,000
1,621,246,034,000
Lean
UTF-8
Lean
false
false
5,587
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import combinatorics.simplicial_complex.basic import combinatorics.simplicial_complex.closure namespace affine open set variables {m n : ℕ} {...
be97e2d003715bc75be0a79c9c3cc281c911c32f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/quadratic_form/isometry.lean
7c97543e99937c4b164783f18f52d34bb7faa03e
[ "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,647
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying, Eric Wieser -/ import linear_algebra.quadratic_form.basic /-! # Isometries with respect to quadratic forms > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this...
de87a7359f992ae956f64f05f8341a010ce739de
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/prod.lean
90f2736c294bca3ee5950211e4a78fe248d1a7c3
[ "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
27,517
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Patrick Massot -/ import data.set.image /-! # Sets in product and pi types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file requi...
86bceedaaa2610c64d294f6b041200788fc0dbd0
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Lean/Meta/Tactic/Cases.lean
ad2ba19a4713e41e1df8b36b8040405b7204f85b
[ "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
14,855
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.AppBuilder import Lean.Meta.Tactic.Induction import Lean.Meta.Tactic.Injection import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Subst...
efe15d7071787fabe4d5f76a73c599c3583d7ee8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/triangulated/pretriangulated.lean
74477154a1df68cd4175a3356d9733e494845905
[ "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
8,579
lean
/- Copyright (c) 2021 Luke Kershaw. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Kershaw -/ import category_theory.additive.basic import category_theory.shift import category_theory.preadditive.additive_functor import category_theory.triangulated.rotate /-! # P...
d4d961dd84dbf88e9e512f8f2683e09625f63e99
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/casePrime.lean
f0cb4335ec3c08fcd990db1f532688b5fd0c13d9
[ "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
443
lean
example (hp : p) (hq : p → q) (hr : p → r) : (s ∨ q) ∧ (r ∨ s) := by constructor case' left => apply Or.inr case' right => apply Or.inl case' left => apply hq case' right => apply hr all_goals assumption example (hp : p) (hq : p → q) (hr : p → r) : (p ∧ q) ∧ (r ∧ p) := by constructor case' left | rig...
f95fe1efa191a89a78df9d2831c33ac319598768
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/field_power.lean
cb94312989cac60b4c57e66ab85274b02b4caece
[ "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
8,711
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 algebra.group_with_zero.power import tactic.linarith import data.equiv.ring /-! # Integer power operation on fields and division rings This file collects b...
0eef5207e3e7a12625cac0e941039f365047e964
f47872278edfa65030d6cd0604480581b09ae4b5
/src/extra.lean
52e794b9eb54755b544a64aa0b44b54cb3702bb3
[ "MIT" ]
permissive
ocornoc/geodude
c822c494d9ed5d6dd2efa434cbaa5e0e42c22691
e63c87db67f1686c902e9bcd1863e74e1a29457f
refs/heads/master
1,681,951,483,388
1,620,592,363,000
1,620,595,412,000
287,442,904
0
0
null
null
null
null
UTF-8
Lean
false
false
41
lean
-- This page is intentionally left blank.
ae943d97ef065905ef27fb0db0badfdea7756dd9
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/bundle.lean
7eaad1912e26db22e0b32fbb2c051f588b6c3c33
[ "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
2,978
lean
/- Copyright © 2021 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import tactic.basic import algebra.module.basic /-! # Bundle Basic data structure to implement fiber bundles, vector bundles (maybe fibrations?), etc. This file s...
cfb68ef5ab03cb0f720af9f87e68bb3fb95ac12e
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/nat/basic.lean
e1429e1aeddd37964714a9e77f84e611ee787724
[ "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
59,857
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.ordered_ring import algebra.ordered_sub /-! # Basic operations on...
ef3c449dbb43e82b207afe4f48043a3f643e9f50
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/mathlibetaissue.lean
978d143b4c8d7919d96033e392d1418f48e2db3d
[ "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
5,941
lean
/-! # An etaExperiment timeout The purpose of this file is to demonstrate a typeclass search that * times out with `etaExperiment` * is fast on `lean-toolchain` `gebner/lean4:reenableeta230506` * is realistic, i.e. is a minimisation of something appearing in mathlib. I've taken the example Matthew Ballard showed me: ...
1e61602f2ed9a8108f4dfed2afabc7e47f135c4e
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/subtype.lean
7adb787c7f81ed4bf43bf9c0226543d7aa61879c
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
342
lean
/- This defines subtype lemmas -/ universe variable u namespace subtype variable {α : Type u} variable {P : α → Prop} @[simp] theorem mk_eq_mk (x : α) (p : P x) (y : α) (q : P y) : mk x p = mk y q ↔ x = y := begin apply iff.intro, { intro g, injection g with h }, { intro p, simp [p], } end...
ba8d44eccbd74358aa8a58c44e8274acde799bb7
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Meta/Tactic/Cases.lean
fb37d6eb2f452ff2779e592abd0534ff07561e70
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,311
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 -/ prelude import Init.Lean.Meta.AppBuilder import Init.Lean.Meta.Tactic.Induction import Init.Lean.Meta.Tactic.Injection import Init.Lean.Meta.Tactic.Assert i...
dbfd0bbc88ad3ee4d7f2951b60cfcd3f91cc516a
83bd63fd58ebbb33f769cbf6d6a67463ba1bc637
/src/day_3/groups.lean
d9ec6d797a7cf1517a9183bf67e59a552e808677
[]
no_license
Wornbard/mbl_lean_workshop
6ebdafebac74f1b1148f67a528242a3687af17e1
6b68ce25fdc49043fd5ab409de8e4a2987def22e
refs/heads/main
1,690,205,591,845
1,630,953,271,000
1,630,953,271,000
403,417,180
0
0
null
null
null
null
UTF-8
Lean
false
false
8,454
lean
import tactic namespace mbl /- # Groups ## Definition of a group The `group` class will extend `has_mul`, `has_one` and `has_inv`. `has_mul G` means that `G` has a multiplication `* : G → G → G` `has_one G` means that `G` has a `1 : G` `has_inv G` means that `G` has an `⁻¹ : G → G` All of `*`, `1` and `⁻¹` are n...
51e5a6b57525427170482d5e0ec5aa2094645d3b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/instances/add_circle.lean
88ac997cbf3ebf93cda7b67cbb6906db6f0b30dc
[ "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
24,039
lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import data.nat.totient import algebra.ring.add_aut import group_theory.divisible import group_theory.order_of_element import algebra.order.floor import algebra.order.to_in...
594af493ccf56ff595dc9f6b8df8d9884205154d
b186c784450e8bcbcf835ab3f10fa7e73f27bc2e
/chapter_4.lean
3f25ecd0bd560db721be60b21019b31218a7a3fe
[]
no_license
esclear/Learning-Lean
9780a0efe769e275992cf3ab4ebf55809ec53b48
d81d5c4743b94c96d8f1bb135e1f13a1d99b3154
refs/heads/master
1,593,312,896,806
1,565,904,243,000
1,565,904,243,000
200,125,941
0
0
null
null
null
null
UTF-8
Lean
false
false
4,501
lean
open classical variables (α : Type) (p q : α → Prop) variable r : Prop -- Exercise 1 example : (∀ x, p x ∧ q x) ↔ (∀ x, p x) ∧ (∀ x, q x) := iff.intro (assume h : ∀ x, p x ∧ q x, and.intro (assume x, (h x).left) (assume x, (h x).right)) (assume h : (∀ x, p x) ∧ (∀ x...
6eb7359bfdffaba82e614fd5b79b824f4c0195ee
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/category_theory/action.lean
adb99c81d2c849bdcabcc66d583c45eaa8b3f4c8
[ "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
3,195
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 category_theory.elements import category_theory.single_obj import group_theory.group_action.basic /-! # Actions as functors and as categories From a multiplicative a...
38c4ed31e398c0db5b386688d0fab22cf5074fe5
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/topology/algebra/module.lean
87b55ce5bbcbb3afc3d6b41a1df9e16f154f09c7
[ "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
9,731
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo Theory of topological modules and continuous linear maps. -/ import topology.algebra.ring linear_algebra.basic ring_theory.algebra o...
76c07cb3cd97a7e9c168090e931ebe17a2765b0b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Name.lean
b97a9599695812caf211981473edd4636f71f5ca
[ "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
4,257
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ namespace Lean instance : Coe String Name := ⟨Name.mkSimple⟩ namespace Name -- Remark: we export the `Name.hash` to make sure it matches the hash implement...
6c602d9eea7e366796bdb9ff9b2fb5f4b9f22856
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/closed/monoidal.lean
4982d2700a805f93bc387a3334784114f7a0d4f6
[ "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
1,662
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.monoidal.category import category_theory.adjunction.basic /-! # Closed monoidal categories Define (right) closed objects and (right) closed m...
0deaadedc71b01c81043d0a28156597f07f4e53b
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170201-universes-problem.lean
4cb28e2b31f9b7f218e54343e2019009aeb13af1
[ "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
3,091
lean
universe variables u v u1 u2 v1 v2 set_option pp.universes true open smt_tactic meta def blast : tactic unit := using_smt $ intros >> add_lemmas_from_facts >> repeat_at_most 3 ematch notation `♮` := by blast structure semigroup_morphism { α β : Type u } ( s : semigroup α ) ( t: semigroup β ) := (map: α → β) (mul...
e1f64b5a7230cb968072625ce50d336f7cc58826
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/hello/Hello.lean
99415d9d9fc72e540b7fc4f2e1242b9cfd06814d
[ "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
21
lean
def hello := "world"
bd207bda950ef37ec35235e2b354a84324ca7838
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/group/units.lean
c4b5ed6ce9f9278652057b9006552a9093e6e8a1
[ "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
13,257
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...
46ae0b9f84670635b187d2db9c246e03dc2971ac
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/logic/axioms/prop_complete.lean
2c1f4a7d1c9b89d7d9565f6e3879ce153123ef7e
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,869
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: logic.axioms.classical Author: Leonardo de Moura -/ import logic.connectives logic.quantifiers logic.cast algebra.relation import logic.axioms.em open eq.ops theorem prop_compl...
6e9b75d5564a66865a21fe4dfe39025f55fe5666
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/predicate_logic/rules_of_reasoning.lean
6a32a54526ee6b4bd3910af8c0db364df81b9597
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
13,463
lean
/- Today we will see in that proofs can be understood as formal objects in their own right. We will start to make our way through the valid rules of inference from our unit on propositional logic. We will emphasize that they are rules for combining and deriving Boolean truth values. In predicate logic, by contrast, w...
d5f9995bf32e900d94c991261022f34282c6af5f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/pointwise_auto.lean
e99a232163ad5606195e26a1a0af15d47f99e5d1
[]
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
18,644
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.module.basic import Mathlib.data.set.finite import Mathlib.group_...
886837e371af46cce9b35b156e487dfda08ca8a9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/uniform_space/compact_separated_auto.lean
01d8be7b420d77dd69fd2e8ad64c4ec6a37e8c26
[]
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
3,731
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.uniform_space.separation import Mathlib.PostPort universes u_1 u_2 u_3 namespac...
2f3e33ece45cb015353e6b90de93d53900b32a01
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/real/ennreal.lean
9dcb8635027e921368e1bbcb8a9aa7fd96a8ad83
[ "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
44,269
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Yury Kudryashov Extended non-negative reals -/ import data.real.nnreal order.bounds data.set.intervals tactic.norm_num noncomputable theory open classical set open_loc...
871f29470eaf2bdaa4a7c53db6443722a2ccaa0b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/test/simps.lean
74a558af4b53f3afd8a949e6e51b38a3da2018a5
[ "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
36,111
lean
import algebra.hom.group import data.sum.basic import tactic.simps universes v u w -- set_option trace.simps.verbose true -- set_option trace.simps.debug true -- set_option trace.app_builder true open function tactic expr structure equiv' (α : Sort*) (β : Sort*) := (to_fun : α → β) (inv_fun : β → α) (left_inv ...
644c20fcdd429b089fcf8f80340cb8624c459d0a
649957717d58c43b5d8d200da34bf374293fe739
/src/analysis/calculus/deriv.lean
2c404b69b7a5f63bf2d88c38c8daaec31dbd232c
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
45,558
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel The Fréchet derivative. Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E →L[k] F` a continuous k-linear map, where `k` is a non-discrete nor...
1d14855fd50ef295394b824e59230bed9b224857
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/625.lean
82546e0d5e3dffee5f1a0c993c7163e37b75f345
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
648
lean
import Lean open Lean Lean.PrettyPrinter def pfoo : PUnit → PUnit := id def px : PUnit := () @[appUnexpander foo] def unexpandFoo : Unexpander := fun _ => `(sorry) #eval show MetaM Format from do let e : Expr := mkApp (mkMData {} $ mkConst `foo [levelOne]) (mkConst `x) formatTerm (← delab Name.anonymous [] e) ...
757789ed842e4de1a95eb81071880bc7fbb00256
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/constructions/over/connected.lean
b6f3351bf48368f1368a3f188c54cd2af8dfd36a
[ "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
2,907
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.over import category_theory.limits.connected import category_theory.limits.creates /-! # Connected limits in the ov...
ad1c39a5e1ad6fa8bbe3e1bbce5d1853471c2229
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/vec_inv3.lean
7fa820c1dcf9aedb1039a7832b3498bcb5d80289
[ "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
715
lean
import data.nat.basic data.empty data.prod open nat eq.ops prod inductive vector (T : Type) : ℕ → Type := | nil {} : vector T 0 | cons : T → ∀{n}, vector T n → vector T (succ n) set_option pp.metavar_args true set_option pp.implicit true set_option pp.notation false namespace vector variables {A B C : Type} vari...
3869dcde66d2eb2b8c3fd791957206a84f1f4fc4
f00cc9c04d77f9621aa57d1406d35c522c3ff82c
/library/init/data/list/instances.lean
981dd507bf8dc0c9d28c6aff203a3311a1a9f745
[ "Apache-2.0" ]
permissive
shonfeder/lean
444c66a74676d74fb3ef682d88cd0f5c1bf928a5
24d5a1592d80cefe86552d96410c51bb07e6d411
refs/heads/master
1,619,338,440,905
1,512,842,340,000
1,512,842,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,418
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.list.lemmas import init.meta.mk_dec_eq_instance open list universes u v local attribute [simp] join ret instance : monad list := ...
c9f3be3cd73ef492f6df800328c9d641c1191ab1
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/nat/parity.lean
3dd6e757b90c957bb44f1e277470232d3ee23f39
[ "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
7,977
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Benjamin Davidson -/ import data.nat.modeq /-! # Parity of natural numbers This file contains theorems about the `even` and `odd` predicates on the natural numbers. ##...
e1af6e7fbf2139af69d0593c00fe620ae319aebd
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/simp_result.lean
9831c840d56513d5bb05a15b41a74eb7a58d857c
[ "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,914
lean
import tactic.simp_result import data.equiv.basic open tactic -- Check that we can walk. example : true := by { simp_result { trivial } } -- Comparison without `dsimp_result`: example : true := begin exact (id trivial), (do `(id trivial) ← result, skip), success_if_fail { (do `(trivial) ← result, skip) }, end ...
a834e9867ba1c93c3ee022ab7224de254822b517
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/nat/psub.lean
d675962351cf3e7b574fba2765687bba9f5ed6bc
[ "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
2,505
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.nat.basic /-! # Partial predecessor and partial subtraction on the natural numbers The usual definition of natural number subtraction (`nat.sub`) returns ...
46aaf52d82cb204dd612cde2d78c89a8eb0db34b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/ImplementedByAttr.lean
f9179ee525ec3b2cc057617df6512de2e41aa586
[ "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,062
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.Attributes import Lean.Declaration import Lean.MonadEnv import Lean.Elab.InfoTree namespace Lean.Compiler builtin_initialize implementedByAttr...
0316488e8d87fc64f4cac677411201d80b68c4c0
3705439886316285035ef1fd985632bc87eb06e7
/native/LeanProtoNativeHelpers.lean
22be3142a3c6001fcb1207a6c924abb9d784069c
[ "MIT" ]
permissive
zygi/lean-proto
ce74f29d33f12f240878f0f8cbe4960c41b70fcb
4d64844d8978c68c8038886013d33048c23a7674
refs/heads/master
1,680,996,798,349
1,618,444,323,000
1,618,444,323,000
342,923,095
0
0
null
null
null
null
UTF-8
Lean
false
false
1,673
lean
namespace Float @[extern c inline "*(double*)(&#1)"] constant ofUInt64Transmute (i: UInt64) : Float @[extern c inline "(double)(*(float*)(&#1))"] constant ofUInt32Transmute (i: UInt32) : Float -- Too many casts to put inline @[extern "proto_lean_transmute_double_to_uint32"] constant toUInt32Transmute (i: Float) : UI...
23b296ef8f3495a5dd85e45a2b52dc478b714807
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/algebra/algebra.lean
a339814d4114472ecda30d99bbcf50bdcf0aef19
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
5,979
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.algebra.subalgebra.basic import topology.algebra.module.basic import topology.algebra.field /-! # Topological (sub)algebras A topological algebra ove...
f8d245cf29aecf7d196c5bd694510725f2b335a6
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Server/FileWorker/WidgetRequests.lean
2c7fa57884695dd13c32a5370358a1215f2b9977
[ "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
5,248
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Widget.Basic import Lean.Widget.InteractiveCode import Lean.Widget.InteractiveGoal import Lean.Widget.InteractiveDiagnostic import Lean.Server...
acd3e95a91fd22cb13718fc39d130669d32b5cc4
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/group_power/basic.lean
25f2d4387ea00c772427f94af702471ef83b09fe
[ "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
27,731
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.ordered_ring import tactic.monotonicity.basic import deprecated.group /-! # Power operations on monoids and groups The power operation...
b7f9a5eaaeea4504ebfbc3923ebf1d3c691998ee
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/number_theory/pythagorean_triples.lean
e6c22d425db2acd58a8046789d395d673e1feb5a
[ "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
26,068
lean
/- Copyright (c) 2020 Paul van Wamelen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Paul van Wamelen. -/ import algebra.field import ring_theory.int.basic import algebra.group_with_zero.power import tactic.ring import tactic.ring_exp import tactic.field_simp /-! # P...
9c697e91eb9c5656a2d45e202b1c2a6bcc9efade
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/class_number/admissible_card_pow_degree.lean
dfb55c2f566e643ee6749e4c280e09b2f5d4294e
[ "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,942
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import number_theory.class_number.admissible_absolute_value import analysis.special_functions.pow.real import ring_theory.ideal.local_ring import data.polynomial.degree.car...
60b4c327a6cce957d5a9f6bd4489a3a9ae217df3
618003631150032a5676f229d13a079ac875ff77
/src/algebra/group/units_hom.lean
50e48dbeddade8064a07d32310c1876269538330
[ "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
4,977
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.group.units import algebra.group.hom /-! # Lift monoid homomorphisms to group homomorphisms of their units subgroups. -/ u...
4293154d380f173fd988ae03ebdac99b3bac3413
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/homotopy/sphere.hlean
9f44cf7b32d7ccbb70e435710114c9ebd3a48140
[ "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
10,246
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Declaration of the n-spheres -/ import .susp types.trunc open eq nat susp bool is_trunc unit pointed algebra /- We can define spheres with the following possib...
0e744aed17e8a16c147ae80cb2c141f905447ed9
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/connected.lean
14e3ea02576ae2c74be27301e239663b19586e10
[ "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
46,071
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, Yury Kudryashov -/ import topology.subset_properties /-! # Connected subsets of topological spaces In this file we define connected subsets of a topol...
3c2328b00777fcb9c6631736a622ddaddc7a102d
cb3da1b91380e7462b579b426a278072c688954a
/src/xu.lean
ab8b495ce2f5e4547f3d4f6cd277d85f7f378920
[]
no_license
hcheval/tikhonov-mann
35c93e46a8287f6479a848a9d4f02013e0bc2035
6ab7fcefe9e1156c20bd5d1998a7deabd1eeb018
refs/heads/master
1,689,232,126,344
1,630,182,255,000
1,630,182,255,000
399,859,996
0
0
null
null
null
null
UTF-8
Lean
false
false
1,349
lean
import rates import leu_pin open_locale big_operators open finset (range) def xu_rate (χ γ δ₀ : ℕ → ℕ) (L : ℕ) (k : ℕ) : ℕ := max (γ (3 * L * (k + 1) * (δ₀ k) - 1)) (χ (3 * k + 2) + 1) + 1 open leu_pin (δ) lemma xu_quantitative (a c s : ℕ → ℝ) (L : ℕ) (χ : ℕ → ℕ) (γ : ℕ → ℕ) (δ₀ : ℕ → ℕ) (a0 : ∀ n : ℕ, 0...
9fd867fe2fcb03ce5b757083da7c721228736c4e
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Elab/Deriving.lean
6f380820c16b163504450e60d40aa9a5c3ffa3f1
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
426
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.Elab.Deriving.Basic import Lean.Elab.Deriving.Util import Lean.Elab.Deriving.Inhabited import Lean.Elab.Deriving.BEq import Lean.Elab.Deriving.D...
89a4f3d339cbea248a298e3dd771afe2f3521d54
bb31430994044506fa42fd667e2d556327e18dfe
/src/number_theory/bertrand.lean
a3cc2fd71c6d64de7011ade49eed9ae098679e35
[ "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
11,297
lean
/- Copyright (c) 2020 Patrick Stevens. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Stevens, Bolton Bailey -/ import data.nat.choose.factorization import data.nat.prime_norm_num import number_theory.primorial import analysis.convex.specific_functions /-! # B...
01ddc373f2673eb6a402d9119e694fa9df8e31cb
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/mean_inequalities_pow.lean
af0dfc85fa8155d86536127efb770004a6f475e9
[ "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
12,913
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import analysis.convex.specific_functions /-! # Mean value inequalities In this file we prove several mean inequalities for finit...
28e6aa047e554b3fa545110a0edcf49ae2e754d4
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/linear_algebra/affine_space/affine_map.lean
e8c156cf20950b2d4ee38bc6a60fcbb25957a2b2
[ "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
20,821
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import linear_algebra.prod import linear_algebra.pi import data.set.intervals.unordered_inte...
5891a494917ae6841d68742b05ee94524905f8f7
82e44445c70db0f03e30d7be725775f122d72f3e
/src/category_theory/opposites.lean
69d308c5b79840935dc9645f31f742994e7bd670
[ "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
15,116
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison -/ import category_theory.types import category_theory.equivalence universes v₁ v₂ u₁ u₂ -- morphism levels before object levels. See note [category_the...
7dbc6b7d9c65049cba7cf283007bc08229d15d47
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/cc1.lean
a1391cdd24a615932d2fc7809d1443545a694b8d
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
2,150
lean
open tactic set_option pp.implicit true example (a b c d : nat) (f : nat → nat → nat) : a = b → b = c → d + (if b > 0 then a else b) = 0 → f (b + b) b ≠ f (a + c) c → false := by do intros, s ← cc_state.mk_using_hs, s^.pp >>= trace, t₁ ← to_expr `(f (b + b) b), t₂ ← to_expr `(f (a + c) c), ...
4f9a46829e05c2e25f56b247eb7337f645a48b34
874a8d2247ab9a4516052498f80da2e32d0e3a48
/square_root_prime_v2.lean
bd31c1424ea006b2e07142e4dfa2b4baaa487e95
[]
no_license
AlexKontorovich/Spring2020Math492
378b36c643ee029f5ab91c1677889baa591f5e85
659108c5d864ff5c75b9b3b13b847aa5cff4348a
refs/heads/master
1,610,780,595,457
1,588,174,859,000
1,588,174,859,000
243,017,788
0
1
null
null
null
null
UTF-8
Lean
false
false
10,963
lean
import tactic import data.nat.prime import data.int.basic open classical -- HUMAN PROOF 1: --Claim: Let n > 1. If n has no positive PRIME factor less ≤ sqrt(n), then n is prime -- Proof by Contradiction: -- Suppose n is not prime. Then n has atleast two positive prime factors p1 and p2 such that -- n = p1p2*k for so...
c61861a80e65eff19814b0971fd0dffff618cdd1
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/measure_theory/integral/integrable_on.lean
f7c9c136d28edd16d61b3fe61ae71f0ea8d17f5f
[ "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
20,875
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.function.l1_space import analysis.normed_space.indicator_function /-! # Functions integrable on a set and at a filter We define...
54bb6a32e0c45cf0cd2a2211979ed003793a6f53
ae9f8bf05de0928a4374adc7d6b36af3411d3400
/src/formal_ml/ennreal.lean
1e4073da93af575b8282cb8f593f8d7c968c41e3
[ "Apache-2.0" ]
permissive
NeoTim/formal-ml
bc42cf6beba9cd2ed56c1cd054ab4eb5402ed445
c9cbad2837104160a9832a29245471468748bb8d
refs/heads/master
1,671,549,160,900
1,601,362,989,000
1,601,362,989,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,095
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
d906e1946c22e938b76fd69808d1562fbcd3260d
367134ba5a65885e863bdc4507601606690974c1
/src/number_theory/pell.lean
95b335a4b979017a3964ebc7ccb955957a880b6e
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
39,420
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.nat.modeq import data.zsqrtd.basic /-! # Pell's equation and Matiyasevic's theorem This file solves Pell's equation, i.e. integer solutions to `x ^ 2 -...
ca2432b85f6e800737e33a5fdfc58bdab48961b5
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/eq15.lean
de98b67232d60b42d11e78cd727fc22e3f7f62fa
[ "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
401
lean
open list set_option pp.implicit true definition app {A : Type} : list A → list A → list A | nil l := l | (h :: t) l := h :: (app t l) theorem app_nil {A : Type} (l : list A) : app nil l = l := rfl theorem app_cons {A : Type} (h : A) (t l : list A) : app (h :: t) l = h :: (app t l) := rfl example : app ((1:na...
8e1fa4ce63074304328c89b6cef0789260557b29
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/fun_like/basic.lean
c250c6d4e5a279fe9d64acbca659571127af990e
[ "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,298
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import logic.function.basic import tactic.lint import tactic.norm_cast /-! # Typeclass for a type `F` with an injective map to `A → B` > THIS FILE IS SYNCHRONIZED WITH M...
5e08beb811f87933b15722f2d59fdab487779fa7
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/init/wf.hlean
82c688a6e0c9d7ea45404c77e0e19070879f4826
[ "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
8,303
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.relation init.tactic init.funext open eq inductive acc.{l₁ l₂} {A : Type.{l₁}} (R : A → A → Type.{l₂}) : A → Type.{max l₁ l₂} := intro ...
ac40afec6ccec983a2de36581a165666496d062a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/deriv/support.lean
adb9f0637a7ad54d7c174ba0a5872961be7c5f0b
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,217
lean
/- Copyright (c) 2022 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import analysis.calculus.deriv.basic /-! # Support of the derivative of a function > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require...
efa2f2343d04d06dae1779ece6d1841a6baa884a
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/tactic.lean
eca41146a3f572a24fe5d3450dfed6e4d5a2ea72
[ "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
6,428
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import tactic.auto_cases import tactic.tidy import tactic.with_local_reducibility import tactic.show_term import measure_theory.measure_space_def /-! # Tactics for measur...