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
5b80dfeab267e29ee13c243c45fb994c8683c290
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/heyting/boundary.lean
192f0371025d86a59f2414cafbb13a66eca13c29
[ "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,488
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 order.boolean_algebra /-! # Co-Heyting boundary The boundary of an element of a co-Heyting algebra is the intersection of its Heyting negation with itself. The b...
f87b8ea328d69e8c09a00ba30a6db71b4884312c
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/sup_inf/infSumSets.lean
53f3c1fec805b239076bd99b85c0e0a86c2184f6
[ "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
1,399
lean
import game.sup_inf.supSumSets namespace xena -- hide /- # Chapter 3 : Sup and Inf ## Level 6 This level, very similar to the previous, showcases the infimum. -/ def sum_of_sets (A : set ℝ) (B : set ℝ) := { x : ℝ | ∃ y ∈ A, ∃ z ∈ B, x = y + z} /- Lemma If $A$ and $B$ are sets of reals, then $$ \textrm{inf} (A + B...
b965eacdb25cd171c14561ed177aa29e0b96bf7f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/big_operators/basic.lean
7db65eb99e4cc81d9a2bffe8de38ce1f5015e19c
[ "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
59,610
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.finset.fold import data.equiv.mul_add import tactic.abel /-! # Big operators In this file we define products and sums indexed by finite sets (specifica...
0204600202c8cef4729c7bf964f9563d73a4f54a
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/nat/pow.lean
f306cab9f46bb7bbabd9c1e3c3d4e63e665e0beb
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,664
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.nat.basic import algebra.group_power.order /-! # `nat.pow` Results ...
6fae0ba3db6bd76648b384c4d69f969c23c6be1f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/argNameIfMacroScopes.lean
0b414141a7134d1e9db9ac0774c5d7c5e268bf9c
[ "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
68
lean
def g : Nat → Nat := fun _ => 0 def f (x : Nat) : Nat := g _
e8ae9c77003c75d770109616dd02cab97715e2ee
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/nat/choose/dvd.lean
4a2403863bc0e0a0470de39805118980fb7e40d5
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,588
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Patrick Stevens -/ import data.nat.choose.basic import data.nat.prime /-! # Divisibility properties of binomial coefficients -/ namespace nat open_locale nat namespace ...
3de7474f24e191aa92a6c127d9a0a5aeee7857b7
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/PrettyPrinter/Formatter.lean
50c1757f0c7de5d4ab7e1a7132fc6e3b01e6d2e8
[ "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
23,372
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.CoreM import Lean.Parser.Extension import Lean.KeyedDeclsAttribute import Lean.ParserCompiler.Attribute import Lean.PrettyPrinter.Basic /-! The for...
06d2e1f349c8c26319d8d32d5f55b53b4062a1fa
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Data/LOption.lean
409752518b3865ead899116e8b85d695f7ce0428
[ "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
800
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 -/ universe u namespace Lean inductive LOption (α : Type u) where | none : LOption α | some : α → LOption α | undef : LOption α deriving Inhabited,...
2e5df5169ee1515ebc4fadac7951f4e9e85e99b6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/is_alg_closed/spectrum.lean
8747b3ccb009f3bd7ff264afb02fcc9bd4a34d88
[ "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
7,683
lean
/- Copyright (c) 2021 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import algebra.algebra.spectrum import field_theory.is_alg_closed.basic /-! # Spectrum mapping theorem > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to thi...
dae906dc0c513e19f02fe88fa6555aac041d9549
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/function/strongly_measurable/basic.lean
610bde59e6b99fd8746a3cb3d6b264df033c58e6
[ "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
88,964
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import analysis.normed_space.bounded_linear_maps import topology.metric_space.metrizable import measure_theory.integral.lebesgue import measure_theory....
353681d5308ffc40bdb79f84c6c1fa936fe89f4b
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/adic_completion.lean
9ac176a2b4f816cd46ebc5ea77df02cd3b753bb4
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
8,556
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.smodeq import ring_theory.ideal.operations /-! # Completion of a module with respect to an ideal. In this file we define the notions of Hausdorff, prec...
34ea21859b18abc16df027c7062b663a58b5c2f4
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Binary/Number.lean
bb8ecae8200ee8b45e51292737f8f2f81077a0bf
[ "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
2,375
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam These functions mimic the ones in lean3/src/library/num.cpp -/ import Lean import Mathport.Binary.Basic import Mathlib.Init.ZeroOne namespace Mathport.Binary op...
8e644f19f6b403d081452a80e8b7f9280607c001
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/geometry/manifold/bump_function.lean
425e72abc444ad7185ff6e772c40e1e8ecaa3152
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
14,165
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.calculus.specific_functions import geometry.manifold.cont_mdiff /-! # Smooth bump functions on a smooth manifold In this file we define `smooth_bu...
1e5dbc8fd117fa11c62894d696922dac8b503442
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/asymptotics_auto.lean
65ad010d2064187762332dc8f197c1cd96aa74db
[]
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
86,270
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.normed_space.basic import Mathlib.topology.local_homeomorph import ...
bf789bbcff2ebbee0e92f9a150113c3421c7af49
83bd3c3824dd952c0fef702bace6c34c78226af8
/library/system/io.lean
00cda83107ed6234a87938f78ae5b514c76cee58
[ "Apache-2.0" ]
permissive
heruix/lean
cb0767295dc8cdfa2892601f04d3954606e81e03
39270fd46f49fecb30649f5ec527da7bbd4cdb13
refs/heads/master
1,611,580,745,403
1,519,814,958,000
1,519,843,130,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,480
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch and Leonardo de Moura -/ import system.io_interface /- The following constants have a builtin implementation -/ constant io_core : Type → Type → Type ...
37785ad8b93baa45b7751222be92d27e42c864b1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/t5.lean
904967a8130d3edf225186df8c9d4e095cc48cf4
[ "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
330
lean
constant N : Type.{1} namespace foo constant N : Type.{2} namespace tst constant N : Type.{3} #print raw N end tst end foo #print raw N namespace foo #print raw N namespace tst #print raw N N -> N section variable N : Type.{4} -- Shadow previous ones. #print raw N end end tst...
e0cf57cc938925361f1c1532cf5e57b83ee5ad24
46125763b4dbf50619e8846a1371029346f4c3db
/src/algebra/group/hom.lean
2353d1f0bca7caa3e081313dff9f26d3c10f299e
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
8,719
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.to_additive algebra.group.basic /-! # monoid an...
96388db9f6b3c695ebfc2fe46e150c0b1d3b0a6e
cabd1ea95170493667c024ef2045eb86d981b133
/test/super_examples.lean
b7456221084fda1197c98f7a533d473a0a8abb2f
[]
no_license
semorrison/super
31db4b5aa5ef4c2313dc5803b8c79a95f809815b
0c6c03ba9c7470f801eb4d055294f424ff090308
refs/heads/master
1,630,272,140,541
1,511,054,739,000
1,511,054,756,000
114,317,807
0
0
null
1,513,304,776,000
1,513,304,775,000
null
UTF-8
Lean
false
false
2,767
lean
import super open tactic def prime (n : ℕ) := ∀d, d ∣ n → d = 1 ∨ d = n axiom nat_mul_cancel_one (m n : ℕ) : m = m * n → n = 1 example {m n : ℕ} : prime (m * n) → m = 1 ∨ n = 1 := by super with dvd_refl dvd_mul_of_dvd_left nat_mul_cancel_one example : nat.zero ≠ nat.succ nat.zero := by super example (x y : ℕ) : nat...
0542999c9bbaefc03ff35ce0cdb228869b6b64e2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/monoid_algebra/basic.lean
b0df6344a58e8b21f4ecdc108ad17f3652d65c1c
[ "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
66,406
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, Yury G. Kudryashov, Scott Morrison -/ import algebra.algebra.equiv import algebra.big_operators.finsupp import algebra.hom.non_unital_alg import algebra.module.big_oper...
8dc471a0c2e28cf656e5ece9d9f6b977a76817a7
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/order/ideal.lean
78cc1626d0bc213bd5c634f2cadf897374ffa2dd
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,484
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.basic import data.equiv.encodable.basic import order.atoms /-! # Order ideals, cofinal sets, and the Rasiowa–Sikorski lemma ## Main definitions Throughout thi...
271e1bb6d6f824646b446901ce8338656f67bd01
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/LocalContext.lean
21352f5b798cc67077d80a0f1dfa7ca112962fe3
[ "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
18,942
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.Data.PersistentArray import Lean.Expr import Lean.Hygiene namespace Lean /-- Whether a local declaration should be found by type class search,...
e29b71dc87ff3a7f2961982ec7159e0523a119a5
680b0d1592ce164979dab866b232f6fa743f2cc8
/library/data/list/set.lean
aa3a0e2d85dffb8dce604d8a86854d1dc51b7504
[ "Apache-2.0" ]
permissive
syohex/lean
657428ab520f8277fc18cf04bea2ad200dbae782
081ad1212b686780f3ff8a6d0e5f8a1d29a7d8bc
refs/heads/master
1,611,274,838,635
1,452,668,188,000
1,452,668,188,000
49,562,028
0
0
null
1,452,675,604,000
1,452,675,602,000
null
UTF-8
Lean
false
false
37,033
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Set-like operations on lists -/ import data.list.basic data.list.comb open nat function decidable helper_tactics eq.ops namespace list section erase variable {A ...
f4090988f11e7e9e31ad189853af4f3dc1a78d2e
367134ba5a65885e863bdc4507601606690974c1
/src/order/bounds.lean
059c773fe90a79997d44815bf886e465dfcf5914
[ "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
30,515
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury Kudryashov -/ import data.set.intervals.basic import algebra.ordered_group /-! # Upper / lower bounds In this file we define: * `upper_bounds`, `lower_bounds` :...
d81a2a56413900cca71843dcb17ec2f4e95b11a8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/archive/imo/imo1959_q1.lean
fe34d1b143489a79ef9643db3bf342c32d7eccc1
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,068
lean
/- Copyright (c) 2020 Kevin Lacker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker -/ import tactic.ring import data.nat.prime /-! # IMO 1959 Q1 > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4...
c09cc283ae5ed506cf097094c6bd0075380028d7
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/tactic5.lean
41387388e6e49bab9257572b4693502ad2959e9e
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
219
lean
import logic open tactic (renaming id->id_tac) definition id {A : Type} (a : A) := a infixl `;`:15 := tactic.and_then theorem tst {A B : Prop} (H1 : A) (H2 : B) : id A := by (unfold id; state); assumption check tst
2cac38228cbb27ee1e2ff22bb343b078381a4301
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/int/parity.lean
491d39711cf3216ec69fce0d79cb83b8c7feb4c6
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
3,232
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The `even` predicate on the integers. -/ import data.int.modeq import data.nat.parity namespace int @[simp] theorem mod_two_ne_one {n : int} : ¬ n % 2 = 1 ↔ n % 2 = 0 :...
9f89f6e45458cb928f36ee77fb0546c75553ccea
94d8c57c0a90adc01592a2509d65a360540671a9
/M1F/2017-18/Example_Sheet_03/solutions.lean
6d4ab0dd239a72e467788f124355708b910ca72e
[]
no_license
TudorTitan/xena
ee58125263b84ca8787ea46778e7b4838c7b3057
389b9c40c43b26139722c88763f4d04d85467e0f
refs/heads/master
1,628,408,454,654
1,510,265,443,000
1,510,265,443,000
110,169,835
0
0
null
1,510,264,043,000
1,510,264,043,000
null
UTF-8
Lean
false
false
11,241
lean
import xenalib.M1Fstuff algebra.group_power xenalib.square_root -- Need to start off with some fake reals to do Q1,2 constant fake_reals : Type @[instance] constant fake_reals_comm_ring : comm_ring fake_reals @[instance] constant fake_reals_have_lt : has_lt fake_reals -- we define a<=b to mean a<b or a=b. Axiom 3 s...
33ea081d1561f2a375ce7e8f6a85622a77de4ad8
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/src/Lean/Elab/PreDefinition.lean
eb4b66cd932acb92fbd92daa1791069148733cfd
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
279
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.Elab.PreDefinition.Basic import Lean.Elab.PreDefinition.Structural import Lean.Elab.PreDefinition.Main
26023eb153d07a0ca042ab89a6abe5bd0774cb8a
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/t13.lean
70c7ac41136f6bc5015fbcd9a684def7c88027d7
[ "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
329
lean
prelude constant A : Type.{1} constant f : A → A → A constant g : A → A → A precedence `+` : 65 infixl + := f infixl + := g constant a : A constant b : A #print raw a+b -- + is overloaded #check fun (h : A → A → A) (infixl + := h), -- Like local declarations, local notation "shadows" global one. a+b
fe97b46801ef5d51e8c8cc5087ef9929b8edb642
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/galois_stdlib/src/galois/data/list/with_mem.lean
b8bc30fab0912d03eb6d406be594c897cef193f2
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
3,034
lean
namespace list def map_with_mem {α} {β: Sort _} : Π(l:list α), (Π(x:α), x ∈ l → β) → list β | [] f := [] | (h::r) f := f h (or.inl rfl) :: map_with_mem r (λ(x:α) (p:x ∈ r), f x (or.inr p)) /- Elements in a list have a smaller size than the list. -/ theorem mem_sizeof {α} [s : has_sizeof α] {x : α} {l : list α} (p...
1b6ee06944b0db0c88441d1e5240fc191be5f1ae
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/category_theory/comma.lean
fdb2933d659bc8657182b1ae099ad0b9cc53f824
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
11,340
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johan Commelin -/ import category_theory.isomorphism import category_theory.punit namespace category_theory universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; se...
5d1fd488d1ea2c2bb6248de23627d114ee1a96ba
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/init/meta/pexpr.lean
91c171ae7f6e49e1088699cfef9468b12c0020c7
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
1,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.expr universe u /- Quoted expressions. They can be converted into expressions by using a tactic. -/ meta constant pexpr : Type pro...
696386fae5e54b2cc83854cd791ce29dcd5ba355
737dc4b96c97368cb66b925eeea3ab633ec3d702
/tests/lean/matchOfNatIssue.lean
e5814d7a69171b06ac3f92ad7d1605c4da608d20
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
490
lean
example (x : Int) (h : x = 2) : Int.div 2 1 = x := by simp [Int.div] traceState simp [h] example (n : Nat) : Int.div (Int.ofNat n) (Int.ofNat 0) = Int.ofNat (n / 0) := by simp [Int.div] example (n : Nat) : Int.div (Int.ofNat n) 0 = Int.ofNat (n / 0) := by simp [Int.div] example (n : Nat) : Int.mul (Int.ofN...
d85faf04a4298d5465790ccfa063c1d7538720f0
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/continuous_function/basic.lean
62656ae578074e392452a2a53a7ce8a89b73397e
[ "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
10,682
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import data.set.Union_lift import topology.subset_properties import topology.tactic import topology.algebra.ordered.proj_Icc /-! # Continuous bundled map In this...
11eb65774fa8bdc159fc1c5292300ecc5bd2b8f7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/antichain.lean
0e62ef2616deb336acd4a333a8c55799ae0db51e
[ "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,939
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.set.pairwise.basic import order.bounds.basic import order.directed import order.hom.set /-! # Antichains > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any ch...
4ba60e5a139646382ef442d289e419956fea4302
aa5a655c05e5359a70646b7154e7cac59f0b4132
/stage0/src/Lean/Meta/ExprDefEq.lean
adf674039737811a1d765f3f827838e3bb6d94c6
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
55,013
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.ProjFns import Lean.Meta.WHNF import Lean.Meta.InferType import Lean.Meta.FunInfo import Lean.Meta.LevelDefEq import Lean.Meta.Check import Lean...
42daf7c464963e8cf7ed7cbcecbf17cfe56e14dc
618003631150032a5676f229d13a079ac875ff77
/src/init_/data/int/basic.lean
b7ddd977142006e5f6a93e885730f1b702796971
[ "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
1,656
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Instances, copied from the core library by Johan Commelin -/ import algebra.ring instance : comm_ring int := { add := int.add, add_assoc := int.add_as...
a5c3a6e763c13ddd2dbddce87163f34cbe4da6da
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/vm_eval_crash.lean
34f90d1da4c2654c31d6b81a67a2fa6ca0024bf0
[ "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
lean
vm_eval 10
ee57d1c34e345d87e9007d301f68664e55ec32b1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/size_of1.lean
454e12d6c0891a852ac6edec3b301bac17ea3e8a
[ "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
203
lean
open tactic example : sizeof [tt, tt] < sizeof [tt, ff, tt] := dec_trivial example : sizeof [tt, tt] = sizeof [ff, ff] := dec_trivial example : sizeof (3:nat) < sizeof ([3] : list nat) := dec_trivial
520c7503d4793c8b7bcc6c368955e3815c19a015
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/examples/lean/ex4.lean
adc9f50e3b387fc53aaac86cefbdb9a5bd9af419
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
163
lean
import Int import tactic set_option simplifier::unfold true -- allow the simplifier to unfold definitions definition a : Nat := 10 theorem T1 : a > 0 := (by simp)
efd503dcac70f0bf27383df6cecae91a023ce032
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/mvar2.lean
482cb8a7669ed1fe780c31e26243c739d0cc058b
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,430
lean
import Lean.MetavarContext open Lean def check (b : Bool) : IO Unit := unless b (throw $ IO.userError "error") def f := mkConst `f [] def g := mkConst `g [] def a := mkConst `a [] def b := mkConst `b [] def c := mkConst `c [] def b0 := mkBVar 0 def b1 := mkBVar 1 def b2 := mkBVar 2 def u := mkLevelParam `u def typ...
55ee463f44f1a171693ba49acb3aa2f911dbbfcd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/dynamics/circle/rotation_number/translation_number_auto.lean
4fad633bd2da0ef19dca2f9d221f04482f9b446f
[]
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
35,568
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.specific_limits import Mathlib.order.iterate import Mathlib.order.semiconj_...
15e2983451411c605edbce3aa6899e2fb7c41a37
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/PrettyPrinter/Parenthesizer.lean
f59de8e8e99cf03dcc088c5494d9f1cd041954e2
[ "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
29,581
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.CoreM import Lean.KeyedDeclsAttribute import Lean.Parser.Extension import Lean.ParserCompiler.Attribute import Lean.PrettyPrinter.Basic /-! The pa...
382f0e85ed29319a593c7e27ec5a0c56dca0d9c5
367134ba5a65885e863bdc4507601606690974c1
/src/field_theory/primitive_element.lean
27cdb797622bbe626a545a1e267cbae17aa64532
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
7,812
lean
/- Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning and Patrick Lutz -/ import field_theory.adjoin import field_theory.separable /-! # Primitive Element Theorem In this file we prove the primitive el...
134c59a514753a21b24a1d08c2cee15ca3d0d0cf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/rename_var.lean
5e5f3280dfcb5d54359bb3efda50d4085692efbd
[ "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,772
lean
/- Copyright (c) 2019 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import tactic.interactive /-! # Rename bound variable tactic This files defines a tactic `rename_var` whose main purpose is to teach renaming of bound variables. *...
a1627755872d35ef480c75f9e23fd04be1c6166f
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/elab14.lean
5a0eb25e279414d1c67fbb516cdc74e916a14ac0
[ "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
87
lean
set_option pp.all true universe variables u check λ (A B : Type u) (a : A) (b : B), a
46ad0edb06d6cdc5b10efc50621a881f3e67b2be
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/filter/pointwise.lean
0b3e90b529f1c9a1854b21933c7d9d3b49d41d9c
[ "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
35,605
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yaël Dillies -/ import data.set.pointwise import order.filter.n_ary import order.filter.ultrafilter /-! # Pointwise operations on filters This file defines pointwise op...
5746d4167beea76077f302ca47952a38c89ade36
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/data/function_transfer.lean
008d2a44d5d97747c877911984ef43ce76eea781
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,132
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland The formation of function types `α → β` is functorial with respect to equivalences of `α` and `β`. This should be placed in some more general context. -/ import da...
d1c815cefe68cdf75f02a9cdb4a9a3e5159cea4d
4727251e0cd73359b15b664c3170e5d754078599
/src/number_theory/cyclotomic/basic.lean
df2ab5d3a0fb8f55292336df07503b3948ea1470
[ "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
27,045
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import ring_theory.polynomial.cyclotomic.basic import number_theory.number_field import algebra.char_p.algebra import field_theory.galois import analysis.complex.p...
2771b379a8e48e04a27784bf71a6d89fbba2809b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/689.lean
d11d5f4fad5aef36a1adade81675abedf55d2020
[ "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
107
lean
example (x : Nat) : True := match h:x with section end structure A where h : Nat := 1 h2 : h ≠ 0 := by
155296b0660a8d45ba40afbd64c91677ff58742c
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/Problem_sheets/sheet2.lean
aed647e8698ddc2bb5e9bbafe70ac2be337abc42
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,459
lean
import data.nat.prime import data.nat.modeq data.int.modeq import analysis.real import tactic.norm_num import algebra.group_power import data.int.basic import M3P14.order import chris_hughes_various.zmod import M3P14.lqr import M3P14.phi open nat -- Questions: -- Compute 210 449 and 605/617 using quadratic reciprocit...
153698defa096ea637026254acf8667c5f1552b3
618003631150032a5676f229d13a079ac875ff77
/src/algebra/category/CommRing/colimits.lean
49e31486aeaeb58f5c4484986a1f1b24a480eb8c
[ "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
12,653
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 algebra.category.CommRing.basic /-! # The category of commutative rings has all colimits. This file uses a "pre-automated" approach, just as for `Mon/colimit...
ff864734d2263140742cba3b510b37f37d12f6ec
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/order/hom/monoid.lean
5d9ab16c0c6dee7743826243a7b85abef66e9b1e
[ "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
19,132
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.hom.group import algebra.order.with_zero import order.hom.basic /-! # Ordered monoid and group homomorphisms This file defines morphisms between (additiv...
b41d9a8443b8f3c6844a35372fb42ff51fc542c8
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/lie/ideal_operations.lean
296c587941a10bd70242b9a4acd4ed1e383fa42d
[ "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
11,544
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.lie.submodule /-! # Ideal operations for Lie algebras Given a Lie module `M` over a Lie algebra `L`, there is a natural action of the Lie ideals of `L` on ...
6c3e9a5a861d3fc8afc0c946e54eb2f677988c84
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/deps/x86_semantics/src/X86Semantics/BufferMap.lean
23b400245d456cefe953319435d5d6d761d67ae4
[]
no_license
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
2,146
lean
/- A map from indexes onto buffers, specialised to bytes -/ structure buffer_map.entry.{u} (k : Type u) : Type u := (start : k) (value : ByteArray) -- distance here is essentially subtraction. distance k k' < 0 iff k < k' structure buffer_map.{u} (k : Type u) (distance : k -> k -> Int) := (entries : List (buf...
abf77a6d4366439b6ec3dbea47721ef09c6382aa
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/W/cardinal.lean
849d41a3194fc31c1b2169d730e9664fd45b2b7a
[ "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
2,830
lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import set_theory.cardinal_ordinal import data.W.basic /-! # Cardinality of W-types This file proves some theorems about the cardinality of W-types. The main result is `...
27eca4dbfc6524c9067e3841330748f66283ce68
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/group/semiconj.lean
b47b881c6bcd948dd797091a29c8175e0e688f9a
[ "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
7,690
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov Some proofs and docs came from `algebra/commute` (c) Neil Strickland -/ import algebra.group.units /-! # Semiconjugate elements of a semigroup ## Main definitions ...
2eda50cc3770fa1de1717b767c86e255a44cd482
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/convex/slope.lean
dd5cc0fac92730d0e8e23b4ba1f9a60f20e96fc5
[ "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
10,406
lean
/- Copyright (c) 2021 Yury Kudriashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudriashov, Malo Jaffré -/ import analysis.convex.function /-! # Slopes of convex functions This file relates convexity/concavity of functions in a linearly ordered field and t...
d0598257802082c67a937fc806b246c6dec55d3c
28be2ab6091504b6ba250b367205fb94d50ab284
/src/game/world3/level7.lean
b7021c143f634beb8dc14012278839f27f78dec2
[ "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
1,932
lean
import game.world3.level6 -- hide namespace mynat -- hide /- # Multiplication World ## Level 7: `add_mul` We proved `mul_add` already, but because we don't have commutativity yet we also need to prove `add_mul`. We have a bunch of tools now, so this won't be too hard. You know what -- you can do this one by inductio...
4fad580c6f58d7d0d32fb07e14b88ff384585b7b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/essentially_small.lean
cb4fa7f70fd7751ae1e53c891b1e6f90090c2753
[ "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
7,620
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import logic.small.basic import category_theory.category.ulift import category_theory.skeletal /-! # Essentially small categories. > THIS FILE IS SYNCHRONIZED WITH ...
e55fe60f9ae8c3afa768261c8a9bc802bb742c6e
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-numbertheory-136.lean
6b577e0f8bbea43f3477fda59eaa2af14deecc75
[ "MIT", "Apache-2.0" ]
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
292
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import tactic.gptf import data.nat.basic import data.real.basic example (n : ℕ) (h₀ : 123 * n + 17 = 39500) : n = 321 := begin linarith, end
ce368d8a9886b2d4415f70251b08a1e8ea057c11
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Modifiers.lean
3048be1280219fcf5f7b7dc9e40d191a7e0974a0
[ "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
2,039
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Environment namespace Lean builtin_initialize protectedExt : TagDeclarationExtension ← mkTagDeclarationExtension `protected @[export lean_add...
98f3158f6156f7f7041f5f941a57a26327c98b53
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/char_p/exp_char.lean
a17a5b34cea7674f5252a6a50e1014e4acd347b0
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
4,139
lean
/- Copyright (c) 2021 Jakob Scholbach. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob Scholbach -/ import algebra.char_p.basic import algebra.char_zero import data.nat.prime /-! # Exponential characteristic This file defines the exponential characteristic and e...
6ae9e204964597dcccb41a94ff0b0f5da80324c2
2ee768fce4d0783536570385ee340d97e2411436
/src/q_prop.lean
54bd36f024a3097243cb294bf753d5b61e070dce
[]
no_license
agjftucker/exists-unique
835cf0c0ec622d49dbceb84be37db62e6ab8a6d0
1fba6035a08347f424c765d8a1c56b1a15c8abbe
refs/heads/master
1,683,445,592,336
1,622,649,822,000
1,622,649,822,000
309,485,697
2
0
null
null
null
null
UTF-8
Lean
false
false
3,075
lean
import q_def local prefix `𝒫`:100 := λ {α : Type} (s : finset α), {t // t ≤ s} section variables {α : Type*} [semilattice_sup_bot α] /-- To derive our conclusions about `q r` we require of relation `r` certain abstract properties. Let `r b` denote the set comprising those elements `c` for which `r b c`. Then `r` is...
b0bf1fcd13815d7cd94baeafddb373fec70ea394
9845f9502cdf644282e3a34b74fa995fc33d6752
/REDUNDANCY[WEB].lean
910a16b660f4e7951fd04200275720c765ff198a
[]
no_license
Robilsu/Theorem-of-Branch-Redundancy
cc430d761dade4bb723c88a2a8709b7e47081171
918803bc047f2340e0f01d470939d077f7acefce
refs/heads/main
1,691,744,940,519
1,632,346,370,000
1,632,346,370,000
365,813,983
0
0
null
null
null
null
UTF-8
Lean
false
false
88,561
lean
/- To run this project, load the contents of this file at: -- https://leanprover-community.github.io/lean-web-editor -- You can either copy-and-paste it or use the load function. -- The Lean web editor will take up to some minutes to load fully and process the code. -- Do not worry! The waiting is normal and happens ...
029d81dc0d4efc82e67a6a5a54479f8c7b4f5115
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/calculus/implicit.lean
ee25f945f903b85ac95bc41db77a44eeb007b2c0
[ "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
20,145
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 analysis.calculus.inverse import analysis.normed_space.complemented /-! # Implicit function theorem We prove three versions of the implicit function theore...
3c7f9a6d24b55322ec7a25d31ffee5e46a49e2e5
9028d228ac200bbefe3a711342514dd4e4458bff
/src/category_theory/limits/shapes/terminal.lean
222fd218aae03742cd433fc1d9ec2b602bacb3d9
[ "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
8,079
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.pempty import category_theory.limits.limits /-! # Initial and terminal objects in a category. ## References * [Stacks: Initial ...
de23f3d6260d66cc392148e01c77fe98a1ab9f2f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/uni_var_bug.lean
38a0052c9ec658e4f54d7a52d64e5c72f9d483e4
[ "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
309
lean
import logic.eq section universe variable u variables {A B : Type.{u}} theorem foo (H : A = B) : A = B := H theorem bar {C D : Type} (H : C = D) : C = D := foo H end universe variable u variables {A B : Type.{u}} theorem foo2 (H : A = B) : A = B := H theorem bar2 {C D : Type} (H : C = D) : C = D := foo2 H
3c0b5e00cfde3aa9374f31373b9d46b2e2f21fcd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/initial_seg.lean
8b0a9fdc8aa33e2c71448002bb8bbf0d06dee011
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
18,110
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import order.rel_iso.set import order.well_founded /-! # Initial and principal segments This file defines initial and principal segments. ## Mai...
d1a6bb2ab81d2b81a5635ebac413e0ea5e651927
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world3/level8.lean
e9d68c94e3c66d271e5655f9c536dc90f56cab45
[ "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
364
lean
import mynat.definition import mynat.mul import world3.level1 import world3.level6 namespace mynat lemma mul_comm (a b : mynat) : a * b = b * a := begin [nat_num_game] induction b with d hd, { rw mul_zero, rw zero_mul, refl, }, { rw mul_succ, rw succ_mul, ...
a4b4d2e4ec7e1700e6b953f9dadcb74e70ff7678
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/group_action/big_operators.lean
3c799badb1f36162b02116fce9fcd19ab31581fb
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,827
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 algebra.big_operators.basic import data.finset.basic import data.multiset.basic import group_theory.group_action.defs /-! # Lemmas about group actions on bi...
bcc493eba5b93f8f829b73b11a648c2b8e1fd007
47181b4ef986292573c77e09fcb116584d37ea8a
/src/valuations/basic.lean
56a0200a0c74b1c7e13fb558ca3a386b37e752e4
[ "MIT" ]
permissive
RaitoBezarius/berkovich-spaces
87662a2bdb0ac0beed26e3338b221e3f12107b78
0a49f75a599bcb20333ec86b301f84411f04f7cf
refs/heads/main
1,690,520,666,912
1,629,328,012,000
1,629,328,012,000
332,238,095
4
0
MIT
1,629,312,085,000
1,611,414,506,000
Lean
UTF-8
Lean
false
false
9,292
lean
import data.nat.enat import data.real.basic import data.real.cau_seq import data.nat.choose.basic import algebra.group_power.basic import ring_theory.ideal.basic import ring_theory.principal_ideal_domain import ring_theory.unique_factorization_domain import analysis.special_functions.pow import topology.basic import f...
760790c4a3f9604ecdafd1eaca8f7e3f21e65d40
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/impByNameResolution.lean
04085509239cae87196d6422d17e83af2e11d8a3
[ "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
103
lean
-- namespace Foo def f (x : Nat) : Nat := x + 1 @[implemented_by f] opaque g : Nat → Nat end Foo
b55947a28bfb088f55458754bbd8c567f36bc109
dc253be9829b840f15d96d986e0c13520b085033
/spectrum/trunc.hlean
c58b3f92d6e2c1407cae95fe8d17f2d7220f8c8c
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
11,244
hlean
/- Copyright (c) 2017 Floris van Doorn and Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Ulrik Buchholtz Truncatedness and truncation of spectra -/ import .basic open int trunc eq is_trunc lift unit pointed equiv is_equiv algebra E...
e597cfbe2db3026b21fa5f86cb8227c9e5a2e038
6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1
/notes/ConceptsSoFar(9.17.19).lean
a3fe2cd0e1b088c575c4d309242dc5962779dbe0
[]
no_license
derekjohnsonva/CS2102
8ed45daa6658e6121bac0f6691eac6147d08246d
b3f507d4be824a2511838a1054d04fc9aef3304c
refs/heads/master
1,648,529,162,527
1,578,851,859,000
1,578,851,859,000
233,433,207
0
0
null
null
null
null
UTF-8
Lean
false
false
525
lean
/- Concepts So Far Terms Literal Data: Nat, String, Bool Function: Lambda abstraction Identifier: name for a value Application: ? Values: The evaluation of a term creates a value Definitions: binding of an identifier to a set of terms. Evaluations ...
02e3aea9aa060aee0ec0746ab07af20d9ad7111f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/469.lean
00610e8d7612939766d941693900408dd63abcda
[ "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
112
lean
notation "(+)" => HAdd.hAdd #check ((+) : Nat -> Nat -> Nat) #check ((+) 2 : Nat -> Nat) #check ((+) 2 3 : Nat)
e691a8b163299f4d2f25f0ea1de4ee3de30a4b1c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/sigma/basic_auto.lean
d3fb4e7d7b639ffbe97e926fb021af0f2f57586f
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,107
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, Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.logic import Mathlib.Lean3Lib.init.wf universes u v namespace Mathlib...
aa30041846717a6fd7edce5872bb25c172588ce0
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/polynomial/ring_division.lean
c626f5d33c862645ea9f59eb4074fcc9fb9b4508
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,150
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, Johan Commelin -/ import data.polynomial.basic import data.polynomial.div import data.polynomial.algebra_map import data.se...
c361e7d4cb8fc5945892a07b122287a6928bea82
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/topology/path_connected.lean
dec86d838698913f0ab28891687ef6551659bd59
[ "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
33,406
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 topology.unit_interval import topology.algebra.ordered.proj_Icc import topology.continuous_function.basic /-! # Path connectedness ## Main definitions In th...
1cd9e2a037cf2f47652a5c5cf1b4455a0749f53a
4727251e0cd73359b15b664c3170e5d754078599
/src/order/succ_pred/relation.lean
15a145eeb1af0b34e4ecd9dd5534680101ff283f
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,675
lean
/- Copyright (c) 2022 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import order.succ_pred.basic /-! # Relations on types with a `succ_order` This file contains properties about relations on types with a `succ_order` and their cl...
387bf2684651e29263a0f01e52c0647026607e53
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/sigma.lean
2a287c6c7dbe95e993d1f4be124a0000bdce7d80
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
3,034
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, Floris van Doorn Sigma types, aka dependent sum. -/ import logic.cast open inhabited sigma.ops override eq.ops namespace sigma universe vari...
111d4334159120b2874ff548527ebf41ba412a4b
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/padics/padic_norm.lean
d61e5cf19d0765f44c7e44a77f47ef564a23a229
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
17,017
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import data.rat algebra.gcd_domain algebra.field_power import ring_theory.multiplicity tactic.ring import data.real.cau_seq import tactic.norm_cast /-! # p-adic n...
6f1c572e752ff4621843867823a37ff728a8ea94
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/linear_algebra/multilinear.lean
92c547b6d03beb771de6551727c2ccabeb2008ee
[ "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
23,444
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import linear_algebra.basic /-! # Multilinear maps We define multilinear maps as maps from `Π(i : ι), M₁ i` to `M₂` which are linear in each coordinate. Here...
0f5bfa6990d70548765021f30fe306bac90582b4
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/polynomial/monic.lean
e51b2507b3bbcd7aa4f03f979ea1dfaac9f21290
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,782
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.reverse import algebra.associated /-! # Theory of monic polynomials We give several tools for pro...
4352c2c81b14a693dc0c89a77a2bf416bcc278a4
a1179fa077c09acc49e4fbc8d67084ba89ac4f4c
/tutorials/src/solutions/all.lean
e71eae63e6ab9d13833f751597c6b717ff837dcf
[]
no_license
Seeram/Lean-proof-assistant
11ca0ca0e0446bacdd1773c4c481a3653b2f1074
e672d46e0e5f39d8de2933ad4f4cac095ca6094f
refs/heads/master
1,682,754,224,366
1,620,959,431,000
1,620,959,431,000
299,000,950
0
1
null
1,620,680,462,000
1,601,200,258,000
Lean
UTF-8
Lean
false
false
283
lean
import 07bis_abstract_negations import 07_first_negations import 04_exists import 06_sub_sequences import 05_sequence_limits import 02_iff_if_and import 08_limits_negation import 09_limits_final import 01_equality_rewriting import 03_forall_or import tuto_lib import 00_first_proofs
eb39bdb1f9537047e3a035f50f012e9d5e1d3741
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/dfinsupp/multiset.lean
3d1da56331209ffbf2ac8f7f7b2081cc0dfc774c
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
2,953
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.dfinsupp.order /-! # Equivalence between `multiset` and `ℕ`-valued finitely supported functions This defines `dfinsupp.to_multiset` the equivalence between `Π...
37ac84fd2e46f80051a1ccf00f728e693999c0b8
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/enriched/enriched_category.lean
b9d2553d5c0b7368e4e7a55ad28ca08f08f8515c
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
2,390
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import ..monoidal_categories.monoidal_category namespace tqft.categories.enriched open tqft.categories open tqft.categories.monoidal_category st...
c053a2d497bcb1a13e7e9ae3c3c4358adcb6e9b8
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/graded_algebra/homogeneous_localization.lean
cae0fdc5645392fc99f048f7a42db026624dee80
[ "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
19,804
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Eric Wieser -/ import ring_theory.localization.at_prime import ring_theory.graded_algebra.basic /-! # Homogeneous Localization ## Notation - `ι` is a commutative monoid; ...
90a9a72d84c3ed39f817c4a1a3f6fb4338e012b2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/ring/basic.lean
9b60f938c03a93d6ba5b13b81a809dad96bbb0f0
[ "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,777
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.ring.defs import algebra.hom.group import algebra.opposites /-! # Semirings and r...
81a7bca984fa058f0cade0e10dbf0aca894518e0
f3849be5d845a1cb97680f0bbbe03b85518312f0
/leanpkg/leanpkg/manifest.lean
1073926d01dddd0f433877bfbd7addb37db815b3
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,161
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Gabriel Ebner -/ import leanpkg.toml system.io namespace leanpkg inductive source | path (dir_name : string) : source | git (url rev : string) : source namespace source def f...
04573425e326d12132ecc2f1af1374ed2d2fb4f3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/divisors.lean
539e0e764b49d7403b1ae25a5bac7a4f1b5fd930
[ "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
16,514
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.big_operators.order import data.nat.interval import data.nat.prime /-! # Divisor finsets This file defines sets of divisors of a natural number. This...
c58ec954518a43530d3572752411a0e97f2f25ce
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/coeSort1.lean
0b68a869debb18a0a8c114a9a21062731e5e1d89
[ "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
273
lean
universes u def Below (n : Nat) : Nat → Prop := (· < n) def f {n : Nat} (v : Subtype (Below n)) : Nat := v + 1 instance pred2subtype {α : Type u} : CoeSort (α → Prop) (Type u) := CoeSort.mk (fun p => Subtype p) def g {n : Nat} (v : Below n) : Nat := v.val + 1
9371de2f956c780fa6d270cca3c0c796a65ad117
4727251e0cd73359b15b664c3170e5d754078599
/src/data/polynomial/degree/card_pow_degree.lean
d5838fe31283fe049e78926610fd73cbecb5db95
[ "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,676
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.order.euclidean_absolute_value import data.polynomial.field_division /-! # Absolute value on polynomials over a finite field. Let `Fq` be a finite field of...
a16e7e9e50c970ed0964342e29d38cb84e3bf229
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/theories/analysis/sqrt.lean
3631344d924f0cde7024c0f369b4c29a9eb65334
[ "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,197
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Jeremy Avigad The square root function. -/ import .ivt open analysis real classical topology noncomputable theory private definition sqr_lb (x : ℝ) : ℝ := 0 privat...
643890a34ef80b9a7a0fce34ff06ca154b883bee
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/analysis/normed_space/finite_dimension.lean
3aae442367bab67b0250f05754f5c75478d8b7d0
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
12,692
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 linear_algebra.finite_dimensional import tactic.omega /-! # Finite dimensional normed spaces over complete fi...
f83f7e469b81168c6e5aa6c02543a6684dc91632
9028d228ac200bbefe3a711342514dd4e4458bff
/src/logic/nontrivial.lean
35d95464ce89806a844730af76b775f457b4134e
[ "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
8,104
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import logic.unique import logic.function.basic /-! # Nontrivial types A type is *nontrivial* if it contains at least two elements. This is useful in particul...
f6122116b9e18749a7c206a7affa4e0e3710b4e8
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Data/Format.lean
7d3ae256b4e676fe55805b9affd5b7d66cd26055
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,642
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Data.Options universes u v namespace Lean namespace Format inductive FlattenBehavior | allOrNone | fill namespace FlattenBehavior instance...
e83852c1a5a33e75864cea2dab9e57017c532796
c5b07d17b3c9fb19e4b302465d237fd1d988c14f
/src/isos/id.lean
9871fbd10f547417ca0efc85cc75a48363acdc2e
[ "MIT" ]
permissive
skaslev/papers
acaec61602b28c33d6115e53913b2002136aa29b
f15b379f3c43bbd0a37ac7bb75f4278f7e901389
refs/heads/master
1,665,505,770,318
1,660,378,602,000
1,660,378,602,000
14,101,547
0
1
MIT
1,595,414,522,000
1,383,542,702,000
Lean
UTF-8
Lean
false
false
420
lean
import isos.fseq_ogf namespace id -- x = Σ n:ℕ, δ(1,n) xⁿ def ogf_iso {A} : A ≃ ogf (delta 1) A := fseq.id_iso⁻¹ ⋆ fseq.ogf_iso instance : has_ogf id := ⟨delta 1, @ogf_iso⟩ -- x = 0 + 1 x def linear {A} : A ≃ 0 ⊕ 1 × A := iso.mul_one_left ⋆ iso.add_zero_left -- x = x¹ def one_iso {A} : A ≃ 1 → A := ⟨λ x y, x, λ x,...
3f17d317f891697b416705bb464d143a476f1d81
c062f1c97fdef9ac746f08754e7d766fd6789aa9
/data/list/basic.lean
e8645a9b99852fff263e44bde8a6e3b184244010
[]
no_license
emberian/library_dev
00c7a985b21bdebe912f4127a363f2874e1e7555
f3abd7db0238edc18a397540e361a1da2f51503c
refs/heads/master
1,624,153,474,804
1,490,147,180,000
1,490,147,180,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,437
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, Leonardo de Moura, Floris van Doorn Basic properties of lists. -/ import ...logic.basic ..nat.basic open function nat namespace list universe varia...
e37a6cec8982766b2d40bfc044c8b90ab6a8b1cf
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/types/unit.hlean
dc121d685078b3fffb17ee2e609d71565cda77e3
[ "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
1,154
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 Theorems about the unit type -/ import algebra.group open equiv option eq namespace unit protected definition eta : Π(u : unit), ⋆ = u | eta ⋆ := idp def...