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
3ace1fc70fd56c28ff77f27a2983198dfe075172
4fa161becb8ce7378a709f5992a594764699e268
/src/tactic/equiv_rw.lean
d934ddd3caba40793694be2d3fc239cf484909a8
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
12,065
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import control.equiv_functor.instances /-! # The `equiv_rw` tactic transports goals or hypotheses along equivalences. The basic syntax is `equiv_rw e`, where `e : α...
f00fcd475d721b176e87f6127124296a29aea703
6b02ce66658141f3e0aa3dfa88cd30bbbb24d17b
/stage0/src/Lean/Parser/Do.lean
c7eb1af7ce4f352a774e8a57498e6e4a6ff1a5a9
[ "Apache-2.0" ]
permissive
pbrinkmeier/lean4
d31991fd64095e64490cb7157bcc6803f9c48af4
32fd82efc2eaf1232299e930ec16624b370eac39
refs/heads/master
1,681,364,001,662
1,618,425,427,000
1,618,425,427,000
358,314,562
0
0
Apache-2.0
1,618,504,558,000
1,618,501,999,000
null
UTF-8
Lean
false
false
7,252
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.Parser.Term namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribute `builtinDoElemParser `doElem builtin_initialize ...
cf5258f05963cd51ae9703c63f5aec63dc23e6f5
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/ring_theory/fractional_ideal.lean
a9de343bb9234c5c314abc749f3e10c98edaee37
[ "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
39,604
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Filippo A. E. Nuccio -/ import ring_theory.localization import ring_theory.noetherian import ring_theory.principal_ideal_domain import tactic.field_simp /-! # Fractional ide...
0103c82067fe95f43d77f2fd7a579b4988771854
618003631150032a5676f229d13a079ac875ff77
/src/data/zsqrtd/basic.lean
680708991c3dfce0b217a1c2e1a62fdb0225bc45
[ "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
26,125
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.associated import tactic.ring /-- The ring of integers adjoined with a square root of `d`. These have the form `a + b √d` where `a b : ℤ`. The compo...
489f2dd93f654b92d384140c278fd0a6f36c554d
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/run/trace.lean
7435713f35d8e0d0cb45b1c853a25cc493bd9211
[ "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
1,375
lean
import Lean.CoreM open Lean structure MyState := (traceState : TraceState := {}) (s : Nat := 0) abbrev M := CoreM def tst1 : M Unit := do trace! `module (m!"hello" ++ MessageData.nest 9 (m!"\n" ++ "world")); trace! `module.aux "another message"; pure () def tst2 (b : Bool) : M Unit := traceCtx `modu...
6709c55c15a452c8686064ee168956a63aafcaaa
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tmp/new-frontend/parser/stringliteral.lean
0440387bf3ca68a003226a8a9579718f3c14661e
[ "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
1,667
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.lean.parser.parsec namespace Lean namespace Parser open MonadParsec variables {m : Type → Type} {μ : Type} [Monad m] [MonadParsec μ m] ...
4b1d7253e7b3370ecad45cb4fe52d23b33ebc473
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/topology/algebra/group.lean
c766b209e13f2e092ed405dd18ba239affb20477
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
20,435
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 Theory of topological groups. -/ import order.filter.pointwise import group_theory.quotient_group import topology.algebra.monoid import...
2202d001cc44bc499561f952932865cbc0a4956b
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/int/cast.lean
bd7dee2ef7aab81afae3d28b8677d54c56e29c13
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
11,653
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.int.basic import data.nat.cast /-! # Cast of integers This file defines the *canonical* homomorphism from the integers into a type `α` with `0`, `1`, `+...
07912942dec64456caaa23843541073794da6b14
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/category_theory/functor.lean
ab227e097c52360d7d3d9e479d8f82e6fc56e481
[ "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
3,111
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison Defines a functor between categories. (As it is a 'bundled' object rather than the `is_functorial` typeclass parametrised by the underlyin...
800b05c0d98fa4ff802118bc6d6caf5140209cff
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/prime_ideal.lean
1ca320f66c408d96bab6ffe9f74b60e0cc6ce5ce
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,286
lean
/- Copyright (c) 2021 Noam Atar. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Noam Atar -/ import order.ideal import order.pfilter /-! # Prime ideals > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. ## M...
3d4b5d6d10a476b96bb73ddef50629c1e7a05a61
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/measure_theory/l2_space.lean
08718edfc6e125e972da494e5df82bff5b19afd6
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,746
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import analysis.normed_space.inner_product import measure_theory.set_integral /-! # `L^2` space If `E` is an inner product space over `𝕜` (`ℝ` or `ℂ`), then `Lp E 2 μ`...
376d1cc15448f3e2c56640b3aec5c154110ec370
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/multiset/intervals.lean
8e88e9c9630dd2d839a6b0bcf477672e79258b95
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
3,613
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.multiset.nodup import data.list.intervals /-! # Intervals in ℕ as multisets For now this only covers `Ico n m`, the "closed-open" interval containing `[...
3c8bb443c11f97fe1dea1ef16aaf16787721e86b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/polynomial/coeff.lean
f1b419fa95fa2249d595a7fb6efce78c3dcbc705
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,555
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.monomial import data.finset.nat_antidiagonal /-! # Theory of univariate polynomials The theorems ...
eb50ab69f5c69627c8cc98e151815384b98b5c80
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/set/intervals/disjoint.lean
fa32b6c29e8fa6c757a4016e5620089bcc7f2eeb
[ "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
5,726
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, Yury Kudryashov -/ import data.set.lattice /-! # Extra lemmas about intervals This file contains lemmas about intervals that cannot be included into `data.set.int...
53edf0fda8d0ba5b443882353300eca54a968cec
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/data/nat/cast.lean
e4d68dc4b3f9b9a9b76c5f0605bbcfe262917a21
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
3,738
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Natural homomorphism from the natural numbers into a monoid with one. -/ import tactic.interactive algebra.order algebra.ordered_group namespace nat variables {α : Typ...
b650631c4260f2e84b692549f73977c7cff4444c
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/data/finset.lean
7ebab1aa0233bf1cc68861dcc8bc8739ff173c49
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
101,603
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro Finite sets. -/ import logic.embedding algebra.order_functions data.multiset data.sigma.basic data.set.lattice op...
91d04ec1a02d170a749f5d701a113c129b1c7742
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/algebra/order/compact.lean
c2aa39290434e0c6f0f817f3567c87dab5fe0b94
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
19,141
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Yury Kudryashov -/ import topology.algebra.order.intermediate_value import topology.local_extr /-! # Compactness of a closed interval In this file we prove that a clo...
1f8fd4492200edb5272c049ad0aad01839d2b26b
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/sec_param_pp.lean
bb7555f718e043db90591e85ecdbd854146cdb69
[ "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
281
lean
section parameters {A : Type*} (a : A) variable f : A → A → A definition id2 : A := a #check id2 definition pr (b : A) : A := f a b #check pr f id2 set_option pp.universes true #check pr f id2 definition pr2 (B : Type*) (b : B) : A := a #check pr2 num 10 end
f5cadb6a3d4b656908af1c4c1fd83840a7ae5ed9
675b8263050a5d74b89ceab381ac81ce70535688
/src/measure_theory/measurable_space.lean
4378d8ab74df1103e8e9bed9384cfaea93eb41f0
[ "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
55,109
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.set.disjointed import data.set.countable import data.indicator_function import data.equiv.encodable.lattice import order.filter.basic /-!...
9e4899ba70e32daac66c93e983ebc4666c23ca0e
618003631150032a5676f229d13a079ac875ff77
/src/tactic/monotonicity/interactive.lean
fba1aae0844c8931b0b4d0e93d23f74e8bfe95b1
[ "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
23,491
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import tactic.monotonicity.basic import control.traversable import control.traversable.derive import data.dlist variables {a b c p : Prop} namespace tactic.interactive op...
65cf814f8c7632621fef69fb184011edb6ed1894
b73bd2854495d87ad5ce4f247cfcd6faa7e71c7e
/src/game/world5/level1.lean
d5c1c51aa0ce80ce7f5140cbb7b17391550c14d3
[]
no_license
agusakov/category-theory-game
20db0b26270e0c95a3d5605498570273d72f731d
652dd7e90ae706643b2a597e2c938403653e167d
refs/heads/master
1,669,201,216,310
1,595,740,057,000
1,595,740,057,000
280,895,295
12
0
null
null
null
null
UTF-8
Lean
false
false
1,302
lean
import category_theory.category.default import category_theory.functor import category_theory.isomorphism universes v₁ v₂ u₁ u₂ -- The order in this declaration matters: v often needs to be explicitly specified while u often can be omitted namespace category_theory variables (C : Type u₁) [category.{v₁} C] variabl...
d9d4a2df45e43c2d7cc48424c01525576b595837
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/evalWithMVar.lean
e6795fa5495351e18c94243291f29960efb795b6
[ "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
263
lean
new_frontend def c {α} : Sum α Nat := Sum.inr 10 def Sum.someRight {α β} (s : Sum α β) : Option β := match s with | Sum.inl _ => none | Sum.inr b => some b #check Sum.someRight c #eval Sum.someRight c #check Sum.someRight (s := c) #check c.someRight
e1905fdc846f22fa7e748a35bf86b0f55d6d62e7
b29f946a2f0afd23ef86b9219116968babbb9f4f
/src/limsup.lean
532ce749a2a80dcf889bee8a354c56f38d22eebb
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M1P1-lean
58be7394fded719d95e45e6b10e1ecf2ed3c7c4c
3723468cc50f8bebd00a9811caf25224a578de17
refs/heads/master
1,587,063,867,779
1,572,727,164,000
1,572,727,164,000
165,845,802
14
4
Apache-2.0
1,549,730,698,000
1,547,554,675,000
Lean
UTF-8
Lean
false
false
1,704
lean
-- amazing theory of limsups import limits namespace M1P1 /- Section Sequences, subsequences, and monotonic subsequences. -/ /- Sub-section Definitions -/ /- We model a sequence $a₀, a₁, a₂, \dots$ of real numbers as a function from $ℕ := \{0,1,2,\dots\}$ to $ℝ$, sending $n$ to $a_n$. We sometimes write such a seq...
1cee9147634cb36014835f698feccc6b2c82b541
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Elab/Exception.lean
5487038638558921f8ee463fb28618052a1d4f71
[ "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,906
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.InternalExceptionId import Lean.Meta.Exception namespace Lean namespace Elab def registerPostponeId : IO InternalExceptionId := registerIntern...
c550426fa9bb84814518647a3c9a0297001ff1b9
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/bench/rbmap_checkpoint.lean
be612f81babba356ade37b3e80625b5aca22a5f4
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
3,325
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.ordering.basic init.coe init.data.option.basic init.io universes u v w w' inductive color | Red | Black inductive Tree | Leaf {...
2bc8d352e6d4efdbb75f9e570dcec4c8d5e72d7a
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/number_theory/pythagorean_triples.lean
f2a311b5b8db582f199e8f760dbdfee5375d9f29
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
23,774
lean
/- Copyright (c) 2020 Paul van Wamelen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Paul van Wamelen. -/ import algebra.field import algebra.gcd_domain import algebra.group_with_zero_power import tactic /-! # Pythagorean Triples The main result is the classification...
22feea53a1dfa016c4d97ad8a89990844c54f035
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/reduce1.lean
342ac55419a93f63df4f806a25bec675ce72b8cd
[ "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,279
lean
partial def fact : Nat → Nat | 0 => 1 | (n+1) => (n+1)*fact n #eval fact 10 #eval fact 100 theorem tst1 : fact 10 = 3628800 := by nativeDecide theorem tst2 : fact 100 = 9332621544394415268169923885626670049071596826438162146859296389521759999322991560894146397615651828625369792082722375825118521091686400000000...
5b7dacc0067f5ede350c003db176ccedd397c2f2
26b290e100179c46233060ff9972c0758106c196
/test/cpdt3.lean
56673d7f51b2b281da6e667468816d88ebae6d65
[]
no_license
seanpm2001/LeanProver_Mini_Crush
f95f9e06230b171dd84cc49808f5b2f8378c5e03
cea4166b1b2970fba47907798e7fe0511e426cfd
refs/heads/master
1,688,908,222,650
1,547,825,246,000
1,547,825,246,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,717
lean
import mini_crush /- This corresponds to Chapter 2 of CPDT, Some Quick Examples -/ open list inductive binop : Type | Plus | Times open binop inductive exp : Type | Const : nat → exp | Binop : binop → exp → exp → exp open exp def binop_denote : binop → nat → nat → nat | Plus := (+) | Times := (*) def exp_denote ...
3c68eb02f8ae1b1441f2167034b7fc16d8271a5a
b815abf92ce063fe0d1fabf5b42da483552aa3e8
/library/init/data/default.lean
6fd0e7a95974af837e7a7bacf4242853e94547b1
[ "Apache-2.0" ]
permissive
yodalee/lean
a368d842df12c63e9f79414ed7bbee805b9001ef
317989bf9ef6ae1dec7488c2363dbfcdc16e0756
refs/heads/master
1,610,551,176,860
1,481,430,138,000
1,481,646,441,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
311
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.data.basic init.data.sigma init.data.nat init.data.char init.data.string import init.data.list init.data.sum init.data.subtype
56a0c4ad99daeb7634b56be831898b429be12306
4727251e0cd73359b15b664c3170e5d754078599
/archive/100-theorems-list/42_inverse_triangle_sum.lean
bb722ed24db984ea48a6061a0acf6b1ae40c53e4
[ "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,068
lean
/- Copyright (c) 2020. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jalex Stark, Yury Kudryashov -/ import data.real.basic /-! # Sum of the Reciprocals of the Triangular Numbers This file proves Theorem 42 from the [100 Theorems List](https://www.cs.ru.nl/~freek/10...
45e6c389bcde11b8d6a9cca0da8fe12549995708
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/geometry/manifold/times_cont_mdiff_map.lean
8f1b506b3e8518a71e8dfa66059bac240e156d24
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,388
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Nicolò Cavalleri. -/ import geometry.manifold.times_cont_mdiff import topology.continuous_map /-! # Smooth bundled map In this file we define the type `times_cont_mdiff_map` of `n` t...
5508b6a10765391f3c14ea4d130971508f939a03
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/type_class_performance1.lean
8de8faeba09f36fe2470bf303aa15ad92177aaa7
[ "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
190
lean
new_frontend #print USize def foo1 (a b : UInt64) : Bool := a = b def foo2 (a b : UInt16) : Bool := a = b def foo3 (a b : UInt32) : Bool := a = b def foo4 (a b : USize) : Bool := a = b
6bba0e459288df81720e92802bfd847a5da012bf
7541ac8517945d0f903ff5397e13e2ccd7c10573
/src/category_theory/idempotent_completion.lean
3880863a09027e69bc6bbc228acc9a50cd98be22
[]
no_license
ramonfmir/lean-category-theory
29b6bad9f62c2cdf7517a3135e5a12b340b4ed90
be516bcbc2dc21b99df2bcb8dde0d1e8de79c9ad
refs/heads/master
1,586,110,684,637
1,541,927,184,000
1,541,927,184,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,174
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import category_theory.equivalence namespace category_theory universes u u₁ u₂ structure Idempotent (C : Type (u+1)) [large_category C] := (obj...
28a4c3b41ace737f2476b4aff836d3d2b616449a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebraic_geometry/ringed_space.lean
7b145c23260892119b164abc46d1ed28a62fac33
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,781
lean
/- Copyright (c) 2021 Justus Springer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justus Springer -/ import algebraic_geometry.sheafed_space import algebraic_geometry.stalks import algebra.category.CommRing.limits import algebra.category.CommRing.colimits import al...
1de4904e872353daa622c37c9c5b06e73ea353a1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/module/projective.lean
c147cd4606636d20c68dfa38e02d5b1c272a80e0
[ "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,682
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Antoine Labelle -/ import algebra.module.basic import linear_algebra.finsupp import linear_algebra.free_module.basic /-! # Projective modules > THIS FILE IS SYNCHRONI...
c1ba3f18cb7c1141cbd5ef1ec3d802f743102cea
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/group_with_zero.lean
05ff3d8d95f23e9480bacf7c841aa4b026bf273f
[ "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
37,725
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 logic.nontrivial import algebra.group.units_hom import algebra.group.inj_surj /-! # Groups with an adjoined zero element This file describes structures that ...
1e58622d62540e45411779d6dc9202f3a1b49f73
ce4db867008cc96ee6ea6a34d39c2fa7c6ccb536
/src/tactiques.lean
eb0e959c865d649141744279420caa9f2d2be99e
[]
no_license
PatrickMassot/lean-bavard
ab0ceedd6bab43dc0444903a80b911c5fbfb23c3
92a1a8c7ff322e4f575ec709b8c5348990d64f18
refs/heads/master
1,679,565,084,665
1,616,158,570,000
1,616,158,570,000
348,144,867
1
1
null
null
null
null
UTF-8
Lean
false
false
99
lean
import .interactive_expr import .tokens import .Soit .Montrons .On .Par .Posons .Supposons .Fait
f75ff36b9ca257876f3d7972533ba15b71f2593f
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/13_More_Tactics.org.11.lean
179fc3147fd58fdf951172eead38c827d36fcf33
[]
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
218
lean
import standard variable p : nat → Prop variable q : nat → Prop variables a b c : nat example : p c → p b → q b → p a → ∃ x, p x ∧ q x := by intros; apply exists.intro; split; eassumption; eassumption
a49af8d1f63e4cb5f86e650966cb50f55bf36d4f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/category/NonemptyFinLinOrd.lean
ce6b0d711c3c1be8cd1f17fb24c9ad50cbacfc34
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,168
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.sort import Mathlib.data.fin import Mathlib.order.category.LinearOrder import ...
6c66b83eb57d4a2d650f7ef83ab26c7d17df5bbb
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/tactic/interactive.lean
9e454f1b9eb50461b507d18588336719c5bdd29d
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
21,972
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Sebastien Gouezel, Scott Morrison -/ import data.dlist data.dlist.basic data.prod category.basic tactic.basic tactic.rcases tactic.generalize_proofs ta...
b688925a9a02588ee46c23b745005f140c78355c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/inner_product_space/lax_milgram.lean
b7ed91982ec9e44c3914459a6a27b875934cf083
[ "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
4,653
lean
/- Copyright (c) 2022 Daniel Roca González. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Roca González -/ import analysis.inner_product_space.projection import analysis.inner_product_space.dual import analysis.normed_space.banach import analysis.normed_space.o...
3358fcfa5e4c4c737c5fce67915ed5689bf57b40
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level2.lean
357c20506c55b12554e84db094d55faaa571fcd2
[ "Apache-2.0" ]
permissive
nomoid/lean-proofs
4a80a97888699dee42b092b7b959b22d9aa0c066
b9f03a24623d1a1d111d6c2bbf53c617e2596d6a
refs/heads/master
1,674,955,317,080
1,607,475,706,000
1,607,475,706,000
314,104,281
0
0
null
null
null
null
UTF-8
Lean
false
false
198
lean
import mynat.definition namespace mynat theorem succ_succ_inj (a b : mynat) (h : succ(succ(a)) = succ(succ(b))) : a = b := begin apply succ_inj, apply succ_inj, exact h, end end mynat
3552bd065424a2263d18f92744e7c5f8d91044d9
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/simp23.lean
05aa0f6ed91bc5a318fbd0088d92b964816fdd4a
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
1,227
lean
variable vec : Nat → Type variable concat {n m : Nat} (v : vec n) (w : vec m) : vec (n + m) infixl 65 ; : concat axiom concat_assoc {n1 n2 n3 : Nat} (v1 : vec n1) (v2 : vec n2) (v3 : vec n3) : (v1 ; v2) ; v3 = cast (to_heq (congr2 vec (symm (Nat::add_assoc n1 n2 n3)))) ...
d9e773d53aafcfa38c1c39790435a3c7b0dee5bf
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/algebra/ring_bigops.lean
d0ac89458c498048be83e5f65896ab0f3b3f6ade
[ "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
6,130
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Properties of finite sums and products in various structures, including ordered rings and fields. There are two versions of every theorem: one for finsets, and one for fin...
898e679ec952a45c2500c025ede7e8bb69ead444
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/tests/lean/run/div_wf.lean
23ba2c665d781a5bc7e53ccf95e2d42ec03c656d
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
1,739
lean
open nat well_founded decidable prod set_option pp.all true -- Auxiliary lemma used to justify recursive call private definition lt_aux {x y : nat} (H : 0 < y ∧ y ≤ x) : x - y < x := and.rec_on H (λ ypos ylex, sub_lt (nat.lt_of_lt_of_le ypos ylex) ypos) definition wdiv.F (x : nat) (f : Π x₁, x₁ < x → nat → nat) (y...
886673e9bacd8ff90bb1a6ab9e6808a28eb91294
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/topology/uniform_space/complete_separated.lean
d598987b8507715440293a958c2b21afde52d9e8
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
1,358
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 Theory of complete separated uniform spaces. This file is for elementary lemmas that depend on both Cauchy filters and separation. -/ import topology.uniform_spa...
3eeef3e755f84fd1d32a017198ecc2350c5ad698
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/sum_bug.lean
0cecf9d7df4c77e3cb4f95cb12036b3217eac84a
[ "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
2,332
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 import logic open inhabited decidable namespace play -- TODO: take this outside the namespace when the inductive package handles it better ...
2d1f34caf6917a7ceaf6c311fcba8e3b09d64e00
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/linarith/preprocessing.lean
a8c3b621e165747529ad412b233b10a1d112297f
[ "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
12,230
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import tactic.linarith.datatypes import tactic.zify import tactic.cancel_denoms /-! # Linarith preprocessing This file contains methods used to preprocess inputs...
8047a13b0a1a31fd471a83e7a286b4db218ae3b8
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/tools/super/utils.lean
f453886427ec2afa487e23fb9655d1769f38afe6
[ "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
5,047
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ open tactic expr list meta def get_metas : expr → list expr | (var _) := [] | (sort _) := [] | (const _ _) := [] | (mvar n t) := expr.mvar n t :: get_metas t | (local_...
66952c389a21690ad21825a45c61e5e6c2eb71b1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/projective_spectrum/topology.lean
f215ce5fce05998485c720d5b01e9dcddbde107f
[ "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
18,858
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Johan Commelin -/ import ring_theory.graded_algebra.homogeneous_ideal import topology.category.Top.basic import topology.sets.opens /-! # Projective spectrum of a graded ...
af9563ed9c7da05ea34c9a9a8e6aff55733ac957
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebra/archimedean.lean
049100a44a619d382503376a397b3b2b1114f7ba
[ "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
9,980
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Archimedean groups and fields. -/ import algebra.field_power import data.rat variables {α : Type*} open_locale add_monoid class archimedean (α) [ordered_add_comm_mon...
67625246cd70a284e092e2b5209a363df8927a45
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/polynomial/eval.lean
9e677fd6dc6c5701f645a156408030388979da0f
[ "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
34,154
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.degree.definitions import algebra.geom_sum /-! # Theory of univariate polynomials The main defs h...
4821c26ae3b337b52e04a21bb416c3373c33a799
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/set/semiring.lean
118766638bb4f51a8503ff26a8069983ad0e2e96
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
4,400
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import data.set.pointwise /-! # Sets as a semiring under union This file defines `set_semiring α`, an alias of `set α`, which we endow with `∪` as addition and ...
cc8a934c1e9cc6e5e7ee5bcd647b1255cb213407
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/def4.lean
41f238bec565cfd71de5227cc890a78a329b790a
[ "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
422
lean
new_frontend inductive Foo : Bool → Type | Z : Foo false | O : Foo false → Foo true | E : Foo true → Foo false open Foo def toNat : {b : Bool} → Foo b → Nat | _, Z => 0 | _, O n => toNat n + 1 | _, E n => toNat n + 1 example : toNat (E (O Z)) = 2 := rfl example : toNat Z = 0 := rfl example (a : Foo false) : ...
6c9bd0df18c5dced7b02593a81266ea8703e5420
1437b3495ef9020d5413178aa33c0a625f15f15f
/category_theory/opposites.lean
95122d5bd7aaea035722ae4a74375a198a60fbea
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,047
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import category_theory.products import category_theory.types namespace category_theory universes v₁ v₂ u₁ u₂ -- declare the `v`'s first; see `ca...
6380f9ec5f6b6e4666656b4cf6f3e7e509ddf758
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/abelian/pseudoelements_auto.lean
ccc364c54ac10ef7a05d125dc96b1e823da5520c
[]
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
13,913
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.abelian.exact import Mathlib.category_theory.over import Mathlib.PostPort un...
13a789b749f77abe14b838afdd1b11421bdb1ce4
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/category/Module/basic.lean
e62e57eb55189ee7f09b67f45e1c071cd1c3b220
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,776
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.basic import category_theory.concrete_category import category_theory.limits.shapes.kernels import category_theory....
5c13141c702a267350149f94fb4bc0bcb0a7cb38
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/group_power.lean
6a2b57e383d93399746b2c3ec1e9824c011a1763
[ "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
29,721
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import data.int.basic import data.equiv.basic /-! # Power operations on monoids and groups The power operation on monoids and groups. We separate thi...
bbb42d13af069ec35437ded74827e9225241d4b5
618003631150032a5676f229d13a079ac875ff77
/src/measure_theory/outer_measure.lean
dbcfd1474c0af2c0f2768cdf68d2af6a00f08d4a
[ "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
19,846
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 Outer measures -- overapproximations of measures -/ import analysis.specific_limits import measure_theory.measurable_space noncomputable theory open s...
94450b0aa29daf41a502bf54f18520bb1d4c405d
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/preadditive/schur.lean
2ee5e3ae131fcc0ab9bbd9e53ee156797ae2c951
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
1,979
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import category_theory.simple import category_theory.preadditive /-! # Schur's lemma We prove the part of Schur's Lemma that holds in any preadditive ...
689f8563d5451a72ee961936b2b7247fdfebb8e5
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/metric_space/gromov_hausdorff_realized.lean
0799e37f1c6b51038aef43c6d65ac97c78ce3324
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
26,989
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 Construction of a good coupling between nonempty compact metric spaces, minimizing their Hausdorff distance. This construction is instrumental to study the Gromov-...
ff06915097438fcc6614e8f30784153f89c55bad
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/nat/succ_pred.lean
80d7312b5cede8bcd69f3c93a4a301a33d09b1e0
[ "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
1,588
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.succ_pred /-! # Successors and predecessors of naturals In this file, we show that `ℕ` is both an archimedean `succ_order` and an archimedean `pred_order`....
9bc5b8d8924cbc0c07a725c7555ec5e774f92bcf
e61a235b8468b03aee0120bf26ec615c045005d2
/tests/lean/run/newfrontend1.lean
5b83599338c9209597b3ebd3bf55809ae2ac44d8
[ "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
7,086
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 :...
ceb3593ca3b118d931c371d88370b169f1ff3fcf
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/group_with_zero.lean
7fe892cfd867db391c3559e0eefd65093fb68501
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
9,213
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.algebra.monoid import Mathlib.algebra.group.pi import Mathlib.PostPort uni...
388e010f11bcf819accd69b3a2975695c8ca2c86
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/category/Ring/colimits.lean
1d3bf64ea8c69610b351622624e934d28ab75d31
[ "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
13,306
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Ring.basic import category_theory.limits.has_limits import category_theory.concrete_category.elementwise /-! # The category of commutative ri...
908a740d07639537d41a07f31099d6091860bb81
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/tactic/ring_exp.lean
96ff42de956bd40bb8f712ed578315121b2352a7
[ "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
56,174
lean
/- Copyright (c) 2019 Tim Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Tim Baanen. Solve equations in commutative (semi)rings with exponents. -/ import tactic.norm_num import control.traversable.basic /-! # `ring_exp` tactic A tactic for solving equations i...
a1a035336d137b8bbb4f07054fe156ab9ade821f
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/for_mathlib/order.lean
99f70d9317ac0dc69c21ffaa1260a601beab7872
[ "Apache-2.0" ]
permissive
semorrison/lean-perfectoid-spaces
78c1572cedbfae9c3e460d8aaf91de38616904d8
bb4311dff45791170bcb1b6a983e2591bee88a19
refs/heads/master
1,588,841,765,494
1,554,805,620,000
1,554,805,620,000
180,353,546
0
1
null
1,554,809,880,000
1,554,809,880,000
null
UTF-8
Lean
false
false
420
lean
import order.basic namespace preorder variables {α : Type*} {β : Type*} --def comap [preorder β] (f : α → β) : preorder α := --{ le := λ x y, f x ≤ f y, -- le_refl := λ x, le_refl (f x), -- le_trans := λ x y z, le_trans (f x) (f y) (f z)} /-- version of preorder.lift which doesn't use type class inference -/ def l...
44075f4647132f425ed565d527e21bce7adc7b84
4727251e0cd73359b15b664c3170e5d754078599
/src/order/category/DistribLattice.lean
7b7220477b2b933ccc785dc44ee775b33e352952
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,429
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.category.Lattice /-! # The category of distributive lattices This file defines `DistribLattice`, the category of distributive lattices. Note that [`DistLa...
4c2555400905bf395a8b71615f32f5713dfbeca9
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/polynomial/chebyshev.lean
5adc60a4038bf694bd8118ca4be6ec121dd12502
[ "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,910
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Julian Kuelshammer, Heather Macbeth -/ import data.polynomial.derivative import tactic.linear_combination /-! # Chebyshev polynomials The Chebyshev polynomials are tw...
1deaea8f4643c5dfe369bb4650d7a4e371aa042f
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/algebra/order.hlean
a4208e38c33914d571814df673c365460772c809
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,340
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Various types of orders. We develop weak orders "≤" and strict orders "<" separately. We also consider structures with both, where the two are related by x < y ↔ (x ≤ y...
b1d9b0e3546006ba6aa4612044ee563bba1d2a3c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/normed_space/affine_isometry.lean
3ff1ec859ab4feeb0933ef965ef1ab32ddb15fab
[ "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
22,056
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 analysis.normed_space.add_torsor import analysis.normed_space.linear_isometry import linear_algebra.affine_space.affine_subspace /-! # Affine isometries In...
c252eb81a71e7d9992c4196155f8c100725a9586
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed/group/infinite_sum.lean
e6a9535f972f4177653ae87c2b0145b238a7871a
[ "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
8,506
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Heather Macbeth, Johannes Hölzl, Yury Kudryashov -/ import analysis.normed.group.basic import topology.instances.nnreal /-! # Infinite sums in (semi)normed group...
ac5e129a740d26f23f94a58b2a24d500bfea8c82
47181b4ef986292573c77e09fcb116584d37ea8a
/src/ostrowski/polynomial.lean
86030a9228b43abbc7c73b667d6f3eb33fc330cc
[ "MIT" ]
permissive
RaitoBezarius/berkovich-spaces
87662a2bdb0ac0beed26e3338b221e3f12107b78
0a49f75a599bcb20333ec86b301f84411f04f7cf
refs/heads/main
1,690,520,666,912
1,629,328,012,000
1,629,328,012,000
332,238,095
4
0
MIT
1,629,312,085,000
1,611,414,506,000
Lean
UTF-8
Lean
false
false
8,979
lean
import data.real.basic import data.polynomial.basic import data.polynomial.induction import data.real.cau_seq import abvs_equiv import valuations.basic import valuations.abv_pid import valuations.bounded import for_mathlib.degree open is_absolute_value open_locale classical noncomputable theory def degree_norm {R} ...
e5748a05b991fb691cc593a974d2d5c1aad74dcc
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/tauto.lean
228ac65d5f60f92e6034df5c09ab06dcafc6b69b
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
8,337
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import logic.basic tactic.solve_by_elim namespace tactic open expr open tactic.interactive ( casesm constructor_matching ) /-- find all assumptions of the shape `¬ (p ...
c9c3c916c65190cddb925bae362c0383fa86ee9f
abd85493667895c57a7507870867b28124b3998f
/src/topology/metric_space/emetric_space.lean
2fc74cc22641dc9c3ee508e79b75fc0f6c13c330
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
40,959
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.real.ennreal import topology.uniform_space.uniform_embedding import topology.unifo...
bc990594cdf35a1b5763a3ece9e26d63e1c14aad
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/meta/derive.lean
a53ff6313b32d0ba99f8dba9e1794b10e9573313
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
4,085
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Attribute that can automatically derive typeclass instances. -/ prelude import init.meta.attribute import init.meta.interactive_base import init.meta.mk_has_r...
eb496eb56484edbd15bfdb4a3af08b2739e4a5c9
63abd62053d479eae5abf4951554e1064a4c45b4
/src/measure_theory/ae_eq_fun.lean
28a75fade317cd1335c06a0f4ae4aa235e6a332d
[ "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
21,463
lean
/- Copyright (c) 2019 Johannes Hölzl, Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Zhouhang Zhou -/ import measure_theory.integration import order.filter.germ /-! # Almost everywhere equal functions Two measurable functions are treat...
48190f64807f426a77fdc9eec53fbb4bf611f664
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/analytic/basic.lean
8468532438eea5769f5b4e9fb9a8463a74d87c48
[ "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
49,449
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, Yury Kudryashov -/ import analysis.calculus.formal_multilinear_series import analysis.specific_limits /-! # Analytic functions A function is analytic in one dim...
5897aa10b6fae4b55c562d2459a586b092591c0c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/units.lean
3f317f7075ec4737616d6b546f6fdc7b841d7144
[]
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
14,879
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes Hölzl, Chris Hughes, Jens Wagemaker -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.basic import Mathlib.logi...
cf35678420c53d2f61aad4c1ad03fd8d6c93d9d1
cf39355caa609c0f33405126beee2739aa3cb77e
/library/tools/debugger/util.lean
07192a529ef433e5fbf708cec8965b2b903b3331
[ "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
3,961
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 -/ namespace debugger def is_space (c : char) : bool := if c = ' ' ∨ c = char.of_nat 11 ∨ c = '\n' then tt else ff private def split_core : list char → option...
f7e1b1360b66089346bfe46f4cfec98e617813bc
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/witt_vector/is_poly.lean
40fd85e10b91661d72786d80dd9887d178754c48
[ "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
23,409
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import algebra.ring.ulift import ring_theory.witt_vector.basic import data.mv_polynomial.funext /-! # The `is_poly` predicate `witt_vector.is_poly...
d5bfb28fb1d2b28cafb9724f86e24670648c4069
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/lie/quotient.lean
95bce9a6887ca702d1b969559673cd02b35ebe67
[ "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
7,615
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.submodule import algebra.lie.of_associative import linear_algebra.isomorphisms /-! # Quotients of Lie algebras and Lie modules Given a Lie submodule of...
7fa450cf93beefc329713bfcbce6b90e27497ce4
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/277a.lean
b6b0a01e40c81441866cbc33309e363735209232
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
61
lean
infixl:67 " <>< " => nonexistant #eval (1 <>< 11 : UInt64)
9d7621f3944dc56858fa8490ea7cc238cba54232
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/derivation/to_square_zero.lean
d9d0d6aae248493c7e9f60be77019e42526898d0
[ "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,511
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri, Andrew Yang -/ import ring_theory.derivation.basic import ring_theory.ideal.quotient_operations /-! # Results > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any chang...
61dafa8ccc5cd7e23e20ac34bce8b2579fa69542
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/number_theory/ADE_inequality.lean
13906a3a352d9bc318122bb66d88e0aa20e2dd21
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,606
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.multiset.sort import data.pnat.basic import data.rat.order import tactic.norm_num import tactic.field_simp import tactic.interval_cases /-! # The ineq...
e7f4f908b9706d0f4e10af0106bac0f7fb0163bb
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/analysis/complex/basic.lean
b7f9f9f6324fe1724825668eff450d03098b295a
[ "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
14,449
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 ...
4ea252e109f417be9a966f6a23f4031389fd2be4
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/group/defs.lean
ce364997528562043396f19402145f00c8b85ba4
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
10,982
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Simon Hudon, Mario Carneiro -/ import algebra.group.to_additive import tactic.basic /-! # Typeclasses for (semi)groups and monoid In this file we def...
0b69381cef373909476d6b4a44775c63c296d62c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/polynomial/scale_roots.lean
30fde081ee111106419c804b43eff7d66b289361
[ "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
5,316
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Devon Tuma -/ import ring_theory.polynomial.basic import ring_theory.non_zero_divisors /-! # Scaling the roots of a polynomial This file defines `scale_roots p s` for a po...
99142ce49dfcb7b868526d921e64fa52704c703e
6305b69bc7636a761e1a1947508bb5ebad93cb7e
/library/init/meta/congr_tactic.lean
96b6e7e82f30e3e397874c12f9426a24bcef2cc4
[ "Apache-2.0" ]
permissive
HGldJ1966/lean
e7f0068f8a69fde3593b77d8a44609ae446d7738
049d940167c419cd5935d12b459c0695d8615ae9
refs/heads/master
1,611,340,395,700
1,503,103,829,000
1,503,103,829,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,894
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam -/ prelude import init.meta.tactic init.meta.congr_lemma init.meta.relation_tactics init.function namespace tactic meta def apply_congr_core (clemma : congr_lemma) : tact...
f73385e0e0db33a68944bfb1cbaabb2ec00f8479
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/bquant.lean
78bddacc09b0dd11741357916c1a7e700a55bc91
[ "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
252
lean
import data.nat.bquant open nat example : is_true (∀ x, x ≤ 4 → x ≠ 6) := trivial example : is_false (∀ x, x ≤ 5 → ∀ y, y < x → y * y ≠ x) := trivial example : is_true (∀ x, x < 5 → ∃ y, y ≤ x + 5 ∧ y = 2*x) := trivial
9caa0b7ca6dfc8e501b435d468be7a7d15ddf42b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/replacer.lean
f5c16ce185cff607bef62c72fa8ad864268aba5c
[ "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,822
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 tactic.core /-! # `def_replacer` A mechanism for defining tactics for use in auto params, whose meaning is defined incrementally through attributes. -/ name...
d52b43c4c291e0ae710573ba28540489d7da9a70
618003631150032a5676f229d13a079ac875ff77
/src/topology/metric_space/antilipschitz.lean
96cb9bf115fe0ab74b57daa8820911d885c6d889
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
5,456
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.metric_space.lipschitz /-! # Antilipschitz functions We say that a map `f : α → β` between two (extended) metric spaces is `antilipschitz_with K`,...
3fca447853a8fba49b32b56cb814a6aba9da1642
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Builtin.lean
1c687997ca1515867a0a0f6cc925e1ef9bf8f744
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
2,936
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Daniel Selsam -/ import Mathport.Syntax.Translate.Basic namespace Mathport.Translate open Lean hiding Expr Expr.app Expr.const Expr.sort Level Level.imax Level...
3261cd6841d5217ea87fb76244f362a003b74377
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/tactic/lint/type_classes.lean
06ee1e48c3fe52cc433e2b9556d21f38cdca0b25
[ "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
17,285
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint.basic /-! # Linters about type classes This file defines several linters checking the correct usage of type c...
45d062862f23077372bcb7c3be5ce9e01e48256b
a7dd8b83f933e72c40845fd168dde330f050b1c9
/src/category_theory/instances/CommRing/default.lean
04b4ea738f665e625a2c637fdd6ce04c2e47e501
[ "Apache-2.0" ]
permissive
NeilStrickland/mathlib
10420e92ee5cb7aba1163c9a01dea2f04652ed67
3efbd6f6dff0fb9b0946849b43b39948560a1ffe
refs/heads/master
1,589,043,046,346
1,558,938,706,000
1,558,938,706,000
181,285,984
0
0
Apache-2.0
1,568,941,848,000
1,555,233,833,000
Lean
UTF-8
Lean
false
false
308
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.instances.CommRing.basic import category_theory.instances.CommRing.adjunctions import category_theory.instances.CommRing.colimits
d360b3fedb526cc8d752acd3e3266f2f006fbb6e
94637389e03c919023691dcd05bd4411b1034aa5
/src/profNotes/02_polymorphicTypes.lean
1b5110260c1122aeb5c46eede94fab676db93bb0
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
10,303
lean
namespace hidden /- Inductive, aka algebraic, data types - sum types - product types and case analysis - parametrically polymorphic - sum of product types and destructuring -/ /- SUM TYPES A value of such a type is "one of these OR one of those OR one of something else." SUM means OR in this sense. -/ indu...
343605f2a61d066b65759ce2fbae0651613993c2
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/lie/subalgebra.lean
70b3bafb9cc4f58cfc33bf13c07ef380f92bb215
[ "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
20,325
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.basic import ring_theory.noetherian /-! # Lie subalgebras This file defines Lie subalgebras of a Lie algebra and provides basic related definitions and...
ce7447d24ce2e012bf5c1c0037f87056daf66e80
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Meta/AppBuilder.lean
a3fb5aaf1e8fefd1e72a8f3f029380e02b0ee252
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,659
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.Structure import Lean.Util.Recognizers import Lean.Meta.SynthInstance import Lean.Meta.Check namespace Lean.Meta variables {m : Type → Type} [...
0288bd0781d3501c01a92ecfae3c5d2637ad86e7
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/stage0/src/Lean/Meta/ExprDefEq.lean
900988a1f366828664af2679e43213cc62778a45
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
57,619
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.ProjFns import Lean.Meta.WHNF import Lean.Meta.InferType import Lean.Meta.FunInfo import Lean.Meta.LevelDefEq import Lean.Meta.Check import Lean...
4b3516c5d79ca730d878d279815276570e6a5f5d
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/logic/eq.lean
4a9b5f3500087dc9405f7141071055ee670fd0ad
[ "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,573
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, Floris van Doorn Additional declarations/theorems about equality. See also init.datatypes and init.logic. -/ open eq.ops namespace eq vari...