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
ddc267c82943db87a75f796ae4cd90185191d78c
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/run/830.lean
634bff9b8c39060773cbbe9c429a199728ea7a29
[ "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
417
lean
variable P : Prop premise HP : P example : P := have H : P, from HP, H example : P := have H : P, from HP, show P, from H example : P := have H : P, from HP, by+ exact H example : P := have H : P, from HP, show P, by+ exact H example : P := have H : P, from HP, show P, begin+ exact H end example : P := have H : P...
470b6743b052f06d8a1ead7138171a70eaa5e06d
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/algebraic_card.lean
5cf00a5d2af68133db15f692553fdee03bb0007f
[ "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
3,573
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import data.polynomial.cardinal import ring_theory.algebraic /-! ### Cardinality of algebraic numbers In this file, we prove variants of th...
aac594b25eaccb14ca143e885957cc344c71e5b9
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/opposites.lean
0602dd1faef13702a4b3d76be6b9dc15a7c8ff09
[ "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
3,605
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Floris van Doorn -/ import category_theory.limits.limits import category_theory.discrete_category universes v u open category_theory open category_theory.functor open...
b21901e7de150a1bc206099ad8bfddfcbc339932
4727251e0cd73359b15b664c3170e5d754078599
/src/data/int/order.lean
c486c6d4450212d013d0ce165aff441565f932d9
[ "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,962
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import order.conditionally_complete_lattice import data.int.least_greatest /-! ## `ℤ` forms a conditionally complete linear order The integers form a conditiona...
b59c811e6edabf90c206e0552533ea9754800502
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/mv_polynomial/pderiv.lean
d16f979572947735870932439c9dccc0c6fbc68e
[ "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
5,431
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import data.mv_polynomial.variables import algebra.module.basic import tactic.ring /-! # Partial derivatives of polynomials This file defines the notion of the form...
9129a14a4916247ed672572671d9fb399cbb339b
c8af905dcd8475f414868d303b2eb0e9d3eb32f9
/src/data/fin_poly.lean
a6f7d3934e0a2caa4eb7c9138ebdd05d044d4a89
[ "BSD-3-Clause" ]
permissive
continuouspi/lean-cpi
81480a13842d67ff5f3698643210d8ed5dd08de4
443bf2cb236feadc45a01387099c236ab2b78237
refs/heads/master
1,650,307,316,582
1,587,033,364,000
1,587,033,364,000
207,499,661
1
0
null
null
null
null
UTF-8
Lean
false
false
2,013
lean
import data.fin_fn /-- A multi-variate, computable polynomial. Based off mathlib's mv_polynomial definition. -/ def fin_poly (α : Type*) (β : Type*) [has_zero β] := fin_fn (fin_fn α ℕ) β section instances variables (α : Type*) (β : Type*) instance [has_zero β] [decidable_eq α] [decidable_eq β] : decidable_eq...
bc246f35aca4c3ec744c8e63cdfb352260da501f
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/typeclass_coerce.lean
b72ecd4582583db1059c767b9242f949ee71e575
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
3,864
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam, Leonardo de Moura Declare new, simpler coercion class without the special support for transitivity. Test that new tabled typeclass resolution deals with loops an...
1c81ff0a7adda8bd87aee234a420956d879e62c0
c777c32c8e484e195053731103c5e52af26a25d1
/src/order/category/Semilat.lean
44b058fcc2e7fa654c8c98b8ded118a09cf54094
[ "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,994
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.category.PartOrd import order.hom.lattice /-! # The categories of semilattices This defines `SemilatSup` and `SemilatInf`, the categories of sup-semilattic...
9248c232b71a193e9e0a0b0cdd2735f07c6f4bd8
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/dep_coe_to_fn2.lean
7acf9fd76cd3b973f2207db21edf1ef62b1f8701
[ "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
265
lean
universe variables u v structure Func := (A : Type u) (B : A → Type v) (fn : Π a, B a → B a) instance F_to_fn : has_coe_to_fun Func := { F := λ f, Π a, f^.B a → f^.B a, coe := λ f, f^.fn } variables (f : Func) (a : f^.A) (b : f^.B a) check (f a b)
fa170eb1cb848c648feede49e1700313b00d4d30
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/measure_theory/integration.lean
cf2a52cdd8621d457c2fcbe8855ea032626385a1
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
38,112
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl Lebesgue integral on `ennreal`. We define simple functions and show that each Borel measurable function on `ennreal` can be approximated by a sequence ...
08b1cd9e0be9ec6230907ee1bd8c68cb32efb485
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/connected.lean
d592ce240831e528149a7a8cc3d3824ed40df884
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
3,740
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.equalizers import category_theory.limits.preserves.basic import category_theory.is_con...
999eb30210c1df735e186cce2c74472b3a3285ac
91b8df3b248df89472cc0b753fbe2bac750aefea
/experiments/lean/src/ddl/default.lean
5489f3d3f4f010ac98d4e9d46f78f62d2ec82758
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yeslogic/fathom
eabe5c4112d3b4d5ec9096a57bb502254ddbdf15
3960a9466150d392c2cb103c5cb5fcffa0200814
refs/heads/main
1,685,349,769,736
1,675,998,621,000
1,675,998,621,000
28,993,871
214
11
Apache-2.0
1,694,044,276,000
1,420,764,938,000
Rust
UTF-8
Lean
false
false
120
lean
import ddl.basic import ddl.binary import ddl.binder import ddl.ctx import ddl.embed import ddl.host import ddl.parsing
b3c67dd20b25c39add87d7bf7c5c100c9f0effeb
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/real/pi.lean
9676f5d46036a13a72ae1d46c6c5c6eea31ccebf
[ "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
14,957
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Benjamin Davidson -/ import analysis.special_functions.pow /-! # Pi This file contains lemmas which establish bounds on or approximations of `real.pi`. Notably, th...
3c80f8775f173dcc42063a736879048108beabdd
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/vandermonde.lean
903364524c4ff9e26a79cdef85c3fd892770814f
[ "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
4,791
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.big_operators.fin import algebra.geom_sum import group_theory.perm.fin import linear_algebra.matrix.determinant import tactic.ring_exp /-! # Vandermonde ma...
f804a253fb348a02952a2d2fb691a10d90f40e45
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/algebra/associated.lean
2d2da606e9bd25b66512a36e28a736544d1481ae
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
25,505
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 Associated and irreducible elements. -/ import algebra.group data.multiset variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} open lattice /-- ...
52412f9b3b2fdc80ed50df5f77d85d74e0614964
aa5a655c05e5359a70646b7154e7cac59f0b4132
/stage0/src/Lean/Elab/Command.lean
731361435b2bca881dbdd4f39640929731ca0fb7
[ "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
28,487
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.Parser.Command import Lean.ResolveName import Lean.Meta.Reduce import Lean.Elab.Log import Lean.Elab.Term import Lean.Elab.Binders import Lean.E...
739b94fb2cde955b752b05dd9f77bc50fa58f487
e8153a5579a289d323a1f905f108faed9bb4988c
/src/multiplicity_vectors.lean
aee5660cdff0345dba00bb77dbcab5aae1cca9d3
[]
no_license
awainverse/perfect_number
983ae4a6fdeafc507be0143e949f33b985d415df
3d5504b4529fbccd4ab69c8816731096c50402be
refs/heads/master
1,667,809,996,394
1,593,575,741,000
1,593,575,741,000
272,861,730
0
0
null
null
null
null
UTF-8
Lean
false
false
13,211
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson. -/ import data.finsupp import data.pnat.factors import order.conditionally_complete_lattice import order.lattice import tactic.pi_instances /- # Factor Finsupps ## No...
89d4ce70a7cb7f8bb82168ce14326258d1b33fa1
367134ba5a65885e863bdc4507601606690974c1
/src/group_theory/perm/option.lean
97779360fbd642dc89e0b0b05486c1bcd910b965
[ "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
3,699
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Eric Wieser -/ import group_theory.perm.sign import data.equiv.option /-! # Permutations of `option α` -/ open equiv lemma equiv_functor.map_equiv_option_injective {α β : Type*} : func...
e5c94c94398fba7727fc7a4bee1fcbf99344123d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/number_theory/liouville/liouville_with.lean
6595a76b8d4f4d0bbce41c919b8e085c4a526b9b
[ "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
14,948
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.special_functions.pow import number_theory.liouville.basic import topology.instances.irrational /-! # Liouville numbers with a given exponent...
9414a0474b4f0e090d50f82be02a56dd7f641b8b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/subsemigroup/basic.lean
a380ec63b600b4b24ed170def39f4f785d464b7d
[ "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
16,857
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov, Yakov Pechersky -/ import algebra.hom.group -- Only needed for notation i...
4668077a4256f6e7e4f9af4fb1f4701e4adf083b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/uniform_space/uniform_convergence_topology.lean
7b4610f323f9128b806c5a973e1b39be64b15b6e
[ "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
46,972
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import topology.uniform_space.uniform_convergence import topology.uniform_space.pi import topology.uniform_space.equiv /-! # Topology and uniform structure of un...
345d494bb00c6b65b9e437706d5a2bbb2f2f8982
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/deprecated/subgroup.lean
15be3012a5d3c0badf2c8c3f2eeeec615084be17
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,832
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, Mitchell Rowett, Scott Morrison, Johan Commelin, Mario Carneiro, Michael Howes -/ import group_theory.subgroup import deprecated.submonoid open set function variabl...
11df2677f7d61e9f8bd45e4a6854603856113b14
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/set/intervals/basic.lean
d3e1098cd55cb47af52c26a864ebc7a9b7abffa1
[ "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
54,974
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, Patrick Massot, Yury Kudryashov, Rémy Degenne -/ import algebra.order.group import data.set.basic import order.rel_iso import order.order_dual /-! # In...
7d14365a06a17aad9cbb4c0ea7cc60c103ba8886
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/e6.lean
5b61f4b6562209d3b22da294eb6b3d9080aa6de3
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
617
lean
precedence `+`:65 namespace nat constant nat : Type.{1} constant add : nat → nat → nat infixl + := add end nat namespace int open nat (nat) constant int : Type.{1} constant add : int → int → int infixl + := add constant of_nat : nat → int coercion [persistent] of_nat end int open int open nat cons...
c5988e2befc1b7a79221301c538fd67bbdc2032c
4fa161becb8ce7378a709f5992a594764699e268
/src/measure_theory/lebesgue_measure.lean
6217ab0d3a2f03350ced169c16144dbc6f3b0229
[ "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
12,269
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 Lebesgue measure on the real line -/ import measure_theory.measure_space import measure_theory.borel_space noncomputable theory open classical set filter open nnreal (o...
829dea4cd9e3d6e329957768a13e229b320c3b7f
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/topology/instances/ennreal.lean
989ea1c775bfe9c274a0c463a2fcdbb8c2434a4f
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,780
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...
9d2bbccf8fbb1a63af81d6c0832c128c05f6bebc
ebb7367fa8ab324601b5abf705720fd4cc0e8598
/algebra/product_group.hlean
800650fd14d23484c67b1e8b97cc019cce85d90b
[ "Apache-2.0" ]
permissive
radams78/Spectral
3e34916d9bbd0939ee6a629e36744827ff27bfc2
c8145341046cfa2b4960ef3cc5a1117d12c43f63
refs/heads/master
1,610,421,583,830
1,481,232,014,000
1,481,232,014,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,080
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, Egbert Rijke Constructions with groups -/ import algebra.group_theory hit.set_quotient types.list types.sum .subgroup .quotient_group open eq algebra is_trunc se...
70d3e8e555238f8ed2a4a64b3d271221262aa915
3d2a7f1582fe5bae4d0bdc2fe86e997521239a65
/misc/human.lean
9240ff55da4b0175d9eeed5291ef1b1fb1790a59
[]
no_license
own-pt/common-sense-lean
e4fa643ae010459de3d1bf673be7cbc7062563c9
f672210aecb4172f5bae265e43e6867397e13b1c
refs/heads/master
1,622,065,660,261
1,589,487,533,000
1,589,487,533,000
254,167,782
3
2
null
1,589,487,535,000
1,586,370,214,000
Lean
UTF-8
Lean
false
false
3,501
lean
/- Typeful Ontologies with Direct Multilingual Verbalization Krasimir Angelov, Ramona Enache From https://www.molto-project.eu/sites/default/files/FinalSUMOCNL.pdf -/ constant Class : Type -- SUMO immediateSubclass constant subClass : Class → Class → Type -- SUMO subclass constant Inherits : Class → Class → Type c...
dec1cd90fd4a3c210601a5848ae1fd6636599156
d642a6b1261b2cbe691e53561ac777b924751b63
/src/category_theory/concrete_category/basic.lean
640e5e220fd2fdf75fb356cce63d10dc082d126e
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
5,324
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl, Reid Barton, Sean Leather, Yury Kudryashov -/ import category_theory.types category_theory.full_subcategory /-! # Concrete categories A concrete categ...
4fd313d9745a58a0d4357d087b51f5cf13a52aa8
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/exercises_sources/thursday/category_theory/exercise7.lean
ac1e90a56cdf361f32015c96460142cbbf630e23
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,666
lean
import category_theory.monoidal.category import algebra.category.CommRing.basic /-! Let's define the category of monoid objects in a monoidal category. -/ open category_theory variables (C : Type*) [category C] [monoidal_category C] structure Mon_ := (X : C) (ι : 𝟙_ C ⟶ X) (μ : X ⊗ X ⟶ X) -- There are three missin...
0275bab6164879fda47f0d006d3ecb4944a0a259
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/pnat/factors.lean
e7aa6da83e6ace1a0d31a37d25a6d55778a83038
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,968
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...
db2429218704f8262814126f65a8584d6eb5f689
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/enat.lean
edbebecdf9ff7e3dc59b8f436d6895ba41fbde94
[]
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
5,300
lean
import data.pfun order.bounded_lattice algebra.ordered_group open roption lattice @[elab_as_eliminator] lemma roption.induction_on {α : Type*} {P : roption α → Prop} (a : roption α) (hnone : P none) (hsome : ∀ a : α, P (some a)) : P a := (classical.em a.dom).elim (λ h, roption.some_get h ▸ hsome _) (λ h, (eq_no...
4c37431d9d1d650a16c6cdcf4407df90c826b2a4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/float_cases_bug.lean
d35b00bb3d0caa5256c12d6f921306127275fdbe
[ "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
65
lean
def foo (xs : List Nat) := xs.span (fun n => (decide (n = 1)))
7ebd0200f8817c343d1cfe4d2393f3a6aa996a22
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/limits/shapes/binary_products.lean
93fa823c481858194aa07410aa0550b6d5511bf6
[ "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
22,613
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.limits.shapes.terminal /-! # Binary (co)products We define a category `walking_pair`, which is the index category for a binary ...
e2083c7cdf94eda382558b855e41ab30d1f95edc
66a6486e19b71391cc438afee5f081a4257564ec
/colimit/seq_colim.hlean
1ddf46e1cd2e9e40a019ea276c6dc0001a608891
[ "Apache-2.0" ]
permissive
spiceghello/Spectral
c8ccd1e32d4b6a9132ccee20fcba44b477cd0331
20023aa3de27c22ab9f9b4a177f5a1efdec2b19f
refs/heads/master
1,611,263,374,078
1,523,349,717,000
1,523,349,717,000
92,312,239
0
0
null
1,495,642,470,000
1,495,642,470,000
null
UTF-8
Lean
false
false
40,576
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, Egbert Rijke -/ import hit.colimit .sequence cubical.squareover types.arrow types.equiv cubical.pathover2 open eq nat sigma sigma.ops quotient equiv pi is_t...
1cbff85c961fe47e8b1c5751b9c7028798260b35
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/fail/run_command.lean
1a0b01c7681ef2fbd8c24aa07095421f7590d212
[ "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
28
lean
run_cmd tactic.fail "Error"
cf8a5b95e2246e59ef07e771e41c6a626d88fcef
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/dfinsupp_auto.lean
e19fe3c23d0a0a5e7c4a7713dbfc86bfe202b6b1
[]
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,192
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.dfinsupp import Mathlib.linear_algebra.basic import Mathlib.PostPort universes u...
74766f234da06fbbbb08fcba601bf54a0b0a48c0
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Std.lean
c3ee40aa0b1d0cc4d68d9a42374bb024a686339c
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
222
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 Std.Data import Std.Control import Std.ShareCommon
2cb5984d2d517ef09376cf3505c5ebed6d0810ed
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love07_metaprogramming_demo.lean
7a8774beba390ba8964f8700543ea876d56f3a86
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,384
lean
import .love05_inductive_predicates_demo /- # LoVe Demo 7: Metaprogramming Users can extend Lean with custom monadic tactics and tools. This kind of programming—programming the prover—is called metaprogramming. Lean's metaprogramming framework uses mostly the same notions and syntax as Lean's input language itself....
c5e83eb344a1b595f8c4050d14c3b23a8e85b791
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/rules/pushFilterPastAgg.lean
fdcf45468cd1378ec31e2026eb84fd60da967433
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
1,058
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..meta.cosette_tactics open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int constant integer_10 : const int definition rule: forall (Γ scm_dept: Schema) (rel_dept: relation scm_dept) (dept_deptno : Column i...
ffb43750147f5846875f660e597c22f9547d819c
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/sheaves/presheaf_of_rings_extension.lean
a9fe479a0a0ae826ee7f6a749aba0dbaf8a2cd8c
[]
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
9,631
lean
/- Presheaf of rings extension. https://stacks.math.columbia.edu/tag/009N -/ import to_mathlib.opens import sheaves.covering.covering import sheaves.presheaf_of_rings import sheaves.presheaf_of_rings_on_basis import sheaves.stalk_of_rings_on_standard_basis universes u v w open topological_space open lattice ope...
bf4732f0cae13eae0464e85a944c228e652192c1
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/shapes/finite_products.lean
dc772ea2e7d8d390def3fa076fc2e1c0277b301c
[ "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
3,489
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.finite_limits import category_theory.limits.shapes.products import category_...
7ca22e812e94fb6ecfa9147734da18c0542c6c64
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/comma.lean
dd46f0df070df6d93333836b07a25e0c9952d604
[ "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
11,307
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 -/ import category_theory.isomorphism import category_theory.punit namespace category_theory universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; se...
c92cf4510eb7d5774d4fa72f6c78816d1215cd19
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/smt/interactive.lean
2b38ffb230721fbdc3397dc289b9e400b7b380c0
[ "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
9,841
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...
ddb11f6a011c0e91c939538d71c893d842bcc6d8
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/preserves/shapes/equalizers.lean
a499268a22f5d7ac3f0b040e7d03aa648987c736
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
7,355
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.split_coequalizer import category_theory.limits.preserves.basic /-! # Preserving (co)equalizers Constructions to relate the notions...
60cb8b18348e0ce0a537f8666c43e29a7af3c359
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/fintype/card.lean
72f300ed56a07c94bc5ca66fa3da8af4bb54a71f
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,201
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.fintype.basic import algebra.big_operators.ring /-! Results about "big operations" over a `fintype`, and consequent results about cardinalities of certai...
84f46f5a38709b1ddb75bd5c4d63a99c32888c92
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/rat/basic.lean
f666d4b2252c0c6c4f6c146f46d00e91fbe35274
[]
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
17,741
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.encodable.basic import Mathlib.algebra.euclidean_domain import M...
238e5eccf31cfc2c88ad82fca539477392a156dd
137c667471a40116a7afd7261f030b30180468c2
/src/set_theory/cardinal.lean
ab7d87bfefbfa5d11f5f59469f57a6a47a645e55
[ "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
52,258
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, Floris van Doorn -/ import data.set.countable import set_theory.schroeder_bernstein import data.fintype.card import data.nat.enat /-! # Cardinal Number...
176e2c90997b3ee9bde186006fdbb7131e3c47a9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/namespace_bug.lean
2209c4f480a7f4ffb070fa1175f1787afa3f8a1e
[ "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
69
lean
namespace playground namespace nat #check 2+3 end nat end playground
58429d44fffdd4463e5f4331ee7aaaca3592cf88
675b8263050a5d74b89ceab381ac81ce70535688
/src/ring_theory/algebraic.lean
23308db0bf921dcaf67432c23addf9e045c247f8
[ "Apache-2.0" ]
permissive
vozor/mathlib
5921f55235ff60c05f4a48a90d616ea167068adf
f7e728ad8a6ebf90291df2a4d2f9255a6576b529
refs/heads/master
1,675,607,702,231
1,609,023,279,000
1,609,023,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,450
lean
/- Copyright (c) 2019 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 ring_theory.integral_closure import data.polynomial.integral_normalization /-! # Algebraic elements and algebraic ex...
6eb0580404ccc411a945a0e8d696da6c864a808b
d31b9f832ff922a603f76cf32e0f3aa822640508
/src/hott/types/eq.lean
ba8ec10cce1a97714978bc8d597ef615324a7a70
[ "Apache-2.0" ]
permissive
javra/hott3
6e7a9e72a991a2fae32e5764982e521dca617b16
cd51f2ab2aa48c1246a188f9b525b30f76c3d651
refs/heads/master
1,585,819,679,148
1,531,232,382,000
1,536,682,965,000
154,294,022
0
0
Apache-2.0
1,540,284,376,000
1,540,284,375,000
null
UTF-8
Lean
false
false
21,319
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 Partially ported from Coq HoTT Theorems about path types (identity types) -/ import .sigma universes u v w hott_theory namespace hott open hott.eq hott.sigma hott...
3f81ccb6551133e7ffbc92829875efcd1faa3298
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Linter.lean
183ff4c584e0cffa45a79e2d15e80e400e5fb34c
[ "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
753
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.Attributes import Lean.Syntax import Lean.Message namespace Lean def Linter := Environment → Name → Syntax → IO MessageLog def mkLintersRef :...
6e064376cb41d9a98a08a7d49b9b51b750848a7e
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/macro_macro.lean
df866d79a8bac42103f8ee20ed84d4f35e16a595
[ "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
239
lean
new_frontend macro mk_m id:ident v:str n:num c:char : command => `(macro $id:ident : term => `(fun (x : String) => x ++ $v ++ toString $n ++ toString $c)) mk_m foo "bla" 10 'a' mk_m boo "hello" 3 'b' #check foo "world" #check boo "boo"
b16070cf7a621503332a61f1fcacd0987f5c5860
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/topology/continuity.lean
7cc7b0c270ed4a0b98097501b96d9a08e93d8c5e
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
20,230
lean
import .topological_space namespace hidden namespace topological_space variables {α β γ: Type} open classical local attribute [instance] classical.prop_decidable def is_continuous (X: topological_space α) (Y: topological_space β) (f: α → β): Prop := ∀ V : myset β, is_open Y V → is_open X (myset.inverse_image f V)...
0ec202ef3a1190b47985eb46e92b924c62dae065
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/src/Lean/Meta/Tactic/Injection.lean
f4c91a2b28649ab467b72d6f0cca7e2c2953fde8
[ "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
3,307
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.AppBuilder import Lean.Meta.Tactic.Clear import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Intro namespace Lean namespace Meta induc...
e24f45e7c133c9de3c51aed7538495f76ae50dc1
94e33a31faa76775069b071adea97e86e218a8ee
/archive/imo/imo1987_q1.lean
9dd606ffe31bb8d66a0f722b4afe63f0e4c8f8ad
[ "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
4,124
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 data.fintype.card import dynamics.fixed_points.basic /-! # Formalization of IMO 1987, Q1 Let $p_{n, k}$ be the number of permutations of a set of cardinali...
80778c2724d8cd8bd887a61d01901976e329f09a
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/analysis/calculus/local_extr.lean
4e5a9628d8b29686f275ba818068093bfee733d8
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
14,853
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.local_extr import analysis.calculus.deriv /-! # Local extrema of smooth functions ## Main definitions In a real normed space `E` we define `pos_t...
60af328663908c91e16beea32b2ffb65c1f4fd76
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/lie/universal_enveloping.lean
62f641d15016d7a5e58f782047515446a09253e8
[ "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,814
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.of_associative import algebra.ring_quot import linear_algebra.tensor_algebra /-! # Universal enveloping algebra Given a commutative ring `R` and a Lie ...
c4d41ad97e6aa0699b875e6416332ea72bd45b18
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/algebra/category/CommRing/pushout.lean
906ec981ebfb1c596879e724171d658b6cd4c39c
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,205
lean
/- Copyright (c) 2020 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.limits.shapes.pullbacks import ring_theory.tensor_product import algebra.category.CommRing.basic /-! # Explicit pushout cocone for CommRing In this...
24c1a1c7a7be4bcfa5cd64e4812bdf35531a062f
3446e92e64a5de7ed1f2109cfb024f83cd904c34
/src/game/world3/level8.lean
400bdca97e3afc85cd7ac7bdff12c9f511a9324f
[]
no_license
kckennylau/natural_number_game
019f4a5f419c9681e65234ecd124c564f9a0a246
ad8c0adaa725975be8a9f978c8494a39311029be
refs/heads/master
1,598,784,137,722
1,571,905,156,000
1,571,905,156,000
218,354,686
0
0
null
1,572,373,319,000
1,572,373,318,000
null
UTF-8
Lean
false
false
1,530
lean
import game.world3.level7 -- hide namespace mynat -- hide /- # Multiplication World ## Level 8: `mul_comm` Finally, the boss level of multiplication world. But (assuming you didn't cheat) you are well-prepared for it -- you have `zero_mul` and `mul_zero`, as well as `succ_mul` and `mul_succ`. After this level you ca...
1c45cae049ebc446c26b101bcb0c576ce34fb473
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/dfinsupp/order.lean
99b1df89079d92c018ed63ba73e848eb443b58f7
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
7,744
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 data.dfinsupp.basic /-! # Pointwise order on finitely supported dependent functions This file lifts order structures on the `α i` to `Π₀ i, α i`. ## Main declar...
84826fb393ea9165767a651c6c48130c9f245a5a
26ac254ecb57ffcb886ff709cf018390161a9225
/archive/sensitivity.lean
8932d5d8ca265b3e52aced5c261367b01aa1f38b
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
15,513
lean
/- Copyright (c) 2019 Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, and Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, and Patrick Massot -/ import tactic.f...
64a7bdf6f1c9653f07acf99933d9d949eab8b501
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/examples/categories/cartesian_product.lean
f8413a2757af255c77261f4ca44cdd24bb04f64b
[]
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
4,733
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 ...monoidal_categories.monoidal_category import ...discrete_category open tqft.categories open tqft.categories.functor open tqft.categories...
45e32c2619dcd64d2e6cf1d94f0a2332a2eec555
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/ring_invo.lean
124367886ee1f59809bd38da5c54fa96f1bf8b31
[ "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
2,053
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow, Kenny Lau -/ import data.equiv.ring import algebra.ring.opposite /-! # Ring involutions This file defines a ring involution as a structure extending `R ≃+* Rᵐᵒᵖ`,...
7f07552ad0d0ef33e678d3f2e5d5951997fe822c
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/num3.lean
d529cb3d0bccd3dda236ec7e76a807ef58c4087e
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
213
lean
-- set_option pp.notation false set_option pp.implicit true constant N : Type.{1} constant z : N constant o : N constant a : N notation 0 := z notation 1 := o #check a = 0 #check 2 = (1:num) #check (2:num) = 1
77cb33386801cbaf58d2374a8df7c743f83c2c68
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/complex/is_R_or_C.lean
0df2d3d605db759b1c5165825870e030d970250e
[ "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
31,577
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import data.real.sqrt import field_theory.tower import analysis.normed_space.finite_dimension /-! # `is_R_or_C`: a typeclass for ℝ or ℂ This file defines the type...
f977df7e5fa823ebfdee2c2c3a261476d086b184
80d0f8071ea62262937ab36f5887a61735adea09
/src/certigrad/mvn.lean
27a610791bc891d6bab7134b3306fc6e3889fa2c
[ "Apache-2.0" ]
permissive
wudcscheme/certigrad
94805fa6a61f993c69a824429a103c9613a65a48
c9a06e93f1ec58196d6d3b8563b29868d916727f
refs/heads/master
1,679,386,475,077
1,551,651,022,000
1,551,651,022,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,648
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Properties of the multivariate Gaussian distribution. -/ import .tfacts .tgrads namespace certigrad namespace T axiom is_integrable_mvn_of_sub_exp {shape₁ shape₂ : S} (μ...
2a52a25ef3ceddebe651fa6ebf259303045406b1
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/localized.lean
5fc903027c685047b4c5ffc30e3129d0bc7136f5
[ "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,344
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.core meta.rb_map /-! # Localized notation This consists of two user-commands which allow you to declare notation and commands localized to a name...
1407e330d8fa6c7547af9ffeaa7689eb88eac3b7
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/data/mv_polynomial.lean
e6596db52e5fac7b251e718e53e8517c59fd59ea
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,906
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro Multivariate Polynomial -/ import algebra.ring import data.finsupp data.polynomial data.equiv.algebra open set function finsupp lattice...
d4f18584ebd4691bd24b32925a229f5c65ad1204
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/algebra/category/constructions/functor.hlean
510d9cbd65500145097a80a3160871aca1ddecde
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
6,115
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jakob von Raumer Functor precategory and category -/ import ..nat_trans ..category open eq functor is_trunc nat_trans iso is_equiv namespace category definit...
61a42af18985a3d1e8cd4e3ccee58b56fb9b5a0b
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/number_theory/lucas_lehmer.lean
ea98bc19bdf0de7c441528212dbd23b203b9cfb6
[ "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,215
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Scott Morrison, Ainsley Pahljina -/ import tactic.ring_exp import tactic.interval_cases import data.nat.parity import data.zmod.basic import group_theory.order_of_eleme...
a8f491c51b9ea2b875dc612737e9aac5688d7ece
94e33a31faa76775069b071adea97e86e218a8ee
/src/combinatorics/simple_graph/clique.lean
d16e1a82bb09070a17a062727fc963bf5fb6532b
[ "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
9,013
lean
/- Copyright (c) 2022 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import combinatorics.simple_graph.basic import data.finset.pairwise /-! # Graph cliques This file defines cliques in simple graphs. A clique...
62fa1b979e80a4ff8e0200601684f03cb63877c1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/subobject/limits.lean
8e9f332322e92394a77b9d2f81f14471d19fb929
[ "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
13,701
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.lattice /-! # Specific subobjects We define `equalizer_subobject`, `kernel_subobject` and `image_subobject`, which ar...
5d4dd98d56947bd29eeab1e99e62264d0c137150
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/tools/super/datatypes.lean
3e95c8945ccd9f5be34a3ccd639656ad2279bc8f
[ "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
1,523
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open expr tactic monad namespace super meta def has_diff_constr_eq_l (c : clause) : tactic bool := do env ← get_env, return $ list.bo...
d3036efb0e5384daf8c592bd7065f9c8845f38fc
4727251e0cd73359b15b664c3170e5d754078599
/src/control/monad/basic.lean
28ba0a0117a64070fbf80c252bc12be44fe0a652
[ "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,722
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 logic.equiv.basic import tactic.basic /-! # Monad ## Attributes * ext * functor_norm * monad_norm ## Implementation Details Set of rewrite rules and automati...
09e6a0189324e4905a37877362297634bc4cc812
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/sum_over_divisors.lean
8eeaa43228b4f08a00f1829bc0b9839a3378b877
[ "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
894
lean
-- sums over sets import algebra.big_operators -- positive naturals import data.pnat namespace nat open list /-- returns the finset of divisors of a positive natural -/ definition factors (d : ℕ+) : list ℕ := filter (λ e, e ∣ d) (range (d+1)) #eval factors 6 -- [1, 2, 3, 6] lemma mem_factors_iff_divides (d : ...
f4442c0f168e7905b0e3e0abce66f58b2c8ac7e3
63abd62053d479eae5abf4951554e1064a4c45b4
/src/geometry/manifold/smooth_manifold_with_corners.lean
6c14200b27cd150fa8c87c200c87ab531a9571b4
[ "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
33,737
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.times_cont_diff import geometry.manifold.charted_space /-! # Smooth manifolds (possibly with boundary or corners) A smooth manifold i...
bbf5db0edd60e5705fb6286997a83576d9b783c9
6e41ee3ac9b96e8980a16295cc21f131e731884f
/library/algebra/category/basic.lean
17ea1e45dd094ac87f088e605d8c49eed54c8828
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,108
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.category.basic Author: Floris van Doorn -/ import logic.axioms.funext open eq eq.ops structure category [class] (ob : Type) : Type := (hom : ob → ob → Type) (comp : Π⦃...
c100ae4320d5dfe0c2fe83c760070392bcec9936
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/src/Lean/Elab/Do.lean
f01c5ae595c87d55680375589cfdbc62121e5951
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
66,457
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.Term import Lean.Elab.Binders import Lean.Elab.Match import Lean.Elab.Quotation.Util import Lean.Parser.Do namespace Lean.Elab.Term open L...
f1c28c6c25b99ebc52ba19a6c2d5265b55f7ddf7
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/ring_theory/ideal/over.lean
5f988755d900020e0fff741804b0b9d7b72fd21f
[ "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,482
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.algebraic import ring_theory.localization /-! # Ideals over/under ideals This file concerns ideals lying over other ideals. Let `f : R →+* S` be a rin...
091ed07ddeafb31557bf1a640d9a90e22758df40
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/uniform_space/compare_reals.lean
490e9e4b2412a4944e703dc78ea9a0b5a9a20723
[ "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
4,803
lean
/- Copyright (c) 2019 Patrick MAssot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import topology.uniform_space.absolute_value import topology.instances.real import topology.uniform_space.completion /-! # Comparison of Cauchy reals and Bourbaki re...
234f6aff1c732161bc9ffd3a1f126d3239f81417
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/aops/2005-IMO_Shortlist-A2.lean
022accd8242f7d22e5d694ce3eda782b8865fbcb
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
170
lean
import data.real.basic import data.real.nnreal theorem exo (f: nnreal -> nnreal): (forall x y, (f x) * (f y) = 2 * f (x + y*(f x))) -> forall x, f x = 2 := sorry
94ef70cb5bd8ffb52ed4e1d98562963a7fc3f421
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/topology/continuous_on.lean
216133ba3c5b99a5b116c0ad660d369bd4d25b98
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,292
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset This file defines relative versions * `nhds_within` of `nhds` * `co...
15b9f5d52c56c3d3ca59031cf424135dc39e6ced
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/push_neg.lean
a834bd6680a0ea234418184984541696aaf62552
[]
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,192
lean
/- Copyright (c) 2019 Patrick Massot All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Patrick Massot, Simon Hudon A tactic pushing negations into an expression -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.logic.basic import Mathlib.algebr...
4639f7873ca6781a81f9f623013bb55703848c35
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/mv_polynomial/basic.lean
9cf2c096dcbbafb94f85a7cae9872800d0100b74
[ "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
36,527
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import data.polynomial.eval /-! # Multivariate polynomials This file defines polynomial rings over a base ring (or even semiring), ...
0c563a042e4883964e6a6a25e49148661db104d5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/box_integral/basic.lean
b2017495c31715c74c4f25a3a2308e99e06c83b8
[ "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
43,271
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.partition.filter import analysis.box_integral.partition.measure import topology.uniform_space.compact_separated /-! # Integrals of Rie...
45d901055870acbf874e12756b3e154746fe817f
bf532e3e865883a676110e756f800e0ddeb465be
/tactic/converter/binders.lean
9c237218041126502efe1c35fb32e920c1dd5c69
[ "Apache-2.0" ]
permissive
aqjune/mathlib
da42a97d9e6670d2efaa7d2aa53ed3585dafc289
f7977ff5a6bcf7e5c54eec908364ceb40dafc795
refs/heads/master
1,631,213,225,595
1,521,089,840,000
1,521,089,840,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,898
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 Binder elimination -/ import order tactic.converter.old_conv namespace old_conv open tactic monad meta instance : monad_fail old_conv := { fail := λ α s, (λr e, tacti...
cd6660cf4c6ddd8f756ab346a66af5eba4999d99
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/logic/classes/decidable.lean
07173400599d4a36368c5afe1a519b9c1318f4e3
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,084
lean
---------------------------------------------------------------------------------------------------- -- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Leonardo de Moura -----------------------------------------------------...
cf1981bc182cf29d8d0d26333f2f1700bc6c047c
750acab0c635b67751bcfec43c5411aa3941c441
/exercises.lean
8787350a7d92b6cc05c41d89b0998384937369e8
[]
no_license
nthomas103/lean_work
912f8e662cdd73ba97f5d3655ddb8a5d2cd204c9
7e9785cae2b60a77b41922fd5d5b159a1fae415c
refs/heads/master
1,586,739,169,355
1,455,759,226,000
1,455,759,226,000
50,978,095
0
0
null
null
null
null
UTF-8
Lean
false
false
1,065
lean
import standard open set section proof_practice --(many of these courtesy of Dan) variables {P Q R : Prop} example : P → P := sorry example : P → (P → Q) → Q := sorry example : P → P ∨ Q := sorry example : P → (P → Q) → (Q → R) → R := sorry example : P → (P → Q → R) → Q → R := sorry example : ((P → Q) → R) ...
d63269ef9cd9f67fed82ce6900a4c35fcf7944a2
ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb
/ijcar16/examples/cc14.lean
632e24cb052b8191eb757e8c84e318f0c7aa6900
[ "MIT" ]
permissive
leanprover/leanprover.github.io
cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a
071a20d2e059a2c3733e004c681d3949cac3c07a
refs/heads/master
1,692,621,047,417
1,691,396,994,000
1,691,396,994,000
19,366,263
18
27
MIT
1,693,989,071,000
1,399,006,345,000
Lean
UTF-8
Lean
false
false
638
lean
/- Example/test file for the congruence closure procedure described in the paper: "Congruence Closure for Intensional Type Theory" Daniel Selsam and Leonardo de Moura The tactic `by blast` has been configured in this file to use just the congruence closure procedure using the command set_option blast.strategy...
6c11ea1a2e8ab7895698da1990ed0e0e4fc1cea8
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/Semigroup.lean
d338858dea116f2108cfa5a4aadc9b7af4d3776e
[]
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
5,718
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 Semigroup structure Semigroup (A : Type) : Type := (op : (A → (A → A))) (associative_op : (∀ {x y z : A} , (op (op x y) z) = (op x (op y z)))) open Semigr...
73da21273fd8c9b54b190c1df46acf7dc2007f85
6094e25ea0b7699e642463b48e51b2ead6ddc23f
/library/theories/group_theory/subgroup.lean
553a8a41821c460780aaa2aa32a489809260e14f
[ "Apache-2.0" ]
permissive
gbaz/lean
a7835c4e3006fbbb079e8f8ffe18aacc45adebfb
a501c308be3acaa50a2c0610ce2e0d71becf8032
refs/heads/master
1,611,198,791,433
1,451,339,111,000
1,451,339,111,000
48,713,797
0
0
null
1,451,338,939,000
1,451,338,939,000
null
UTF-8
Lean
false
false
16,962
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import data algebra.group data open function eq.ops open set namespace coset -- semigroup coset definition section variable {A : Type} variable [s : semigroup A] inclu...
ecacf5c9124b69a2c14a408521af9198ef44023d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/algebra/order/extend_from.lean
29a052da4e0ebbf4d453412d57b0dab3c5245e01
[ "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
3,130
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import topology.algebra.order.basic import topology.extend_from /-! # Lemmas about `extend_from` in an order topology. -/ open filt...
09fcc8c29d8b6caeed4a00d839e51f04213ba4ae
fa01e273a2a9f22530e6adb1ed7d4f54bb15c8d7
/src/N2O/Data/Put.lean
b18638e548669b2f94af6d0fd619be003e555c01
[ "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
2,317
lean
import N2O.Data.Bytes import N2O.Data.Sum def PutM (α : Type) := α × ByteArray namespace PutM def HasMap {α β : Type} (f : α → β) : PutM α → PutM β | (a, w) => (f a, w) instance : Functor PutM := { map := HasMap } def pure {α : Type} (x : α) : PutM α := (x, ByteArray.empty) def HasSeq {α β : Type} (a ...
d35fd41817bd076ded2b9c0d2995aa4d08781f9c
a19a4fce1e5677f4d20cbfdf60c04b6386ab8210
/library/init/wf_k.lean
03dde4d751bb77f1002757a8e014be71179c36af
[ "Apache-2.0" ]
permissive
nthomas103/lean
9c341a316e7d9faa00546462f90a8aa402e17eac
04eaf184a92606a56e54d0d6c8d59437557263fc
refs/heads/master
1,586,061,106,806
1,454,640,115,000
1,454,641,279,000
51,127,143
0
0
null
1,454,648,683,000
1,454,648,683,000
null
UTF-8
Lean
false
false
750
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Leonardo de Moura prelude import init.nat namespace well_founded -- This is an auxiliary definition that useful for generating a new "proof" for (well_founded R) -- th...
3faef523ca008e7af2b596fe5383a0082a4c8846
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/exam_2/satisfiability/satisfiability.lean
7fb9bc9c3d4f8d0c317066434e8e735ce4593a48
[]
no_license
jngo13/Discrete-Mathematics
8671540ef2da7c75915d32332dd20c02f001474e
bf674a866e61f60e6e6d128df85fa73819091787
refs/heads/master
1,675,615,657,924
1,609,142,011,000
1,609,142,011,000
267,190,341
0
0
null
null
null
null
UTF-8
Lean
false
false
12,105
lean
import .propositional_logic_syntax_and_semantics import .rules_of_reasoning /- Here we implement a propositional logic validity checker as a function, is_valid: pExp → bool. This main routine is defined at the bottom of this file. As is good practice in the design of software and of logical specifications and proof...
e1d211fb3ebb9b02fdfb587c4ea9cb8ec35384ea
82e44445c70db0f03e30d7be725775f122d72f3e
/src/number_theory/sum_four_squares.lean
8d81dc664388e6510f62701752e5ff6589e07fc8
[ "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
11,788
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 algebra.group_power.identities import data.zmod.basic import field_theory.finite.basic import data.int.parity import data.fintype.card /-! # Lagrange's four squa...
89bc374dea072c3dec10ac348f0e3ea883f30eb3
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/test/omega.lean
10731ba0090939863c8a728ef2a84e75b9f641b9
[ "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
3,203
lean
/- Test cases for omega. Most of the examples are from John Harrison's Handbook of Practical Logic and Automated Reasoning. -/ import data.fintype import tactic.omega example (n : ℤ) : n - 1 ≠ n := by omega example (x : int) : (x = 5 ∨ x = 7) → 2 < x := by omega example (x : int) : x ≤ -x → x ≤ 0 := by omega example ...
37b41fd4af5c144d858fe76f7260f4c59cb58527
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/seq/computation.lean
cf6fd1ffedada5a74a5e3b503c9615dc2cd8ca0d
[ "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
37,516
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Coinductive formalization of unbounded computations. -/ import data.stream logic.relator tactic.basic universes u v w /- coinductive computation (α : Type u) : T...
b859b1f17eccf505ca415ba2bd720d7d1bdd405c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sheaves/limits.lean
90cbca28a2112fc7be68029fbec331f7f1ccecfd
[ "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,749
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.sheaves.sheaf import category_theory.sites.limits import category_theory.limits.functor_category /-! # Presheaves in `C` have limits and colimits whe...