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
655c4088319b37ce51795a6890dfc5dd7c19f425
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/field_theory/minimal_polynomial.lean
d43ed50e5da79db4bfbfeefe5d4b679c4f9133ca
[ "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
8,859
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johan Commelin -/ import ring_theory.integral_closure /-! # Minimal polynomials This file defines the minimal polynomial of an element x of an A-algebra B, under the ass...
1616ea2cb642eee9523e61ff0532276f51f39640
b7fc5b86b12212bea5542eb2c9d9f0988fd78697
/src/solutions/thursday/groups_rings_fields.lean
5b63efd91076f1cede8620bdabf0686da564a32c
[]
no_license
stjordanis/lftcm2020
3b16591aec853c8546d9c8b69c0bf3f5f3956fee
1f3485e4dafdc587b451ec5144a1d8d3ec9b411e
refs/heads/master
1,675,958,865,413
1,609,901,722,000
1,609,901,722,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,927
lean
import linear_algebra.finite_dimensional import ring_theory.algebraic import data.zmod.basic import data.real.basic import tactic /-! ``` ____ / ___|_ __ ___ _ _ _ __ ___ | | _| '__/ _ \| | | | '_ \/ __| | |_| | | | (_) | |_| | |_) \__ \_ \____|_| \___/ \__,_| .__/|___( ) |_| |/ ...
d10dcde0151116bfb275aef89854c266695e9565
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/isomorphism.lean
70978f47d7a571de07a5b07dd959aa01b879d54c
[ "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,873
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Tim Baumann, Stephen Morgan, Scott Morrison import category_theory.functor universes v u -- declare the `v`'s first; see `category_theory.category` for an explanation namespac...
9cdfae842f1173cc28c83f96ab204b63d07e12b2
315b4184091c669ce8e5e07f9b24473c4bcfbaaf
/tests/lean/run/check_constants.lean
6badec575b3856c6db7c2c5da05897ce561f168c
[ "Apache-2.0" ]
permissive
haraldschilly/lean
78404910ad4c258cdf84e0509e4348c1525e57a9
d01e2d7ae8250e8f69139d8cb37950079e76ca9d
refs/heads/master
1,619,977,395,095
1,517,501,044,000
1,517,940,670,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,474
lean
-- DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py import smt system.io open tactic meta def script_check_id (n : name) : tactic unit := do env ← get_env, (env^.get n >> return ()) <|> (guard $ env^.is_namespace n) <|> (attribute.get_instances n >> return ()) <|> fail ("identifier '" +...
c167099dd96919887deb6e156e46fd129f4773ad
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/tactic/replacer.lean
aa3004a0a65d89b3f4094a289c70ed706e1f8fd6
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
2,754
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro A mechanism for defining tactics for use in auto params, whose meaning is defined incrementally through attributes. -/ namespace tactic meta def replacer_attr (ntac : n...
9da0dca37fb84d337782bc6c80170b22d54296d2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/2006.lean
84340a0b6196e45f7a4146fadc117a3e1d00c993
[ "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
3
lean
/-
773438c469ef5b03c9f716d4bfbe0e5a19a414f9
32da3d0f92cab08875472ef6cacc1931c2b3eafa
/src/topology/instances/ennreal.lean
6897853c2a8fec23bf21b8b2de803f54a58ea37c
[ "Apache-2.0" ]
permissive
karthiknadig/mathlib
b6073c3748860bfc9a3e55da86afcddba62dc913
33a86cfff12d7f200d0010cd03b95e9b69a6c1a5
refs/heads/master
1,676,389,371,851
1,610,061,127,000
1,610,061,127,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,959
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import topology.instances.nnreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical topological_space e...
2f1563e1eedfcddad875f8faad2e6e5721862a0f
618003631150032a5676f229d13a079ac875ff77
/src/ring_theory/localization.lean
31665d6d058a46ef2c6381b23b75c89904f7e8f6
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
23,761
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston -/ import data.equiv.ring import tactic.ring_exp import ring_theory.ideal_operations import group_theory.monoid_localization /...
96cddad034f489df5046d14babf1ea1c8329b9a7
e91b0bc0bcf14cf6e1bfc20ad1f00ad7cfa5fa76
/src/sheaves/presheaf_of_rings_on_basis.lean
cc975737ef88fe70841a1b12df6d9c18c2884709
[]
no_license
kckennylau/lean-scheme
b2de50025289a0339d97798466ef777e1899b0f8
8dc513ef9606d2988227490e915b7c7e173a2791
refs/heads/master
1,587,165,137,978
1,548,172,249,000
1,548,172,249,000
167,025,881
0
0
null
1,548,173,930,000
1,548,173,924,000
Lean
UTF-8
Lean
false
false
1,360
lean
import sheaves.presheaf_of_types_on_basis universe u open topological_space structure presheaf_of_rings_on_basis (α : Type u) [TX : topological_space α] {B : set (set α)} (HB : topological_space.is_topological_basis B) extends presheaf_of_types_on_basis α HB := (Fring : ∀ {U} (BU : U ∈ B), comm_ring (F ...
07ef64fdecd3e11dfb40bc7704cb1a676524084f
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/coeIssue3.lean
3cd710985d9ccaf00b07e27a032eb0a46c60e22c
[ "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
512
lean
new_frontend structure Var : Type := (name : String) instance Var.nameCoe : Coe String Var := ⟨Var.mk⟩ structure A : Type := (u : Unit) structure B : Type := (u : Unit) def a : A := A.mk () def b : B := B.mk () def Foo.chalk : A → List Var → Unit := fun _ _ => () def Bar.chalk : B → Unit := fun _ => () instance li...
36fdef7b66e11163407732ad4fd0d7f1e04290d4
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/complex/module.lean
0c13030e78d2e0c973ddb53a6379eebbd6b8658e
[ "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
11,565
lean
/- Copyright (c) 2020 Alexander Bentkamp, Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Sébastien Gouëzel, Eric Wieser -/ import algebra.order.smul import data.complex.basic import data.fin.vec_notation import field_theory.tower ...
ce301c0e20655f1db58f4616d77f08c8dd71de89
42c01158c2730cc6ac3e058c1339c18cb90366e2
/M1P2/group_theory.lean
e39076ef882041508eb426afd5dbed14949abaeb
[]
no_license
ChrisHughes24/xena
c80d94355d0c2ae8deddda9d01e6d31bc21c30ae
337a0d7c9f0e255e08d6d0a383e303c080c6ec0c
refs/heads/master
1,631,059,898,392
1,511,200,551,000
1,511,200,551,000
111,468,589
1
0
null
null
null
null
UTF-8
Lean
false
false
194
lean
noncomputable theory constant G : Type @[instance] constant G_group : group G variables a b c : G example : a * (b⁻¹ * 1) = (b * a⁻¹)⁻¹ := begin rw [mul_one,mul_inv_rev,inv_inv] end
2fce7f691e1c7551b77797ad3bc4645e04bb72b1
74caf7451c921a8d5ab9c6e2b828c9d0a35aae95
/library/init/meta/vm.lean
1397c4d2a3448433329708e76bdcb647cb44176d
[ "Apache-2.0" ]
permissive
sakas--/lean
f37b6fad4fd4206f2891b89f0f8135f57921fc3f
570d9052820be1d6442a5cc58ece37397f8a9e4c
refs/heads/master
1,586,127,145,194
1,480,960,018,000
1,480,960,635,000
40,137,176
0
0
null
1,438,621,351,000
1,438,621,351,000
null
UTF-8
Lean
false
false
6,365
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.data.option.basic meta constant vm_obj : Type inductive vm_obj_kind | simple | constructor | closure | mpz | name | l...
ab399b92a085eb26c79d52a938d362b4a10ee944
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/zmod/basic.lean
0ad419b8e5e77e00c6753b5d047e82b86d75cdb8
[ "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
28,763
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 data.int.modeq import algebra.char_p.basic import data.nat.totient import ring_theory.ideal.operations import tactic.fin_cases /-! # Integers mod `n` Definition...
2c6c27f97322fb6c9662d99ce87d980a9f36b376
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/algebra/theories/monoid.lean
705470a3c40479bfe16ed5ff2697ad22a03dbf89
[ "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
3,487
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 .semigroup import .unital set_option default_priority 0 namespace algebra signature monoid (α : Type*) := (op : α → α → α) (id : α) namespace monoid_sig variables...
486e5a70e227902d63275586a404a3688347d4b7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/termElab.lean
d41055556f2c8fb42b2bf04bda58bd7b578d0c78
[ "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
683
lean
import Lean open Lean open Lean.Elab open Lean.Elab.Term def tst1 : TermElabM Unit := do let opt ← getOptions; let stx ← `(forall (a b : Nat), Nat); IO.println "message 1"; -- This message goes direct to stdio. It will be displayed before trace messages. let e ← elabTermAndSynthesize stx none; trace[Elab.debug] m!">...
2f37d1a9c49c728de382f8a862bc6971131f6346
1717bcbca047a0d25d687e7e9cd482fba00d058f
/src/topology/subset_properties.lean
f4ee3a5dcaa23c59b5b2bf72ecf68e656b8c507a
[ "Apache-2.0" ]
permissive
swapnilkapoor22/mathlib
51ad5804e6a0635ed5c7611cee73e089ab271060
3e7efd4ecd5d379932a89212eebd362beb01309e
refs/heads/master
1,676,467,741,465
1,610,301,556,000
1,610,301,556,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
65,505
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, Yury Kudryashov -/ import topology.continuous_on import data.finset.order /-! # Properties of subsets of topological spaces ## Main definitions `comp...
98deb31e97cc81ff23b754d9b58768295dd81131
367134ba5a65885e863bdc4507601606690974c1
/src/data/padics/padic_integers.lean
0b958620d7f42b51fc443a95c483ebf979083ec0
[ "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
20,170
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, Mario Carneiro, Johan Commelin -/ import data.int.modeq import data.zmod.basic import linear_algebra.adic_completion import data.padics.padic_numbers import ring_theo...
95883f3ad7f804cb0bfceca0e7dfc4290dddacfb
59aed81a2ce7741e690907fc374be338f4f88b6f
/src/math-688/homework/hw-3.lean
c7fb08d3d99e5c1166b711e2e4acfc016e348816
[]
no_license
agusakov/math-688-lean
c84d5e1423eb208a0281135f0214b91b30d0ef48
67dc27ebff55a74c6b5a1c469ba04e7981d2e550
refs/heads/main
1,679,699,340,788
1,616,602,782,000
1,616,602,782,000
332,894,454
0
0
null
null
null
null
UTF-8
Lean
false
false
662
lean
/- Homework 3 -/ /- 1. Let `A` be a real and symmetric `n × n` matrix. For each eigenvalue `θ` of `A`, let `Uθ` be a matrix whose columns form an orthonormal basis for the eigenspace corresponding to `θ` and denote `Eθ = Uθ * Uθᵀ`. The matrices `Eθ` are called the principal idempotents of `A`. The set of (disti...
dc6a5c9794a5591578b5c6aa6c2bd4c6578a3f09
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/trans.lean
9d782e6d253a5c28ea6c39760ed1b684c070bbde
[ "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
1,090
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Leonardo de Moura import logic open eq definition refl := @eq.refl definition transport {A : Type} {a b : A} {P : A → Type} (p : a = b) (H : P a) : P b := eq.rec H p theo...
b692e30f0d119671b68e6d928df554fe657566a4
c2b0bd5aa4b3f4fb8a887fab57c5fc08be03aa01
/lambda.lean
1ec452a7cc82bf3a2c47421bfcc621e20ddcf2be
[]
no_license
cipher1024/lambda-calc
f72aa6dedea96fc7831d1898f3150a18baefdf0b
327eaa12588018c01b2205f3e4e0048de1d97afd
refs/heads/master
1,625,672,854,392
1,507,233,523,000
1,507,233,523,000
99,383,225
4
0
null
null
null
null
UTF-8
Lean
false
false
2,417
lean
import data.vector import .variables.nary import .lens universes u u₀ u₁ u₂ u₃ namespace lambda open nat has_map nary lenses inductive expr (α β : Type u) : list ℕ → Type u | var : ∀{n}, var α n → expr n | app : ∀{n}, expr n → expr n → expr n | abstr : ∀n {xs}, vector β n → expr (n :: xs) → expr xs | skip : ∀n {xs...
6a398a3017764d6194ee0f1646ae5b327ab8ffd2
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/countable_dense_linear_order.lean
3ff3aaed0191968b793f3c6ffc0bf0b6879c0944
[ "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
9,636
lean
/- Copyright (c) 2020 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import order.ideal import data.finset /-! # The back and forth method and countable dense linear orders ## Results Suppose `α β` are linear orders, with `α` countable and ...
65f04e994b810e57f9da960f34a8edd6a4561e01
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/docs/tutorial/category_theory/intro.lean
ccbbca5d24d812dca6d6680336844e74a0d694c8
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,135
lean
import category_theory.functor.category -- this transitively imports -- category_theory.category -- category_theory.functor -- category_theory.natural_transformation /-! # An introduction to category theory in Lean This is an introduction to the basic usage of category theory (in the mathematical sense) in Lean. We c...
c8d7e959e038fb8bca49273d206c7a1fddc56327
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/smart_unfolding.lean
58ab4ef7b6aa448745e9bcc57b105c3eb585bc4c
[ "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
114
lean
constant n : nat #reduce n + (nat.succ n) set_option type_context.smart_unfolding false #reduce n + (nat.succ n)
ea31c1f4efb087f81ab1594fed7e8d7692f0658e
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/num.lean
663bca263c54695872b4c8ea016e9125449ca135
[ "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
51
lean
import num check 14 check 0 check 3 check 2 check 4
21d20eed9959b58e38144fe55d56c7cfda303a19
ecad13897fdb44984cf1968424224d1750040236
/lean/lean/examples/example04.lean
5b367fdc43efb9350e0f45df3b0a3cb4a20a2df7
[]
no_license
MetaBorgCube/sdf3-demo
4899159b1cfb0a95ae3af325035bbba8a1255477
e831606d5b404eba75b087916a1162923143b98a
refs/heads/master
1,609,472,086,310
1,553,380,857,000
1,553,380,857,000
59,577,395
0
0
null
null
null
null
UTF-8
Lean
false
false
69
lean
(a : b)(c : d)(e : f) -> e => (a : b) -> (c : d) -> (e : f) -> e
9db6be38a99239d2cd7113f26447b3aafa6fa9c3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/charpoly/coeff.lean
834300d00a30bc850c8f1141b23561f7ad6b7351
[ "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,917
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import data.polynomial.expand import linear_algebra.matrix.charpoly.basic /-! # Characteristic polynomials > THIS FILE IS SYNCHRONIZED WI...
e4244d8707a1eef1f3eaa4645880a43f01476348
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/sets/sets_level01.lean
7c1f707a17fa87bf8cea1e34e420c746d4360e86
[ "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
2,227
lean
import data.set.basic -- hide import kb_defs -- hide namespace xena -- hide open_locale classical -- hide variable X : Type -- we will think of X as a set here /- # Chapter 1 : Sets ## Level 1 : Introduction to sets. This chapter assumes you are familiar with the following tactics: `rw`, `intro`, `apply`, `exact...
49ac18146290d61b5bf01f7a218c9543cba707aa
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/tactic/tidy.lean
cd2062af3d38d5e32f5dadc8e68fc8d09ddac32f
[ "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
4,466
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 tactic.ext import tactic.auto_cases import tactic.chain import tactic.solve_by_elim import tactic.norm_cast import tactic.hint import tactic.interactive names...
1ce84d14136df178dbdd23fc6398b3859a522ec0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/archive/100-theorems-list/82_cubing_a_cube.lean
55e82c52df8ff6d513cb9b1c53ae6e223c18b90c
[ "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
23,609
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import data.real.basic import data.set.disjointed import data.set.intervals import set_theory.cardinal /-! Proof that a cube (in dimension n ≥ 3) cannot be cubed:...
6144e3dfdcf64208839b52a4da8de3a191a57963
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/Reparen.lean
f4f6dc925709b26ced5537cf2f0fa9ba08629813
[ "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,005
lean
/-! Reprint file after removing all parentheses and then passing it through the parenthesizer -/ import Lean.Parser open Lean open Lean.Format def unparenAux (parens body : Syntax) : Syntax := match parens.getHeadInfo, body.getHeadInfo, body.getTailInfo, parens.getTailInfo with | some bi', some bi, some ti, some ti' ...
5bc8d548f7b2fd5206decb7e207dbc9e0ed19272
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/algebra/field.lean
9609ef4d0ede48e137aa653876e5c51c4b803e51
[ "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
20,330
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis Structures with multiplicative and additive components, including division rings and fields. The development is modeled after Isabelle's library. -/ import logic.eq logic.c...
a40cc17908c27541be5e52a4a673e3571b13ca1e
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level3.lean
85b4f5982a85b08e76549cb5381f1751c33a5a45
[ "Apache-2.0" ]
permissive
nomoid/lean-proofs
4a80a97888699dee42b092b7b959b22d9aa0c066
b9f03a24623d1a1d111d6c2bbf53c617e2596d6a
refs/heads/master
1,674,955,317,080
1,607,475,706,000
1,607,475,706,000
314,104,281
0
0
null
null
null
null
UTF-8
Lean
false
false
159
lean
import mynat.definition namespace mynat theorem succ_eq_succ_of_eq {a b : mynat} : a = b → succ(a) = succ(b) := begin intro a, rw a, end end mynat
53a7529c7043a684aadf28bdd76c1e8bdfd5aa57
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/string/basic.lean
39b7fddc7851168644d3bb6501bec7e0edf3ca5c
[ "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,518
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Supplementary theorems about the `string` type. -/ import data.list.basic import data.char namespace string def ltb : iterator → iterator → bool | s₁ s₂ := begin cas...
117ae62e7a5b15647f5e41f8d5591176b77353e8
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/ordered_field.lean
3bb31b53feed7409caa87fd6fde4aa389292f72f
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
9,494
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.ordered_ring import algebra.field section linear_ordered_field variables {α : Type*} [linear_ordered_field α] {a b c d : α} lemma div_pos : 0 < a → 0...
58694b6b8f21b4abed9161d35dae2ca677ccb5f4
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/ring_theory/ideal_operations.lean
b205935cafa8bade9212520eb1e9cb85dac2af18
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
26,184
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau More operations on modules and ideals. -/ import data.nat.choose import data.equiv.ring import ring_theory.algebra_operations universes u v w x namespace submodule variables ...
f42f5a71f1c2dc49f9401a7c0314d32ec41a6c64
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/intervals/surj_on.lean
f6c18f4202b32c2123c98ca3d5809a85907c3fd6
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,930
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Heather Macbeth -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.intervals.basic import Mathlib.data.set.function import Mathlib.PostPort univers...
d0d9f323a844c7be28b0be5edfc350a63bf110f9
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/list_elab1.lean
8da8526facfe71c85e08de6aba8e154736d54706
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,125
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Parikshit Khanna. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Authors: Parikshit Khanna, Jeremy Avigad ----------------------------------------...
73d1e1cdf61dc3bd9737fa14aaf7afde4bacc458
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/smt/ematch.lean
5ba0fa3a1388d296ef2e7525b4ff2e54ee3ab71b
[ "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
7,383
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.congruence_closure import init.meta.attribute init.meta.simp_tactic import init.meta.interactive_base init.meta.derive open tac...
4288c0e5bdd40cfed42cc41fb2225507b984278e
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_geometry/prime_spectrum/is_open_comap_C.lean
94a5d44e69992dcb1e08118bf69fb41596048706
[ "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
3,083
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebraic_geometry.prime_spectrum.basic import ring_theory.polynomial.basic /-! The morphism `Spec R[x] --> Spec R` induced by the natural inclusion `R --> R[x]`...
7fffe99c46fee9f6571a18a17ac28288bee4177f
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/Attributes.lean
d1c885129ae73c9bc3eae46704c3d0d693123ee8
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
3,854
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.Attr import Lean.Attributes import Lean.MonadEnv import Lean.Elab.Util namespace Lean.Elab structure Attribute where ...
3467b7a5cc047caa0ff38310af8c04f78ef51fbb
274261f7150b4ed5f1962f172c9357591be8a2b5
/src/egad.lean
acab75b3084d3959f9901df5acb49f91a1bde4b2
[]
no_license
rspencer01/lean_representation_theory
219ea1edf4b9897b2997226b54473e44e1538b50
2eef2b4b39d99d7ce71bec7bbc3dcc2f7586fcb5
refs/heads/master
1,588,133,157,029
1,571,689,957,000
1,571,689,957,000
175,835,785
0
0
null
null
null
null
UTF-8
Lean
false
false
1,243
lean
import data.multiset import data.finset import data.list.basic import .module_filtration import .quiver import .lattices variables {R : Type} [ring R] {M : Module R} variable (F : filtration (submodule R M)) structure generalised_alperin_diagram := (diagram : quiver) (ac : is_acyclic diagram) (s : diagram.vert...
48f0995c0e5e3412f855ab39a24539b0ed00de5a
4c630d016e43ace8c5f476a5070a471130c8a411
/ring_theory/associated.lean
a3e282a44a58788283d0e8597263cade466aee15
[ "Apache-2.0" ]
permissive
ngamt/mathlib
9a510c391694dc43eec969914e2a0e20b272d172
58909bd424209739a2214961eefaa012fb8a18d2
refs/heads/master
1,585,942,993,674
1,540,739,585,000
1,540,916,815,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,391
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, Jens Wagemaker Associated and irreducible elements. -/ import order.galois_connection algebra.group data.equiv.basic data.multiset data.int.gcd variables {α : Type*} ...
ae932f1cff2f0c284763b26db746068de948ef72
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/elab5.lean
6781c764fb77b84ced4d6eec2707bdcb3bc3c490
[ "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
60
lean
constant s : sum nat bool #check @eq.refl (sum nat bool) s
82a38a181067cd7e7f9eba8515e4e25ea1fd618d
8f209eb34c0c4b9b6be5e518ebfc767a38bed79c
/code/src/internal/R_red_removable.lean
402307efe034cf36b720d5ade9aed2dca6152430
[]
no_license
hediet/masters-thesis
13e3bcacb6227f25f7ec4691fb78cb0363f2dfb5
dc40c14cc4ed073673615412f36b4e386ee7aac9
refs/heads/master
1,680,591,056,302
1,617,710,887,000
1,617,710,887,000
311,762,038
4
0
null
null
null
null
UTF-8
Lean
false
false
18,510
lean
import tactic import data.finset import ..definitions import .internal_definitions import .tactics import .utils import .phi.utils import .Ant.main import .Gdt.main import .U import .A import .R variable [GuardModule] open GuardModule lemma R_red_redundant { ant: Ant bool } (ant_disjoint: ant.disjoint_rhss): ant....
66486494d10da7ecd87d642ad4de67f64bd06c15
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/pnat/xgcd.lean
2027de1c747b54f498d7f98805f36086f10ff179
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
13,617
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import tactic.ring import data.pnat.prime /-! # Euclidean algorithm for ℕ This file sets up a version of the Euclidean algorithm that only works with natural numb...
0c15c14e8c9df3624ca8e1b56ee3083884f8392e
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/mk_iff_of_inductive_prop.lean
593e5e4bc368ab8856f144d06e91815351c0a694
[ "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
6,928
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 Generation function for iff rules for inductives, like for `list.chain`: ∀{α : Type*} (R : α → α → Prop) (a : α) (l : list α), chain R a l ↔ l = [] ∨ ∃{b : α...
65104507460f586b753beff11e991e2e803cb5eb
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/function.lean
c7c2c729b3cfbb4844a45a6d90b0845915b4f19d
[ "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,645
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Haitao Zhang -/ prelude import init.data.prod init.funext init.logic /-! # General operations on functions -/ universes u₁ u₂ u₃ u₄ namespace f...
c49d51c37569c6cfc67b9024a355e69d57f81bc8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/seq/seq.lean
2a18d6727f3ace722550cf166fcc00da74c4d42d
[ "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
28,466
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.basic import data.stream.init import data.lazy_list import data.seq.computation universes u v w /- coinductive seq (α : Type u) : Type u | nil : se...
9e46e39cae5efe2159bfb8f4ddbed272bc0f8e2f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/cyclotomic/discriminant.lean
61de05a851897f11884af156d4e6cc6546aaf24f
[ "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
11,512
lean
/- Copyright (c) 2022 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import number_theory.cyclotomic.primitive_roots import ring_theory.discriminant /-! # Discriminant of cyclotomic fields We compute the discriminant of a `p ^ n`-t...
3128e742593e0ada82da932c4aa40a6bda01e368
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1024.lean
17da7756b5f749409053e031aef61e5db60c44a4
[ "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
894
lean
inductive Vector (α : Type u): Nat → Type u where | nil : Vector α 0 | cons (head : α) (tail : Vector α n) : Vector α (n+1) namespace Vector def nth : ∀{n}, Vector α n → Fin n → α | n+1, cons x xs, ⟨ 0, _⟩ => x | n+1, cons x xs, ⟨k+1, h⟩ => xs.nth ⟨k, sorry⟩ def snoc : ∀{n : Nat} (xs : Vector α n) (x : α), V...
c06f4409df83ca34a567a4254246d2b83ac126ba
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/nat/totient.lean
dbc8360f7cbcbbd546d419d7507f975b59b8a670
[ "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
12,457
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 algebra.big_operators.basic import data.nat.prime import data.zmod.basic import ring_theory.multiplicity import data.nat.periodic import algebra.char_p.two /-! # ...
b76640197dca58fa51ff826ba2d1bf0c328856a7
4a3109c7bb55b7ea698278061cbb921b8db93b7f
/mm0-lean/x86/assembly.lean
ba2c21986b761996e95c2555588a150471d7e032
[ "CC0-1.0" ]
permissive
LongJohnCoder/mm0
d233200cd7baae9c521cacfbbe162b2ff3bd993f
0c556a21af92d552e859fd42794f57398c3964cf
refs/heads/master
1,600,930,472,594
1,574,627,400,000
1,574,627,400,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,078
lean
import x86.lemmas namespace x86 inductive arg : Type | imm : qword → arg | reg : regnum → arg | mem : option scale_index → base → ℤ → arg | label : ℕ → arg | loc : ℕ → ℤ → arg inductive directive | label : ℕ → directive | loc : ℕ → arg → directive inductive asm1 | unop : unop → wsize → arg → asm1 | binop : binop → ...
761c6fa4867dbf779f3f99705490e6f22caa5731
a19a4fce1e5677f4d20cbfdf60c04b6386ab8210
/hott/init/types.hlean
f01da8acf3eb23d4c75f558258a662f636ab8f3b
[ "Apache-2.0" ]
permissive
nthomas103/lean
9c341a316e7d9faa00546462f90a8aa402e17eac
04eaf184a92606a56e54d0d6c8d59437557263fc
refs/heads/master
1,586,061,106,806
1,454,640,115,000
1,454,641,279,000
51,127,143
0
0
null
1,454,648,683,000
1,454,648,683,000
null
UTF-8
Lean
false
false
4,894
hlean
/- Copyright (c) 2014-2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn, Jakob von Raumer -/ prelude import init.num init.wf open iff -- Empty type -- ---------- protected definition empty.h...
24118532a4eb9ecf25a136c0d3b53fe089136e7c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Server/Watchdog.lean
bb22b52f7be8b70e7c2e1274e5923f667e102cb9
[ "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
34,035
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Init.Data.ByteArray import Std.Data.RBMap import Std.System.Uri import Lean.Elab.Import import Lean.Util.Paths import...
17962f7c63a58f07b28f2e4a22013e4102de669e
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/logic/default.lean
21d615c022df37a3e36b8c373cd9ed3e46a7c399
[ "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
246
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import logic.eq logic.connectives logic.cast import logic.quantifiers logic.identities
cb3e4d060923a87e1ab1e86d2da66df79dc932f4
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/PrettyPrinter/Delaborator/Builtins.lean
4cf71c1fda5eb97cf8a6260c5fef36b8c0c3ad37
[ "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
32,385
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.PrettyPrinter.Delaborator.Basic import Lean.PrettyPrinter.Delaborator.SubExpr import Lean.PrettyPrinter.Delaborator.TopDownAnalyze import Lean.Pars...
51682487c8654972ff18dde8c130d84a47ad8fe9
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/data/finsupp.lean
c0918452b2d3d6462a0bb9166b5f0d6a9306ba26
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
61,675
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 Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
45e756cbb978c37f8564f740ca27c010fb71f6c8
2fbe653e4bc441efde5e5d250566e65538709888
/src/data/subtype.lean
37d3289d0667dca7a5e34cee8c59060cdaa36102
[ "Apache-2.0" ]
permissive
aceg00/mathlib
5e15e79a8af87ff7eb8c17e2629c442ef24e746b
8786ea6d6d46d6969ac9a869eb818bf100802882
refs/heads/master
1,649,202,698,930
1,580,924,783,000
1,580,924,783,000
149,197,272
0
0
Apache-2.0
1,537,224,208,000
1,537,224,207,000
null
UTF-8
Lean
false
false
4,570
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 -/ -- Lean complains if this section is turned into a namespace open function section subtype variables {α : Sort*} {p : α → Prop} @[simp] theorem subtype.forall {q : {...
a9a94199d7648a0f1e829bc54ee3dab42a9b9c1b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/openScoped.lean
9b8e02ef984e8aaf5b4fe1d840038cffda062378
[ "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
409
lean
#check epsilon -- Error noncomputable def foo1 (f g : Nat → Nat) : Nat := if f = g then 1 else 2 -- Error section open Classical #check epsilon noncomputable def foo2 (f g : Nat → Nat) : Nat := if f = g then 1 else 2 -- Ok end #check epsilon -- Error section open scoped Classical #check epsilon -- Error non...
aea23d99378b0ad09ad0defebe3bc8437c5a0bb2
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/group/hom.lean
f094b7f71a111057556887f42fc3ffec88e5b13f
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,003
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group.commute import algebra.group_with_zero.defs /-! ...
c43c9342869f422590a1d1f9d22ac5a82eac1302
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/continued_fractions/computation/approximations.lean
31dceda924bfd36fcb42bb3f5aa81a02788f9ee9
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
14,663
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.computation.translations import algebra.continued_fractions.continuants_recurrence import algebra.continued_fractions.terminate...
dfe8bae7b32c689a456456519a91b58f2d2232af
74caf7451c921a8d5ab9c6e2b828c9d0a35aae95
/library/init/meta/expr.lean
0646a751536cc0fd9a7710261337e7d7c6a57452
[ "Apache-2.0" ]
permissive
sakas--/lean
f37b6fad4fd4206f2891b89f0f8135f57921fc3f
570d9052820be1d6442a5cc58ece37397f8a9e4c
refs/heads/master
1,586,127,145,194
1,480,960,018,000
1,480,960,635,000
40,137,176
0
0
null
1,438,621,351,000
1,438,621,351,000
null
UTF-8
Lean
false
false
6,867
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.level inductive binder_info | default | implicit | strict_implicit | inst_implicit | other meta constant macro_def : Type /- Ref...
1a6690690e4d0e3fd60a3ad14200ef688ea5dc01
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Init/SizeOf.lean
000fa5538c568eed7a8bc29fed7051abaab7e9c6
[ "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
1,811
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.Notation /- SizeOf -/ class SizeOf (α : Sort u) where sizeOf : α → Nat export SizeOf (sizeOf) /- Declare sizeOf instances and theo...
265a0ad8c4ec49dcdae1029f01ef1e5a879d6b7b
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/tests/lean/run/IO3.lean
adeede7d3d323e5b40620d2a7e14843d4782af98
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
217
lean
import system.io open io def main : io unit := do { l ← get_line, if l = "hello" then put_str "you have typed hello\n" else do {put_str "you did not type hello\n", put_str "-----------\n"} }
80166defaa9a0d62216703a525ec3ee7608174e8
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Elab/Attributes.lean
fe2b6d10605bdb5d8dddd9a9f815f3342055d670
[ "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,796
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.Basic import Lean.Attributes import Lean.MonadEnv namespace Lean namespace Elab structure Attribute := (name : Name)...
b87bd38de6f081f29107918903ec5a425a85766f
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/reduction/cpge_reduction_001.lean
a605de341c8302a595e58f28c35ce37688786b6d
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
366
lean
import algebra.module.basic import algebra.module.linear_map import linear_algebra.basic import linear_algebra.prod import linear_algebra.projection import order.bounded_lattice theorem cpge_reduction_1 (R : Type*) (M : Type*) [semiring R] [add_comm_monoid M] [module R M] (u : linear_map R M M) (E : submodule R M) : ...
96582065f72c87f15acef7316d5b2a1815224570
94e33a31faa76775069b071adea97e86e218a8ee
/src/combinatorics/set_family/harris_kleitman.lean
153ea58531502ff4573d98f71bf6888d40976c1b
[ "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
8,224
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import algebra.big_operators.basic import order.upper_lower /-! # Harris-Kleitman inequality This file proves the Harris-Kleitman inequality. This relates `𝒜.card * ℬ....
94a58a1884a782e165e733d51b599a29729db1da
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/graded_monoid.lean
b1148140c6b47e7e439f609bfe38de5442c59bed
[ "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
21,992
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 algebra.group.inj_surj import data.list.big_operators import data.list.range import group_theory.group_action.defs import group_theory.submonoid.basic import data.se...
23990ebf1082008ac150203d5c21ddf4f3068b3e
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/instances/complex.lean
bf183b83e7a8871bc7adc17df545b1be82a68934
[ "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
4,779
lean
/- Copyright (c) 2022 Xavier Roblot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xavier Roblot -/ import analysis.complex.basic import field_theory.intermediate_field import topology.algebra.uniform_ring /-! # Some results about the topology of ℂ -/ section compl...
b65d2147ff9674e9fd2f9021b51edcc96d6ed0e9
626e312b5c1cb2d88fca108f5933076012633192
/src/ring_theory/ideal/operations.lean
b0e25c9498fe6198fb82e30c3aa6f33dd7f007a4
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
74,113
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.algebra.operations import algebra.algebra.tower import data.equiv.ring import data.nat.choose.sum import ring_theory.ideal.basic import ring_theory.non_zero_divi...
8bd68573f24d1e9c33071aee016de3d37e645106
c1a29ca460720df88ab68dc42d9a1a02e029d505
/examples/basics/order_divisibility_2_4.lean
8622d5aeeb2c1a3c22f86299081b29e26681f975
[]
no_license
agusakov/mathematics_in_lean
acb5b3d659e4522ae4b4836ea550527f03f6546c
2539562e4d91c858c73dbecb5b282ce1a7d38b6d
refs/heads/master
1,665,963,365,241
1,592,080,022,000
1,592,080,022,000
272,078,062
0
0
null
1,592,078,772,000
1,592,078,772,000
null
UTF-8
Lean
false
false
2,299
lean
import data.real.basic variables a b c d : ℝ -- BEGIN #check (min_le_left a b : min a b ≤ a) #check (min_le_right a b : min a b ≤ b) #check (le_min : c ≤ a → c ≤ b → c ≤ min a b) -- ENDimport data.real.basic variables a b : ℝ -- BEGIN example : min a b = min b a := begin apply le_antisymm, { show min a b ≤ min ...
b73f1e4072eef4b39e4a5b87062f5fc72ff24760
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/subring/basic.lean
68334a8fdd49ddc0981a820fef3bf0263cc32285
[ "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
47,564
lean
/- Copyright (c) 2020 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan -/ import group_theory.subgroup.basic import ring_theory.subsemiring.basic /-! # Subrings > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file re...
c5db70d68a73f639e22a01074fd4c9916a226928
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/t1.lean
eb88fc206149e04d7680154849a94254d90df940
[ "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
185
lean
(* print("testing...") local env = get_env() env = add_decl(env, mk_var_decl("x", Prop)) assert(env:find("x")) set_env(env) *) (* local env = get_env() print(env:find("x"):type()) *)
2c13774ad7fd0dd20776099693c53ed24e246ff9
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/hom/non_unital_alg.lean
8d9221d46a2d8708ae5bc9244608ab615a88db48
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
11,472
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.algebra.basic /-! # Morphisms of non-unital algebras This file defines morphisms between two types, each of which carries: * an addition, * an additive z...
4ef9156af7613a5c33b6514e27886682e6a42e85
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Init/NotationExtra.lean
fb8a3498edad6023288caf485013c9ffabfce696
[ "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
12,734
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 Extra notation that depends on Init/Meta -/ prelude import Init.Meta import Init.Data.Array.Subarray import Init.Data.ToString namespace Lean macro "Macro.tr...
c59f20740d7f3b9d245b90552f411d4ccb675388
f2fbd9ce3f46053c664b74a5294d7d2f584e72d3
/src/for_mathlib/completion.lean
a0ebb4e3d62a21ce53bebdcf1f36da366ac43995
[ "Apache-2.0" ]
permissive
jcommelin/lean-perfectoid-spaces
c656ae26a2338ee7a0072dab63baf577f079ca12
d5ed816bcc116fd4cde5ce9aaf03905d00ee391c
refs/heads/master
1,584,610,432,107
1,538,491,594,000
1,538,491,594,000
136,299,168
0
0
null
1,528,274,452,000
1,528,274,452,000
null
UTF-8
Lean
false
false
15,040
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot Hausdorff completions of uniform spaces. The goal is to construct a left-adjoint to the inclusion of complete Hausdorff uniform spaces into all uniform spaces. Any uni...
2de6a3160b97fb3803311d68566b002e359e6083
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/mv_polynomial/basic.lean
6408f52233976a238b80e49949fc3b4693789b71
[ "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
47,738
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 ring_theory.adjoin.basic import data.finsupp.antidiagonal import algebra.monoid_algebra.basic import order.symm_diff /-! # Mu...
41e2a4114f1ec437cc089870457300828a3d5ae6
367134ba5a65885e863bdc4507601606690974c1
/src/data/set/intervals/ord_connected.lean
e981566098fb2d47e1ce1de91ed0bbe04d0b6f35
[ "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
6,283
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import data.set.intervals.unordered_interval import data.set.lattice /-! # Order-connected sets We say that a set `s : set α` is `ord_connected` if for all `...
4f15e4c2102229ff2b911355af3fff7391d80315
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/abelian/exact.lean
79419368d87ef85ecfc9b16424f8c574cbec4246
[ "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
18,199
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Adam Topaz, Johan Commelin, Jakob von Raumer -/ import category_theory.abelian.opposite import category_theory.limits.constructions.finite_products_of_binary_products imp...
b9b49221a8420299923aec9712312eaa3d85cc21
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/group_theory/specific_groups/alternating.lean
6ea1d58ef8edf01363bc356361ecd4453c928a36
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,515
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import group_theory.perm.cycle_type /-! # Alternating Groups The alternating group on a finite type `α` is the subgroup of the permutation group `perm α` consistin...
44574ebd4c0fc79c680406a9d5547a301039b5a4
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/nat/choose/dvd.lean
a58c180b9b8dbb0218ab7bf77f1c07eee892f750
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,224
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 namespace prime open_locale ...
ee2c98c21b03318dcf027fe22c523823220d1df6
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/empty.lean
b4948f6665890790fbe725018ad24a2a003f368c
[ "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
190
lean
import logic open inhabited nonempty classical noncomputable definition v1 : Prop := epsilon (λ x, true) inductive Empty : Type noncomputable definition v2 : Empty := epsilon (λ x, true)
8f8ab102297b36efa7ea02f28693e101b7b49515
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world02/level04.lean
c136bb204923bdd3a741b83255bb8c241ba1fb0b
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
152
lean
lemma add_comm (a b : mynat) : a + b = b + a := begin induction a with h hd, rw zero_add, rw add_zero, refl, rw succ_add, rw hd, rw add_succ, refl, end
a8948e8df6e545be32f5fa7215998551077e70da
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/algebra/ring.lean
7863dd19687cbe1ec4e54c26aceb08a2b9fd6f59
[ "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
13,178
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 algebra.ring.prod import ring_theory.ideal.quotient import ring_theory.subring import topology.algebra.group /-! # Topological (semi)rings A...
49971b99a9bde5420ba1ede9af48ad3c78a7ad51
4727251e0cd73359b15b664c3170e5d754078599
/src/data/set/intervals/proj_Icc.lean
7a4cf4734a9323bbbbc321471ab8fdf1e436a7e0
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,363
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Patrick Massot -/ import data.set.intervals.basic /-! # Projection of a line onto a closed interval Given a linearly ordered type `α`, in this file we define ...
983a4072a6f17c8f6a6beb4ceeb94940afdcee6f
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/final/env.lean
a4080b65fdab4e38ace53a6ea3fdf61149d00fa6
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
248
lean
import .var structure env := (bool_var_interp : var bool → bool) (nat_var_interp : var nat → nat) -- Collect init environments for each of the supported types def init_env [a: has_var bool] [b: has_var nat] : env := ⟨ a.init, b.init ⟩
26da93c9b47448ac93535a398a25fce2a9dc2c5b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/reindex.lean
10513e866f5521bda96399febc87439745b7f865
[ "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,638
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, Patrick Massot, Casper Putz, Anne Baanen -/ import linear_algebra.matrix.determinant /-! # Changing the index type of a matrix > THIS FILE IS SYNCHRONIZED WITH MATHL...
dedc726006575f907566b13c724b853a46dcade5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/uniform_space/compact_separated.lean
34a4694041207ca4c925ab2cbaeec768363e4b44
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,636
lean
/- Copyright (c) 2020 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.uniform_space.separation import Mathlib.PostPort universes u_1 u_2 u_3 namespac...
f6dc26dbb1d56734c7585248eba2f9c02310dde1
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/foncteur/import.lean
ad325a15f021c583963e5fc7ec4b84fa8589dd96
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
229
lean
import tactic import data.sum def map_from_sum {A B C : Type} (f : A → C) (g : B → C) : (A ⊕ B) → C := by suggest /- There are no applicable declarations state: A B C : Type, f : A → C, g : B → C ⊢ A ⊕ B → C -/
2097696ac0d8c08c32be9482f8a88b92e11c7d0c
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/polynomial/cyclotomic.lean
659ee697e24d1407810488d768caccbc995283a5
[ "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
30,482
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import field_theory.splitting_field import ring_theory.roots_of_unity import algebra.polynomial.big_operators import number_theory.arithmetic_function import data....
cd2829f1dfd6d9d70db0733805ed254e370dbe27
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/topology/algebra/affine.lean
5867622b74c73751a7956e98d58c9d5de3672c90
[ "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
1,408
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import topology.continuous_function.algebra import linear_algebra.affine_space.affine_map /-! # Topological properties of affine spaces and maps For now, this con...
bdf20859159ebe71b55db59854905fc9f377807c
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/algebra/group/basic.lean
e5084c533773e3e244b167a6054cef1d7dbebc9b
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,298
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Simon Hudon, Mario Carneiro -/ import algebra.group.defs import logic.function.basic universe u section associative variables {α : Type u} (f : α → α...
fd0f86060ff964bd98f9d3135c4a63e34cba409e
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/topology/algebra/continuous_functions.lean
abf60795469f5a529e5960e849ab806f1dfdad03
[ "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
2,289
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 topology.basic import topology.algebra.ring import ring_theory.subring universes u v local attribute [elab_simple] continuous.comp @[to_additive continu...
47c160fb680aca550f9c9d19b4dcd017df799397
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/level.lean
fcf4df56365c1fbe28006c66fc973ec0822f1fed
[]
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
408
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.name import Mathlib.Lean3Lib.init.meta.format namespace Mathlib /-- A type universe term. eg `m...
914fea40f47ff1abdbd0480245d6fb12f5c22d2b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/analysis/normed_space/finite_dimension.lean
c0404de8b352d522b8561f847871679e241de540
[ "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
21,715
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.normed_space.operator_norm import analysis.normed_space.add_torsor import topology.bases import linear_algebra.finite_dimensional /-! # Finite ...
a00dd20ef0bea6362e8eefc47c81514af3e0e16c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/parser/parser.lean
ed89a833a54e17229a623b83a37c860d55f8ea7e
[ "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
32,496
lean
import init.lean.name init.lean.parser.trie init.lean.parser.identifier import syntax filemap open Lean export Lean.Parser (Trie) -- namespace Lean namespace Parser /-- A multimap indexed by tokens. Used for indexing parsers by their leading token. -/ def TokenMap (α : Type) := RBMap Name (List α) Name.quickLt names...
1da39392fc9e25092957918427a654b7e0492766
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/finite_dimensional.lean
ecafdced9e372c1e461ddafab9adfa3b27a2abd7
[ "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
63,070
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.algebra.subalgebra.basic import field_theory.finiteness import linear_algebra.free_module.finite.rank import tactic.interval_cases /-! # Finite dimensiona...
a7b7cacc2ba8a7c630687d184b2db4c5ff0d5eab
d8820d2c92be8052d13f9c8f8c483a6e15c5f566
/src/M40002/sequences.lean
290a79b6276a30a8a7e493823f12171d263d524f
[]
no_license
JasonKYi/M4000x_LEAN_formalisation
4a19b84f6d0fe2e214485b8532e21cd34996c4b1
6e99793f2fcbe88596e27644f430e46aa2a464df
refs/heads/master
1,599,755,414,708
1,589,494,604,000
1,589,494,604,000
221,759,483
8
1
null
1,589,494,605,000
1,573,755,201,000
Lean
UTF-8
Lean
false
false
21,927
lean
-- begin header import M40002.complete namespace sequences -- end header /- Section Chapter 3. Sequences -/ /- Sub-section Definitions -/ /- Let $a : ℕ → ℝ$ be a real valued sequence, then we define convergence of $a$ to some real $l$ in the standard way. -/ /- Definition A real valued sequence $a_n : ℕ → ℝ$ is s...
330b1ff151811596da399ac7ed12f7c499839166
9028d228ac200bbefe3a711342514dd4e4458bff
/src/meta/expr.lean
27f101ba4d9fb4cc9b815e99c92212942536c618
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,183
lean
/- Copyright (c) 2019 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek, Robert Y. Lewis -/ import data.string.defs import tactic.derive_inhabited /-! # Additional operations on expr and related typ...