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
427337e8e320f9814a5a900e078339cd0ecf905a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/function/lp_space.lean
8192c83bd44253b15338938e514c736d098f6e03
[ "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
74,066
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import analysis.normed.group.hom import measure_theory.function.lp_seminorm import topology.continuous_function.compact /-! # Lp space > THIS FILE IS...
feffafc772c4fe65eee3ad608909edd9f6680a3f
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/category_theory/equivalence.lean
2a613441008c2b2d5c3fa89259ee43ff14cccf9b
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,539
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 tactic.slice /-! # Equivalence of categ...
790ba26b53c0a0cc211350d4e6dbc816814ec49c
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/topology/metric_space/gluing.lean
30b5b1d7e2ba28adc1d5f0082a658fb88c4aed34
[ "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
23,863
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Gluing metric spaces Authors: Sébastien Gouëzel -/ import topology.metric_space.isometry import topology.metric_space.premetric_space /-! # Metric space gluing Gluing two metric spaces alo...
5e37dcfd2b33887b06654bc65e1f8d965c403513
bb31430994044506fa42fd667e2d556327e18dfe
/src/logic/basic.lean
bd88f41f2a834902c59a5e6bca07ee52b224c8ee
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
68,717
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import tactic.doc_commands import tactic.reserved_notation /-! # Basic logic properties > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to...
55cb1f574d320b2dace4163eabd0c18e6e74f263
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/analysis/normed_space/operator_norm.lean
51a24161f12013d6c3bd57cf2bb76ec4f0f42ae6
[ "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
10,671
lean
/- Copyright (c) 2019 Jan-David Salchow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo Operator norm on the space of continuous linear maps Define the operator norm on the space of continuous linear maps between normed s...
13769cb5aa490f7c9fb0bc3f6dfde760f36ae27c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Init/Coe.lean
3689d5a24850cebc70ff00170083a0754c6b014d
[ "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
11,932
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, Mario Carneiro -/ prelude import Init.Prelude set_option linter.missingDocs true -- keep it documented /-! # Coercion Lean uses a somewhat elaborate system ...
f0be1410ca2f942f9b0315e62e1fd0c24821cdff
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/inequality/02.lean
02458a4c7fd2513354c4002e24c545bbd901b44d
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
66
lean
lemma le_refl (x : mynat) : x ≤ x := begin use 0, ring, end
f9fb3edac41d4eeb148d18bd4c42a0fdda353dda
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/model_theory/finitely_generated.lean
2eee09bdd08a29bdcfa0a59588f266aba4a46bfc
[ "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
9,441
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.substructures /-! # Finitely Generated First-Order Structures > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a co...
833af7e0a4a87efe4b05418d0782584353c1e820
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/small.lean
20639dc5bfedded872c1df0fa62d934416a612a5
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
754
lean
/- Categories which are small relative to a cardinal κ. κ-filtered categories. Normally we care about these concepts for categories which are used to index (co)limits, so we work with small_categories. -/ import category_theory.category import category_theory.functor import category_theory.limits.shape -- for...
c483491172c02c88b3a5283f99bcf741ac73b514
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/analysis/special_functions/integrals.lean
caa061c3cde04a147c6432ac2a9d118c63340854
[ "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
8,978
lean
/- Copyright (c) 2021 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson -/ import measure_theory.interval_integral /-! # Integration of specific interval integrals This file contains proofs of the integrals of various simple function...
28d05f13006d64cde5e69e4e5fcdf450b6dbc955
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/linear_algebra/matrix/transvection.lean
257fefad9b4d0972fd1c49dccbd1ad988fa9c7a9
[ "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
33,163
lean
/- Copyright (c) 2021 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 linear_algebra.matrix.determinant import linear_algebra.matrix.trace import linear_algebra.matrix.reindex import tactic.field_simp import data.matrix.bas...
facd04c0d63d076e86e0109dbc94f7cc89f9abd5
26ac254ecb57ffcb886ff709cf018390161a9225
/src/control/functor/multivariate.lean
0cc94dbebda24eb93a6553f40446de9092195706
[ "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
7,629
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Mario Carneiro, Simon Hudon -/ import data.fin2 import data.typevec import logic.function.basic import tactic.basic /-! Functors between the category of tuples of types,...
a1baaf772f1145707914baa1139ac6108be130d3
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Data/List/Control.lean
78a499d9b749f67ab2a992b94baa3f55365cec20
[ "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
5,636
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Control.Monad import Init.Control.Alternative import Init.Data.List.Basic namespace List universes u v w u₁ u₂ /- Remark: we can define...
1439d95b937a40d4a9e2c43939ff0b005f27f735
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/variables_typestar.lean
8153a194897ae0802c897e3b9618b0605a1e1869
[ "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
23
lean
variables (A B : Type*)
d658b6f72f69872cf92e50c7385712815769d11f
9cba98daa30c0804090f963f9024147a50292fa0
/old/src/classical_lumens.lean
3ce3b7ac1ee18e364d78b6b5ca7936daa6296ed3
[]
no_license
kevinsullivan/phys
dcb192f7b3033797541b980f0b4a7e75d84cea1a
ebc2df3779d3605ff7a9b47eeda25c2a551e011f
refs/heads/master
1,637,490,575,500
1,629,899,064,000
1,629,899,064,000
168,012,884
0
3
null
1,629,644,436,000
1,548,699,832,000
Lean
UTF-8
Lean
false
false
1,769
lean
import .....math.affine.affine_coordinate_framed_space_lib import .....math.affine.affine_coordinate_transform import ..metrology.dimensions import ..metrology.measurement import data.real.basic noncomputable theory --open real_lib open measurementSystem open aff_fr open aff_lib open aff_trans /- add in a frame here...
fe0c2605e41ff72594d0957b536abaf9aa6f415c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/category/CompHaus/basic.lean
44100f91149c3c54b45f06a383fd8fb30529a426
[ "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,615
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz, Bhavik Mehta -/ import category_theory.adjunction.reflective import topology.stone_cech import category_theory.monad.limits import topology.urysohns_lemma import topology.cate...
e6537a2bf1ee7a05185c862e731e9d686a0b54b7
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/adjunction/basic.lean
af4a1777aed1142ad2af331db3a1a580b6c8d5d4
[ "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
18,155
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin, Bhavik Mehta -/ import category_theory.equivalence import data.equiv.basic namespace category_theory open category -- declare the `v`'s first; see `category...
00d4663dd0c15bb6f2cb45d42f0be4eef878d7da
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed_space/banach_steinhaus.lean
560c7f692aca9da41ba2c345e8d579f169ae8e7c
[ "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
6,362
lean
/- Copyright (c) 2021 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import analysis.normed_space.operator_norm import topology.metric_space.baire import topology.algebra.module.basic /-! # The Banach-Steinhaus theorem: Uniform Boundedne...
6ec0555b0106522390a9360a57050fa7912a9d24
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/defs.lean
bd36bcb805b006f108ba7067e3671fbc94bb28c0
[ "MIT" ]
permissive
minchaowu/ModalTab
2150392108dfdcaffc620ff280a8b55fe13c187f
9bb0bf17faf0554d907ef7bdd639648742889178
refs/heads/master
1,626,266,863,244
1,592,056,874,000
1,592,056,874,000
153,314,364
12
1
null
null
null
null
UTF-8
Lean
false
false
12,591
lean
/- Copyright (c) 2018-2019 Minchao Wu. All rights reserved. Released under MIT license as described in the file LICENSE. Author: Minchao Wu -/ import data.list open nat tactic subtype inductive nnf : Type | var (n : nat) | neg (n : nat) | and (φ ψ : nnf) | or (φ ψ : nnf) | box (φ : nn...
7cad408c4e8362fe4f253674200c794aca0be517
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/complex/abs_max.lean
d99498d5098f4f6ecae23138bd9555b5a3890682
[ "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
22,743
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.complex.cauchy_integral import analysis.normed_space.completion import analysis.normed_space.extr import topology.algebra.order.extr_closure ...
64afe314a0e2db5cd93ac899212ebfed43704e95
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Init/Data/List/Basic.lean
1e0c40708fa3d0c3bcf3c3eae13b3b992eb75f21
[ "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
14,811
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.SimpLemmas import Init.Data.Nat.Basic open Decidable List universe u v w variable {α : Type u} {β : Type v} {γ : Type w} namespace Lis...
133b72e4a4a9af8e05a2b991818b3b3608e597a5
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/types/nat/order.hlean
0d33b8934693d0256b498a5c03e322a32d1ec865
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
18,648
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, Leonardo de Moura, Jeremy Avigad The order relation on the natural numbers. -/ import .basic algebra.ordered_ring open eq eq.ops algebra algebra namespace nat /-...
195cee7c1df4f351bb261b1c4db0c551a50e45b1
43390109ab88557e6090f3245c47479c123ee500
/src/M1P2/sheet_9.lean
41f008586e3b2a6531114e042e78ba497c0ff1d6
[ "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
1,861
lean
import algebra.euclidean_domain data.set data.complex.basic data.int.modeq variables {R : Type*} [euclidean_domain R] variables a b : ℤ def gaussian_ints : ℂ := ⟨a,b⟩ --def gaussian_ints_val : → ℕ := a^2 + b^2 --def valuation : def poly_coeff_rat := list rat -- could also use finsupp def ints_adj_sqrt (n : ℤ) := ...
4ecec8edc7b6171abf0e6a89ed1b5d489b541cdb
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/continued_fractions/convergents_equiv.lean
e1ac8e348006f988514fd94774ce79e0c7630ce4
[ "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
20,538
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.continuants_recurrence import algebra.continued_fractions.terminated_stable import tactic.linarith import tactic.field_simp /-...
0cb072af156b836168068fecd1bb0057eec58321
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/termParserAttr.lean
aa63738d01fa6a3d0b20d94cb01b32091270b4ea
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,095
lean
import Lean open Lean open Lean.Elab def runCore (input : String) (failIff : Bool := true) : CoreM Unit := do let env ← getEnv; let opts ← getOptions; let (env, messages) ← process input env opts; messages.toList.forM fun msg => do IO.println (← msg.toString) if failIff && messages.hasErrors then throwError "errors ...
76273b3e87ce32e6b0340e67d9e99b0e8c6d3ac3
9028d228ac200bbefe3a711342514dd4e4458bff
/src/topology/metric_space/isometry.lean
1a016be9e4b6c82b0173c113e4780493a411bbe5
[ "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
16,690
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...
9974b8ce6865ac025c583c3e35f565566b2a6b8d
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/ReducibilityAttrs.lean
a0804bb1b54b5d229fe19cc2a583a7ce6bcab6cb
[ "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
1,495
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Attributes namespace Lean inductive ReducibilityStatus | reducible | semireducible | irreducible instance ReducibilityStatus.inhabited : Inha...
b144885f63ab28e7834a8c004fa0c98b2addc493
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/topology/uniform_space/cauchy.lean
78fb5c12227ee2b05288ca979261b05b35690759
[ "Apache-2.0" ]
permissive
OHIHIYA20/mathlib
023a6df35355b5b6eb931c404f7dd7535dccfa89
1ec0a1f49db97d45e8666a3bf33217ff79ca1d87
refs/heads/master
1,587,964,529,965
1,551,819,319,000
1,551,819,319,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,173
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 Theory of Cauchy filters in uniform spaces. Complete uniform spaces. Totally bounded subsets. -/ import topology.uniform_space.basic open filter topol...
89ff27750e3d5c30a17c0a8bf6dc8d15103a0d30
379500fc55253ad8be47265634a6014d01a4782d
/src/solutions/friday/manifolds.lean
0272c96d9949fd643e20fbaa1fc50d47eef99de5
[]
no_license
dgvirtz/lftcm2020
b0a2db6ebfd9f14e04b1931116afc77b277b5c2a
3d84c76608cb41d4b59b985e8be2df7d8cd0cb10
refs/heads/master
1,668,684,436,232
1,594,989,081,000
1,594,989,081,000
280,418,622
0
0
null
1,594,988,947,000
1,594,988,946,000
null
UTF-8
Lean
false
false
41,766
lean
import for_mathlib.manifolds noncomputable theory open_locale manifold classical big_operators open set universe u /-! ## Reminder on updating the exercises These instructions are now available at: https://leanprover-community.github.io/lftcm2020/exercises.html To get a new copy of the exercises, run the followi...
3d28a29aa6ce92915065be7d7bfe7d6cb0b90166
4fa161becb8ce7378a709f5992a594764699e268
/src/ring_theory/coprime.lean
47b4ddbef39928dfe2db42478add2b9f3095a9ac
[ "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
7,576
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Ken Lee, Chris Hughes -/ import algebra.big_operators import data.fintype.basic import data.int.gcd import data.set.disjointed /-! # Coprime elements of a ring ## Main definit...
97b6a0c108079b01ae9e205cf8bb6abeb84959d4
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/general_recursion.lean
ca29ed91a7ddfe036c67bbfd1d533dae3b3bab2c
[ "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
10,708
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.norm_num import tactic.linarith import tactic.omega import control.lawful_fix import order.category.omega_complete_partial_order import data.nat.basic unive...
600856b55a6c05552babe33140468a36103e166c
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/macro_macro.lean
0d2758242c76aa62a295c86822407cf9ba1d8ea4
[ "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
313
lean
macro "mk_m " id:ident v:str n:num c:char : command => let tk : Lean.Syntax := Lean.Syntax.mkStrLit id.getId.toString `(macro $tk:strLit : term => `(fun (x : String) => x ++ $v ++ toString $n ++ toString $c)) #print " ---- " mk_m foo "bla" 10 'a' mk_m boo "hello" 3 'b' #check foo "world" #check boo "boo"
53792219e5bbb31a0b41bf7fb199fca4c88c0d0e
ebbdcbd7ddc89a9ef7c3b397b301d5f5272a918f
/qp/p0_stdlib/c4_algebra.lean
c75018e9ad0d3c83dc025cdb9390d539856e2897
[]
no_license
intoverflow/qvr
34b9ef23604738381ca20b7d622fd0399d88f2dd
0cfcd33fe4bf8d93851a00cec5bfd21e77105d74
refs/heads/master
1,616,591,570,371
1,492,575,772,000
1,492,575,772,000
80,061,627
0
0
null
null
null
null
UTF-8
Lean
false
false
6,727
lean
/- ----------------------------------------------------------------------- Facts about algebraic structures. ----------------------------------------------------------------------- -/ namespace qp namespace stdaux universe variables ℓ₁ ℓ₂ ℓ₃ /-! #brief A semigroup homomorphism. -/ structure semigroup.hom {A : Ty...
a8ebf2a35ceb8ff1a5b1cf7715b7eba787726770
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/nat/choose/central.lean
36fa04c9d5c6e5793108bc893b70bea154ba549c
[ "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,185
lean
/- Copyright (c) 2021 Patrick Stevens. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Stevens, Thomas Browning -/ import data.nat.choose.basic import tactic.norm_num import tactic.linarith /-! # Central binomial coefficients This file proves properties of th...
3eff549a15ed9bc9a23a4d48e932cae8b43bb1cc
bb31430994044506fa42fd667e2d556327e18dfe
/src/order/game_add.lean
f7207da171cae7f38e783f0caec316b52107010b
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
2,992
lean
/- Copyright (c) 2022 Junyan Xu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Junyan Xu -/ import order.basic import logic.relation /-! # Game addition relation > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to math...
ee33ea8071a47bf5e6c73118e7d6ec40a8756f92
618003631150032a5676f229d13a079ac875ff77
/src/data/list/min_max.lean
eac15f81078f2d9a036a7b963133c8b6659c55b3
[ "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
11,225
lean
/- Copyright (c) 2019 Minchao Wu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Minchao Wu, Chris Hughes -/ import data.list.basic /- # Minimum and maximum of lists ## Main definitions The main definitions are `argmax`, `argmin`, `minimum` and `maximum` for lists. ...
bac124f2a8b0b7b218f7f068d9eb36d2153aa280
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/graded_algebra/basic.lean
cb47f95c02b29f7c05ae79247ac5a8fd06d26ecb
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
9,154
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Kevin Buzzard, Jujian Zhang -/ import algebra.direct_sum.algebra import algebra.direct_sum.internal import algebra.direct_sum.ring import group_theory.subgroup.basic /-! # I...
271b36753e962af154c61e8a6f7af0fd750e4c82
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/functor/inv_isos.lean
0dc3e4d9e6f97efdee085426a6b66827b2d2b461
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,898
lean
/- Copyright (c) 2022 Antoine Labelle. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Labelle -/ import category_theory.eq_to_hom /-! # Natural isomorphisms with composition with inverses > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file ...
5bb7ce20ebe362669a24355f15cc6992c082fe0b
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/addition1.lean
a816e7349b6bc64bbf907125adc35f720bb3510b
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
7,319
lean
local attribute [instance] decidable_inhabited prop_decidable inductive xnat | zero : xnat | succ : xnat → xnat open xnat definition one := succ zero definition two := succ one definition add :xnat → xnat → xnat | n zero := n | n (succ p) := succ (add n p) notation a + b := add a b theorem one_add_one_equals_two : one...
0908190cc2bfccae2865b211181b99fcc3c4f155
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/injection_tactic.lean
dde152855d408e90327a1e3ad0eff036aa216692
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
4,752
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, Jannis Limperg -/ prelude import init.meta.tactic namespace tactic open expr /- Given a local constant `H : C x₁ ... xₙ = D y₁ ... yₘ`, where `C` and `D` a...
962a9dcc6e654ea51ea574049c942665ab3a2c51
0179bcdbf094a112437450a02dc2bdc8b2f921d4
/folklore/real_axiom.lean
a7edcd473860052ab032f042e6f73f0e18875620
[ "CC-BY-4.0" ]
permissive
haselwarter/formalabstracts
cf0c129fc086526cef1bd65d95c6f95a9a7ec5c8
eab6d94850308df9f09d23f3a9a2f7b5ac5c6c7a
refs/heads/master
1,609,515,992,248
1,500,418,815,000
1,500,418,815,000
97,696,544
0
0
null
1,500,455,350,000
1,500,455,350,000
null
UTF-8
Lean
false
false
3,207
lean
/- axiomatic development of the complete ordered field of real numbers in classical logic. At some point this should be replaced with an actual construction. T.Hales, July 15, 2017 -/ import meta_data import data.list data.vector noncomputable theory namespace real_axiom open classical nat int list vector univer...
e1dae15a093775cc641ae8acbd6af4472e8be192
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/liminf_limsup.lean
8e2573f101b5a34ed2c4579b059f8435f0a257b9
[ "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
23,892
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, Rémy Degenne -/ import order.filter.partial import order.filter.at_top_bot /-! # liminfs and limsups of functions and filters Defines the Liminf...
a74d9d856831cf3c8dd5beb7484a8aa5c83f6c5c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/test/instance_diamonds.lean
9e0db87bd64862d4cbec7f3970ef2a14b8b88a90
[ "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
8,493
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.module.pi import data.polynomial.basic import group_theory.group_action.prod import group_theory.group_action.units import data.complex.module import ring_t...
54cfc9ba97c582d113e9b117ebd40173d51a7ab9
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/data/unit.lean
de2d0132fc9f207f08e8b13253a624824a85ffd8
[ "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
480
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 lemma unit_eq (a b : unit) : a = b := unit.rec_on a (unit.rec_on b rfl) lemma unit_eq_unit (a : unit) : a = () := unit_eq a () i...
9a80afd459faa45f6856592d6ce260dfecd066f2
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/complex/abs_max.lean
c00c4fa95b66bd02718375f1f8bb04ca3645caf0
[ "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
12,540
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.complex.cauchy_integral import analysis.convex.integral import analysis.normed_space.completion import topology.algebra.order.extr_closure /-...
1579e2c2925ca4756fa658cd3d31ac3f579ee96c
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/measure_theory/set_integral.lean
938fde42e3f5d74e8ede65183365a3a34551aa8f
[ "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
35,408
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.bochner_integration import analysis.normed_space.indicator_function /-! # Set integral In this file we prove some properties of...
bd5c837ef2f5adcb6ba61ad8700730e69855afb3
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed_space/multilinear.lean
d8c2513325806ead9380bb5e4a8bc15e8bc2f989
[ "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
72,380
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.operator_norm import topology.algebra.module.multilinear /-! # Operator norm on the space of continuous multilinear maps When `f`...
21e74ddbf0a053136864653af66df23fb6950f1b
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/tactic_paper_supplemental_material/monoid_cancellation/simp.lean
37d8b48b487e8fab60717ea5e557919f2ab743e5
[ "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
244
lean
import .monoid local infix * := star attribute [simp] star_comm star_assoc one_star @[simp] lemma star_left_comm : ∀ a b c, a * (b * c) = b * (a * c) := left_comm star star_comm star_assoc @[simp] lemma star_one (a) : a * o = a := by simp
6098e2958c73cfbc46afc7d4fabf81a78cec9e2c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/subtype/default.lean
196786d79de8d7c2873dec17ab852bca9f0fd77d
[]
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
323
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, Jeremy Avigad -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.subtype.basic import Mathlib.Lean3Lib.init.data.subtype.instances namespace Mathli...
f46b8303dfc1535d21b5d2c9f912bcf1775976d3
4f065978c49388d188224610d9984673079f7d91
/sheaf_fundamental.lean
92d36f3695cace035f3b02151a0ed0450fd1fd41
[]
no_license
kckennylau/Lean
b323103f52706304907adcfaee6f5cb8095d4a33
907d0a4d2bd8f23785abd6142ad53d308c54fdcb
refs/heads/master
1,624,623,720,653
1,563,901,820,000
1,563,901,820,000
109,506,702
3
1
null
null
null
null
UTF-8
Lean
false
false
18,027
lean
import topology.opens universes v u open topological_space lattice variables (X : Type u) [topological_space X] set_option old_structure_cmd true structure presheaf : Type (max u (v+1)) := (F : ∀ U : opens X, Type v) (res : Π U V : opens X, V ≤ U → F U → F V) (res_self : ∀ U x, res U U (le_refl U) x = x) (res_res :...
07e737f27beab1de3eeec103423cd5d29c497c3c
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/sum.lean
46920ee8337bc8a2e09365f11bf38671c3447c8b
[ "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
5,610
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury G. Kudryashov -/ import tactic.lint /-! # More theorems about the sum type -/ universes u v w x variables {α : Type u} {α' : Type w} {β : Type v} {β' : Type x} o...
b7b15491474accb751039ce0a37eec88ebd6c90b
2c41ae31b2b771ad5646ad880201393f5269a7f0
/Lean/Qualities/Dependable.lean
79af3e140bda8bc5c58b3902a6952b6e42f0bc3e
[]
no_license
kevinsullivan/Boehm
926f25bc6f1a8b6bd47d333d936fdfc278228312
55208395bff20d48a598b7fa33a4d55a2447a9cf
refs/heads/master
1,586,127,134,302
1,488,252,326,000
1,488,252,326,000
32,836,930
0
0
null
null
null
null
UTF-8
Lean
false
false
782
lean
import SystemModel.System import Qualities.Secure import Qualities.Safe import Qualities.Reliable import Qualities.Maintainable import Qualities.Available import Qualities.Survivable import Qualities.Robust /- Dependable -/ /- [Dependable] is a composite attribute of [Security], [Safety], [Reliability], ......
858e5d80a0a6b44676f8c87eb13735b72db74107
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/stream.lean
4638c89b053aad43012ff982bf4970488854b3a6
[ "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
22,532
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import data.nat data.list data.equiv open nat function option definition stream (A : Type) := nat → A namespace stream variables {A B C : Type} definition...
6a060d00ef25183ec24cf842d6dd06844a8e84a8
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/number_theory/bernoulli.lean
c9be0f82df9792e0e88f700329f494d5ec56ca7b
[ "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,968
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kevin Buzzard -/ import data.rat import data.fintype.card import algebra.big_operators.nat_antidiagonal import ring_theory.power_series.well_known /-! # Bernoulli numb...
1bf801d853ad44dd33512f175325d15e286b1192
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/714.lean
51d035b5d0e38b4752e63276c90fc5cc612c10e0
[ "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
53
lean
def test {α : Type} [LT α] := List α #check test
e6cf2d2f238c81c88d267568a20fd54d26839116
618003631150032a5676f229d13a079ac875ff77
/src/data/sum.lean
4d55582b13240cd5ddfa5c5cb0366afc8b85f2d0
[ "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
5,064
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury G. Kudryashov -/ import tactic.lint /-! # More theorems about the sum type -/ universes u v w x variables {α : Type u} {α' : Type w} {β : Type v} {β' : Type x} o...
ed46a12cae7cac919029e6f582266077aa4f9689
1dd482be3f611941db7801003235dc84147ec60a
/src/topology/bounded_continuous_function.lean
ee27818811b9a9e5bac6da82522fbd034acfff44
[ "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
23,576
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, Mario Carneiro Type of bounded continuous functions taking values in a metric space, with the uniform distance. -/ import analysis.normed_space.basic data.real...
6e1c512ac3010c68a942d0430056c086eb61240d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/list/lemmas.lean
0c3feaba9a113e5ad094e4b597610a4f85acfd48
[]
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
9,875
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.list.basic import Mathlib.Lean3Lib.init.function impor...
15e5c71436107092d975d9832aab7b95986fe0d7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/pureCoeIssue.lean
8d6908c32ed509a7826754708b2b3eaf5472c5da
[ "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
240
lean
def f1 (x : Nat) : IO Unit := do IO.println x return () def g1 : IO Unit := do f1 -- Error pure () def f2 (x : Nat) (y : Nat) : IO Unit := do IO.println s!"{x} {y}" return () def g2 : IO Unit := do f2 10 -- Error pure ()
773dcfe2cd56136a2390acefaf5d3178e96f83bc
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/data/finset.lean
0d8bdc7c7a7a818ccad0967aae75fd6bd0bb73dc
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
59,209
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro Finite sets. -/ import logic.embedding order.boolean_algebra algebra.order_functions data.multiset data.sigma.basi...
261b296e8697f9292e3b1a21bb1459830fb9a617
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/doc/examples/NFM2022/nfm19.lean
2246d4363250b75d91fc32362ba9a8bd8b279843
[ "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
313
lean
/- Tactic combinators -/ example : p → q → r → p ∧ ((p ∧ q) ∧ r) ∧ (q ∧ r ∧ p) := by intros repeat (any_goals constructor) all_goals assumption example : p → q → r → p ∧ ((p ∧ q) ∧ r) ∧ (q ∧ r ∧ p) := by intros repeat (any_goals (first | assumption | constructor))
87795fde8788f5dd069302f9eb7b15ffc4b78570
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.2.lean
896c2e2ad9a54a91f0f0ef6f56ffc28b0b06bdea
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
168
lean
import standard -- BEGIN theorem test (p q : Prop) (Hp : p) (Hq : q) : p ∧ q ∧ p := begin apply and.intro, exact Hp, apply and.intro, exact Hq, exact Hp end -- END
a056db40abcd2402c4bc467f31a92369ecaa1365
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Elab/Tactic/Induction.lean
fabe1f136e439ebd1cd6e7af4104eda3e06463e0
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,275
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Meta.RecursorInfo import Init.Lean.Meta.Tactic.Induction import Init.Lean.Meta.Tactic.Cases import Init.Lean.Ela...
daa6df28d0165c0c77e93d9c482d1e4730428eb0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/stateRef.lean
37820021b31f51e3d2a59108a14679cbdd3f1a48
[ "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
1,570
lean
def f (v : Nat) : StateRefT Nat IO Nat := do IO.println "hello" modify fun s => s - v get def g : IO Nat := f 5 |>.run' 20 #eval (f 5).run' 20 #eval (do set 100; f 5 : StateRefT Nat IO Nat).run' 0 def f2 : ReaderT Nat (StateRefT Nat IO) Nat := do let v ← read IO.println $ "context " ++ toString v modify fun s => s +...
e5a0d034ce4e2786717cf39eef466a7e21a7398a
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2002/IMO_2002_P2.lean
4568dc9d724a383fe81dd096c1c66bae51f3900c
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
533
lean
import Geo.Geo.Core namespace Geo open Analytic Arc Circle Triangle def IMO_2002_P2 : Prop := ∀ (B C O : Point) (Γ : Circle), isOrigin O Γ → isDiameter B C Γ → ∀ (A : Point), on A Γ → deg2π 60 < uangle ⟨A, O, C⟩ → ∀ (E F : Point), on E Γ → -- ryankrue: could have isChord (p₁ p₂ : Point) (Γ : Circle) on F Γ → isPerpB...
6fc1f8f2c97681f6fe08d1b926a005befd37a002
32a2d1642d7519c99693bc1d3b24069e4853dd1f
/tactic/interactive.lean
2f12506a0febdcae8a2279fd134d6f5aa4310e7a
[ "Apache-2.0" ]
permissive
Cedric0099/mathlib
7edb81d5d68e280b4d21f6c0377dad1f9b8c0d71
a97101d2df5d186848075a2d0452f6a04d8a13eb
refs/heads/master
1,584,201,847,599
1,524,979,632,000
1,524,979,632,000
131,690,350
0
0
null
1,525,162,341,000
1,525,162,341,000
null
UTF-8
Lean
false
false
17,119
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.dlist tactic.basic tactic.rcases tactic.generalize_proofs meta.expr open lean open lean.parser local postfix `?`:9001 := optional local postfix *:9001 :...
f635cc11357767ae1ea860a454ecd2431033fc3d
c777c32c8e484e195053731103c5e52af26a25d1
/src/probability/process/filtration.lean
7a3c14f17260bfc878c42f6e6b96b2ee7d61598e
[ "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
13,072
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying, Rémy Degenne -/ import measure_theory.function.conditional_expectation.real /-! # Filtrations This file defines filtrations of a measurable space and σ-finite filtrations. ...
710dad1ea560f7d5fc91499632e82ab23f8cb119
fb3b29254af2d298d934a2ec1bddbb387e5ee67d
/src/misc.lean
8fc06a7d6bdaa745bf1a39d17c869b02bda4d9ff
[]
no_license
th-char/cayleys_theorem
cdbc48c543184320ae474b27e6d99e4b1c931e69
c4862adbe1e6a8892fd607217c803f260ee74be2
refs/heads/master
1,668,812,911,278
1,595,171,637,000
1,595,175,437,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,352
lean
import algebra.group.basic import data.zmod.basic import data.equiv.basic import tactic import data.set.basic import .cayleys variables {G₁ : Type*} {G₂ : Type*} [group G₁] [group G₂] open equiv function set def hom_induces_group (f : G₁ →* G₂) : group (range f) := { mul := has_mul.mul, mul_assoc := mul_assoc, ...
f10a936908124a416b751e795ccbbd7a44317c19
390c7d44c0470f935f1ff06637607521791400da
/test1.lean
08145739c5cfa5a73f901ad250aac563205a643f
[]
no_license
avigad/auto
32baee2744dd3ae53f1cffd3f04523b953e5a9eb
1aa4ebf60f900e8d61bb423105592a4010fa6ec5
refs/heads/master
1,594,791,920,875
1,475,608,824,000
1,475,608,824,000
67,415,120
2
0
null
null
null
null
UTF-8
Lean
false
false
3,008
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Examples to test the tableau provers. -/ import .auto open tactic -- useful for debugging -- set_option pp.beta false -- set_option pp.delayed_abstraction true -...
71d11b36596170b7208f006d721d49e9791af204
367134ba5a65885e863bdc4507601606690974c1
/src/linear_algebra/quadratic_form.lean
c6a2d4ad532f2f1bc44f2686c7f0c7ef2a970ab9
[ "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
28,521
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen -/ import algebra.invertible import linear_algebra.bilinear_form import linear_algebra.determinant import linear_algebra.special_linear_group /-! # Quadratic forms This file...
82e4505f043ac227fe170c861a29c892e26b9332
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/typeclass_metas_internal_goals4.lean
25b7e188cdeb6cf77c3e6a9c6e563f5f18273a64
[ "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
636
lean
class Foo (α β γ : Type) := (u:Unit) class Bar (α β γ : Type) := (u:Unit) class Top := (u:Unit) instance FooBarToTop (α β γ : Type) [Foo α β γ] [Bar α β γ] : Top := {u:=()} instance Foo₁ (β γ : Type) : Foo Unit β γ := {u:=()} instance Foo₂ (α γ : Type) : Foo α Unit γ := {u:=()} instance Foo₃ (α β : Type) : Foo α β Un...
544899b7a343bac2dc0e60404eca60e4b0532147
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/compiler/float_cases_bug.lean
af8e76fbe897376506b56352a4c62c3e4187c6f7
[ "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
959
lean
inductive Term : Type | const : Nat -> Term | app : List Term -> Term namespace Term instance : Inhabited Term := ⟨Term.const 0⟩ partial def hasToString : Term -> String | const n => "CONST(" ++ toString n ++ ")" | app ts => "APP" instance : HasToString Term := ⟨hasToString⟩ end Term open Term structure MySta...
9342b51fe492e211d5b3c50e118fb8fce9f0382e
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/valuation/basic.lean
d327f50e5ac174e7bad67c76e073ffa2b7072320
[ "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
24,963
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Johan Commelin, Patrick Massot -/ import algebra.order.with_zero import algebra.punit_instances import ring_theory.ideal.operations /-! # The basics of valuation theo...
7d6b30b56d6600be9c8fd2bc63baf486c6c17e71
f3a5af2927397cf346ec0e24312bfff077f00425
/src/game/world5/level4.lean
dc4b0c28b8989e58aba613f953bf8af3dba97d56
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/natural_number_game
05c39e1586408cfb563d1a12e1085a90726ab655
f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd
refs/heads/master
1,688,570,964,990
1,636,908,242,000
1,636,908,242,000
195,403,790
277
84
Apache-2.0
1,694,547,955,000
1,562,328,792,000
Lean
UTF-8
Lean
false
false
2,040
lean
/- Tactic : apply ## Summary If `h : P → Q` is a hypothesis, and the goal is `⊢ Q` then `apply h` changes the goal to `⊢ P`. ## Details If you have a function `h : P → Q` and your goal is `⊢ Q` then `apply h` changes the goal to `⊢ P`. The logic is simple: if you are trying to create a term of type `Q`, but `h` is...
a98ce978e3f6cef1adf15505ba95cab2b689525b
037dba89703a79cd4a4aec5e959818147f97635d
/src/2020/logic/questions.lean
b8eda0bc3a0f386e0d3b374ec2c169ac17bd99b1
[]
no_license
ImperialCollegeLondon/M40001_lean
3a6a09298da395ab51bc220a535035d45bbe919b
62a76fa92654c855af2b2fc2bef8e60acd16ccec
refs/heads/master
1,666,750,403,259
1,665,771,117,000
1,665,771,117,000
209,141,835
115
12
null
1,640,270,596,000
1,568,749,174,000
Lean
UTF-8
Lean
false
false
14,290
lean
/- Copyright (c) 2020 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Kevin Buzzard -/ import tactic /-! # Logic A Lean companion to the "Logic" part of the intro module. We develop the basic theory of the five symbols →, ¬, ∧, ↔, ∨ # Background It i...
6e30cd0bf36712ec7f46a1b198f4951e90c6d2f3
367134ba5a65885e863bdc4507601606690974c1
/src/order/zorn.lean
6ee69a190426c0f5a42496f3b814fa923b68e8ae
[ "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
13,797
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 Zorn's lemmas. Ported from Isabelle/HOL (written by Jacques D. Fleuriot, Tobias Nipkow, and Christian Sternagel). -/ import data.set.lattice noncomputable theory univ...
b4cac92593a1f31df39e119a80faa4216b594034
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/initial_seg.lean
a6ce2466a5320d65e96873d80578740aea249bab
[ "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
16,984
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import order.rel_iso import order.well_founded /-! # Initial and principal segments This file defines initial and principal segments. ## Main de...
cb70a44a2704860ecb64591d8d243f462a571f45
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/set_theory/lists.lean
687e463b153e190603351d6dcc1eacd5481aad57
[ "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
14,886
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.basic /-! # A computable model of ZFA without infinity In this file we define finite hereditary lists. This is useful for calculations in naive set...
1b778b065cd197e44d38f5b5d8900066c2cc6d3a
26bff4ed296b8373c92b6b025f5d60cdf02104b9
/tests/lean/run/all_goals.lean
54b9df9be0962cde27f8d7819f4123026a70de00
[ "Apache-2.0" ]
permissive
guiquanz/lean
b8a878ea24f237b84b0e6f6be2f300e8bf028229
242f8ba0486860e53e257c443e965a82ee342db3
refs/heads/master
1,526,680,092,098
1,427,492,833,000
1,427,493,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
245
lean
import data.nat open nat attribute nat.add [unfold-c 2] attribute nat.rec_on [unfold-c 2] example (a b c : nat) : a + 0 = 0 + a ∧ b + 0 = 0 + b := begin apply and.intro, all_goals esimp{of_num}, all_goals (state; rewrite zero_add) end
b596d2cfd60e3a3ef0b2f83ae261b1181dd09beb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/int/gcd.lean
e05c44e65c5e46dec1182932b1f79db311c1f354
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
25,801
lean
/- Copyright (c) 2018 Guy Leroy. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sangwoo Jo (aka Jason), Guy Leroy, Johannes Hölzl, Mario Carneiro -/ import data.nat.gcd.basic import tactic.norm_num /-! # Extended GCD and divisibility over ℤ > THIS FILE IS SYNCHRONIZE...
d7a923d8be70c537ab26004d69302d33bddf2901
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/sym/basic.lean
e2e73ba74c7687bc24990fcc45ba950b2c64a36a
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
13,903
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.multiset.basic import data.vector.basic import data.setoid.basic import tactic.apply_fun /-! # Symmetric powers This file defines symmetric powers of a type. ...
59aa5afe0de69bac8c1c76f6007f0f8d77d16ce7
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/number_theory/bernoulli_polynomials.lean
d93e8eb33cafc00cf21c200dab206d48d5fb1926
[ "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
7,093
lean
/- Copyright (c) 2021 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan -/ import data.nat.choose.cast import number_theory.bernoulli /-! # Bernoulli polynomials The Bernoulli polynomials (defined here : https://en.wikipedia.org/wiki/B...
71e01bf1e4aa001021dcfb1762a93229cdd78338
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/measure_theory/function/ae_eq_of_integral.lean
78b174d24e70dfaff3f14f6caefb2123f548ee05
[ "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
24,149
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import analysis.normed_space.dual import measure_theory.function.strongly_measurable import measure_theory.integral.set_integral /-! # From equality of integrals to equ...
c6ca91c3c2ba28d54014b19041cdc18430a09111
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Init/Control/Option.lean
0f0111011e59eca0d2aaefd308ffedecf9432713
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,853
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...
a47893dbe9e2e46b23ad15ff4ce946ecc08acb7a
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/measure/outer_measure.lean
cc6f7a90e88b881ed63b7f99f7b1d8659c0a5345
[ "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
61,611
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 analysis.specific_limits import measure_theory.pi_system import data.matrix.notation import topology.algebra.infinite_sum /-! # Outer Measures...
08c3f5ce31011af0d858d5b3717d34744f88681f
d4f8579bd5c4a56a88575ff0f1957193d83cf965
/src/steele.lean
9293fedc62d6955b0c4be4777361d789d640ba08
[]
no_license
ldct/lean-textbooks
5b14efc448c6c0ee6b2a89d1c2243c5e343ea88c
6550da16cd3f4c31145d3eb759a9326740a7dcd6
refs/heads/master
1,668,538,459,925
1,594,208,495,000
1,594,208,495,000
271,553,644
0
0
null
null
null
null
UTF-8
Lean
false
false
661
lean
-- Graham, Knuth, Patashnik -- Concrete Mathematics import tactic import data.real.basic import data.num.basic lemma l1 (x y : ℝ) : 0 ≤ x^2-2*x*y + y^2 := begin have h1 : 0 ≤ (x - y)^2, exact pow_two_nonneg (x - y), ring SOP at h1, ring at h1, ring, exact h1, end example (a b : ℝ) : a ≤ b → 0 ≤ b - a := ...
3f2fe55c1c26fdd1d42d4be0ac50cbafa799c5d3
d744d97b07fc1e61b0ebea192b2d624125898128
/test/tree_test.lean
9edba72df8373532645a508589c1af1095c3ab33
[ "MIT" ]
permissive
parkersullivan/leanstuff
019c757848dd8f5db185e6973969141aee6fef7c
3da132c44d365ecd933de64fa04ba66b9e620683
refs/heads/master
1,599,036,040,845
1,573,316,625,000
1,573,316,625,000
219,181,711
0
0
null
null
null
null
UTF-8
Lean
false
false
967
lean
import ..src.tree open my_tree /-defining some tree instances-/ def t0 : (tree ℕ ) := @tree.empty ℕ def t1 : (tree ℕ) := tree.node 5 t0 t0 def t2 : (tree nat) := tree.node 2 t1 t0 def t3 : (tree nat) := tree.node 7 t0 t1 def t4 : (tree nat) := tree.node 12 t2 t1 /-testing out the sum_node function-/ #eval sum_node ...
1498c927d13268a36a6e05fdc36b317969838e57
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/hott/types/equiv.hlean
2fce2cfa211f343ef07e05da3c1b008ae0051fcc
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,364
hlean
/- 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 Ported from Coq HoTT Theorems about the types equiv and is_equiv -/ import .fiber .arrow arity ..prop_trunc open eq is_trunc sigma sigma.ops pi fiber function equi...
a10733ac6d86a6f09febc3d782e4880086203788
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/nested_rec.lean
f0b14664735c988675ec31db4557f83f9ec72945
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,317
lean
open nat prod sigma -- We will define the following example by well-foudned recursion -- g 0 := 0 -- g (succ x) := g (g x) definition g.F (x : nat) : (Π y, y < x → Σ r : nat, r ≤ y) → Σ r : nat, r ≤ x := nat.cases_on x (λ f, ⟨zero, le.refl zero⟩) (λ x₁ (f : Π y, y < succ x₁ → Σ r : nat, r ≤ y), let...
3963f09a0ae8ad1edccd9ece76d26912704c5e7f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/limits/preserves/shapes/kernels.lean
a174f04aa2e1cb08718072aa263c23e72153a3e8
[ "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
8,639
lean
/- Copyright (c) 2022 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.kernels import category_theory.limits.preserves.shapes.zero /-! # Preserving (co)kernels Constructions to relate the notions of...
bef3ad48efed3bd89166f12b0d31be8bddd9e810
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/data/array.lean
5713f57100a856cc754f3399f0a2373725fd41da
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
4,903
lean
import data.list import data.list.basic import data.array.lemmas import util.data.fin import util.data.list import util.data.order import util.meta.tactic universe variables u₀ u₁ u₂ variables {α : Type u₀} {β β' : Type u₁} {γ : Type u₂} open nat namespace array def push_aux {n : ℕ} (x : α) (ar : fin n → α) : fin ...
c9dad7f0d216d4596c15860dd4fc71dcce47804f
f23fc72f73d16cfbf5f27a7250cb58a06dc1c518
/complex.lean
5096cab8929522cf47f27a2bfdfb936a950ae3e9
[ "BSD-3-Clause" ]
permissive
emc2/leanstuff
2e7a9bc05b082c5fefd39c66420ca35b1d50e6ae
609efb86cec168eae73a799f8dff7993eec0ee45
refs/heads/master
1,473,171,453,604
1,439,952,548,000
1,439,952,548,000
40,196,136
0
0
null
null
null
null
UTF-8
Lean
false
false
21,519
lean
import algebra.group import algebra.ring import algebra.field import data.prod namespace algebra open prod ring definition complex_ty (A : Type) : Type := A × A structure complex [class] (A : Type) := (ℂ : Type) (real : A -> ℂ) (i : ℂ) (complex_conj : ℂ → ℂ) (abs : ℂ -> A) namespace complex_ty definitio...
9a1d8088dc2bc3d3662d306807851965633a7b11
367134ba5a65885e863bdc4507601606690974c1
/src/logic/embedding.lean
250670b5e79f1869a98c70862f6625d715af6598
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
9,790
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.equiv.basic import data.sigma.basic import algebra.group.defs /-! # Injective functions -/ universes u v w x namespace function /-- `α...
d28b29d37401699160099e2bf849837b5dc92081
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/topology/uniform_space/basic.lean
7b2371c620211b9ea492ade82e2f5f21ee4fb23f
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
69,125
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 -/ import order.filter.lift import topology.separation /-! # Uniform spaces Uniform spaces are a generalization of metric spaces and top...
b442c3cd2d8850a3ea610f84a6dd3fc586ca12c6
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/real/hyperreal.lean
160d4155dbda5b268fdf5a813eaa0fe78a2e0504
[ "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
37,164
lean
/- Copyright (c) 2019 Abhimanyu Pallavi Sudhir. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abhimanyu Pallavi Sudhir -/ import order.filter.filter_product import analysis.specific_limits /-! # Construction of the hyperreal numbers as an ultraproduct of real sequenc...
15bebcf7db5aa096879a09006a98d962e7f5ffea
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/rel_iso.lean
379cb9c255601346c8a1f443089723a78a15e670
[ "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,059
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 algebra.group.defs import data.equiv.set import data.fun_like.basic import logic.embedding import order.rel_classes /-! # Relation homomorphisms, embeddings, ...
07bce7148b363f00ce468d10cd7a661cf270a4bf
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/quiver/connected_component.lean
7fe9512473a69b637edc82f70c0539a93edae832
[ "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
6,167
lean
/- Copyright (c) 2021 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import combinatorics.quiver.subquiver import combinatorics.quiver.path import data.sum.basic /-! ## Weakly connected components For a quiver `V`, we build a quiver `symmetr...
557d472e8df64dd325256d2e804f5246264554cb
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/logic/axioms/examples/diaconescu.lean
fea750013d5505f8f7a6e671721b10723e8fc9f1
[ "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
1,734
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 import logic.axioms.hilbert logic.axioms.funext open eq.ops nonempty inhabited -- Diaconescu’s theorem -- Show that Excluded middle follows from -- Hi...
e7ee78628be8a37ada4551091de6f1c6c3258c6d
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Compiler/IR/NormIds.lean
e9eafe8f3be6ca43def31011d7b8d7597a89d615
[ "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
7,562
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.IR.Basic namespace Lean.IR.UniqueIds abbrev M := StateT IndexSet Id def checkId (id : Index) : M Bool := modifyGet fun s => if...
4cc9e746df6a6e01aeffa05553f6c5119494c372
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/push_neg.lean
0295a10fe4f9e9e0378235feab1d042925cf41f0
[ "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
7,965
lean
/- Copyright (c) 2019 Patrick Massot All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Simon Hudon A tactic pushing negations into an expression -/ import logic.basic open tactic expr namespace push_neg section universe u variable {α : Sort u} variab...