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
4d56ce2796aea5c1d249b75c68612f3764483a1d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/subsemiring.lean
ed61a3d0ac5240f902e9ccf56874cb58c5b4abe9
[]
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
28,388
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.algebra.ring.prod import Mathlib.group_theory.submonoid.default import Mathlib.data.equiv....
863b8554b03ba3db4eebf91f001b150048787256
ba4ad8a778c69640c9cca8e5dcaeb40d4a10fa10
/lean4/Bin/Bin.lean
5a7abf8a37cc8ece1efdd5173c6707227d7666d4
[]
no_license
tangentstorm/tangentlabs
390ac60618bd913b567d20933dab70b84aac7151
137adbba6e7c35f8bb54b0786ada6c8c2ff6bc72
refs/heads/master
1,693,514,213,127
1,692,322,210,000
1,692,322,210,000
7,815,356
33
22
null
1,433,592,935,000
1,359,097,381,000
Visual Basic
UTF-8
Lean
false
false
1,525
lean
-- toy implementation of binary numbers in lean4 inductive Bin where -- binary string | B -- infinite stream of zeros (high bits) | O (x: Bin) -- multiply by 2 | I (x: Bin) -- multiply by 2 and add 1 namespace Bin @[simp] def succ : Bin β†’ Bin | B => I B | O n => I n | I n => O (succ n) ...
d4614894389452f9a2aa451acd51266a62005f34
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/types/nat/sub.hlean
a6be2f3ff2f074e12123b15a65943eea86f69e72
[ "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
19,531
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jeremy Avigad Subtraction on the natural numbers, as well as min, max, and distance. -/ import .order open eq.ops algebra eq namespace nat /- subtraction -/ pro...
198de7cf75aa8e119df237406c5c709ac4c5c037
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/constructions.lean
2f50d37b90393b9d4e5d444d4e9497450ac58cd5
[]
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,315
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.default import Mathlib.data.finset.basic import Mathlib.PostPort universes u_1 l namespac...
1b9a41ac88cea6535e81bac0d91211e712cc67de
92b50235facfbc08dfe7f334827d47281471333b
/library/data/nat/order.lean
9162e42d7924ce9505aeddb38622e2703222b2d9
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
20,054
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad The order relation on the natural numbers. -/ import data.nat.basic algebra.ordered_ring open eq.ops namespace nat /- lt and le ...
272e542a64193d1cc17c264c09b37effae4595c8
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Util/PPExt.lean
3af4bc58e524f40c37346394502df535f1e352b2
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
2,872
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Environment import Lean.MetavarContext import Lean.Data.OpenDecl namespace Lean register_builtin_option pp.raw : Bool := { defValue := false ...
67c4ea755dd69e704cd627a399292b0d023e6861
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/meta/smt/interactive.lean
9d94dab2c1ee6ca43da0d974fd116b11278c41d6
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
10,085
lean
/- Copyright (c) 2017 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.smt.smt_tactic init.meta.interactive_base import init.meta.smt.rsimp namespace smt_tactic meta def save_info (p : pos) : smt_tacti...
67850ff06f992340101a6ae85e5cc1187a2a243c
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/lifting_properties.lean
1fc25dd152767bb385c022f67c8e88ea10efd057
[ "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
5,330
lean
/- Copyright (c) 2021 Jakob Scholbach. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob Scholbach -/ import category_theory.limits.shapes.terminal import category_theory.arrow /-! # Lifting properties This file defines the lifting property of two arrows in a cate...
4ee12e030064e2e2ab2d64ecb92cdab85ba88cd3
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/propext.lean
3b34dc25e8a8df251abc70d4b55fdb80d6b15e23
[ "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,116
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 constant propext {a b : Prop} : (a ↔ b) β†’ a = b /-! # Additional congruence lemmas. -/ universes u v lemma forall_congr_eq {a : ...
d9d5bc8c15b5e28508670dee9df26913edbbece2
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/special_functions/arsinh.lean
b9dc546f23d53a8cf9a20d5a50d104f4c21487b6
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,987
lean
/- Copyright (c) 2020 James Arthur. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: James Arthur, Chris Hughes, Shing Tak Lam -/ import analysis.special_functions.trigonometric.basic import analysis.special_functions.log /-! # Inverse of the sinh function In this file...
fb19903b9c22a33d40bbddbb6a231b6e61ff669b
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/category/Algebra/limits.lean
4bdd2197df8c1472173116f10c7917adb0ac48a1
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
4,927
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Algebra.basic import algebra.category.Module.limits import algebra.category.CommRing.limits /-! # The category of R-algebras has all limits ...
1af98d65c2e44d269683a0d0be40ff3638bd8de4
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/UnaryAntiDistribution.lean
599a611b1fa01b637903bd9575fc8d7d9a392836
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
8,800
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section UnaryAntiDistribution structure UnaryAntiDistribution (A : Type) : Type := (prim : (A β†’ A)) (op : (A β†’ (A β†’ A))) (antidis_prim_op : (βˆ€ {x y : A} , (prim ...
c4d61b244adb2df2c1833eb175c4c2da1c8e8165
e2fc96178628c7451e998a0db2b73877d0648be5
/src/classes/context_free/closure_properties/reverse.lean
61eb205a5b072cfa5cb421bb2cfd7930b05eda4f
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
3,497
lean
import classes.context_free.basics.toolbox import utilities.language_operations import utilities.list_utils variables {T : Type} section auxiliary private def reversal_grammar (g : CF_grammar T) : CF_grammar T := CF_grammar.mk g.nt g.initial (list.map ( Ξ» r : g.nt Γ— list (symbol T g.nt), (r.fst, list.reverse r....
c792dc8cb87100d6cfe6a46b4312a05e9c182064
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/vm.lean
4be4f80e5c31244837b7e05f64932e5ff91cfcd7
[ "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
6,547
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.data.option_t import init.meta.mk_dec_eq_instance meta constant vm_obj : Type inductive vm_obj_kind | simple | constr...
4ba4f3fec3ec1d9b5547df881e89d27e0ee2b1b4
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/special_functions/trigonometric.lean
7f6f101a6fc54c08c43de77de9ff529e0d37f018
[ "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
144,686
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle SΓΆnne, Benjamin Davidson -/ import algebra.quadratic_discriminant import analysis.special_functions.exp_log import data.set.interva...
f52d1929ea0e07978d77c0950ea956817268d584
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/number_theory/zsqrtd/gaussian_int.lean
cb1d5c801698b97f5ec8fcc1f0453bd099284bab
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
12,595
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 number_theory.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.quadratic_reciprocity /-! # Gaussian integers ...
20d5054012088806ae5c368240c15c114f9972ff
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/calculus/times_cont_diff.lean
a99a35dc5e769ac0a2cb76a2b643f17dfcf98cd5
[ "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
143,633
lean
/- Copyright (c) 2019 SΓ©bastien GouΓ«zel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: SΓ©bastien GouΓ«zel -/ import analysis.calculus.mean_value import analysis.normed_space.multilinear import analysis.calculus.formal_multilinear_series /-! # Higher differentiability ...
f7a6573cba280d9755fb719162afded40ff5537b
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/measure_theory/measurable_space.lean
ab1959e280fdd29985751c0af093ac1f841898da
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
58,407
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 data.tprod import order...
59aa468141e9a79e8006b437d2b39b6893e6ca85
a4673261e60b025e2c8c825dfa4ab9108246c32e
/stage0/src/Init/Control/Option.lean
091b302a398216471c2cec9b932bd216c957e2ae
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,850
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Control.Basic import Init.Control.Except universes u v instance {α} : ToBool (Option α) := ⟨Option.toBool⟩ def Opt...
8dcb08a37dd02882df1f6de9838e4aa0274baf6b
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/category/traversable/basic.lean
6daf7d319428b9ddbad021a4940b7899956f020d
[ "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
2,987
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Type classes for traversing collections. The concepts and laws are taken from http://hackage.haskell.org/package/base-4.11.1.0/docs/Data-Traversable.html -/ import tactic.cac...
9c24547de7db10b086bb51336b9ab533cc3f5ef3
46125763b4dbf50619e8846a1371029346f4c3db
/src/tactic/core.lean
aab622d44d09b9902ef16a4ca33e7cf3041a5db0
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
63,050
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic category.basic meta.expr meta.rb_map data.bool tactic.library_note tactic.derive_inhabited univer...
97db477438febf2da9c4091eb38ba2100317a924
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/matrix/kronecker.lean
0137a0896b01effd2b568dd6f75d55a1529919e3
[ "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
15,710
lean
/- Copyright (c) 2021 Filippo A. E. Nuccio. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Filippo A. E. Nuccio, Eric Wieser -/ import data.matrix.basic import linear_algebra.tensor_product import ring_theory.tensor_product /-! # Kronecker product of matrices This d...
84aeaa80ad1aee305ea23cdbaf9488e6a6db7306
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/category/basic.lean
d3fcf8c8ca5296dc9773431f5a4cb99a9c98fd18
[ "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
2,056
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn -/ open eq eq.ops structure category [class] (ob : Type) : Type := (hom : ob β†’ ob β†’ Type) (comp : Π⦃a b c : ob⦄, hom b c β†’ hom a b β†’ hom a c) (ID : Ξ  (a : ob),...
965b32f01176a11e66dba0c3499de50ee2b60537
367134ba5a65885e863bdc4507601606690974c1
/src/algebraic_geometry/presheafed_space.lean
0e8e4cf2996db6258b4d03e022962beaca9b14bc
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
10,803
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 topology.sheaves.presheaf /-! # Presheafed spaces Introduces the category of topological spaces equipped with a presheaf (taking values in an arbitrary targe...
6eeef7cddff2ff529f4eb996043be4288f4de09e
6fbf10071e62af7238f2de8f9aa83d55d8763907
/examples/forall_properties.lean
623d80b19690aa850e63aa34df23ef83fe1d154b
[]
no_license
HasanMukati/uva-cs-dm-s19
ee5aad4568a3ca330c2738ed579c30e1308b03b0
3e7177682acdb56a2d16914e0344c10335583dcf
refs/heads/master
1,596,946,213,130
1,568,221,949,000
1,568,221,949,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
690
lean
lemma commutativity_forall{S: Type}: (βˆ€(s: S), βˆ€(P: S β†’ Prop), P s) ↔ (βˆ€(P: S β†’ Prop), βˆ€(s: S), P s) := begin split, assume pfUnivPS, intros, exact pfUnivPS s P, assume pfUnivPS, intros, exact pfUnivPS P s, end lemma commutativity_forall'{S: Type}: (βˆ€(s: S), βˆ€(P: S β†’ Prop), P s) ↔...
6dd9c3eebedad3661cbd14f0c6226d3eeabffd44
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/let4.lean
893dc870dfe5523a46c5a20a8f1d75d956e886dc
[ "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
316
lean
-- constant f : num β†’ num β†’ num β†’ num check let a : num := 10, b : num := 10, c : num := 10 in f a b (f a 10 c) check let a : num := 10, b : num := let c : num := 10 in f a c (f a a (f 10 a c)), d : num := 10, e : num := f (f 10 10 d) (f d 10 10) a in f a b (f e d 10)
949a5c367945ee385e072a2f7b6c8fdb07c4465a
0d107d7abd6ae235d586830f8e09b1b30e7eef0b
/src/limit_unique/Solution.lean
bfd8a04080800e88109715796a531d58ae940dbc
[]
no_license
ukikagi/codewars-lean
6b9a83ebbb159e7eebf8551b745a1c4d450e747f
1912f2a4e25e917abfce70d65c0469cfac19dc93
refs/heads/master
1,672,948,190,244
1,603,361,004,000
1,603,795,841,000
303,746,208
0
0
null
null
null
null
UTF-8
Lean
false
false
580
lean
import .Preloaded theorem limit_unique {X : Type*} [metric_space X] {s : β„• β†’ X} (xβ‚€ x₁ : X) (hβ‚€ : s ⟢ xβ‚€) (h₁ : s ⟢ x₁) : xβ‚€ = x₁ := begin unfold converges_to at *, apply eq_of_forall_dist_le, intros Ξ΅ hΞ΅p, specialize hβ‚€ (Ξ΅/3) (by linarith), cases hβ‚€ with Nβ‚€ hNβ‚€, specialize h₁ (Ξ΅/3) (by linarith), ...
1c6b9acbdad9bf9092152d96e813efa59ceac129
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/ring_theory/polynomial/basic.lean
6133beadc7ce8681b6d6cdf51050497f40e4fb88
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
33,347
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau # Ring-theoretic supplement of data.polynomial. ## Main results * `mv_polynomial.integral_domain`: If a ring is an integral domain, then so is its polynomial ring over finitel...
5158cef28293164bb57c19470845da8dd0e1269d
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/InvolutiveMultMagmaSig.lean
fcb3aa3cedde26d1417e3f25f33ecc32468ac19c
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
8,734
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section InvolutiveMultMagmaSig structure InvolutiveMultMagmaSig (A : Type) : Type := (times : (A β†’ (A β†’ A))) (prim : (A β†’ A)) open InvolutiveMultMagmaSig struct...
0ef8526a8a4f4d6a1bdba98d179aed0429f6fd2e
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/group_action_hom.lean
5314843abb12df5dea333135b360562881ec46a1
[ "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
10,481
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.group_ring_action /-! # Equivariant homomorphisms ## Main definitions * `mul_action_hom M X Y`, the type of equivariant functions from `X` to `Y`, where `M` i...
ff2cd5cb9fff3a2695da1bdb1edd216343b82305
d0664585e88edfefe384f2b01de54487029040bb
/src/pseudometric_space.lean
c8810d8a6c775d2f7b5f45769f6eef332afde948
[]
no_license
ImperialCollegeLondon/uniform-structures
acf0a092d764925564595c59e7347e066d2a78ab
a41a170ef125b36bdac1e2201f54affa958d0349
refs/heads/master
1,668,088,958,039
1,592,495,127,000
1,592,495,127,000
269,964,470
2
0
null
null
null
null
UTF-8
Lean
false
false
1,541
lean
import topology.metric_space.basic /-! # Pseudometric spaces A pseudometric on a set (or type) X is a distance function obeying all the axioms of a metric except possible d(x,y)=0 ↔ x = y. -/ /-- A function d : X^2 β†’ ℝ is a *pseudometric* if it satisfies the axioms for a metric space apart from possibly the axio...
20c524abb8c0120e3907cfa474049d975953dad7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/char/basic.lean
e988393c43863255eb1c5a4b1917b734e3e3cafa
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,530
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 (bit0 (bit0 (b...
9c2fe658f4f54b0e60ce133d11aaabe73c8efcd5
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/compiler/bytearray_bug.lean
ae36209486e23d085720bbd9b65ffa37b9b84331
[ "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
155
lean
def main (xs : List String) : IO Unit := let arr := (let e := ByteArray.empty in e.push (UInt8.ofNat 10)) in let v := arr.data.get 0 in IO.println v
709a278fcbcb7496f3f2211481c4450592e2856d
9028d228ac200bbefe3a711342514dd4e4458bff
/test/ring.lean
93f6ea87e08b143cf2049df1fad6f4f519401af5
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,078
lean
import tactic.ring import data.real.basic example (x y : β„•) : x + y = y + x := by ring example (x y : β„•) : x + y + y = 2 * y + x := by ring example (x y : β„•) : x + id y = y + id x := by ring! example {Ξ±} [comm_ring Ξ±] (x y : Ξ±) : x + y + y - x = 2 * y := by ring example (x y : β„š) : x / 2 + x / 2 = x := by ring example...
30476383912e0fbf80fc3ae5309c7dff17f7ef98
618003631150032a5676f229d13a079ac875ff77
/src/topology/sheaves/presheaf.lean
b18c7d414ebf3868a3244a8e164dde4a4b7ba5e1
[ "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
2,187
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Mario Carneiro, Reid Barton -/ import topology.category.Top.opens universes v u open category_theory open topological_space open opposite variables (C : Type u) [π’ž ...
5aea7b54bf353ac0d4e6751e31d64a527762ce24
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/monoidal/rigid/basic.lean
bb43e26be3124907ba6b60058fa2ece84256667f
[ "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
26,655
lean
/- Copyright (c) 2021 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer -/ import category_theory.monoidal.coherence_lemmas import category_theory.closed.monoidal import tactic.apply_fun /-! # Rigid (autonomous) monoidal categories Thi...
d1a32f4a0ff21f68ec2e4aa16dd12714eaaf869c
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Util/Recognizers.lean
450d92f5d1676e84756ad5fe468a8111382da0b3
[ "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
4,028
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.Environment namespace Lean namespace Expr @[inline] def const? (e : Expr) : Option (Name Γ— List Level) := match e with | Expr.const n us _...
dd995b6a94cdfcb309422ae8383e08123c72c7b2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/gcd_monoid/multiset.lean
bfe56ae028968886d148c28e7024763313dd6dc6
[ "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,866
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.gcd_monoid.basic import data.multiset.finset_ops import data.multiset.fold /-! # GCD and LCM operations on multisets > THIS FILE IS SYNCHRONIZED WITH...
6fdf63b6e2922d32d4a3b0c282a75c764f0430ef
94e33a31faa76775069b071adea97e86e218a8ee
/src/tactic/monotonicity/lemmas.lean
e803747a649798b3873b3e077a7d7787ed9acadc
[ "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
2,711
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import algebra.order.ring import data.nat.basic import data.set.lattice import order.directed import tactic.monotonicity.basic variables {Ξ± : Type*} @[mono] lemma mul_mon...
a3579103957206bacbba11350898a2914ac3ece8
d1bbf1801b3dcb214451d48214589f511061da63
/src/data/set/finite.lean
30ecb2f6ffe9c12d346d80be409ac0692a1f8ee4
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,580
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.fintype.basic /-! # Finite sets This file defines predicates `finite : set Ξ± β†’ Prop` and `infinite : set Ξ± β†’ Prop` and proves some basic...
cfd3f61381212cd4dadc16336eaa45fa15c19785
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/hit/set_quotient.hlean
46bc6cb25fc274356b8ab20c488e9d2dbb0f8976
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
5,787
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 set-quotients, i.e. quotient of a mere relation which is then set-truncated. -/ import function algebra.relation types.trunc types.eq hit.quotient ...
9f70b03d3a86f7f480b44c9bc23cbc5e83f9b6ad
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Exception.lean
0e03260a7590ef35010636a3bb6372d7482668f4
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
6,538
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.Message import Lean.InternalExceptionId import Lean.Data.Options import Lean.Util.MonadCache namespace Lean /-- Exception type used in most Le...
bfe283111e083198efbe58adc0117c9b46dee230
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/opposite.lean
985150bd4faf650a151e03e2d4b564577140c661
[ "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
4,619
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Simon Hudon, Kenny Lau -/ import logic.equiv.basic /-! # Opposites In this file we define a type synonym `opposite Ξ± := Ξ±`, denoted by `Ξ±α΅’α΅–` and two syno...
844a995514ed0c9620b8ef91b5d02c66ec3b70e1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/abs.lean
035d10ec6294db9ee04f9176793796f58200c3ea
[ "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
1,770
lean
/- Copyright (c) 2021 Christopher Hoskin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Hoskin -/ /-! # Absolute value > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanprover-community/mathlib4/pull/477 > Any changes to this file requi...
d8edf07796cada7b02d2455340cf188a602b1847
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/bindCasesIssue.lean
00a92b7287b080449b92ef6a7ce9b949b2865ad4
[ "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
213
lean
import Lean def bar : ReaderM Unit Unit := if true then match true with | true => pure () | false => pure () else pure () set_option trace.Compiler true #eval Lean.Compiler.compile #[``bar]
92286143e28c6d1b72caf850d9958009f38c0699
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/iterate.lean
79346254361e39ece674872672e93a2a646ccea1
[ "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
9,131
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import logic.function.iterate import order.monotone /-! # Inequalities on iterates > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanprove...
35a3eeffc62e9bd5ecdc3e5c2d64f14ebeb90c62
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch2/ex0604.lean
1ded698d382d400680000d8856c39aeaa27959bd
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
217
lean
section useful variables (Ξ± Ξ² Ξ³ : Type) variables (g : Ξ² β†’ Ξ³) (f : Ξ± β†’ Ξ²) (h : Ξ± β†’ Ξ±) variable x : Ξ± def compose := g (f x) def do_twice := h (h x) def do_thrice := h (h (h x)) end useful
a3d9a0b90bc0743f7f4a793feed5c1cd47500f13
ac2987d8c7832fb4a87edb6bee26141facbb6fa0
/Mathlib/Tactic/NormNum.lean
08ed4044ef22844791281adb51f2e443f2e575f3
[ "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
6,142
lean
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Lean.Elab.Tactic.Basic import Mathlib.Algebra.Ring.Basic import Mathlib.Tactic.Core namespace Lean /-- Return true if `e` is one of the following - A nat...
ae651838f23afb7b7143519c74fa714b1f0f1cd6
94e33a31faa76775069b071adea97e86e218a8ee
/src/linear_algebra/exterior_algebra/of_alternating.lean
c3ea223fc6c831afb2649ce6e1f7ee0bbf29b445
[ "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
6,204
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.clifford_algebra.fold import linear_algebra.exterior_algebra.basic /-! # Extending an alternating map to the exterior algebra ## Main definitions ...
5f312942120c8a2fd410597938af17b25021c1b7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/open_immersion/Scheme.lean
4b930e16e1994f4ea2452c0ec39b9e6ddc7e8b72
[ "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
43,456
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.open_immersion.basic import algebraic_geometry.Scheme import category_theory.limits.shapes.comm_sq /-! # Open immersions of schemes > THIS FILE ...
b7dff1f173920f0d8deb2a9d839a0a291b3b30a6
d1bbf1801b3dcb214451d48214589f511061da63
/src/topology/metric_space/isometry.lean
5462db3121f4b68a3d629163a863c1a6ad0345d4
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,028
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 -/ import topology.bounded_continuous_function import topology.compacts /-! # Isometries We define isometries, i.e., maps...
4d19e9e1e61ababc7605a0147cf49f24ea8b1eeb
4727251e0cd73359b15b664c3170e5d754078599
/src/data/polynomial/monomial.lean
eb8f32669e6bb9464120e9434e112f803778f129
[ "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
2,539
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.basic /-! # Univariate monomials Preparatory lemmas for degree_basic. -/ noncomputable theory n...
b917d87f7ab46caf36c860833c1be056e880d143
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/converter/interactive.lean
843cbe07a6b2b07b2b7bf8d4df20dfc7d8542ba5
[ "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
4,037
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lucas Allen, Keeley Hoek, Leonardo de Moura Converter monad for building simplifiers. -/ import tactic.core tactic.converter.old_conv namespace old_conv meta def save_info (p ...
51d97dbf243021df48ef041d66f2e6f1b54771d1
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/foncteur/Untitled-2_tedtdtt.lean
b392709201fa1ea029ae7aa3697aa2070c8ff741
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
1,568
lean
import ring_theory.algebra import data.polynomial import tactic import algebra.category.CommRing.basic import data.finsupp open CommRing open finsupp finset lattice open algebra open finsupp namespace tr end tr --- Goal : Soit Ο† : Z β†’ R un morphisme d'anneau, soit P un polynΓ΄me β„€[X] et x ∈ R, alors Ο†(P(...
510ccbe11c87539b11ddd3164bd638fac802a335
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Main.lean
620b9bd485f3aa8f7ac09b979de467ffb014fbed
[ "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
331
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone -/ import Lake import Lake.CLI def main (args : List String) : IO UInt32 := do Lake.cli args -- should not throw errors (outside ...
be68412f488ca6db5a9f805de91c9e0b7943f798
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/polynomial/big_operators.lean
338c72de704f4e1725fc18eb2844a236957fe50a
[ "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
4,568
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark. -/ import data.polynomial.monic import tactic.linarith open polynomial finset /-! # Polynomials Lemmas for the interaction between polynomials and βˆ‘ and...
d2922d55bf986a6e6e122319ce274deeb9237d7f
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/seq/wseq.lean
1e10db66297e8e7525fe822fb3aaa475a1faa46e
[ "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
55,032
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.seq.seq data.seq.computation data.dlist universes u v w /- coinductive wseq (Ξ± : Type u) : Type u | nil : wseq Ξ± | cons : Ξ± β†’ wseq Ξ± β†’ wseq Ξ± | thi...
a9b0a233feacab8c34c62063877d469463316898
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0213.lean
ff44675c14f6fd2b0fa3bf75fa2a3d4dbbb03677
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
133
lean
variables p q r : Prop theorem t2 (h₁ : q β†’ r) (hβ‚‚ : p β†’ q) : p β†’ r := assume h₃ : p, show r, from h₁ (hβ‚‚ h₃)
bc39e16aba418deb8b1737f0f9bfba971c231c5d
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/real/basic.lean
d3e217b9212fe6e05f441bf34e56e29f96038bab
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,870
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import order.conditionally_complete_lattice import data.real.cau_seq_completion import algebra.bounds import algebra.order.archimedean import algebr...
5ceb12d01759381905c5591e48c37ea08d076276
a2ee6a66690e8da666951cac0c243d42db11f9f3
/src/data/int/basic.lean
aa9b8924d0d63b9bb13489dedc40f0d911fb9249
[ "Apache-2.0" ]
permissive
shyamalschandra/mathlib
6d414d7c334bf383e764336843f065bd14c44273
ca679acad147870b2c5087d90fe3550f107dea49
refs/heads/master
1,671,730,354,335
1,601,883,576,000
1,601,883,576,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
47,775
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import data.nat.basic import algebra.order_functions open nat namespace int instance : inhabited β„€ := ...
d23780687404f1f008816769f2204ea265389630
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/def4.lean
d142185ceaa32dd41fce9cf4c2001790218657a8
[ "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
84
lean
section variable (A : Type) definition f : A β†’ A := Ξ» x, x end check f
755e888018b94b86e5f4faee2ecf08dbeafab458
82e44445c70db0f03e30d7be725775f122d72f3e
/src/ring_theory/noetherian.lean
620aea35288407f58ae8bc74cc4bc1d2187a3588
[ "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
34,450
lean
/- Copyright (c) 2018 Mario Carneiro, Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import algebraic_geometry.prime_spectrum import data.multiset.finset_ops import linear_algebra.linear_independent import order.order_iso...
a48ee73da5d88b28d01271f4eccef79b87107e9f
4fa161becb8ce7378a709f5992a594764699e268
/src/analysis/special_functions/pow.lean
0c5d03c36ecd2fc0a03a260e916eee6d67d518c0
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
48,304
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle SΓΆnne, SΓ©bastien GouΓ«zel -/ import analysis.special_functions.trigonometric import analysis.calculus.extend_deriv /-! # Power func...
a49216d0a4bfbe0cd2ea6828ab77e8d438c56bea
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/set_theory/cardinal.lean
c031fd2a719eaad0fa59fa9a9d5ecedec5dc45c8
[ "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
45,210
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 import data.fintype.card /-! # Cardinal Numbers We define cardinal...
3272d8d2470291d7a1b0d413423292fc0fae2b3e
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Widget/InteractiveGoal.lean
45b63ec1c4b2772fc3ebc6ca8dc15cf2c975ed8e
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
8,032
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Meta.PPGoal import Lean.Widget.InteractiveCode import Lean.Data.Lsp.Extra /-! RPC procedures for retrieving tactic and term goals with embedde...
6ab19dbeec987fce0204747a30ee158f7fc2c73f
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tmp/new-frontend/parser/command.lean
d43aa19346b2783d2afe9bacf1d62f6eea1a6d3c
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
4,964
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich Command parsers -/ prelude import init.lean.parser.declaration namespace Lean namespace Parser open Combinators MonadParsec open Parser.HasTokens Parser.HasV...
73eebdcceecbd51289716848be5ad481b592bb3b
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170405-eq.rec.lean
c5749841803276ca1aa652b8e5eb26a9c8937781
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
589
lean
def f ( x : β„• ) := x + 1 lemma p : f 3 = 4 := begin unfold f, trivial end structure X ( n : β„• ) := ( m : β„• ) @[reducible] def g ( x : X (f 3) ) : X 4 := begin pose y := @X.mk (f 3) x.m, refine (cast _ x), rewrite p end lemma h ( x : X (f 3) ) ( h : x.m = 0 ) : (g x).m = 0 := begin -- https://groups.google...
21b263f7980d686ab7a7c0b76b922324f42da074
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/count.lean
1f77bc6d461d4b5ef90068f778f226d01d2ececc
[ "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
9,607
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import data.list.big_operators.basic /-! # Counting in lists This file proves basic properti...
833c9873d9eb52411d725d51d11ceca6858af902
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/Server/Requests.lean
bead5e42a3333aa75a264746819aa172e693f59e
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
6,640
lean
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.DeclarationRange import Lean.Data.Json import Lean.Data.Lsp import Lean.Server.FileSource import Lean.Server.FileWorker.Utils imp...
569566d0476cb143f4c47279b8750e738a72e48c
c3e8fac5ab7ca328e55bccf82a0207a97f96678c
/lean/src/tutorial.lean
9efa91aa1b8403798c1c3884f56d3e2c3c401063
[ "Unlicense" ]
permissive
Rotsor/brainfuck
941bb33862ce3e9d61f0454db5ca02942f4b5775
3e6f30f298b8ba76d0bc71b8b5a47cedaf2f0b97
refs/heads/master
1,619,718,778,100
1,532,913,653,000
1,532,913,653,000
121,682,141
0
0
null
null
null
null
UTF-8
Lean
false
false
9,209
lean
-- 4.6 namespace section_4_6_1 variables (Ξ± : Type) (p q : Ξ± β†’ Prop) example : (βˆ€ x, p x ∧ q x) ↔ (βˆ€ x, p x) ∧ (βˆ€ x, q x) := iff.intro (assume h : βˆ€ x, p x ∧ q x, have r1 : (βˆ€ x, p x), from (Ξ» x, and.elim_left (h x)), have r2 : (βˆ€ x, q x), from (Ξ» x, and.elim_right (h x)), ...
e6a3c09ba3778fddd56617119d7c089f8d91e1d7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/polynomial/rational_root.lean
67b786831fd8ad58debe5f61c463f69485874103
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,155
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.integrally_closed import ring_theory.localization.num_denom import ring_theory.polynomial.scale_roots /-! # Rational root theorem and integral root the...
e78a6b8fa4d458de5cd7d101aa37d69bc7b90609
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/monoidal_categories/lemmas/pentagon_in_terms_of_natural_transformations.lean
651a307a03bfab89ffe9c86fc8c7d940e0328739
[]
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
1,342
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 .pentagon_in_terms_of_natural_transformations_definitions open tqft.categories open tqft.categories.functor open tqft.categories.products o...
cfb4f9fca7b7de8027c7816c2f73fe5167180c57
aa5a655c05e5359a70646b7154e7cac59f0b4132
/src/Lean/Declaration.lean
00aee16826ff4ab06f20be69cef32005360a56cb
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,090
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 -/ import Lean.Expr namespace Lean /-- Reducibility hints are used in the convertibility checker. When trying to solve a constraint such a (f ...)...
bba6d118014a0f55e746438df7285d1d8db169d4
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group/inj_surj.lean
45bf4c49d60f227c0567a834118129663f001796
[ "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
22,241
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.group.defs import logic.function.basic /-! # Lifting algebraic data classes along injective/surjective maps This file provides definitions that are m...
292f9f3d312d7ecc84e240ca4d991e0c9782db67
5d76f062116fa5bd22eda20d6fd74da58dba65bb
/src/snarks/pinocchio_strong_qap/vars.lean
764a59e09accf0a913382c80fd7c286b041e30d5
[]
no_license
brando90/formal_baby_snark
59e4732dfb43f97776a3643f2731262f58d2bb81
4732da237784bd461ff949729cc011db83917907
refs/heads/master
1,682,650,246,414
1,621,103,975,000
1,621,103,975,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
270
lean
import data.fintype.basic section /-- An inductive type from which to index the variables of the 3-variable polynomials the proof manages -/ @[derive decidable_eq] inductive vars : Type | s : vars | Ξ± : vars | Ξ²_v : vars | Ξ²_w : vars | Ξ²_y : vars | Ξ³ : vars end
38c975b9bbf7ea1370ecfd9ff267f67133e60e6b
46125763b4dbf50619e8846a1371029346f4c3db
/src/order/liminf_limsup.lean
cac78dbac519a8b7a5a6fba3c224dffebd0ccf17
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
15,950
lean
/- Copyright (c) 2018 SΓ©bastien GouΓ«zel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: SΓ©bastien GouΓ«zel, Johannes HΓΆlzl Defines the Liminf/Limsup of a function taking values in a conditionally complete lattice, with respect to an arbitrary filter. We define `f.Lims...
5c48b92e36741950e633f1d80d9751a802d21340
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/invertible.lean
6728fe56ad325f1ebcac1c0fa9b915c94eb6d66b
[ "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
12,103
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.group.units import algebra.group_with_zero.units.lemmas import algebra.ring.defs /-! # Invertible elements > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > An...
412b9c804d86fbbacc8cc85fa3f29ae65382ae6b
6dacdff2020860f2468bb8dacf344e6b043d6a78
/cap/src/demo_tac.lean
3cacec720bd757f65947a869185817abcede884b
[]
no_license
alexjbest/talks
514ca57af312a14cf68c30efa1c7228294edc190
84976b4329ea768c754da72cc15d5ce29332466d
refs/heads/master
1,686,993,465,308
1,686,315,975,000
1,686,315,975,000
16,347,963
2
0
null
null
null
null
UTF-8
Lean
false
false
249
lean
import tactic lemma one : 7 + 0 = 7 := begin sorry, end lemma three : βˆ€ n, n + 0 = n := begin rw add_zero, end lemma our_zero_add (n : β„•) : 0 + n = n := begin end lemma more_props (P Q : Prop) (hP : P) (hQ : Q) : P ∧ Q := begin end
8401851a36b67d932f56bf6f8fcd2e5f3e780951
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/algebra/operations.lean
0406fdfa1234e784e74db5251e4ae8ed5c11825e
[ "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
21,552
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.bilinear import algebra.module.submodule.pointwise import algebra.module.submodule.bilinear import algebra.module.opposites import data.finset.pointwise ...
174d3f7f6cd71d73ceea0b2a96f35c8576e13c91
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/Elab/Syntax.lean
953ddc79ef13bbd61eab2360be096dee2ed090a2
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,468
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Command import Lean.Parser.Syntax import Lean.Elab.Util namespace Lean.Elab.Term /- Expand `optional Β«precedenceΒ»` where Β«precedenceΒ» := ...
f73ecc5db93f188e67637d873e881929b1b97cd6
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/topology/metric_space/basic.lean
dd971ee9738a919d98c1b12541b6fc8952e9b372
[ "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
84,858
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes HΓΆlzl, Mario Carneiro, SΓ©bastien GouΓ«zel Many definitions and theorems expected on metric spaces are already introduced o...
1c3f8e8af433402518668ad642562dc68f4dda55
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/src/Lean/Environment.lean
bece88fa637426543ff3f19b4ec2a9d12c2402e5
[ "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
30,083
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.Data.HashMap import Lean.Data.SMap import Lean.Declaration import Lean.LocalContext import Lean.Util.Path import Lean.Util.FindExpr namespace Le...
7c24a4876b7a7f9345643b459a15a96b088086fc
f1a12d4db0f46eee317d703e3336d33950a2fe7e
/common/tauto.lean
000be557d5fb6967ca4dce0f55b2d5fee44d35f2
[ "Apache-2.0" ]
permissive
avigad/qelim
bce89b79c717b7649860d41a41a37e37c982624f
b7d22864f1f0a2d21adad0f4fb3fc7ba665f8e60
refs/heads/master
1,584,548,938,232
1,526,773,708,000
1,526,773,708,000
134,967,693
2
0
null
null
null
null
UTF-8
Lean
false
false
497
lean
import ...mathlib.logic.basic lemma or_iff_or (p p' q q' : Prop) : (p ↔ p') β†’ (q ↔ q') β†’ ((p ∨ q) ↔ (p' ∨ q')) := begin intros hp hq, rewrite hp, rewrite hq end lemma and_iff_and (p p' q q' : Prop) : (p ↔ p') β†’ (q ↔ q') β†’ ((p ∧ q) ↔ (p' ∧ q')) := begin intros hp hq, rewrite hp, rewrite hq end lemma forall_...
cbc20ca539ebca88086178838892f8f47d275a27
1fd908b06e3f9c1252cb2285ada1102623a67f72
/algebra/classes.lean
d0f0d4754ff9c450d134e4b1cb81dd5299b87eb4
[ "Apache-2.0" ]
permissive
avigad/hott3
609a002849182721e7c7ae536d9f1e2956d6d4d3
f64750cd2de7a81e87d4828246d1369d59f16f43
refs/heads/master
1,629,027,243,322
1,510,946,717,000
1,510,946,717,000
103,570,461
0
0
null
1,505,415,620,000
1,505,415,620,000
null
UTF-8
Lean
false
false
2,973
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import ..init universes u v w hott_theory namespace hott @[algebra] class is_commutative (Ξ± : Type u) (op : Ξ± β†’ Ξ± β†’ Ξ±) : Type u := (comm : βˆ€ a b, op a b ...
63bb890ea5d1a1d46ab45d0efbb981b52bf54eb8
1dd482be3f611941db7801003235dc84147ec60a
/src/topology/instances/ennreal.lean
b28e73ca0f566c2037f7200bca9d84d08f4d08d1
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
27,295
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes HΓΆlzl Extended non-negative reals -/ import topology.instances.nnreal data.real.ennreal noncomputable theory open classical set lattice filter metric local attribute [instance...
132856c4adfec5bc97f42e3c4402ff0fb54380ed
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/x_sq_plus_n_y_sq.lean
0ad47e708e864c3eae09650ff53051a06f47c054
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
76,013
lean
/- Copyright (c) 2018 Clara List. All rights reserved. -/ import M3P14.lqr import data.list.basic import data.padics.padic_norm open int list lemma identity (c d n x y : β„€) : (c^2 + n*d^2)*(x^2 + n*y^2) = (x*c - n*d*y)^2 + n*(c*y + d*x)^2 := by ring lemma nonneg_int {a x y n : β„€} (hn : 0 < n) : a = x^2 + n*y^2 β†’ 0...
8051d55ee11d3ae479048befd88146c09045bf07
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/box_integral/integrability.lean
eaf33e8b5785168beb321f06c57d0c52ff550b40
[ "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
17,640
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.box_integral.basic /-! # McShane integrability vs Bochner integrability In this file we prove that any Bochner integrable function is McShane inte...
4ee9b9abe8783852835bd7f8453697237b31816a
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/monoidal/category.lean
7be8718f760393d07b4e39c16ae94828840819ff
[ "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
16,133
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison -/ import category_theory.products.basic import category_theory.natural_isomorphism import tactic.basic import tactic.slice open category_theory ...
f5271e898e8d45d6774cda6ed8412bd8d4f0aaa4
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/algebra/star.lean
687cd33e7810e2d7a08e1ce3780a1e3d6ea098eb
[ "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
3,013
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.star.pi import algebra.star.prod import topology.algebra.group /-! # Continuity of `star` This file defines the `has_continuous_star` typeclass, along with...
b65044200606ceb4dd2e8cc52455a08121c208be
649957717d58c43b5d8d200da34bf374293fe739
/src/category_theory/equivalence.lean
3746b23e195a1c536e2f70907b762afe9998e7a3
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
14,260
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn import category_theory.fully_faithful import category_theory.whiskering import category_theory.natural_isomorphism ...
e68f2cba50fe9183be92ddcd332c48520a8b1104
1dd482be3f611941db7801003235dc84147ec60a
/src/algebra/gcd_domain.lean
e062829a4f121d8d32bb12b1a1b59f8a703c8405
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
14,638
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 GCD domain and integral domains with normalization functions TODO: abstract the domains to to semi domains (i.e. domains on semirings) to include β„• and...
30633d7130b01a4e15c60dccd23dda6f6fd6301b
5a5e1bb8063d7934afac91f30aa17c715821040b
/lean3SOS/src/float/basic.lean
cabe0ce3e3b87d643ac486a9dfb6a781c2385e94
[]
no_license
ramonfmir/leanSOS
1883392d73710db5c6e291a2abd03a6c5b44a42b
14b50713dc887f6d408b7b2bce1f8af5bb619958
refs/heads/main
1,683,348,826,105
1,622,056,982,000
1,622,056,982,000
341,232,766
1
0
null
null
null
null
UTF-8
Lean
false
false
13,699
lean
import data.int.basic import data.rat.basic import data.real.basic import float.reduce import tactic -- Float structure before quotiening. Basic operations. structure float_raw := (m : β„€) (e : β„€) namespace float_raw def reduce (x : float_raw) : float_raw := let m := if x.m < 0 then int.to_nat (-x.m) else int.to_na...
037f2cf288457d96b15b450ff83fc86bcdfbc5a3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/invalidPatternIssue.lean
250429752d6ff5d11c9bfd349f1af8bd6b1e5633
[ "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
304
lean
structure Pos where protected succ :: protected pred : Nat protected def Pos.add : Pos β†’ Pos β†’ Pos | Pos.succ x, Pos.succ y => Pos.succ (x + y).succ instance : Add Pos := ⟨Pos.add⟩ instance (x : Nat) : OfNat Pos x.succ := ⟨Pos.succ x⟩ def f : Pos β†’ Pos | 1 => 1 | x+1 => f x + x + 1
dc7677176c22786240775c731a9b1673435f6a15
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/gcd.lean
7def2397c8ba3aac271d5af1d98452e79066150b
[ "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,702
lean
open nat well_founded decidable prod namespace playground -- Setup definition pair_nat.lt := lex nat.lt nat.lt definition pair_nat.lt.wf : well_founded pair_nat.lt := intro_k (prod.lex_wf lt_wf lt_wf) 20 -- the '20' is for being able to execute the examples... it means 20 recursive call without proof computation i...
14bc510e73d58930c0e1e1c023f6080483326425
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/logic/small/list.lean
eb668f3dcb1188269be8ac7c380086c8998d1331
[ "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
835
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import logic.small.basic import data.vector.basic /-! # Instances for `small (list Ξ±)` and `small (vector Ξ±)`. These must not be in `logic.small.basic` as this is v...
6ba427e657fbded258859ac32abb050bef4c4d12
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/mult.lean
61959e06db458af93f0b9d81abd581dce2bc1440
[ "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
288
lean
structure C [class] := (val : nat) attribute C [multiple_instances] definition c1 [instance] : C := C.mk 1 definition c2 [instance] : C := C.mk 2 set_option class.trace_instances true definition f [s : C] : nat := C.val definition tst1 : f = 1 := rfl definition tst2 : f = 2 := rfl
4d3669e5fd912f9836197ca23ea920ed165a43be
597e185014db6ce8a949dac0322798f11218338b
/src/combinatorics.lean
a3b307222ab953d35f39a93b82c582df497bd0a2
[]
no_license
b-mehta/lean-experiments
58ce21c7106dfde163c236175fee30b341ba69ee
5f0aed189f724ae6f739ec75dcdddcd2687614e1
refs/heads/master
1,598,987,002,293
1,576,649,380,000
1,576,649,380,000
219,032,370
0
0
null
null
null
null
UTF-8
Lean
false
false
3,883
lean
import data.finset import data.fintype import data.fin import data.rat open function open finset variables {Ξ± : Type*} {Ξ² : Type*} variables [fintype Ξ±] [fintype Ξ²] namespace fintype theorem card_image_of_injective [decidable_eq Ξ²] {f : Ξ± β†’ Ξ²}: injective f β†’ finset.card ((elems Ξ±).image f) = card Ξ± := finset.car...
e6f42f01a687e3a6fafea03c67a9f3981b1de3ee
798dd332c1ad790518589a09bc82459fb12e5156
/data/equiv/basic.lean
c0111d8664a11cd3f6cc61a755f3041980a3e669
[ "Apache-2.0" ]
permissive
tobiasgrosser/mathlib
b040b7eb42d5942206149371cf92c61404de3c31
120635628368ec261e031cefc6d30e0304088b03
refs/heads/master
1,644,803,442,937
1,536,663,752,000
1,536,663,907,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,618
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 In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types h...
8aa48d92f6d808597a2b96e7f1da59039730603a
8c02fed42525b65813b55c064afe2484758d6d09
/src/irtest_run.lean
94e2449a48fdcbe6269d8869e72e8b32d0e4aa80
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/AliveInLean
3eac351a34154efedd3ffc4fe2fa4ec01b219e0d
4b739dd6e4266b26a045613849df221374119871
refs/heads/master
1,691,419,737,939
1,689,365,567,000
1,689,365,568,000
131,156,103
23
18
NOASSERTION
1,660,342,040,000
1,524,747,538,000
Lean
UTF-8
Lean
false
false
16,188
lean
-- Copyright (c) Microsoft Corporation. All rights reserved. -- Licensed under the MIT license. import system.io import system.random import .lang import .lang_tostr import .irsem import .irsem_exec import .freevar -- Randomly picks an element from a list def pick {Ξ±:Type} (l:list Ξ±) (g:std_gen) (HPOS:0 < l.lengt...
73d3aa92df90931021c20b1f2307b107cd019e71
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/complex/exponential.lean
3db31ed1fc46498eee9b2522ab64d43add42cba5
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
63,971
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.geom_sum import data.complex.basic import data.nat.choose.sum /-! # Exponential, trigonometric and hyperbolic trigonometric func...