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
cfb150cba7842e1033a871f07188c672d740e25c
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/comma.lean
353c2675b75fec6cd677f5562a3901c45c6ed69b
[ "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
7,395
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johan Commelin, Bhavik Mehta -/ import category_theory.natural_isomorphism /-! # Comma categories A comma category is a construction in category theory, which builds ...
594a83194004de09835c93569d68b877bdcabec0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/big_operators/finsupp.lean
3ebc4941540447e383d8239eac2686ce4bcb865d
[ "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
23,214
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.finsupp.indicator import algebra.big_operators.pi import algebra.big_operators.ring import algebra.big_operators.order import group_theory.submonoid.membership /-...
736aa1dc4a3318e506bd2f8474feb69c2ed5dadb
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Compiler/LCNF/Specialize.lean
5145651fb3632e171a8f1807b88c292d4828f3dd
[ "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
14,427
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.Specialize import Lean.Compiler.LCNF.Simp import Lean.Compiler.LCNF.SpecInfo import Lean.Compiler.LCNF.PrettyPrinter import Lean.Compil...
7fb8076e09a9f3f0ee32db43938713360d0dc97d
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/tactic/core.lean
9fac519ec0fe65e770f0bd5f3bc6dfb1cee13a50
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
94,617
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic import logic.function.basic import control.basic import meta.expr import meta.rb_map import data.boo...
e3aeb072578dc0c1c15d0d94bf79af55b5214416
4fa161becb8ce7378a709f5992a594764699e268
/src/data/equiv/local_equiv.lean
cf85ad2bc32f1bfa177032a61f031b4322eb2ced
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
21,866
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 data.equiv.basic /-! # Local equivalences This files defines equivalences between subsets of given types. An element `e` of `local_equiv α β` is made o...
87d2087b9d6a5e9c4323dce4b86d20640e0f1c00
492a7e27d49633a89f7ce6e1e28f676b062fcbc9
/src/monoidal_categories_reboot/monoidal_opposite.lean
ae63ebe0df3ec845e4264921f553b59290544cc6
[ "Apache-2.0" ]
permissive
semorrison/monoidal-categories-reboot
9edba30277de48a234b63813cf85b171772ce36f
48b5f1d535daba4e591672042a298ac36be2e6dd
refs/heads/master
1,642,472,396,149
1,560,587,477,000
1,560,587,477,000
156,465,626
0
1
null
1,541,549,278,000
1,541,549,278,000
null
UTF-8
Lean
false
false
1,146
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 .monoidal_functor_attributes open category_theory namespace category_theory.monoidal universes u₁ v₁ u₂ v₂ def mop (C : Sort u₁) : Sort u₁ := C def unm...
ea4e9173090598441450be5c3fabadf5e04a9190
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/monad_univ_lift.lean
012f22a8d7dd803ec04b707358ae500a15d28dc9
[ "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
436
lean
universe variables u v def M : Type u → Type v := sorry instance : monad M := sorry def act1 : M unit := return () def act2 : M (Σ (A : Type), A) := return ⟨nat, 0⟩ def {t s} up {A : Type s} (a : M A) : M (ulift.{t} A) := sorry def {t s} down {A : Type s} (a : M (ulift.{t} A)) : M A := sorry prefix `↑`:10 := up...
3d547f5da2a7c19cd201e370d81a021f23ffaeff
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/elements_auto.lean
67fc078d6f9617c5f9ac441e5870abc18107591b
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
6,221
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.comma import Mathlib.category_theory.groupoid import Mathlib.category_theor...
26644cd2b0772d00ca37de08066d0315145493e7
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/analysis/box_integral/box/basic.lean
463059270a838c2f59ea581e68809651484b158b
[ "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
17,896
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 data.set.intervals.monotone import topology.algebra.order.monotone_convergence import topology.metric_space.basic /-! # Rectangular boxes in `ℝⁿ` In this f...
9e154bb337e7b44216826fa2036224e5acd49876
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebraic_geometry/AffineScheme.lean
82c60f1351940b9a19b83121b4c3be0c7ec95b1f
[ "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
17,476
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 algebraic_geometry.Gamma_Spec_adjunction import algebraic_geometry.open_immersion import category_theory.limits.opposites /-! # Affine schemes We define the catego...
321d78b5e70f9cdb4e7a4645df5b0bcf0454c4aa
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/ring_theory/adjoin/basic.lean
73c19a8137cd7b7c4b75b241d080276df112f3da
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
12,270
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.polynomial.basic import algebra.algebra.subalgebra /-! # Adjoining elements to form subalgebras This file develops the basic theory of subalgebras of an R-...
711d6ab5a09289e29abce5c31ba28c7c7066d1bf
95a0255955cf617fa80fca1ebb7cb4864f620075
/move_to_lib.hlean
990567aba9b3e81fff13e80c02abef8132916a47
[ "Apache-2.0" ]
permissive
xuanYang/Spectral
1df58d41745b2103c2eb7fddfb5e86652343327d
af30b19099a6e28a1b989c26c0603f1ff52a1367
refs/heads/master
1,624,752,891,749
1,504,812,124,000
1,504,812,124,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,228
hlean
-- definitions, theorems and attributes which should be moved to files in the HoTT library import homotopy.sphere2 homotopy.cofiber homotopy.wedge hit.prop_trunc hit.set_quotient eq2 types.pointed2 open eq nat int susp pointed sigma is_equiv equiv fiber algebra trunc pi group is_trunc function unit prod bool at...
aa64a0dcf5e009a2744aa31aba4e84ef62828304
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/normed_space/pi_Lp.lean
da14f060696deae741cb2ab2f08c7e154e3ed404
[ "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
35,904
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Jireh Loreaux -/ import analysis.mean_inequalities import data.fintype.order /-! # `L^p` distance on finite products of metric spaces Given finitely many metric ...
b9b2901a071bc6c1aabc8d98fcea080c8ea9dc4c
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/algebra/big_operators/order.lean
bdc3e34a9782d9c384661d97b5fe8e38c1aecb04
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
14,475
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.basic /-! # Results about big operators with values in an ordered algebraic structure. Mostly monotonicity results for the `∑` operati...
990b035d83979adc19819f97f891b899144bb35b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/combinatorics/simple_graph/degree_sum.lean
b31e89db0ce7e420f86b24f5a03bf551c950f5a0
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
6,781
lean
/- Copyright (c) 2020 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kyle Miller -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.combinatorics.simple_graph.basic import Mathlib.algebra.big_operators.basic import Mathlib.data.na...
d3526963e1303e79a4c8c2e80156fb77d2a0492b
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/data/rat/basic.lean
267f956ee5a5cdf0484e4f0e09d799eff5254b02
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
24,929
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.nat.gcd data.pnat.basic data.int.sqrt data.equiv.encodable algebra.group algebra.ordered_group algebra.group_power algebra.ordered...
3924d9dd87bf45ff6da58372a08c2c0a9fd82ee0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/continued_fractions/terminated_stable.lean
86e0c340ce6f0d0762356cb36c34e8c3d875c565
[ "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,829
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.translations /-! # Stabilisation of gcf Computations Under Termination > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
3d8f217c5a46a77504d4ef121f7ddd550b8cb580
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/function/l1_space.lean
eb5066f28b7734655b963007901b23bfa7d15c15
[ "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
50,441
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.function.lp_space /-! # Integrable functions and `L¹` space In the first part of this file, the predicate `integrable` is defined and basic pro...
89dbf5a1c8b8b34cc5161d8bf9c16874c6f1e586
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/bounds.lean
6d0286f9ff4362cf3d4a1a9c8f000c599bfd9bd5
[ "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,042
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import algebra.order.group.order_iso import algebra.order.monoid.order_dual import data.set.pointwise.basic import order.bounds.order_iso import order.conditi...
48ad3545fe0029ed38ff714b7652c38092c923ec
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/ring/opposite.lean
e9d57dd7a7955e0fd2d212e3af1119eed239e893
[ "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
11,474
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.group_with_zero.basic import algebra.group.opposite import algebra.hom.ring /-! # Ring structures on the multiplicative opposite > THIS FILE IS SYNCHRONIZED WI...
6916ce94923a47af4b66dcbccfa6363a71ec0b91
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_256.lean
443ee19ae23c37806462c088e937e93c4db958a6
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
127
lean
import tactic variable {α : Type*} variables (s t u : set α) -- BEGIN example : s \ (t ∪ u) ⊆ s \ t \ u := sorry -- END
cf3715aceae06447aa9f3b635c9c7ffa3bd8b36e
3c9dc4ea6cc92e02634ef557110bde9eae393338
/src/Lean/Elab/BuiltinNotation.lean
0c01369f397858602fb81b992f7a5a9c498d7fdd
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,692
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 Init.Data.ToString import Lean.Compiler.BorrowedAnnotation import Lean.Meta.KAbstract import Lean.Meta.Transform import Lean.Elab.Term import Lean.El...
3bdc3cb9aa76c6623d121fb5f2192956b0af66f5
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/adjoin/basic.lean
042265be90932fd1dc6e9bddae455bf9caba4acc
[ "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
15,759
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.operations import algebra.algebra.subalgebra.tower import linear_algebra.prod import linear_algebra.finsupp /-! # Adjoining elements to form subalgebras...
2419c9dc2023b474ea0336df8e1e738fec9d59fd
00de0c30dd1b090ed139f65c82ea6deb48c3f4c2
/src/topology/algebra/module.lean
12b82e8e53025ca21e57cb38bafe3f716db0f04a
[ "Apache-2.0" ]
permissive
paulvanwamelen/mathlib
4b9c5c19eec71b475f3dd515cd8785f1c8515f26
79e296bdc9f83b9447dc1b81730d36f63a99f72d
refs/heads/master
1,667,766,172,625
1,590,239,595,000
1,590,239,595,000
266,392,625
0
0
Apache-2.0
1,590,257,277,000
1,590,257,277,000
null
UTF-8
Lean
false
false
35,993
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, Yury Kudryashov -/ import topology.algebra.ring import ring_theory.algebra import linear_algebra.projection /-! # Theory of topologic...
89691e0c13b9177485cdcefeba57a3eec4e0870a
10834b3de906c60d1989336d7506a00ee5e52c08
/library/init/meta/simp_tactic.lean
2aeaeff8a72d43f0cc367e5ad5f05392a74d53e1
[ "Apache-2.0" ]
permissive
Jack-Pumpkinhead/lean
16657b5ad7f5316f007842fa2426b7f91212eae8
81cabd7b5a8f789633639f5fba64b45d31e37259
refs/heads/master
1,621,358,983,310
1,585,070,616,000
1,585,070,616,000
251,335,905
0
0
Apache-2.0
1,585,579,683,000
1,585,579,682,000
null
UTF-8
Lean
false
false
26,857
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.attribute init.meta.constructor_tactic import init.meta.relation_tactics init.meta.occurrences import init.data.op...
53ef1dce8e70ad2ac6dac1f621ce8d61f9d02003
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/order/field/basic.lean
126e30e1cd3401d6001ad24835170ed32f8d40c7
[ "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
31,640
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Mario Carneiro, Floris van Doorn -/ import order.bounds.order_iso import algebra.field.basic import algebra.order.field.defs import algebra.group_power.o...
32629d84608005d84368552a9b517832eab977f4
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/liouville/liouville_with.lean
c05c8aeaa9979e036061a89ca4274f4f84104138
[ "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,807
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.special_functions.pow import number_theory.liouville.basic import topology.instances.irrational /-! # Liouville numbers with a given exponent...
31e90180c1a002f80a4f3a344e46829f2cbb4845
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/analysis/normed_space/basic.lean
6cd948e84282c90daf5112de67311b14123fdff2
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
53,406
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.instances.complex import topology.algebra.module import topology.metric_space.antilipschitz /-! # No...
4779b31a64bf1ce45a3759a6e59accfba7a7cd71
4376c25f060c13471bb89cdb12aeac1d53e53876
/src/espaces-metriques/custom/topology.lean
c7a7225a936785d0b00c523448c17cfd82ff681a
[ "MIT" ]
permissive
RaitoBezarius/projet-maths-lean
8fa7df563d64c256561ab71893c523fc1424b85c
42356e980e021a20c3468f5ca1639fec01bb934f
refs/heads/master
1,613,002,128,339
1,589,289,282,000
1,589,289,282,000
244,431,534
0
1
MIT
1,584,312,574,000
1,583,169,883,000
TeX
UTF-8
Lean
false
false
498
lean
import .defs import .sequences open espace_metrique section topologie variables {X:Type} [espace_metrique X] -- Accumulation point of S def adhere_ens (S: set X) (l: X) := ∃ (x: ℕ → X), (∀ n, x n ∈ S) ∧ (converge x l) -- Limit point: l is an accumulation point of S \ { l } def point_limite (S: set X) (l: X) := adhe...
ea753d46b90579b2f9dc9e1916629b89faf92ac2
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/category/Mon/basic.lean
1616d7095a67a8fb54fae5d8f078369d8ce94014
[ "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
7,406
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.concrete_category.bundled_hom import category_theory.concrete_category.reflects_isomorphisms import algebra.punit_instances /-! # Category ins...
fd16bea1726f8f8519cb8bb76bedf1cf9a558a53
3268ab3a126f0fef71459fbf170dc38efe5d0506
/cohomology/serre.hlean
e6c6ab4adfc38835f02edc506d9a8ceb1d20a583
[ "Apache-2.0" ]
permissive
soraismus/Spectral
f043fed1a4e02ddfeba531769b2980eb817471f4
32512bf47db3a1b932856e7ed7c7830b1fc07ef0
refs/heads/master
1,585,628,705,579
1,538,609,948,000
1,538,609,974,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,309
hlean
import ..algebra.spectral_sequence ..spectrum.trunc .basic open eq spectrum trunc is_trunc pointed int EM algebra left_module fiber lift equiv is_equiv cohomology group sigma unit is_conn prod set_option pp.binder_types true /- Eilenberg MacLane spaces are the fibers of the Postnikov system of a type -/ namespa...
0712035c8106ab13b6064d0817f613ae0dada0da
3c693e12637d1cf47effc09ab5e21700d1278e73
/src/topology/twitch.lean
1769ff6aed3d9449348f2a408ed3e74d268a7773
[]
no_license
ImperialCollegeLondon/Example-Lean-Projects
e731664ae046980921a69ccfeb2286674080c5bb
87b27ba616eaf03f3642000829a481a1932dd08e
refs/heads/master
1,685,399,670,721
1,623,092,696,000
1,623,092,696,000
275,571,570
19
1
null
1,593,361,524,000
1,593,344,124,000
Lean
UTF-8
Lean
false
false
13,103
lean
-- topological spaces from first princples! -- Turns out there's quite a lot to it, but it's all straightforward -- I'll start on the hour. I'll do a brief review of last week -- (the below file, -- https://github.com/ImperialCollegeLondon/Example-Lean-Projects/blob/master/src/topology/twitch.lean -- and then I'll s...
bcecc60ec24e0345e3aea3de241ec6b8a768bd3e
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/Tactic/Rewrite.lean
cf135f2c9e16fd854b466dc45b8bc928fd6b8b4a
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
2,480
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.Rewrite import Lean.Meta.Tactic.Replace import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.ElabTerm import Lean.Elab.Tactic.Locat...
f0d35ae2d0d9253f14f6e2321909602855149884
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/Injective.lean
e2abf546fe564791739e05760761cff78dbbe9d8
[ "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,725
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Transform import Lean.Meta.Tactic.Injection import Lean.Meta.Tactic.Apply import Lean.Meta.Tactic.Refl import Lean.Meta.Tactic.Cases import...
654b6b1c6b72e72965b24bde64ced69677b2402a
f7315930643edc12e76c229a742d5446dad77097
/tests/lean/run/tactic9.lean
ce73ab2f34468fc70be4ec9f4b01a8d9efaffffc
[ "Apache-2.0" ]
permissive
bmalehorn/lean
8f77b762a76c59afff7b7403f9eb5fc2c3ce70c1
53653c352643751c4b62ff63ec5e555f11dae8eb
refs/heads/master
1,610,945,684,489
1,429,681,220,000
1,429,681,449,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
175
lean
import logic open tactic theorem tst {A B : Prop} (H1 : A) (H2 : B) : ((fun x : Prop, x) A) ∧ B ∧ A := by apply and.intro; beta; assumption; apply and.intro; !assumption
de7ca06abc3b18b769a61825920dedca4bd08083
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/category/galois_connection.lean
35ab915fc0bfe36419f58df9335d7ef40d4c1aea
[ "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
1,454
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 category_theory.category.preorder import category_theory.adjunction.basic import order.galois_connection /-! # G...
a4a47f49f9593b42dd52b64d705a1fba0ef8a9d3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/cubical/squareover.hlean
e3d0484877b5732a1761fb0ca910ba4d73259fde
[ "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
15,645
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Squareovers -/ import .square open eq equiv is_equiv namespace eq -- we give the argument B explicitly, because Lean would find (λa, B a) by itself, which --...
aa85769c8f7d21b48a7445795404ae8a62aab8ac
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/ctx.lean
4475e0e72229fd2ef43e15cdcfde51bf3440fb5b
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
363
lean
import data.nat open nat inhabited constant N : Type.{1} constant a : N section s1 set_option pp.implicit true definition f (a b : nat) := a theorem nat_inhabited [instance] : inhabited nat := inhabited.mk zero definition to_N [coercion] (n : nat) : N := a infixl `$$`:65 := f end s1 theorem tst : inh...
ce137f6a1ed627ca5a2f5b19af3168a8973b93f7
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/algebraic_geometry/stalks.lean
3728a23be73d85a54f1a5e0bf0a4dcc89b0ad847
[ "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
1,900
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 algebraic_geometry.presheafed_space import topology.Top.stalks /-! # Stalks for presheaved spaces This file lifts constructions of stalks and pushforwards of...
268e74c7425253fe8a039dad3b8894f0ea2ec3f0
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/convex/cone/basic.lean
ca62b0911010ef52bf22850a1e32995f219d53b2
[ "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
37,191
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Frédéric Dupuis -/ import analysis.inner_product_space.projection /-! # Convex cones In a `𝕜`-module `E`, we define a convex cone as a set `s` such that `a • x + b ...
550c23e4ccdf65b8b15c110da1aae2443fc3a73d
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/vector_measure.lean
67e83d71f5a9b14a02460959a665190044fce94f
[ "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
22,611
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.integration /-! # Vector valued measures This file defines vector valued measures, which are σ-additive functions from a set to a add monoid `M` su...
074723260b81b659ff75edd04a429fde5bee129e
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/data/set/disjointed.lean
6d68970672bb2e878f8e89ebfc768abb070e90e4
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,733
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 Disjointed sets -/ import data.set.lattice data.nat.basic open set classical lattice local attribute [instance] decidable_inhabited prop_decidable universes u v w x va...
4b51bec769e9111db198147e147c8e2d5f4f9c3e
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/param_binder_update2.lean
862c293e9ba3919a18481c82082555ee3bb3f67a
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
372
lean
section parameters {A : Type} {B : Type} definition foo1 (a : A) (b : B) := a parameters (B) {A} -- Should not change the order of the parameters definition foo2 (a : A) (b : B) := a parameters {B} (A) definition foo3 (a : A) (b : B) := a parameters (A) (B) definition foo4 (a : A) (b : B) := a e...
bce43aa5efcc866a71b0d8e90a49200b35dc8973
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/set/finite.lean
1cbd5dc740c642cbadf3a31a6d11df4d861cb27b
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
26,324
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 /-! # Finite sets This file defines predicates `finite : set α → Prop` and `infinite : set α → Prop` and proves some basic...
1a94f851ead7157eafc60d41b6a0c33ebbc2c215
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/set_theory/cardinal.lean
8b2c46c9a6d7fba2c4b753bca570d5b33f6dd7f7
[ "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
59,292
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import data.set.countable import set_theory.schroeder_bernstein import data.fintype.card import data.nat.enat /-! # Cardinal Number...
0c15eccf44cf93c7f68b5a6099d5fce1f35a26a1
1a61aba1b67cddccce19532a9596efe44be4285f
/library/data/nat/gcd.lean
f3e07ca5ce2fb21366d407abd524af80cd508a4c
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
15,555
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Definitions and properties of gcd, lcm, and coprime. -/ import .div open eq.ops well_founded decidable prod namespace nat /- gcd -/ private definiti...
a2abd2a8a9f24a309be96ef05eb403159a37687f
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/measurable_space.lean
8f41f84ede036ceddfc522a504781715f2167a90
[ "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
62,806
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 algebra.indicator_function import data.tprod import group_theory.coset import logic.equiv.fin import measure_theory.measurable_space_def impor...
921391981a0c1ee76a96794ed8c1e1795fc1206f
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/exam1/lin2k_test.lean
28fde2181ddb4a7b60e4aa03f94ed1bbeae9a024
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
12,163
lean
import data.real.basic import exam1.lin2k -- Let's work with rational number field abbreviation K := ℚ -- Here are nice abbreviations for types abbreviation scalr := K abbreviation vectr := K × K /- 1A. [10 points] Declare v1, v2, and v3 to be of type vectr with values (4,6), (-6,2), and (3, -7), respectively. -...
851cf9746f86b3176d414b29a3011ae4af3f71d9
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Parser/Tactic.lean
ac76e4b29790750bd63dca6c5edd9b0d96270540
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,015
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Term namespace Lean namespace Parser namespace Tactic builtin_initialize registerParserAlias! "tacticSeq" tacti...
ae225b87be3bc1b8ee99739ce6416e55d94ee9db
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/hw4/hw4.lean
c7e610184e7f5fe90068b9c70685c17ea687bc1c
[]
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
7,257
lean
-- Justin Ngo -- jmn4fms -- 2/17/20 -- Sullivan 2102-001 /- Here we import the dm_option type defined in class from the instructor directory. This line shows how to include a file from the parent of the parent of the current directory (one dot = current, two dots = parent, three = parent of parent), descending into se...
36119b50a484d09062da7c1dacbdb3aee9f1575c
367134ba5a65885e863bdc4507601606690974c1
/src/computability/tm_computable.lean
4154e47fe9d9d02b816cf9fa9f9bd6cfb9a44d28
[ "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
11,344
lean
/- Copyright (c) 2020 Pim Spelier, Daan van Gent. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Pim Spelier, Daan van Gent. -/ import computability.encoding import computability.turing_machine import data.polynomial.basic import data.polynomial.eval /-! # Computable...
fcdec36eb83d9bcdd1d417a8d04eafc511fdbc0b
b328e8ebb2ba923140e5137c83f09fa59516b793
/stage0/src/Lean/Elab/Quotation.lean
34713002a9bb1bf7c4fde7cf23732020277213ee
[ "Apache-2.0" ]
permissive
DrMaxis/lean4
a781bcc095511687c56ab060e816fd948553e162
5a02c4facc0658aad627cfdcc3db203eac0cb544
refs/heads/master
1,677,051,517,055
1,611,876,226,000
1,611,876,226,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,111
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic hygiene workings and data types. -/ import...
feeb3c8239caf45704179f0a535de0c5abd22c8c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/multiset/functor.lean
b545105906f951c03ae8c0fda068e2b7305302ac
[ "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
4,266
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Simon Hudon, Kenny Lau -/ import data.multiset.basic import control.traversable.lemmas import control.traversable.instances /-! # Functoriality of `multis...
41f09459f0dde018f53ec179dbc1955c32287b65
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/structInst2.lean
2de347a0836d941e17dd61ef7f43cb192e5dc9df
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
1,516
lean
import Init.Control.Option universe u v def OptionT2 (m : Type u → Type v) (α : Type u) : Type v := m (Option α) namespace OptionT2 variable {m : Type u → Type v} [Monad m] {α β : Type u} @[inline] protected def bind (ma : OptionT2 m α) (f : α → OptionT2 m β) : OptionT2 m β := (do { let a? ← ma; (match a? ...
b2356d9f891287a59f0497a8b3673b9b0ac9aac4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/lie/centralizer.lean
eb28c3e542be6801ad12246261e7d5febe15a4d1
[ "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
6,648
lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.abelian import algebra.lie.ideal_operations import algebra.lie.quotient /-! # The centralizer of a Lie submodule and the normalizer of a Lie subalgebra....
c38d4b330ba7d71fff7a3d707c21e54d40990730
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/list_local_vars.lean
0e5dbb907bb8be66a6233af49a2183ec5e36c286
[ "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,996
lean
-- #exit open interactive tactic.interactive namespace tactic.interactive open lean.parser meta def tac (ls : parse lean.parser.list_include_var_names) : tactic unit := trace ls open interactive.types @[user_command] meta def tac_cmd (_ : parse $ tk "stuff") : lean.parser unit := with_local_scope $ do ls ← lean.pars...
551280518cedee43fd6d77873712d136a3d2cd75
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/calculus/cont_diff.lean
1cd0fd7da5153a0d787a33fb33af669b336ee300
[ "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
143,605
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 import analysis.normed_space.multilinear import analysis.calculus.formal_multilinear_series /-! # Higher differentiability ...
c47ce3c3f28e2ac755e7fd65c6cb89a7e5c1e7ba
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/logic/axioms/prop_complete.lean
cce9392c9ba43b78f36601fb688e55fd5d419df9
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,246
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: logic.axioms.classical Author: Leonardo de Moura -/ import logic.connectives logic.quantifiers logic.cast algebra.relation open eq.ops axiom prop_complete (a : Prop) : a = true...
a6a452dd080240d69cfb04d680433cb300b24688
e8d53a7b78545d183a23dd7bd921bc7ff312989f
/imp_prop_trunc.hlean
e242e43ce1261f9ab5b28a731bfe6828af51c141
[]
no_license
Sumit0730/Impredicative
857007626592440a27cf4440aa9a226d0ede7f3e
a75cb9989a684133d31d4889a746ee4fa7b66cea
refs/heads/master
1,631,994,804,745
1,531,980,761,000
1,531,980,761,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,951
hlean
/- Copyright (c) 2015 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Floris van Doorn Proof of the theorem that (is_trunc n A) is a mere proposition We prove this here to avoid circular dependency of files We want to use this in .eq...
7f363cbc0ef537d34e246f160a730e0884592f57
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/tactic3.lean
6ecc69c0354bf42b16c837fb101d6cf429c5c1c8
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
193
lean
import logic open tactic theorem tst {A B : Prop} (H1 : A) (H2 : B) : A := by [trace "first"; state; now | trace "second"; state; fail | trace "third"; assumption] check tst
3ad4d9f807f38d32fc84ab79e9bb9e1844c9ea2f
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/cc1.lean
2df4edfd8718cbdfd84bd974ce5e23a859817cf3
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
2,142
lean
open tactic set_option pp.implicit true example (a b c d : nat) (f : nat → nat → nat) : a = b → b = c → d + (if b > 0 then a else b) = 0 → f (b + b) b ≠ f (a + c) c → false := by do intros, s ← cc_state.mk_using_hs, trace s, t₁ ← to_expr `(f (b + b) b), t₂ ← to_expr `(f (a + c) c), b ← ...
f34de66a00409887a46395119e41cf40dfbc45ed
4727251e0cd73359b15b664c3170e5d754078599
/src/order/bounded.lean
4c29d5138dae00fe6d15e9649eb3688aa3e01edd
[ "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,070
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import order.min_max import order.rel_classes import data.set.intervals.basic /-! # Bounded and unbounded sets We prove miscellaneous lemmas...
b5181cdc2d0a99fcd9b8cd93ee317e0ddac1f1be
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/monoid/with_zero/basic.lean
35dc4316881639cdd7c87bffd4b4010d70be7907
[ "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,079
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.order.monoid.with_zero.defs import algebra.group_with_zero.basic /-! # An instance orphaned from `alg...
bab80e35f2756a2752aa4f6ab1146376b99938d2
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/padics/padic_numbers.lean
ce2f68965732e147a369f8d21a4ac109f53b0a7d
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
32,536
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 data.real.cau_seq_completion import data.padics.padic_norm algebra.archimedean analysis.normed_space.basic import tactic.norm_cast /-! # p-adic numbers T...
4f64b4a14ba5c27d2c9106ddf2ac7a4c065c11ee
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/shapes/finite_limits.lean
c3664f088370a29d969859d01e075fce4385ca69
[ "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,685
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.fin_category import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.equalizers import category_theory.limits...
31369b8401d52f9d8667a18986516085bca902b0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/balg.lean
d91cd224167f98e4a86036fd5b4447a5b3938e58
[ "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
2,471
lean
import Lean universe u structure Magma where α : Type u mul : α → α → α instance : CoeSort Magma (Type u) where coe s := s.α abbrev mul {M : Magma} (a b : M) : M := M.mul a b set_option pp.all true infixl:70 (priority := high) "*" => mul structure Semigroup extends Magma where mul_assoc (a b c : α) :...
187b3a14acd6320250e7fcbcf786aa791a7bb364
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/library/init/category/alternative.lean
c34d46d9b4b888691468356732fbbf8eb07436ee
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,095
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.logic init.category.applicative universes u v class alternative (f : Type u → Type v) extends applicative f : Type (max u+1 v) := (failu...
58b20fd82ca164ec1a890825674e86bacd987951
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/nat/div.lean
0730f629c50961b179967c3a0e6df859fc1d2ccd
[ "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
27,204
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Definitions and properties of div and mod. Much of the development follows Isabelle's library. -/ import .sub open well_founded decidable prod namespa...
6fe0c3eabc20fc24bbcf094943498d18ecc7b4b0
28be2ab6091504b6ba250b367205fb94d50ab284
/src/game/world10/level6.lean
f36b40ccbf99f53240d90c7d05bbea1dd637dbbe
[ "Apache-2.0" ]
permissive
postmasters/natural_number_game
87304ac22e5e1c5ac2382d6e523d6914dd67a92d
38a7adcdfdb18c49c87b37831736c8f15300d821
refs/heads/master
1,649,856,819,031
1,586,444,676,000
1,586,444,676,000
255,006,061
0
0
Apache-2.0
1,586,664,599,000
1,586,664,598,000
null
UTF-8
Lean
false
false
846
lean
import game.world10.level5 -- hide namespace mynat -- hide /- # Inequality world. ## Level 6: `le_antisymm` In Advanced Addition World you proved `eq_zero_of_add_right_eq_self (a b : mynat) : a + b = a → b = 0`. This might be useful in this level. -/ /- Lemma $\le$ is antisymmetric. In other words, if $a\le b$ ...
2c7e1f1925a058879d3787b0191b9be0d9678f7c
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/topology/metric_space/basic.lean
02ed06bd2c0d469d8d914fcba805c0a6d05f16c4
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
68,117
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel Many definitions and theorems expected on metric spaces are already introduced o...
fc636c9013badd14325bb8453ff8006530e8b088
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/gen_bug.lean
66e30f56543c371fed77ee751814e9635e8317d4
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
425
lean
import logic set_option pp.notation false set_option pp.implicit true theorem tst (A B : Type) (a : A) (b : B) : a == b → b == a := begin intro H, generalize B, -- Should produce an error intro B', apply (heq.symm H), end theorem tst2 (A B : Type) (a : A) (b : B) : a == b → b == a := begin generalize a, ...
672711ec692fa4ff0b4adfaac1679ca96a7cf7ec
4727251e0cd73359b15b664c3170e5d754078599
/src/order/directed.lean
11f44fa57d2206d2f9396320aaa52d62d40351b7
[ "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
6,965
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.set.basic import order.lattice import order.max /-! # Directed indexed families and sets This file defines directed indexed families and directed sets. ...
a104b5c902c03e7427ec0eb366b1700c83a3448a
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean
3b1134f7e623af4f12879a9000915aea35a03e66
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
27,137
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean.Data.RBMap import Lean.Meta.SynthInstance import Lean.Util.FindMVar import Lean.Util.FindLevelMVar import Lean.Util.CollectLevelParams import Lean.U...
d54e94942bbf17fb7450a63ee7d56f91733057f9
63abd62053d479eae5abf4951554e1064a4c45b4
/src/order/filter/at_top_bot.lean
6e491df8caafeaf3b5376025bc206726bc2035be
[ "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,918
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, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ import order.filter.bases import data.finset.preimage /-! # `at_top` and `at_bot` filters on preorded sets, monoids a...
9b491c9bebb856ad266b2a18e053affc1437ffa6
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/ring_theory/adjoin_root.lean
35b5284da12d1ef1eb4822b7b1c3fa47c3afd9d1
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
3,649
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 Adjoining roots of polynomials -/ import data.polynomial ring_theory.principal_ideal_domain noncomputable theory universes u v w variables {α : Type u...
02a15b36175ebf5ce8cf090fa5f1762b36d927cc
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/max/level10.lean
b14dd4bb4e1a4243e65d77d05a552e55641c4f89
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
739
lean
import game.max.level09 -- hide open_locale classical -- hide noncomputable theory -- hide namespace xena -- hide /- # Chapter ? : Max ## Level 10 And finally `lt_max_iff`. -/ /- Lemma If $a$, $b$, $c$ are real numbers, then $a<\max(b,c)$ iff ($a<b$ or $a<c$). -/ theorem lt_max_iff {a b c : ℝ} : a < max b c ↔ ...
08fae2dd3f584f3caf7fe8ada5a539e4eef1baea
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/ring_theory/ideal/basic.lean
11659e978ea263d274cfe736ed5ab90699422cd2
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,116
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Mario Carneiro -/ import algebra.associated import linear_algebra.basic import order.zorn /-! # Ideals over a ring This file defines `ideal R`, the type of ideals...
7b92eb8abae96272c96f49ebe585c972869fd4c3
bdb33f8b7ea65f7705fc342a178508e2722eb851
/data/num/lemmas.lean
113604ae8f631681e6fd65e86062359243b13163
[ "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
37,513
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Properties of the binary representation of integers. -/ import data.num.basic data.num.bitwise algebra.order tactic.interactive data.int.basic namespace p...
3a79ddc5952e0902c456ce53bebc51a7cb6f538c
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/filter/bases.lean
0d7288657433ca455546f9f4082d80503e171bd2
[ "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
44,172
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import data.prod.pprod import data.set.countable import order.filter.basic /-! # Filter bases A filter basis `B : ...
6667bf430c3d5bbafbc82fa4c1f9ad01c4fcc7bb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/tor.lean
9ea38314c8550689ff8af32a0a4e7f4c651b8138
[ "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,924
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.functor.left_derived import category_theory.monoidal.preadditive /-! # Tor, the left-derived functor of tensor product > THIS FILE IS SYNCHRO...
e0cee1c8664fdeb90014f1ec8d5a9085ddd1f748
a8a8012e62ebc4c8550b92736c0b20faab882ba0
/yoneda_bug.hlean
3cae14bc0ec481e3f521f09e83af2dc53f664513
[]
no_license
fpvandoorn/Bergen-Lean
d02d173f79492498b0ee042ae6699a984108c6ef
40638f1e04b6c681858127e85546c9012b62ab63
refs/heads/master
1,610,398,839,774
1,484,840,344,000
1,484,840,344,000
79,229,751
0
2
null
null
null
null
UTF-8
Lean
false
false
3,610
hlean
--The following special case of the Yoneda lemma: --If A -> X ~= B -> X for all X, then A ~= B import types.equiv import types.pointed open pointed eq equiv is_equiv set_option pp.all true structure typeclass := (data : Type → Type) namespace typeclass structure obj.{u v} (C : typeclass.{u v}) : Type.{max (u+1)...
2a6611a62135f8973e1796768db41011c837d61b
c055f4b7c29cf1aac2223bd8c1ac8d181a7c6447
/src/categories/universal/default.lean
73c03b223d2c669112ddd690f2667ec0c341dca0
[ "Apache-2.0" ]
permissive
rwbarton/lean-category-theory-pr
77207b6674eeec1e258ec85dea58f3bff8d27065
591847d70c6a11c4d5561cd0eaf69b1fe85a70ab
refs/heads/master
1,584,595,111,303
1,528,029,041,000
1,528,029,041,000
135,919,126
0
0
null
1,528,041,805,000
1,528,041,805,000
null
UTF-8
Lean
false
false
5,723
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import .cones open categories open categories.functor open categories.isomorphism open categories.initial open categories.types namespace catego...
c441db91f9252ffd2524570af661a3e358a11015
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/bounded.lean
b7e2634a12a816f54ad978a93f6aeef5aa22c32c
[ "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
14,049
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import order.rel_classes import data.set.intervals.basic /-! # Bounded and unbounded sets We prove miscellaneous lemmas about bounded and un...
1f026041777145a8bf08cc1279a819381cadd448
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/heapSort.lean
a92bcca95af20d3558024e987706ab971b1b6324
[ "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
7,800
lean
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ /-- A max-heap data structure. -/ structure BinaryHeap (α) (lt : α → α → Bool) where arr : Array α namespace BinaryHeap /-- Core operation for binary heaps, expr...
22587435d56b43d5012fdeaae42057867c1939c6
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/shapes/biproducts.lean
91e712e77d37831caaa89c2dc974f46bc769f4aa
[ "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
69,327
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Jakob von Raumer -/ import algebra.group.ext import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.binary_products import category_t...
e3f77b56145bb8c6b8a5b0be54d2b625ce04f150
cbcb0199842f03e7606d4e43666573fc15dd07a5
/src/algebra/roption_instances.lean
902452e844c7d2e8f474cad50a2d0fc90542abc1
[ "Apache-2.0" ]
permissive
truonghoangle/mathlib
a6a7c14b3767ec71156239d8ea97f6921fe79627
673bae584febcd830c2c9256eb7e7a81e27ed303
refs/heads/master
1,590,347,998,944
1,559,728,860,000
1,559,728,860,000
187,431,971
0
0
null
1,558,238,525,000
1,558,238,525,000
null
UTF-8
Lean
false
false
4,525
lean
/- Copyright (c) 2019 Hoang Le Truong. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Hoang Le Truong. If α is a semigroup, a comm_semigroup, a comm_monoid,a add_semigroup, a add_comm_semigroup, a add_comm_monoid, a mul_action, a distrib_mul_action, so is roption α. ...
6b6b133ca840e3973dfd2e15df8e318cd961bbae
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/bench/rbmap2.lean
58fff6a1124e531447277c8c6bbcd1e2832f1969
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
2,898
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.coe init.data.option.basic init.system.io universes u v w w' inductive color | Red | Black inductive Tree | Leaf {} ...
c3ed255485e18de468ec3bde0bbca24f9006a73b
d0c6b2ba2af981e9ab0a98f6e169262caad4b9b9
/tests/lean/run/whileRepeat.lean
3f1f157383837604e7920e94ddb88b7e86f7499c
[ "Apache-2.0" ]
permissive
fizruk/lean4
953b7dcd76e78c17a0743a2c1a918394ab64bbc0
545ed50f83c570f772ade4edbe7d38a078cbd761
refs/heads/master
1,677,655,987,815
1,612,393,885,000
1,612,393,885,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,208
lean
structure Loop where @[inline] partial def Loop.forIn {β : Type u} {m : Type u → Type v} [Monad m] (loop : Loop) (init : β) (f : Unit → β → m (ForInStep β)) : m β := let rec @[specialize] loop (b : β) : m β := do match ← f () b with | ForInStep.done b => pure b | ForInStep.yield b => loop b loop i...
6462db50135cab993b187065e60c1eb500afb6a3
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/nat/choose/dvd.lean
78200b71d7dff5100fb5ca70a90115bc4670d4b3
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,228
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Patrick Stevens -/ import data.nat.choose.basic import data.nat.prime /-! # Divisibility properties of binomial coefficients -/ namespace nat open_locale nat namespace ...
5bdbfa5afbea017bb9e4800f771e824bf0571bd0
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/NonassociativeNondistributiveRing.lean
16af8e2eb03352bfb7cb4ce85a1c9eb02fbc01bd
[]
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
14,959
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 NonassociativeNondistributiveRing structure NonassociativeNondistributiveRing (A : Type) : Type := (times : (A → (A → A))) (one : A) (lunit_one : (∀ {x :...
4c1f3daa02765899f40643e4d48835643b888757
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/dynamics/ergodic/measure_preserving.lean
fd40d553097f79933a74ad0e1c28ecec94d2acb4
[ "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
6,581
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 measure_theory.constructions.prod /-! # Measure preserving maps We say that `f : α → β` is a measure preserving map w.r.t. measures `μ : measure α` and `ν ...
7d0c6179480736985a2a06e2fc4c672d7f506923
618003631150032a5676f229d13a079ac875ff77
/src/tactic/simp_rw.lean
34c058ff931ff5ede1f3899e12a9c1200eb865e4
[ "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,341
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen The `simp_rw` tactic, a mix of `simp` and `rewrite`. -/ import tactic.core /-! # The `simp_rw` tactic This module defines a tactic `simp_rw` which functions as a mix of `si...
1aefa86c7f8fd9c9340a1133774a4ab90e12c831
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/limits/lattice.lean
b40b444fc6e2630614332af0daff34497a75b518
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,308
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Justus Springer -/ import category_theory.category.preorder import category_theory.limits.shapes.finite_limits import order.complete_lattice /-! # Limits in lattice ca...
8faec8f560e4e99707cfc558bc33362472b0dace
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/matrix/notation.lean
2915fd7f8d4482f1573a8a023799eba99379c062
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
14,453
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Eric Wieser -/ import data.matrix.basic import data.fin.vec_notation import tactic.fin_cases import algebra.big_operators.fin /-! # Matrix and vector notation This file inc...
3f14aa5428f0dce1788e06530e538129e8d932a2
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/univIssue.lean
0b00401e85a4832fe7fc5d5107602ae312cd4f53
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
308
lean
universes u v @[inline] def ex1 {σ : Type u} {m : Type u → Type v} [Functor m] {α : Type u} (x : StateT σ m α) (s : σ) : m α := Functor.map Prod.fst (x s) @[inline] def ex2 {σ : Type u} {m : Type u → Type v} [Functor m] {α : Type u} (x : StateT σ m α) (s : σ) : m α := Prod.fst <$> x s
0b303fe00a398cf5eba671326e1c4b5125aa3605
dfbb669f3f58ceb57cb207dcfab5726a07425b03
/vscode-lean4/test/test-fixtures/simple/Main.lean
5e66ab0fffd0eb0b23eb2d515fd585359f8cffe3
[ "Apache-2.0" ]
permissive
leanprover/vscode-lean4
8bcf7f06867b3c1d42007fe6da863a7a17444dbb
6ef0bfa668bdeaad0979e6df10551d42fcc01094
refs/heads/master
1,692,247,771,767
1,691,608,804,000
1,691,608,804,000
325,845,305
64
24
Apache-2.0
1,694,176,429,000
1,609,435,614,000
TypeScript
UTF-8
Lean
false
false
113
lean
import Test.Version def main : IO Unit := IO.println s!"Hello: {getLeanVersion}" #eval main #eval IO.appPath
46eee1d8db6ddc6b19719272c3823e9701c003be
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/topology/uniform_space/basic.lean
3689b3ad799e53c09c41fe676ae8428ce5c01c42
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
42,148
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot Theory of uniform spaces. Uniform spaces are a generalization of metric spaces and topological groups. Many concepts directly generaliz...
b7a0a5d58789534482d4b296e9f6c4339d9506cc
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/data/rat/basic.lean
29ad7db2cf8513c07aff73fb3c124e3c8c07a3f7
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
24,803
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.nat.gcd data.pnat.basic data.int.sqrt data.equiv.encodable algebra.group algebra.ordered_group algebra.group_power algebra.euclide...
15858b6b77408296cecd891d8424820975153e8a
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/e1.lean
a3496d42b2ef33a8522965b6475516c478910117
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
329
lean
definition Prop [inline] : Type.{1} := Type.{0} variable eq : forall {A : Type}, A → A → Prop variable N : Type.{1} variables a b c : N infix `=`:50 := eq check a = b variable f : Prop → N → N variable g : N → N → N precedence `+`:50 infixl + := f infixl + := g check a + b + c variable p : Prop check p + a + b + c
2cc44338acbcf134cb009d2d5eaadb659584ec16
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/linear_algebra/affine_space/affine_subspace.lean
9f7268b4262b269a1f0ed1cc2f851e8d10598f13
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
45,070
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import data.set.intervals.unordered_interval /-! # Affine spaces This file defines affine ...