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
af52f7a389bcad5e9fe3d5f43bf1dca954aa312e
af8f7009790b746dd45337e0f268a5d3310398a6
/06-formalizacija-dokazov/vaje-imp.lean
70ce7ed7ba938bd4cbc6edd7cce8056843240ca7
[]
no_license
hackguy25/teorija-programskih-jezikov
341a202162b2b7635b8487de7c2442ab25c85a8e
05de0610e039cfdf774129648d31bc1fb4a700d3
refs/heads/master
1,599,726,471,357
1,577,115,595,000
1,577,115,595,000
221,702,709
0
0
null
1,574,090,780,000
1,573,737,685,000
null
UTF-8
Lean
false
false
8,378
lean
-- ==================== Syntax ==================== def loc := string inductive aexp : Type | Lookup : loc -> aexp | Int : int -> aexp | Plus : aexp -> aexp -> aexp | Minus : aexp -> aexp -> aexp | Times : aexp -> aexp -> aexp inductive bexp : Type | Bool : bool -> bexp | Equal : aexp -> aexp -> bexp | Less : aexp...
d538852dc7467638709ad9ced7981bd34a128f8c
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/structInst4.lean
99fc8cba770e3801a0e11d4c74475f21239f05dd
[ "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
484
lean
universe u def a : Array ((Nat × Nat) × Bool) := #[] def b : Array Nat := #[] structure Foo := (x : Array ((Nat × Nat) × Bool) := #[]) (y : Nat := 0) #check (b).modifyOp (idx := 1) (fun s => 2) #check { b with [1] := 2 } #check { a with [1].fst.2 := 1 } def foo : Foo := {} #check foo.x[1].1.2 #check { foo with ...
a695ee4ad3708fb439d6a509005410de5bf11f2a
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/reducible.lean
88964b453c96a864cc1e13d77815a9a49d9cc157
[ "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,270
lean
definition x [reducible] := 10 definition y := 20 definition z [irreducible] := 30 opaque definition w := 40 (* local env = get_env() local x = Const("x") local y = Const("y") local z = Const("z") local w = Const("w") local val_x = env:find("x"):value() local val_y = env...
5321fae56193f6e383c3c37b999a339b1d6e8107
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/prod.lean
23bf4e18940d26c7ba2dd70caca590c8d98951ae
[ "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
5,540
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 tactic.basic /-! # Extra facts about `prod` This file defines `prod.swap : α × β → β × α` and proves various simple lemmas about `prod`. -/ variables {α : T...
dadb216614460d363bbf00c46bdf98e645bc8e68
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/playground/ir.lean
2674a7ba817a0e279efc920fe41e389d8bec1c8b
[ "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
222
lean
import init.lean.compiler.ir open Lean.IR def tst1 : IO Unit := let fbody : FnBody := FnBody.vdecl `x IRType.uint32 (Expr.lit (LitVal.num 0)) $ FnBody.ret `x in IO.println $ format fbody def main : IO Unit := tst1
dc6323a9b406305e52ee75ffdf73016d9556488c
a9fe717b93ccfa4b2e64faeb24f96dfefb390240
/valuation.lean
3b5353db515c2f6aeb8fff374d197a3465c28e8c
[]
no_license
skbaek/omega
ab1f4a6daadfc8c855f14c39d9459ab841527141
715e384ed14e8eb177a326700066e7c98269e078
refs/heads/master
1,588,000,876,352
1,552,645,917,000
1,552,645,917,000
174,442,914
1
0
null
null
null
null
UTF-8
Lean
false
false
405
lean
variable {α : Type} def update (m a) (v : nat → α) : nat → α | n := if n = m then a else v n notation v `⟨` m `↦` a `⟩` := update m a v lemma update_eq (m a) (v : nat → α) : (v ⟨m ↦ a⟩) m = a := begin simp only [update, if_pos rfl] end lemma update_eq_of_ne {m a} {v : nat → α} (k) : k ≠ m → update m a v k = v k...
b09acdbc41756273871cbbd330ceafd57c0b9c63
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/category_theory/simple.lean
999c89e3f611e213648f3cb71beb3074087c73a2
[ "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
3,545
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 import category_theory.limits.shapes.kernels import category_theory.abelian.basic noncomputable theory open...
6b05ca505ed2134134bfae381718ad7ab7dfaef6
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/ctxopt.lean
af96a7f26093341b70090041ed885f0833a72787
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
125
lean
import logic definition id {A : Type} (a : A) := a context set_option pp.implicit true check id true end check id true
b28a7651a07986d9c8cfd5205a9d9bb586c041f3
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/data/char/lemmas.lean
818cd5201b7c07ff4edb9ff5fc32594e4f4f15b1
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
950
lean
prelude import init.meta init.logic init.data.nat.lemmas import init.data.char.basic namespace char lemma of_nat_eq_of_lt {n : nat} : ∀ h : n < char_sz, of_nat n = fin.mk n h := begin intro h, unfold of_nat, cases (nat.decidable_lt n char_sz), {contradiction}, {reflexivity} end lemma of_nat_eq_fin_of_ge {n ...
0e88946f84559de9647a0d3c8f729c136c78f0a0
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/uniform_space/cauchy.lean
1358c49c76e6a9b4d0a1d712f77bae96f451cb11
[ "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
26,209
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.uniform_space.basic import topology.bases import data.set.intervals /-! # Theory of Cauchy filters in uniform spaces. Complete uniform...
3835321d508a2238c7c93de5b06ca200eb75e038
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/ncard.lean
34ccdf0fa368abf3da5c47e1eb669e50fc6a5f87
[ "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
30,355
lean
/- Copyright (c) 2023 Peter Nelson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Peter Nelson -/ import data.finite.card import algebra.big_operators.finprod /-! # Noncomputable Set Cardinality > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file r...
a1368cbf404b7e00cdd13e3e6f76b5c1bb2ff2da
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/perm/option.lean
0d04828bf0728c70cb1a6dcfe68128be795c4f13
[ "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,137
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.fintype.perm import group_theory.perm.sign import logic.equiv.option /-! # Permutations of `option α` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes...
53cb757ff4ae050847d7b7ed826019de512ac734
57c233acf9386e610d99ed20ef139c5f97504ba3
/test/ext.lean
a8cfab7aee55df2d3571afd2cabd23af9e32d67d
[ "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
3,719
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.ext import tactic.solve_by_elim import data.stream.init import data.finset.basic import tactic.rcases section ext_trace_test setup_tactic_parser namespace ...
77b050afa8020df95212979ebe28a5d991c287c8
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/bench/const_fold.lean
558e85651d602c43f8c06b5ca5b669ade395331b
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,242
lean
#lang lean4 inductive Expr | Var : Nat → Expr | Val : Nat → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr namespace Expr open Nat def mkExpr : Nat → Nat → Expr | 0, v => if v = 0 then Var 1 else Val v | n+1, v => Add (mkExpr n (v+1)) (mkExpr n (v-1)) def appendAdd : Expr → Expr → Expr | Add e₁ e₂,...
80feb0637f4fb82a90c2ba4d3a79126dbfdd4e06
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/limits/over.lean
d82af1363c771c4bef1d7ebc76aec13768c49977
[ "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,503
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.adjunction.opposites import category_theory.limits.preserves.basic import category_theor...
fa4c70fefe6a074fdb46e5638d7c8a7c35335bc1
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/category/Locale.lean
795f926e4ebc8847f1ec848bf182dff751a373cd
[ "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,248
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.category.Frm /-! # The category of locales This file defines `Locale`, the category of locales. This is the opposite of the category of frames. -/ univers...
54120b50a336ed21a2ac7b3e9006cf272120d372
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/rat/basic.lean
a3bb6366f1be54e85bd6bfd66df3c66a95a4a006
[ "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
1,470
lean
/- Copyright (c) 2019 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 algebra.euclidean_domain import data.int.cast import data.nat.gcd import data.rat.defs import logic.encodable.basic /-! # Field Structure on t...
bb568f7bf478ba4043ec4cd6cd3811142cdd7cbb
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/number_theory/lucas_lehmer.lean
f8e2f2afc48b9013540980ce1d36be4d6cd9e599
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,309
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Scott Morrison, Ainsley Pahljina -/ import tactic.ring_exp import tactic.interval_cases import data.nat.parity import data.zmod.basic import group_theory.order_of_eleme...
3d41b9a416abf2b103dba93134730bb509753d3e
ac89c256db07448984849346288e0eeffe8b20d0
/src/Init/Data/Array/Basic.lean
8accb2c22f8d5ceefd006467f30fb019bd5940ab
[ "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
27,711
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 import Init.Data.Fin.Basic import Init.Data.UInt import Init.Data.Repr import Init.Data.ToString.Basic import Init.Util u...
9e47e7bd72c8969174733ffed08ce520c9c4b7d8
56762daf61566a2baf390b5d77988c29c75187e3
/src/immersions.lean
912d394f270e404729bf7aaf007399bea997ae16
[]
no_license
Nicknamen/lie_group
de173ce5f1ffccb945ba05dca23ff27daef0e3b4
e0d5c4f859654e3dea092702f1320c3c72a49983
refs/heads/master
1,674,937,428,196
1,607,213,423,000
1,607,213,423,000
275,196,635
0
0
null
null
null
null
UTF-8
Lean
false
false
21,712
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Nicolò Cavalleri. -/ import .lie_group import .local_diffeomorph noncomputable theory section variables {𝕜 : Type*} [nondiscrete_normed_field 𝕜] {E : Type*} [normed_group E] [norm...
a61b91c6d131f4cc9ca6fb469137076a676f3258
05b503addd423dd68145d68b8cde5cd595d74365
/src/category_theory/concrete_category/basic.lean
663fc220cdf7b9c842893a0072ace10856eeb595
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,584
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 category_theory.full_subcategory /-! # Concrete categories A concrete categ...
027f3687d7397023c35104cdcfc546260d39adf3
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/field_theory/mv_polynomial.lean
f75bc1f599bd8bd50fa61c69ac0ded9d2ca97d36
[ "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
1,521
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import ring_theory.mv_polynomial.basic /-! # Multivariate polynomials over fields This file contains basic facts about multivariate polynomials over fields, for exa...
b3ca213d35abc9a8c74011c81c8b7040eb7f4c84
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Meta/Tactic/Subst.lean
a9240b5e4541633faaa3bb0ac30ab026c6c52e38
[ "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
6,331
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.MatchUtil import Lean.Meta.Tactic.Util import Lean.Meta.Tactic.Revert import Lean.Meta.Tactic.Intro import Lean...
6397ecd8cd309c217df99a9acd27a571bb1466ef
a19a4fce1e5677f4d20cbfdf60c04b6386ab8210
/hott/init/wf.hlean
b5fc9cc7121afd12514937052ce15c6c8a318e7f
[ "Apache-2.0" ]
permissive
nthomas103/lean
9c341a316e7d9faa00546462f90a8aa402e17eac
04eaf184a92606a56e54d0d6c8d59437557263fc
refs/heads/master
1,586,061,106,806
1,454,640,115,000
1,454,641,279,000
51,127,143
0
0
null
1,454,648,683,000
1,454,648,683,000
null
UTF-8
Lean
false
false
5,845
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 inductive acc.{l₁ l₂} {A : Type.{l₁}} (R : A → A → Type.{l₂}) : A → Type.{max l₁ l₂} := intro : ∀x, (∀ y, R y x → ...
1908d370a6506f0f2f7539a23208be01d9aeebc7
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/pnat/basic.lean
5bfee09cd8df6a38a60b2a171d5207af2d9d7d0f
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
18,709
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Neil Strickland -/ import data.nat.prime /-- `ℕ+` is the type of positive natural numbers. It is defined as a subtype, and the VM representation of `ℕ+` is the...
67f14a580e83f0700bc4f15d1b4160c689c79c8f
1e3a43e8ba59c6fe1c66775b6e833e721eaf1675
/src/algebra/continued_fractions/default.lean
f12d9dc53c971879f390cab3ddf4cd479079329b
[ "Apache-2.0" ]
permissive
Sterrs/mathlib
ea6910847b8dfd18500486de9ab0ee35704a3f52
d9327e433804004aa1dc65091bbe0de1e5a08c5e
refs/heads/master
1,650,769,884,257
1,587,808,694,000
1,587,808,694,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
318
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.continuants_recurrence import algebra.continued_fractions.terminated_stable /-! # Default Exports for Continued Fractions -/
6d3f671889a7f7e108971dfae2a662a789587788
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.45.lean
92ee238e1bd0c9aa6a945e1766511dd962be6cff
[]
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
207
lean
import standard import data.nat open nat variables (f : nat → nat → nat → nat) (a b : nat) -- BEGIN example (H₁ : a = b) (H₂ : f b a b = 0) : f a a a = 0 := by rewrite [H₁ at -{2}, H₂] -- END
4b8f9762969e2e5af12939c99197a4c0506843fd
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/algebra/category/constructions/functor.hlean
f2aceee5070e15d367dd630650497b81a2e623d2
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
9,444
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, Jakob von Raumer Functor precategory and category -/ import ..nat_trans ..category open eq functor is_trunc nat_trans iso is_equiv namespace category definit...
da8d134751b0669a5bbd383a5d260b594f837b50
0d4c30038160d9c35586ce4dace36fe26a35023b
/src/algebra/module.lean
44846ce09d40be3359024ff92c7a7032e279fc0d
[ "Apache-2.0" ]
permissive
b-mehta/mathlib
b0c8ec929ec638447e4262f7071570d23db52e14
ce72cde867feabe5bb908cf9e895acc0e11bf1eb
refs/heads/master
1,599,457,264,781
1,586,969,260,000
1,586,969,260,000
220,672,634
0
0
Apache-2.0
1,583,944,480,000
1,573,317,991,000
Lean
UTF-8
Lean
false
false
25,682
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import algebra.ring algebra.big_operators group_theory.subgroup group_theory.group_action /-! # Modules over a rin...
295d980145999b9f31a79ba318edd151d9fe9ea8
e42ba0bcfa11e5be053e2ce1ce1f49f027680525
/src/separation/heap/lemmas.lean
9d658b0ea4f91d5f343b8fb98d992798139d04c6
[]
no_license
unitb/separation-logic
8e17c5b466f86caa143265f4c04c78eec9d3c3b8
bdde6fc8f16fd43932aea9827d6c63cadd91c2e8
refs/heads/master
1,540,936,751,653
1,535,050,181,000
1,535,056,425,000
109,461,809
6
1
null
null
null
null
UTF-8
Lean
false
false
15,563
lean
import util.meta.tactic import data.nat.basic import util.data.nat import util.data.order import tactic import separation.heap.basic namespace heap open nat list (hiding bind) @[simp] lemma heap_emp_disjoint (h : heap) : heap.emp ## h := by { dunfold disjoint heap.emp, intros, left, refl } @[simp] lemma disjoint_...
efa0a8a4db5abdd9e12e80a2c61eeb97108e951d
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/dual_number.lean
9e1fee266c46f77e3eb9e5a35f54947d9db16d88
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,303
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.triv_sq_zero_ext /-! # Dual numbers The dual numbers over `R` are of the form `a + bε`, where `a` and `b` are typically elements of a commutative ring `R`...
876add8f5685065654a25ad9802d7181a2fcc7bc
0c1546a496eccfb56620165cad015f88d56190c5
/tests/lean/run/super_examples.lean
2f04319acc6b1223ea6ea41bc990e15d2968bcbb
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,935
lean
import tools.super open tactic constant nat_has_dvd : has_dvd nat attribute [instance] nat_has_dvd noncomputable def prime (n : ℕ) := ∀d, dvd d n → d = 1 ∨ d = n axiom dvd_refl (m : ℕ) : dvd m m axiom dvd_mul (m n k : ℕ) : dvd m n → dvd m (n*k) axiom nat_mul_cancel_one (m n : ℕ) : m = m * n → n = 1 example {m n : ℕ...
bd7a04e01f0681a75b4d5d05964f49031d409d84
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/coe_univ_bug.lean
60aa0e52ad72d0421bc588f8a171707385560029
[ "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
439
lean
open nat def below (n : nat) : nat → Prop := λ i, i < n def f {n : nat} (v : subtype (below n)) : nat := v + 1 universe variable u instance pred2subtype {A : Type u} : has_coe_to_sort (A → Prop) := ⟨Type (max 1 u), (λ p : A → Prop, subtype p)⟩ instance coesubtype {A : Type u} {p : A → Prop} : has_coe (@coe_sort _ ...
44191601b70585a2f6833ab192459185f01352ed
25adb3ce35902d6e9c57e494fe055c47c9881db4
/metrology/quantity_test.lean
2791aed6be3f28c263e333988922f3cd5d3b830e
[]
no_license
rohanrajnair/phys
fefb5e430f8e4b61c2acbaecb9d1c6702495ef87
0172c81b24bc94e2df5e32904c9f6904d8f24da7
refs/heads/master
1,673,021,045,568
1,603,474,638,000
1,603,474,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
544
lean
import .quantity open quantity open dimension open measurementSystem -- Examples def oneMeter := mkQuantity BasicDimension.length si_measurement_system (1 : ℝ) def twoSeconds := mkQuantity BasicDimension.time si_measurement_system (2 : ℝ) def threePounds := mkQuantity BasicDimension.mass imperial_measurement_system ...
ff7d3d8cb35dad8e196fe76b72b866d460e50b70
abd85493667895c57a7507870867b28124b3998f
/src/category_theory/limits/shapes/binary_products.lean
3753976353aba350ff502531b92bc056519852cc
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
23,197
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.limits.shapes.terminal /-! # Binary (co)products We define a category `walking_pair`, which is the index category for a binary ...
5e13c7253f0d28fefa3b196c18e637b0ac9ee71d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/polynomial/degree/definitions.lean
ee1bf0b8fab00386a60cc3ea257b139a5445bcb1
[ "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
39,864
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.monomial import data.nat.with_bot import data.polynomial.induction /-! # Theory of univariate poly...
488c7b8f43fa5fa6eddcde0dcd08d155d4641cce
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/list/tfae.lean
7b587dab341237c5f93f5306288db5b64e049cc8
[ "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
1,838
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Simon Hudon -/ import data.list.basic namespace list /- tfae: The Following (propositions) Are Equivalent -/ def tfae (l : list Prop) : Prop := ∀ x ∈ l, ∀ y ∈ l, x ↔ ...
a88ffedc0a07888ecbb2e9d1b7695fe0c2ffb212
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/logic/subsingleton.lean
e75d92df861f555232c9781d92fe5c174ae52424
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,432
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: logic.subsingleton Author: Floris van Doorn -/ import logic.eq inductive subsingleton [class] (A : Type) : Prop := intro : (∀ a b : A, a = b) → subsingleton A namespace subsi...
a0ba6dc19b6f42a2fd90acf28a67d79fab08a690
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/interactive/info.lean
265e146a973002b17cdae3539da1159ef667b87f
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
351
lean
import init.meta.attribute --^ "command": "info" @[reducible] --^ "command": "info" def f := tt --^ "command": "info" set_option trace.simplify true --^ "command": "info" example := [tt] --^ "command": "info" example := [tt]++[] --^ "command": "info" print...
d9c0edd1c45c67a6e86db66297f6d7fa4515f33d
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/limits/shapes/kernels.lean
177207d278a66edbc8464bb86408472d1d70c8a2
[ "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
14,967
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel -/ import category_theory.limits.shapes.zero import category_theory.limits.shapes.equalizers /-! # Kernels and cokernels In a category with zero morphis...
b8ab9dacc9d793d9d5e49ed740f9629d7bb1a82f
4034f8da6f54c838133a7ab6a8c0c61086c9c949
/src/topology.lean
68ea258dad161c937b78763c82a7f0799f7c80cb
[]
no_license
mguaypaq/lean-topology
f9e6c69e2b85cca1377ee89d75c65bd384225170
57b15b3862d441095e254e65009856fa922758cc
refs/heads/main
1,691,451,271,943
1,631,647,691,000
1,631,647,691,000
398,682,545
0
0
null
null
null
null
UTF-8
Lean
false
false
31,191
lean
import tactic import data.set.basic import data.real.basic noncomputable theory /- Some set theory lemmas I couldn't find using library_search -- do these already exist? -- why is the autocomplete not finding all definitions in set and finset? -- e.g. set.comp doesn't suggest set.compl -/ @[simp] def finsInter {X : ...
c94c4e6b516f42e74ae19ffdb496dbc6107c0db9
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_736.lean
d5de8f9fc228885c1997b216f5d84b720f56da83
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
175
lean
import data.set.lattice import data.nat.prime open set nat def primes : set ℕ := {x | prime x} -- BEGIN example : (⋃ p ∈ primes, {x | x ≤ p}) = univ := sorry -- END
4bd2b643f210ea0ed32dc7cc7b051d4e8ea45835
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/algebra/category/CommRing/basic.lean
d3b79c37af5584b9b183b2967284948efa5bffe0
[ "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
7,305
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, Yury Kudryashov -/ import algebra.category.Group import category_theory.fully_faithful import algebra.ring import data.int.basic import data.equiv.ring...
b213a398e0f28296a20a3c7dfe638e744405ae03
2f8bf12144551bc7d8087a6320990c4621741f3d
/library/init/data/default.lean
3c580afdd27026ac0602a1813f0e6ac8fdc458ab
[ "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
480
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.data.basic init.data.nat init.data.char init.data.string import init.data.list init.data.int init.data.array import init.data.fin init.d...
108ad3b2a831f168dc3e8914d27040f2e4031766
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/init/data/basic.lean
b82e69fb22d07549bcdaa50ce4b188bb6f09b003
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
589
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.data.setoid init.data.quot init.data.bool.basic init.data.unit import init.data.nat.basic init.data.prod init.data.sum.basic import init...
a682e5ffb0b74eeb92015c8c6ed696bbb3d177f7
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.23.lean
9c77a6f970ab3dd5538569ea2f4e376d882b870f
[]
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
334
lean
import standard example (p q r : Prop) : p ∧ q ∧ r → q ∧ p := assume Hpqr : p ∧ q ∧ r, assert Hp : p, from and.elim_left Hpqr, have Hqr : q ∧ r, from and.elim_right Hpqr, assert Hq : q, from and.elim_left Hqr, proof -- Hp and Hq are visible here, -- Hqr is not because we used "have". and.intro Hq Hp qed
ce9895a569d3cee38dc2c9fbe1c099d6725c4db5
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/data/list/set.lean
3a3f9cb42cbc89168a79f8c12fba539938d212e5
[ "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
36,319
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.list.set Authors: Leonardo de Moura Set-like operations on lists -/ import data.list.basic data.list.comb open nat function decidable helper_tactics eq.ops namespace list sec...
368dec03cf6720850fee8e6bbfb6ea79f126d89f
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/action.lean
03a1db0e99e87827081f7e8ce9213a1dfba60e80
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
2,780
lean
import .group_representation import .sub_module import linear_algebra.determinant import linear_algebra.matrix import group_theory.group_action import init.algebra.functions universes u v w w' variables {G : Type u} (R : Type v) (X : Type w) [group G] [ring R] [mul_action G X] /-- Permutation representation : ...
a6735832238edcdc39d64ef2fb3fe76994792c08
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/int/cast/lemmas.lean
bd6c39f68e89096a8be1dbb8878dbffbd172e7a4
[ "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,096
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.int.order.basic import data.nat.cast.basic /-! # Cast of integers (additional theorems) This file proves additional properties about the *canonical* hom...
4a3bea942fa29b5c15f8075150b95f65ca30088e
827a8a5c2041b1d7f55e128581f583dfbd65ecf6
/W_colim.hlean
a1c6550417e4d7b2b4d5d6bc2e03b695d4085aea
[ "Apache-2.0" ]
permissive
fpvandoorn/leansnippets
6af0499f6f3fd2c07e4b580734d77b67574e7c27
601bafbe07e9534af76f60994d6bdf741996ef93
refs/heads/master
1,590,063,910,882
1,545,093,878,000
1,545,093,878,000
36,044,957
2
2
null
1,442,619,708,000
1,432,256,875,000
Lean
UTF-8
Lean
false
false
12,573
hlean
import hit.quotient types.W hit.trunc function open eq quotient Wtype sigma equiv function is_equiv pi sum unit function namespace W_colim section parameters (A : Type) (B : A → Type) (P : (W a, B a) → Type) (g : Π⦃a : A⦄ {b : B a} {f : B a → W a, B a}, P (f b) → P (sup a f)) variables {a : A} (b...
2643a079fde12b4fd161414a28e2c4266ff27b63
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/geometry/manifold/mfderiv.lean
0d712fa48280a52948a8eab7480a383711d6ff16
[ "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
65,405
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import geometry.manifold.basic_smooth_bundle /-! # The derivative of functions between smooth manifolds Let `M` and `M'` be two smooth manifolds with corners ...
7a543d4e0adc5b9b57b447600d05d3006a7179aa
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/environment_auto.lean
eb053b993061b999348abaefee520144abdcf39c
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,600
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.declaration import Mathlib.Lean3Lib.init.meta.exceptional import Mathlib.Lean3Lib.init.data.option....
633b248e128b0361360415f00cff989b0ad9a211
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/algebra/group/units.lean
1c3dd6e0658947f22013231fba17893856e7850b
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
5,608
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 Units (i.e., invertible elements) of a multiplicative monoid. -/ import tactic.basic logic.function universe u variable {α : Type...
fd415f17d46041fc4b6c6704349486a4019771a8
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/submonoid/operations.lean
22b580214bbbb90e4174bc7aef9ba694cb7364e4
[ "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
44,660
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import group_theory.group_action.defs import group_theory.submonoid.basi...
a54f309cf602cb803393cedc1af8846685c39c77
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/nat/choose/sum.lean
bed4e514dd40ff9df91d45bd676146c45f3e32ed
[ "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,904
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Patrick Stevens -/ import data.nat.choose.basic import tactic.linarith import algebra.big_operators.ring import algebra.big_operators.intervals import algebra.big_operators...
a81e07c03dd0dc65f37216ef01a725e1b828bd83
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/linear_algebra/quadratic_form.lean
a6efca957300045a53b9bc9f63994a87d26d2803
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
11,688
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen -/ import algebra.invertible import linear_algebra.bilinear_form import linear_algebra.determinant import linear_algebra.special_linear_group /-! # Quadratic forms This file...
c85e52dd4470ecc637028da7b5032e104d77e7c9
7a468d7c7c0949ab8b191bb62ff6d4d2af9f3917
/test/attribute.lean
503641e2e3c55d34df13e7e3c0c83c625e47b41d
[ "Apache-2.0" ]
permissive
seanpm2001/LeanProver_SMT2_Interface
c15b2fba021c406d965655b182eef54a14121b82
7ff0ce248b68ea4db2a2d4966a97b5786da05ed7
refs/heads/master
1,688,599,220,366
1,547,825,187,000
1,547,825,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
409
lean
import smt2 constants f g : Prop → int → int attribute [smt2] f attribute [smt2] g constants x y z : int attribute [smt2] x attribute [smt2] y attribute [smt2] z constants Heq : forall (x x' : Prop) (y : int), (x -> x') -> f x y = g x' y attribute [smt2] Heq lemma uninterpreted_functions_with_attr : f ...
6b1353d0d27a271c52a70d9c1429470a4699ca99
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/ordered_monoid.lean
fa93beb8126f5bdd7ae78f9b07d478c9780c931e
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,662
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 algebra.group.with_one import algebra.group.type_tags import algebra.group.prod import algebra.order_functions...
a67b5c140c06ff882fb0b7cf9248f58c754edebc
704c0b4221e71a413a9270e3160af0813f426c91
/src/refinement/tableau.lean
79419350e95736cb950dfa8180020ca81daaccd7
[]
no_license
CohenCyril/LP
d39b766199d2176b592ff223f9c00cdcb4d5f76d
4dca829aa0fe94c0627410b88d9dad54e6ed2c63
refs/heads/master
1,596,132,000,357
1,568,817,913,000
1,568,817,913,000
210,310,499
0
0
null
1,569,229,479,000
1,569,229,479,000
null
UTF-8
Lean
false
false
26,154
lean
import data.matrix.pequiv data.rat.basic tactic.fin_cases data.list.min_max partition .tableau_class open matrix fintype finset function pequiv is_tableau local notation `rvec`:2000 n := matrix (fin 1) (fin n) ℚ local notation `cvec`:2000 m := matrix (fin m) (fin 1) ℚ local infix ` ⬝ `:70 := matrix.mul local postfix ...
e688438ac66232b9a550798982852b75ff3b480f
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/subset_properties.lean
981794e4b34c8e9325463dce796db0e61920150a
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
80,562
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 order.filter.pi import topology.bases import data.finset.order import data.set.accumulate import tactic.tfae import topology.b...
f916a6ce3fee55afb6647fde45aede195c7b71e6
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebraic_geometry/prime_spectrum.lean
fe8e4da2983a9b113c501462da19bd35f7ecfb7c
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
13,126
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 topology.opens import ring_theory.ideal_operations import linear_algebra.finsupp /-! # Prime spectrum of a commutative ring The prime spectrum of a commutat...
19175287aca3eb122ca156abda06f5d14054c802
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/stage0/src/Init/Prelude.lean
d0e20b45614143417f6e6756bde63c374f5d310b
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
74,691
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 universes u v w @[inline] def id {α : Sort u} (a : α) : α := a /- `idRhs` is an auxiliary declaration used to implement "smart unfolding". It is ...
936b6ff5c68a683cc17903a3f9dfd24a9b2fba4d
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/RCases.lean
abeca0bd248ffd1164f4ae8538d8884df30a82a7
[ "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
3,028
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Basic open Lean open Lean.Elab.Tactic (Location) namespace Mathport.Translate.Tactic open AST3 Mathport.Translate.Par...
8460acb6b5437fd97d9fd313a5478564eebd4708
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/normed/field/basic.lean
f61097128631719f20c70aeed83e061b6aeb9a1b
[ "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
43,498
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import algebra.algebra.subalgebra.basic import analysis.normed.group.infinite_sum import topology.algebra.module.basic import topology.instances.ennre...
5d0860d8526b265a4fe3bfedfc59263fd6efa64c
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/free_monoid.lean
fad977937771d44be58ac380313a81f63303da4a
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,953
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Yury Kudryashov -/ import data.equiv.basic import data.list.basic import algebra.star.basic /-! # Free monoid over a given alphabet ## Main definitions * `free_monoid α`: ...
b0413ff56f39dd585ef9ad2375099ba454daa45b
35960c5b117752aca7e3e7767c0b393e4dbd72a7
/src/sch/open.lean
cc2e10170fa3fe4645230469bcbd1cf5b84e788c
[ "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
1,491
lean
import .core namespace tts ------------------------------------------------------------------ namespace sch ------------------------------------------------------------------ variables {V : Type} [_root_.decidable_eq V] -- Type of variable names variables {ts : list (typ V)} -- Lists of types variables {s : sch V} -- ...
3222b72fb5ecebc1fcc2b0c4de1fbc2be56a1c19
01f6b345a06ece970e589d4bbc68ee8b9b2cf58a
/src/rank_one_valuation.lean
fdfaf4a75e89404a5f83274c289dd4727a032cc7
[]
no_license
mariainesdff/norm_extensions_journal_submission
6077acb98a7200de4553e653d81d54fb5d2314c8
d396130660935464fbc683f9aaf37fff8a890baa
refs/heads/master
1,686,685,693,347
1,684,065,115,000
1,684,065,115,000
603,823,641
0
0
null
null
null
null
UTF-8
Lean
false
false
4,760
lean
/- Copyright (c) 2023 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import data.real.nnreal import ring_theory.valuation.basic /-! # Rank one valuations We define rank one valuations and discrete valu...
a1452c590c639111c84feb28f1016b6592fddefe
ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb
/ijcar16/examples/cc17.lean
f5f8edba4a4173bcb71fc70959c8d54d51510ec4
[ "MIT" ]
permissive
leanprover/leanprover.github.io
cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a
071a20d2e059a2c3733e004c681d3949cac3c07a
refs/heads/master
1,692,621,047,417
1,691,396,994,000
1,691,396,994,000
19,366,263
18
27
MIT
1,693,989,071,000
1,399,006,345,000
Lean
UTF-8
Lean
false
false
473
lean
/- Example/test file for the congruence closure procedure described in the paper: "Congruence Closure for Intensional Type Theory" Daniel Selsam and Leonardo de Moura The tactic `by blast` has been configured in this file to use just the congruence closure procedure using the command set_option blast.strategy...
ac97c2b0bad845266b48fe5b518fa3817a50f821
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/grade.lean
1f0c44cac0b23c2fc63ffd04b6d2e8bfe204f184
[ "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
12,806
lean
/- Copyright (c) 2022 Yaël Dillies, Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Violeta Hernández Palacios, Grayson Burton, Vladimir Ivanov -/ import data.finset.basic import data.int.succ_pred /-! # Graded orders > THIS F...
453f5dff31fa225a8d93ed377d0cf915b49019c3
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/group/prod.lean
e1844ece303c11e171c7b9efbbc5cde596200aca
[ "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
13,123
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot, Yury Kudryashov -/ import algebra.opposites /-! # Monoid, group etc structures on `M × N` In this file we define one-binop (`monoid`, `group` etc) struc...
11f4d01c1bae37d85d7239ca202c3096cb9e6763
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/homology/homology.lean
57525e30040e18fe5beeb943944018a0d931c4d1
[ "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
6,709
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel -/ import algebra.homology.chain_complex import algebra.homology.image_to_kernel_map /-! # (Co)homology groups for complexes We setup that part of the t...
3786c3ca91f94fd9bf77d18184bd40e6174f49c8
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/fintype/basic.lean
ff3e91bb50a63d0f2d997b8206f1dfcc5ea2e16e
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
57,916
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import tactic.wlog import data.finset.powerset import data.finset.lattice import data.finset.pi import data.array.lemmas import order.well_founded impor...
1c9b4c76a1f6e95ba10ec0cdc202f17dabcd8377
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/measure_theory/measurable_space.lean
8408b19876c901b5eeec8594cf3684944e378148
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
50,978
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.set.disjointed import data.set.countable import data.indicator_function import data.equiv.encodable.lattice import order.filter.basic /-!...
e7dc6091b1932b7af5dd93546bffd960f76260a0
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/analysis/calculus/fderiv.lean
a78cd1f424fa52bf058310d645c289fd8a2c8976
[ "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
122,126
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, Yury Kudryashov -/ import analysis.calculus.tangent_cone import analysis.normed_space.units import analysis.asymptotics.asymptotic_equivalent import an...
9b2d66f606ac2b67158c221dc4a61bac9eb970d8
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/src/Lean/Compiler/ImplementedByAttr.lean
45d1abc4b1b5c6aedcca9b3aa3166768453d5fa0
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,433
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.MonadEnv namespace Lean namespace Compiler def mkImplementedByAttr : IO (ParametricAttribute Name) := registerParametri...
6abe6d6e7936f2e074302cda478da384fd910366
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/homotopy/LES_of_homotopy_groups.hlean
b3c1a290f82a0931c71c1c5a0459e16308deb941
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
33,109
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn We define the fiber sequence of a pointed map f : X →* Y. We mostly follow the proof in section 8.4 of the book. PART 1: We define a sequence fiber_sequence as in ...
ae6d820570307c805fc6b9b146004800194582f4
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/matrix/diagonal.lean
c41025b20913b0ea8705b3dc2abc9663d84d388e
[ "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,983
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import linear_algebra.matrix.to_lin /-! # Diagonal matrices This file contains some results on the linear map correspondin...
a14f0ca034a612fceec8d81cff0639f616194470
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/order/bounds.lean
996405631e9707ad054513906826669c3c45e685
[ "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
15,873
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 (Least / Greatest) upper / lower bounds -/ import algebra.order_functions data.set.intervals.basic open set lattice universes u v w x variables {α : Type u} {β : Type v...
e03c6211bba789d6fd3b86056a172714b3bdbc9b
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/vector/basic.lean
7905923f71cb0dcb4d8a3b8971a74ef7ddd638d2
[ "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
255
lean
/- Defines very basic lemmas for vector -/ import data.vector universe variables u namespace vector variable {α : Type u} variable {n : ℕ} @[simp] theorem length_to_list : ∀ (x : vector α n), x.to_list.length = n | ⟨ l, p ⟩ := p end vector
72c6b462c7a8f9387075d59aeb11ded436cdd626
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/topology/order.lean
e620e801e765fd3eddbf0062dcdbffb8245c91ad
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
28,751
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.tactic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. Tha...
5e07d1faa0738801581b0693d9b9f9b41e8f16ea
0c9c1ff8e5013c525bf1d72338b62db639374733
/library/init/data/list/basic.lean
e0bb15b13827231bd7bc575f32007ad53d3eb919
[ "Apache-2.0" ]
permissive
semorrison/lean
1f2bb450c3400098666ff6e43aa29b8e1e3cdc3a
85dcb385d5219f2fca8c73b2ebca270fe81337e0
refs/heads/master
1,638,526,143,586
1,634,825,588,000
1,634,825,588,000
258,650,844
0
0
Apache-2.0
1,587,772,955,000
1,587,772,954,000
null
UTF-8
Lean
false
false
11,070
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.logic init.data.nat.basic init.data.bool.basic init.propext open decidable list universes u v w instance (α : Type u) : inhabited (list...
9ecc2c99fd91b905f22b5117032a4255c5394e56
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebraic_geometry/projective_spectrum/structure_sheaf.lean
e68917a294a1c926d4008a3a6fe7a0873d5759f9
[ "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
17,784
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import algebraic_geometry.projective_spectrum.topology import topology.sheaves.local_predicate import ring_theory.graded_algebra.homogeneous_localization import algebraic...
7a76484ad9d2c0a4405027cc0f7205b7e5281961
abd85493667895c57a7507870867b28124b3998f
/src/logic/embedding.lean
b3f3e41e4db0242cba4ec346b940e4e48f854b2b
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
9,128
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.equiv.basic /-! # Injective functions -/ universes u v w x namespace function /-- `α ↪ β` is a bundled injective function. -/ structur...
665a26b82955fad5965816448b3f4f0669ed021c
4727251e0cd73359b15b664c3170e5d754078599
/src/data/multiset/powerset.lean
f712941507367c030f54098c9d85faec6f01631a
[ "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,955
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.multiset.basic /-! # The powerset of a multiset -/ namespace multiset open list variables {α : Type*} /-! ### powerset -/ /-- A helper function for t...
2406d5a89ef78f385b353aa89f58f85dad7a3ada
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/homotopy/cylinder.hlean
62f661c673073bd4102f70d9a03c9dbd590d0c6c
[ "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
3,180
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 mapping cylinders -/ import hit.quotient open quotient eq sum equiv namespace cylinder section universe u parameters {A B : Type.{u}} (f : A → B)...
7e012d5f9332dc6484086ad6e8c5f754194cadde
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/polynomial/erase_lead.lean
d234581e006ea4efa73d73ff67a23d70acfd97d1
[ "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
15,337
lean
/- Copyright (c) 2020 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.big_operators.fin import data.polynomial.degree.definitions /-! # Erase the leading term of a univariate polynomial ## Definition * `erase_lead f`: th...
f6d63912cf4f4e4c5686135384067504f5f61410
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/conj_auto.lean
4e190ad49ae45d56d5a1e96981cc6f4cb77aa2c8
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,116
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Chris Hughes, Michael Howes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.hom import Mathlib.data.equiv.mul_add_aut impor...
392d995bf57c280ab0428e169b64f05effef23a9
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/blast_cc_not_provable.lean
0393682f68684ceacd6b84e44e3080480a96ddbb
[ "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
178
lean
set_option blast.strategy "cc" example (C : nat → Type) (f : Π n, C n → C n) (n m : nat) (c : C n) (d : C m) : f n == f m → c == d → f n c == f m d := by blast
3eeae6a8d1af393a83288eae4b952543ef30b360
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed/normed_field.lean
ba363db236272e3f389311376127b964f6c476de
[ "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
35,947
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import analysis.normed.group.infinite_sum import topology.algebra.module.basic import topology.instances.ennreal import topology.instances.rat /-! # ...
3bd268d6f6b14162ead08d2df3a13b3579966a22
28b6e1a13d35e9b450f65c001660f4ec4713aa10
/Search/Generic/CollectFns.lean
db1799f370ce2c26bb070d9773c40d4f84714be5
[ "Apache-2.0" ]
permissive
dselsam/search
14e3af3261a7a70f8e5885db9722b186f96fe1f5
67003b859d2228d291a3873af6279c1f61430c64
refs/heads/master
1,684,700,794,306
1,614,294,810,000
1,614,294,810,000
339,578,823
1
0
null
null
null
null
UTF-8
Lean
false
false
3,420
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean.Compiler.IR import Search.Inspect.Basic import Std.Data.HashSet import Std.Data.HashMap namespace Search namespace CollectFns open Lean open Searc...
06722b79365ef321c9dfaa14c156b55cd6056596
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/category_theory/limits/shapes/terminal.lean
18bd1f16394d51a0609ec4bca3aa45315943cad3
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
3,064
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.finite_products import category_theory.pempty /-! # Initial and terminal objects in a category. -/ universes v u open category...
f5690a9387c1073540b85f0ba7e9c441df99c621
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/analysis/ODE/gronwall.lean
767a09ca7ea61a92ab4bd3159d3414e1287f5e30
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,229
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 analysis.calculus.mean_value import analysis.special_functions.exp_log /-! # Grönwall's inequality The main technical result of this file is the Grönwall-l...
944340231aa8df1ae07013a87250434d23eb0ca2
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast16.lean
bf8aa232f732cb62ecacada8150d4f9055fff7b1
[ "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
264
lean
set_option blast.init_depth 10 set_option blast.inc_depth 100 set_option blast.trace true example (p q : Prop) : p ∨ q → q ∨ p := by blast definition lemma1 (p q r s : Prop) (a b : nat) : r ∨ s → p ∨ q → a = b → q ∨ p := by blast print lemma1
7aae900d7f17321345efff5a55f6f119e6c37d50
ddf69e0b8ad10bfd251aa1fb492bd92f064768ec
/src/ring_theory/algebra_tower.lean
a33db912f375ce23ac3a75a40b06c7d65e6126fd
[ "Apache-2.0" ]
permissive
MaboroshiChan/mathlib
db1c1982df384a2604b19a5e1f5c6464c7c76de1
7f74e6b35f6bac86b9218250e83441ac3e17264c
refs/heads/master
1,671,993,587,476
1,601,911,102,000
1,601,911,102,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,794
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 ring_theory.adjoin import algebra.invertible /-! # Towers of algebras We set up the basic theory of algebra towers. An algebra tower A/S/R is expressed by having inst...
f806d9b0b65a13459163f514ea7e4994fc108f33
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/logic/basic.lean
066854957dc26cc777730c26590b6eee29675e8a
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
24,760
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 Theorems that require decidability hypotheses are in the namespace "decidable". Classical versions are in the namespace "classical". Note: in the pres...
b572065af927f94be99c5bd9b2856b9a4c54c7a8
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Meta/TransparencyMode.lean
4cc204299c3954305c46644dc2494cc8f25254bb
[ "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
941
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 -/ namespace Lean namespace Meta inductive TransparencyMode | all | default | reducible namespace TransparencyMode instance : Inhabited TransparencyMode := ⟨...
d25fa67518d9ac41d26d53070bb3e7794ba4a869
ebfc36a919e0b75a83886ec635f471d7f2dca171
/archive/2021/Main.lean
7c63a4665108bb116a976eee80ea10c897ddb3cc
[]
no_license
kaychaks/AoC
b933a125e2c55f632c7728eea841d827d1b5ef38
962cc536dda5156ac0b624f156146bf6d12ad8d2
refs/heads/master
1,671,715,037,914
1,671,632,408,000
1,671,632,408,000
160,005,656
0
0
null
null
null
null
UTF-8
Lean
false
false
82
lean
import AoC def main : IO Unit := do Day1.run Day2.run Day3.run #eval main
e68d82022727bb124ca5f09076f3a3e2d1a75730
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/polynomial/algebra_map.lean
c201d73a8f4c70527b6a8f8e4f523396e7adc8ff
[ "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,660
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.eval /-! # Theory of univariate polynomials We show that `polynomial A` is an R-algebra when `A`...
cc2e75654a08d0979bc61c016b5596157dc07402
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/quasi_separated.lean
b4ad41e647c87af3fc98953358a7cca10e683663
[ "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
5,165
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import topology.subset_properties import topology.separation import topology.noetherian_space /-! # Quasi-separated spaces A topological space is quasi-separated if the i...
ef66b203d5c694bdea9b54e51270a2dabfad8676
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/ring2.lean
a0f37107f57a5aa1056cb31341ab2769db04693f
[ "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
18,361
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro An experimental variant on the `ring` tactic that uses computational reflection instead of proof generation. Useful for kernel benchmarking. -/ import tactic.ring data....