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
951c1c87fc2affdd11416301342dba78b4803fe9
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/dfinsupp.lean
368a874fdb17f24785f1f720e45a3a07fc89bf9a
[ "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
65,870
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import algebra.module.pi import algebra.module.linear_map import algebra.big_operators.basic import data.set.finite import group_theory.submonoid.membership /-...
d9e1decdd06d6a367c9da7eb284d0ac9210c6cea
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/ac_tactics.lean
e8bb6d00b5acc858763ff555c01c3d0000cc23d9
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
496
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic namespace tactic /- (flat_assoc op assoc e) -/ meta_constant flat_assoc : expr → expr → expr → tactic (expr × expr) /- (per...
69ca89e12f835c25da03c8a836b333a36f634c62
618003631150032a5676f229d13a079ac875ff77
/src/analysis/calculus/fderiv.lean
78046cc744ebd0d2ffc5ec3da2a65589e8d12c27
[ "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
102,534
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.tangent_cone /-! # The Fréchet derivative Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E →L[�...
c9dbbbf956351938ccdb08e122503d032222ea55
626e312b5c1cb2d88fca108f5933076012633192
/src/algebra/monoid_algebra/basic.lean
6a7c84814cd4c240c9e56a5601a1596f78e84a51
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
55,862
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, Yury G. Kudryashov, Scott Morrison -/ import algebra.big_operators.finsupp import linear_algebra.finsupp import algebra.non_unital_alg_hom /-! # Monoid algebras When ...
8c8b610e874079ed727e3a77f18e72f11d145d3b
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/tools/super/cdcl.lean
ccad2e71f5fb84c50244ea215a19665f326eb638
[ "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
860
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 .clausifier .cdcl_solver open tactic expr monad super meta def cdcl_t (th_solver : tactic unit) : tactic unit := do as_refutation, local_false ← target,...
9168a4679507468daadb9f91a1f708dbe597e7ea
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/tests/lean/interactive/goTo.lean
899664ada7d21d40e2b6f53bde1d4a8016f09b0d
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
1,019
lean
import Lean.Elab structure Bar where structure Foo where foo₁ : Nat foo₂ : Nat bar : Bar def mkFoo₁ : Foo := { --v textDocument/definition foo₁ := 1 --v textDocument/declaration foo₂ := 2 --v textDocument/typeDefinition bar := ⟨⟩ } structure HandWrittenStruct where n : Nat -- def HandWrittenStruct.n...
ca4131f263174687d2f78996e71e48e14ef4ef9d
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/init/nat.hlean
8c2fbd57d98451e3fb5461ba2f90d2dad8500e5b
[ "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
11,420
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module init.nat Authors: Floris van Doorn, Leonardo de Moura -/ prelude import init.wf init.tactic init.hedberg init.util init.types.sum open eq.ops decidable sum namespace nat ope...
cc82f0924dbfe022a20b57555cffc6c637aa7da6
618003631150032a5676f229d13a079ac875ff77
/src/measure_theory/measurable_space.lean
47c37b6b244b0ebde2d8b7790be1113d2539a939
[ "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
45,207
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 Measurable spaces -- σ-algberas -/ import data.set.disjointed import data.set.countable /-! # Measurable spaces and measurable functions This file def...
86b708b094a02ba17f5ec5069ad0a7f315c79ff8
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebraic_topology/dold_kan/functor_gamma.lean
9a5675b665216d7d41c539af4b94d753c510d39a
[ "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
14,319
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import algebraic_topology.dold_kan.split_simplicial_object /-! # Construction of the inverse functor of the Dold-Kan equivalence > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. ...
424f5c7898e68d6bfa3d378844fe804afd85dd30
2ee768fce4d0783536570385ee340d97e2411436
/src/u_def.lean
6236b3ce0bb253d4def3f001822d0b9b6a137342
[]
no_license
agjftucker/exists-unique
835cf0c0ec622d49dbceb84be37db62e6ab8a6d0
1fba6035a08347f424c765d8a1c56b1a15c8abbe
refs/heads/master
1,683,445,592,336
1,622,649,822,000
1,622,649,822,000
309,485,697
2
0
null
null
null
null
UTF-8
Lean
false
false
5,171
lean
import v_def q_def local prefix `𝒫`:100 := fun {α : Type} (s : finset α), {t // t ≤ s} variables {𝒩 : Type} {T : with_top ℝ} def mono_wrt_assets {β : Tt T → Type*} [∀ t, has_le (β t)] (f : ∀ (t : Tt T), X 𝒩 → β t) : Prop := ∀ (η : ℝ) (hη : 0 ≤ η) (t : Tt T) (y : X 𝒩), f t y ≤ f t (y + η) def strict_mono_wrt_ass...
39230f5972c0fd0df82d35fd28ab7263cb9e91f9
bdb33f8b7ea65f7705fc342a178508e2722eb851
/logic/function.lean
cdc89deaa8552a6f502f913a00dc86533b98bdc3
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
7,317
lean
/- Copyright (c) 2016 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Miscellaneous function constructions and lemmas. -/ import logic.basic data.option universes u v w namespace function section variables {α : Sort u} ...
9628645d5cd56862a3894cba9b36ba640e8d999f
6ae186a0c6ab366b39397ec9250541c9d5aeb023
/src/category_theory/arrows.lean
9b93d4abe1b711cd324198d68e41f36b68a34a21
[]
no_license
ThanhPhamPhuong/lean-category-theory
0d5c4fe1137866b4fe29ec2753d99aa0d0667881
968a29fe7c0b20e10d8a27e120aca8ddc184e1ea
refs/heads/master
1,587,206,682,489
1,544,045,056,000
1,544,045,056,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,099
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.natural_transformation import category_theory.functor_category import .tactics.obviously universes u₁ v₁ u₂ v₂ open category_theory name...
bd7e6246ad5f3b964bc38d8b44d0417bc75c2866
9dc8cecdf3c4634764a18254e94d43da07142918
/src/set_theory/zfc/basic.lean
df5bbe6c3c9114aa3c7f1e75767c3c6e4b23942a
[ "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
41,098
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.set.lattice import logic.small import order.well_founded /-! # A model of ZFC In this file, we model Zermelo-Fraenkel set theory (+ Choice) using Lean's...
3b1c916d0cc2bd53139d23fdf295f1ffbaacf707
5bf112cf7101c6c6303dc3fd0b3179c860e61e56
/lean/background/witness.lean
42c9b844613103fd96f8e958b322d32f65a9ae9d
[ "Apache-2.0" ]
permissive
fredfeng/formal-encoding
7ab645f49a553dfad2af03fcb4289e40fc679759
024efcf58672ac6b817caa10dfe8cd9708b07f1b
refs/heads/master
1,597,236,551,123
1,568,832,149,000
1,568,832,149,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
233
lean
import .set namespace IMOGrandChallenge def determine {X : Type} (s₀ : Set X) : Type := { s : Set X // ∀ x, s.mem x ↔ s₀.mem x } def compute {X : Type} (target : X) : Type := { x : X // x = target } end IMOGrandChallenge
dc4affe936a20d10065bdfe4b6b020643d1787d8
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Init/Notation.lean
77bf702fe272c4d0999e6fedd90c3a20bec41815
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
22,276
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 Notation for operators defined at Prelude.lean -/ prelude import Init.Prelude import Init.Coe set_option linter.missingDocs true -- keep it do...
fcb5e24b43e17ca675f8b968b71cea816ddd3f59
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/order/monoid_lemmas.lean
aa4a588b59f20ba88f243b35e72e720fb6716915
[ "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
27,389
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl, Damiano Testa -/ import algebra.covariant_and_contravariant import order.monotone /-! # Ordered monoids This file dev...
5c52377d35b5677987d09d9b0c73bf51ec6d87dc
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/witt_vector/init_tail.lean
cd5862d6a668a4afa8272b80699ab332a6ea0630
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
4,817
lean
/- Copyright (c) 2020 Johan Commelin and Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.witt_vector.basic import Mathlib.ring_theo...
df31228c17b1f8dd2d08bd30fcf189f03ab339ef
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/category_theory/sites/sheaf.lean
84b69b8d2141f8120a0234ae3a0c076dec676de4
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,833
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.sites.pretopology import category_theory.limits.shapes.types import category_theory.full_subcategory /-! # Sheaves on a Grothendieck topology De...
2a627b6fa596d78622e5fa97be2bae5d8ae0a788
42610cc2e5db9c90269470365e6056df0122eaa0
/tests/lean/extra/755.hlean
2df1b7cd05b269b839f19e9c927b9c5227a742b3
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
1,733
hlean
import types.eq types.pi hit.colimit open eq is_trunc unit quotient seq_colim equiv axiom mysorry : ∀ {A : Type}, A namespace one_step_tr section parameters {A : Type} variables (a a' : A) protected definition R (a a' : A) : Type₀ := unit parameter (A) definition one_step_tr : Type := quotient R parameter...
789933ebbaf4e9c849f645c5532ad27460f6a23e
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/function.lean
e43ee743f7700470729e787d0d37f95e6ec60c27
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
5,629
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, Jeremy Avigad, Haitao Zhang General operations on functions. -/ prelude import init.prod init.funext init.logic notation f ` $ `:1 a:1 := f a universe variabl...
dcad1cd6aa90548fe5469b7abecb7b741e0f35dc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/fderiv/comp.lean
4efc624e08deed890b61f1022b12d88eb4549ffe
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
10,846
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.fderiv.basic /-! # The derivative of a composition (chain rule) > THIS FILE IS SYNCHRONIZED WITH MATHLIB4...
73b4ed85f8d9a402a360926f7f1cd0f437fcac29
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/noncomputable_bytecode_issue.lean
163e996fb78542a82220f779ccc24bd54e5cf12b
[ "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
97
lean
constant a : nat meta def ex : tactic expr := return `(a) open tactic run_cmd ex >> return ()
ff4617f785e900807b4f8a5bd93b4b0ceb21a943
367134ba5a65885e863bdc4507601606690974c1
/src/data/list/forall2.lean
c873ed7b4569b41fb4549a4d06713bdd539d1f75
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
10,376
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 -/ import data.list.basic universes u v w z open nat function variables {α : Type u} {β : Type v} {γ : Type w} {δ : Type z} namespace list /- forall₂...
4743048a3f0c7c6395f5424a274aea21a40aa65b
274748215b6d042f0d9c9a505f9551fa8e0c5f38
/src/affine_algebraic_set/regular_map.lean
9a67d1b09d7f237ec20c07f577ed2225aa652e98
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M4P33
878ecb515c77d20cc799ff1ebd78f1bf4fd65c12
1a179372db71ad6802d11eacbc1f02f327d55f8f
refs/heads/master
1,607,519,867,193
1,583,344,297,000
1,583,344,297,000
233,316,107
59
4
Apache-2.0
1,579,285,778,000
1,578,788,367,000
Lean
UTF-8
Lean
false
false
8,189
lean
/- Copyright (c) 2020 Kevin Buzzard Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, and whoever else wants to join in. -/ import affine_algebraic_set.regular_function -- we want k-algebra homomorphisms import ring_theory.algebra -- we want facts about k-algebra homs that a...
3894885ffd06d27c5da1a607c34adae38d83ea9c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/metric_space/algebra.lean
61447d7fef0d79c862b83a963f1c3387b904655a
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,443
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import topology.algebra.mul_action import topology.metric_space.lipschitz /-! # Compatibility of algebraic operations with metric space structures > THIS FILE IS ...
479e558f27710605b1ae76194a089dc3f05c5d55
675b8263050a5d74b89ceab381ac81ce70535688
/src/topology/instances/ennreal.lean
e4e18d17035ce8dbada536096c902a70b5c79d80
[ "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
43,169
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 -/ import topology.instances.nnreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical topological_space e...
48f43a87f9d20f2dc72aab6bc755166ace193d82
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Data/PrefixTree.lean
2ad20bab33e2c5ec0519d53f604865a186167ba5
[ "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,820
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.RBMap namespace Lean open Std /- Similar to trie, but for arbitrary keys -/ inductive PrefixTreeNode (α : Type u) (β : Type v) where | N...
9927546b2d35a8209cf976873a2fee09eff9d0a9
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/control/fix.lean
326c5daa2ac42e33cd6e1995625a843929013e5c
[ "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
3,244
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 data.part import data.nat.upto import data.stream.defs /-! # Fixed point This module defines a generic `fix` operator for defining recursive computations that are...
a9d0323cd1e5d9d386869937ccef139ae7932105
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/measure_theory/special_functions.lean
deff8b879ae2134ffe8ea752c8b60d37fbe467f7
[ "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
6,619
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.special_functions.pow import analysis.normed_space.inner_product import measure_theory.borel_space /-! # Measurability of real and complex functio...
b15688f72a70b80be1873f229cb40bee3e5bfdc4
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/aops/2007-BMO-Problem_2.lean
3f63726e306455fbf70f01b27409337c7278fa52
[]
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
193
lean
import data.real.basic theorem BMO_Problem_2_2007.lean (f : ℝ -> ℝ) : (∀ x y : ℝ, f(f(x)+y) = f(f(x) -y) + 4*f(x)*y) → (f = 0 ∨ (∃ c : ℝ, ∀ x : ℝ, f(x) = x^2 +c)) := sorry
2777b45d70a76f9ec99a33b6251d59ac845c82e1
968e2f50b755d3048175f176376eff7139e9df70
/examples/pred_logic/unnamed_208.lean
e61ebe34c9a382fa8d5f45f190efa16836d5f1c5
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
56
lean
def divides (a b : ℤ) : Prop := ∃ m : ℤ, b = a * m
79abbfaa2a9c2c9d4bccac01a0fbe2c05c97906e
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/group_theory/free_abelian_group.lean
94b6dd966eef617a3354123c3bd878354f478116
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,258
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Free abelian groups as abelianization of free groups. -- TODO: rewrite in terms of finsupp -/ import algebra.group.pi import group_theory.free_group import group_theory.abeliani...
abccc16ee414de4f65ef8207aad0b6eefbc11441
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Util/Path.lean
be0dcde1468318d6fb7ae73fb05be6b6f79a7248
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,415
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, Sebastian Ullrich Management of the Lean search path (`LEAN_PATH`), which is a list of paths containing package roots: an import `A.B.C` resolves to `path/A/...
4f7a5284154fe2c49a2f3b01b6d82556e5642411
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/default.lean
dc394d9fe12db2ab90f5d540c6b5374ff42d68bc
[ "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
645
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.core init.logic init.control init.data.basic init.version import init.propext init.cc_lemmas init.funext init.control.combinators init.f...
d96bc140dadca8223ecb7da4e3a743d4c806501d
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/order/conditionally_complete_lattice.lean
670392a14be7a391e5f3fcb2d3161f840e48a98c
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
35,630
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 Adapted from the corresponding theory for complete lattices. Theory of conditionally complete lattices. A conditionally complete lattice is a lattice in which ev...
f23df467b489e6338377b451ca7ed760dff91864
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/category/Module/monoidal.lean
0f80c5596f23fe307b16260c9af247888e3fa7f4
[ "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
12,536
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Scott Morrison, Jakob von Raumer -/ import category_theory.monoidal.braided import category_theory.closed.monoidal import algebra.category.Module.basic import linear_alg...
faa5ae724b47dffc5a85a88913cd265ab61e07ae
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/internal/types.lean
39831cf76281aeba83c77945a81cca12cb2051e2
[ "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
4,764
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Mon.basic import category_theory.monoidal.CommMon_ import category_theory.monoidal.types.symmetric /-! # `Mon_ (Type u) ≌ Mon.{u}` > THIS FI...
85890cf09bd13a00f28a9d71fcfd045c46809535
82e44445c70db0f03e30d7be725775f122d72f3e
/archive/100-theorems-list/82_cubing_a_cube.lean
b01790dc9c3aa56862dd8259a2efee14b1877bb1
[ "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
23,632
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 data.real.basic import data.set.intervals import data.set.pairwise import set_theory.cardinal /-! Proof that a cube (in dimension n ≥ 3) cannot be cubed: T...
fca8aa51eec687031d2dd18ad3f7f3a1ac872b21
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/algebra/ordered_ring.lean
875929a0eea3d34ba9a12312dd26a7aa13174d5d
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,070
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ prelude import init.algebra.ordered_group init.algebra.ring /- Make sure instances defined in this file have lower priority than the ones ...
d89deb0cc2be6bac43e9a161b9cd6901cb87f2ba
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/group/fundamental_domain.lean
86deeca047398052581f2aedc85bb0875a5bab84
[ "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
12,389
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 measure_theory.group.action import measure_theory.group.pointwise import measure_theory.integral.set_integral /-! # Fundamental domain of a group acti...
492810a3c38262ab70381d0bfc1be76e57d336f6
fe25de614feb5587799621c41487aaee0d083b08
/stage0/src/Lean/Meta/Match/CaseArraySizes.lean
dafe4ac9772b4ddf050f2e55efcd967856e33050
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,840
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.Tactic.Assert import Lean.Meta.Match.CaseValues namespace Lean.Meta structure CaseArraySizesSubgoal where mvarId : MVarId elems : Ar...
b3fc478d223e5c7d2c487e88cae037cce7420028
4727251e0cd73359b15b664c3170e5d754078599
/src/number_theory/fermat4.lean
5f3fe6387b5b3ae75fd28dca4695cf52fa9d73e8
[ "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
11,866
lean
/- Copyright (c) 2020 Paul van Wamelen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul van Wamelen -/ import number_theory.pythagorean_triples import ring_theory.coprime.lemmas import tactic.linear_combination /-! # Fermat's Last Theorem for the case n = 4 There ...
5570ebb8ac4966b73d9ef2bd2ca5f01fed6064f4
61c3861020ef87c6c325fc3c3dcbabf5d6b07985
/init/equiv.lean
597e61c2a3602533cc27261eabc915a533c84fb8
[ "Apache-2.0" ]
permissive
jonas-frey/hott3
a623be2959e8a713c03fa1b0f34bf76a561dfa87
a944051b4eb5919bdc70978ee15fcbb48a824811
refs/heads/master
1,628,408,720,559
1,510,267,042,000
1,510,267,042,000
106,760,764
0
0
null
1,507,856,238,000
1,507,856,238,000
null
UTF-8
Lean
false
false
19,624
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ import .path .meta.rewrite universes u v w hott_theory namespace hott open function /- Equivalences ...
79b3f9ba79e0c8c0865a84688becd1f6a4fe7f90
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/probability/kernel/disintegration.lean
3636f104864f4f7245062015209af9a86c222b06
[ "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
26,749
lean
/- Copyright (c) 2023 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import probability.kernel.cond_cdf import measure_theory.constructions.polish import probability.kernel.integral_comp_prod /-! # Disintegration of measures on product sp...
0313e25d3f38ce9b6a9eec25f04a6b0ad4afb04f
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/computability/primrec.lean
fc9a7c5dc2cb4ccb8eddfd4df2a7a9bbf2dddd2c
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
52,018
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.equiv.list /-! # The primitive recursive functions The primitive recursive functions are the least collection of functions `nat → nat` which are closed u...
bbb6301d12fe7d7428cd53fb1dbddfa9845edcfe
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/362.lean
c91736dd6f697fa399b6e9adf111072c16392f17
[ "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
133
lean
variables {a : Type} definition foo (A : Type) : A → A := begin intro a, assumption end set_option pp.universes true check foo
aaf814072bef7521997f3f6e4df0168c1b6e9869
c5b07d17b3c9fb19e4b302465d237fd1d988c14f
/src/isos/fseq_ogf.lean
becd590a449ec4ad17fd48697d47bca7f6424a86
[ "MIT" ]
permissive
skaslev/papers
acaec61602b28c33d6115e53913b2002136aa29b
f15b379f3c43bbd0a37ac7bb75f4278f7e901389
refs/heads/master
1,665,505,770,318
1,660,378,602,000
1,660,378,602,000
14,101,547
0
1
MIT
1,595,414,522,000
1,383,542,702,000
Lean
UTF-8
Lean
false
false
892
lean
import functors.generating namespace fseq -- xᵏ = Σ n:ℕ, δ(k,n) xⁿ def ogf_iso {k A} : fseq k A ≃ ogf (delta k) A := ⟨λ x, ⟨k, (⟨0, by simp [delta, nat.zero_lt_succ]⟩, x)⟩, λ x, dite (x.1=k) (λ h, eq.mp (by rw h) x.2.2) (λ h, begin have z : fin 0 := eq.mp (by simp [delta, if_neg h]) x.2.1, exact fin.elim0 z end), λ ...
176a247ffbc8489a014c7440511e944d321ea0f4
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/is_nil.lean
3e049c2cbc30f2df7ca22d4d6d417b8327fef138
[ "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,344
lean
import logic open tactic inductive list (A : Type) : Type := | nil {} : list A | cons : A → list A → list A namespace list end list open list open eq definition is_nil {A : Type} (l : list A) : Prop := list.rec true (fun h t r, false) l theorem is_nil_nil (A : Type) : is_nil (@nil A) := of_eq_true (refl true) the...
729f7a5b3bc4c99bfec3a4f4138351239968b5f2
ec5e5a9dbe7f60fa5784d15211d8bf24ada0825c
/src/DataLayout.lean
e85461fe33e1e93f9127a5efb5b4cd5ffdf341a6
[]
no_license
pnwamk/lean-llvm
fcd9a828e52e80eb197f7d9032b3846f2e09ef74
ebc3bca9a57a6aef29529d46394f560398fb5c9c
refs/heads/master
1,668,418,078,706
1,593,548,643,000
1,593,548,643,000
258,617,753
0
0
null
1,587,760,298,000
1,587,760,298,000
null
UTF-8
Lean
false
false
4,551
lean
import Init.Data.RBMap import LeanLLVM.Alignment import LeanLLVM.AST import LeanLLVM.Parser namespace LLVM namespace parse section Mangling open Mangling def mangling_spec : parse Mangling := parse.describe "mangling spec" $ parse.choosePrefix [ ("e", pure elf) , ("m", pure mips) , ("o", pure mach_o) ,...
09812924e6a8322c30ac26957859c6561d532681
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Elab/SyntheticMVars.lean
5f0e7f684e4110049a37b8425d3b9f38a4c16fec
[ "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
12,292
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.Elab.Term import Init.Lean.Elab.Tactic.Basic namespace Lean namespace Elab namespace Term open Tactic (TacticM...
e70e6a378d347302779a88986c20a110a376f1c1
3dd1b66af77106badae6edb1c4dea91a146ead30
/library/standard/num.lean
0373700a2a5002b1e1400960f1b948955cbde9a5
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
822
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 namespace num -- pos_num and num are two auxiliary datatypes used when parsing numerals such as 13, 0, 26. -- The parser will generate the te...
f934018f0aabb602c994798e3545cd4dd283ee4a
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/algebra/category/adjoint.hlean
0862139b65eb1b9b476ac02cfc1a6d442e182f1e
[ "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
5,783
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import algebra.category.constructions .constructions function arity open category functor nat_trans eq is_trunc iso equiv prod trunc function namespace categor...
93af218c3ca60410b2f139cf5fd79481c7dfbf6c
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/calculus/iterated_deriv.lean
67837508500c8ad02c19181af9d7275c21c4fea2
[ "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
14,758
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.calculus.deriv import analysis.calculus.cont_diff_def /-! # One-dimensional iterated derivatives We define the `n`-th derivative of a function...
63c731dd6c2e2455fdaf7b2b5d1678e334e633b5
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Tactic/Delta.lean
f7a0e18665e28a6ab616565576942127d69d58d1
[ "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
1,482
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Transform import Lean.Meta.Tactic.Replace namespace Lean.Meta def delta? (e : Expr) (p : Name → Bool := fun _ => true) : CoreM (Option Ex...
420281979a63b6636f7946ece512717f45af9251
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/complex/basic.lean
34c0a8fe6eecbd9571b8155ab6b2ecda58e6b4af
[ "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
21,266
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro -/ import data.real.sqrt open_locale big_operators /-! # The complex numbers The complex numbers are modelled as ℝ^2 in the obvious way. -/ /-! ### Def...
78673dacad7e54a2e19cf0ec63391d4508e92c5d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/test/lock/Error.lean
337145a16f6cfa5b2283b8c617d52e2bc05abe3c
[ "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
54
lean
#eval show IO Unit from throw <| .userError "failure"
91c03c58c756bb8dea992219c878519623a40dbf
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/category/Ring/adjunctions.lean
d1d6809d85fea02c82eacc3c2ba3c343bb968887
[ "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
1,622
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl -/ import algebra.category.Ring.basic import data.mv_polynomial.comm_ring /-! Multivariable polynomials on a type is the left adjoint of the forgetful f...
b73b758e84cdb19735ac54ce20788832d1c05371
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/newfrontend1.lean
cc3660d434a1a26087ba03374ed6a3ea182b79b6
[ "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
7,035
lean
def x := 1 new_frontend #check x variables {α : Type} def f (a : α) : α := a def tst (xs : List Nat) : Nat := xs.foldl (init := 10) (· + ·) #check tst [1, 2, 3] #check tst #check (fun stx => if True then let e := stx; HasPure.pure e else HasPure.pure stx : Nat → Id Nat) #check let x : Nat := 1; x def foo (a :...
9d04884277cf1a8730f73b04f7448ec271e3d4a6
367134ba5a65885e863bdc4507601606690974c1
/src/algebraic_geometry/prime_spectrum.lean
de8309afa65fe77f7e11ddb701347b4da91d01af
[ "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
15,602
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import topology.opens import ring_theory.ideal.prod import linear_algebra.finsupp import algebra.punit_instances /-! # Prime spectrum of a commutative ring The prim...
5ffd2e8d2631636d9d568ea328e1c2625db50f72
13133fade54057ee588bc056e4eaa14a24773d23
/report/binomial_succ.lean
a64da4c2759da2db508204195eda2ad218eb0f77
[]
no_license
lkloh/lean-project-15815
444cbdca1d1a2dfa258c76c41a6ff846392e13d1
2cb657c0e41baa318193f7dce85974ff37d80883
refs/heads/master
1,611,402,038,933
1,432,020,760,000
1,432,020,760,000
33,372,120
0
0
null
1,431,932,928,000
1,428,078,840,000
Lean
UTF-8
Lean
false
false
4,460
lean
import data.nat open nat -- These are taken from http://afp.sourceforge.net/browser_info/current/AFP/Girth_Chromatic/Binomial.html -- ****************************************************************** -- definition binomial : nat → nat → nat | binomial 0 0 := 1 | binomial 0 k := 0 | binomial(succ n) 0 := 1 | binomia...
28d76adda4b1ad80d355ac7f935903a668e519d7
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/chain.lean
2c0b3a49c778678e91d79aa71b7b9505992b947a
[ "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
14,806
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau, Yury Kudryashov -/ import data.list.pairwise import logic.relation /-! # Relation chain This file provides basic results about `list.chain` (definition in ...
888a49101aea9daa28405f9f89f97ff5d24b307b
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/order/fixed_points.lean
efe2f4ee3968dd768443038acf56185a20094e66
[ "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
8,677
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, Kenny Lau Fixed point construction on complete lattices. -/ import order.complete_lattice universes u v w variables {α : Type u} {β : Type v} {γ : Type w} namespace ...
b6d9f1beb403d61e613aaad8ad8b087054041aa9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/coeff_auto.lean
8704658afae21d7943b2987f294cba919729eba9
[]
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
6,963
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.monomial import Mathlib.data.fi...
755f63216c9dae1aa32ee276101b498bf98dc8c9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/bitwise.lean
54358c6ec377dd12d5db832e4968443235433675
[ "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,795
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import data.list.basic import data.nat.bits import tactic.linarith /-! # Bitwise operations on natural numbers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
ebfa69d0195e712428825aaa44c3ed06e64bd900
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/semiquot.lean
c0efa7cf9040bcde89bf63dc6fae9388fdf9109c
[ "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,919
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.set.lattice /-! # Semiquotients A data type for semiquotients, which are classically equivalent to nonempty sets, but are useful for programming; the id...
df83b331120ebe472fb3598d9782c88226c63bcf
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/analysis/specific_limits.lean
b5ba18f8379e135e341ad0b38e614e5cbd7b7f26
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
7,954
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 A collection of specific limit computations. -/ import analysis.normed_space.basic import topology.instances.ennreal noncomputable theory local attribute [instance] cl...
9c297eabef7472abc477ab93597d19e5b7d646a8
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/sup_inf/supProdConst.lean
44c37ad8dee8d96e0a91865534fc000a1d482ac8
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,258
lean
import game.sup_inf.infSumConst namespace xena -- hide /- # Chapter 3 : Sup and Inf ## Level 8 Again a classical result. -/ -- supremum of constant × set def const_times_set (c: ℝ) (A : set ℝ) := { x : ℝ | ∃ y ∈ A, x = c * y } /- Lemma If $A$ is a set of reals and $c > 0$, then $$ \textrm{sup} (cA) = c \cdot \tex...
509468288f4dbd4a11ca598ec5ce802cc8a05f2f
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/algebra/order.hlean
71ce0a29d7c772ea855574b62db17f97843e0dd1
[ "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
16,735
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Weak orders "≤", strict orders "<", and structures that include both. -/ import algebra.binary algebra.priority open eq eq.ops algebra -- set_option class.force_new true ...
004adfa7ae73188c1fddf7f5e9541b26aa907d02
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/induniv.lean
e8b9745d422baadd4d62efb55fa972560c2fe83f
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,023
lean
prelude inductive list (A : Type) : Type := nil {} : list A, cons : A → list A → list A section variable A : Type inductive list2 : Type := nil2 {} : list2, cons2 : A → list2 → list2 end constant num : Type.{1} namespace Tree inductive tree (A : Type) : Type := node : A → forest A → tree A with forest : ...
d945d5d40c915baeb76cee9ea6489f6dcef444bb
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/probability/independence.lean
e43fcb7cb62ee89d1bc6ee48ed9ad5fb2ff4a7dc
[ "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
36,090
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 algebra.big_operators.intervals import measure_theory.constructions.pi /-! # Independence of sets of sets and measure spaces (σ-algebras) * A family of sets of s...
81804c6c31e697ddc606b8350a34f7addc0263a8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/equiv/local_equiv.lean
a475f15a2e615cb35489981705316894f0241b42
[]
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
26,536
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.basic import Mathlib.PostPort universes u_5 u_6 l u_1 u_2 u_3 u_4 names...
bf588241c96b90afaf55dece3fd7da19133faacf
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/nat_num_game/src/Advanced_Proposition_World/adv_prop_wrld9.lean
0f802defcaf8eb5fbd903ed0d0c54f7ded07cc6a
[]
no_license
Samyak-Surti/LeanCode
1c245631f74b00057d20483c8ac75916e8643b14
944eac3e5f43e2614ed246083b97fbdf24181d83
refs/heads/master
1,669,023,730,828
1,595,534,784,000
1,595,534,784,000
282,037,186
0
0
null
null
null
null
UTF-8
Lean
false
false
246
lean
lemma not_iff_imp_false (P : Prop) : ¬ P ↔ P → false := iff.rfl --hide lemma contra (P Q : Prop) : (P ∧ ¬ P) → Q := begin intro f, cases f with p np, exfalso, --rw not_iff_imp_false at np, apply np, exact p, end
a001918974c507aa554fd645e1025878b024df04
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/init/native/result.lean
72f22417f6866ac436cba9ff40a59319f53f686c
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
2,488
lean
/- Copyright (c) 2016 Jared Roesch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jared Roesch -/ prelude import init.meta.interactive namespace native inductive result (E : Type) (R : Type) : Type | err {} : E → result | ok {} : R → result def unwrap_or {E T : Ty...
bfed6c63f20dfce678096efc8472fe3f4c88cb70
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/instPatVar.lean
35592a8e2e570d5314d673c47844ee65f693f989
[ "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
239
lean
class Pretty (α : Type u) where pretty : α → Std.Format export Pretty (pretty) def concat (xs : List ((α : Type u) × Pretty α × α)) : Std.Format := match xs with | [] => "" | ⟨_, _, v⟩ :: xs => pretty v ++ concat xs
f478eebff140985aa4dfa29d73e63c9eb5746d37
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/GenInjective.lean
8a97530f6adb87231cddde0757f9e387c8217e22
[ "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
492
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Command import Lean.Meta.Injective namespace Lean.Elab.Command @[builtinCommandElab genInjectiveTheorems] def elabGenInjectiveTheorems : ...
c27b03cc0ad66ef9b4a83a00268803edc3c21c49
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/topology/maps.lean
ca922f9b54781097e174a3798466265886a6c8ab
[ "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
15,465
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 Specific classes of maps between topological spaces: embeddings, open maps, quotient maps. -/ import topology.order topology.separation ...
b4fd27a8673192fd7f13682440110e694e96ed8a
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/atoms.lean
1d7ecf25d069049bf8cb94d105b544a2aae7ebd7
[ "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
21,301
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.complete_boolean_algebra import order.modular_lattice import data.fintype.basic /-! # Atoms, Coatoms, and Simple Lattices This module defines atoms, w...
8079778fef8d31d65e9e466f42cbfbac7af9a42a
82e44445c70db0f03e30d7be725775f122d72f3e
/src/order/complete_lattice.lean
cbb44041c9289dddbc0dd2f542e55004deb3892f
[ "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
52,686
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import order.bounds /-! # Theory of complete lattices ## Main definitions * `Sup` and `Inf` are the supremum and the infimum of a set; * `supr (f : ι → α)` and `in...
04ef9c568ce59f9330943ec9d58a79305d0af2da
07f5f86b00fed90a419ccda4298d8b795a68f657
/library/init/meta/converter/interactive.lean
60524208652a382c2745226f287a509367956e2c
[ "Apache-2.0" ]
permissive
VBaratham/lean
8ec5c3167b4835cfbcd7f25e2173d61ad9416b3a
450ca5834c1c35318e4b47d553bb9820c1b3eee7
refs/heads/master
1,629,649,471,814
1,512,060,373,000
1,512,060,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,837
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 Converter monad for building simplifiers. -/ prelude import init.meta.interactive init.meta.converter.conv namespace conv meta def save_info (p : pos) : conv...
3d5e55a2e4aedde7d590367be3f798058721a2d7
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/cubical/square.hlean
3608f41df6f5cc23e6139ca9f95b58ef1a73a681
[ "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
27,641
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 Squares in a type -/ import types.eq open eq equiv is_equiv sigma namespace eq variables {A B : Type} {a a' a'' a₀₀ a₂₀ a₄₀ a₀₂ a₂₂ a₂₄ a₀₄ a₄...
509592ab9136817c7fcd5a968721bfe773f83cba
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/groupoid.lean
4889ac68b322323ca3a077b95ee202ce6f6038f6
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,090
lean
/- Copyright (c) 2018 Reid Barton All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison, David Wärn -/ import category_theory.full_subcategory import category_theory.products.basic import category_theory.pi.basic import category_theory.category.bas...
fa7ab06df612a1ed5b85db14b10f47d2f815eae5
4e3bf8e2b29061457a887ac8889e88fa5aa0e34c
/lean/love02_tactical_proofs_homework_sheet.lean
3430650abd9c5638a4cbbe58ef4e025fbe1e287d
[]
no_license
mukeshtiwari/logical_verification_2019
9f964c067a71f65eb8884743273fbeef99e6503d
16f62717f55ed5b7b87e03ae0134791a9bef9b9a
refs/heads/master
1,619,158,844,208
1,585,139,500,000
1,585,139,500,000
249,906,380
0
0
null
1,585,118,728,000
1,585,118,727,000
null
UTF-8
Lean
false
false
1,666
lean
/- LoVe Homework 2: Tactical Proofs -/ import .love02_tactical_proofs_exercise namespace LoVe /- Question 1: Connectives and Quantifiers -/ /- 1.1. Complete the following proofs using basic tactics. -/ lemma B (a b c : Prop) : (a → b) → (c → a) → c → b := sorry lemma S (a b c : Prop) : (a → b → c) → (a → b) ...
ba2981f0f957c2d8fab99cf6f076e751d78c00bf
9dc8cecdf3c4634764a18254e94d43da07142918
/src/number_theory/prime_counting.lean
80d226d27dfa81961a361ff217e3952fcd814501
[ "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,410
lean
/- Copyright (c) 2021 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey -/ import data.nat.prime import data.nat.totient import algebra.periodic import data.finset.locally_finite import data.nat.count import data.nat.nth /-! # The Prime Coun...
e35a80c89cf30b409f55158d719eb9546186d654
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/data/finset.lean
a7e251f37da8cf49aa1d5bfde6183dad2c643bf3
[ "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
122,816
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 data.multiset import tactic.monotonicity import tactic.apply open multiset subtype nat vari...
3d101572f8b448c1b5eb62f488d075a230cacb84
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/hash_map.lean
8571127cfd0f8fbe7d5fc354ca6d746020603560
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
27,885
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, Mario Carneiro -/ import data.pnat.basic import data.array.lemmas import algebra.group import data.sigma.basic universes u v w /-- `bucket_array α β` is the...
57d11b77e12073beebdbadafc848cfb262154115
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/aops/2008-iTest-Problem_90.lean
3dc7d0ee86db80fad96504c74a0fbf3986f3872e
[]
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
255
lean
import data.real.basic import data.real.nnreal theorem exo: let P (a b c N: nnreal) := N = (a^2+b^2)/(c^2+a*b)+(b^2+c^2)/(a^2+b*c)+(c^2+a^2)/(b^2+c*a) in (forall a b c N, P a b c N -> N >= 3) /\ (exists a b c N, P a b c N /\ N = 3) := sorry
7477c40e294813c579f3eb2f10c3c14e154d3cb3
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/init/simplifier.lean
de6804522298a84cbea97560f6b6c21b211942e6
[ "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
3,002
lean
/- Copyright (c) 2015 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam -/ prelude import init.logic namespace simplifier namespace empty end empty namespace prove attribute eq_self_iff_true [simp] end prove namespace unit_simp open eq.ops ...
469ae897b69104b5742964966b5ec7f0802fb061
cc62cd292c1acc80a10b1c645915b70d2cdee661
/src/category_theory/presheaves/sheaves_of_types.lean
b793113a9d7fda02cd0b255ea09b8f5cdfece952
[]
no_license
RitaAhmadi/lean-category-theory
4afb881c4b387ee2c8ce706c454fbf9db8897a29
a27b4ae5eac978e9188d2e867c3d11d9a5b87a9e
refs/heads/master
1,651,786,183,402
1,565,604,314,000
1,565,604,314,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,465
lean
-- import category_theory.presheaves.sheaves -- import category_theory.limits.preserves -- import category_theory.functor.isomorphism -- universes u v -- open category_theory -- open category_theory.limits -- open category_theory.examples -- open topological_space -- -- We now provide an alternative 'pointwise' cons...
e83e1dc5f603fe0b0b62a83e3e5003af7db0df5b
63abd62053d479eae5abf4951554e1064a4c45b4
/src/analysis/complex/roots_of_unity.lean
ef459be4ce158d6b72b9c9ec6ea2db1f9176c986
[ "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
3,600
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import ring_theory.roots_of_unity import analysis.special_functions.trigonometric import analysis.special_functions.pow /-! # Complex roots of unity In this file w...
eab1a8abfa9de231d4d248bf52e140af9fd2d236
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/meta/task.lean
8d34056a194a76f4b1ef01b21614c62ba958fb82
[ "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
726
lean
prelude import init.category meta constant {u} task : Type u → Type u namespace task meta constant {u} get {α : Type u} (t : task α) : α protected meta constant {u} pure {α : Type u} (t : α) : task α protected meta constant {u v} map {α : Type u} {β : Type v} (f : α → β) (t : task α) : task β protected meta constant...
69b8c1c4f8f741d5929a4e8ed8b20acceb4c4684
f5373ccdc976e6390397d9f4220a74c76f706f4a
/src/tools/json_server.lean
03f3f9aa4cb68109f92687caff3923e05a85b1f7
[]
no_license
jasonrute/lean_gym_prototype
fcd91fdc454f9e351bbe258c765f50276407547e
ab29624d14e4e069e15afe0b1d90248b5b394b86
refs/heads/master
1,682,628,526,780
1,590,539,315,000
1,590,539,315,000
264,938,525
3
0
null
null
null
null
UTF-8
Lean
false
false
4,074
lean
import system.io import tools.json import tools.json_serialization import tools.dumb_json open json /- A way to get data and put data (one line at a time), such as stdin/stdout, files, or a child process. -/ meta structure io_streams := -- get one line of text It does not have a new line at the end. (get_line : io ...
66d5ad628d8a2aad67716cff2df5b4055087ca8b
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/S4/ops.lean
83cc103aaae193836a4212584ef61a985582f650
[ "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
11,300
lean
import .size open nnf list namespace list universes u v w variables {α : Type u} {β : Type v} {γ : Type w} theorem mapp {p : β → Prop} (f : α → β) : Π (l : list α) (h : ∀ x∈l, p (f x)) x, x ∈ list.map f l → p x | [] h x := by simp | (hd::tl) h x := begin intro hmem, cases hmem, {rw hmem, apply h, simp}, {appl...
f5af03444ab21e41e5179a07ed9d1a6128c7167b
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Data/Lsp/Communication.lean
1647ee0ae731370ee0a4ed21c504d0f3cb1f80ef
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,507
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Lean.Data.JsonRpc /-! Reading/writing LSP messages from/to IO handles. -/ namespace IO.FS.Stream open Lean open Lean...
f84c0c3efb3664e37eb1469be26d8ad8f2cd69a5
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/prime_spectrum/basic.lean
19489e8ab4019548148315620a9e902b7d4d3712
[ "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
35,534
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.punit_instances import linear_algebra.finsupp import ring_theory.ideal.over import ring_theory.ideal.prod import ring_theory.localization.away import r...
0e39647f62467f3861ad1e23bb24f661edb627a7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/probability/hitting_time.lean
62171ead4962e875ae6a339e0c2b1ab5d53497f6
[ "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
13,075
lean
/- Copyright (c) 2022 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying, Rémy Degenne -/ import probability.stopping /-! # Hitting time Given a stochastic process, the hitting time provides the first time the process ``hits'' some subset of the ...
56db59e3dae710c93f9307c9573c199800b7b2bc
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast21.lean
1def7095f83c6df8b409d1e0f70e004316969b66
[ "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
465
lean
namespace ex set_option blast.strategy "backward" constant typ : Type₁ constant subtype : typ → typ → Prop constant subtype_refl : ∀ T, subtype T T constant subtype_trans : ∀ S T U, subtype S T → subtype T U → subtype S U attribute subtype_refl subtype_trans [intro] lemma L1 : ∀ T1 T2 T3 T4 T5 T6, subtype T1 T2 →...
592c1c2b63743ee5fae5fe6fd846dc38a01a3a62
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/types/fin.hlean
4174f94132e0dd245fd9358ee81b1296db97f439
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
22,732
hlean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Haitao Zhang, Leonardo de Moura, Jakob von Raumer, Floris van Doorn Finite ordinal types. -/ import types.list algebra.bundled function logic types.prod types.sum types.nat.div open eq ...
6641fe5061fe0c274bcdbfbe465d6dcb30c41952
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/special_functions/exp.lean
c55a8ce2522d441cda602213f914fc075d06896f
[ "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
10,469
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import analysis.complex.basic import data.complex.exponential /-! # Complex and real exponential In this file we prove c...
533adf229943de168da06232dc21efcc9faabe7e
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/for_mathlib/free_abelian_group.lean
d4641d5579af10fbf3c1d2c6bcea87fa69a12116
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,779
lean
import group_theory.free_abelian_group import data.finsupp.basic /-! In this file we define the equivalence between `free_abelian_group X` and `X →₀ ℤ` (the type of finitely supported function `X → ℤ`). Both types come with useful machinery, and the purpose of this file is to transport some of the machinery from one t...
f62ac6a299d8aeac6869fce642d65f82c633241f
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/ScopedEnvExtension.lean
f6e7cde48454fa02c2f587ee8fcfbe37d39be087
[ "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
8,502
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Environment import Lean.Data.NameTrie import Lean.Attributes namespace Lean namespace ScopedEnvExtension inductive Entry (α : Type) where |...