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
5fa59969ae40690f46ad455ae05a7050f9e01c6a
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-algebra-192.lean
f901f47b83e838dd714c8172982ad62ba54b57e8
[ "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
436
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.complex.basic import algebra.group_power.basic example(q e d : ℂ) (h₀ : q = 11 - (5 * complex.I)) (h₁ : e = 11 + (5 * complex.I)) (h₂ : d = 2 * complex.I) : q * e ...
a05a41e42be9a00811446d51e2312e8f72699051
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Compiler/LCNFTypes.lean
de57f71b1aa4f09c837c57f67feea450def40c99
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
6,746
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.BorrowedAnnotation import Lean.Meta.InferType namespace Lean.Compiler structure LCNFTypeExtState where types : Std.PHashMap Name Ex...
b506dd8f33f351d4eb638b50c8b58f39085e6fe8
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/macroscopes.lean
eaee36cc933bccc65a131ea9b3963a980966fbcf
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,124
lean
open Lean def check (b : Bool) : IO Unit := «unless» b $ throw $ IO.userError "check failed" def test1 : IO Unit := do let x := `x; let x := addMacroScope `main x 1; IO.println $ x; let v := extractMacroScopes x; let x := { v with name := `y }.review; IO.println $ x; let v := extractMacroScopes x; let x := { v with n...
e29db122f98bc3d5a239287711f367cd89c0bfc0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/lie/basic.lean
d69ddaf84e3dd7311f1e4d20a3d9dfdf7eb01406
[ "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
25,776
lean
/- Copyright (c) 2019 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import data.bracket import algebra.algebra.basic import tactic.noncomm_ring /-! # Lie algebras This file defines Lie rings and Lie algebras over a commutative ring togeth...
e94d0751b40029e257ce8cca1d203318cace3ea2
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Elab/Tactic/Induction.lean
9448b93e8f0f430af95f59c179e7f18eb3ab4414
[ "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
18,532
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.CollectFVars import Lean.Parser.Term import Lean.Meta.RecursorInfo import Lean.Meta.CollectMVars import Lean.Meta.Tactic...
20bea4a802679238b015de3361038b76bb22b4fa
4376c25f060c13471bb89cdb12aeac1d53e53876
/src/espaces-metriques/custom/utils.lean
51e25175d4b57b5a2bf6279952f3311ecaae3978
[ "MIT" ]
permissive
RaitoBezarius/projet-maths-lean
8fa7df563d64c256561ab71893c523fc1424b85c
42356e980e021a20c3468f5ca1639fec01bb934f
refs/heads/master
1,613,002,128,339
1,589,289,282,000
1,589,289,282,000
244,431,534
0
1
MIT
1,584,312,574,000
1,583,169,883,000
TeX
UTF-8
Lean
false
false
774
lean
import .defs import .sequences import data.set import topology.algebra.ordered open espace_metrique section extra variables {X: Type} [espace_metrique X] /-- bornee => bounded (range x) -/ lemma bornee_est_bounded (x: ℕ → X): bornee x → ∃ M > 0, bounded (λ x y, d x y ≤ M) (set.range x) := begin intro Hb, have h: set....
ae35410e802538bf23ec1d36a955a75786196e2a
fe25de614feb5587799621c41487aaee0d083b08
/src/Lean/Meta/WHNF.lean
8cafacd9ee00f3c66fb7de16cd31ff1b40d18810
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,337
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.ToExpr import Lean.AuxRecursor import Lean.ProjFns import Lean.Meta.Basic import Lean.Meta.LevelDefEq import Lean.Meta.GetConst import Lean.Meta...
fa244ac476367b7d3c936f3446b12250cf13ffd4
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/analysis/inner_product_space/basic.lean
297378e75a7e8f79046f24adda7321be7ff731e8
[ "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
76,067
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Sébastien Gouëzel, Frédéric Dupuis -/ import analysis.complex.basic import analysis.normed_space.bounded_linear_maps import linear_algebra.bilinear_form import linear_alg...
c285f14304811ebcf45626a14a9b24fcc8bebe7a
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/hints/thursday/afternoon/category_theory/exercise3/hint1.lean
df9c5c55286819f16b57f80fd889d7c85609e56d
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
770
lean
import for_mathlib.category_theory -- This imports some simp lemmas that I realised belong in mathlib while writing this exercise. open category_theory variables {C : Type*} [category C] variables {D : Type*} [category D] lemma equiv_reflects_mono {X Y : C} (f : X ⟶ Y) (e : C ≌ D) (hef : mono (e.functor.map f)) : ...
fa6764c4bf37e80c3e9f1a4b09b392276e08b6e4
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/tactic/tidy.lean
3e529a905cbc5c0b3faf2cc4014ed722a0179a74
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
3,080
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import tactic import tactic.auto_cases import tactic.chain import tactic.interactive namespace tactic namespace tidy meta def tidy_attribute : user_attribute :=...
ccbc1fe15c673e2a1e582aac1ec481b9122e86d4
367134ba5a65885e863bdc4507601606690974c1
/src/topology/instances/nnreal.lean
69bfc22580e95477de435c9a34a519cf758abb87
[ "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
7,287
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import topology.algebra.infinite_sum import topology.algebra.group_with_zero /-! # Topology on `ℝ≥0` The natural topology on `ℝ≥0` (the one induced from `ℝ`), and a...
58954ebbf8ba5ee06e9d3b2156e138e649d4915f
35960c5b117752aca7e3e7767c0b393e4dbd72a7
/src/sch/default.lean
932cafdfd9f164cfc97b56bedf2824c6a8e9b194
[ "Apache-2.0" ]
permissive
spl/tts
461dc76b83df8db47e4660d0941dc97e6d4fd7d1
b65298fea68ce47c8ed3ba3dbce71c1a20dd3481
refs/heads/master
1,541,049,198,347
1,537,967,023,000
1,537,967,029,000
119,653,145
1
0
null
null
null
null
UTF-8
Lean
false
false
23
lean
import sch.open .subst
21e25347b6ad78960cf3dd5113a635b67f66d32d
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/e13.lean
96efaef49a61e94aeaf66d90166f9f6cf3463e5e
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
474
lean
precedence `+`:65 namespace nat variable nat : Type.{1} variable add : nat → nat → nat infixl + := add end namespace int using nat (nat) variable int : Type.{1} variable add : int → int → int infixl + := add variable of_nat : nat → int namespace coercions coercion of_nat end end using nat usi...
8ef6f2b2ede569e22759fc399219d74f6fcf377c
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/list/basic.lean
f21b2ca147988488227bca4f98c1b55c1f46c44b
[ "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
202,673
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import control.monad.basic import data.nat.basic import algebra.group_power.basic /-! # Basic...
910ab312504a894795e6fe888f7491b72a7b7565
6ae186a0c6ab366b39397ec9250541c9d5aeb023
/src/category_theory/opposites_2.lean
97aaa62ef0cee8afc03500fb7afac30f28b1a0bd
[]
no_license
ThanhPhamPhuong/lean-category-theory
0d5c4fe1137866b4fe29ec2753d99aa0d0667881
968a29fe7c0b20e10d8a27e120aca8ddc184e1ea
refs/heads/master
1,587,206,682,489
1,544,045,056,000
1,544,045,056,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
527
lean
import category_theory.opposites namespace category_theory universes u₁ v₁ -- def OppositeOpposite (C : Category) : equivalence (Opposite (Opposite C)) C := sorry -- PROJECT opposites preserve products, functors, slices. variables {C : Type u₁} [𝒞 : category.{u₁ v₁} C] include 𝒞 @[simp] lemma opop : @category_th...
cd59ab8ce1299ae2dd4d50f3bbad85e23333d880
649957717d58c43b5d8d200da34bf374293fe739
/src/topology/instances/ennreal.lean
c9f41a58ead5386f5c84e88823112ca381b97b8b
[ "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
33,284
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 Extended non-negative reals -/ import topology.instances.nnreal data.real.ennreal noncomputable theory open classical set lattice filter metric local attribute [instance...
a509b5145c904a730ab711348700bb3df5ef98dd
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Elab/Binders.lean
4caa91f8d42a33116b67003c8340b0edc6648adc
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
32,503
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.Elab.Quotation.Precheck import Lean.Elab.Term import Lean.Elab.BindersUtil namespace Lean.Elab.Term open Meta open Lean.Parser.Term open TSynta...
6f8e08af03cf504e4d4030dae893e592f263479a
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/logic/function/basic.lean
175648dc3984ccf3d378266737f10c3c41d9a91b
[ "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
28,419
lean
/- Copyright (c) 2016 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 import data.option.defs /-! # Miscellaneous function constructions and lemmas -/ universes u v w namespace function section var...
0cfdbda009e6dd274691a5c81a0d38900a89a9ca
e967488e2008f07b0aa7b6b18d4398d02c7460e2
/src/for_mathlib/stuff.lean
8403b31fdaf86c1786019bb069062269e9564a77
[]
no_license
thyrgle/real-number-game
5c53eefaa815051f3d70ca5782e41d2adb76fd6e
a420eecef62209b729c910c2170d1dd27b74bc9f
refs/heads/master
1,606,405,407,612
1,574,956,743,000
1,574,956,743,000
229,126,103
0
0
null
1,576,784,273,000
1,576,784,272,000
null
UTF-8
Lean
false
false
555
lean
import algebra.pointwise -- to mathlib? def add_comm_monoid.mk' {M : Type*} [has_add M] [has_zero M] (add_assoc : ∀ a b c : M, a + b + c = a + (b + c)) (add_zero : ∀ a : M, a + 0 = a) (add_comm : ∀ a b : M, a + b = b + a) : add_comm_monoid M := { add := (+), add_assoc := add_assoc, zero := (0), add_zero := add_...
fc1c44f05dd14af1a484cf7c31853f9cb819167a
5c5878e769950eabe897ad08485b3ba1a619cea9
/src/categories/universal/constructions/from_finite_products.lean
d3c108ec8dc56525aa96d75e75ee0ef7c9dc0264
[ "Apache-2.0" ]
permissive
semorrison/lean-category-theory-pr
39dc2077fcb41b438e61be1685e4cbca298767ed
7adc8d91835e883db0fe75aa33661bc1480dbe55
refs/heads/master
1,583,748,682,010
1,535,111,040,000
1,535,111,040,000
128,731,071
1
2
Apache-2.0
1,528,069,880,000
1,523,258,452,000
Lean
UTF-8
Lean
false
false
2,292
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import categories.universal.instances import categories.util.Two open category_theory open category_theory.initial universes u v namespace category_theory.univ...
2b0b88445f295e668f69d033ab9988a543b547a4
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/control/estate.lean
b26e42077fff8020d593217b66899eb35efd571f
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
5,431
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 The combined Except and State Monad that minimizes the number of memory allocations using the approach described in the paper "Counting immutable beans" by Se...
e6e4e2a09f3d448c866499989847dd043e9acce0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/group/defs.lean
cd13a15851640a669eaa3c7c2eee6082021d9cfd
[ "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
32,095
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import order.hom.basic import algebra.order.sub.defs import algebra.order.monoid.cancel.defs /-! # Ordered groups >...
f4fb455150953e0431414d51637dc7d4b78c9fb3
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Elab/Deriving/Inhabited.lean
ec19764cf0eb63b3f9b8a2d45b35ee731806c85a
[ "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
5,435
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 namespace Lean.Elab open Command open Meta private abbrev IndexSet := RBTree Nat compare private abbrev LocalInst2Index :=...
cb19a19919a4964df35c7609079fcf7b4feba2bf
6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1
/HW/hw3_terms_lambda.lean
c18f2e426d70d6a60dc46750ceb3a870316f350f
[]
no_license
derekjohnsonva/CS2102
8ed45daa6658e6121bac0f6691eac6147d08246d
b3f507d4be824a2511838a1054d04fc9aef3304c
refs/heads/master
1,648,529,162,527
1,578,851,859,000
1,578,851,859,000
233,433,207
0
0
null
null
null
null
UTF-8
Lean
false
false
6,962
lean
-- You can ignore this line for now, but don't remove it. namespace hw3 /- In this assignment, you will put into practice your new knowledge of terms and definitions in predicate logic by using it to implement a library of Boolean functions. You will also gain practice using different forms of syntax for defining func...
4635fca6791646854688899d65f9e92e66a5c226
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/lean_core_docs.lean
a40fde6686136f598fde4561c66ea0c4a6f4c000
[ "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
25,111
lean
/- Copyright (c) 2020 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Bryan Gin-ge Chen, Robert Y. Lewis, Scott Morrison -/ import tactic.doc_commands /-! # Core tactic documentation This file adds the majority of the interactive tactics...
57b89ad2357021fcfd749649bdfe2d6c79262586
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/ring_theory/integral_closure.lean
f2cf3e99bd6ad5f95f046af95702a96328b502c7
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
16,967
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.adjoin /-! # Integral closure of a subring. -/ universes u v open_locale classical open polynomial submodule section variables (R : Type u) {A : Type v} v...
49029697a25f1ea02d29c9f8501b3da812ca7250
e61a235b8468b03aee0120bf26ec615c045005d2
/tests/lean/PPRoundtrip.lean
0d9c88bcd5d7c00a7e5968dd3ef38fd4f0845b37
[ "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
2,159
lean
import Init.Lean open Lean open Lean.Elab open Lean.Elab.Term open Lean.Format def check (stx : TermElabM Syntax) (optionsPerPos : OptionsPerPos := {}) : TermElabM Unit := do stx ← stx; opts ← getOptions; e ← elabTermAndSynthesize stx none <* throwErrorIfErrors; stx' ← liftMetaM stx $ delab e opts optionsPerPos; stx' ...
7ae05f5c0d6af311d56c29673ddc15b63cfd8272
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/for_mathlib/data_set_basic.lean
89ad7a0280e66b8fa482432496894b96a37eceae
[ "Apache-2.0" ]
permissive
rwbarton/lean-homotopy-theory
cff499f24268d60e1c546e7c86c33f58c62888ed
39e1b4ea1ed1b0eca2f68bc64162dde6a6396dee
refs/heads/lean-3.4.2
1,622,711,883,224
1,598,550,958,000
1,598,550,958,000
136,023,667
12
6
Apache-2.0
1,573,187,573,000
1,528,116,262,000
Lean
UTF-8
Lean
false
false
352
lean
import data.set.basic universes u v w open set lemma factors_iff {α : Type u} {β : Type v} {γ : Type w} (f : α → γ) (g : β → γ) : (∃ h, f = g ∘ h) ↔ range f ⊆ range g := ⟨by rintros ⟨h, rfl⟩ _ ⟨a, rfl⟩; use h a, λ H, by choose h hh using H; exact ⟨λ a, h ⟨a, rfl⟩, funext $ λ a, (hh ⟨a, rfl⟩).symm⟩⟩
bf4efe21b52d38c6ba6525691b985cb11037c712
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/category/ulift.lean
797eb1905a94091f5f24aa4e9a24258934e7271f
[ "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
6,263
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.category import category_theory.equivalence import category_theory.filtered /-! # Basic API for ulift This file contains a very basic API for working...
16ec6e1ad2809f860861e90a9d196d5362abf22a
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/simple.lean
bbca168d6d05f171e852ac247d27f648b1d8cfe5
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,438
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import category_theory.limits.shapes.zero_morphisms import category_theory.limits.shapes.kernels import category_theory.abelian.basic import category_t...
d2c1a9076b294dd773140731c52a1e06fa4d23ce
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/p_series.lean
d5feac20069b591cab41ac1c8d611819894ac196
[ "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
13,034
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.special_functions.pow /-! # Convergence of `p`-series In this file we prove that the series `∑' k in ℕ, 1 / k ^ p` converges if and only if ...
bbb2edd63d7540c1e5a5833996837f356a12f663
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love05_inductive_predicates_exercise_solution.lean
d40aa51f6bbe7aa95f75fe66cab3954e3a348a14
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,336
lean
import .love05_inductive_predicates_demo /- # LoVe Exercise 5: Inductive Predicates -/ set_option pp.beta true set_option pp.generalized_field_notation false namespace LoVe /- ## Question 1: Even and Odd The `even` predicate is true for even numbers and false for odd numbers. -/ #check even /- We define `odd`...
343dc066931f20f313300f34a364e2ef4a4a5869
9cba98daa30c0804090f963f9024147a50292fa0
/old/geom3d_stamped_test2.lean
ce0323308143c83b47b56394448e663cc48b90cc
[]
no_license
kevinsullivan/phys
dcb192f7b3033797541b980f0b4a7e75d84cea1a
ebc2df3779d3605ff7a9b47eeda25c2a551e011f
refs/heads/master
1,637,490,575,500
1,629,899,064,000
1,629,899,064,000
168,012,884
0
3
null
1,629,644,436,000
1,548,699,832,000
Lean
UTF-8
Lean
false
false
2,199
lean
import .geom3d_series import tactic.linarith def ts := time_std_space def world_fr := geom3d_std_frame def world := geom3d_std_space def bl_fr := let origin := mk_position3d world 1.000000 2.000000 3.000000 in let basis0 := mk_displacement3d world 4.000000 3.000000 2.000000 in let basis1 := mk_displacement3d wor...
4e98056063f946c618d3ddbcc760c7f5cb52fcfe
2d2554d724f667419148b06acf724e2702ada7c9
/src/main.lean
1e95fdf3aa1cc34e6687cf2845f4df952d8108ce
[]
no_license
hediet/lean-linear-integer-equation-solver
64591803a01d38dba8599c5bde3e88446a2dca28
1a83fa7935b4411618c4edcdee7edb5c4a6678a7
refs/heads/master
1,677,680,410,160
1,612,962,170,000
1,612,962,170,000
337,718,062
1
0
null
null
null
null
UTF-8
Lean
false
false
5,546
lean
import .definitions import data.bool import data.int.gcd import tactic @[simp] theorem rdiv_cons (a: ℤ) (as: list ℤ) (f: ℤ): rdiv (a :: as) f = ((a / f) :: rdiv as f) := by simp [rdiv] @[simp] theorem rdiv_length (as: list ℤ) (f: ℤ): (rdiv as f).length = as.length := by simp [rdiv] @[simp] theorem rmul_cons (a: ℤ) (...
3584b94231c92b63ea872732cdf16df8f60e2f82
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/subterminal.lean
0d523650bed4182be5d43dc5ac84fe58886cf981
[ "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,173
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.limits.shapes.binary_products import category_theory.limits.shapes.terminal import category_theory.subobject.mono_over /-! # Subterminal objects ...
65e98ef86bf971566a2288dad6465c790aa17a2d
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/monotonicity/lemmas.lean
7132b059338c261a99497f01f7c4fd33c725cbfa
[ "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
1,625
lean
import tactic.monotonicity.basic variables {α : Type*} @[mono] lemma mul_mono_nonneg {x y z : α} [ordered_semiring α] (h' : 0 ≤ z) (h : x ≤ y) : x * z ≤ y * z := by apply mul_le_mul_of_nonneg_right; assumption lemma gt_of_mul_lt_mul_neg_right {a b c : α} [linear_ordered_ring α] (h : a * c < b * c) (hc : c ≤ ...
e0f980e1dcb3f15874962ccc8e07aa997e10c69a
2f8bf12144551bc7d8087a6320990c4621741f3d
/library/init/data/array/basic.lean
693978f3ece012b66d8a1cdb536b1d41fa2f4dfe
[ "Apache-2.0" ]
permissive
jesse-michael-han/lean4
eb63a12960e69823749edceb4f23fd33fa2253ce
fa16920a6a7700cabc567aa629ce4ae2478a2f40
refs/heads/master
1,589,935,810,594
1,557,177,860,000
1,557,177,860,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,748
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.nat.basic init.data.fin.basic init.data.uint import init.data.repr init.data.tostring init.control.id universes u v w /- The Compi...
8632a0aff9dd8f83062a1117e4dd100340249878
367134ba5a65885e863bdc4507601606690974c1
/src/algebraic_topology/simplex_category.lean
95a8922384334e56d7c55951e161588338f26ff4
[ "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
10,160
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import order.category.NonemptyFinLinOrd import category_theory.skeletal import data.finset.sort import tactic.linarith /-! # The simplex category W...
da4f51e3addb01220f04dc17103971a3e5cbd5b8
4e3bf8e2b29061457a887ac8889e88fa5aa0e34c
/lean/love02_tactical_proofs_exercise_solution.lean
a4a9a987ba374e333215a40881b134c5801999ec
[]
no_license
mukeshtiwari/logical_verification_2019
9f964c067a71f65eb8884743273fbeef99e6503d
16f62717f55ed5b7b87e03ae0134791a9bef9b9a
refs/heads/master
1,619,158,844,208
1,585,139,500,000
1,585,139,500,000
249,906,380
0
0
null
1,585,118,728,000
1,585,118,727,000
null
UTF-8
Lean
false
false
4,229
lean
/- LoVe Exercise 2: Tactical Proofs -/ import .love02_tactical_proofs_demo namespace LoVe /- Question 1: Connectives and Quantifiers -/ /- 1.1. Carry out the following proofs using basic tactics. -/ lemma I (a : Prop) : a → a := begin intro ha, exact ha end lemma K (a b : Prop) : a → b → b := begin int...
e38cb097ac2c6669c9bf2ed4fbbca74ba6607611
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/lift_coe_off.lean
234d308c48b1161932f86c46186e7e54083c1045
[ "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
395
lean
open nat inductive tree (A : Type) | leaf : A → tree | node : tree → tree → tree -- set_option elaborator.lift_coercions false definition size {A : Type} (t : tree A) :nat:= tree.rec (λ a, 1) (λ t₁ t₂ n₁ n₂, n₁ + n₂) t --set_option elaborator.lift_coercions true definition size2 {A : Type} (t : tree A) :nat:= tree...
b50a76ccacce52346a337e295e5d39afec892c6a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/quaternion_basis.lean
deeee0cd9c99731377625e3b1e12a554c80271f4
[ "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,062
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.quaternion import tactic.ring /-! # Basis on a quaternion-like algebra > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
4e1c03b442dd6fd47936c595f14d829523671593
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/metric_space/antilipschitz.lean
52ada607753835438d003e1d763dc649d375ad1d
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
7,804
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 topology.metric_space.lipschitz import topology.uniform_space.complete_separated /-! # Antilipschitz functions We say that a map `f : α → β` between two (e...
04668e05e392f5ea2d21c6cf90bfb178aa2d7903
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/run/toExpr.lean
497eda32587ece0a7fa8994af0ff76ce4cbd773c
[ "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
816
lean
import Lean open Lean unsafe def test {α : Type} [ToString α] [ToExpr α] [BEq α] (a : α) : CoreM Unit := do let env ← getEnv; let auxName := `_toExpr._test; let decl := Declaration.defnDecl { name := auxName, levelParams := [], value := toExpr a, type := toTypeExpr α, hints := Redu...
545c5cec9314b987f5323825489581a14274965c
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/list/count.lean
a26f76e73b4c8eb5263c3eec6a7ae70914debac2
[ "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
9,939
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import data.list.big_operators.basic /-! # Counting in lists > THIS FILE IS SYNCHRONIZED WIT...
92e736763e9034db43452cffb03deb90d95851ce
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/topology/instances/real.lean
d55ce05b1e5c08f38e2bf9fbf256e1a7da69e629
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
14,908
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 The real numbers ℝ. They are constructed as the topological completion of ℚ. With the following steps: (1) prove that ℚ forms a uniform space. (2) subt...
5ebf3f091dc83ced667c1c032e9bc8d3000c2338
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/tactic20.lean
79b870a86f0a50afae638ba74119d3d617e2041a
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
172
lean
import standard using tactic definition assump := eassumption theorem tst {A : Type} {a b c : A} (H1 : a = b) (H2 : b = c) : a = c := by apply trans; assump; assump
6808a63d12254981a97c1ff316f864e3b7fa42f5
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/linear_algebra/quadratic_form.lean
b893fdd0461bd89b1d17801f292ef2635d414557
[ "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
30,536
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.invertible import linear_algebra.bilinear_form import linear_algebra.matrix.determinant import linear_algebra.special_linear_group /-! # Quadratic forms T...
da7dc936419b1e4c25036793787dc30a59ee8cdf
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/common/cairo_secp/verification/verification/signature_recover_public_key_call_recover_public_key_soundness.lean
745e0596c0c215bc59b606dd17f721d4aaf1fee7
[]
permissive
starkware-libs/formal-proofs
d6b731604461bf99e6ba820e68acca62a21709e8
f5fa4ba6a471357fd171175183203d0b437f6527
refs/heads/master
1,691,085,444,753
1,690,507,386,000
1,690,507,386,000
410,476,629
32
9
Apache-2.0
1,690,506,773,000
1,632,639,790,000
Lean
UTF-8
Lean
false
false
8,516
lean
/- File: signature_recover_public_key_call_recover_public_key_soundness.lean Autogenerated file. -/ import starkware.cairo.lean.semantics.soundness.hoare import .signature_recover_public_key_code import ..signature_recover_public_key_spec import .signature_recover_public_key_recover_public_key_soundness open tactic o...
de492ceb8ed4264bd2c7c44e7de28b6e5b36d210
f7315930643edc12e76c229a742d5446dad77097
/tests/lean/run/tactic11.lean
32e9e1bedf3a180f88ad5aeddc5bbe330cc76e43
[ "Apache-2.0" ]
permissive
bmalehorn/lean
8f77b762a76c59afff7b7403f9eb5fc2c3ce70c1
53653c352643751c4b62ff63ec5e555f11dae8eb
refs/heads/master
1,610,945,684,489
1,429,681,220,000
1,429,681,449,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
539
lean
import logic theorem tst (a b : Prop) (H : a ↔ b) : b ↔ a := have H1 [visible] : a → b, -- We need to mark H1 as fact, otherwise it is not visible by tactics from iff.elim_left H, by rapply iff.intro; intro Ha; apply (H1 Ha); intro Hb; apply (iff.elim_right H Hb) theorem tst2 (a b : ...
76688bacde6027e2c1780cf7c4560c565517d862
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/locally_finite.lean
5d11f12bb8dba603ab1a0e5278847f41f2cac6e7
[ "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
10,328
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.continuous_on import order.filter.small_sets /-! ### Locally finite families of sets > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to t...
e156383c94a276e55c9db5fd7f9df64394dda2e0
5ec8f5218a7c8e87dd0d70dc6b715b36d61a8d61
/integers.lean
3883388a4d489a215716b0ada558600353cf1565
[]
no_license
mbrodersen/kremlin
f9f2f9dd77b9744fe0ffd5f70d9fa0f1f8bd8cec
d4665929ce9012e93a0b05fc7063b96256bab86f
refs/heads/master
1,624,057,268,130
1,496,957,084,000
1,496,957,084,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,836
lean
import .archi .lib .word namespace integers open word /- * Specialization to integers of size 8, 32, and 64 bits -/ def W8 : ℕ+ := ⟨8, dec_trivial⟩ def W16 : ℕ+ := ⟨16, dec_trivial⟩ def W32 : ℕ+ := ⟨32, dec_trivial⟩ def W64 : ℕ+ := ⟨64, dec_trivial⟩ def ptrofs.wordsize : ℕ+ := if archi.ptr64 then W64 else W32 def b...
c88fa856faef766684d618ce09b568088b1f83a2
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/mv_polynomial/rename.lean
6b26b86e715fddd7db8d30240286d921a650e5e8
[ "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
8,272
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import data.mv_polynomial.basic /-! # Renaming variables of polynomials This file establishes the `rename` operation on multivariat...
d0e083b22e3cdc5c786c838ae0bcdb339dd343af
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/modular.lean
901c51743781cf111592c8e7f22fc64d74ff82d7
[ "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
23,720
lean
/- Copyright (c) 2021 Alex Kontorovich and Heather Macbeth and Marc Masdeu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alex Kontorovich, Heather Macbeth, Marc Masdeu -/ import analysis.complex.upper_half_plane.basic import analysis.normed_space.finite_dimension im...
118e525b1fb5a60c80226de67a2c5f1d983adf87
63abd62053d479eae5abf4951554e1064a4c45b4
/src/tactic/congr.lean
30ac94d547565953a0d4799049fc75a45d0e6e53
[ "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,626
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 tactic.lint import tactic.ext /-! # Congruence and related tactics This file contains the tactic `congr'`, which is an extension of `congr`, and various ...
364adc6e2cbb548f7869d1157220cc830da2eaf3
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/data/pfun.lean
d8cc003a7abf813f4ec4be60421663bdae30b5cc
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
6,953
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.set ..data.set.basic universes u v w structure roption (α : Type u) : Type u := (dom : Prop) (get : dom → α) namespace roption variables {α : Type u} {β...
4c18d85df25f3dc7bfd9767f6afe6b973df8c4b2
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/sites/cover_lifting.lean
036be85edc0a1c21b972ca4ccc65024b1c2a0862
[ "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
10,827
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.sites.sheaf import category_theory.limits.kan_extension /-! # Cover-lifting functors between sites. We define cover-lifting functors between sites ...
9acacbcb2fa22785750e119480fb009df010dc1a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/sheaves/sheafify.lean
406f9bb97f780a3a4fcd371ac6a8457a32a481dd
[ "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
4,318
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.sheaves.local_predicate import topology.sheaves.stalks /-! # Sheafification of `Type` valued presheaves We construct the sheafification of a `Type` ...
7d94ba545d7efe0dfbe1a71f73ca527ca5b3bd0f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/fold.lean
52e32e27cd3dc42cb94ab365f9564138fd943133
[]
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
4,744
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.erase_dup import Mathlib.PostPort universes u_1 u_2 namespace Mathlib /-! ...
79de6b2452a52c6e65b57e0600dd0ee4831e309e
4727251e0cd73359b15b664c3170e5d754078599
/counterexamples/char_p_zero_ne_char_zero.lean
cc29182b28553904badd93fecf1f68dfab1800b1
[ "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
1,035
lean
/- Copyright (c) 2022 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa, Eric Wieser -/ import algebra.char_p.basic /-! # `char_p R 0` and `char_zero R` need not coincide for semirings For rings, the two notions coincide. In fact, `char_p.o...
fec003aa02f387b6383ea06651093076c0887204
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/module_info.lean
a7cdbe95becbe22eab90346c6c3a178baed092ac
[]
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
367
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.environment import Mathlib.Lean3Lib.init.meta.tactic namespace Mathlib /-- Information about a curr...
defc564fd4dd315f6aec9ef5d865639e3f8b7175
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/functor_category.lean
c42cb968366ba41da7e952a9a8bfef0744dd5124
[ "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
4,148
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.natural_transformation namespace category_theory universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v...
222857929126eb41bf04884fa68a2a508f33dbbd
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/doSeqRightIssue.lean
b864eba36d6a60101d107ed08b1bf6438432fcb3
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
301
lean
-- set_option autoBoundImplicitLocal false universe u variable {α : Type u} variable {β : α → Type v} theorem ex {p₁ p₂ : Sigma (fun a => β a)} (h₁ : p₁.1 = p₂.1) (h : p₁.2 ≅ p₂.2) : p₁ = p₂ := match p₁, p₂, h₁, h with | ⟨_, _⟩, ⟨_, _⟩, rfl, HEq.refl _ => rfl
a1e4ea177c1449ad992cc02c4d8dfd4e716be2d3
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/equivalence.lean
330addfa3f2505efcc5871c9d142b45071e9d8c4
[ "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
15,205
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 category_theory.natural_isomorphism impo...
54aa0c033d48839bec2edf2a4a79de534e61bb3d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/doc/examples/NFM2022/nfm2.lean
591ba9920f26e3f1c74598a507ef7fccf7a8a7bc
[ "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
312
lean
/- First-class functions -/ def twice (f : Nat → Nat) (a : Nat) := f (f a) #check twice -- (Nat → Nat) → Nat → Nat #eval twice (fun x => x + 2) 10 theorem twice_add_2 (a : Nat) : twice (fun x => x + 2) a = a + 4 := rfl -- `(· + 2)` is syntax sugar for `(fun x => x + 2)`. #eval twice (· + 2) 10
d8451905029defb5ef8d6aefc66915bec897c429
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Init/System/FilePath.lean
59e66a974b3a1bf977be79fd66b4598b27563095
[ "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
1,620
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.System.Platform import Init.Data.String.Basic namespace System namespace FilePath open Platform /-- The character that separates direc...
b9ac9fd31aa61cf20722093daa2645f2ee77db71
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/calculus/lagrange_multipliers.lean
c3afa9a53c42293d3c4eb63d2351c179d3f3b72c
[ "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,944
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.calculus.inverse import linear_algebra.dual /-! # Lagrange multipliers In this file we formalize the [Lagrange multipliers](https://en.wikipedia.o...
6fab240ace6d99bc923efb952414c861d287cc2a
d642a6b1261b2cbe691e53561ac777b924751b63
/src/data/opposite.lean
7e1f001544cee834b099d3ce63bb15b68a2d4735
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
3,280
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Simon Hudon, Kenny Lau Opposites. -/ import data.list.defs universes v u -- declare the `v` first; see `category_theory.category` for an explanation vari...
738f29168ecccdb6afea7a97320f681cc60c3f92
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/real/cardinality.lean
4962d4a1e702a88abc44d7a91f2221c6669b08c2
[ "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
9,568
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import set_theory.continuum import analysis.specific_limits import data.rat.denumerable import data.set.intervals.image_preimage /-! # The cardinality of the rea...
a5af793805bf139e07972640547b3781638c2f83
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/group-representation/equivalence.lean
c346c5e46d50bc20419e2ae5fa5c8b073664124a
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
1,642
lean
import linear_algebra.basic import algebra.group.hom import group_representation universe variables u v w w' open group open linear_map open linear_equiv open submodule open MY_TEST group_representation open linear_map.general_linear_group /- But montrer que l'on peut construire une équivalence à partir d'un...
c4f358742322cb1991437c62ec39c1cbec550579
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/uniform_space/separation.lean
10458523794142c4a2ae955318a9ef084d72754d
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
13,698
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot Hausdorff properties of uniform spaces. Separation quotient. -/ import topology.uniform_space.basic open filter topological_space lattice set classical...
04274871a3e4ba53c8d5425bd3a00b598cbbb4a6
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/hhg/Z.lean
52193abf51006030eabab46066e322253a5a58ae
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
4,972
lean
open prod open nat def equiv (p q : ℕ × ℕ) : Prop := fst p + snd q = fst q + snd p lemma L₁ : ∀ (n m:ℕ), succ n = succ m → n = m := begin intros n m H₁, cases H₁, refl end lemma L₂ : ∀ (n m p:ℕ), n + p = m + p → n = m := begin intros n m p, revert n m, induction p with p IH; intros n m H₁, { assumption }, ...
9e3a528201f114bcfa5f1ef66166741f598288ad
618003631150032a5676f229d13a079ac875ff77
/test/rewrite.lean
7bf6af43117b47934bbee918fd077ece9159c9d7
[ "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
1,414
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.rewrite import init_.data.nat.lemmas open tactic example : ∀ x y z a b c : ℕ, true := begin intros, have : x + (y + z) = 3 + y, admit, have : a + (b + x) ...
d538fe6b2e72c65e9cf641f43fb4fd34bc378a47
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/concrete_category/basic.lean
f39794e77d77699ebda40363f3dd73dbc1018703
[ "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
9,114
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl, Reid Barton, Sean Leather, Yury Kudryashov -/ import category_theory.types import category_theory.functor.epi_mono /-! # Concrete categories A concret...
52d200c4e77d5cfd3330d205418a7bb478853914
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/assign/time_assign.lean
999f527a24655aa983fd2fbc601905a94b07b1b9
[]
no_license
kevinsullivan/lang
d3e526ba363dc1ddf5ff1c2f36607d7f891806a7
e9d869bff94fb13ad9262222a6f3c4aafba82d5e
refs/heads/master
1,687,840,064,795
1,628,047,969,000
1,628,047,969,000
282,210,749
0
1
null
1,608,153,830,000
1,595,592,637,000
Lean
UTF-8
Lean
false
false
589
lean
import ..eval.time_eval variables {K : Type*} [field K] [inhabited K] {f : fm K TIME} (sp : spc K f) open lang.time def assign_duration : env.env K → duration_var sp → duration_expr sp → env.env K | i v e := { t := { d := λve, if v.nm=ve.nm then ((lang.time_eval.duration_eval sp) i.t e) else i.t.d v ...
baf1513b541872d24a91136d3dc7695471ddf63e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/mv_polynomial/weighted_homogeneous.lean
6def165740d0f838a71fa602496c01d30d389918
[ "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,303
lean
/- Copyright (c) 2022 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Chambert-Loir, María Inés de Frutos-Fernández -/ import algebra.graded_monoid import data.mv_polynomial.variables /-! # Weighted homogeneous polynomials > THI...
bbf04e2571daf483fff12793991d7076ce285c61
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/init/default.hlean
56397d75ec4cc8dfe0ecc0402c72eb2ec915d450
[ "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
534
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.default Authors: Leonardo de Moura, Jakob von Raumer -/ prelude import init.datatypes init.reserved_notation init.tactic init.logic import init.bool init.num init.priority...
7e029e9b496912349c36810d20dcdf01bd9e92d6
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/record1.lean
60a622adf0e4960d3ad015fdd1371de300edabe6
[ "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
807
lean
structure point (A : Type) (B : Type) := mk :: (x : A) (y : B) check point check @ point.rec check point.mk check point.x check point.y check point.rec_on check point.induction_on check point.destruct inductive color | red | green | blue structure color_point (A : Type) (B : Type) extends point A B := mk :: (c : col...
d48777d80acfba43d144b65578039926956cf815
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/LocalContext.lean
4b7a4963a4affe7569c41515295c74828d0c3799
[ "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
14,834
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 Std.Data.PersistentArray import Lean.Expr import Lean.Hygiene namespace Lean inductive LocalDecl where | cdecl (index : Nat) (fvarId : FVarId) (u...
c00f31e93fd30af3c5a04955a7e254ed0681b28d
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/analysis/convex/topology.lean
3cfc38785164c3b6b5c7290a20cc4a94eddc4b1a
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
8,662
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import analysis.convex.basic import analysis.normed_space.finite_dimension import topology.path_connected /-! # Topological and metric properti...
0b4896071bd8447f0591b0aabc15ff8e200a818d
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/myint/cong.lean
20db945eaa14105a07017c98c5ae9f0f8c0c1d46
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
2,230
lean
import .dvd import .mul namespace hidden open myint -- a and b are congruent modulo n def cong (n a b : myint) : Prop := ∃ k : myint, a = b + n * k -- Throughout this section we will work modulo n section mod_n -- Fix a value n, which we will work modulo parameter {n : myint} -- Write ≅ for congruent modulo n local...
0fe140b7d8a72a0f4d6dc5e82463733bfd47a030
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/decomposition/lebesgue.lean
e61ee24e549f9d197086da6bcbb5ef6789f1fb76
[ "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
65,592
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import measure_theory.measure.complex import measure_theory.decomposition.jordan import measure_theory.measure.with_density_vector_measure import measure_theory.function.ae...
2031e0fcdb427dd9e80a6040df0dc65218aa5d4d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/group_ring_action/basic.lean
c51cd994effd66e139d3523d73533e183c822322
[ "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
3,084
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 algebra.ring.equiv import algebra.field.defs import group_theory.group_action.group /-! # Group action on rings > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any chang...
a3edc7d5c81edd9615ef2e013c739444cedea0f2
44023683920a51f2416cf51eeab3fc51c3ff0765
/leanpkg/leanpkg/git.lean
e018b2cc5920933ca6c158912a6872ccc1b1e54b
[ "Apache-2.0" ]
permissive
pirocks/lean
e6e3e3fd20c5e7877f7efc3b50e5e20271e8d0cf
368f17d0b1392a5a72c9eb974f15b14462cc1475
refs/heads/master
1,620,671,385,768
1,516,152,564,000
1,516,152,564,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,332
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Gabriel Ebner -/ import leanpkg.lean_version system.io variable [io.interface] namespace leanpkg def upstream_git_branch := if lean_version.is_release then "lean-" ++ lean_...
b71303ea411324a0a1263d24adfa98036ea700e1
6e41ee3ac9b96e8980a16295cc21f131e731884f
/hott/algebra/binary.hlean
bdf676e5efe8468452c47b46cbea21061ba9e3ca
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,259
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.binary Authors: Leonardo de Moura, Jeremy Avigad General properties of binary operations. -/ open eq namespace binary section variable {A : Type} variables ...
dfc472d6ee416ff6eb7e9efbe0f97856b84239c0
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.43.lean
f653c2bb34add63d7bc6692584519eafbe5b4bf3
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
172
lean
import standard import data.examples.vector open nat variables {A : Type} {n : nat} example (H : n = 0) (v : vector A n) : vector A 0 := begin rewrite H at v, exact v end
53a3c70c06a41d15e28b64a2a5252cd90892e8f5
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/Tactic/Congr.lean
107df2f38dc3e68cc3e98709d16008b8f675e895
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
3,898
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.CongrTheorems import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Apply import Lean.Meta.Tactic.Refl import Lean.Meta.Tactic.Assumption ...
81d6b7640b423d9fd059d6ed2e7dbde0827cffe1
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/algebra/monoid.lean
535c4832c170cff45ae15024464d868973326da3
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
21,824
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.continuous_on import topology.separation import group_theory.submonoid.operations import algebra.group.prod import algebra.pointwise i...
3f57a5cdcc059cf87bbed745a343265b990a4454
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/instances/monoids.lean
939eb9c287396da6851286e092f5191442b59c40
[ "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
1,663
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison Introduce Mon -- the category of monoids. Currently only the basic setup. -/ import category_theory.concrete_category algebra.group universes u v open category_theo...
bbfda2e04379c09e32362f827d2fd98555580463
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Bridge/Path.lean
66911692eb743391d3184e2fd8ec61a71a379f04
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
2,383
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam Utilities for managing paths. -/ import Mathport.Util.Json import Mathport.Util.Name import Mathport.Bridge.Rename namespace Mathport open Lean open System (Fil...
92480b9c5769d6cdb332d2a73c072a45f901154e
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/simplifier_light.lean
2c178da39fa4cc14442c3ff9fd98f5f6e899c1cc
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,654
lean
-- Test [light] annotation -- Remark: it will take some additional work to get ⁻¹ to rewrite well -- when there is a proof obligation. import algebra.simplifier algebra.field data.set data.finset open algebra simplifier.ac attribute neg [light 2] attribute inv [light 2] attribute add.right_inv [simp] attribute add_neg...
97f59f34506e56fdcab50a8e2b8e3822a82785af
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/algebra/theories/ring.lean
e5c31f1ab354fe4d19d100629c3645fad57e9be2
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
6,240
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .basic import .group import .monoid import .semiring set_option default_priority 0 namespace algebra signature ring (α : Type*) := (mul : α → α → α) (one : α) (add : α → α → α...
6715d29e07baf047850f733e19a27eef5b0fee59
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/notes/2020.02.06-photo.lean
b702137596acab02ef500f175a90db27672cdb77
[]
no_license
jngo13/Discrete-Mathematics
8671540ef2da7c75915d32332dd20c02f001474e
bf674a866e61f60e6e6d128df85fa73819091787
refs/heads/master
1,675,615,657,924
1,609,142,011,000
1,609,142,011,000
267,190,341
0
0
null
null
null
null
UTF-8
Lean
false
false
784
lean
structure Photo : Type := photo :: (caption: string) (filename :string) (rating : nat) --def p1:= Photo.photop open Photo --lamda --pros: gives a lot of insight into what you write, see exactly whats going on def change_rating: Photo → nat → Photo := λ p n, photo p.caption p.filename n -- a product type...
8dc4a738e61d6bf89de0cf8a8c6656042438a646
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/algebra/direct_sum_graded.lean
c608f1ef669c28d20df898a9b40e66080d7db999
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,396
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.direct_sum import algebra.algebra.basic import algebra.algebra.operations import group_theory.subgroup /-! # Additively-graded multiplicative structures on ...
c977fc4506c52d4fcb3e6f4c8d3339391698f173
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/def13.lean
f1d185b7b9e9227d6edba0cabd747ddebfbadf7b
[ "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
596
lean
variable {α} (p : α → Prop) [DecidablePred p] def filter : List α → List α | [] => [] | a::as => if p a then a :: filter as else filter as theorem filter_nil : filter p [] = [] := rfl theorem filter_cons (a : α) (as : List α) : filter p (a :: as) = if p a then a :: filter p as else filter p as := rfl theorem fil...
6a5c3af6873998efbfb2e7f25841205fe8603ec4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/ring/opposite.lean
cdd63d02a77c8926b11809a0144da5e0ac37aefd
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
11,491
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.group_with_zero.basic import algebra.group.opposite import algebra.hom.ring /-! # Ring structures on the multiplicative opposite -/ universes u v variables (α :...
9d797f1997a2088e0f9a3064417601fa40fb5d49
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Data/OpenDecl.lean
30e2f79c2484a3cca8291dc1ff306ceeda9fc807
[ "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
751
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.Data.Name namespace Lean inductive OpenDecl | simple (ns : Name) (except : List Name) | explicit (id : Name) (declName : Name) namespace Op...
a0e5b8ae5ec51981d5e1a6ca43dcd386691f8514
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/calculus/lhopital.lean
0967204b8e1c981e759276e3b9ed6dee2d376c2c
[ "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
25,050
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.calculus.mean_value /-! # L'Hôpital's rule for 0/0 indeterminate forms In this file, we prove several forms of "L'Hopital's rule" for computing ...
9c25df17e25d41c4e18367bd2c9ff293ebf65d3d
0d7f5899c0475f9e105a439896d9377f80c0d7c3
/src/ftuple.lean
e7c868e4e7d13e6d343a2af167d419ce41d9fb09
[]
no_license
adamtopaz/UnivAlg
127038f320e68cdf3efcd0c084c9af02fdb8da3d
2458d47a6e4fd0525e3a25b07cb7dd518ac173ef
refs/heads/master
1,670,320,985,286
1,597,350,882,000
1,597,350,882,000
280,585,500
4
0
null
1,597,350,883,000
1,595,048,527,000
Lean
UTF-8
Lean
false
false
9,253
lean
import data.equiv.fin import data.fin import data.nat.basic import tactic import init.data.nat.lemmas /-! # Finite Tuples This file contains some definitions and results around finite tuples in an arbitrary type. We have chosen to implement finite `n`-tuples in `A` as maps `fin n → A`. This is primarily due to some ...
09c25f4d0d5a77e7767a84ec5dafa7e661d49606
a2ee6a66690e8da666951cac0c243d42db11f9f3
/src/algebra/group_with_zero.lean
5540196b0e95436ec4bfe0e4201fdaf3a3c57b75
[ "Apache-2.0" ]
permissive
shyamalschandra/mathlib
6d414d7c334bf383e764336843f065bd14c44273
ca679acad147870b2c5087d90fe3550f107dea49
refs/heads/master
1,671,730,354,335
1,601,883,576,000
1,601,883,576,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,826
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 logic.nontrivial import algebra.group.units_hom import algebra.group.inj_surj /-! # Groups with an adjoined zero element This file describes structures that ...
871a0038dcbd031de7de4e7dc97e3a08074737ae
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Parser/Attr.lean
e34be60fb38bda658aa13a47071a279260622e76
[ "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,149
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Parser.Basic import Lean.Parser.Extra namespace Lean.Parser builtin_initialize registerBuiltinParserAttribute `builtinPrioParser ``Category....