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
8a1e12a386d12cf37b9a03ad930a6ac345005ad0
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/small_algebraic_closure_is_integral.lean
91859741cf9108632623cc8eb2b18deead2b4fb9
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
22,561
lean
import ring_theory.adjoin_root data.equiv.algebra algebra.direct_limit import set_theory.schroeder_bernstein field_theory.subfield import ring_theory.integral_closure ring_theory.algebra universes u v w open polynomial zorn set function variables {K : Type u} [discrete_field K] noncomputable theory instance equiv.is_...
9a8deab9fefe3a664dde9c1ba088d35faf883891
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/group/ext.lean
bdb05f1d5cc5ec326b6b28eed8743917886aada8
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
5,014
lean
/- Copyright (c) 2021 Bryan Gin-ge Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bryan Gin-ge Chen, Yury Kudryashov -/ import algebra.hom.group /-! # Extensionality lemmas for monoid and group structures In this file we prove extensionality lemmas for `monoid`...
348744760886c6a833018ecd5c2e2cf24baa27fd
217bb195841a8be2d1b4edd2084d6b69ccd62f50
/library/init/lean/kvmap.lean
20859bf56abab517145c31bf0acbb3f8b073dc31
[ "Apache-2.0" ]
permissive
frank-lesser/lean4
717f56c9bacd5bf3a67542d2f5cea721d4743a30
79e2abe33f73162f773ea731265e456dbfe822f9
refs/heads/master
1,589,741,267,933
1,556,424,200,000
1,556,424,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,526
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.lean.name init.data.option.basic init.data.int namespace Lean inductive DataValue | ofString (v : String) | ofBool (v : Bool) | ofNa...
839d39a8291e54f139c25a38c0bfa12b105f72c3
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/amc12-2000-p20.lean
dbbbfd6c157b528b5af6b383dcb3eee037dade2c
[ "Apache-2.0", "MIT" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
323
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic example (x y z : ℝ) (h₀ : 0 < x ∧ 0 < y ∧ 0 < z) (h₁ : x + 1/y = 4) (h₂ : y + 1/z = 1) (h₃ : z + 1/x = 7/3) : x*y*z = 1 := begin sorry end
b881532c80e3cdb1afdefe063109c7bf56fc34a6
0a7cf55e50e699ca449b876d32f72a58919da5b9
/src/knights_and_knaves.lean
42c9c739e66056d33828847a0540f4005959258f
[]
no_license
stanescuUW/LeanPuzzles
afaa0a10c8d9cb8dc5651e1287e8d901d22b9e7c
5cd8d072ec88deb890b6cacd464bc198b7453ff8
refs/heads/master
1,667,707,546,355
1,593,179,367,000
1,593,179,367,000
273,576,407
3
0
null
null
null
null
UTF-8
Lean
false
false
1,996
lean
/- Copyright (c) 2020 Dan Stanescu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dan Stanescu. -/ import tactic /-! # Knights and knaves puzzles Two puzzles from "Knights and Knaves" by Raymond Smullyan. For an online description of these puzzles, see: http://mesos...
aef33cc6239afd7e08a1f610de9f1aecfb520ee5
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/name_resolution_with_params_bug.lean
27f232ca870fe75999b4a2b6cf0f661d2eff81ae
[ "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
415
lean
section parameters x y : nat def z := x + y lemma h0 : z = y + x := add_comm _ _ open tactic theorem foo₁ : z = y + x := -- doesn't work begin rw h0 end theorem foo₃ : z = y + x := -- doesn't work by rewrite h0 theorem foo₄ : z = y + x := -- doesn't work begin simp [h0] end the...
3915aaeae523292d7b977970aee9ba33cc70862b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/category/morphism.lean
667c7a9f05b838fffeb2ce1d9d899368a3aed361
[ "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
11,981
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn -/ import .basic algebra.relation algebra.binary open eq eq.ops category namespace morphism variables {ob : Type} [C : category ob] include C variables {a b c ...
4e59cf5be5233d5ee661bbcf45ebf4297858a1eb
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/fintype.lean
18b9be514762f73eb11bd2c2cb28226c44b01389
[]
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
575
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.associated import Mathlib.data.fintype.basic import Mathlib.PostPort universes u_1...
136bc7a5a1365fbb2cb5e4a48b76076e489e2fca
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/special_functions/pow_deriv.lean
8b39292431f8da2def720c9c1413cc21286cffae
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
25,236
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, Sébastien Gouëzel, Rémy Degenne -/ import analysis.special_functions.pow import analysis.special_functions.complex.log_der...
c44a4839fa47493e369aa0a81ea200094c36b56e
d1bbf1801b3dcb214451d48214589f511061da63
/src/data/real/ennreal.lean
944e969fe1e51a4d43ed16929f4a80d8bbff4ed7
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
55,661
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 -/ import data.real.nnreal import data.set.intervals /-! # Extended non-negative reals We define `ennreal := with_no ℝ≥0` to be the type of extended no...
b5fcde4b2c51b849a5911e398f4752007eb586ff
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/monoidal/natural_transformation.lean
d4a4776b6313b33b5a829574143413a0cd4edb08
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,430
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 category_theory.monoidal.functor import category_theory.full_subcategory /-! # Monoidal natural transformations Natural transformations between (lax) monoida...
59039ccdad1733cbd048527126ad5e609fbb25c2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/quiver/cast.lean
62b6fad9209ca7069537bdc4826ceb5c88793ad6
[ "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,296
lean
/- Copyright (c) 2022 Antoine Labelle, Rémi Bottinelli. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Labelle, Rémi Bottinelli -/ import combinatorics.quiver.basic import combinatorics.quiver.path /-! # Rewriting arrows and paths along vertex equalities > T...
45c46788c1b59374d089574e9647d02ae5de6ad5
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/group_theory/perm/support.lean
92082252d0b6cb36ed6fac40d2cc8d23e40e1b83
[ "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
17,566
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Aaron Anderson, Yakov Pechersky -/ import data.finset.sort import data.fintype.basic import group_theory.perm.basic /-! # Support of a permutation ## Main definitions In...
1f36b23840ce712bd275c9b37f61feb4fdefe33a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/List.lean
6bb2c731695325ba86f36903d7860cfd6bb17524
[ "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
261
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.List.Basic import Init.Data.List.BasicAux import Init.Data.List.Control
6e469de93ddf38b9806f9789fb8fcd52d43e596d
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Tactic/Simp/Types.lean
0345ffb9ce19dcd81c92ef026e64fa5f37cea52e
[ "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,487
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.AppBuilder import Lean.Meta.Tactic.Simp.SimpLemmas import Lean.Meta.Tactic.Simp.CongrLemmas namespace Lean.Meta namespace Simp structure ...
a03efaab7a1876f94b48cd2646efa59a430ad660
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/box_integral/box/basic.lean
edbc1d4c03659df8853d7c4b4785572ab706e125
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
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...
247047ed454115b4ff18379231f22454f86e085d
92b50235facfbc08dfe7f334827d47281471333b
/hott/algebra/e_closure.hlean
f798596bf261e6b872a416e5dd7eab1457ffe648
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
4,453
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 The "equivalence closure" of a type-valued relation. Given a binary type-valued relation (fibration), we add reflexivity, symmetry and transitivity terms -/ import ...
5df28fecb958a5d985cab8e910a36bd984db150f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/number_theory/primorial.lean
87e204ad0791d557eeb34273d567614ecfd03b6a
[ "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,387
lean
/- Copyright (c) 2020 Patrick Stevens. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Stevens -/ import tactic.ring_exp import data.nat.parity import data.nat.choose.sum /-! # Primorial This file defines the primorial function (the product of primes less than...
66db413b4e450f487aa9981dace305331860bf88
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/reassoc_axiom.lean
169cf59f657f4b9d788a427aa2596a84882b1214
[ "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
8,047
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import category_theory.category /-! # Tools to reformulate category-theoretic axioms in a more associativity-friendly way ## The `reassoc` attribute The `reassoc` attr...
0792e191860a2db03184ebfb2d2be8e095a5da30
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/data/functor.lean
f4c2eec0b8cb6f9f7afa7dfd990adec31ff2a8fa
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
4,960
lean
universe variables u v w u' v' w' class functor_pair (f : Type u → Type v) (g : Type u' → Type v') := (f_functor : functor f) (g_functor : functor g) (map : ∀ {α β}, (α → β) → f α → g β) (map_fmap_comm : ∀ {α β β' γ} (h : β → γ) (hp : α → β) (hp' : β' → γ) (h' : α → β') (x :...
3047ff583ad658765a50a04b95ce11ab5de97866
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/smt/rsimp.lean
c7d555b847ddd0e521971e2ae72f9d9aa50de447
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
6,490
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.meta.smt.smt_tactic init.meta.fun_info init.meta.rb_map open tactic private meta def add_lemma (m : transparency) (h : name) (hs : hin...
3500368224568e8ece02ec6c8fa605cf09b81d5c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/field_theory/separable.lean
5410fe3fd43fd8c2f5b3c43ed3d6621c05196f49
[]
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
16,781
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.polynomial.big_operators import Mathlib.field_theory.minpoly import Mathlib.field_theory.spl...
3899bf1047fb89b94816123b74a49393eb9f21cf
7453f4f6074a6d5ce92b7bee2b29c409c061fbef
/src/Interpolation/try-rolle-vec.lean
faeb4e32661da890c228a5c8bbdba46d6abdd9fa
[ "Apache-2.0" ]
permissive
stanescuUW/numerical-analysis-with-Lean
b7b26755b8e925279f3afc1caa16b0666fc77ef8
98e6974f8b68cc5232ceff40535d776a33444c73
refs/heads/master
1,670,371,433,242
1,598,204,960,000
1,598,204,960,000
282,081,575
0
0
null
null
null
null
UTF-8
Lean
false
false
7,569
lean
import analysis.calculus.local_extr import analysis.calculus.times_cont_diff import analysis.calculus.iterated_deriv import tactic data.fin open set namespace rolle_general lemma fin_le_last_val (n : ℕ) : ∀ i : fin (n + 2), i ≤ (n+1) := begin intro i, have j0 : n + 1 < n + 1 + 1, linarith, have j0 := @fin...
bca656cc9d4d503507e4128f63d15e4c0a5d929a
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/algebra/order.lean
506a14dc4be6cef2bcac03122c587e541c35331b
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,569
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.order Author: Jeremy Avigad Various types of orders. We develop weak orders "≤" and strict orders "<" separately. We also consider structures with both, where the two are relat...
50271ebe271943350da6704d933244c0cc52cde4
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/analysis/quaternion.lean
6182fa0b41165a1086c121b52d0401b8eccd2aee
[ "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
3,358
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import data.quaternion import analysis.normed_space.inner_product /-! # Quaternions as a normed algebra In this file we define the following structures on the spa...
257dfc842c9c0cfbaeac3a96295e9bd2ca68b5dd
271e26e338b0c14544a889c31c30b39c989f2e0f
/tests/compiler/rbmap_library.lean
5cd88a21b03758fc1cd6a47727eee55c4e4d7f16
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,267
lean
def check (b : Bool) : IO Unit := unless b $ IO.println "ERROR" def sz {α β : Type} {lt : α → α → Bool} (m : RBMap α β lt) : Nat := m.fold (fun sz _ _ => sz+1) 0 def depth {α β : Type} {lt : α → α → Bool} (m : RBMap α β lt) : Nat := m.depth Nat.max def tst1 : IO Unit := do let Map := RBMap String Nat (fun a b => a <...
644ad439fd5bdb260bbd982f166f423173a3d62e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/inner_product_space/euclidean_dist.lean
55b118bbe129307454d4c6d0d05c4d2c849cc40b
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,663
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.inner_product_space.calculus import analysis.inner_product_space.pi_L2 /-! # Euclidean distance on a finite dimensional space When we define a smo...
db60b93405a51a04fd036b0bf8d384494a81415f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebraic_geometry/sheafed_space_auto.lean
e4f3d1818f2e0b2835c639a150bc1f626b0de38b
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
9,530
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.algebraic_geometry.presheafed_space import Mathlib.topology.sheaves.sheaf import Mathlib.Po...
fda9bacbc7a254a584e07c4a51bed205c5628aa4
da3a76c514d38801bae19e8a9e496dc31f8e5866
/library/tools/debugger/util.lean
31880327810d76d2cdbb64476160db8b07bbba88
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
4,030
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ namespace debugger def is_space (c : char) : bool := if c = #" " ∨ c = char.of_nat 11 ∨ c = #"\n" then tt else ff def split_core : string → string → list s...
2d33e6cadfd600e2ec55d12f61ba510e9acb3553
827a8a5c2041b1d7f55e128581f583dfbd65ecf6
/topology.lean
655aa1a804d88d5c9533543c86e30ce2ccfa8016
[ "Apache-2.0" ]
permissive
fpvandoorn/leansnippets
6af0499f6f3fd2c07e4b580734d77b67574e7c27
601bafbe07e9534af76f60994d6bdf741996ef93
refs/heads/master
1,590,063,910,882
1,545,093,878,000
1,545,093,878,000
36,044,957
2
2
null
1,442,619,708,000
1,432,256,875,000
Lean
UTF-8
Lean
false
false
1,928
lean
import classical open set section structure foo.{l} : Type.{l+1} := (elim : Type.{l} → Type.{l}) end structure topology [class] (X : Type) : Type := (is_open : set X → Prop) (empty : is_open (λx, false)) (full : is_open (λx, true)) (union : Π(P : set X → Prop), (Πf, is_open f) → is_open (λx, ∃f, f x ∧ P f)) ...
21affd8724224bc1daaa175d82b3664976908b63
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/manifold/charted_space.lean
baa4940a1a64d6e56289f9f03f8e337517d93020
[ "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
48,205
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.local_homeomorph /-! # Charted spaces A smooth manifold is a topological space `M` locally modelled on a euclidean space (or a euclidean half-...
9ad7db37158215f24483748d93aace2590d4df40
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/module/big_operators.lean
2945a10c102fad2b61648930597273ddece3293d
[ "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
1,601
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yury Kudryashov, Yaël Dillies -/ import algebra.module.basic import group_theory.group_action.big_operators /-! # Finite sums over modules over a ring -/ open_locale big_...
949c97702be85dc220ce2883f79d4db227287e48
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/mv_polynomial/comm_ring.lean
8fe35f1db0fe8e3ab2054e6b2ad4a17c1f33be61
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
5,008
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, Johan Commelin, Mario Carneiro -/ import data.mv_polynomial.variables /-! # Multivariate polynomials over a ring Many results about polynomials hold when the coeffic...
761b96094e4eb80e3cdebeafd100f7df31461791
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/group/basic.lean
a634469dbf901594417d6054a58c25fd50081dee
[ "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
9,285
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.integral.lebesgue import measure_theory.measure.regular /-! # Measures on Groups We develop some properties of measures on (topological) g...
a62836396120f3a440296c04bc2bcc674c43e772
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/ring/divisibility.lean
c85a65b518d8a19ef78e4343c16342b05993e716
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,093
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, Floris van Doorn, Yury Kudryashov, Neil Strickland -/ import algebra.divisibility.basic import algebra.ring.defs /-! # Lemmas about divisibility in ri...
70f3e13142b64fa83c6961a9a7078e93780dcea6
e151e9053bfd6d71740066474fc500a087837323
/src/hott/algebra/graph.lean
f00d04d84c6b9053d5914e4277df51ff35f25b4f
[ "Apache-2.0" ]
permissive
daniel-carranza/hott3
15bac2d90589dbb952ef15e74b2837722491963d
913811e8a1371d3a5751d7d32ff9dec8aa6815d9
refs/heads/master
1,610,091,349,670
1,596,222,336,000
1,596,222,336,000
241,957,822
0
0
Apache-2.0
1,582,222,839,000
1,582,222,838,000
null
UTF-8
Lean
false
false
26,212
lean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Graphs and operations on graphs Currently we only define the notion of a path in a graph, and prove properties and operations on paths. -/ import ..arity ..eq2 .r...
c695341b6baa85371082fb421e08dc43c5bb731a
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_597.lean
bc2e9b7824f930e8ea69b6ad1e1315f91428848d
[]
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
99
lean
import data.real.basic example : ∃ x : ℝ, 2 < x ∧ x < 3 := begin use 5 / 2, norm_num end
0c8805c8431cf8f3adc8d2f4262f963db71bd7fb
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/init/logic.lean
ab202e25514ba564ac8e9927eadc163f970cfb21
[ "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
14,068
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.logic Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.datatypes init.reserved_notation /- implication -/ definition trivial := true.int...
60d14eb19f7576da9e696160037a26c601b4ddfd
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/flat.lean
ffce2a604777cc6f2a5a6f3bf8bc6c463e50edb0
[ "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,702
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import ring_theory.noetherian /-! # Flat modules > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. A m...
359eb76418a45b463b20cd679a0e1f97a2767356
35452ce8e77eaf9e0aa9367a9e20bafbf92730d4
/src/aux.lean
1ab294a91e83468075aebf6ebec4f66b034bd1da
[]
no_license
ADedecker/wedderburn
6935f44f922080df5d673051737881d9f8a94e9c
1ed28ff8cf64e1652d540557765e379b3901ad19
refs/heads/master
1,692,935,097,444
1,634,302,432,000
1,634,302,432,000
412,828,531
0
0
null
null
null
null
UTF-8
Lean
false
false
6,036
lean
import linear_algebra import field_theory.finite.basic open_locale big_operators lemma card_subtype_eq_iff (α : Type*) (p : α → Prop) [decidable_pred p] [fintype α] : fintype.card ({x // p x}) = fintype.card α ↔ ∀ x, p x := begin rw [fintype.card_subtype p, finset.card_eq_iff_eq_univ, finset.eq_univ_iff_forall], ...
beed06efff07317eb59e05cfef4897b78f210195
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/converter/binders.lean
9b1300b2974c75d5e30ee16498488fd4e88d8e0a
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
7,886
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 Binder elimination -/ import order tactic.converter.old_conv namespace old_conv open tactic monad meta instance : monad_fail old_conv := { fail := λ α s, (λr e, tacti...
ad1266f443579c6b3d6235ac72e2de3834dfd6c0
3c9dc4ea6cc92e02634ef557110bde9eae393338
/src/Lean/Elab/InfoTree.lean
da26b37f601c0f044d0e957bf39a1722b1d2b9fc
[ "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
8,412
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Leonardo de Moura -/ import Lean.Data.Position import Lean.Expr import Lean.Message import Lean.Data.Json import Lean.Meta.Basic import Lean.Meta.PPGoal namespa...
d1a389f1c0d0760633ba243f1e954a00f8916c41
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/back_chaining2.lean
0a5f423f8c65d55edd05a24bbdd7009e8a4050e9
[ "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
652
lean
-- Backward chaining with hypotheses constants {P Q R S T U : Prop} constants (Huq : U → Q) (Hur : U → R) (Hus : U → S) (Hut : U → T) attribute Huq [intro] attribute Hur [intro] attribute Hus [intro] attribute Hut [intro] open tactic definition lemma1 : (P → Q) → P → Q := by intros >> back_chaining_using_hs definitio...
28c8fe8c117c8f2e3d4d630740e26c9ce6446f24
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Util/FoldConsts.lean
d45a9fbf3af67c49512d0721a9d45f988ad91956
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
2,514
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 -/ prelude import Init.Control.Option import Init.Lean.Expr import Init.Lean.Environment namespace Lean namespace Expr namespace FoldConstsImpl abbrev cacheS...
5a6b90a5273824d21d3d50d4f438d504fce0139b
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/smodeq.lean
d7b104a661b9fde8883d6bccee59152561ab0122
[ "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
2,412
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 linear_algebra.basic /-! # modular equivalence for submodule -/ open submodule variables {R : Type*} [ring R] variables {M : Type*} [add_comm_group M] [module R M] (...
8cdb06fc33f6f2c4690bac8d3fb733331464399d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/currying.lean
486e942a85e7de9324f4853c5dd675f91f59dec4
[ "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
4,223
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.products.bifunctor /-! # Curry and uncurry, as functors. We define `curry : ((C × D) ⥤ E) ⥤ (C ⥤ (D ⥤ E))` and `uncurry : (C ⥤ (D ⥤ E)) ⥤ ((C...
c955885af78a88b48acdeff50cedaafb1f0f1aca
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/polynomial/monomial.lean
27bbac66f924d627d0f47759db3d471a8d69d8a2
[ "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,650
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.basic /-! # Univariate monomials > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this...
cfcde6302bff894125bf6f923412be41aa22a750
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/universal/default.lean
b2160cd18f13e935bc2baca7e4f52d0090427f0d
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
255
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .basic import .congruence import .homomorphism import .identity import .model import .proof import .substitution
a657804e5b65697a60d83d95cdd8363caac7c482
28be2ab6091504b6ba250b367205fb94d50ab284
/src/mynat/definition.lean
4a26128af7df2e00724772e8559df22891959191
[ "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
914
lean
import tactic.structure_helper import tactic.nat_num_game /- mynat/definition.lean -- definition of mynat. Supplies: constants zero : mynat and one : mynat function S : mynat → mynat notation 0 for zero and 1 for one. The below code will be *invisible to the player* -/ -- definition of "the natural numb...
3d8ddeb5f8466ce26597f2e3d666a0ff2eff7a69
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/types/trunc.hlean
f3212cac371819ce7a8ff6145bec4baf1e8e32a0
[ "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
10,201
hlean
/- Copyright (c) 2015 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Properties of is_trunc and trunctype -/ -- NOTE: the fact that (is_trunc n A) is a mere proposition is proved in .hprop_trunc import types.pi types.eq types.equiv...
95156e3c60d259bb4d23a629acadea3f32a9035f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/power_basis_auto.lean
2258e00c9b8fe158d6893ba3ea0eff88124698d9
[]
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
16,240
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.field_theory.adjoin import Mathlib.field_theory.minpoly import Mathlib.ring_theory.adjoin import ...
60b9f35f809017194147c5038221ee52b402b604
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/Frontend.lean
631e5a8e820b5bb821fba75d57fef98ed8e1de43
[ "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
5,265
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, Sebastian Ullrich -/ import Lean.Elab.Import import Lean.Elab.Command import Lean.Util.Profile import Lean.Server.References namespace Lean.Elab.Frontend st...
fc5638f02ab1218f0b5875ea305e5f571d35435e
e07b1aca72e83a272dd59d24c6e0fa246034d774
/src/tutorials/02_iff_if_and.lean
68fa58d72f63d09954c1c2f3d9df5be4af29497c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pedrominicz/learn
637a343bd4f8669d76819ac660a2d2d3e0958710
b79b802a9846c86c21d4b6f3e17af36e7382f0ef
refs/heads/master
1,671,746,990,402
1,670,778,113,000
1,670,778,113,000
265,735,177
1
0
null
null
null
null
UTF-8
Lean
false
false
14,898
lean
import data.real.basic /- In the previous file, we saw how to rewrite using equalities. The analogue operation with mathematical statements is rewriting using equivalences. This is also done using the `rw` tactic. Lean uses ↔ to denote equivalence instead of ⇔. In the following exercises we will use the lemma: su...
2aa5df1eb6dd4234055cad6fef25fe6705bfded5
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/algebra_tower.lean
6208b5f109de1b9923876d3e4d983e3f16d05ecf
[ "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
13,853
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 algebra.algebra.restrict_scalars import algebra.algebra.tower import algebra.invertible import linear_algebra.basis import ring_theory.adjoin.fg import ring_theory.polyn...
2fab64563d5b57b8dfa35199e4cbd35418f4703c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/complete_lattice.lean
c9d2ebf88ea965039b93147535d9316583663bef
[ "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
54,371
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 order.bounds import data.set.bool import data.nat.basic /-! # Theory of complete lattices ## Main definitions * `Sup` and `Inf` are the supremum and the inf...
b06731210d59a109a4c2a89c6c0b346c2148dd2d
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Init/Data/FloatArray/Basic.lean
b57e99fd89d07d7b8631bee035cc77a7a4e38f29
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,001
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Array.Basic import Init.Data.Float import Init.Data.Option.Basic universes u structure FloatArray := (data : Array Float) attrib...
e5e8944a75eecc4ac3d77bd1e5ff2595bd21dd10
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/splitting_field/construction.lean
85ec974bcb0017260916489c08b3863a77141011
[ "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
15,117
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import field_theory.normal /-! # Splitting fields > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. In this...
fd1ca304b6e6c24d65afacd1228286f9134d41a7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/computability/NFA.lean
1026ac008c6fb8295fadf922f5ae303e290aef4b
[ "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,015
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 computability.DFA import data.fintype.powerset /-! # Nondeterministic Finite Automata > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require...
6b38caeb4491c7fab99ba32a5608da619a66ccdb
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/zsqrtd/basic.lean
af6b10af5855779bc5299ca81de30cef357efecc
[ "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
27,014
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.int.basic algebra.associated data.nat.gcd tactic.ring /-- The ring of integers adjoined with a square root of `d`. These have the form `a + b √d` where...
784198a385f45e2723008e849e2f07e26b59e528
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/fresh_names.lean
eab2d682ea7ed43e8a8562cecac624a80a513eeb
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
5,086
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jannis Limperg -/ import data.sum import meta.rb_map import tactic.dependencies /-! # Tactics for giving hypotheses fresh names When introducing hypotheses, we often want to make sur...
e0e6524694430ae2a9e6be9b96355a6b909387a4
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2004/IMO_2004_P5.lean
a993358f097a6cbc3d9ac88e64438760e6a7facd
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
444
lean
import Geo.Geo.Core namespace Geo open Angle Quadrilateral Seg def IMO_2004_P5 : Prop := ∀ (A B C D : Point), convex ⟨A, B, C, D⟩ → ¬isBisector ⟨B, D⟩ ⟨A, B, C⟩ → ¬isBisector ⟨B, D⟩ ⟨C, D, A⟩ → ∀ (P : Point), inside P (Quadrilateral.mk A B C D) → uangle ⟨P, B, C⟩ = uangle ⟨D, B, A⟩ → uangle ⟨P, D, C⟩ = uangle ⟨B, D,...
b6473e4a29e3f2ddb627fcb35ca35254bf092022
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/discrete_quotient.lean
e1b31901b9b35e93db2f40d77ef5d9ae0f781697
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
12,946
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Calle Sönne, Adam Topaz -/ import topology.separation import topology.subset_properties import topology.locally_constant.basic /-! # Discrete quotients of a topological space. > THIS FI...
fdca4a4dc8c308e81b3227b38381581cdd5006c8
a339bc2ac96174381fb610f4b2e1ba42df2be819
/hott/algebra/group_theory.hlean
6e4f5eb2d3180430b816a57b86b38a2bad025528
[ "Apache-2.0" ]
permissive
kalfsvag/lean2
25b2dccc07a98e5aa20f9a11229831f9d3edf2e7
4d4a0c7c53a9922c5f630f6f8ebdccf7ddef2cc7
refs/heads/master
1,610,513,122,164
1,483,135,198,000
1,483,135,198,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,375
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 Basic group theory This file will be rewritten in the future, when we develop are more systematic notation for describing homomorphisms -/ import algebra.category...
d1f834739b26c7b0e6fa8cecd33c4e0b521803fd
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/1723.lean
ad962fc91b6ea78d301ae6424face858314e2712
[ "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
170
lean
#reduce int.shiftl (-1) (-1) #eval int.shiftl (-1) (-1) #reduce int.shiftl (-4) (-2) #eval int.shiftl (-4) (-2) #reduce int.shiftl (-5) (-2) #eval int.shiftl (-5) (-2)
3de427eecfba73ae81ce6218b0533f0c9343b028
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/Util/Trace.lean
dcaed0cd86015494a0f04e48272f5812658cb606
[ "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
5,707
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Leonardo de Moura -/ import Lean.Message import Lean.MonadEnv universe u namespace Lean open Std (PersistentArray) structure TraceElem where ref : Syntax...
44be522dd81f9ce8a45e53a92607f9b40638e434
e5c11e5a7d990ce404047c2bd848eeafac3c0a85
/src/admissible_absolute_value.lean
75d486da86f728167d4cbefe1963fc5967ea947b
[ "LPPL-1.3c" ]
permissive
lean-forward/class-number
9ec63c24845e46efc8fa8b15324d0815918292c7
4fccf36d5e0e16accae84c16df77a3839ad964e4
refs/heads/main
1,686,927,014,542
1,624,886,724,000
1,624,886,724,000
327,319,245
2
0
null
null
null
null
UTF-8
Lean
false
false
21,283
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen -/ import analysis.special_functions.pow import algebraic_number_theory.class_number.euclidean_absolute_value import algebraic_number_theory.class_number.finset import combinat...
1376e5ec8a03f282e8b81af91817d6257fbc9432
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/ring_theory/power_series.lean
de615c27a232dbc16ed2c41ca545e58f859d736f
[ "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
58,303
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau -/ import data.finsupp order.complete_lattice algebra.ordered_group data.mv_polynomial import algebra.order_functions import ring_theory.ideal_operations /-...
1b6965873de9d69808a72eec58bed14c9f30e940
82e44445c70db0f03e30d7be725775f122d72f3e
/src/field_theory/splitting_field.lean
b50aad9a27cad38a401bc65d0bb8b59d3e88b893
[ "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
37,533
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 ring_theory.adjoin_root import ring_theory.algebra_tower import ring_theory.algebraic import ring_theory.polynomial import field_theory.minpoly import linear_algeb...
4378011234e2795be81d27cfaa9e17af1e4cf0e8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/matrix/hadamard.lean
b9e476dc644949ba0106a01ef4a50c3a05821ab4
[ "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
3,429
lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import data.matrix.notation import linear_algebra.matrix.trace /-! # Hadamard product of matrices This file defines the Hadamard product `matrix.hadamard` and contain...
6e0cbf30ae724c36e8ea51c90b5059eb32e0cf59
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/equiv/ring.lean
63f1a46e70dcdb886ea2e5a05661e6390d593111
[ "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
13,960
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 data.equiv.mul_add import algebra.field import algebra.opposites /-! # (Semi)ring equivs In this file we define extension of ...
11d63537fbf9c1d4d7613191f04556d9bebfd151
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/PreDefinition/Structural/BRecOn.lean
2fc755fd4f4276c7313050f5a2d59b3c9bd3e1b3
[ "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
12,104
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.Util.HasConstCache import Lean.Meta.CasesOn import Lean.Meta.Match.Match import Lean.Elab.RecAppSyntax import Lean.Elab.PreDefinition.Basic impo...
0a7ad35b60f941386184f6237d2e3c720f981f04
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/init/hit.hlean
4a6197c03af3b27d81457b1dd5d1e846bdc5fd65
[ "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
3,288
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 primitive hits in Lean -/ prelude import .trunc .pathover open is_trunc eq /- We take two higher inductive types (hits) as primitive notion...
879f275aa864c7c615ae2b5d9c9c5685b2df01ed
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Meta/WHNF.lean
faadca91fea32d7713da6a721c382132b22bb5da
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
36,868
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Structure import Lean.Util.Recognizers import Lean.Meta.GetConst import Lean.Meta.FunInfo import Lean.Meta.Match.MatcherInfo import Lean.Meta.Ma...
f3c552c136a447ec68b54b932c4b321628a9e40c
4727251e0cd73359b15b664c3170e5d754078599
/src/data/nat/periodic.lean
a5a14e738006c9cfc93a9f22d904c0498c1ecf1e
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,169
lean
/- Copyright (c) 2021 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey -/ import algebra.periodic import data.nat.count import data.nat.interval /-! # Periodic Functions on ℕ This file identifies a few functions on `ℕ` which are periodic, a...
926a35961459412449d42705cef7391a64ca6bf9
74d9d5f45c6ce5c4f2faf215c04a68eab55fe525
/src/topological_manifold.lean
de2ded0dd72cd2f3944bb1f8417c44b2b95c1c6e
[]
no_license
joshpoll/differential_geometry
290bb8a934ca3b3b6b707d810e6d4b941710b710
57e00a7e37b7c4c73c847429171ff63d3a48def5
refs/heads/master
1,584,551,626,391
1,527,747,643,000
1,527,747,643,000
135,014,993
1
0
null
null
null
null
UTF-8
Lean
false
false
2,618
lean
-- An n-dimensional topological manifold is a second countable Hausdorff space that is locally Euclidean of dimension n. import analysis.real import analysis.topology.topological_space import data.vector import .homeos open topological_space universes u -- ℝ^n def euclidean_space (n : ℕ) := vector ℝ n local notati...
b133d28df9620081f5cb0565e147b190f34cdfd1
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world3/level2.lean
af6cd4a331db46aaa2b86e2f1bf900fecc1bf9f3
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
723
lean
import game.world3.level1 -- hide import mynat.mul -- hide namespace mynat -- hide /- # Multiplication World ## Level 2: `mul_one` Remember that you can see everything you have proved so far about multiplication in the drop-down box on the left (and that this list will grow as we proceed). In this level we'll need...
6ba89b3d058ab964a41da0927236fedc27be5a83
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/496.lean
a4455b4898131bab08dd336f2d4b8f0ed4c69697
[ "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
127
lean
axiom F : Type axiom foo : F def foo' : F := foo axiom bla : Nat noncomputable def bla1 : Nat := id bla def bla2 := id bla1
64f54d63fc34537e046113112481ea1d11696891
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/struct1.lean
fca26b6b346fa10df25eb2452e1f671f7254bdf4
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,004
lean
new_frontend structure A (α : Type) := (x : α) structure B (α : Type) := (x : α) structure S : Nat := -- error expected Type (x : Nat) structure S extends Nat → Nat := -- error expected structure (x : Nat) structure S extends A Nat, A Bool := -- error field toA already declared (x : Nat) structure S extends A Nat...
8abc4a792156b6fcedcabaf0005045a3e65b78f2
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/set_like.lean
a09a0c0b04a6769109de23df4cac514f9ee246e1
[ "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
3,827
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.set.basic /-! # Typeclass for a type `A` with an injective map to `set B` This typecalss is primary for use by subobjects like `submonoid` and `submodule`. A...
27c6d367643bf62069099de0e2f1d52ecd96d361
a51edd9a1700339fa6dc7dc428eb5dfa3994b8bc
/src/examples.lean
132236cd78e6a228653f03eb9fc06317ec18942c
[]
no_license
avigad/formal_logic
83f5c0534b3e9e7da53eff01bb82289daad65555
59d7fe7cb7a7927fb72d89d4fd40965bcd769349
refs/heads/master
1,585,302,642,116
1,541,000,469,000
1,541,000,469,000
146,376,915
1
1
null
null
null
null
UTF-8
Lean
false
false
536
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import .subst section examples open hol open hol.term private def foo : term := let ty := mk_nat ⇒ mk_nat ⇒ mk_nat, f := Const (const.user 0 ty []), x ...
dd081d5fbf6c5f728733c75286a7d9fd8a97ef8a
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/Parser/Extension.lean
02e40fe612272bb1a3615008c077635adede4267
[ "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
28,483
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.ResolveName import Lean.ScopedEnvExtension import Lean.Parser.Basic import Lean.Parser.StrInterpolation import Lean.KeyedDecl...
415a7d111d9bca79efc8c8f2a7e32c901eff6e3a
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/ring_theory/algebra.lean
549f45f75ad9b0b09b4835a28df6b1d21c6284f9
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
18,869
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Algebra over Commutative Ring (under category) -/ import data.polynomial data.mv_polynomial import data.complex.basic import linear_algebra.tensor_product import ring_theory.sub...
fc296675303c080af4b39cd539799d42037f42fa
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/10_Structures_and_Records.org.13.lean
98f2bb86840dd710e5256602946568e63f5a7798
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
178
lean
import standard structure point (A : Type) := mk :: (x : A) (y : A) inductive color := red | green | blue structure color_point (A : Type) extends point A := mk :: (c : color)
d35a01d79ea0276511b7472daac0bddc721c0a80
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/proposition/2.lean
878a43da1eedbb2de92e022f2caa23090403e556
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
71
lean
lemma imp_self (P : Prop) : P → P := begin intro p, exact p, end
9b67d5691227b6cbdcca7b4611005261f26204cc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/logic/nonempty.lean
bf8eb3ed20519b4232722404617f3f91a9c4d1c6
[ "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,820
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 logic.basic /-! # Nonempty types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This file pro...
01e0e6e4af1d837ac79529030bb588884b688e7c
b24beef0a8b1a8e92be756a25aa78e24908b2b14
/src/hints/thursday/afternoon/category_theory/exercise1/hint1.lean
640a45feba2aca61ecc2058affadf91a3e58ed57
[]
permissive
ChristopheMargerin/lftcm2020
14967e74cbe92a7b61d32d8130f32cfa09b5172b
589180047fa4fdfb3179636db58b0b0320549871
refs/heads/master
1,668,536,269,632
1,594,891,664,000
1,594,891,664,000
280,112,730
0
0
MIT
1,594,891,963,000
1,594,891,962,000
null
UTF-8
Lean
false
false
1,528
lean
import category_theory.isomorphism import category_theory.yoneda open category_theory open opposite variables {C : Type*} [category C] def iso_of_hom_iso_attempt_1 (X Y : C) (h : yoneda.obj X ≅ yoneda.obj Y) : X ≅ Y := -- We're trying to construct an isomorphism, so our first task is to write a stub for the structur...
bc28cbc59591b7b75f8fc7ac8c30aa0b123ce9bf
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/meta/tactic/basic.lean
4ba6c890eaa8947e996d2789bbd13254a7d5d824
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
8,742
lean
import data.stream import util.control.applicative import util.logic import tactic.nursery namespace tactic open tactic open lean.parser open interactive open interactive.types local postfix `?`:9001 := optional local postfix *:9001 := many meta def get_local_value (e : expr) : tactic (option expr) := try_core $ l...
f7176b5ab3d76dd461a15f8ec0f0c1561254747c
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/algebra/char_zero.lean
681e5e1a91d57a18eb2dbde003a8733706bf20f8
[ "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
3,196
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 data.nat.cast algebra.field tactic.wlog /-- Typeclass for monoids with characteristic z...
22c10d8d8f7cfc620e569cc8e2d789970018e7b7
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/data/fintype.lean
80d41f9e980e8ef49d65510f3410834623b1190e
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
29,929
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset algebra.big_operators data.array.lemmas data.vector2 data.equiv.encodable universes u v variables {α : Type*} {β : Type*} {γ : Type*...
a7ed03c5f9b04dcfd60ec049deb7905d401dc286
26b8b0964ca8e1c2e203585ba5940f83fe05e48a
/src/tidy/recover.lean
299d82ca2b48f9c1071a4366c1bfdac11b27e836
[]
no_license
jcommelin/lean-tidy
ef3cd32a3804221d93f0dff9e180bb2c52f4b143
9cecf497e90db64b5ea140ad6ae1603976dcd402
refs/heads/master
1,585,129,919,276
1,533,512,680,000
1,533,512,680,000
143,677,361
0
0
null
1,616,803,481,000
1,533,530,576,000
Lean
UTF-8
Lean
false
false
1,747
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Mario Carneiro, Scott Morrison open tactic -- This has been PR'd to mathlib; remove when it's merged. -- https://github.com/leanprover/mathlib/pull/125 meta def expr.metavaria...
8f7fe0c2a086b3d5da3f57988d165931f0ada653
d534932ed7c1eba03b537c377a4f8961acd41e99
/examples/http-client/lakefile.lean
9f0662092ba28f1425fdb633721d7ba587971756
[ "Apache-2.0" ]
permissive
Adminixtrator/lean4-socket
d7e321d547df6545d0c085d310be8f2c41c44ddb
b313041f2e75f4ad8320ab66d7e2afafd2202318
refs/heads/main
1,692,582,696,753
1,633,439,398,000
1,633,439,523,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
135
lean
import Lake open Lake DSL package http_client where dependencies := #[{ name := `socket src := Source.path "../../lake" }]
091feb2b09ead104133419a67f710988f60df109
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/autoparam.lean
294708797e07d97d5f0fa38ebf4dc037d441b3d0
[ "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
111
lean
def f (x y : Nat) (h : x = y := by assumption) : Nat := x + x def g (x y z : Nat) (h : x = y) : Nat := f x y
fe433f2f4e9309459c7549b8435e62fe74d46edd
e21db629d2e37a833531fdcb0b37ce4d71825408
/src/parlang/lemmas_memory.lean
abaaa4cd03e7cb71839399ccc24e86cc10cca5b9
[]
no_license
fischerman/GPU-transformation-verifier
614a28cb4606a05a0eb27e8d4eab999f4f5ea60c
75a5016f05382738ff93ce5859c4cfa47ccb63c1
refs/heads/master
1,586,985,789,300
1,579,290,514,000
1,579,290,514,000
165,031,073
1
0
null
null
null
null
UTF-8
Lean
false
false
651
lean
import parlang.defs namespace parlang namespace memory variables {ι : Type} {τ : ι → Type} [decidable_eq ι] {m : memory τ} {i i' : ι} {val val' : τ i} lemma get_update_success : get (update m i val) i = val := begin unfold update get function.update, simp, end lemma get_update_skip (h : i' ≠ i) : get (updat...
eb2ea8d03853fed8fef76b5fa9b930c1758be6a4
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/mk_dec_eq_instance.lean
d578968fa4f3e6d4017d6a9c8c1cf0b68cd0a960
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
5,622
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 Helper tactic for showing that a type has decidable equality. -/ prelude import init.meta.contradiction_tactic init.meta.constructor_tactic import init.meta.i...
e2d07e426460b0473dfd0bbc9db221e4d8f6f5ce
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/Misc1.lean
601398241ab79ef71f5d4de87167a1d3baee8051
[ "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
14,390
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 import Mathport.Syntax.Translate.Tactic.Lean3 import Mathport.Syntax.Translate.Tactic.Mathlib.Cache import Mathpo...
cae5a37be7752e701b3f92c6aa6c1918e11925aa
63abd62053d479eae5abf4951554e1064a4c45b4
/src/group_theory/presented_group.lean
135a8b1ebcc16236e332ad305eb016cf524a9ba9
[ "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
2,449
lean
/- Copyright (c) 2019 Michael Howes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Howes Defining a group given by generators and relations -/ import group_theory.free_group import group_theory.quotient_group variables {α : Type} /-- Given a set of relation...
5d90ea8518a0eda4e8cec86c1fe6ad24b37910e2
df561f413cfe0a88b1056655515399c546ff32a5
/8-inequality-world/l1.lean
727e516a6ad00a1c7fc5ddccaaac29eb04017000
[]
no_license
nicholaspun/natural-number-game-solutions
31d5158415c6f582694680044c5c6469032c2a06
1e2aed86d2e76a3f4a275c6d99e795ad30cf6df0
refs/heads/main
1,675,123,625,012
1,607,633,548,000
1,607,633,548,000
318,933,860
3
1
null
null
null
null
UTF-8
Lean
false
false
109
lean
lemma one_add_le_self (x : mynat) : x ≤ 1 + x := begin rw le_iff_exists_add, use 1, exact add_comm 1 x, end
b0be9502248c41a501ef5397221160efc33b826b
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/dsimp_proj.lean
8c98c5b1f1b73cbca05474224554132be328becf
[ "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
325
lean
example (a b : nat) : a + b = b + a := begin dsimp [has_add.add], guard_target nat.add a b = nat.add b a, apply nat.add_comm end example (f g : nat → nat) : (f ∘ g) = (λ x, f (g x)) := begin fail_if_success {dsimp}, dsimp {unfold_reducible := tt}, guard_target (λ x, f (g x)) = (λ x, f (g x)), refl end
e928c79c4b7d764bef60b4061a125f1ed3f820a2
3b15c7b0b62d8ada1399c112ad88a529e6bfa115
/src/Lean/Elab/Tactic/Conv/Pattern.lean
c643285c68ab7c303ad22f0bddb5cad2a7d7827d
[ "Apache-2.0" ]
permissive
stephenbrady/lean4
74bf5cae8a433e9c815708ce96c9e54a5caf2115
b1bd3fc304d0f7bc6810ec78bfa4c51476d263f9
refs/heads/master
1,692,621,473,161
1,634,308,743,000
1,634,310,749,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,818
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.Elab.Tactic.Simp import Lean.Elab.Tactic.Conv.Basic namespace Lean.Elab.Tactic.Conv open Meta private def getContext : MetaM Simp.Context := d...
e313d8e91c995b5bdb56f83baeb4f324fa2ffed5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/instances/nnreal.lean
32dab35f60751685bf5c9eb30cfdaea7df338c7d
[ "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
8,802
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import topology.algebra.infinite_sum import topology.algebra.group_with_zero /-! # Topology on `ℝ≥0` The natural topology on `ℝ≥0` (the one induced from `ℝ`), and a...