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
5d799771643143867cef60386244dfa863ff92df
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/parser/test2.lean
dfcff5987b06151de83b29a3f9145ce0f7f294d3
[ "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,756
lean
import parser abbrev Parser (α : Type) := Lean.Parser.ParserM Unit Unit Unit α open Lean.Parser def check {α} [BEq α] (p : Parser α) (s : String) (e : α) : IO Unit := match p.run () () s with | Lean.Parser.Result.ok v i _ _ := do IO.println ("Ok at " ++ toString i), unless (v == e) (throw "unexpected result") |...
a8126383ac2749177ff2f9b583b6576a6a2e1808
cc62cd292c1acc80a10b1c645915b70d2cdee661
/src/category_theory/functor/functorial.lean
504855a83c4085452daa6a8096261715d8182874
[]
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
921
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.functor import category_theory.tactics.obviously namespace category_theory universes u₁ u₂ variable {C : Type (u₁+1)} variable [large_c...
a1a4cc5e111aeea405ccc282aede693804c4c06a
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/data/nat/basic.lean
b0d9d0770eb80a5042f8ffc730f574fa0bcb99fe
[ "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
12,900
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Floris van Doorn. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Author: Floris van Doorn --------------------------------------------------------...
229011020f9cabea693d3f4f517756f762b67929
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/traversable.lean
9751f1939229108ea001ca53e754e0338d91dfca
[ "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
2,109
lean
import control.traversable.derive import control.traversable.instances universes u /- traversable -/ open tactic.interactive run_cmd do lawful_traversable_derive_handler' `test ``(is_lawful_traversable) ``list -- the above creates local instances of `traversable` and `is_lawful_traversable` -- for `list` -- do not p...
9495616d53aab989e64ed9a45a907b0e83c818ff
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/range.lean
0280b36be2c4399a003ae0b032a5c4c17e7accd9
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,133
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.basic import Mathlib.data.list.range import Mathlib.PostPort namespace...
f8dea63193503ce26c210b2ee9dbe858ae333162
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/logic/prop.lean
f2df9409680890a3003a4cf7b48870c6ce1f9531
[ "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,367
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, Jeremy Avigad import general_notation type -- implication -- ----------- definition imp (a b : Prop) : Prop := a → b -- true and false -- ---------...
22356f4705b702026981a0f6bd07845711302819
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/geometry/euclidean/basic.lean
f8d4cf7ee4f1fcce827d390ba5b2af6741f51bd0
[ "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
32,058
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Manuel Candales -/ import analysis.inner_product_space.projection import algebra.quadratic_discriminant /-! # Euclidean spaces > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. ...
61c483e5a8d74be279c4e9460b34fa546925e097
618003631150032a5676f229d13a079ac875ff77
/src/group_theory/bundled_subgroup.lean
9baf26be107d970fcb2ef124b89eb3286ab1d490
[ "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
28,275
lean
/- Copyright (c) 2020 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import group_theory.subgroup /-! # Subgroups This file defines multiplicative and additive subgroups as an extension of submonoids, in a bundled form (unbundled subgroup...
5fe417c72d5db6d3b5dea0e6bee59391e559412c
5a5e1bb8063d7934afac91f30aa17c715821040b
/lean3SOS/src/float/round.lean
c1c8ae2d6f0a7a9eb08f7b9ba3efdbbd088a7cd3
[]
no_license
ramonfmir/leanSOS
1883392d73710db5c6e291a2abd03a6c5b44a42b
14b50713dc887f6d408b7b2bce1f8af5bb619958
refs/heads/main
1,683,348,826,105
1,622,056,982,000
1,622,056,982,000
341,232,766
1
0
null
null
null
null
UTF-8
Lean
false
false
1,108
lean
import float.basic -- Following https://isabelle.in.tum.de/website-Isabelle2013/dist/library/HOL/HOL-Library/Float.html variable (prec : ℕ) def round_up (x : ℚ) : 𝔽 := float.mk (⌈x * 2 ^ prec⌉) (-prec) def round_down (x : ℚ) : 𝔽 := float.mk (⌊x * 2 ^ prec⌋) (-prec) lemma round_up_zero : round_up prec 0 = 0 :=...
fd087655c6c159d9ffc311ef5669d405d993d227
da3a76c514d38801bae19e8a9e496dc31f8e5866
/library/init/meta/lean/parser.lean
72f779a4e1dd9c4f1c60104f671567a6541a83a7
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
2,306
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.data.option.basic init.category.monad init.category.alternative import init.meta.pexpr init.meta.interaction_monad namespace lean -- T...
8775366bcf0e023e18d5cb46e4b3a1a67fb9aa11
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/elabissues/vars.lean
dc9e8375be9b51a95c6bcee74d49755f1f93fb73
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,166
lean
def f1 {α} [ToString α] (a : α) : String := -- works ">> " ++ toString a -- Moving `{α} [ToString α]` to a `variables` break the example variables {α} [ToString α] def f2 (a : α) : String := ">> " ++ toString a class Dummy (α : Type) := (val : α) /- The following fails because `variables {α : Type _} [Dummy α]` is p...
b5d2b1298c473898baaa5992a8c3be38ab999298
3618c6e11aa822fd542440674dfb9a7b9921dba0
/scratch/main.lean
43872a5313989861e9bac0430b810ab9f8089ea5
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
3,587
lean
import .exp_sum_eq_zero import .base_case import .choose_letters import .no_exp_sum_zero import .golf open semidirect_product -- Did I take into account the case when T is everything in r? -- This rarely happens right? Unless it happens at the start -- Proof assumes wlog every element of S appears in r, where is this ...
1a6d03971a1b839244f4e51036b60fceb42849c2
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebraic_topology/cech_nerve.lean
4a0ce5ebc27b3ac1f2457755d9255e205a9ada45
[ "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,460
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import algebraic_topology.simplicial_object import category_theory.limits.shapes.wide_pullbacks import category_theory.arrow /-! # The Čech Nerve This file provides a def...
2bd88567caa39c0bc51f719eaf2deeadbaf4e790
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed/group/SemiNormedGroup/completion.lean
05582511cc5f9cd726130f9b73c56fbfed576322
[ "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
4,513
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca, Johan Commelin -/ import analysis.normed.group.SemiNormedGroup import category_theory.preadditive.additive_functor import analysis.normed.group.hom_completion /-! # ...
3124079921abb35ffdbdc530ede1d45ce4b40f3b
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/no_eqn_lemma_for_meta_default.lean
54e0ac2d743689c6fe675f101c2bafc1dafd32f6
[ "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
62
lean
meta structure foo := (x := 10) #print prefix foo.x._default
d298e082ac7735eab2522495979a00dcbbd30fcb
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/splitting_field.lean
50eb8508117e3cd54e6db52074ca3a7a9ed6fadc
[ "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
19,604
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import field_theory.intermediate_field import ring_theory.adjoin.field /-! # Splitting fields This file introduces the notion of a splitting field of a polynomial and p...
c7ea3bf0a8ceb6c610903846be8c7d0c9070a429
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/groupk.lean
493a302004bd25e5af4f762ee98c550220fe1716
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
17,273
lean
import category_theory.limits.limits import category_theory.limits.shapes import category_theory.yoneda import category_theory.opposites import category_theory.types import category_theory.limits.types -- set_option trace.simplify.rewrite true run_cmd mk_simp_attr `PRODUCT ----- BOF BOF meta def PRODUCT_C...
ff8a84f2d263eac829c0a78759d9b2852f3d30af
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/order/filter/pointwise.lean
93176f5304554aeb1ec07e7d60a0b2017a9e2554
[ "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
9,443
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou The pointwise operations on filters have nice properties, such as • map m (f₁ * f₂) = map m f₁ * map m f₂ • nhds x * nhds y = nhds (x * y) -/ import algebra.pointwi...
18c92016b8278550b68c17e30ccc4e164c1db209
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/algebra/monoid.lean
d9b59a3e56f7a24dc751e0a37d7c1c012063dfaa
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
5,314
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 topological monoids. TODO: generalize `topological_monoid` and `topological_add_monoid` to semigroups, or add a type class `topological_opera...
d4fdc17ed8b504f908e0e08c8d0e52d1f6f3951c
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/data/prod.lean
f43ff7e62be29b992db03d358e3cb07c30216dac
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,235
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.prod Author: Leonardo de Moura, Jeremy Avigad -/ import logic.eq open inhabited decidable eq.ops namespace prod variables {A B : Type} {a₁ a₂ : A} {b₁ b₂ : B} {u : A × B...
75ee134936aa6c868ab43975623ab2406397d292
3af272061d36e7f3f0521cceaa3a847ed4e03af9
/src/SL2Z_generators.lean
88b4a2bc59f581d475bf9927eb15db0f3aaa4bd0
[]
no_license
semorrison/kbb
fdab0929d21dca880d835081814225a95f946187
229bd06e840bc7a7438b8fee6802a4f8024419e3
refs/heads/master
1,585,351,834,355
1,539,848,241,000
1,539,848,241,000
147,323,315
2
1
null
null
null
null
UTF-8
Lean
false
false
15,221
lean
import .modular_group import .action lemma mul_pos_iff {α : Type*} [linear_ordered_ring α] (a b : α) : 0 < a * b ↔ (0 < a ∧ 0 < b) ∨ (a < 0 ∧ b < 0) := iff.intro pos_and_pos_or_neg_and_neg_of_mul_pos $ assume h, match h with | or.inl ⟨ha, hb⟩ := mul_pos ha hb | or.inr ⟨ha, hb⟩ := mul_pos_of_neg_of_neg ha hb...
a9fa639413602ea380668d9bc422976be8d5be68
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/algebra/gcd_domain.lean
80dfa090ab3ca68d619b05e7e74af58f7b3bdccc
[ "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
13,884
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker GCD domain and integral domains with normalization functions TODO: abstract the domains to to semi domains (i.e. domains on semirings) to include ℕ and...
51f2b6bf04bfe1203207faf8dd12a2564d4e5877
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/metric_space/emetric_space.lean
eab0aab89d6714aff6ac5a63e5faa8dec30f735b
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
46,747
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import data.nat.interval import data.real.ennreal import topology.uniform_space.pi import topo...
e86e7985ae521012d0c258a8638250493d22fa8d
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/monoidal_categories/monoidal_structure_from_products.lean
db196b82935d1af572ade38f1475812382eb42c0
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
4,978
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 .braided_monoidal_category import ..universal.universal open tqft.categories open tqft.categories.functor open tqft.categories.products open tqft.categorie...
11863a9238c9cdc6d9b1318e981a04858874e546
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/matrix/block.lean
d7fce563c677247e7a699e646b0234a7f5f23fac
[ "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
9,914
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import linear_algebra.matrix.determinant /-! # Block matrices and their determinant This file defines a predicate `matrix....
ae717d27b6090e7a8c4fa17d8d5d9fdf3d20fb54
3c9dc4ea6cc92e02634ef557110bde9eae393338
/src/Lean/Elab/Util.lean
6994b63425968e83706df5784d26fd1b1f1ebad9
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,596
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.Util.Trace import Lean.Parser.Syntax import Lean.Parser.Extension import Lean.KeyedDeclsAttribute import Lean.Elab.Exception namespace Lean de...
76700c1232d87a33d2b094551979608fa45951ea
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/geometry/euclidean/monge_point.lean
b5713ba092a1579c2ce4f6cd12dc6d313cdebf84
[ "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
38,061
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.circumcenter /-! # Monge point and orthocenter This file defines the orthocenter of a triangle, via its n-dimensional generalization, the Mong...
b438bbf187d01025d512cd26bf29e1c06f7edc63
9dc8cecdf3c4634764a18254e94d43da07142918
/src/geometry/euclidean/circumcenter.lean
69ada84e2f8bfa60914850b0611b983814bba714
[ "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
40,655
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.basic import linear_algebra.affine_space.finite_dimensional import tactic.derive_fintype /-! # Circumcenter and circumradius This file proves ...
64b13bbf0d7ca107203c99964a359a3270271e86
b2e508d02500f1512e1618150413e6be69d9db10
/src/category_theory/whiskering.lean
38ecd24f5266722794abe54a10e811628196162d
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
7,537
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.natural_isomorphism namespace category_theory universes u₁ v₁ u₂ v₂ u₃ v₃ u₄ v₄ section variables (C : Type u₁) [𝒞 : category.{v₁} C] ...
b0c481ffed93b33246f7b5108fd17d5c52fab7f9
b09ab112c2467bddcdeb905c5de5336fc58f1b2b
/ord.lean
2862f4bcee89d0c3092aeb786888f9454cae4893
[ "MIT" ]
permissive
Nolrai/EpsilonOrdinals
71b913c1674637eb68f29f8c3d2ecfd198717989
ff4c8945eb94b1baf7194efe79998832bcb6be2d
refs/heads/master
1,471,017,041,666
1,458,797,649,000
1,458,797,649,000
51,234,651
0
0
null
null
null
null
UTF-8
Lean
false
false
7,061
lean
inductive ord : Type := | Zero : ord | Stroke : ord -> ord -> ord open ord infix `∥`:50 := Stroke definition ord.has_zero [instance] : has_zero ord := {| has_zero, zero := Zero |} attribute Stroke [coercion] --this seems to act flaky? definition ord.has_one [instance] : has_one ord := has_one.mk (0 ∥ 0) in...
ad238f7c85df5e176cd7411933df32d4ab52a4d9
e6b8240a90527fd55d42d0ec6649253d5d0bd414
/src/algebra/big_operators.lean
a1d78b99fff9b7f2c645dc08858e9f10604ca1d8
[ "Apache-2.0" ]
permissive
mattearnshaw/mathlib
ac90f9fb8168aa642223bea3ffd0286b0cfde44f
d8dc1445cf8a8c74f8df60b9f7a1f5cf10946666
refs/heads/master
1,606,308,351,137
1,576,594,130,000
1,576,594,130,000
228,666,195
0
0
Apache-2.0
1,576,603,094,000
1,576,603,093,000
null
UTF-8
Lean
false
false
36,070
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 Some big operators for lists and finite sets. -/ import tactic.tauto data.list.basic data.finset data.nat.enat import algebra.group algebra.ordered_group algebra.group_...
1aa8229c689b9b94a8c57e9bf1b245f4e74eec07
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/rat/sqrt.lean
e33db9ef02079f15d3c5700b2febf3e8650f82c5
[ "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
1,165
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.rat.order import data.int.sqrt /-! # Square root on rational numbers This file defines the square root function on rational numbers, `ra...
a1a56fc2b34dd54f26b47b783639043082cfed98
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Server/FileWorker/RequestHandling.lean
7de5b44ecb71bf7666f42c2dfb6b5b8ded78cf0f
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
25,423
lean
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.DeclarationRange import Lean.Data.Json import Lean.Data.Lsp import Lean.Server.FileWorker.Utils import Lean.Server.Requests import...
16744a0e5f9903fe6cbad36ebdb1f413ebbed860
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/polynomial/degree/definitions.lean
f8d1c695c5469002ddde847dea1535286b5f37eb
[ "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
49,003
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.nat.with_bot import data.polynomial.induction import data.polynomial.monomial /-! # Theory of univariate poly...
3e2cc5d9f6aa27c6a1068f6e41e97596810c3ae3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/find_unused_decl2.lean
9e59c5bc054e8487faac8cccec3fccf60e423c15
[ "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
261
lean
import tactic.find_unused def unused1 : ℕ := 1 inductive unused_type | intro : unused_type def my_list := list ℕ def some_val : list ℕ := [1,2,3] @[main_declaration] def other_val : my_list := some_val def used_somewhere_else : my_list := some_val
797fb3d3b1c0cec4ffda713a9a44f478b3893e44
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/logic/axioms/examples/diaconescu.lean
d48fb2cf8fdd28c50eec14572cc52eae8efd2824
[ "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,951
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 ------------------------------------------------------...
94c84b5f6bbe438c6af821be3731ea037d5ed0bf
750acab0c635b67751bcfec43c5411aa3941c441
/sdg2.lean
cd719da5e55a98274115f4386cb84bbd0088129b
[]
no_license
nthomas103/lean_work
912f8e662cdd73ba97f5d3655ddb8a5d2cd204c9
7e9785cae2b60a77b41922fd5d5b159a1fae415c
refs/heads/master
1,586,739,169,355
1,455,759,226,000
1,455,759,226,000
50,978,095
0
0
null
null
null
null
UTF-8
Lean
false
false
4,077
lean
import standard algebra.module open algebra set prod prod.ops fin nat function -- SDG -- 1.1.1 variables {R : Type} [field R] definition D := { d : R | d ^ 2 = 0 } lemma zero_in_D : (0:R) ∈ D := sorry definition kock_lawvere (f : ∀ d, d ∈ D → R) : ∃! b : R, ∀ d (memD : d ∈ D), f d memD = f 0 zero_in_D...
d3c09a8d7a29e97e382d9f87082b07b77bd07027
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/adjoin.lean
d82d4c233958889314280852bd591250f1830e2e
[ "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
45,752
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import field_theory.intermediate_field import field_theory.separable import field_theory.splitting_field import ring_theory.tensor_prod...
666e282e82b3ab3abdd529932f68b40b225e0509
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/sites/sieves.lean
fcb14e3bb6273b8948a16ef711132ab503f2a3e5
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
25,047
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, E. W. Ayers -/ import order.complete_lattice import category_theory.over import category_theory.yoneda import category_theory.limits.shapes.pullbacks import data.set.latti...
809454eaf107a660618ceb9d48a0ba829cdc483b
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/geometry/euclidean/circumcenter.lean
aea4719f39aa815cc9bc07cfc581129f321dd0d3
[ "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
38,431
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.basic import linear_algebra.affine_space.finite_dimensional import tactic.derive_fintype /-! # Circumcenter and circumradius This file proves ...
cde5d7fe33fad6b0b04bfed30084013a12ba4d99
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/subring/basic.lean
be9c61b3ea2bdbe889ec72b900583f4eaf09a350
[ "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
39,816
lean
/- Copyright (c) 2020 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan -/ import group_theory.subgroup.basic import ring_theory.subsemiring.basic /-! # Subrings Let `R` be a ring. This file defines the "bundled" subring type `subring...
b99a5687351071938b6dee4af606d7bb167598ef
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Tactic/Split.lean
b44eff6fd00a05e8e569bb794ed33642b17fab4c
[ "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,458
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.Meta.Tactic.Split import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.Location namespace Lean.Elab.Tactic open Meta @[builtin_tactic Lean.Pa...
39290e77d61d987291961a46e30f08e58eb202e7
626e312b5c1cb2d88fca108f5933076012633192
/src/set_theory/pgame.lean
199d020014465a6fa0a186c335a49feec2d7095a
[ "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
42,425
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison -/ import logic.embedding import data.nat.cast import data.fin /-! # Combinatorial (pre-)games. The basic theory of com...
39a82809f5619762b440697723c101ffbf0fae99
4727251e0cd73359b15b664c3170e5d754078599
/archive/arithcc.lean
9de0770bbd8f2c3c7806ae82c9aaec09e3c2703a
[ "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,217
lean
/- Copyright (c) 2020 Xi Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xi Wang -/ import order.basic import tactic.basic /-! # A compiler for arithmetic expressions A formalization of the correctness of a compiler from arithmetic expressions to machine languag...
a3ae1ff23b9485afb8396082611518083b6f2fb9
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/07_Induction_and_Recursion.org.12.lean
dad71f4e6fac3dff33a48bdc68184507fa51e9f6
[]
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
714
lean
/- page 104 -/ import standard import data.examples.vector open nat vector prod -- BEGIN definition head {A : Type} : Π {n}, vector A (succ n) → A | head (h :: t) := h definition tail {A : Type} : Π {n}, vector A (succ n) → vector A n | tail (h :: t) := t theorem eta {A : Type} : ∀ {n} (v : vector A (succ n)), head...
98bbeb844ed7ddfae15e4496ad8a3daf1ee0e446
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/number_theory/sum_four_squares.lean
21856c92e431620b8af5d951a0700c55993e1f4b
[ "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
11,816
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.group_power.identities import data.zmod.basic import field_theory.finite.basic import data.int.parity import data.fintype.card /-! # Lagrange's four squa...
bd071f72891981f1de8ef31262692bf8e241bc56
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/def10.lean
48f2d926548aea118da633e6a27310c457631eb3
[ "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
693
lean
def f : Bool → Bool → Nat | true, true => 0 | _, _ => 3 example : f true true = 0 := rfl def g : Bool → Bool → Bool → Nat | true, _, true => 1 | _, false, false => 2 | a, _, b => f a b theorem ex1 : g true true true = 1 := rfl theorem ex2 : g true false true = 1 := rfl theorem ex3 :...
8016b5b672d7e328afe0cd1fc9cb2d87c94a2890
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/data/polynomial/degree/basic.lean
9c7c92a7871379823dbacae6f23a9536fe4a63cd
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,492
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.coeff import data.nat.with_bot /-! # Theory of univariate polynomials The definitions include `de...
99abb7dd0a341a2c16a9c12a69a6bfc99bc4f47c
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/data/complex/exponential.lean
9e3e8744c63fea9b75b3df84355681a0978062ed
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
46,845
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.archimedean import data.nat.choose data.complex.basic import tactic.linarith local attribute [instance, priority 0] cla...
83cd1b521f9c464e92f675a26e7b4c1ced390398
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/sizeof3.lean
a225f31920b8e09ad3a293d80880ac15de6669e0
[ "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,344
lean
set_option trace.Meta.sizeOf true in mutual inductive AList (α β : Type u) | nil | cons (a : α) (t : BList α β) inductive BList (α β : Type u) | cons (b : β) (t : AList α β) end #print AList.nil.sizeOf_spec #print AList.cons.sizeOf_spec #print BList.cons.sizeOf_spec mutual inductive Foo (α : Type u...
8b90e0f7409134bc1e122378f1b84604b17eb918
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/group/to_additive.lean
2d9e7465f241b7b9c112a996ffe7d4b32d7d7b90
[ "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
17,201
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury Kudryashov, Floris van Doorn -/ import tactic.transform_decl import tactic.algebra /-! # Transport multiplicative to additive This file defines an attribute `to_...
866992f048a6be71efb784b921de887acbf3fd37
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed_space/units.lean
8a23c6b7c6c589bbeae6dbb63160479ca7add7e1
[ "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,084
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.specific_limits /-! # The group of units of a complete normed ring This file contains the basic theory for the group of units (invertible elements...
f9604d29689363568afdc8d44e4ceb328f072ce5
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/set_theory/cardinal.lean
424549c4946a024b3d073488810feb93b597d205
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
52,027
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import data.set.countable import set_theory.schroeder_bernstein import data.fintype.card import data.nat.enat /-! # Cardinal Number...
9f70bd94ae5d35e5ea0908fd40b28464cacb4a07
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/pointwise.lean
16fb91cd128e6642a48f51091e25717d9e215b0b
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
18,265
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.module.basic import Mathlib.data.set.finite import Mathlib.group_...
0f8530beb6462e4aca0c9de6ede43afbab25bd60
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/logic.lean
dcc5f30a0ba0f555142bd1e3a5aa8039cfb42136
[]
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
11,519
lean
import logic.basic universe variables u u' u₀ u₁ u₂ v variables {α α' : Sort u} {β : Sort u'} lemma forall_imp_forall {p q : α → Prop} (h : ∀ a, (p a → q a)) (p : ∀ a, p a) : ∀ a, q a := assume a, h _ (p a) lemma forall_imp_forall' {p : α → Prop} {q : β → Prop} (f : β → α) (h : ∀ a, (p (f a) → ...
681e16f6d4cc986893cff31f5504e80bb48f4124
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/coe12.lean
0bf4b9ac8365e6ad75694dadd3e41c74e1b3e66c
[ "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
269
lean
import data.nat inductive foo (A B : Type) : Type := mk : (Π {C : Type}, A → C → B) → foo A B definition to_fun [coercion] {A B : Type} (f : foo A B) : Π {C : Type}, A → C → B := foo.rec (λf, f) f constant f : foo nat nat constant a : nat check f a true
fcb9bab85749e55532fb743d24d02b7873265541
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/def20.lean
2041cc77e390842223bf47d5e1525d0f372bc7bb
[ "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
758
lean
new_frontend def f : Char → Nat | 'a' => 0 | 'b' => 1 | 'c' => 2 | 'd' => 3 | 'e' => 4 | _ => 5 theorem ex1 : (f 'a', f 'b', f 'c', f 'd', f 'e', f 'f') = (0, 1, 2, 3, 4, 5) := rfl def g : Nat → Nat | 100000 => 0 | 200000 => 1 | 300000 => 2 | 400000 => 3 | _ => 5 theorem ex2 : (g 100000, g 200000, g 300000, ...
9428452c8cfa2e6dc8cfa1d11fe1d7e0719e020d
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/compiler/bytearray_bug.lean
d200af09b8e9063f8cf28c89e7540c4d677012e0
[ "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
150
lean
def main (xs : List String) : IO Unit := let arr := (let e := ByteArray.empty; e.push (UInt8.ofNat 10)); let v := arr.data.get! 0; IO.println v
dd648983eb7a12bb1f2d13a92a42f89dc0a8a50c
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/vector/tail_lemmas.lean
d40329aff0b2b7b7b38a6a7df433ac98e0ffa7d7
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
700
lean
/- Lemmas for tail, and a total tail function. -/ import data.vector import ..list.tail universe variables u namespace vector variable {α : Type u} variable {n : ℕ} @[simp] theorem to_list_tail (v : vector α (nat.succ n)) : to_list (tail v) = list.tail (to_list v) := begin cases v, cases val, contradiction, ...
b0462eda87ef87f2c22fd22029137cc6fea5569a
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/class_group.lean
5d6f4889966dfa9d1f763a32621fc105d6b2b3f2
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
10,445
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import group_theory.quotient_group import ring_theory.dedekind_domain.ideal /-! # The ideal class group This file defines the ideal class group `class_group R K` of frac...
739294dc626ff98a402b880ce9539d664ab65f8c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/module/big_operators.lean
4a918ebcfe9872027359da5bd4bacd4bcc4bfa66
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
1,113
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import algebra.module.basic import algebra.big_operators.basic /-! # Finite sums over modules over a ring -/ ope...
4f41510020d49d41dbf64ce203234a4ded9ec4c7
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/LocalContext.lean
83c6c76a54de1315c72946ebf33e7a3cbf3ad5fa
[ "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
13,681
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.Data.PersistentArray import Lean.Expr import Lean.Hygiene namespace Lean inductive LocalDecl | cdecl (index : Nat) (fvarId : FVarId) (userName ...
e1c6e5da8ca0a666766b99a6b9ee61d289707fdd
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170509-transport_lemmas.lean
1a04228bfba1677c0fce195db653acd47501fdcf
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
12,665
lean
definition {u v} transport {A : Type u} { P : A → Type v} {x y : A} (p : x = y) (u : P x) : P y := by induction p; exact u definition {u v w} apdt011 {A : Type u} {Z : Type w} {B : A → Type v} (f : Πa, B a → Z) {a a' : A} {b : B a} {b' : B a'} (Ha : a = a') (Hb : transport Ha b = b') : f ...
3ed6c5e479498ea71b149bbdbaec923398e481b5
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/algebra/field.lean
d8efa5e834a54f947b8586076322919263baf5a4
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,876
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Johannes Hölzl, Mario Carneiro -/ import algebra.ring.basic import algebra.group_with_zero open set set_option old_structure_cmd true universe u variab...
7ab1e86febb56e5083f8bf4d2f238824beb4a51d
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/data/equiv/basic.lean
e9409915dfbb2a7b37675489483e683748bb7ccd
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
39,727
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types h...
7c58d1023919bab3abffc2c2331cdf12a090d585
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Lean/Meta/Basic.lean
3243c517c1948be5a26f7e85aa5bc335be74444c
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,810
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.Data.LOption import Lean.Environment import Lean.Class import Lean.ReducibilityAttrs import Lean.Util.Trace import Lean.Util.RecDepth import Lea...
b666507e6623f0df39f7974a4ec265aefd540e98
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/category/Module/basic.lean
f331e9d117c94c4286ee3f4226ec653f26923490
[ "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
11,111
lean
/- Copyright (c) 2019 Robert A. Spencer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert A. Spencer, Markus Himmel -/ import algebra.category.Group.preadditive import category_theory.limits.shapes.kernels import category_theory.linear import category_theory.eleme...
0909f68b5ae4977acc34db9a8b10afac0fb6194c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/macro.lean
1f1f9c2f259b50380cf11f72dabf297c1190fae4
[ "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,225
lean
abbrev Set (α : Type) := α → Prop axiom setOf {α : Type} : (α → Prop) → Set α axiom mem {α : Type} : α → Set α → Prop axiom univ {α : Type} : Set α axiom Union {α : Type} : Set (Set α) → Set α syntax:100 (priority := high) term " ∈ " term:99 : term macro_rules | `($x ∈ $s) => `(mem $x $s) declare_syntax_cat index s...
0d52fac6e5c4499fe1c887f7e711a09d701941f9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/homology/homological_complex.lean
7bbcf28f61770b698d739c3fb53d4726306a9b82
[ "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
31,853
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import algebra.homology.complex_shape import category_theory.subobject.limits import category_theory.graded_object /-! # Homological complexes. > TH...
bcb2dceec88239a8ec87e9ea03fbb526d869027f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/morphism_property.lean
a690812286cc414f2da1e6e3934b9d1fbce17d45
[ "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
23,548
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.limits.shapes.diagonal import category_theory.arrow import category_theory.limits.shapes.comm_sq import category_theory.concrete_category.basic /-! ...
18b588924c7df01f98323779b6b45be83f36e01c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/calculus/formal_multilinear_series.lean
8ceba969eece505e1c9092289e42322af5a7f472
[]
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
7,273
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.normed_space.multilinear import Mathlib.ring_theory.power_series.basic import...
69f4657cf8df9b44ad6c9eae948f1f7824b0f2e4
2f4707593665f4eac651cd5e5b39ea8eabafe0d6
/src/pequiv.lean
59df4fb2dade80761a594eb57b32732bfcc7e159
[]
no_license
PatrickMassot/lean-differential-topology
941d2ac639b2c8bcfcbad85fe5ff0a4676d159e9
5b020daa5f935140c53408748a9f11ba02e7bf42
refs/heads/master
1,543,081,959,510
1,536,089,170,000
1,536,089,170,000
112,875,905
12
5
null
1,520,841,685,000
1,512,247,905,000
Lean
UTF-8
Lean
false
false
4,273
lean
import logic.function data.set.function import tactic.interactive import tactic.easy meta def unfold_comp : tactic unit := `[repeat { rw comp_apply }] open function set universes u v w variables {α : Type*} {β : Type*} {γ : Type*} /-- `pequiv α β` is the type of functions from `α → β` which induce a bijection...
6d9aa50a879a473b7d3899fba6cc90a36457b5ed
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/affine_space/finite_dimensional.lean
7c181394b7b5edd579f99b6d7f35800030d721cb
[ "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
20,247
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.independent import linear_algebra.finite_dimensional /-! # Finite-dimensional subspaces of affine spaces. This file provides a few re...
8a6800e22000a10ee8c994a966a21b11a1106860
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/dynamics/circle/rotation_number/translation_number.lean
7bdd98ca4f712cc8cfab6c2e7082404d0f2655e0
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,648
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import algebra.iterate_hom import analysis.specific_limits import topology.algebra.ordered.monotone_continuity import order.iterate import order.semiconj_Sup ...
f61409c7e3fb9a9540cf5f37acb7c623923906d2
367134ba5a65885e863bdc4507601606690974c1
/src/deprecated/subfield.lean
b68a58095d3f4a61aa60c0ffac71038dc8f56ffc
[ "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
5,171
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import deprecated.subring import algebra.group_with_zero.power variables {F : Type*} [field F] (S : set F) class is_subfield extends is_subring S : Prop := (inv...
d15e01d6213955505141e920ac425746d2a0f69e
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/probability_theory/notation.lean
4f1fa289a1660769a1d99b9a018eeb818c6f345c
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,532
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 measure_theory.function.conditional_expectation import measure_theory.decomposition.radon_nikodym /-! # Notations for probability theory This file defines the fo...
075bd06b35608a7a8f8b4bfe844a38e580c9f17b
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/Format.lean
b2bbe415adf546e531a483dd87bcb2cabf7ff9f7
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
596
lean
#lang lean4 open Lean open Std open Std.Format def eval (w : Nat) (f : Format) : IO Unit := do IO.println $ f.pretty w -- hard line breaks should re-evaluate flattening behavior within group #eval eval 5 $ fill (text "a" ++ line ++ text "b\nlooooooooong" ++ line ++ text "c") ++ line ++ text "d" -- basic `fill` test ...
fbdc64c0de89877bf579bd8e84fcb2713a3fa7cd
caa1512363b76923d0e9cdb716122a5c26c3c6bc
/src/inner_product_space.lean
e3c589368c5a03dfed9cc2a60ad3d721027bd817
[]
no_license
apurvanakade/cvx
deb20e425ce478159a98e1ffc0d37f9c88a89280
b47784831339df5a3e45f5cddd84edc545f95808
refs/heads/master
1,687,403,288,536
1,555,930,740,000
1,555,930,740,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,827
lean
-- based on Jeremy's Lean2 formalization import algebra.module import analysis.normed_space.basic import data.real.basic import linear_algebra.basic local attribute [instance] classical.prop_decidable noncomputable theory -- TODO: move lemma le_of_sqr_le_sqr {a : ℝ} {b : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hab : a ^ 2 ≤ b...
42848f823bf93dbdb0680bb935f9d5951fe15076
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/root.lean
a443a627d07c093a9fd5846f848ed24f41f5184e
[ "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
240
lean
import logic constant foo : Prop namespace N1 constant foo : Prop check N1.foo check _root_.foo namespace N2 constant foo : Prop check N1.foo check N1.N2.foo print raw foo print raw _root_.foo end N2 end N1
2c06f0020d71700cbcc9f5e8ac0881fac365c070
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Meta/LevelDefEq.lean
cc0037bbfe5e8e155eea361eb345555a440d9814
[ "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
8,386
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 -/ prelude import Init.Lean.Meta.Basic namespace Lean namespace Meta private partial def decAux? : Level → MetaM (Option Level) | Level.zero _ => pure...
26ffa20f1515e7f7f3e0e706bb928747f69b9ad7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/list/chain.lean
05e77e86c9f139865263bed0d4f67d222744b613
[ "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
14,719
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 ...
150791786b517ae2089f890fbdea752df387c3fe
d0664585e88edfefe384f2b01de54487029040bb
/src/uniform_structure/covers.lean
b5f85228b08d1c0aa3f1a487420813e07b35454b
[]
no_license
ImperialCollegeLondon/uniform-structures
acf0a092d764925564595c59e7347e066d2a78ab
a41a170ef125b36bdac1e2201f54affa958d0349
refs/heads/master
1,668,088,958,039
1,592,495,127,000
1,592,495,127,000
269,964,470
2
0
null
null
null
null
UTF-8
Lean
false
false
2,338
lean
import tactic import data.set.basic open set /-- a cover of X is a set of subsets of X whose union is X -/ structure cover (X : Type) := (C : set (set X)) (cov : ∀ x : X, ∃ U ∈ C, x ∈ U) -- note that the subset X of X isn't called X! X is a type. The subset X of X -- is called `univ` /-- The cover {X} of X -/ def u...
2cfe2ba4924d53b1ddd99b716aa0f3a598a60a41
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/destruct.lean
1763337ec39f7a4ec4ed5cd3df224de2ff1c4c98
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
946
lean
universe variables u inductive Vec (α : Type u) : nat → Type (max 1 u) | nil : Vec 0 | cons : ∀ {n}, α → Vec n → Vec (nat.succ n) lemma split {α : Type u} {n : nat} (v : Vec α n) : (v == (Vec.nil α) ∧ n = 0) ∨ ∃ m h (t : Vec α m), v == Vec.cons h t ∧ n = nat.succ m := Vec.cases_on v (or.inl ⟨heq.refl _, rfl⟩) ...
026fbcdc3e5b0fdda4f956699286a95e140c40ac
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/instances/real_vector_space.lean
6ce4f34a597606e4e856840634093e5c074ed167
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
1,477
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 topology.algebra.module import topology.instances.real /-! # Continuous additive maps are `ℝ`-linear In this file we prove that a continuous map `f : E →+ ...
c59f11722a1bd247425367855900e8de394232f8
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Init/Data/Format/Syntax.lean
bda8e9ae8458b35c59800420930f566f84712ada
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
1,814
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Format.Macro import Init.Data.Format.Instances import Init.Meta namespace Lean.Syntax open Std open Std.Format private def format...
adc98ef77ee82ce687cdab501a683f1f10b74b4f
a6b711a4e8db20755026231f7ed529a9014b2b6d
/ZZ_IGNORE/RAW/predicates.lean
25553939292d0848e89f7bd5d5f4a2bf20fc4f6f
[]
no_license
chaseboettner/cs-dm-1
b67d4a7e86f56bce59d2af115503769749d423b2
80b35f2957ffaa45b8b7a4479a3570a2d6eb4db0
refs/heads/master
1,585,367,603,488
1,536,235,675,000
1,536,235,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,105
lean
/- Predicates -/ def isZero (n: nat) := n = 0 ∨ false /- isZero 3 -- 3 = 0 N isZero 1 -- 1 = 0 N isZero 0 -- 0 = 0 Y isZero -1 -- type error -/ /- or.introduction -/ theorem o1 : 0 = 0 ∨ 0 = 1 := or.intro_left (0 = 1) (eq.refl 0) #check (isZero 3) #reduce isZero 3 theorem foo: isZero 0 := or.in...
f416ea2f7d36b7d65947406260d21e41d56317b0
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/set/intervals/image_preimage.lean
499107c7ad08c34fbd3cd5ca07a607bb8d1c5841
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,647
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Patrick Massot -/ import data.set.intervals.basic import data.equiv.mul_add import algebra.pointwise /-! # (Pre)images of intervals In this file we prove a bu...
3b2a52f1fa9a26f7da9da0de013997d429b5134b
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/complex/basic.lean
a3adb83bb01bc6db604e372a32b74c6257458c06
[ "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
14,241
lean
/- Copyright (c) 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 data.complex.determinant import data.complex.is_R_or_C /-! # Normed space structure on `ℂ`. This file gathers basic facts on complex numbers of an analytic ...
63f288189e12d2f0413090380295100e88d0eafd
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/universal/proof.lean
2b2d5a11ee89f6ba5f6c4bc2ee79da16042ba05f
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
3,926
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .basic import .identity import .congruence import .model namespace universal universe u variables {τ : Type} {σ : Type u} {sig : signature τ σ} {ι : Type} (ax : ι → identity sig) ...
8856f79ed8d2d3d291cd72f4971e6d06a7678e5d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/finiteness.lean
0e829a45dadf2bbff774b30cf0b04392d24a1d04
[ "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,109
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import data.set.finite import data.finset import group_theory.quotient_group import group_theory.submonoid.operations import group_theory.subgroup.basic /-! # Fin...
900df1f1796094824879e9c5a749e771ba37458c
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/topology/maps.lean
6ff101142aa16d57e3dd43dcd2769d3423b5926e
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,520
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 ...
0b0c38d9454082d56010ee9d2678eacfc7308ee1
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/737.lean
977c72c0ca9d62aee762d92d8d2187457232a903
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,557
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). To do: o Break positive na...
7b778b8afdcedbfeb04cb5ebc7ed0710b1117212
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/control/applicative.lean
9d22f43feadcc3410590f1f0a18dc5167872a77d
[ "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
4,737
lean
/- Copyright (c) 2017 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Instances for identity and composition functors -/ import control.functor import algebra.group.basic universe variables u v w section lemmas open function variables {F : T...
56ccf7d5bc6a46d8d2625bb194535f657211cac0
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/types/arrow.hlean
576e7d4b3ac3b7e7bf241982b02ee438165c21fa
[ "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
2,760
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 arrow types (function spaces) -/ import types.pi open eq equiv is_equiv funext pi equiv.ops namespace pi variables {A A' : ...
3eaa9f721d4b3b434751e8d6a3e89715fe1325e7
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/Reformat.lean
c72d229f0d20f95e797cd2c3e10edd7690ff970f
[ "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,041
lean
/-! Parse and reformat file -/ import Lean.PrettyPrinter new_frontend open Lean open Lean.Elab open Lean.Elab.Term open Lean.Format unsafe def main (args : List String) : IO Unit := do let (debug, f) : Bool × String := match args with | [f, "-d"] => (true, f) | [f] => (false, f) | _ => panic! "usag...
186c5f04ebaf12889011dd83bc2e065d59af733d
130c49f47783503e462c16b2eff31933442be6ff
/stage0/src/Lean/Elab/Tactic/ElabTerm.lean
63f3622c6f45bd851acde8fac5502ff09de99acd
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,812
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.CollectMVars import Lean.Meta.Tactic.Apply import Lean.Meta.Tactic.Constructor import Lean.Meta.Tactic.Assert import Lean.Elab.Tactic.Basic...
a3685cf53ce735ed9ebee3a77afc35d109f98e4f
a44280b79dc85615010e3fbda46abf82c6730fa3
/tests/playground/task_test4.lean
7ec3e69bba6003f6b1e6834a7ed80b9ae2d8e58e
[ "Apache-2.0" ]
permissive
kodyvajjha/lean4
8e1c613248b531d47367ca6e8d97ee1046645aa1
c8a045d69fac152fd5e3a577f718615cecb9c53d
refs/heads/master
1,589,684,450,102
1,555,200,447,000
1,556,139,945,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
437
lean
def run1 (i : Nat) (n : Nat) (xs : List Nat) : Nat := n.repeat (λ _ r, let s := (">> [" ++ toString i ++ "] " ++ toString r) in xs.foldl (+) (r + s.length)) 0 def main (xs : List String) : IO UInt32 := let ys := (List.repeat 1 xs.head.toNat) in let ts : List (Task Nat) := (List.iota 10).map (λ i, Task.mk $ λ _, ru...
d0545b3c4d19fc9b81937771e8b35d9f11f1e3fe
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/ordered_ring.lean
a5e191ccfca4b595d159421199b104cee3e251fa
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
61,287
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 -/ import algebra.ordered_group import algebra.invertible import data.set.intervals.basic set_option old_structure_cmd true universe u...
ef011cec675741f1f6fceca4ac325712a9d5f6ed
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Server/Watchdog.lean
871ccbfa8b66ba1b5a9fa9f01632369e018b0cb3
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
34,409
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Init.Data.ByteArray import Lean.Data.RBMap import Lean.Elab.Import import Lean.Util.Paths import Lean.Data.FuzzyMatch...
100ed46e710148f83a2fa27699634e0b6bd0f6e8
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/sigma/basic.lean
ff7ddbacfa6888b344555e3beb55faae2714a154
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
3,155
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ section sigma variables {α : Type*} {β : α → Type*} instance [inhabited α] [inhabited (β (default α))] : inhabited (sigma β) := ⟨⟨default α, default (β (default α))⟩...