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
380fda653d1af3634871ce1c3d10e11347beccce
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/qpf/multivariate/constructions/prj.lean
4e42a9e26c667360edb0464d88c42134b08b7283
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,797
lean
/- Copyright (c) 2020 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.control.functor.multivariate import Mathlib.data.qpf.multivariate.basic import Mathlib.PostPort un...
42f523e5e79dfc8aa9bdb331a15dffa6738e7cad
037dba89703a79cd4a4aec5e959818147f97635d
/src/2019/questions/sheet4.lean
42a656dae16a5e445cab78f947b2ece5524a03f2
[]
no_license
ImperialCollegeLondon/M40001_lean
3a6a09298da395ab51bc220a535035d45bbe919b
62a76fa92654c855af2b2fc2bef8e60acd16ccec
refs/heads/master
1,666,750,403,259
1,665,771,117,000
1,665,771,117,000
209,141,835
115
12
null
1,640,270,596,000
1,568,749,174,000
Lean
UTF-8
Lean
false
false
4,433
lean
/- Math40001 : Introduction to university mathematics. Problem Sheet 4, October 2019. This is a Lean file. It can be read with the Lean theorem prover. You can work on this file online at https://tinyurl.com/Lean-M40001-Example-Sheet-4 or you can install Lean and its maths library following the instructions at ht...
fab1768cc8ad34b345d0d9f2e4551218353dd2bc
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/bag.lean
0bbfa3a3a30d809031a91c1743f3ac25c9977c41
[ "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
34,434
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 Finite bags. -/ import data.nat data.list.perm algebra.binary open nat quot list subtype binary function eq.ops open [declarations] perm open algebra variable...
30e2092892a543ee57226849db27f039967c714d
0707842a58b971bc2c537fdcab2f5cef1c12d77a
/lean4/05_first_class_functions.lean
bc53c6ba8133b0515a9f8bff3109bca0776995ac
[]
no_license
adolfont/LearningProgramming
7a41e5dfde8df72fc0b4a23592999ecdb22a26e0
866e6654d347287bd0c63aa31d18705174f00324
refs/heads/master
1,652,902,832,503
1,651,315,660,000
1,651,315,660,000
1,328,601
2
0
null
null
null
null
UTF-8
Lean
false
false
4,350
lean
-- Source: https://leanprover.github.io/lean4/doc/tour.html -- Lean has first-class functions. -- `twice` takes two arguments `f` and `a` where -- `f` is a function from natural numbers to natural numbers, and -- `a` is a natural number. def twice (f : Nat → Nat) (a : Nat) := f (f a) -- `fun` is used to declare ano...
0c24995b432d3ebc8d6eb9a3b5b69e9c069dcb3a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/ordering/lemmas.lean
75f8791e634bb2b8e853ba06974e1caa0e9dcb5c
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,454
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.ordering.basic import Mathlib.Lean3Lib.init.meta.default import Mathlib.Lean3Lib.init.algebra.class...
158f26e7dbe202cc9978eee47a9aae053afd3e2d
274748215b6d042f0d9c9a505f9551fa8e0c5f38
/src/for_mathlib/commutative_algebra/Zariski_lemma.lean
831986fdb50d040a0e1c0bb79f3c2f1844c58ed6
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M4P33
878ecb515c77d20cc799ff1ebd78f1bf4fd65c12
1a179372db71ad6802d11eacbc1f02f327d55f8f
refs/heads/master
1,607,519,867,193
1,583,344,297,000
1,583,344,297,000
233,316,107
59
4
Apache-2.0
1,579,285,778,000
1,578,788,367,000
Lean
UTF-8
Lean
false
false
10,111
lean
/- Zariski's Lemma: if k is a field and K is a field finitely generated as a k-algebra, then K is also finitely-generated as a k-module -/ import ring_theory.integral_closure field_theory.subfield import linear_algebra.finite_dimensional import for_mathlib.finset -- Chris' lemma about S - {s} import field_theory....
42bac2b6d0966b430cad2cad45f2ebf6858f2a85
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/tactic/monotonicity/lemmas.lean
0cd12911a52fdcf7f21a52eed748ea5c45307431
[ "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
2,277
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.monotonicity.basic import data.set.lattice import order.bounds variables {α : Type*} @[mono] lemma mul_mono_nonneg {x y z : α} [ordered_semiring α] (h' : ...
b294dbc645329ccc42f48ff73ccb216fb6851c0e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/group_theory/group_action/basic.lean
82a51b02837dfb2cc8a56cc9d6d4752558e695d8
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
7,689
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.group_theory.group_action.defs import Mathlib.group_theory.group_action.group import Mathlib.gr...
842b76df426cbe690543e941e986ab64bd28e0ef
92e157ec9825b5e4597a6d715a8928703bc8e3b2
/src/mywork/lecture_8.lean
8ebbdc6f9f1fcf892f50586ef01cf9c94e63b00d
[]
no_license
exb3dg/cs2120f21
9e566bc508762573c023d3e70f83cb839c199ec8
319b8bf0d63bf96437bf17970ce0198d0b3525cd
refs/heads/main
1,692,970,909,568
1,634,584,540,000
1,634,584,540,000
399,947,025
0
0
null
null
null
null
UTF-8
Lean
false
false
5,076
lean
theorem and_associative : ∀ (P Q R : Prop), (P ∧ Q) ∧ R → P ∧ (Q ∧ R) := /- and is defined as right associative P ∧ Q ∧ R ⟶ P ∧ (Q ∧ R) -/ begin assume P Q R, assume h, have pq : P ∧ Q := and.elim_left h, have p : P := and.elim_left pq, have q : Q := and.elim_right pq, have r : R := and.elim_right h, exa...
ea41776899a3deaf502cb21134eb459d7e090e7d
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/category/basic.lean
75db02fc3617bf6efddd9d17c12b4a27ddd88528
[ "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
10,867
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, Johannes Hölzl, Reid Barton -/ import combinatorics.quiver.basic import tactic.basic /-! # Categories Defines a category, as a type class parametrised...
0e7270f6e3a4975d74dd67957ad51541e948a3cf
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/legendre_symbol/quadratic_char.lean
9e6d5d17c9fded7c09a15c7483aeaab8bd131bbe
[ "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,658
lean
/- Copyright (c) 2022 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Stoll -/ import data.fintype.parity import number_theory.legendre_symbol.zmod_char import field_theory.finite.basic import number_theory.legendre_symbol.gauss_sum /-! # Quadrat...
c882796ea4274ead2e45952d8e35e5cf85163cf8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/seminorm.lean
29ea0d7171a47ef7e433b8142551336311de6dff
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
7,680
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.pointwise import Mathlib.analysis.normed_space.basic import Mathlib.PostPort universes u_1 u_2 l...
6f44d9e9928c4af34bc8b97f224725f09ceae7a3
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/module/basic.lean
b48d6898e86f5ba9260af4539fcfe90268b42851
[ "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
22,257
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import group_theory.group_action /-! # Modules over a ring In this file we define * `semimodule R M` : an additi...
e19b283268a1ca454ee8d0930f0f2c963c119cde
82e44445c70db0f03e30d7be725775f122d72f3e
/src/tactic/interactive.lean
8a8f2c89419ef81f6a81aa27a13a0dcff6bd9f09
[ "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
38,825
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, Sébastien Gouëzel, Scott Morrison -/ import tactic.lint import tactic.dependencies open lean open lean.parser local postfix `?`:9001 := optional local po...
1709f78ca683661c3de6dd29cb70b0a812e253ec
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/Deriving/FromToJson.lean
a6f0ad4b30a9751057f27f9a7321630df421fe48
[ "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
9,267
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Dany Fabian -/ import Lean.Meta.Transform import Lean.Elab.Deriving.Basic import Lean.Elab.Deriving.Util import Lean.Data.Json.FromToJson namespace Lean.Elab.Der...
2e0f9e91c23bd1e08f11bd8bab3aaadb28c317b7
5ffb8080b18aa71638631832811ab18c0aec5879
/src/subgroup/basic.lean
424d5d9b57bdbb6550f722ef26390815167300c2
[ "Apache-2.0" ]
permissive
isabella232/group-theory-game
805ba8f473af58e3b0437121712dfc36f535b71a
152ec4a92ad67b6174a3d240c63fa56a6df6017e
refs/heads/master
1,679,206,314,315
1,611,521,951,000
1,611,521,951,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,349
lean
import group.basic group.powers finsum.basic /-! Basic definitions for subgroups in group theory. Not for the mathematician beginner. -/ -- We're always overwriting group theory here so we always work in -- a namespace namespace mygroup open mygroup.group /- subgroups (bundled) -/ /-- A subgroup of a group G is...
1ba06081b6dc7cc5db747b722520691cf554d189
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/pi_tensor_product.lean
11fbb0d2578f3538b0e7bce49403cbfb5f6ca83e
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
25,038
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, Eric Wieser -/ import group_theory.congruence import linear_algebra.multilinear.tensor_product /-! # Tensor product of an indexed family of modules over commutative...
541ede22d1df47f760edd91ae05762e782626367
8c95816d6379a6864848d68ce735a5700c1cbbc3
/src/smt2/lol.lean
a3678e075bcc3144a29e84600fa012d8012d5da9
[ "Apache-2.0" ]
permissive
aqjune/smt2_interface
f00ed0a4317d7c9112deb0806c8e89e6512a901e
598848a7a6fa47520fadcfe1b16891053a296084
refs/heads/master
1,631,518,664,718
1,524,489,340,000
1,524,489,340,000
115,204,811
0
0
null
1,514,043,428,000
1,514,043,427,000
null
UTF-8
Lean
false
false
13,138
lean
import smt2.syntax import smt2.builder open native namespace lol structure refinement (T : Type) := (refinment : T → T) mutual inductive type, term with type : Type | bool : type | int : type | var : string → type | fn : list type → type → type | refinement : type → (string → term) → type with term : Type -- TODO: e...
2057507d20d57d1e8cedec0f3eb51bd6bb06387e
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/init/function.hlean
655ff42b9bbb45341ceaf9dcb5f5ca288db9c9db
[ "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
1,904
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura General operations on functions. -/ prelude import init.reserved_notation .types open prod namespace function variables {A B C D E : Type} definition comp...
16070a5d5f822b062c6182fbda8ba34b1b48e21b
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/lua7.lean
964ecabdb76e9cf2a78cdbe0ca694b1f4d1af3e0
[ "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
82
lean
(* x = Const("x") y = Const("y") N = Const("N") print(fun({{x, N}, {y, N}}, x)) *)
09c79544ec5882b0bd44111b6e076864a805bdc0
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Message.lean
a5fa6419436ae38d9a266dbe02ee17c261e1d1f7
[ "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
9,604
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Message Type used by the Lean frontend -/ prelude import Init.Data.ToString import Init.Lean.Data.Position import Init.Lean.Syntax import In...
fc344b4c3cd4065b6e7c12dde9256b4e54ddb8c2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/affine_space/independent.lean
7918c3ff4d4a873fc0d38c41a1f476400f91ffd3
[ "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
44,078
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import data.finset.sort import data.fin.vec_notation import data.sign import linear_algebra.affine_space.combination import linear_algebra.affine_space.affine_equiv impor...
a66472b305f3b18e03b2ce3b805fd9878f6f2084
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/DocCommands.lean
168db27d2fd40eb2d1bd23690849c02722bbefd9
[ "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
1,291
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Basic open Lean open Lean.Elab.Tactic (Location) namespace Mathport.Translate.Tactic open AST3 Parser -- # tactic.do...
e2ccccd561d2bf5a8a054f9455e6e855ec18b119
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Meta/WHNF.lean
adf0e087fccae94f2de9bba0931e27fb2bd6a962
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
26,335
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.ToExpr import Lean.AuxRecursor import Lean.ProjFns import Lean.Meta.Basic import Lean.Meta.LevelDefEq import Lean.Meta.GetConst import Lean.Meta...
6327c5e311439e13f8fb8be62ae119fbbe8dd42b
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/auto_quote_error2.lean
1e9cd714eac5e20c571e8b48f44400e863c12b62
[ "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
938
lean
example (a b c : nat) : a = b → b = c → c = a := begin tactic.intros, apply eq.symm, apply eq.refl, -- Error: unification assumption, assumption end example (a b c : nat) : a = b → b = c → c = a := begin tactic.intros, apply eq.symm, begin tactic.trace "hello world", end, -- Error unsolved goals ...
9ff949c99060b8ae7ae60c28a68cc3be2615d61f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/box_integral/integrability.lean
0cd3e3289fc467bb183bbb04a956ba6b5e73a472
[ "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
17,971
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.box_integral.basic import measure_theory.measure.regular /-! # McShane integrability vs Bochner integrability In this file we prove that any Bochn...
a40c25fef28f563320582069f7769b59cb82129d
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebra/homology/homology.lean
90187963d3e24447d8be5908a8f43115a95fb729
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
3,899
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.chain_complex import category_theory.limits.shapes.images import category_theory.limits.shapes.kernels /-! # Non-functorial cohomology groups...
db3a9f05d05681963ea8a7d814d99c2c01b5f99d
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/ring/pi.lean
8ffec41b44d3f170f6e942501aaa75e54d6e09e6
[ "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
4,323
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import tactic.pi_instances import algebra.group.pi import algebra.ring.basic /-! # Pi instances for ring This file defines instances for ring, semiring an...
ba65f745e5d72b6fb48fdb8d3da15d467d3b942f
1a9d3677cccdaaccacb163507570e75d34043a38
/src/week_5/Part_A_filters.lean
ba50bfc420b3a126c5b3419a5f89f0d4cc94b50a
[ "Apache-2.0" ]
permissive
alreadydone/formalising-mathematics
687d386a72065795e784e270f5c05ea3948b67dd
65869362cd7a2ac74dd1a97c7f9471835726570b
refs/heads/master
1,680,260,936,332
1,616,563,371,000
1,616,563,371,000
348,780,769
0
0
null
null
null
null
UTF-8
Lean
false
false
14,656
lean
import order.filter.basic -- the basics /- # Filters ## Introduction A topological space structure on a type `α` is a collection of subsets of `α` (the open sets) satisfying some axioms. A filter is a similar kind of thing -- it's a collection of subsets of `α` satisfying some different axioms. Before we go into th...
b65b0029beec818a9e2a66b4a7e49be53999ec9c
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/t10.lean
8943c5260fd06ba28066cb74662a8c87c6e815dd
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
582
lean
constant N : Type.{1} definition B : Type.{1} := Type.{0} constant ite : B → N → N → N constant and : B → B → B constant f : N → N constant p : B constant q : B constant x : N constant y : N constant z : N infixr `∧`:25 := and notation `if` c `then` t:45 `else` e:45 := ite c t e check if p ∧ q then f x else y check if ...
48f20bd24d6a37aa4c7cca802d379e87771febef
c8af905dcd8475f414868d303b2eb0e9d3eb32f9
/examples/enzyme.lean
ba5174fcfa0d0231ae34c4036a1fcd8cfc1e2e02
[ "BSD-3-Clause" ]
permissive
continuouspi/lean-cpi
81480a13842d67ff5f3698643210d8ed5dd08de4
443bf2cb236feadc45a01387099c236ab2b78237
refs/heads/master
1,650,307,316,582
1,587,033,364,000
1,587,033,364,000
207,499,661
1
0
null
null
null
null
UTF-8
Lean
false
false
4,127
lean
import .common open cpi open cpi.species open_locale normalise def k_bind : ℍ := fin_poly.X "k_bind" def k_degrade : ℍ := fin_poly.X "k_degrade" def k_unbind : ℍ := fin_poly.X "k_unbind" def k_react : ℍ := fin_poly.X "k_react" def aff : affinity ℍ := affinity.mk_pair k_bind -- x, y def M : affinity ℍ -- u, r, t ...
52e410a2a4cecd67141598ecc6005420d1e06368
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/shapes/constructions/over/connected.lean
934d04b9d266a35176fff0503496ec21f8658e0c
[ "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
2,668
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.over import category_theory.limits.connected import category_theory.limits.creates universes v u -- declare the `v`...
63eb1fa3c0838575435fc19ed200c47ea7f6543b
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/finset/basic.lean
a9d02b47de16fb3d6549b5f497581b81b5b913c6
[ "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
124,204
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro -/ import data.multiset.finset_ops import tactic.monotonicity import tactic.apply import tactic.nth_rewrite /-! # F...
9ed0cb657d61c54782dacd444e2d2d0ccf3e50be
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/char_zero.lean
e9779836aa8d8ab8c926290d143d1416d0f40eda
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
4,476
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.nat.cast import...
2ab9382d3989183e685dd30b8f698e3af0316a60
43390109ab88557e6090f3245c47479c123ee500
/src/chris_hughes_various/disjoint_finset.lean
d2ed2176655cffcfb5a7de62517d59294f9d4808
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,652
lean
import data.finset namespace finset variable {α : Type*} def disjoint (s t : finset α) : Prop := ∀ ⦃a⦄, a ∈ s → a ∈ t → false theorem disjoint.symm {s t : finset α} (d : disjoint s t) : disjoint t s | a i₂ i₁ := d i₁ i₂ @[simp] theorem disjoint_comm {s t : finset α} : disjoint s t ↔ disjoint t s := ⟨disjoint.symm, ...
5b31acd60309f426262505467e547d7a481b5e38
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_theory/unnamed_1984.lean
55b011d383e394fce1064d66156b7c4103ec4e3d
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
175
lean
variables {p q : Prop} -- BEGIN example : (p → false) → (p → q) := begin assume h₁ : p → false, assume h₂ : p, show q, from false.elim (h₁ h₂) end -- END
87282412458374f9157ec5144e16eb950f465b7d
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/algebra/char_p.lean
9245866e4967eab246fb3ef779e9e620b59c0acf
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,161
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz -/ import data.fintype.basic import data.nat.choose import data.int.modeq import algebra.module.basic import algebra.iterate_hom import group_theory....
bb447a25ce143dc05636c90108c428a342521bfb
e4e5bde6f14c01a8a34267a9d7bb45e137735696
/src/exercises/logic_and_proof/14.lean
ee0903046e6385ad31c3133995b463d288cbc155
[]
no_license
jamesdabbs/proofs
fb5dab6f3c4f3f5f952fca033ec649888ae787c6
00baf355b08e7aec00de34208e1b2cb4a8d7b701
refs/heads/master
1,645,645,735,797
1,569,559,636,000
1,569,559,636,000
211,238,170
0
0
null
null
null
null
UTF-8
Lean
false
false
2,391
lean
/- Exercises from https://leanprover.github.io/logic_and_proof Chapter 14. Relations in Lean -/ /- Replace the sorry commands in the following proofs to show that we can create a partial order R'​ out of a strict partial order R. -/ section ex1 parameters {A : Type} {R : A → A → Prop} parameter (irreflR : irrefl...
062d613ececa6185fe8b3f96ca63bf74b9af07dd
1d335ec6ac4181a0a762b12797936770cc9fcef9
/override/geomOverride.lean
0747e2955aaf3c17aaea26c466e31e0885b7e1d7
[]
no_license
rohanrajnair/lang
dbadcc3997e44245ca84d48dc1733cf09a2605a6
3beb4e29d8faa692983a55fa18acb6eb947134e8
refs/heads/master
1,672,640,379,424
1,597,948,771,000
1,597,948,771,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
359
lean
import ..imperative_DSL.environment import ..eval.geometryEval open lang.classicalGeometry def assignGeometry : environment.env → lang.classicalGeometry.var → lang.classicalGeometry.expr → environment.env | i v e := environment.env.mk (λ r, if (varEq v r) then (classicalGeometryEval e i) ...
bda44ec15d16579d37bb193dad7d14d6aeda285a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/real/cardinality.lean
b70daf1d8d6c3afd0358080eb080ab9e47067e41
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
9,491
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 set_theory.cardinal_ordinal import analysis.specific_limits import data.rat.denumerable import data.set.intervals.image_preimage /-! # The cardinality of ...
f453bdbde32feaf8afa72413d14cd73892935a25
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/localized.lean
c6d2b77820d26a881d1cca8ff353591216a00506
[ "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,467
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 meta.rb_map import tactic.core /-! # Localized notation This consists of two user-commands which allow you to declare notation and commands localized to ...
fa6635ea74aef57f65aeb04978f9516c27b6a3bf
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/normed_space/affine_isometry.lean
fc1d7cdb39bf70941e38e9144cdec75d4a63bb4a
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,462
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...
ba1de14cbcce568371ec40a94d4afbab7ebde829
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/dense_embedding.lean
062831193ad407ea09637ec8c3a2f65808e77e37
[ "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
12,900
lean
/- Copyright (c) 2019 Reid Barton. 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.separation import topology.bases /-! # Dense embeddings This file defines three properties of functions: * `dense_rang...
3317863cdab282a062fc0eb8d90ea92669f0094c
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/function/ae_eq_fun.lean
f7a32c4765cf2e496927df97a163c46a25f64d58
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
22,389
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.integral.lebesgue import order.filter.germ import topology.continuous_function.algebra /-! # Almost everywhere e...
b3f957fafd3eba511eb091eb0c182ce3709aeb5b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/compiler/reusebug.lean
c711e62dfa1a7759e05dc3dce183e4c5edc48087
[ "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
756
lean
inductive Expr | Val : Int → Expr | Var : String → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr namespace Expr protected def Expr.toString : Expr → String | Val n => toString n | Var x => x | Add f g => "(" ++ Expr.toString f ++ " + " ++ Expr.toString g ++ ")" | Mul f g => "(" ++ Expr.toString f...
59bde3d80a628b1ae1a1d2dd804a8a84fa3d5f96
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/group_theory/specific_groups/alternating.lean
60ad95cd0e16fa76aee8bdf24732ce6fc24b4650
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
15,088
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import group_theory.perm.fin import tactic.interval_cases /-! # Alternating Groups The alternating group on a finite type `α` is the subgroup of the permutation gr...
dbdca23501fb44bf2d2b40191104f1ee3fd22ccb
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/measure_theory/integral/bochner.lean
5db105492850fa698114a97b101c0732ec17298b
[ "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
67,204
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import measure_theory.integral.set_to_l1 import measure_theory.group.basic import analysis.normed_space.bounded_linear...
9484366187d8819910a26c6ec81593481547c461
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/real/ennreal.lean
46b5bcf69496ce5e3210c80dcd5c895c1ab1bd8f
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
44,218
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, Yury Kudryashov Extended non-negative reals -/ import data.real.nnreal order.bounds data.set.intervals tactic.norm_num noncomputable theory open classical set open_loc...
5aabd20e45e253e79e5ee0915a32476d721f10af
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/bicones.lean
ced55c90ecb55c5962d8523e46e70d3128f1f3ba
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,770
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.limits.cones import category_theory.fin_category /-! # Bicones > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
15209d13e523bc2c53ecc392b894d54ae0b932c8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/sites/spaces_auto.lean
fe5a8857c15f6e8707689b1f52f547c76fc2af86
[]
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
2,361
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.opens import Mathlib.category_theory.sites.grothendieck import Mathlib.category_theory...
724db0118a9afcb949c78b73984f6409283c10e5
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/coeIssue2.lean
c0baca2ce2a85fb7fda179c49c4c8c41bd8533d2
[ "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
850
lean
new_frontend structure A := (a : Nat) structure B := (a : Nat) structure C := (a : Nat) instance : Coe A B := ⟨fun s => ⟨s.1⟩⟩ instance : Coe A C := ⟨fun s => ⟨s.1⟩⟩ def f {α} (a b : α) := a def forceB {α} (b : B) (a : α) := a def forceC {α} (c : C) (a : α) := a def forceA {α} (a : A) (o : α) := o def f1 (x : _)...
e7eedc8afeeb957e2a453c436699a5ca91ca1aad
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/Util/Recognizers.lean
5df6fb7d9c2f79dd2d58ab85d70d97b954562e50
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,929
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Environment namespace Lean namespace Expr @[inline] def const? (e : Expr) : Option (Name × List Level) := match e with | Expr.const n us _...
77949f278150076a50881565d56b206445c4a581
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/metric_space/metrizable.lean
8a016f62e60c763a2fad9304649ffc929cb30e78
[ "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
11,776
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.specific_limits.basic import topology.urysohns_lemma import topology.continuous_function.bounded import topology.uniform_space.cauchy /-! # Metriza...
84d467c0e0226f4a6dfe204392fd9658bc3702bc
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/undergraduate/MAS114/Semester 1/Q18.lean
11d17b5d4b4b0953a047a2fb883a472a3e5cb460
[]
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,192
lean
import data.int.basic tactic.ring namespace MAS114 namespace exercises_1 namespace Q18 variables (a b c d : ℤ) lemma L_i : a ∣ b → b ∣ c → a ∣ c := begin rintros ⟨uab,hab⟩ ⟨ubc,hbc⟩, use uab * ubc, rw[← mul_assoc,← hab,← hbc], end lemma L_ii : a ∣ b → a ∣ c → a ∣ (b + c) := begin rintros ⟨uab,hab⟩ ⟨uac,hac⟩, ...
f3133cc59508eee2047add65030d7d345cb27c30
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/constructions.lean
2c46bacbb68d9ba773839a101588d02efc2842b6
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,865
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import data.finset.basic /-! # Constructions involving sets of sets. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mat...
5bba1995a505c73bcccb830b206214c168fee352
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/interactive_expr_auto.lean
91a79cf72ac16fc6b4e8cce606d3df394742a49e
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,120
lean
/- Copyright (c) 2020 E.W.Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: E.W.Ayers -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.PostPort namespace Mathlib /-! # Widgets used for tactic state and term-mode goal display The vsco...
22bf8df132a7b1e1c410213aad8ace6c5820cc55
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Init/Control/Lawful.lean
ab1848d88d54394de811aed7aa55c407ff597106
[ "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
14,444
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Leonardo de Moura -/ prelude import Init.SimpLemmas import Init.Control.Except import Init.Control.StateRef open Function @[simp] theorem monadLift_self [Mo...
44898c35ca1d09420f0027c9bb5d1fa85d989a6d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/real/irrational.lean
4a55f51166043047d5c1a25f28165fe434bfc1a3
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
7,247
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Yury Kudryashov. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.real.sqrt import Mat...
db2a2534c8efd0aaafd4c6d331cbc15c5776e716
94e33a31faa76775069b071adea97e86e218a8ee
/src/linear_algebra/affine_space/affine_equiv.lean
7177d57104ed53a133e11f72824738e50aa251a4
[ "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
17,546
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import linear_algebra.affine_space.affine_map import algebra.invertible /-! # Affine equivalences In this file we define `affine_equiv k P₁ P₂` (notation: `...
16603ee5f0b77ee98ac42beb243ed710249f81a5
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/omega/misc.lean
64718d92e33f9a762613401e8e6f8e62256f79cb
[ "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
2,141
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ /- Miscellaneous. -/ import tactic.localized variables {α β γ : Type} namespace omega lemma fun_mono_2 {p : α → β → γ} {a1 a2 : α} {b1 b2 : β} : a1 = a2 → b1 = b2 → (p a1...
d3946777c8ae77d44c9f19dca2b00f84cf032d49
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/examples/lean/tactic1.lean
4d1fa6b2494360af5a313b3216ea0a95a4e35440
[ "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
2,729
lean
-- This example demonstrates how to specify a proof skeleton that contains -- "holes" that must be filled using user-defined tactics. import tactic (* -- Define a simple tactic using Lua auto = Repeat(OrElse(assumption_tac(), conj_tac(), conj_hyp_tac())) conj_hyp = conj_hyp_tac() conj = conj_tac() *) -- The (by ...
02ac7a02e07f92ca0b37ed5a13902b60e75a17a0
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/algebra/lattice/filter.lean
1da71d4825ad7f0074519bbdbce33ffa64127b7f
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
66,123
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 Theory of filters on sets. -/ import .complete_lattice ...data.set .zorn open lattice set universes u v w x section applicative variables {f : Type u → Type v} [appli...
1f8d951a03066f491252b6c8a31f7ee7ab2b7aeb
c777c32c8e484e195053731103c5e52af26a25d1
/test/norm_num.lean
d2b98fdec5b8497e312177e398ae8617352d1c38
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
14,516
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro -/ import tactic.norm_num import algebra.ring.pi /-! # Tests for `norm_num` extensions -/ constant real : Type notation `ℝ` := real @[instance] constant real...
0b44d165087b0d7ad616b98a8f20e4d11c30c861
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/abst.lean
e355e3809ca9153f44abca935911590860f02594
[ "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
522
lean
import Lean.Expr new_frontend open Lean def tst : IO Unit := do let f := mkConst `f; let x := mkFVar `x; let y := mkFVar `y; let t := mkApp (mkApp (mkApp f x) y) (mkApp f x); IO.println t; let p := t.abstract [x, y].toArray; IO.println p; IO.println $ p.instantiateRev #[x, y]; let a := mkConst `a; let b := mkApp f (mk...
8b2ef9893c08f6dfcaddd6ca5216601082af12b0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/func.lean
31d291be9da9cfe0d6676c63f78114e81a49fe00
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
10,362
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ import data.nat.basic open list universes u v w variables {α : Type u} {β : Type v} {γ : Type w} namespace list namespace func variables {a : α} variables {as as1 as2 as3 :...
5cf607bd1d64a2e3c0a7873ae9451adf3b3c7381
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/complex/log.lean
5a55d5b154cfc64199da1a8a0a0bd6d1b9542693
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
9,290
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import analysis.special_functions.complex.arg import analysis.special_functions.log.basic /-! # The co...
6072a3984fdbd637230606143f3ea88f829de4bc
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/fractional_ideal.lean
3abf8d6da03036b75c3da610b9a882328d5db5f4
[ "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
50,274
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...
b8809a9e4b72e6231eb28d69e9701bf1846384c2
37a833c924892ee3ecb911484775a6d6ebb8984d
/src/category_theory/examples/groups/default.lean
48171e84f2a51c1b041a829b761de32d58d6d2e7
[]
no_license
silky/lean-category-theory
28126e80564a1f99e9c322d86b3f7d750da0afa1
0f029a2364975f56ac727d31d867a18c95c22fd8
refs/heads/master
1,589,555,811,646
1,554,673,665,000
1,554,673,665,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,511
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.functor import category_theory.tactics.obviously open category_theory namespace category_theory.examples.groups universe u₁ def Group :...
8c03954f9b862f704288c2a344c3f4ddd7386823
9338c56dfd6ceacc3e5e63e32a7918cfec5d5c69
/src/Kenny/sites/lattice.lean
667023a3564853b844f32ee46adae9451c0aa7e6
[]
no_license
Project-Reykjavik/lean-scheme
7322eefce504898ba33737970be89dc751108e2b
6d3ec18fecfd174b79d0ce5c85a783f326dd50f6
refs/heads/master
1,669,426,172,632
1,578,284,588,000
1,578,284,588,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,638
lean
import Kenny.sites.basic order.complete_boolean_algebra universes u v namespace lattice class Sup_lattice (X : Type u) extends lattice X, has_Sup X := (le_Sup : ∀ {s : set X} {a : X}, a ∈ s → a ≤ Sup s) (Sup_le : ∀ {s : set X} {a : X}, (∀ (b : X), b ∈ s → b ≤ a) → Sup s ≤ a) class Sup_distrib_lattice (X : Type u) e...
0f5c36a2a84855b1f0183b0a67d24388aedf2b2f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/zsqrtd/basic.lean
b120cc4079d915976fce0c146df3b7cf416632cd
[]
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
20,566
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.associated import Mathlib.tactic.ring import Mathlib.PostPort universes l namesp...
64beb667ccef253b1a90706735b952aaeec3e7e7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/seq/seq.lean
182edc11ec884c27cacf4e8a3219aacf1fd4456a
[ "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,870
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.list.basic import data.lazy_list import data.nat.basic import data.stream.init import data.seq.computation namespace stream universes u v w /- coinducti...
541d8efe1db045d7a77ad4cb6c166dcf5a9ba27a
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/measure_theory/function/lp_space.lean
75a62f4de02cd62a4d8a15414eaca46e383f01ee
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
111,370
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import analysis.normed_space.indicator_function import analysis.normed.group.hom import measure_theory.function.ess_sup import measure_theory.function....
aa2a388bd49dd0f04b54462a50357b31e7b977f5
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/my_solutions/world3_le.lean
897f4e3cf3fbeb8f54b58439fa35044fb3600d12
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
4,759
lean
import solutions.world2_multiplication import mynat.le /- Here's what you get from the import: 1) The following data: * a binary relation called mynat.le, and notation a ≤ b for this relation. The definition is: a ≤ b ↔ ∃ c : mynat, b = a + c 2) The following axiom: * `le_def (a b : mynat) : a ≤ b ↔ ∃ (c : m...
8ad984ff1ecc1095522e884503322f51d62a1c5b
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/complex/circle.lean
da36d03cc234599023ba8b14a5ac16ccef8fa8b3
[ "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
4,390
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.special_functions.exp import topology.continuous_function.basic /-! # The circle This file defines `circle` to be the metric sphere (`metric.spher...
bf925bb08a3036c2de922caf5847e1ef014ca18d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/set_theory/game/impartial.lean
c39d6a61a9c481a9dfb737aa208a83753f748a8c
[ "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
7,349
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import set_theory.game.winner import tactic.nth_rewrite.default import tactic.equiv_rw /-! # Basic definitions about impartial (pre-)games We will define an impartial gam...
c613adbb8595e9b3bb516ac003e6bc000eb43685
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/control/functor/multivariate.lean
1a381259d2df169279bf7d102330b040fb23977b
[]
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
5,583
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Mario Carneiro, Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fin2 import Mathlib.data.typevec import Mathlib.logic.functi...
0b6064f510ca66f9124652338cc6c67b4dc853ac
618003631150032a5676f229d13a079ac875ff77
/archive/examples/prop_encodable.lean
e441124c42a981fed12a36cd661245cbf1a04f69
[ "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
2,972
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import data.W /-! # W types The file `data/W.lean` shows that if `α` is an an encodable fintype and for every `a : α`, `β a` is encodable, then `W β` is encodable. A...
29bc0e3c67fa24b7d07b91556f50e65e5fc2566a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1315b.lean
6bf710ce3547f5a618bf6a1cc413dc3f3259b7e5
[ "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
997
lean
open nat def k : ℕ := 0 def fails : Π (n : ℕ) (m : ℕ), ℕ | 0 m := 0 | (succ n) m := match k with | 0 := 0 | (succ i) := let val := m+1 in match fails n val with | 0 := 0 | (succ l) := 0 end end def test (k : ℕ) : Π (n : ℕ) (m : ℕ), ℕ | 0 m := 0 | (succ n) m := match k with | 0 := 1 ...
97b033ce77446387f631d4cc99404cea50c2db65
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/instances/ennreal.lean
854a59f00a93a092b44f02d16046c0bb2d854451
[ "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
41,822
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import topology.instances.nnreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical topological_space e...
48054129d03027045014fa92db010531929e15d8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/pnat/factors.lean
97c1e25bfb319d743162796b803557a78b5b7e21
[ "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
14,845
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import data.pnat.prime import data.multiset.sort import data.int.gcd import algebra.group /-! # Prime factors of nonzero naturals This file defines the factorizat...
a810f443df0cea9cdbdddfe4fe513d6bd6e3afdf
c7114155c06e8d4370c3ac2c1919ac456fdbf3e7
/src/solutions/01_equality_rewriting.lean
4f975859f123f5ea71fcc1ece6a4eee9c8d8c09c
[ "Apache-2.0" ]
permissive
fcasal/tutorials
c2c04a30f756964b7db31159be216ba7a2779272
0644a78265959f576888824e11e78f89d210eaf7
refs/heads/master
1,658,194,417,828
1,590,057,408,000
1,590,057,408,000
265,922,436
0
0
Apache-2.0
1,590,085,590,000
1,590,085,589,000
null
UTF-8
Lean
false
false
5,601
lean
import data.real.basic /- One of the earliest kind of proofs one encounters while learning mathematics is proving by a calculation. It may not sound like a proof, but this is actually using lemmas expressing properties of operations on numbers. It also uses the fundamental property of equality: if two mathematical ob...
303843c8abf44ac6f6c8c131f92f98e5ffda2cf2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/ring_hom/surjective.lean
b5d723521a0904f39a877bf43265e7445e0c0e9c
[ "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
2,421
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.local_properties /-! # The meta properties of surjective ring homomorphisms. -/ namespace ring_hom open_locale tensor_product open tensor_product a...
eb5b28bdd7ba6984fdac814113d42d153772f0ca
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/io_unsafe_perform_io.lean
39f78b3f4c7c7998bbd8eed01834cae104e9e660
[ "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
285
lean
import system.io open list io def getD {ε α : Type} (d : α): except ε α → α | (except.ok a) := a | (except.error e) := d meta def f (i : nat) : nat := getD 100 $ io.unsafe_perform_io (do put_str "value: ", print i, put_str "\n", pure i) #eval list.map f [0,1,2,3,4]
5a69239a98a832232693a0d4f7c01a80755a4042
4727251e0cd73359b15b664c3170e5d754078599
/src/data/opposite.lean
356e4876a73d8a9352e1570c1c9f01f94d5cdf0f
[ "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,444
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Simon Hudon, Kenny Lau -/ import logic.equiv.basic /-! # Opposites In this file we define a type synonym `opposite α := α`, denoted by `αᵒᵖ` and two syno...
b3c38226d1bb7cdfea8a19a2c43e188811099ba3
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/witt_vector/truncated.lean
763f6b736c84167165dd2f217aa568266fc18d0f
[ "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
14,177
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 ring_theory.witt_vector.init_tail import tactic.equiv_rw /-! # Truncated Witt vectors The ring of truncated Witt vectors (of length `n`) i...
a0d63834847ddf44f96ee3b39e7df88743b75e72
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/padics/padic_numbers.lean
778e8937e1c6eebf43ade9df2e698ac126ef7a53
[ "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
39,217
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import number_theory.padics.padic_norm import analysis.normed.field.basic /-! # p-adic numbers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this fi...
89365888dc1caa18c70b84242cbf3a93d8da3708
4b4a91d762ac3b6ef8f164899a6a26fc125eddd6
/src/level_2_group_actions.lean
6cbb77a3084ec4b6c91f11b1f97b785bcd99647a
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/group-action-exercises
955ceba8edb7eba7b8916690083829d321909aee
197b1a0e53ec8d84bf3903c9ab5cddf615a44816
refs/heads/master
1,686,020,547,415
1,625,354,242,000
1,625,354,242,000
382,577,731
2
0
null
null
null
null
UTF-8
Lean
false
false
5,911
lean
/- Apache 2, because everyone else is doing it Written by Kevin Buzzard summer 2021 in his shed. Powered by `mathlib`, the leanprover-community, without which nothing would have happened. Thanks to Leo and everyone at Microsoft Research for Lean. -/ -- This imports all user tactics and a whole bunch of basic mathemati...
a86ed3177d1ad21ef73ca8f43ccfc3cdf9ba65f8
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/hit/pushout.hlean
66b1d263a298cbf1c668fdda4d8480308310439b
[ "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
8,621
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 pushout -/ import .quotient cubical.square types.sigma open quotient eq sum equiv equiv.ops is_trunc namespace pushout section parameters {TL...
d649a793f9c6db573d16eb8bfdecdc744efbffcf
bb31430994044506fa42fd667e2d556327e18dfe
/src/category_theory/monoidal/preadditive.lean
9fb5c2b68234f2a05ab48a4f367747572121fb13
[ "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
9,666
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.preadditive.additive_functor import category_theory.monoidal.functor /-! # Preadditive monoidal categories A monoidal category is `monoidal_p...
d698a01fee1088a077be17564a5cd68852fd8bf2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/goTo2.lean
ca29f578e90f27acdd438d174b93c1cffc36f071
[ "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
366
lean
-- macro_rules | `($x + $y) => `(binop% HAdd.hAdd $x $y) macro_rules | `($x ^ $y) => `(binop% HPow.hPow $x $y) mutual def h (x : Nat) : Int:= match x with | 0 => 1 --v textDocument/definition | x+1 => r x + r x + h x ^ 2 --^ textDocument/definition --^ textDocu...
fb0f0c29b0093626ae6da4b78fdaabf52bc57849
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/InvolutiveFixedPoint.lean
34192a6d76315a9656596c44cff9c426461d0d8e
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
7,093
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section InvolutiveFixedPoint structure InvolutiveFixedPoint (A : Type) : Type := (prim : (A → A)) (one : A) (fixes_prim_one : (prim one) = one) (involutiv...
92660714edf87c83dd2af5b04366f213b324f5c2
34c1747a946aa0941114ffca77a3b7c1e4cfb686
/src/sheaves/sheaf_on_standard_basis.lean
a6709692832c9ebb2063fdee0f61e5ae0a518723
[]
no_license
martrik/lean-scheme
2b9edd63550c4579a451f793ab289af9fc79a16d
033dc47192ba4c61e4e771701f5e29f8007e6332
refs/heads/master
1,588,866,287,405
1,554,922,682,000
1,554,922,682,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,084
lean
/- Sheaf (of types) on standard basis. https://stacks.math.columbia.edu/tag/009L -/ import topology.basic import to_mathlib.opens import sheaves.covering.covering_on_standard_basis import sheaves.presheaf import sheaves.stalk_on_basis import sheaves.presheaf_of_rings_on_basis universe u open topological_space ...
339132dcca6823f6435ebe447ccaa12eb63a0966
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/hom/equiv.lean
4fcb7c96a05d41c571b11974efa5dfaa23c98d1b
[ "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
29,815
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov -/ import algebra.group.type_tags import algebra.group_with_zero.basic import data.pi.algebra /-! # Multiplicative and additive equivs ...
a4b271ed6449cd7d0295e0a945980ce5903b213a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/pathsimp.lean
112db1ab6e383e130317db68c1c1d9352a8d26c0
[ "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
1,276
lean
universes u v inductive path {α : Type u} (a : α) : α → Type u | refl : path a namespace path attribute [refl] path.refl @[symm] def symm {α : Type u} {a b : α} (h : path a b) : path b a := by induction h; refl @[trans] def trans {α : Type u} {a b c : α} (h : path a b) (h' : path b c) : path a c := by induction h;...
8ab4d65ca7af2dda16b746728a9be15f524150b4
cc62cd292c1acc80a10b1c645915b70d2cdee661
/src/category_theory/graphs/default.lean
467aa53d298098d45cf6259127bda695deee4ed2
[]
no_license
RitaAhmadi/lean-category-theory
4afb881c4b387ee2c8ce706c454fbf9db8897a29
a27b4ae5eac978e9188d2e867c3d11d9a5b87a9e
refs/heads/master
1,651,786,183,402
1,565,604,314,000
1,565,604,314,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,940
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan and Scott Morrison import category_theory.tactics.obviously import tidy.auto_cast namespace category_theory.graphs universes v₁ v₂ u₁ u₂ class graph (vertices ...
5397e9cdb2be28c45344ccf70d41f04463eadf9e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inductionLetIssue.lean
40a2b4300ba5181bf2ae884e023b86a075e0542b
[ "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
956
lean
inductive P : Option Nat → Prop | none : P .none | somePos : x > 0 → P (some x) def Option.get : (a : Option α) → a.isSome → α | some a, _ => a theorem aux (x? : Option Nat) (h₁ : P x?) (h₂ : x?.isSome) : x?.get h₂ > 0 := by cases h₁ with | none => contradiction | somePos h => exact h def f (x? : Option ...
12564085b57bac349834024743925b013ef0e4a4
717dd237d6a1fdd246152ec47f261c5244f9eba6
/lean4/division.lean
382d2208b65a495f3c1567337343419f6113b3b4
[]
no_license
lacker/kata
32866813a6097218878f0ce327040d65a0aeb145
96b1d63e395c8cf02dc6abbbb5253f4cfe5fded6
refs/heads/master
1,692,275,692,563
1,691,955,719,000
1,691,955,719,000
87,217,280
19
1
null
null
null
null
UTF-8
Lean
false
false
4,917
lean
open Classical inductive Cnat where | zero : Cnat | succ : Cnat → Cnat def add (a b : Cnat) : Cnat := match a with | Cnat.zero => b | Cnat.succ c => Cnat.succ (add c b) theorem add_zero_right (x : Cnat) : add x Cnat.zero = x := by induction x case zero => rfl case succ x' ih => simp [ih, add] theore...
24bde5d7e654c9967c7f74bf3b202a4f2d599284
92b13ae5cb04d78dd215ae736d93f5353e0e8e87
/string_ext.lean
bc757cb11e6153b1a6028adc3e990ed9b9d4c215
[]
no_license
jroesch/exp-compiler
f2dec4f17e769e7f3b41429c41ece1f004a3f209
6efd4512c80df947361bdada12415bc166db5e7f
refs/heads/master
1,585,267,520,150
1,469,047,597,000
1,469,047,597,000
63,471,055
0
0
null
null
null
null
UTF-8
Lean
false
false
555
lean
import init.string open string -- This version of the definition produces horrible code by doing cases_on 32 -- times, we should figure out how to make this legal, since this seems like -- a really useful programming pattern that should not be punished. -- definition is_space (c : char) : bool := -- match (fin.val c...
5ead6b0b4ec490742dd1c985fde70c9158ac1eb3
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/measure_theory/measure_space.lean
74f1f9276ec2173c82d11efab390074f5416f635
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
114,018
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 measure_theory.measure_space_def import measure_theory.measurable_space /-! # Measure spaces The definition of a measure and a measure space ...
7307dcb6199f359737528e8e27b9832f820f2db3
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/measure_theory/giry_monad.lean
b8ac01ad618e7c0bc73304d4bacdcec971e9b0a7
[ "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
8,542
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 measure_theory.integration /-! # The Giry monad Let X be a measurable space. The collection of all measures on X again forms a measurable space. This constru...