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
5a6b71984b1f03b841cabc057369d1605b2a93d1
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/equiv/encodable/basic.lean
2ce9a773e986b0ca555f5fcb005ed3d9c696f7fd
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,916
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.equiv.nat import order.rel_iso import order.directed /-! # Encodable types This file defines encodable (constructively countab...
f6d1f785f7130518ef0e71389021e68df622275e
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/logic/axioms/classical.lean
e1b46b5c141f47d553977c1f9d428b5a6b146b9e
[ "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
301
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: logic.axioms.classical Author: Jeremy Avigad -/ import logic.axioms.prop_complete logic.axioms.funext logic.axioms.hilbert import logic.axioms.prop_decidable
d594c3cdc7119996c3c285875f891e2f1297e1f8
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/cases_tac1.lean
acb0fe39eff470d060394e798c8a0565ff1eb734
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
1,063
lean
inductive vec (A : Type*) : nat → Type* | nil : vec 0 | cons : ∀ {n}, A → vec n → vec (n+1) open tactic nat vec definition head {A : Type*} : ∀ {n : nat}, vec A (n+1) → A | n (cons h t) := h definition tail {A : Type*} : ∀ {n : nat}, vec A (n+1) → vec A n | n (cons h t) := t attribute [defeq] definition head_cons...
867807099c9383f8f789fd7d673c2bbe2a1581b5
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/pnat/factors.lean
0b068b2f02987f21e40714868fd91e74af7eab20
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
15,265
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import data.pnat.prime import data.multiset.sort import data.int.gcd import algebra.group /-! # Prime factors of nonzero naturals This file defines the factorizat...
eb0bd60687f90b7d11a8b1de9263430865e9853b
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/def2.lean
088cf178b75c5902f0e642d8fdc5e217c30f53fb
[ "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
510
lean
new_frontend inductive Vec.{u} (α : Type u) : Nat → Type u | nil : Vec α 0 | cons : α → {n : Nat} → Vec α n → Vec α (n+1) open Vec universes u variables {α : Type u} variables (f : α → α → α) def mapHead1 : {n : Nat} → Vec α n → Vec α n → Vec α n | _, nil, nil => nil | _, cons a va, cons b bv => cons (f a b) va t...
ed2530f488a9f5fc7b902d25a260332be4be5ac9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/derivingInhabited.lean
ab71f0f3ef7a78b353798af92e2fce23c13086c9
[ "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
957
lean
inductive Foo (α : Type u) (β : Type v) where | mk₁ : α → Foo α β | mk₂ : List β → Foo α β deriving instance Inhabited for Foo def ex1 : Inhabited (Foo α β) := inferInstance inductive Bla (α : Type u) (β : Type v) where | mk₁ : α → Bla α β | mk₂ : β → Bla α β deriving instance Inhabited for Bla def ex2 [...
0d10ad2f0e88f6b613cd4ff4757848cd9d9bf768
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/set_theory/cardinal.lean
e518da2be432100d2e4515461a4163349ed76bbb
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
44,826
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, Mario Carneiro -/ import data.set.countable data.quot logic.function set_theory.schroeder_bernstein /-! # Cardinal Numbers We define cardinal numbers as a quotient of...
763a5de56e80d0c72ddcb58251ca5fda6e45440d
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/products/products.lean
33656229e6f588de4110d9b2a8286c2216f6d9b8
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
3,422
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import ..natural_transformation -- set_option pp.universes true open tqft.categories open tqft.categories.functor open tqft.categories.natural_tr...
256b8e4e3d4791cc283277ee1c46a3e3f1584a90
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/metric_space/antilipschitz_auto.lean
303426b77d1289e97b7e7c9d03a65a115d05a49b
[]
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
5,440
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.metric_space.lipschitz import Mathlib.PostPort universes u_1 u_2 u_3 namespac...
30e815a778f25f5bbe1b90c6b71273964c62ce3b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/stieltjes.lean
da738a87870862e6f593e3412b53a1f222b79f49
[ "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
17,380
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury Kudryashov, Sébastien Gouëzel -/ import measure_theory.constructions.borel_space import topology.algebra.order.left_right_lim /-! # Stieltjes measures on the r...
837f1490daee3145ccd7628bc8021b56ec5a7703
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/bezout.lean
64ddc89c0199fcc15c4e4a4ba40a72fffcb0ebaf
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
2,034
lean
import init.meta.well_founded_tactics import tactic.norm_num open well_founded open nat def euclid_n : nat → nat → nat | 0 b:= 0 | (succ c) b := have b % succ c < succ c, from mod_lt _ $ succ_pos _, succ (euclid_n (b % succ c) (succ c)) --copied from mathlib gcd definition def euc...
14cc86438b5c80eff68536cb3a344c22f554b7dd
0e175f34f8dca5ea099671777e8d7446d7d74227
/library/init/data/nat/bitwise.lean
dc201ffa53170f74094526a25be9d002cb9318aa
[ "Apache-2.0" ]
permissive
utensil-contrib/lean
b31266738071c654d96dac8b35d9ccffc8172fda
a28b9c8f78d982a4e82b1e4f7ce7988d87183ae8
refs/heads/master
1,670,045,564,075
1,597,397,599,000
1,597,397,599,000
287,528,503
0
0
Apache-2.0
1,597,408,338,000
1,597,408,337,000
null
UTF-8
Lean
false
false
11,156
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ prelude import init.data.nat.lemmas init.meta.well_founded_tactics universe u namespace nat def bodd_div2 : ℕ → bool × ℕ | 0 := (ff, 0) | (succ n) :=...
7f532cddeb86ecc367de0ef0c56cf95d1f3ffd45
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/with_local_reducibility.lean
7771078c9130ba58ea85eec1e098ef67dca77ed7
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,150
lean
/- Copyright (c) 2020 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort universes l namespace Mathlib /-! # `with_local_reducibil...
5aba5f9f61dc7e27d1983a91e44b8b1cf1ea2315
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/data/char/lemmas.lean
fab27cfe93cfb05306d337a43f3379b8edf3047f
[ "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
810
lean
prelude import init.meta init.logic init.data.nat.lemmas import init.data.char.basic namespace char lemma val_of_nat_eq_of_is_valid {n : nat} : is_valid_char n → (of_nat n).val = n := by intro h; unfold of_nat; rw [dif_pos h] lemma val_of_nat_eq_of_not_is_valid {n : nat} : ¬ is_valid_char n → (of_nat n).val = 0 := by...
4b3fddd047f5dfd412fc97c10fa9531684708130
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/continued_fractions/computation/translations_auto.lean
40ebe7f85bc3e1fc431f03eb307d3ad35206cec3
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,136
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.continued_fractions.computation.basic import Mathlib.algebra.continued_fraction...
29f676fb6e3753628e7af1b954bc14218ad8e3d4
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/data/finsupp.lean
07098e14a669fc2f019274a66872feccf7d9bece
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
40,498
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 Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
4ec5c02fca05bec341c63ef63b294d6d8e0a3e29
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/homotopy/path.lean
7b34ea69810efc15683a4956fd23d72f0d345321
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,767
lean
/- Copyright (c) 2021 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import topology.homotopy.basic import topology.path_connected import analysis.convex.basic /-! # Homotopy between paths In this file, we define a `homotopy` between ...
5423680e54bf34a57241f82cdef7815e60b9ffd6
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/classical_lie_algebras.lean
8309380a6df66347e3b1705d4d1366c8a07a52ec
[ "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
2,969
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie_algebra import linear_algebra.matrix /-! # Classical Lie algebras This file is the place to find definitions and basic properties of the classical Lie ...
93c13814d7246b0a82bcb5b6a4d90506dc203902
367134ba5a65885e863bdc4507601606690974c1
/src/field_theory/adjoin.lean
7886255cb38422dbb3436450b0f09818a2d3a85d
[ "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
33,331
lean
/- Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning and Patrick Lutz -/ import field_theory.intermediate_field import field_theory.splitting_field import field_theory.separable import ring_theory.adjoi...
b6821fbb144ec7f05baecb7aae6d4cfda3f92bd0
618003631150032a5676f229d13a079ac875ff77
/src/topology/compact_open.lean
2c1e7851d52138c0318e0666ce2041d88d7b9d0f
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
4,205
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton Type of continuous maps and the compact-open topology on them. -/ import topology.subset_properties import tactic.tidy open set open_locale topological_space universes u v ...
0c139178d18c10ad9a6b25fdb1a9b29191590d87
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/algebra/category/adjoint.hlean
2649daedcb7b26ebe83cd92a39062c7002f77cf5
[ "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,285
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 -/ import algebra.category.constructions function arity open category functor nat_trans eq is_trunc iso equiv prod trunc function pi is_equiv namespace category ...
b6c4b8ffb30d7e60959913dcd0dd815c778c445c
e953c38599905267210b87fb5d82dcc3e52a4214
/library/data/equiv.lean
5d1abc0b96f975d07af24959344a0c277cd09447
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
11,606
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types have the same car...
b4e8cd9efb27f23a1527d33617816f4bb96ece0c
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/ring_theory/subring.lean
d92eb75532c7cd558802a00694a7ae70cf4919a3
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
3,759
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 group_theory.subgroup import data.polynomial import algebra.ring local attribute [instance] classical.prop_decidable universes u v open group variables {R ...
9a400408d4f6142a0f33b0a8c1ba134901e99def
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/split_ifs.lean
ebb72c16c65b6ff0f595297b270c35d055c33631
[ "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
3,020
lean
/- Copyright (c) 2018 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner. Tactic to split if-then-else-expressions. -/ open expr tactic namespace tactic open interactive meta def find_if_cond : expr → option expr | e := e.fold none $ λ e _ a...
4c4ff56b586e286e126d2a61a3f3f9662dffc061
ef47cc39429c8f578004338bf040c9c309b26766
/src/demos/category_theory.lean
7bfdc158c3a1d776cdece021a233debc08022690
[]
no_license
farmanb/lftcm2020
29f1c646437a8f8b00ee2e07c8b663ca04bfa16f
1948bfaf58e3b340b39cd9b8366aa4f13e5ffa7d
refs/heads/master
1,669,697,152,764
1,595,275,412,000
1,595,275,412,000
285,654,242
0
0
null
1,596,742,086,000
1,596,742,085,000
null
UTF-8
Lean
false
false
14,666
lean
import demos.category_theory_imports /-! This is a demo of the category theory library in mathlib, as part of "Lean for the Curious Mathematician 2020". You can get this file by: * installing Lean if necessary: https://leanprover-community.github.io/get_started.html#regular-install * `leanproject get lftcm2020` * `co...
85ac7f7a1cdee2c13a3d067c9320471ce14ec4da
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Meta/Tactic/Simp/Main.lean
b4d3217a93e3d3f3024e50cba1f3d44352afe4e1
[ "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
12,624
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.Transform import Lean.Meta.Tactic.Simp.Types import Lean.Meta.Tactic.Simp.Rewrite namespace Lean.Meta namespace Simp builtin_initialize c...
f185af5f869f4e11293bfaf7f25675fc06d5461e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/quaternion.lean
62f97a483b85261af4cd1bbf8a654fe0f7752ccd
[ "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
25,072
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 algebra.algebra.basic import set_theory.cardinal.ordinal import tactic.ring_exp /-! # Quaternions In this file we define quaternions `ℍ[R]` over a commutat...
f2ea49fb5d296c27cd6eab358254813055bf6735
6e9cd8d58e550c481a3b45806bd34a3514c6b3e0
/src/algebra/group_power.lean
d214f5a35a44dca26edefae43b0bf8e36f973a4e
[ "Apache-2.0" ]
permissive
sflicht/mathlib
220fd16e463928110e7b0a50bbed7b731979407f
1b2048d7195314a7e34e06770948ee00f0ac3545
refs/heads/master
1,665,934,056,043
1,591,373,803,000
1,591,373,803,000
269,815,267
0
0
Apache-2.0
1,591,402,068,000
1,591,402,067,000
null
UTF-8
Lean
false
false
29,323
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import data.int.basic import data.equiv.basic import deprecated.ring /-! # Power operations on monoids and groups The power operation on monoids and ...
2e0a7ef7efb3ba432fe0eb41913ddbb0ed86019f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/inst_bug.lean
49d20c18847172e84a72ff630b9f65c1dfe6696a
[ "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
329
lean
inductive is_equiv [class] (A B : Type) (f : A → B) : Type definition inverse (A B : Type) (f : A → B) [H : is_equiv A B f] := Type definition foo (A : Type) (B : A → Type) (h : A → A) (g : Π(a : A), B a → B a) [H : Π(a : A), is_equiv _ _ (g a)] (x : A) : Type := inverse (B (h x)) (B (h x)) (g (h x))
06baa22b421306963c1d9251381a9ab5bb675810
367134ba5a65885e863bdc4507601606690974c1
/src/order/rel_iso.lean
a0d9f738ae19e25d62248da2e2a34cb7e7367265
[ "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
31,274
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 logic.embedding import order.rel_classes import data.set.intervals.basic open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α...
c5ce50178166c9fd44763b58fa092cb786925059
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Leanc.lean
f45445ae6d16931a01cbfc536716b6270ca2a007
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,010
lean
import Lean.Compiler.FFI open Lean.Compiler.FFI def main (args : List String) : IO UInt32 := do if args.isEmpty then IO.println "Lean C compiler A simple wrapper around a C compiler. Defaults to `@LEANC_CC@`, which can be overridden with the environment variable `LEAN_CC`. All parameters are passed as-is to th...
22881650977097a41091888598d96eba30981367
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/special_functions/gamma.lean
e0d175e767c5b7d33e6ad7f90c60c2834f77c103
[ "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
23,589
lean
/- Copyright (c) 2022 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import measure_theory.integral.exp_decay import analysis.calculus.parametric_integral import analysis.special_functions.integrals /-! # The Gamma function This file...
0df6b4dc869d5fd0735ddd424056a4af0664dc24
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Compiler.lean
53ae98ac60ca787f53399cce976a548cd8f54c3c
[ "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
890
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.Compiler.InlineAttrs import Lean.Compiler.Specialize import Lean.Compiler.ConstFolding import Lean.Compiler.ClosedTermCache import Lean.Compiler...
74370b67b1576142726a06be479f57a4d81eaeb1
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/relation_tactics.lean
1a77e1d2db34ea3c271d6eecb7137911bebfea9d
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
1,909
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.function namespace tactic open expr private meta def relation_tactic (md : transparency) (op_for : environment → name...
d598aeb583d442c42e470d6b25d12eda00794822
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/wf2.lean
5aa8d18cad21172632e101159702e1bc741f3a7a
[ "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
126
lean
def g (x : Nat) (y : Nat) : Nat := if x < y then 2 * g (x-1) y -- Error here else 0 termination_by measure (·.1)
a17c0f52cadefe642bf6660cdf2616c6579cd703
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/adjunction/default.lean
d2ec0fe4532e56dd48f1a9d0b52e89b1896dda22
[ "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
41
lean
import category_theory.adjunction.limits
d858a5fd9db4d7306fb57a9c75d09992dfc7f1a3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/kcomp.lean
bada12ea11d75bf583b07f1641ff46b763ef9277
[ "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
954
lean
set_option pp.notation false constant A : Type constants a b : A constant P : A → Type constant H₁ : a = a constant H₂ : P a constant H₃ : a = b constant f {A : Type} (a : A) : a = a eval (eq.rec H₂ (@f A a) : P a) eval (eq.rec H₂ H₁ : P a) eval (eq.rec H₂ H₃ : P b) eval (eq.rec H₂ (@eq.refl A a) : P a) -- ...
53f4d0d985ace4650651a34079f5b7ac469078b2
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/types/pointed2.hlean
120bb878cf7858bdfc656404bd822d22e98a025a
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
42,524
hlean
/- Copyright (c) 2017 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Yuri Sulyma More results about pointed types. Contains - squares of pointed maps, - equalities between pointed homotopies and - squares between pointed homotopies...
6be6886a9ff834d3e77ef1f31f23518fc349dcdc
abd85493667895c57a7507870867b28124b3998f
/src/ring_theory/algebra.lean
2b96767f98635c5f923e8d8af6435eef33eb1892
[ "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
32,223
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import data.matrix.basic import linear_algebra.tensor_product import data.equiv.ring /-! # Algebra over Commutative Semiring (under category) In this file we...
d6d959901bddb9d5ab063733bb0d0bee1d3efbf2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/linear_combination.lean
48173a2f005a974bd8a38da6839d2e39249b57ad
[ "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
17,227
lean
/- Copyright (c) 2022 Abby J. Goldberg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abby J. Goldberg -/ import tactic.ring /-! # linear_combination Tactic In this file, the `linear_combination` tactic is created. This tactic, which works over `ring`s, attempts t...
023e6697e961c09d6e13b822c6dbf38291827203
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/mv_polynomial/comap.lean
cc761b53c11ee8947835cc460bb3113ab510b104
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
3,655
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 data.mv_polynomial.rename /-! # `comap` operation on `mv_polynomial` This file defines the `comap` function on `mv_polynomial`. `mv_polynomial.comap` is a ...
d4c12af5733700667a2e149890e317f146c6552c
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/class3.lean
744afdf9c337f83241b747116b8568b98b0fc8c0
[ "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
214
lean
open tactic section variable {A : Type} variable {B : Type} variable Ha : inhabited A variable Hb : inhabited B include Ha Hb def tst : inhabited (Prop × A × B) := by apply_instance end #print tst
55f5bf9255a44e4da27f2f0ea740314b6c04dd9b
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/algebra/category/iso.hlean
4536f24c468bc09b773e34836260313298eb467a
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
14,275
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn, Jakob von Raumer -/ import .precategory types.sigma arity open eq category prod equiv is_equiv sigma sigma.ops is_trunc namespace iso structure split_mono [clas...
7044312fd257de532fe8015c2dae53218e366c99
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/init/funext.lean
dfa3dc1fa38351b468a31888bf63d437bad16076
[ "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
2,174
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.funext Author: Jeremy Avigad Extensional equality for functions, and a proof of function extensionality from quotients. -/ prelude import init.quot init.logic namespace f...
34b172ef5bde9fc446e43083e611a43adbfd7501
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/pequiv.lean
1d2c3b745b9e49e09eaad3cb9391a9b1aeb4c952
[ "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
14,201
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.set.basic /-! # Partial Equivalences > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. In this...
171e96d07ca4c8c8a1e259b702fe2769b17d1799
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/preserves/basic.lean
47b7218dec758b5b1c24438d568cb3c3f2b45dc0
[ "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
34,147
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, Bhavik Mehta, Jakob von Raumer -/ import category_theory.limits.has_limits /-! # Preservation and reflection of (co)limits. > THIS FILE IS SYNCHRONIZED W...
686e2a64e28c191886b255f5e4a19e011cc71cac
c9e78e68dc955b2325401aec3a6d3240cd8b83f4
/src/common_meta.lean
7c84f556aee0ee9cb5e8b554ffb5c27b0d3b1a0b
[]
no_license
loganrjmurphy/lean-strategies
4b8dd54771bb421c929a8bcb93a528ce6c1a70f1
832ea28077701b977b4fc59ed9a8ce6911654e59
refs/heads/master
1,682,732,168,860
1,621,444,295,000
1,621,444,295,000
278,458,841
3
0
null
1,613,755,728,000
1,594,324,763,000
Lean
UTF-8
Lean
false
false
6,504
lean
import system.io tactic justification LTS property_catalogue.LTL.patterns property_catalogue.LTL.pattern_meta open io list lean.parser tactic interactive.types open lean.parser (ident) variable {α : Type} def tscript_string : list string → string | [] := string.empty | [x] := x ++ "," | (h::t) := h ++ ", \n " ++...
d4dd7b760df4b18d8034dcd4277c427a4dbb8e31
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast23.lean
3d8e1e7ab175fac71098b7abf374d087d9562ef6
[ "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
280
lean
-- Basic (propositional) forward chaining with nested backward chaining constants (A B C D : Prop) set_option blast.trace true set_option blast.init_depth 10 set_option blast.inc_depth 1000 set_option pp.all true definition lemma1 : A → (A → B) → C → B ∧ C := by blast
37c2aaeff2c863d742b2cc330e47a8fc0c3fb061
618003631150032a5676f229d13a079ac875ff77
/test/finish4.lean
8cafa40eba8dfef0ee99cb30916fe5ac4330d33d
[ "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,539
lean
/- Copyright (c) 2019 Jesse Michael Han. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Jesse Michael Han Tests for `finish using [...]` -/ import tactic.finish import algebra.ordered_ring section list_rev open list variable {α : Type*} def append1 (a : α) : list...
70a169113afeaaedf5ac9aab6f1444423f035fa6
56af0912bd25910f5caae91d6dd0603b0c032989
/src/complex/Level_04_norm_sq.lean
337c942781657aab2b10a808a1cff0230980a7a2
[ "Apache-2.0" ]
permissive
isabella232/complex-number-game
ae36e0b1df9761d9df07049ca29c91ae44dbdc2d
3d767f14041f9002e435bed3a3527fdd297c166d
refs/heads/master
1,679,305,953,116
1,606,397,567,000
1,606,397,567,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,052
lean
/- Copyright (c) 2020 The Xena project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard. Thanks: Imperial College London, leanprover-community -/ -- Import levels 1 to 3 import complex.Level_03_conj /-! # Level 4: Norms Define `norm_sq : ℂ → ℝ` by def...
4972e865c3a09715fc82f0f2ff7347665a8b79b5
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/algebra/uniform_ring.lean
680104806aed56519e92fd29dfdf0d6369038d4b
[ "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,686
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 topology.algebra.group_completion import topology.algebra.ring /-! # Completion of topological rings: This files endows the completion of a t...
50bc0088733f80356f6e09d87214e00427a20bd9
ba722bde0061712ae8f53594d0072db86ce39a91
/instructor-notes/2019.10.14.prop_logic/prop_logic_test.lean
9508f6a7246cd91eaaec245176877508da0d43b7
[]
no_license
hr2fr/uva-cs-dm-f19
a07ba6a8ff4aab63433cd9978aed1a21abf963f5
c4ed517463d04bd2509014b7bb00a45fd1fef762
refs/heads/master
1,597,513,371,653
1,571,163,933,000
1,571,163,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,763
lean
import .prop_logic /- A logic is a "formal language" with a mathematically defined syntax and a mathematically defined semantics. The syntax of a language defines the set of legal expressions in the language (sometimes called formula, well-formed formula, sentences, etc). The semantics then explains how to give a mean...
143487dd9a77c04e1d805e01fb81542f89777096
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/topology/metric_space/isometry.lean
e00f5c1eceeff8c2d4e9b753996dbe404b7b9b7b
[ "Apache-2.0" ]
permissive
uniformity1/mathlib
829341bad9dfa6d6be9adaacb8086a8a492e85a4
dd0e9bd8f2e5ec267f68e72336f6973311909105
refs/heads/master
1,588,592,015,670
1,554,219,842,000
1,554,219,842,000
179,110,702
0
0
Apache-2.0
1,554,220,076,000
1,554,220,076,000
null
UTF-8
Lean
false
false
7,881
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel We define isometries, i.e., maps between emetric spaces that preserve the edistance (on metric spaces, these are exactly th...
35c25798db511e13f6f43d1e109c6d8942f402f7
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/test/run/ir/globalVariableRef.lean
e78c89d8a0484a6655f2062468012ecd5d6cba6a
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,421
lean
import Papyrus open Papyrus def assertEq [Repr α] [DecidableEq α] (expected actual : α) : IO (PLift (expected = actual)) := do if h : expected = actual then return PLift.up h else throw <| IO.userError s!"expected '{repr expected}', got '{repr actual}'" def assertBEq [Repr α] [BEq α] (expected actual : α) : IO...
388a903f1d5b1e16c7d1a4481fc8a752c0accac0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/triv_sq_zero_ext_auto.lean
bf079ebc23fc623a9968afa04f00c22480f10524
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
10,809
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.algebra.basic import Mathlib.PostPort universes u v namespace Mathlib /-! # Trivial Squar...
580a8560b49537337ece4359ca2bf26afdd44503
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/662.lean
37bdadb614bd316242550fa6236006c943f77e55
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
1,162
lean
open nat inductive type : Type | Nat : type | Func : type → type → type open type section var variable {var : type → Type} inductive term : type → Type | Var : ∀ {t}, var t → term t | Const : nat → term Nat | Plus : term Nat → term Nat → term Nat | Abs : ∀ {dom ran}, (var dom → term ran) → term (Func dom ran)...
04812fe8bd69cb3a4e6e3a3c037a163e23188ecc
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/lattice.lean
e7c2b28cc3ea08f255af4459da07a5895af9dbbd
[ "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
10,951
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, Scott Morrison -/ import data.list.count import data.list.infix import algebra.order.monoid.min_...
ab00bb9939d5983ab90ae8d7246e62e7518d1d5b
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/505.lean
57c5e5f05199a5d23f28c65117f0497c8c82d1af
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
480
lean
import data.set open set section variable {A : Type} definition set_of (P : A → Prop) : set A := P notation `{` binders `|` r:(scoped:1 P, set_of P) `}` := r definition insert (a : A) (s : set A) : set A := {x : A | x = a ∨ x ∈ s} notation `⦃` s:(foldr `,` (a t, insert a t) ∅) `⦄` := s notation `{` `{`...
c70c7af5a30679c6f6788090b2e381e47beced71
c777c32c8e484e195053731103c5e52af26a25d1
/src/probability/borel_cantelli.lean
466f4da94528b71397a9039feb5daccde904334f
[ "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
4,742
lean
/- Copyright (c) 2022 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import probability.martingale.borel_cantelli import probability.conditional_expectation import probability.independence.basic /-! # The second Borel-Cantelli lemma This ...
688058d6a0a8c29fced245264ae4f1d9e8fa25dc
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/data/pnat/basic.lean
7d4415ecdb2f8124770a9c3da77a89da1e7e02c3
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,867
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Neil Strickland -/ import algebra.group_power.basic import data.nat.basic /-! # The positive natural numbers This file defines the type `ℕ+` or `pnat`, the sub...
713841e3a00f04420092a18e0ce6757f143406b1
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/sigma/basic.lean
b125e7d0f867ddba9cb7c43454870be385f97c9c
[ "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
3,645
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 -/ section sigma variables {α : Type*} {β : α → Type*} instance [inhabited α] [inhabited (β (default α))] : inhabited (sigma β) := ⟨⟨default α, default (β (default α))⟩...
8a2dbd7d115f56aa466caffb7f872121dd186623
92b1c7f0343a6a5cd36bc0f623a7490da3f1e0f3
/src/stump/setup_measurable.lean
4b575586a5e347350054c34d5746ea93a5a36061
[ "Apache-2.0" ]
permissive
jtristan/stump-learnable
717453eb590af16e60c7d3806cc9e66492fab091
aa3c089f41602efa08d31ef6b41e549456186d57
refs/heads/master
1,625,630,634,360
1,607,552,106,000
1,607,552,106,000
218,629,406
15
2
null
null
null
null
UTF-8
Lean
false
false
9,848
lean
/- Copyright © 2019, Oracle and/or its affiliates. All rights reserved. -/ import .setup_definition .setup_properties open set open measure_theory open probability_measure open lattice local attribute [instance] classical.prop_decidable namespace stump variables (μ: probability_measure ℍ) (target: ℍ) lemma is_me...
bb8df7ff2d7bd994a3b5c2a4576af764156f49d5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/function_field.lean
491ce0bc155923785f1ee104df614ede7c4b6740
[ "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,675
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Ashvni Narayanan -/ import algebra.order.group.type_tags import field_theory.ratfunc import ring_theory.dedekind_domain.integral_closure import ring_theory.integrally_closed ...
ddd17892b5ca0bb16ad65737f1d14dd95ec96835
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/finite/polynomial.lean
5576616d7209b069478a135b60fce03fca0057d9
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,171
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 linear_algebra.finite_dimensional import linear_algebra.basic import ring_theory.mv_polynomial.basic import data.mv_polynomial.expand import field_theory.fini...
99991de63e1278b624eefca9dc26337f3ed81d5a
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/bug1.lean
51a932e73c76af2ea946abe6df51c30075e9a760
[ "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
647
lean
prelude definition bool : Type := Sort 0 definition and (p q : bool) : bool := ∀ c : bool, (p → q → c) → c infixl ` ∧ `:25 := and constant a : bool -- Error theorem and_intro1 (p q : bool) (H1 : p) (H2 : q) : a := fun (c : bool) (H : p -> q -> c), H H1 H2 -- Error theorem and_intro2 (p q : bool) (H1 : ...
5092fce04d48edf78bfccf7f53ca5621cf613bf2
29cc89d6158dd3b90acbdbcab4d2c7eb9a7dbf0f
/Exercises week 2/12_homework_sheet.lean
2f94ae9b5092d3224322e2e2d8a4ae5b58f94ebb
[]
no_license
KjellZijlemaker/Logical_Verification_VU
ced0ba95316a30e3c94ba8eebd58ea004fa6f53b
4578b93bf1615466996157bb333c84122b201d99
refs/heads/master
1,585,966,086,108
1,549,187,704,000
1,549,187,704,000
155,690,284
0
0
null
null
null
null
UTF-8
Lean
false
false
4,728
lean
/- Homework 1.2: Basics — Proofs -/ /- Question 1: Drop and Take -/ def drop {α : Type} : ℕ → list α → list α | 0 xs := xs | (_ + 1) [] := [] | (m + 1) (x :: xs) := drop m xs #reduce drop 2 [2,4,6, 8] /- 1.1. Define `take`. -/ /- To avoid bad surprises in the proofs, we recommend that you follo...
da8ceee0d4a2c7bc4b7617d7431d1032039c22dc
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/data/nat/choose.lean
f8e604a4838a9bee57b407022390309b69b6d9c9
[ "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
5,666
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Mostly based on Jeremy Avigad's choose file in lean 2 -/ import data.nat.basic data.nat.prime import algebra.big_operators open nat def choose : ℕ → ℕ → ℕ | _ ...
559ca6152fda8cf32b9ceaac1e3a66a21333f1cb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Server/Watchdog.lean
b67bb04ddbd44ba508965eed82aba87bacfe8762
[ "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
30,397
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Init.Data.ByteArray import Lean.Data.RBMap import Lean.Util.Paths import Lean.Data.FuzzyMatching import Lean.Data.Jso...
b908f371113d1b808030ce1da1a8e82e0ec2988f
41e069072396dcd54bd9fdadb27cfd35fd07016a
/src/K/tableau.lean
ee108f7bc1f34252403eff230d6b5f319de329cb
[ "MIT" ]
permissive
semorrison/ModalTab
438ad601bd2631ab9cfe1e61f0d1337a36e2367e
cc94099194a2b69f84eb7a770b7aac711825179f
refs/heads/master
1,585,939,884,891
1,540,961,947,000
1,540,961,947,000
155,500,181
0
0
MIT
1,540,961,175,000
1,540,961,175,000
null
UTF-8
Lean
false
false
1,075
lean
import .full_language .jump def fml_is_sat (Γ : list fml) : bool := match tableau (list.map fml.to_nnf Γ) with | node.closed _ _ _ := ff | node.open_ _ := tt end theorem classical_correctness (Γ : list fml) : fml_is_sat Γ = tt ↔ ∃ (st : Type) (k : kripke st) s, fml_sat k s Γ := begin cases h : fml_is_sat Γ, con...
5ed13d418f569bacb32a2f0013b5f844ede9e60e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/succ_pred/basic.lean
5f731b900659682928c895ca1826389f44dbeeaa
[ "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
39,601
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.complete_lattice import order.cover import order.iterate import tactic.monotonicity /-! # Successor and predecessor This file defines successor and predece...
73f0d10a7610322e6bf266c24d1b93db5a17b659
0a892cdf34f8e075df2134a851825cf6060314f4
/stability.lean
5744a3c85cffe9901720d2849386d8dc156c1aa1
[]
no_license
dselsam/certifloat
5114b804b073aaa58685a30bee26b859ba2f4f39
f2d7e699057cb3aa63ac5b915b86a2344c447726
refs/heads/master
1,609,525,830,636
1,501,015,996,000
1,501,015,996,000
72,208,761
0
0
null
null
null
null
UTF-8
Lean
false
false
8,910
lean
-- TODO(dhs): need to do this over tensors, need multi-dimension relative errors namespace real constants (real : Type) notation `ℝ` := real axiom real_linear_ordered_field : linear_ordered_field real noncomputable instance : linear_ordered_field real := real_linear_ordered_field constants (sqrt : ℝ → ℝ) axiom sqrt...
f7de8d4f492e3cfda7f859c6cb2d33e14c400444
137c667471a40116a7afd7261f030b30180468c2
/src/topology/instances/ennreal.lean
bc877ea24b831cac8db291fd093df4723514543e
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
51,389
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 topology.instances.nnreal import topology.algebra.ordered.liminf_limsup /-! # Extended non-negative reals -/ noncomputable theory open classical set filter m...
97ce05428de5b9e83a9bc1cf16fb33214d47839d
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/category_theory/comma.lean
1e0f44836c907615a293a5bd6fb0b77d85f4f128
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
22,484
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johan Commelin, Bhavik Mehta -/ import category_theory.isomorphism import category_theory.equivalence import category_theory.punit import category_theory.reflect_isomor...
034e21f7c15a0fcd8cf2e67e6677e10389de8f1d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/char/basic_auto.lean
a77ff7768b25a3974534593ca66bbbc7158e2f0c
[]
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,246
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.nat.basic universes l namespace Mathlib def is_valid_char (n : ℕ) := n < bit0 (b...
f5ab5b63476615def6654aa380f7a5a3c68b507a
ac2987d8c7832fb4a87edb6bee26141facbb6fa0
/Mathlib/Data/Array/Basic.lean
616a2f8008fa7d946f1f0e4598bcb8adefa1502c
[ "Apache-2.0" ]
permissive
AurelienSaue/mathlib4
52204b9bd9d207c922fe0cf3397166728bb6c2e2
84271fe0875bafdaa88ac41f1b5a7c18151bd0d5
refs/heads/master
1,689,156,096,545
1,629,378,840,000
1,629,378,840,000
389,648,603
0
0
Apache-2.0
1,627,307,284,000
1,627,307,284,000
null
UTF-8
Lean
false
false
1,175
lean
import Mathlib.Data.List.Basic @[simp] theorem List.toArrayAux_data : ∀ (l : List α) a, (l.toArrayAux a).data = a.data ++ l | [], r => (append_nil _).symm | a::as, r => (toArrayAux_data as (r.push a)).trans $ by simp [Array.push, append_assoc, List.concat_eq_append] @[simp] theorem List.toArray_data (l : List α) : ...
fd16b031849efb4aec0d1e02dec5f339b4f25efc
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/group/units_hom.lean
02fe3b54af01b7ce9da2592b7fb96d5e1db6f5bb
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
4,950
lean
/- Copyright (c) 2018 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes, Kevin Buzzard -/ import algebra.group.hom /-! # Lift monoid homomorphisms to group homomorphisms of their units subgroups. -/ universes u v w namespace u...
30300f97ee560198bca12f44818d869e891b353b
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/time_expr_old.lean
1d506b731f71186eb38cbcd70e1425bcd3c54630
[]
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
13,143
lean
import .expr_base import ...phys.time.time namespace lang.time universes u variables (K : Type u) [field K] [inhabited K] {f : fm K TIME} {sp : spc K f} /- Duration -/ structure duration_var {K : Type u} [field K] [inhabited K] {f : fm K TIME} (sp : spc K f) extends var /- Time -/ structure time_var {K : Ty...
5a16bed115f1b115ab81617b1a6bab84c02d6071
fa01e273a2a9f22530e6adb1ed7d4f54bb15c8d7
/src/N2O/Data/Vector.lean
6ae9816396aa93554ae289e2b63a68349deaa3a3
[ "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
o89/n2o
4c99afb11fff0a1e3dae6b3bc8a3b7fc42c314ac
58c1fbf4ef892ed86bdc6b78ec9ca5a403715c2d
refs/heads/master
1,670,314,676,229
1,669,086,375,000
1,669,086,375,000
200,506,953
16
6
null
null
null
null
UTF-8
Lean
false
false
465
lean
def Vector (α : Type) : Nat → Type | 0 => Unit | n + 1 => α × Vector α n namespace Vector variable {α : Type} {n : Nat} def nil : Vector α 0 := Unit.unit def cons : α → Vector α n → Vector α (n + 1) := Prod.mk def head : Vector α (n + 1) → α := Prod.fst def tail : Vector α (n + 1) → Vector α n := Prod.snd def ...
cb6bc55f153c571685574541a49231a324584aee
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/category/Semigroup/basic.lean
ac52d3dc5ee6411f6690a22b5657aaa6d8f90a5c
[ "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,308
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer (heavily based on `Mon.basic` by Scott Morrison) -/ import category_theory.concrete_category.bundled_hom import category_theory.concrete_category.reflects_isomor...
6c23a2a440bec8adcb47660139adcd4b75f57251
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/subst.lean
fd241a468f485f1e51c695c55cebd3be6ed98542
[ "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,274
lean
#lang lean4 universes u def f1 (n m : Nat) (x : Fin n) (h : n = m) : Fin m := h ▸ x def f2 (n m : Nat) (x : Fin n) (h : m = n) : Fin m := h ▸ x theorem ex1 {α : Sort u} {a b c : α} (h₁ : a = b) (h₂ : b = c) : a = c := h₂ ▸ h₁ theorem ex2 {α : Sort u} {a b : α} (h : a = b) : b = a := h ▸ rfl theorem ex3 {α : Sort ...
73232d2e5751c9f23b54f6b70859a24ff2fa4448
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/ordmap/ordset.lean
a89840f61df0a223cb8fdebbbcb0db3efa48c136
[ "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
69,325
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.ordmap.ordnode import algebra.order.ring import data.nat.dist import tactic.linarith /-! # Verification of the `ordnode α` datatype This file proves the...
0ba7299bdc57f491d43aeae3de362f9ab1c0c6aa
f00cc9c04d77f9621aa57d1406d35c522c3ff82c
/library/init/algebra/functions.lean
1795b9841ae0ec10b93c09e74ef28c1e476ce301
[ "Apache-2.0" ]
permissive
shonfeder/lean
444c66a74676d74fb3ef682d88cd0f5c1bf928a5
24d5a1592d80cefe86552d96410c51bb07e6d411
refs/heads/master
1,619,338,440,905
1,512,842,340,000
1,512,842,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,317
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ prelude import init.algebra.ordered_field universe u definition min {α : Type u} [decidable_linear_order α] (a b : α) : α := if a ≤ b then ...
3d118df23a0f6fc4f728f8df16ccb4527f02c6eb
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/test/Find.lean
4817c057864e9526ce3d1ddc77f799b6f4b9a92c
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
213
lean
import Mathlib.Tactic.Find theorem add_comm_zero : 0 + n = n + 0 := Nat.add_comm _ _ #find _ + _ = _ + _ #find ?n + _ = _ + ?n #find (_ : Nat) + _ = _ + _ #find Nat → Nat #find ?n ≤ ?m → ?n + _ ≤ ?m + _
1ecce090bba7876e63f4c05f3fffd77e59468c15
d8870c0d7a56f998464cfef82fdac792d2fd9dac
/homework/teamwork3.lean
4dcd9b7708bdd0a3ff9fe166cdd77a6069529e83
[]
no_license
williamdemeo/math2001-spring2019
565b70405e7b92c5f93a295d2114729786350b78
1b3bf3e0bf53684b064b3f96210ce1022850ebf0
refs/heads/master
1,587,030,510,505
1,558,394,100,000
1,558,394,100,000
165,477,693
2
1
null
null
null
null
UTF-8
Lean
false
false
2,781
lean
import data.set --1. Fill in the ``sorry``'s. section open set variable U : Type variables A B C : set U example : ∀ x, x ∈ A ∩ C → x ∈ A ∪ B := sorry example : ∀ x, x ∈ -(A ∪ B) → x ∈ -A := sorry end --2. Fill in the ``sorry``. section open set variable {U : Type} /- defining ...
27eab486c742f8fa5bdf4485c9cfedc15e1c74d8
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/common/math_spec.lean
5ab6f83bdb5be869bbc1fe7bea3b24ee9d5d1236
[]
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
46,513
lean
/- File: math_spec.lean Modified version of the autogenerated file. -/ import starkware.cairo.lean.semantics.soundness.prelude import tactic.polyrith import starkware.cairo.common.bool_spec open starkware.cairo.common.bool open_locale big_operators namespace starkware.cairo.common.math variables {F : Type} [field F...
b8075482069e7a6907c7d77b835576f36e5e25d4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/expandAbbrevAtIsClass.lean
953f432fb033c4e078bd730b29bbb634af13ceba
[ "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
193
lean
def one (α : Type u) [OfNat α (nat_lit 1)] : α := 1 abbrev HasOne (α : Type u) := OfNat α (nat_lit 1) def one' (α : Type u) [HasOne α] : α := 1 example : HasOne Nat := inferInstance
cd4ef91f8c319f86fedd5ecff3ac3c5e83c3f6b3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/geometry/manifold/algebra/monoid.lean
61d68df78c70fb9d161544fd9bae659b3144367b
[]
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
11,364
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.geometry.manifold.times_cont_mdiff import Mathlib.PostPort universes u_2 u_3 u_4 u_5 l u...
32afe431b80fecf48ecb8593fda0e0c133757e22
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/natprimes_slim.lean
63f44d0bf6e98266c619f3abebf03e60f5655d90
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
7,400
lean
import data.nat.prime import tactic.norm_num import data.list.basic open nat open list theorem prime_prod: ∀x:ℕ,1≤x→∃L:list ℕ,(∀p:ℕ,p ∈ L→prime p)∧prod L=x:=begin have Hstrong:∀ y x:ℕ,x≤y→1≤x→∃L:list ℕ,(∀p:ℕ,p ∈ L→prime p)∧prod L=x:=begin intro,induction y with y1 Hiy, intros,rw eq_zero_of_le_zero ...
3b3ce8605f015f1f7fef3175bdc5a2e1a6a2ffcb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/big_operators/associated.lean
49c80173ad2680f4b02e32b87915f25cb3005e9d
[ "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,776
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, Jens Wagemaker, Anne Baanen -/ import algebra.associated import algebra.big_operators.finsupp /-! # Products of associated, prime, and irreducible elements. > THIS F...
26e6dba7750ac8fab9b14220c582454d54f969da
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/homotopy/red_susp.hlean
03b03595b64880dac66c79a74a02fd122f0e8668
[ "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
2,644
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Declaration of the reduced suspension -/ import hit.two_quotient types.pointed algebra.e_closure open simple_two_quotient eq unit pointed e_closure namespace red...
8f1c4752ad1053d8e57a9df1aa76caec86325b24
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/isomorphism.lean
d2adf4f6dc18923254cdb2a84eeabf6ad2d8ed42
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
18,545
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.functor import Mathlib.PostP...
0c16cc49ad4655fd00b0a84dc6a4fa6b177ac436
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/elab15.lean
9cda19b72e83a8552a975a98e9c880bb4b8c46b5
[ "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
310
lean
open tactic set_option pp.notation false universe variables u check λ (A : Type u) (a b c d : A) (H₁ : a = b) (H₂ : c = b) (H₃ : d = c), have a = c, by do { transitivity, assumption, symmetry, assumption }, show a = d, by do { transitivity, this ← get_local "this", exact this, symmetry, assumption }
72e90fb753a72c2a6192e4b0a43170c8380b48c4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/lint_to_additive_doc.lean
af91fa8ad2e1b6a1c47b4beac4fe6651de9cfc3f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,746
lean
import tactic.to_additive import tactic.alias /-- Test assertion helpers -/ meta def assert_ok (n : name) := do decl ← tactic.get_decl n, some msg ← linter.to_additive_doc.test decl | pure (), fail! "Linting {n} complained unexpectedly:\n{msg}" meta def assert_complain (n : name) := do decl ← tactic.get_decl ...
398245fde681b6a1ccdce0ea0f4e6c4672be234d
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/homotopy/join.hlean
bdc7b3cbc6ddb5f42eddc6090b8fcb5af765834b
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
22,824
hlean
/- Copyright (c) 2015 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Ulrik Buchholtz Declaration of a join as a special case of a pushout -/ import hit.pushout .sphere cubical.cube open eq function prod equiv is_trunc bool sigma.o...
68e4f015bfb9a373d62ea35b99f5e4ed2cd0bc2c
4727251e0cd73359b15b664c3170e5d754078599
/src/field_theory/primitive_element.lean
1b10e811c194c4433ecac12a9286ef800955c908
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
10,627
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import field_theory.adjoin import field_theory.is_alg_closed.basic import field_theory.separable import ring_theory.integral_domain /-...
fdb6b650aad5a0b3911cd817060e5074d0fa4d74
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/skeletal.lean
82964c6bb478905dba636e81339a04778f527512
[ "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
9,620
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.isomorphism_classes import category_theory.thin /-! # Skeleton of a category Define skeletal categories as categories in which any two isomorphic...
79bce8a8efbb495ece9f7f1eb8f3036edec3f2d5
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/meta/rb_map.lean
8105a587c7ab901621cc2265377b70173a2dee3c
[ "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
7,674
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad -/ prelude import init.data.ordering init.function init.meta.name init.meta.format init.meta.expr meta constant {u₁ u₂} rb_map : Type u₁ → Type...
d955e44d76ffc57a65558e135beeebabd972e4bf
bf3de31b5bab2d2f45db036440db572bf35564cf
/src/lib/basic.lean
7cf9d7af64201f3c873edc39e0dab4c2ece525db
[ "Apache-2.0" ]
permissive
ml-lab/stump-learnable
60920c57e3238801ab97487497de026b0f843fd5
c1156b36eb34f1a21c377d0b0644c1ea7e22686b
refs/heads/master
1,599,132,375,763
1,572,478,931,000
1,572,478,931,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,385
lean
/- Copyright © 2019, Oracle and/or its affiliates. All rights reserved. -/ import lib.probability_theory import lib.dvector lib.to_mathlib import measure_theory.giry_monad import measure_theory.measure_space import data.complex.exponential local attribute [instance] classical.prop_decidable universes u v open nnre...
f71f3f99e446e6c1e84bb446af8a4cda711dff63
37a833c924892ee3ecb911484775a6d6ebb8984d
/src/category_theory/currying_2.lean
c817cac40faef4dd0dbb7e202c0d29a11ffcec6a
[]
no_license
silky/lean-category-theory
28126e80564a1f99e9c322d86b3f7d750da0afa1
0f029a2364975f56ac727d31d867a18c95c22fd8
refs/heads/master
1,589,555,811,646
1,554,673,665,000
1,554,673,665,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,652
lean
-- import category_theory.currying -- namespace category_theory -- universes u₁ u₂ v₂ -- variables (C : Type u₁) [small_category C] (D : Type u₁) [small_category D] (E : Type u₂) [ℰ : category.{u₂ v₂} E] -- include ℰ -- local attribute [back] category.id -- this is usually a bad idea, but just what we needed here ...
9998dca1df6d094fd966259571e26cd67264f5ee
626e312b5c1cb2d88fca108f5933076012633192
/src/algebra/covariant_and_contravariant.lean
b07b6d2ced20904d38475aaf82dc08af1c64b36a
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,977
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.group.defs /-! # Covariants and contravariants This file contains general lemmas and instances to work with the interactions between a relation and a...