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
3b42f40971263cfab624583a661516f98b16de56
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex2.lean
32c67758eac47d7b92dedeea6081f0473f9c1692
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
862
lean
constants m n : nat constant f : nat → nat -- type the arrow as "\to" or "\r" constant f' : nat -> nat -- alternative ASCII notation constant f'' : ℕ → ℕ -- \nat is alternative notation for nat constant p : nat × nat -- type the product as "\times" constant q : prod nat nat ...
f7a8a8d1e9d3abf2635a6c3aacb9d2632b8fc63b
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/bases.lean
875a59ecfff372170de9a1e78cbe8d3cb9425fb1
[ "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
28,515
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 topology.continuous_on import topology.constructions /-! # Bases of topologies. Countability axioms. A topological basis on a topological sp...
b266766f963734a5be24325aa389b386388cbc87
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/elab4b.lean
86135581c171352f279af2c6be277e173d130e17
[ "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
233
lean
definition foo.f {A : Type*} {B : Type*} (a : A) (b : B) : A := a definition boo.f (a : nat) (b : nat) (c : nat) := a + b + c definition bla.f (a b c d : bool) := a open boo foo bla #check f 0 1 2 3 #check f 0 1 #check f tt ff
e1f765f5420ace822c3702441ad6d83e02c7161c
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Meta/Tactic/Simp/Main.lean
7476bffccbc472f833be23de34a828a5d8bb681c
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,692
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Simp.Types import Lean.Meta.Tactic.Simp.Rewrite namespace Lean.Meta namespace Simp def Result.getProof (r : Result) : MetaM Expr :...
7d9b594df04febf08285f0bb40704fa40b86a7d7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/calculus/extend_deriv.lean
73f30665aba7b39902d39c5b3f09715e4de47b4c
[ "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,614
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.mean_value /-! # Extending differentiability to the boundary We investigate how differentiable functions inside a set extend to diffe...
77b3bee812f93e5b5ec901fa974c0cd85db727ce
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/charpoly/to_matrix.lean
5a4dc9d1a2a3a1adf9a3def7f8c6ff89c611a89b
[ "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
3,308
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 linear_algebra.charpoly.basic import linear_algebra.matrix.basis /-! # Characteristic polynomial > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes...
52ad96bee15c403b67409c68f03e85b52d36803e
f5a711bc61b4fe426425fc39edfb9aa84b06f644
/library/init/meta/interactive.lean
0bf97b5e12471b37752a1d3c7bc0105027813897
[ "Apache-2.0" ]
permissive
ChrisHughes24/lean
89697c262783aa4fc1e3cc9bd7adf16d049e2be0
8ba2c1a8b4b9edd11c96482356b47df8322b3785
refs/heads/master
1,610,100,259,751
1,582,175,143,000
1,582,175,143,000
241,995,683
0
0
Apache-2.0
1,582,234,740,000
1,582,234,739,000
null
UTF-8
Lean
false
false
70,943
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.meta.rewrite_tactic init.meta.simp_tactic import init.meta.smt.congruence_closure init.category.combinators import init...
1e4e015ae730464d00d60084c9d0008e446416c5
7cef822f3b952965621309e88eadf618da0c8ae9
/src/field_theory/finite.lean
8ca626c8326bc3faf3758e0ca20460129e0bee7d
[ "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
7,041
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 group_theory.order_of_element data.polynomial data.equiv.algebra data.zmod.basic import algebra.char_p universes u v variables {α : Type u} {β : Type v} open fun...
be972e14838a3c49dbacb6d6c352831d1f5dea45
01f6b345a06ece970e589d4bbc68ee8b9b2cf58a
/src/spectral_norm.lean
a9609282a3703facfdbfdea8bdd286f35a85e1bd
[]
no_license
mariainesdff/norm_extensions_journal_submission
6077acb98a7200de4553e653d81d54fb5d2314c8
d396130660935464fbc683f9aaf37fff8a890baa
refs/heads/master
1,686,685,693,347
1,684,065,115,000
1,684,065,115,000
603,823,641
0
0
null
null
null
null
UTF-8
Lean
false
false
57,235
lean
/- Copyright (c) 2023 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import ring_theory.polynomial.vieta import minpoly import normal_closure import alg_norm_of_galois /-! # The spectral norm and the no...
06aaf297bde81c552525e355e50eceabf2d4bc38
9dc8cecdf3c4634764a18254e94d43da07142918
/src/control/functor/multivariate.lean
da4c8fa92515022e39c307a87368f9f175cf3413
[ "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
6,686
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro, Simon Hudon -/ import data.fin.fin2 import data.typevec import logic.function.basic import tactic.basic /-! Functors between the category of tuples of t...
399c84c21056b189a3aef74f3d92275d37539ed0
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Compiler/InitAttr.lean
361401a2a57bf2c296e40c05e252900800b93fca
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
6,014
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.Environment import Lean.Attributes import Lean.Elab.InfoTree.Main namespace Lean private def getIOTypeArg : Expr → Option Expr | Expr.app (E...
c204557613799803a257fccd0b90acccfadff6d2
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/data/option/basic.lean
933a3fe0054ff4a9e5d0cab285a99098e644071c
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,562
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.logic init.category open decidable universes u v namespace option def to_monad {m : Type → Type} [monad m] [alternative m] {A} : opti...
6af101f4a0e8f9328d3804f237daeb3548ee7a98
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/field_theory/mv_polynomial.lean
0b95550536022aa79ef4fe903c9c96f7d11036f0
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,517
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 -/ import ring_theory.mv_polynomial.basic /-! # Multivariate polynomials over fields This file contains basic facts about multivariate polynomials over fields, for ex...
f6e9286588b5ceece924cebe6f299fd0f0b2e248
618003631150032a5676f229d13a079ac875ff77
/src/topology/stone_cech.lean
a2092a98a9e5169af95d910ad716073843e5d878
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
11,309
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import topology.bases import topology.dense_embedding /-! # Stone-Čech compactification Construction of the Stone-Čech compactification using ultrafilters. Parts of the ...
d55035662e4b8db9087e6a69f2813758ca09492b
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/sums/associator.lean
e6beda066040e16198827b69522ab536ddb0ebf0
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
3,436
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.sums.basic /-# The associator functor `((C ⊕ D) ⊕ E) ⥤ (C ⊕ (D ⊕ E))` and its inverse form an equivalence. -/ universes v u open category_th...
fd0bd3a56cc2aa249a7abace497b4ac0de03ff59
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/group_theory/self_map.lean
c97bba77c2d74a28ba6b7652166c742efd912f70
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,871
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland We define the monoid of self-maps of a type, and show that monoid homomorphisms `M → (self_map X)` give actions of `M` on `X`. -/ import algebra.group group_theory.g...
e762ddf75c74bdfc876a2494241560d090c89ef8
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.6.lean
480416c974a846b26db45915941d96061d61a52d
[]
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
162
lean
/- page 14 -/ import standard import data.list open list constant A : Type check list -- Type → Type check list A -- Type check list nat -- Type₁
628e8c1d3aa47dfb1bc6eff660cec69a7219131d
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/breen_deligne/suitable.lean
915f820eabcb8b46a92eceb46c065aebfadb1461
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,576
lean
import data.real.nnreal import algebra.module.hom import breen_deligne.category import for_mathlib.free_abelian_group import facts.nnreal /- # "suitability" of a universal map If `f` is a universal map then a pair `(c₁, c₂)` of non-negative reals is `f`-suitable, if (morally) `f` sends things of norm at most `c₁`...
624f305eb660a2b3db87677dd985b08c8bf67643
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/fintype/fin.lean
1a68e3bf35ae7271a9aafaeb56d6696198ecd66e
[ "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
3,100
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 data.fin.interval /-! # The structure of `fintype (fin n)` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to math...
d58194be050a16ca7dd1507cb7e12afd81fca11d
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/wfEqnsIssue.lean
f101a29f2b60591958b96bd82dc68fd0327a1bf8
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
3,915
lean
def HList (αs : List (Type u)) : Type u := αs.foldr Prod.{u, u} PUnit @[matchPattern] def HList.nil : HList [] := ⟨⟩ @[matchPattern] def HList.cons (a : α) (as : HList αs): HList (α :: αs) := (a, as) def HList.set : {αs : _} → HList αs → (i : Fin αs.length) → αs.get i → HList αs | _ :: _, cons a as, ⟨0, h⟩...
be3b6533b442972eb0c9ef6fbeb880994b8d692f
46125763b4dbf50619e8846a1371029346f4c3db
/src/ring_theory/integral_closure.lean
c188b48c166ff32470f1a1df5a38c12f2fd945ab
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
17,179
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Integral closure of a subring. -/ import ring_theory.adjoin linear_algebra.finsupp universes u v open_locale classical open polynomial submodule section variables (R : Type u...
0af9018574180d5b4c0763955ca5f9b9e4ad6315
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/group_theory/finiteness.lean
e75ebff29576529060ed2f6b1196cfe4273aa385
[ "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
12,388
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...
c7793e294ffc56486a70c90059e855496a0bb6c3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/vector_measure.lean
720678d4bc1d527471918a018fb8a96965f7f437
[ "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
50,091
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import measure_theory.measure.measure_space import analysis.complex.basic /-! # Vector valued measures This file defines vector valued measures, which are σ-additive fun...
cdb7ac99c8b0c70783314f1889d2888f873b3c6e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/bug_refl_lemma.lean
1a70a515ea212a9994fbd016179deb9a2173290c
[ "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
112
lean
def f := @id @[simp] lemma foo {α : Type} [inhabited α] : f = @id α := rfl example : f = @id ℕ := by simp
8a6bcfbbee35b96f3f29b31ad38d64ac6f5eaa2c
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/data/fin/default.lean
582dedbc6883b82c96affddbb50d241507fee5a0
[ "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
216
lean
/- Copyright (c) 2017 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.fin.basic init.data.fin.ops
859960237e79b63b536c1a760fe9b401283374e1
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/irrel.lean
de46b5994beaa6692b210ba87b8918945ad79dac
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
72
lean
lemma L1 : ∀ (A:Prop) (p q:A), p = q:= begin intros A p q, refl end
82b79ac8fd22232e0f42a2c5372119113a65cac4
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/let3.lean
ac3e977f106ec3afd72bc621b8505a03377c4d38
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
746
lean
definition p1 := (10, 20, 30) definition v1 : nat := let (a, b, c) := p1 in a + b + c definition v2 : nat := let ⟨a, b, c⟩ := p1 in a + b + c example : v2 = 60 := rfl /- let with patterns is just syntax sugar for the match convoy pattern. let (a, b, c) := p1 in a + b + c is encoded as match p1 with ...
72cb6be9fb260fdfea6e190a64de9152e1c0d7d0
bb31430994044506fa42fd667e2d556327e18dfe
/src/measure_theory/group/measure.lean
b3d09a47c4246b872cdee110308aa49a56e96aed
[ "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
32,416
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 dynamics.ergodic.measure_preserving import measure_theory.measure.regular import measure_theory.group.measurable_equiv import measure_theory.measure.open_p...
c5b45051434cc1b63129ff82c16616392e6ec044
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/linear_algebra/finite_dimensional.lean
4d918b5e9c26303dd98f11113b176700a37af499
[ "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
63,362
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.algebra.subalgebra import field_theory.finiteness import linear_algebra.dimension import ring_theory.principal_ideal_domain /-! # Finite dimensional vecto...
7317233020d7d4fc2fb09e100f241b5ce9bad902
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/logic/function/conjugate.lean
8275b8fbb1fd2b741f1fcd791547df8fddced242
[ "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
5,115
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 logic.function.basic /-! # Semiconjugate and commuting maps > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanprover-community/mathlib4/p...
fc07da96376ccafbe517a75203f24f89271b4a59
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/center.lean
3d109154edceee1527d5b550a84fd9fff73aeec0
[ "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
12,347
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.monoidal.braided import category_theory.functor.reflects_isomorphisms import category_theory.monoidal.coherence /-! # Half braidings and the D...
c59d77e93da4978b8323aa289f8d0793099e5153
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/instances/complex.lean
1b89ab51ff46bb4363d34c424e4993c8cc2800de
[ "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
6,123
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Topology of the complex numbers. -/ import data.complex.basic topology.metric_space.basic topology.instances.real noncomputable theory open filter metric open_locale to...
5f5dba55e186a2ea1a766450673a3df41f05fd87
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/number_theory/quadratic_reciprocity.lean
bacb308324b0cc314c61b245446f7814b5a0d3d7
[ "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
25,078
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.finite import data.zmod.basic import data.nat.parity /-! # Quadratic reciprocity. This file contains results about quadratic residues modulo a prim...
f3557e7c732a2caf99036783beddf4f57eb1ceb7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/AppBuilder.lean
8309452256ea924367f47907342d7509f9aaa7b8
[ "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
23,671
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 import Lean.Meta.DecLevel namespace Lean.Meta /--...
c2fcc29a6bc8e9b660efe16e9eccfb8ba17cefab
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/addRedundantSemijoinRule.lean
9efbd36d6f87d19d7ad6f28dee9bcb99e39c6a16
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
1,680
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..TDP import ..ucongr import ..cosette_tactics variable i : const datatypes.int open SQL open Pred open Expr open Proj theorem rule : forall (Γ scm_dept scm_emp : Schema) (rel_dept : relation scm_dept) (rel_e...
f4c10fdbe9ece86a46959fbeb8307c19d10c55ff
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/nat/fact.lean
fb461bf45ef34a1e0ab6c8bef79a2da0e65e7de1
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
2,806
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes, Floris van Doorn -/ import data.nat.basic /-! # The factorial function -/ namespace nat variables {m n : ℕ} /-- `nat.fact n` is the factorial of `n`. -...
6dcbfcd2b183152fb34ea796b50bda8c66e4f368
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep_2/Tools/matrix_tools.lean
27279bc3b36fd9577e4c77c053f21d91fe73e7cf
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
4,726
lean
import linear_algebra.determinant import linear_algebra.matrix open linear_map notation f ` ⊚ `:80 g:80 := linear_map.comp f g universe variables u v w w' open matrix open_locale big_operators matrix variables {R : Type v} [comm_ring R] variables {X : Type w} [fintype X] [decidable_eq X] variables {Y : Type w}...
013574ef2971191f07341cf272a0b0a104f8211b
302b541ac2e998a523ae04da7673fd0932ded126
/tests/bench/cut.lean
4e5b1d37979e399906af8f950b086da306f541ec
[]
no_license
mattweingarten/lambdapure
4aeff69e8e3b8e78ea3c0a2b9b61770ef5a689b1
f920a4ad78e6b1e3651f30bf8445c9105dfa03a8
refs/heads/master
1,680,665,168,790
1,618,420,180,000
1,618,420,180,000
310,816,264
2
1
null
null
null
null
UTF-8
Lean
false
false
238
lean
set_option trace.compiler.ir.init true inductive Tree | Nil | Node (l r : Tree) : Tree | Node3 (l m r : Tree) : Tree open Tree def cut : Tree -> Tree | Nil => Nil | Node l r => Node (cut l) (cut r) | Node3 l m r => Node (cut l) (cut m)
33d4451101f8a5efe6a2215317501d5960ce4e9e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/elabissues/structInst.lean
55853c1eac3f6c864212faa93193b817c04cda81
[ "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,460
lean
namespace Ex1 structure A := (x : Nat) structure B extends A := (y : Nat := x + 2) (x := y + 1) structure C extends B := (z : Nat) (x := z + 10) #check { y := 1 : B } -- works #check { z := 1 : C } -- doesn't work, expected { z := 1, x := 1 + 10, y := (1 + 10) + 2 } end Ex1 namespace Ex2 structure A := (x : Nat)...
78accdbd1c0d78c8aea7b2d5397f57287cf16e80
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/algebra/group/type_tags.lean
2b3869f3b5982ec201ee6656e6aca73a8acb53ba
[ "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
4,104
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Type tags `multiplicative` and `additive` that turn additive structures into multiplicative, and vice versa -/ import algebra.group.hom universes u v variables {α : Ty...
634732f6a347fdee8deb7e5887d98b49c53c0ef8
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/simpCondLemma.lean
c16afadbcaf5a6e511186d50d91535895ef896be
[ "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
140
lean
@[simp] axiom divSelf (x : Nat) : x ≠ 0 → x/x = 1 theorem ex (x : Nat) (h : x ≠ 0) : (if x/x = 1 then 0 else 1) = 0 := by simp [h]
7bba6a1aa4fef0bc38f6168ac235fa7577cda1da
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/weirdmacro.lean
44f96e72d7fceac4080ac7dd2fa36d2234c6ed56
[ "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
56
lean
macro term x:term : term => `($x) #check term 10 -- 10
366509ee307d01ac396f4e3a1b7f151b0561e9fc
4727251e0cd73359b15b664c3170e5d754078599
/src/data/sym/card.lean
9d6a18ed295dd62f4ea3e166f85fa126187dde59
[ "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,568
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import algebra.big_operators.basic import data.finset.sym /-! # Stars and bars In this file, we prove the case `n = 2` of stars and bars. #...
0804e85cf3375913efa9b1b92f264fc8e2d9157c
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/notes/2020.03.19-propositional.lean
0e4670976a518377e4b1654551c4fb726abba0f3
[]
no_license
jngo13/Discrete-Mathematics
8671540ef2da7c75915d32332dd20c02f001474e
bf674a866e61f60e6e6d128df85fa73819091787
refs/heads/master
1,675,615,657,924
1,609,142,011,000
1,609,142,011,000
267,190,341
0
0
null
null
null
null
UTF-8
Lean
false
false
655
lean
inductive pExp : Type | pTrue | pFalse | pNot : pExp → pExp --unary -- binary operators | pAnd : pExp → pExp → pExp | pOr : pExp → pExp → pExp | pImp : pExp → pExp → pExp open pExp def bimp : bool → bool → bool | tt tt := tt | tt ff := ff | ff _ := tt def p1 := pTrue def p2 := pFalse def p25 := pNot p2 def p3 := pA...
95474630cc792fb34c49bda42a251e0daa5cfaa6
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/hit/coeq.hlean
d10da154c7415bf356038cc9faf348cf395eef58
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
5,152
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Declaration of the coequalizer -/ import .quotient_functor types.equiv open quotient eq equiv is_trunc sigma sigma.ops namespace coeq section universe u paramet...
689997ad97c67db6a319b0aab6060462ae143335
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/fresh_names.lean
664fd4a39c82e9f2cd45336d74f997393326c757
[ "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,498
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import data.sum import meta.rb_map import tactic.dependencies /-! # Tactics for giving hypotheses fresh names When introducing hypotheses, we often want to make su...
7ad73ef436aaf0bfb4f3b34b5fe35db10f182d57
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/gcd.lean
27465da9539e82c7c232f39bdd4939bdf18659ef
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
1,488
lean
open nat well_founded decidable prod namespace playground -- Setup definition pair_nat.lt := lex nat.lt nat.lt definition pair_nat.lt.wf : well_founded pair_nat.lt := prod.lex_wf lt_wf lt_wf infixl `≺`:50 := pair_nat.lt -- Lemma for justifying recursive call private lemma lt₁ (x₁ y₁ : nat) : (x₁ - y₁, succ y₁) ≺ ...
df827e4160ce3cb156d19b523befba32fe480792
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/unif_issue2.lean
d0e42071771d628eb4277caecbe8ae7a29f57935
[ "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
327
lean
import Lean new_frontend open Lean #check @StateT.run Nat Id Nat (let f := fun (x : Unit) => pure 0; f ()) 0 #check Id.run $ StateT.run (let x := fun _ => pure 0; x ()) 0 #check @StateT.run Nat Id (List Nat) (let x := fun _ => pure [0]; x ()) 0 #check @Unhygienic.run Syntax $ let x := fun _ => pure Syntax.missing...
1a9fec574b36296cd5caf39cad30b1a2b625149a
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/629.lean
2a854aeab62d367732751fdc34494228e29f6e5d
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
217
lean
import Std.Data.BinomialHeap open Std def test : BinomialHeap (Nat × Nat) (λ (x, _) (y, _) => x < y) := BinomialHeap.empty.insert (0, 1) |>.insert (0, 2) |>.insert (0, 3) #eval test.head #eval test.tail.toList
6838751cca4d27ed4460f0202752b3635779a663
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/topology/metric_space/gromov_hausdorff.lean
6afc55c1f88004a5ec7169cdea75c3ec011d9545
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
55,726
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 topology.metric_space.closeds import set_theory.cardinal import topology.metric_space.gromov_hausdorff_realized import topology.metric_space.completion im...
a6cf609914f87f73fd9992717c67304f0dbe9a27
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/tactic/simps.lean
9ddbfb944e5c1857fd796aed0729babac5dab768
[ "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
25,089
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.core /-! # simps attribute This file defines the `@[simps]` attribute, to automatically generate simp-lemmas reducing a definition when projections...
b2304aadee48ce4da081b07a12e05eea467e17f1
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Elab/Inductive.lean
2e5e22a1cd0d727963ab96387e4dc0d8a0b0ebaf
[ "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
40,058
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.Util.ReplaceLevel import Lean.Util.ReplaceExpr import Lean.Util.CollectLevelParams import Lean.Meta.Constructions import Lean.Meta.CollectFVars ...
66ee492f959be2d2335c8d00018d03de2ba48d5e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/number_theory/dioph.lean
564b996e7e7c8ba80b54a38011c9404bacb31595
[ "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
35,346
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 number_theory.pell import data.pfun import data.fin2 /-! # Diophantine functions and Matiyasevic's theorem Hilbert's tenth problem asked whether there exist...
46585b4c38e8d233c2cd8b6a2f3326361103a223
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/nat/multiplicity.lean
37df9e28498a09dcb41129ab4d9b7afae92e4955
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
9,434
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 data.nat.choose ring_theory.multiplicity data.nat.modeq algebra.gcd_domain /-! # Natural number multiplicity This file contains lemmas about the multiplicity fun...
e3f4acbd42d05f7b9e25f113c59e449ec0aae4e1
7cef822f3b952965621309e88eadf618da0c8ae9
/archive/imo1988_q6.lean
3391f8acbf902466e6e7f4a924e7854724df4ade
[ "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
13,823
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.rat.basic import tactic /-! # IMO1988 Q6 and constant descent Vieta jumping Question 6 of IMO1988 is somewhat (in)famous. Several expert problem solver...
962d5f55cce0ed19043668168fe55e69047b2e0c
ce4db867008cc96ee6ea6a34d39c2fa7c6ccb536
/src/commun.lean
76933ea4085bbf63e8402390cf43dab8d1c30f69
[]
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
6,196
lean
import tactic namespace tactic setup_tactic_parser meta def nettoyage : tactic unit := do try `[dsimp only at * { eta := false, beta := true }], try `[simp only [exists_prop] at *] def force_type (p : Sort*) (x : p) := p meta def verifie_nom (n : name) := success_if_fail (do hyp ← get_local n, skip) <|> fail (...
74c19c1c355b3813305f02b76ff3426361483f8e
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-numbertheory-211.lean
492bfd57e1e482a544c18166307cb97570cbed16
[ "Apache-2.0", "MIT" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
303
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic import data.finset.basic example : finset.card ( finset.filter (λ n, 6 ∣(4 * n - 2 )) (finset.range 60) ) = 20 := begin sorry end
bd022e891e6d043f09f49278c986774387b7776f
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/data/set/finite.lean
e9070ff249886fa8f729aca505781497f01fec21
[ "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
23,225
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.fintype.basic import algebra.big_operators /-! # Finite sets This file defines predicates `finite : set α → Prop` and `infinite : set α ...
523757730bbe809c6350ca9ecbbb37a93e642771
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/annihilating_polynomial.lean
3685247bdb834d514b6333556800b381324c23bc
[ "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
6,686
lean
/- Copyright (c) 2022 Justin Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justin Thomas -/ import data.set.basic import field_theory.minpoly import ring_theory.principal_ideal_domain import ring_theory.polynomial_algebra /-! # Annihilating Ideal Given a com...
c7eff30f0965752ac9bb31f234dfe57113c578ae
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/ReduceArity.lean
9b862b81e5f552bb29153efc26db2dfcf8965cc5
[ "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
6,246
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.CompilerM import Lean.Compiler.LCNF.PhaseExt import Lean.Compiler.LCNF.InferType import Lean.Compiler.LCNF.Internalize namespace ...
282a4d0c8cfd69950695f25774ae30c58014ec2e
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/subtype.lean
06828b28a5b77c1eeca4b9429010b0ac75264da2
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
5,043
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import tactic.lint import tactic.ext open function namespace subtype variables {α : Sort*} {β : Sort*} {γ : Sort*} {p : α → Prop} /-- A version of `x.property` or `...
3c55f73c588ba892913251756d87413e103d1fff
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/group/units.lean
fe2f95950e0ce7fd12be82c28da2263e1858bac9
[ "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
11,989
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 algebra.group.basic import logic.nontrivial /-! # Units (i.e., invertible elements) of a multiplicative mo...
4241f57f00d2c0aa4f0d99bdc13f5f84689115c4
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/eq9.lean
cf968c068346aaed39a24f74da4b8dcba81f99b1
[ "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
326
lean
open nat theorem lt_trans : ∀ {a b c : nat}, a < b → b < c → a < c, lt_trans h (lt.base _) := lt.step h, lt_trans h₁ (lt.step h₂) := lt.step (lt_trans h₁ h₂) theorem lt_succ : ∀ {a b : nat}, a < b → succ a < succ b, lt_succ (lt.base a) := lt.base (succ a), lt_succ (lt.step h) := lt.step (lt_succ h)
bd902d863305ddc5d07b105bb89ac6c5a5913447
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/hygienicIntro.lean
dc6c533dfd642c41933178d23f6940c0574bb020
[ "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,205
lean
new_frontend set_option hygienicIntro false in theorem ex1 {a p q r : Prop} : p → (p → q) → (q → r) → r := by intro _ h1 h2; apply h2; apply h1; exact a_1 -- Bad practice, using name generated by `intro`. theorem ex2 {a p q r : Prop} : p → (p → q) → (q → r) → r := by intro _ h1 h2; apply h2; apply h1; exact a_1 -- er...
83dc714e9ff133cdb050e8fd0d8bb79aa32d6de1
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Data/Name.lean
5c6c092db9d3afc7501fb81d22a7eb1b4f7e78d7
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
6,352
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Std.Data.HashSet import Std.Data.RBMap import Std.Data.RBTree import Lean.Data.SSet namespace Lean instance : Coe String Name := ⟨Name.mkSimple⟩ nam...
eed636472700bfa656d082fc23f3e39ed9a22f3f
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/maps.lean
bb5ad15770ac1ae49a68e259641091765cdf1d05
[ "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
24,381
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import topology.order /-! # Specific classes of maps between topological spaces This file introduces the following properties of a m...
f3a94a5a71853293d084e603c7c6243ead7f3d58
bdb33f8b7ea65f7705fc342a178508e2722eb851
/analysis/measure_theory/borel_space.lean
02bfdec10bcc8ce2a01510eb6d1a9d1f497a85e6
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
10,326
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 Borel (measurable) space -- the smallest σ-algebra generated by open sets It would be nice to encode this in the topological space type class, i.e. each topological sp...
5bed27bf33aa3d7c93e775cdcf5681971f347360
57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5
/analysis/measure_theory/outer_measure.lean
2f31ac05b1737e98596b6ce8d6b46ca38942b725
[ "Apache-2.0" ]
permissive
louisanu/mathlib
11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe
2bd5e2159d20a8f20d04fc4d382e65eea775ed39
refs/heads/master
1,617,706,993,439
1,523,163,654,000
1,523,163,654,000
124,519,997
0
0
Apache-2.0
1,520,588,283,000
1,520,588,283,000
null
UTF-8
Lean
false
false
18,006
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 Outer measures -- overapproximations of measures -/ import data.set order.galois_connection algebra.big_operators analysis.ennreal analysis.limits analys...
fcc3f646207b71f9687f1ac67d427a6e3ca3e480
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/09_Type_Classes.org.26.lean
74da362959171d923780b903945e805d99a13702
[]
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
479
lean
import standard inductive has_add [class] (A : Type) : Type := mk : (A → A → A) → has_add A definition add {A : Type} [s : has_add A] := has_add.rec (λ x, x) s notation a `+` b := add a b -- BEGIN section variables {A : Type} [H : has_add A] (a b : A) include H definition foo1 : a + b = a + b := rfl omit H definitio...
e966371a67da391ea1929b7d841943528b16c6bb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/convex/quasiconvex.lean
5cdb6f4f8cd7ec4717ec7d1d312a21b38ad4642a
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,487
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 analysis.convex.function /-! # Quasiconvex and quasiconcave functions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspondi...
0e44c51499a42197cab319d6f2f250b9d897ffd2
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/linear_algebra/pi_tensor_product.lean
5ff0b2af674006336cf1bf334c65fe1776b30714
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,503
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import group_theory.congruence import linear_algebra.multilinear /-! # Tensor product of an indexed family of semimodules over commutative semirings We define th...
9833738f5cb10310bd72cde9919447ccbb3004f8
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/data/polynomial/eval.lean
a95021603a40980e8556ccb3d9128cc1fe09d3d8
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
14,867
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.induction import data.polynomial.degree.basic /-! # Theory of univariate polynomials The main def...
fec84aaacb286e671d3751b7371243443e660b48
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/src/06_Negation/00_intro.lean
428d0a9d3b2553fa0f2885c248ea2f6f220ce530
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
22,788
lean
/- * proposition built using ¬ * the formal meaning of ¬ * proofs of inequalities, ¬a=b * disjointness of constructors * strategy: proof by negation * inference rule: modus tollens * principle: non-contradiction * rule: negation elimination * axiom: excluded middle * classical vs constructive logic * double-negatio...
a80bae10c1d732a1d4fe9dcc017b9cc6037af1db
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/valuation/canonical.lean
e26e829192f2c79c6407108a9ad513075f3fb815
[ "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
32,531
lean
import valuation.basic import for_mathlib.quotient_group import for_mathlib.subgroup import for_mathlib.group -- group_equiv import for_mathlib.order -- preorder.lift' /- The purpose of this file is to define a "canonical" valuation equivalent to a given valuation. The whole raison d'etre for this is that th...
2e826cfd84e47408011eca34930e43b1b899a39e
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/algebra/ordered_monoid.lean
c64f69283bd2fdfa146243f1236ac36cafd4cf5d
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,692
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.group.with_one import algebra.group.type_tags import algebra.group.prod import algebra.order_functions...
39f23e95c31014715ee45d88c6fb53bef605c53c
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/appParserIssue.lean
c616cacc72e97396a6087b91404ba305f5fec4f8
[ "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
333
lean
new_frontend def f (x : Nat) (g : Nat → Nat) := g x #check f 1 fun x => x -- should work #check f 1 (fun x => x) -- should work #check f 1 $ fun x => x -- should work syntax "foo" term:max term:max : term macro_rules `(foo $x $y) => `(f $x $y) #check foo 1 (fun x => x) -- should work #check foo 1 fun x => x -- s...
4ce13a772714412f1b6edc949c321d53fa8fed03
f2fbd9ce3f46053c664b74a5294d7d2f584e72d3
/src/for_mathlib/group_completion.lean
71de16e9319c450256622be1a096ca414cc70afa
[ "Apache-2.0" ]
permissive
jcommelin/lean-perfectoid-spaces
c656ae26a2338ee7a0072dab63baf577f079ca12
d5ed816bcc116fd4cde5ce9aaf03905d00ee391c
refs/heads/master
1,584,610,432,107
1,538,491,594,000
1,538,491,594,000
136,299,168
0
0
null
1,528,274,452,000
1,528,274,452,000
null
UTF-8
Lean
false
false
8,450
lean
import for_mathlib.topological_structures import for_mathlib.completion universe u variables {α : Type*} [uniform_space α] variables (G : Type u) [add_comm_group G] [topological_space G] [topological_add_group G] open uniform_space function set uniform_space.to_completion lemma uniform_continuous_add'' [add_group α]...
ee83a2a49d240af6a40ecf5ca7248559611fc691
e4def7044cdf5942eed78db25d2daa58d80eed64
/_target/deps/mathlib/src/topology/algebra/module.lean
be399f5689d7ee79279dd4009a55ebe673e89f43
[ "Apache-2.0" ]
permissive
kevinsullivan/dm.s20.old
3f8f736b9a792cca8dd44a73a98ade0b534ed084
a240be0a53961ac25b5f4426fe7bc8d4dbe7013f
refs/heads/master
1,607,522,498,471
1,579,058,084,000
1,579,058,084,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,523
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo Theory of topological modules and continuous linear maps. -/ import topology.algebra.ring linear_algebra.basic ring_theory.algebra o...
a34dff6a6e22d81996d5b18b106adbddf656b3f7
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/InfoTree/Main.lean
35f465a722385acadb11386ff7ba090c15d86587
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
15,505
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.Position import Lean.Message import Lean.Data.Json import Lean.Meta.Basic import Lean.Meta.PPGoal import...
55b053500e31ed66cb4d6037a6d74d7ce5272944
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/tools/super/resolution.lean
d277912d6df8d0b0b5144b9da9e195e798da8536
[ "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
2,289
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .prover_state .utils open tactic monad namespace super variable gt : expr → expr → bool variables (ac1 ac2 : derived_clause) variables (c1 c2 : clause)...
f7389fc7bf2e33297cf76a5f8bde47762ef07453
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/data/array/default.lean
009793032405a38895c2316a163626e8eb3d4acf
[ "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
259
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import init.data.array.basic import init.data.array.qsort import init.data.array.binsearch
f4270f226134c9189fa010e1a9473f30d3b60e43
d1bbf1801b3dcb214451d48214589f511061da63
/src/analysis/normed_space/basic.lean
8ad12cd39a1ee8120f883724fb28d8939904d7b5
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
56,161
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import topology.instances.nnreal import topology.algebra.module import topology.metric_space.antilipschitz /-! # Normed spaces -/ variables {α : Typ...
5a5cf6ec6ed7fb900f0f6c4a65ecb1fd62ebbe48
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/isometry.lean
19c549b0ee7d81377bd6f1c0b5b72893b8f20f35
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,275
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel -/ import topology.metric_space.antilipschitz /-! # Isometries We define isometries, i.e., maps between emetric spaces th...
0431b8678c85cf41c98190e45c4d0767ff6c6d6d
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/limits/shapes/constructions/limits_of_products_and_equalizers.lean
4e1690d04a45aebdf67a7e30f42aea26920a4c05
[ "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
4,796
lean
/- -- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.finite_products /-! # Constructing limits from products and equalizers....
9ec329372fa2ebec89655f4ab2a5c959cfe8f3b9
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/set/function.lean
cf368bedab214765ed1f7e3db91021616c47c849
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,332
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu, Yury Kudryashov -/ import data.set.basic import logic.function.conjugate /-! # Functions over sets ## Main definitions ### Pr...
6e351864e066990c8219d1051f577b20150561bc
82e44445c70db0f03e30d7be725775f122d72f3e
/src/topology/fiber_bundle.lean
28935b41fd2df6afa342242a2cd2e748e8d7e508
[ "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
57,923
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.local_homeomorph import topology.algebra.ordered.basic import data.bundle /-! # Fiber bundles A topological fiber bundle with fiber `F` over a...
90df70e925172ea7e6e8d84b14a41db674f59a91
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/rearrangement.lean
9cd2d6d035fda6b45b1131dfcac705ab5c4e80c1
[ "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
28,063
lean
/- Copyright (c) 2022 Mantas Bakšys. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mantas Bakšys -/ import algebra.big_operators.basic import algebra.order.module import data.prod.lex import group_theory.perm.support import order.monotone.monovary import tactic.abel ...
55135e7b8602682b06e7f8fc8104277354964f9f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/complex/arg.lean
a1716af4733cb8a3a7bc2e0646db7542d7297a0c
[ "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,978
lean
/- Copyright (c) 2022 Eric Rodriguez. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Rodriguez -/ import analysis.inner_product_space.basic import analysis.special_functions.complex.arg /-! # Rays in the complex numbers This file links the definition `same_ray ...
266faecc2d8a71cb453cbfd871f8c73b8983ec6d
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/conj.lean
ffd088fa0e901fe69797f85ce693545a7cc83cec
[ "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
5,438
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.endomorphism /-! # Conjugate morphisms by isomorphisms An isomorphism `α : X ≅ Y` defines - a monoid isomorphism `conj : End X ≃* End Y` by...
cb5bf772ef677bdcf547f6c15eb3e0088ca92be6
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/pnat/factors.lean
92b26fcb81df9a17d7f48063d1b76ddcab0758ed
[ "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
14,000
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Neil Strickland -/ import tactic.basic import data.pnat.basic data.nat.prime data.multiset data.int.basic data.int.gcd algebra.group algebra.group_power algebra.ordered_ring /-- The...
b4b1dd9688c80f800f31fe9d5781b2cf70111e8c
510e96af568b060ed5858226ad954c258549f143
/tools/auto/experiments/set_basic.lean
b4f6ea9f14e2343f2888f6377916816663557602
[]
no_license
Shamrock-Frost/library_dev
cb6d1739237d81e17720118f72ba0a6db8a5906b
0245c71e4931d3aceeacf0aea776454f6ee03c9c
refs/heads/master
1,609,481,034,595
1,500,165,215,000
1,500,165,347,000
97,350,162
0
0
null
1,500,164,969,000
1,500,164,969,000
null
UTF-8
Lean
false
false
28,069
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Test examples for "finish". -/ import data.set import ....logic.basic import ....algebra.lattice import ..finish open function lattice auto universes u v w variables {α ...
42ab4a6c3a00818b597e19e207a0246898427c4e
bb31430994044506fa42fd667e2d556327e18dfe
/src/number_theory/modular_forms/slash_actions.lean
e572d30bb678e316c40778fdcb265dad025e4108
[ "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
8,311
lean
/- Copyright (c) 2022 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import analysis.complex.upper_half_plane.basic import linear_algebra.general_linear_group import linear_algebra.special_linear_group /-! # Slash actions This file de...
3a6f8f7b15ee196c3f41ce64f04dafbbd74545d3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/witt_vector/is_poly_auto.lean
829b48e34fc951f92bf78e5a6fa868ec99204e25
[]
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
19,599
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.ring.ulift import Mathlib.ring_theory.witt_vector.basic import Mat...
47965687e566919dd417ef4aa1027b9748b6e77a
4727251e0cd73359b15b664c3170e5d754078599
/src/set_theory/ordinal/arithmetic.lean
ab15dcb9732148674a789c0fdf1e4d5f49613b4a
[ "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
102,649
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn, Violeta Hernández Palacios -/ import set_theory.ordinal.basic import tactic.by_contra /-! # Ordinal arithmetic Ordinals have an addition (correspond...
3212656a017948a29e2831c18abe66d1f3621d47
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/normed_space/hahn_banach_auto.lean
ee241f90ae0de0de6fef1995ff315a122ad92341
[]
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,646
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Heather Macbeth -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.normed_space.operator_norm import Mathlib.analysis.normed_space....
d254806202eeef1aacec1db94667853f6d7eb6be
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/analysis/normed_space/bounded_linear_maps.lean
77c2dae12e15eea7986e6c1285ccdf1001947ef2
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
14,536
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Continuous linear functions -- functions between normed vector spaces which are bounded and linear. -/ import algebra.field import analysis.normed_space...
b3b09e6729edf2a8f5a88f0d5da594e82bd6720c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Lsp/Basic.lean
590c036cefd7d7e78581fa993f46bc02b8f5c9a1
[ "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
13,907
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 Lean.Data.Json import Lean.Data.JsonRpc /-! Defines most of the 'Basic Structures' in the LSP specification (https://microsoft.github.io/lan...
89c61c784b875afecfee247b6ca7f7f575828743
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.13.lean
116a152beb2488dfe6afd683b70c920711dcb315
[]
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
463
lean
/- page 18 -/ import standard constants A B C : Type constant f : A → B constant g : B → C constant h : A → A constants (a : A) (b : B) eval (λ x : A, x) a -- a eval (λ x : A, b) a -- b eval (λ x : A, b) (h a) -- b eval (λ x : A, g (f x)) a -- g (f a) eval (λ v u x, ...
40bfa4f97a4699d74ef3f6ebb992425ae7dbc2fa
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/probability_mass_function/monad.lean
683b1245c9090090ba55617c0a004f4c0a56c02c
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
14,401
lean
/- Copyright (c) 2020 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Devon Tuma -/ import measure_theory.probability_mass_function.basic /-! # Monad Operations for Probability Mass Functions This file constructs two operations on `pmf` tha...
01215a2c8f9b68184f2d216f86338c53cf01172c
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/init/measurable.lean
aafc2f3cdfbb9de38cd8be67ab9a6c3584d15718
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,443
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.measurable Authors: Leonardo de Moura Types with a nat-valued complexity measure. -/ prelude import init.nat open nat inductive measurable [class] (A : Type) := mk : (A →...