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
80b756c90c892e976a1485af0f1d7e3b707c9cd1
26ac254ecb57ffcb886ff709cf018390161a9225
/src/algebraic_geometry/presheafed_space.lean
e02df88471a8616e31ae696627fe9ea632d8783e
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
8,351
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.sheaves.presheaf /-! # Presheafed spaces Introduces the category of topological spaces equipped with a presheaf (taking values in an arbitrary targe...
ff5bd37ef7dc9fff001e96bc8dd3916842ba522e
367134ba5a65885e863bdc4507601606690974c1
/src/data/nat/fib.lean
d3891e40615a728c16f17e9247413ec274cf54f8
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
5,555
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import data.stream.basic import tactic import data.nat.gcd /-! # The Fibonacci Sequence ## Summary Definition of the Fibonacci sequence `F₀ = 0, F₁ = 1, Fₙ₊₂ = ...
385c3f0d41178291108ab9ae9d7b8f406f78387d
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/untrusted_examples.lean
6f230473b5a1794dbb80bbdc2974bdbe62691d07
[ "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
217
lean
open tactic set_option pp.all true example (m1 : tactic nat) (m2 : nat → tactic bool) : true := by do m1 ← get_local `m1, m2 ← get_local `m2, b ← mk_app `monad.bind [m1, m2], trace b, constructor
dc7fcac0188f78927cc0dbd1a74adf4a32857bee
63abd62053d479eae5abf4951554e1064a4c45b4
/archive/imo/imo1960_q1.lean
8266f10b39407889375a18df4d43b541d442d2c8
[ "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
3,339
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 data.nat.digits /-! # IMO 1960 Q1 Determine all three-digit numbers $N$ having the property that $N$ is divisible by 11, and $\dfrac{N}{11}$ is equal to the sum...
08cd5eed63cce671e2b78d75247a644210dd975c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/multiset/interval.lean
af501ed5fd1bd056105b65a7566423c30d0fbaf1
[ "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,273
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.finset.locally_finite import data.dfinsupp.interval import data.dfinsupp.multiset import data.nat.interval /-! # Finite intervals of multisets This file provi...
9715c609f40d3aa37b5bf049c4522eea16ecf817
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/topology/algebra/uniform_group.lean
a1419c83651dd306f207e59e984675827b4c9a8b
[ "Apache-2.0" ]
permissive
OHIHIYA20/mathlib
023a6df35355b5b6eb931c404f7dd7535dccfa89
1ec0a1f49db97d45e8666a3bf33217ff79ca1d87
refs/heads/master
1,587,964,529,965
1,551,819,319,000
1,551,819,319,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,465
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 Uniform structure on topological groups: * `topological_add_group.to_uniform_space` and `topological_add_group_is_uniform` can be used to construct a...
907f6f0999f9c0a3ddaf93b0c551f12036977f97
75bd9c50a345718d735a7533c007cf45f9da9a83
/src/measure_theory/set_integral.lean
e74b3f283925064d1ebb0294e4419ec1a00bc33f
[ "Apache-2.0" ]
permissive
jtbarker/mathlib
a1a3b1ddc16179826260578410746756ef18032c
392d3e376b44265ef2dedbd92231d3177acc1fd0
refs/heads/master
1,671,246,411,096
1,600,801,712,000
1,600,801,712,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
35,405
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.bochner_integration import analysis.normed_space.indicator_function /-! # Set integral In this file we prove some properties of...
016770fdf119e028d3c4bdfcaba61dfaa20537b4
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/nat/with_bot.lean
713a12e2cc1f8e3e36b6146698a6d901e17fff66
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
2,275
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.nat.order.basic import algebra.order.monoid.with_top /-! # `with_bot ℕ` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
77c6df0d98d92e98374c8fade741c3cd2fb755bd
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/types/fiber.hlean
377c2ec179829de278ab12ff17f97a1dcecdba61
[ "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
6,195
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about fibers -/ import .sigma .eq .pi .pointed open equiv sigma sigma.ops eq pi structure fiber {A B : Type} (f : A → B) (b : B) := ...
6261530dbd53fcfe7242c9d8e4581f31f16bb43c
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/scan_test1.lean
360dca6d5379b9b4ebcf79e519956158706f4a9b
[ "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
11
lean
print 10.0.
4ce00372370b36fa05fd54889574a9de2852f041
618003631150032a5676f229d13a079ac875ff77
/src/topology/algebra/monoid.lean
b3cfc0da5f4f35a25ffefc5e7d2e6f92b1e7c35f
[ "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
5,669
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 Theory of topological monoids. TODO: generalize `topological_monoid` and `topological_add_monoid` to semigroups, or add a type class `topological_opera...
6b32e90dc7ca0fa6c6ecca811c0d611cc3596282
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/sites/sheaf.lean
c8364bbfda47724648e8ccddc0f21bc36be10ed7
[ "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,003
lean
/- Copyright (c) 2020 Kevin Buzzard, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Bhavik Mehta -/ import category_theory.sites.sheaf_of_types import category_theory.limits.yoneda import category_theory.limits.preserves.shapes.equalizers ...
a949f0e73e7c87ba061ade244f1fa4d3b8234b4a
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/dedekind_domain/ideal.lean
78f6e62740ad2df0fd7bf1c40107f90fa95a4fc4
[ "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
58,182
lean
/- Copyright (c) 2020 Kenji Nakagawa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenji Nakagawa, Anne Baanen, Filippo A. E. Nuccio -/ import algebra.algebra.subalgebra.pointwise import algebraic_geometry.prime_spectrum.noetherian import order.hom.basic import ring_...
b71b22eeed197db05013044c73a3d2be8880b2a6
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Scopes.lean
ca2cda91a4cd76f5da16b95d876e8885af7cd8c3
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
3,715
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 -/ prelude import Init.Lean.Environment namespace Lean /- Scope management TODO: delete after we delete parser implemented in C++. We have decided to store ...
a0778929bbc3bfad771c9a380ab3f4622ea4f551
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sheaves/skyscraper.lean
c02f854b23030058b7e6a50d4914f14ff07c3e74
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
17,736
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Junyan Xu -/ import topology.sheaves.punit import topology.sheaves.stalks import topology.sheaves.functors /-! # Skyscraper (pre)sheaves A skyscraper (pre)sheaf `𝓕 : (pr...
d6af4bb1ae59b981f35e94f5b2bf97aa5c9603c9
dc253be9829b840f15d96d986e0c13520b085033
/algebra/seq_colim.hlean
88d98b813da6f928a40994787178df85fbed730c
[ "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
3,939
hlean
--Authors: Robert Rose, Liz Vidaurre import .direct_sum ..move_to_lib open eq algebra is_trunc set_quotient relation sigma prod sum list trunc function equiv sigma.ops nat namespace group section parameters (A : ℕ → AbGroup) (f : Πi , A i →g A (i + 1)) variables {A' : AbGroup} definition seq_colim_c...
ab7d33370a398923d6eb805839ede4d14f8337a8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/number_theory/padics/ring_homs.lean
b07dfdc5ef4dff7c0f3447f6d9edc239938c39c3
[ "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
24,377
lean
/- Copyright (c) 2020 Johan Commelin, Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.zmod.basic import number_theory.padics.padic_integers /-! # Relating `ℤ_[p]` to `zmod (p ^ n)` In this file we estab...
bc0adb6841414b8fe3e673f97a01be4c7b8f4760
cfdac20f65ed6246e5fc7ce58637507f8945f419
/library/data/set/basic.lean
c0c4f75f3f7f19cd271d5f1b859621da79f68b6c
[ "Apache-2.0" ]
permissive
anandadalton/lean
8623b101ed898c8f4a7a161abd6f8e08d7db57c2
37b1e9163d069d12fb4a46b8d3ccfc3081aca645
refs/heads/master
1,647,253,997,156
1,461,883,971,000
1,461,883,971,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,195
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Leonardo de Moura -/ import logic.connectives logic.identities algebra.binary open eq.ops binary function definition set (X : Type) := X → Prop namespace set variable {...
0401f8d968bae741933b608eeb00f0a9864a70f6
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inlineIfReduceLCNF.lean
78b4343567fa764260209b877aaec082319daf80
[ "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
141
lean
import Lean def f (x y z : Nat) : Array Nat := #[x, y, z, y, x] set_option trace.Compiler.result true #eval Lean.Compiler.compile #[``f]
549602c4ab77d73b8513382446de732ac52918bd
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/cardinality/countable_inj.lean
53fe8bad40e38e0bb6ef196b397025d1f2b20e69
[ "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
917
lean
import data.real.basic import topology.basic open function open set namespace xena -- hide /- # Chapter 7 : Cardinality ## Level 3 A classical result about countable sets. -/ /- Lemma If $f : X \to Y$ is an injective function and $Y$ is countable, then $X$ is also countable. -/ theorem countable_inj (X Y : set ℝ) ...
10884a64b22e707410a975b7d5cb6518343f87b7
b561a44b48979a98df50ade0789a21c79ee31288
/src/Init/Meta.lean
9f91448da8233e2c3cedab76859af2d3510454e5
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,981
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 and Sebastian Ullrich Additional goodies for writing macros -/ prelude import Init.Data.Array.Basic namespace Lean @[extern c inline "lean_box(LEAN_VERSION_...
467ee8d0e156888c4002bafc002db539b57d9c91
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/order/complete_lattice.lean
2dcc1a58df0afb0d60cef2742eca32970a0ce92d
[ "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
43,625
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import order.bounds /-! # Theory of complete lattices ## Main definitions * `Sup` and `Inf` are the supremum and the infimum of a set; * `supr (f : ι → α)` and `in...
3f9c6d593c516eca8e7542534c2e0c808ac2f8b9
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/measure_theory/integral/vitali_caratheodory.lean
ee826838287605267bfceef48501bc12744ff749
[ "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
29,686
lean
/- Copyright (c) 2021 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 measure_theory.measure.regular import topology.semicontinuous import measure_theory.integral.bochner import topology.instances.ereal /-! # Vitali-Carat...
af80676e8bce34dba03f127ed947d1cffdd551ae
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/analysis/special_functions/trigonometric.lean
6178b4b64cbbc1f0423a53bf3e3d0845c1623a94
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
65,903
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import analysis.special_functions.exp_log /-! # Trigonometric functions ## Main definitions This file contains the foll...
7edac558076d4406a097eafbabb6bc6baea9a7ca
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/ParserCompiler.lean
492bd24bc45d8382edc2f188b27c3a646ad6c15b
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
7,749
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.Meta.ReduceEval import Lean.KeyedDeclsAttribute import Lean.ParserCompiler.Attribute import Lean.Parser.Extension /-! Gadgets for compiling parser ...
621a0f193db83b47163a8469866c34f9253f3842
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/subgroup/basic.lean
e8ca3cddd747b203d90b4294f4214ca35d8e37cd
[ "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
98,211
lean
/- Copyright (c) 2020 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import group_theory.submonoid.pointwise import group_theory.submonoid.membership import group_theory.submonoid.center import algebra.group.conj import order.atoms /-! # Su...
b89954ff2889eeaf35c25acbc9c5fb4d0e1f7df1
217bb195841a8be2d1b4edd2084d6b69ccd62f50
/library/init/data/rbmap/basic.lean
cf0258d066c49ef3f26e9487be852ee0b4f166a2
[ "Apache-2.0" ]
permissive
frank-lesser/lean4
717f56c9bacd5bf3a67542d2f5cea721d4743a30
79e2abe33f73162f773ea731265e456dbfe822f9
refs/heads/master
1,589,741,267,933
1,556,424,200,000
1,556,424,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,306
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.data.repr init.data.option.basic universes u v w w' inductive Rbcolor | red | black inductive RBNode (α : Type u) (β : α → Type v) | ...
9df76360c0c8347a01b55e0b9613db2d5fac0c20
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/category_theory/instances/monoids.lean
4158f7fe1da02e25dedef50129a074c2c96579af
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
1,741
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison Introduce Mon -- the category of monoids. Currently only the basic setup. -/ import category_theory.concrete_category import category_theory.fully_faithful import cat...
5a5bcefa56e5fdab6f23ecfe550a17fb01482421
037dba89703a79cd4a4aec5e959818147f97635d
/src/2020/relations/equiv_partition.lean
20ecb746667e41dfe0207cb62aa37e533523b8d8
[]
no_license
ImperialCollegeLondon/M40001_lean
3a6a09298da395ab51bc220a535035d45bbe919b
62a76fa92654c855af2b2fc2bef8e60acd16ccec
refs/heads/master
1,666,750,403,259
1,665,771,117,000
1,665,771,117,000
209,141,835
115
12
null
1,640,270,596,000
1,568,749,174,000
Lean
UTF-8
Lean
false
false
4,894
lean
import tactic import data.setoid.partition --#check setoid.partition.rel_iso open setoid variable (α : Type) -- mathlib has this function already. /- def classes (r : setoid α) : set (set α) := {s | ∃ y, s = {x | r.rel x y}} -/ -- set_option pp.notation false example : {p : set (set α) // is_partition p} ≃ set...
7172f03dce98a9d457964ff2f841239cada1f878
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/algebra/lattice/complete_boolean_algebra.lean
8de16a86a1434afef0458fde81cbab54f5cf0cf6
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
2,132
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Theory of complete Boolean algebras. -/ import .complete_lattice .boolean_algebra data.set.basic set_option old_structure_cmd true universes u v w variables {α : Type...
7254e96b99721fbb57b1c4e9458019e8b53157ce
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Tactic/Match.lean
a2eb3c86f71168939962a5f520091c7f91c86522
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,370
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.Parser.Term import Lean.Elab.Match import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.Induction namespace Lean.Elab.Tactic open Meta open T...
fe2d717c113ee2d51588d570d783547d98ebcb5f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/simple_graph/partition.lean
840ae22c4ee4c64abb548a280b3a8f9630b4364a
[ "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,216
lean
/- Copyright (c) 2021 Arthur Paulino. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Arthur Paulino, Kyle Miller -/ import combinatorics.simple_graph.coloring /-! # Graph partitions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
490f87f9e93428f2a4166e8a438a4eb8a3e2cd81
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/rat/floor.lean
40182da92fe3389ca1892a7583c4993407da69b8
[]
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,122
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Kappelmann -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.floor import Mathlib.tactic.field_simp import Mat...
b277487bc5dd41c6c418b2256e239c2378cac8b9
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Data/Lsp/Diagnostics.lean
a22bb4cd055b70384bd873bbc1d35dd21f9a3880
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
3,962
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 Lean.Data.Json import Lean.Data.Lsp.Basic import Lean.Data.Lsp.Utf16 import Lean.Message /-! Definitions and functionality for emitting dia...
d8b38bf956a42299556d90f3ad8dc61398a685ff
e06332abb44b4720a102c91b393254505e242022
/chapter1.hlean
39296d8f55b0a376e2ed80a11e898b20800b7a6e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
11Kilobytes/hott-exercises-lean
69501ee7fef64cb8669384d4356d43941c75a702
a859755be688d3f22f14fbdfa35f5f5c32c438d3
refs/heads/master
1,611,265,681,636
1,455,643,818,000
1,455,643,818,000
48,048,788
1
1
null
1,455,643,819,000
1,450,190,626,000
Lean
UTF-8
Lean
false
false
15,081
hlean
-- Copyright 2015 Kabelo Moiloa -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- http://www.apache.org/licenses/LICENSE-2.0 -- Unless required by applicable law or agreed to in writing,...
acf3cff3731cbee04170e323cb95aed7e3da047c
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex22.lean
74f6c4efc599ea98a5fcdc8c73003639f418e07e
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
329
lean
namespace hide universe variable u constant list : Type u → Type u constant cons : Π A : Type u, A → list A → list A constant nil : Π A : Type u, list A constant head : Π A : Type u, list A → A constant tail : Π A : Type u, list A → list A constant append : Π A : Type u, list A → list A → list A end hide
0d143238407b64666a0721fdef41729503408d1a
be853a09b5de8ba4d9114bd8a816647b584d4573
/src/submissions/practice_2.lean
a72c67d9246ebe831a3b7882e5258854782f8677
[]
no_license
sgoldberg02/cs2120f21mycopy
4a665a92c5dcbb5b35be5461c42268c74366e3fa
216fa0a813508d82594ac95aec0a048249f81291
refs/heads/main
1,692,136,103,389
1,632,328,880,000
1,632,328,880,000
405,192,256
0
0
null
null
null
null
UTF-8
Lean
false
false
11,954
lean
/- Prove the following simple logical conjectures. Give a formal and an English proof of each one. Your English language proofs should be complete in the sense that they identify all the axioms and/or theorems that you use. -/ example : true := true.intro -- example : false := _ -- trick question? why? example : ∀...
132be342f5d5aa7af357af3cb56ac160ca154780
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/expr_maps.lean
7f10f3c69e11e9b41e5cdf664d7e48366364d22b
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,931
lean
import Lean.Expr open Lean def exprType : Expr := mkSort levelOne def biDef := BinderInfo.default def exprNat := mkConst `Nat [] -- Type -> Type def TypeArrowType := mkForall `α biDef exprType exprType -- Type -> Type def TypeArrowType2 := mkForall `β biDef exprType exprType -- fun (x : Nat) => x...
92c7654055f57f9f9696827668f9bda01098b23b
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/system/io.lean
a21992dde37f13f8406257de8a8daa2baf664cf0
[ "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
9,114
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 ...
5a9b768693ac897b8bc505b6f69a26b928442418
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Init/Control.lean
d2aa8404f894f7ccd13744f40275a4481fc962b8
[ "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
606
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.Control.Applicative import Init.Control.Functor import Init.Control.Alternative import Init.Control.Monad import Init.Control.MonadLift ...
cb4d1cf88e3c8c152b540d4071d9b479edac60b8
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/Deriving/Hashable.lean
b1b57872973fa7b3a3122eaa3d89101ff994b461
[ "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,592
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dany Fabian -/ import Lean.Meta.Inductive import Lean.Elab.Deriving.Basic import Lean.Elab.Deriving.Util namespace Lean.Elab.Deriving.Hashable open Command open Lean.Parser.Ter...
b71b85f4cbb35651d02253481e0f5fa1119f5ed8
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/meta/async_tactic.lean
e4bde39410996f4f3d848a299bd0990794b034a2
[ "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
1,851
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import init.meta.tactic import init.meta.interactive namespace tactic private meta def report {α} (s : tactic_state) : option (unit → format) → α | (some fmt)...
44d725b7b9bff12581797345eaa3e78e212194d9
82e44445c70db0f03e30d7be725775f122d72f3e
/src/algebra/support.lean
d30faeb371face200960dff3708f66f27eae3aec
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
10,866
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 order.conditionally_complete_lattice import algebra.big_operators.basic import algebra.group.prod import algebra.group.pi import algebra.module.pi /-! # Sup...
6e3440b7746c9b0e9e930a4639e0d83f74f9d2b3
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/linear_algebra/affine_space.lean
7d9b73c94ddd32b034bba9b188f3fd8f46196dc3
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
29,968
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import algebra.add_torsor import linear_algebra.basis noncomputable theory open_locale big_operators /-! # Affine spaces This file defines affine spaces (over modules)...
963ab3c506b810b62b759dd06d97d015e736d35f
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/complex/basic.lean
d07602c2ed40066934944667eb2fa3154c8c4920
[ "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,565
lean
/- Copyright (c) Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import data.complex.module import data.complex.is_R_or_C /-! # Normed space structure on `ℂ`. This file gathers basic facts on complex numbers of an analytic natur...
c13551715516f00614c9155d61f7d4e10e5b6511
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/meta/expr.lean
39a8489c5168ba3e6dcc09dbebd41cc759827706
[ "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
37,507
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...
a9fe72217bbbcf900dcb6ef0d791e08dcf562805
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/Pointed1Magma.lean
65f3a1a6811fb0b5da38889197c3ee4708b54a1d
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,710
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section Pointed1Magma structure Pointed1Magma (A : Type) : Type := (one : A) (op : (A → (A → A))) open Pointed1Magma structure Sig (AS : Type) : Type := ...
4cee14bef893d30a196eb75591cf2b12c33775ae
4727251e0cd73359b15b664c3170e5d754078599
/src/logic/small.lean
b54426e440b757f41ab4604ebfb45ec9f5c93cef
[ "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
5,079
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 data.vector.basic /-! # Small types A type is `w`-small if there exists an equivalence to some `S : Type w`. We provide a noncomputable model `shrink α : Ty...
fb75436bb1158312e2ac7b867aba86bffec8d476
82e44445c70db0f03e30d7be725775f122d72f3e
/src/field_theory/minpoly.lean
e3dac9b2afe7fd53f4244ecca18c7590f4f06f5f
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
16,414
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 data.polynomial.field_division import ring_theory.integral_closure import ring_theory.polynomial.gauss_lemma /-! # Minimal polynomials This file ...
a45db1440bea6166d38ac3328b537cf125542140
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/real/ennreal.lean
b4e1ff1784b767a67a4aadcf3cb944484bdb2d2d
[ "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
57,274
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Yury Kudryashov -/ import data.real.nnreal import data.set.intervals /-! # Extended non-negative reals We define `ennreal = ℝ≥0∞ := with_no ℝ≥0` to be the type of exte...
14fe98eda1bb4bddcea2d264e8f0c3e67195925b
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib.lean
ffae689b03f9af9314dfa1b50b4ea275af546238
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
1,750
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Basic import Mathport.Syntax.Translate.Tactic.Lean3 import Mathport.Syntax.Translate.Tactic.Mathlib.Alias import Mathpo...
24be274663566867a4ac9cdd7122cd89118bd7e7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/stalks.lean
ce1bcf0f929dbb4320b05ef01c6325a7def97e57
[ "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
8,586
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebraic_geometry.presheafed_space import category_theory.limits.final import topology.sheaves.stalks /-! # Stalks for presheaved spaces This file lifts con...
ab748b16137f00ca3c219ed7244a0b8f901e1553
4fa161becb8ce7378a709f5992a594764699e268
/src/ring_theory/principal_ideal_domain.lean
36f3ea7431beb49093f06ec756d9ffe54daab657
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
8,158
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes, Morenikeji Neri -/ import ring_theory.noetherian import ring_theory.unique_factorization_domain /-! # Principal ideal rings and principal ideal domains A principal ideal ri...
0948044923f646c48d8e35c48055b4ee81a1d567
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/matrix/notation.lean
7e0bbc3a240114131ac3e1de9c239e362ccfd038
[ "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
9,260
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import data.matrix.basic import data.fin.vec_notation /-! # Matrix and vector notation This file includes `simp` lemmas for applying operations in `data.matrix.basic` to ...
93a5f11ca6fbd2ec6b1727188a0fcdd9a6968857
cf39355caa609c0f33405126beee2739aa3cb77e
/library/smt/prove.lean
78498ea4f3184db1660f1df74425ac0993aa12b6
[ "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
564
lean
namespace smt open tactic private meta def collect_props : list expr → tactic (list expr) | [] := return [] | (H :: Hs) := do Eqs ← collect_props Hs, Htype ← infer_type H >>= infer_type >>= whnf, return $ if Htype = `(Prop) then (H :: Eqs) else Eqs -- This tactic is just a placeholder, designed to be m...
d72f94e4c7da7f4808a124db42d8a0d55518ad49
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/eraseSuffix.lean
c9478c98d0eef685c5d9534191298bcb56b1b267
[ "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
364
lean
example : (`foo.bla).eraseSuffix? `bla == some `foo := rfl example : (`foo.bla).eraseSuffix? `boo == none := rfl example : (`foo.bla).eraseSuffix? `foo.bla == some .anonymous := rfl example : (`foo.bla.boo).eraseSuffix? `bla == none := rfl example : (`foo.bla.boo).eraseSuffix? `boo == `foo.bla := rfl example : (`foo.bl...
b2a1705d3aad03ec37dbed425dea634faf3432c5
46125763b4dbf50619e8846a1371029346f4c3db
/src/analysis/convex/topology.lean
ef7b352ec0b1f8c9853ea81fef37bfd755057654
[ "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
7,616
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import analysis.convex.basic analysis.normed_space.finite_dimension /-! # Topological and metric properties of convex sets We prove the follow...
50770d6fb3a93325bd5c753d5264520437bd5cbc
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tmp/even_odd.lean
852e0e5886ceac95a43673f4d1a03235e1ce98d0
[ "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
705
lean
import data.vector open nat universes u v set_option trace.eqn_compiler.wf_rec true set_option trace.debug.eqn_compiler.wf_rec true set_option trace.debug.eqn_compiler.mutual true mutual def even, odd with even : nat → bool | 0 := tt | (a+1) := odd a with odd : nat → bool | 0 := ff | (a+1) := even a #eval ev...
8764c1b8f111ff8b2ebeb94e0fda1b6b775cfd8f
38aa1f7792ba7c73b43619c5d089e15d69cd32eb
/lamps_array.lean
99fbc6cb8ff2da17182f0cdb93c18ea05162d831
[]
no_license
mirefek/my-lean-experiments
f8ec3efa4013285b80cd45c219a7bc8b6294b8cc
1218fecbf568669ac123256d430a151a900f67b3
refs/heads/master
1,679,449,694,211
1,616,190,468,000
1,616,190,468,000
154,370,734
1
0
null
null
null
null
UTF-8
Lean
false
false
5,273
lean
import tactic import tactic.norm_cast import data.rat import data.fintype import data.real.basic import data.nat.parity noncomputable theory open_locale classical /--- problem statement ---/ def lamp_switch_seq (n k : ℕ) := array k (fin (n+n)) --local attribute [instance] classical.prop_decidable instance (n k : ...
ffd860d4d6767496339160b589b7e08407438c69
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed_space/star/complex.lean
512dd0d99440f063d5fa04543ebb52107a8db948
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,446
lean
/- Copyright (c) 2022 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 analysis.normed_space.star.basic import algebra.star.module import analysis.complex.basic /-! # Complex normed star modules and algebras Facts about star ...
340df8c7a5b2f4c8ee2f1675f25ce3392c69dba0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/category/omega_complete_partial_order.lean
cd733cbbb7e2ea8bd7f8193fb47f68a74d147e7d
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,934
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.omega_complete_partial_order import Mathlib.order.category.Preorder import Mathlib.category_...
76caf0a1920a29b5240bc22e8c776046a63fb085
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/asymptotics/asymptotic_equivalent.lean
e0dc4078fc0e500828469a5512f6b1ebaac41811
[ "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,588
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.asymptotics.asymptotics import analysis.normed.order.basic /-! # Asymptotic equivalence In this file, we define the relation `is_equivalent l u ...
f4a67bd8c0f84cb26fcf89a7213584178465a3ee
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/part.lean
deb48d93a9278b82ca98ebedb9a4ea6029d5d7df
[ "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
14,104
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Jeremy Avigad, Simon Hudon -/ import data.equiv.basic /-! # Partial values of a type -/ /-- `part α` is the type of "partial values" of type `α`. It is similar to `...
1c68a8ee7c2abfa6d654a9d9d7c5b7230ab1912e
ebb7367fa8ab324601b5abf705720fd4cc0e8598
/algebra/module.hlean
7475fb7f4c8cb1f8883607a60a21a38b0d4231b8
[ "Apache-2.0" ]
permissive
radams78/Spectral
3e34916d9bbd0939ee6a629e36744827ff27bfc2
c8145341046cfa2b4960ef3cc5a1117d12c43f63
refs/heads/master
1,610,421,583,830
1,481,232,014,000
1,481,232,014,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,294
hlean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad Modules prod vector spaces over a ring. (We use "left_module," which is more precise, because "module" is a keyword.) -/ import algebra.field open a...
8aa86f9db28380b5c200a7b9884d1d5056d9a5ed
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/09_Type_Classes.org.24.lean
5d0fe45ab3226f4612b47d137ceec8fb12cd9141
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
536
lean
import standard open nat inductive foo [class] := mk : nat → nat → foo definition foo.a [p : foo] : nat := foo.rec_on p (λ a b, a) definition i1 [instance] [priority std.priority.default+10] : foo := foo.mk 1 1 definition i2 [instance] : foo := foo.mk 2 2 example : foo.a = 1 := rfl definition i3 [instance] [prior...
07bbac581c450137e92dfb1f20382e118dfa3fae
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/determinant.lean
c7a57875c72afe6b988469968b3fce935a6af1c8
[ "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
26,059
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.finite_dimensional import linear_algebra.general_linear_group import linear_algebra.matrix.reindex imp...
b4805f33b190e1ee6202ae46aa8b8ca9656ebb5b
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/clifford_algebra/even_equiv.lean
caf1ccefbe51964293800fe4f2c8865d7939ef97
[ "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
11,306
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 linear_algebra.clifford_algebra.conjugation import linear_algebra.clifford_algebra.even import linear_algebra.quadratic_form.prod /-! # Isomorphisms with the even su...
3e42c39281f85d4eecc0dd2644c430b2a7951bc0
ef47cc39429c8f578004338bf040c9c309b26766
/src/solutions/friday/manifolds.lean
d1813a54a59b71ee99f1650e16dcb9f359f0a59b
[]
no_license
farmanb/lftcm2020
29f1c646437a8f8b00ee2e07c8b663ca04bfa16f
1948bfaf58e3b340b39cd9b8366aa4f13e5ffa7d
refs/heads/master
1,669,697,152,764
1,595,275,412,000
1,595,275,412,000
285,654,242
0
0
null
1,596,742,086,000
1,596,742,085,000
null
UTF-8
Lean
false
false
41,904
lean
import for_mathlib.manifolds noncomputable theory open_locale manifold classical big_operators open set universe u /-! ## Reminder on updating the exercises These instructions are now available at: https://leanprover-community.github.io/lftcm2020/exercises.html To get a new copy of the exercises, run the followi...
b76e65d2be30f07e4555ec8275e753fe36d8df21
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/complex/real_deriv.lean
8269ce29d863ed140259d36adfb6d468ba987070
[ "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
7,483
lean
/- Copyright (c) Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yourong Zang -/ import analysis.calculus.times_cont_diff import analysis.complex.conformal import analysis.calculus.conformal.normed_space /-! # Real differentiabilit...
465ba6a36c94e23585030e64b228471cd35aa198
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/analytic/composition.lean
eeeea5db90346c5c4fb5f7f5daf6bda740107a76
[ "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
58,724
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, Johan Commelin -/ import analysis.analytic.basic import combinatorics.composition /-! # Composition of analytic functions In this file we prove that the composi...
89e1282e24f52add45eaf9e52126fa60b96bb1fe
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/category/Group/Z_Module_equivalence.lean
57669afe8ed51db8d0b454c0661f98637fe2abeb
[ "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
1,329
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Module.basic /-! The forgetful functor from ℤ-modules to additive commutative groups is an equivalence of categories. TODO: either use this ...
2778a6a0fa15bdf33009d137854eecc1a345a2e9
1446f520c1db37e157b631385707cc28a17a595e
/tests/bench/rbmap_checkpoint.lean
f505c9eede9673f1f1706194472a5078a976f463
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,391
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.Data.Option.Basic import Init.Data.List.BasicAux import Init.System.IO universes u v w w' inductive color | Red | Black inductive Tre...
f18a2a62c8d5e310d66e44bb8df9b45df29c9880
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/higherOrderFunctions/box_map.lean
58d4146d45c6ed1608b884b703526357c2e36abf
[]
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
205
lean
universes u₁ u₂ structure box (α : Type u₁) : Type u₁ := mk :: (val : α) def map_box {α : Type u₁} {β : Type u₂} (f : α → β) (b : box α) : box β := box.mk (f b.val)
beb313e683a64c3f94cde5834f832e8e27099b34
626e312b5c1cb2d88fca108f5933076012633192
/src/data/part.lean
b33a99263f27f7a10d0dc0de1a603300e5851efb
[ "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
14,217
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Jeremy Avigad, Simon Hudon -/ import data.equiv.basic /-! # Partial values of a type -/ /-- `part α` is the type of "partial values" of type `α`. It is similar to `...
80cac01349d6be216087899d0f3fe584ad6805b4
5e42295de7f5bcdf224b94603a8ec29b17c2d367
/rat_additions.lean
dc01f241e8032b1003866297851610bcc8092c02
[]
no_license
pnmadelaine/lean_polya
9369e0d87dce773f91383bb58ac6fde0a00a1a40
1c62b0b3fa71044b0225ce28030627d251b08ebc
refs/heads/master
1,590,161,172,243
1,515,010,019,000
1,515,010,019,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,956
lean
import data.rat data.nat.gcd tactic.finish algebra.group_power --meta instance : has_to_format ℤ := ⟨λ z, int.rec_on z (λ k, ↑k) (λ k, "-"++↑(k+1)++"")⟩ meta instance int.reflect : has_reflect int | (int.of_nat n) := if n = 0 then unchecked_cast `(0 : int) else if n = 1 then unchecked_cast `(1 :...
aa760fde8faa2daa1df6bd6e4708f5caa437b5b8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/multiset/locally_finite.lean
888f045dd029c569d72d8564941d9de0686e32d2
[ "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
8,516
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.finset.locally_finite /-! # Intervals as multisets This file provides basic results about all the `multiset.Ixx`, which are defined in `order.locally_finite...
45469a46f2b96aaba40ac5917d54352599d8d6f4
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/category_theory/replete.lean
312e8323a5b60bc1c9a806a2ecfdba3d4e7f80b0
[ "Apache-2.0" ]
permissive
rwbarton/lean-homotopy-theory
cff499f24268d60e1c546e7c86c33f58c62888ed
39e1b4ea1ed1b0eca2f68bc64162dde6a6396dee
refs/heads/lean-3.4.2
1,622,711,883,224
1,598,550,958,000
1,598,550,958,000
136,023,667
12
6
Apache-2.0
1,573,187,573,000
1,528,116,262,000
Lean
UTF-8
Lean
false
false
1,884
lean
import category_theory.base import category_theory.isomorphism open category_theory open category_theory.category local notation f ` ∘ `:80 g:80 := g ≫ f universes v u namespace category_theory variables (C : Type u) [category.{v} C] class wide_subcategory (D : Π {a b : C}, (a ⟶ b) → Prop) : Prop := (mem_id {} : ∀...
e09976b05c429d947f013ffd89a5fb17bf464d35
618003631150032a5676f229d13a079ac875ff77
/src/tactic/wlog.lean
b51c0960a5451fa1a0ea8f523080291bc7c0a1af
[ "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
9,426
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 Without loss of generality tactic. -/ import tactic.tauto import data.list.perm open expr tactic lean lean.parser local postfix `?`:9001 := optional local postfix *:9...
4802994c1f10512a739093cd8a39f7036064a273
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/category_theory/examples/topological_spaces.lean
00ce5dc816e99d74e59e7b845c8e0131971cdfae
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,119
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Patrick Massot, Scott Morrison, Mario Carneiro import category_theory.full_subcategory import category_theory.functor_category import category_theory.natural_isomorphism import ...
901125157e1de630b9fbf403abfb77ca99337c85
abd85493667895c57a7507870867b28124b3998f
/src/topology/instances/ennreal.lean
c4e66c879cf56a08833949cd0b134844399d68b9
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
38,698
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 open_locale topologi...
755f9b6507375e82c384c3b8ae13f943ffe0b377
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/ref2.lean
cfee291ac82833decb23fdc87cbc112c8e1e32da
[ "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
278
lean
def initX : IO (IO.Ref Nat) := IO.mkRef 0 @[init initX] constant x : IO.Ref Nat := default _ def inc : IO Unit := do v ← x.get, x.set (v+1), IO.println (">> " ++ toString v) def main (xs : List String) : IO Unit := do let n := xs.head.toNat, n.mrepeat (λ _, inc)
dc42ff7d8d15a312858c24caf503684dfb7fd21a
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/sheaves/sheaf_condition/opens_le_cover.lean
081f85a57a0bd29ac6b2c0d1349856933f5acaef
[ "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
13,493
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.sheaves.presheaf import category_theory.limits.final import topology.sheaves.sheaf_condition.pairwise_intersections /-! # Another version of the shea...
ba98f49ff75f86986a3830d19916239b38c3d53e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/number_theory/wilson.lean
3a6463cd1b53d9e62449b53a7bd50ec2de8627d9
[ "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
1,675
lean
/- Copyright (c) 2022 John Nicol. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: John Nicol -/ import number_theory.legendre_symbol.gauss_eisenstein_lemmas /-! # Wilson's theorem. This file contains a proof of Wilson's theorem. The heavy lifting is mostly done by th...
ef356173911e05dc32b8180b95f6661cf091bf97
6065973b1fa7bbacba932011c9e2f32bf7bdd6c1
/src/data/fin.lean
34c158b28928c687873b5521cb1ded55bfdafafa
[ "Apache-2.0" ]
permissive
khmacdonald/mathlib
90a0fa2222369fa69ed2fbfb841b74d2bdfd66cb
3669cb35c578441812ad30fd967d21a94b6f387e
refs/heads/master
1,675,863,801,090
1,609,761,876,000
1,609,761,876,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
50,584
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import data.nat.cast import tactic.localized import order.rel_iso /-! # The finite type with `n` elements `fin n` is the type whose elements are natu...
b177dbd15e56cada5964363d46fc67d57c4ba876
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/fintype/basic.lean
2b04ef2da74dd346b902a1f7e3bafa675b08af72
[ "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
51,877
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import tactic.wlog import data.finset.powerset import data.finset.lattice import data.finset.pi import data.array.lemmas import order.well_founded open...
59d5e7be1b1314174968d8fa83ab486c5c56adb5
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/Hashable.lean
0b4e65bf067605685e95387ae303f854a1747e3c
[ "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
1,561
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.UInt.Basic import Init.Data.String universe u instance : Hashable Nat where hash n := UInt64.ofNat n instance : Hashable String...
b9ef8adbdc48c00d048023e836911c626772a2ea
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Elab/Tactic/Basic.lean
8b3b9fc7d025358f9ca2a7bec07da57a37d9a37d
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,028
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.Util.CollectMVars import Lean.Meta.Tactic.Assumption import Lean.Meta.Tactic.Intro import Lean.Meta.Tactic.Clear import Lean....
34e6d904e2fe9c5985b20504444f963984317223
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/set_theory/cardinal/ordinal.lean
655c3a267b92c2b59a6694c64a5a93894943b8ac
[ "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
49,719
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import data.finsupp.multiset import order.bounded import set_theory.ordinal.principal import tactic.linarith /-! # Cardinals and o...
6ee7ed10519a6bf02f5ddb8debcd869ad1dc772d
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Eval.lean
508d9c52a645e5f17ea9a9632a075bf4c5745899
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
1,155
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Control.Reader import Init.System.IO import Init.Lean.Environment namespace Lean universe u /-- `HasEval` extensio...
0ef8ea267b647c2aa806cfbf668fae828892b4dd
fddcf4b659baa121761c71be606b3f74b86fa695
/Formalization/test_lean.lean
65d35078bb870d1112dbaeb208f34702aaaf9e70
[]
no_license
swarnpriya/Lean
4218df9392f396cd7e5e745de35a917536ebd2bb
a0a9978fd058041eb1a09aec0e2dd7d19a7436a7
refs/heads/master
1,595,831,634,399
1,568,673,127,000
1,568,673,127,000
208,903,604
0
0
null
null
null
null
UTF-8
Lean
false
false
688
lean
universe u constant α : Type u #check α def foo : (ℕ → ℕ) → ℕ := λ f, f 0 #check foo #print foo def double (x : ℕ) : ℕ := x + x #print double #check double 3 #reduce double 3 def square (x : ℕ) : ℕ := x * x #check square #reduce square 3 constants p q : Prop theorem t1 : p → q → p := λ hp : p, λ hq : q, hp #p...
1b94526dd8e90d63fa648d427c00c9d63fb51e03
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/set/intervals/basic.lean
0b568e212fa5310a72417b943c64a7bdd920379d
[ "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
28,591
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot, Yury Kudryashov -/ import order.lattice algebra.order_functions algebra.ordered_field tactic.tauto /-! # Intervals In any preorder `α...
41826592a11c88c554a423e3ec5e86d8fb77660e
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category/bifunctor.lean
91e103616b982ef11dd7eb5f54fbd21d5028f9b8
[ "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
4,354
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Functors with two arguments -/ import logic.function data.sum category.basic category.functor tactic.basic universes u₀ u₁ u₂ v₀ v₁ v₂ open function class bi...
9ab9350f183984060508abc199b43eb84f1b82bf
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/linear_algebra/affine_space/affine_subspace.lean
23cc0f3b1123067597c6b7474ff285b0ffba2519
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
45,973
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import data.set.intervals.unordered_interval /-! # Affine spaces This file defines affine ...
0c1145096a2924538c1f03a029ed7747e9efc5b2
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/metric_space/cau_seq_filter.lean
1ecaab4fd90129c1e11f078cbe663c0c07dbaca5
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
19,717
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, Sébastien Gouëzel Characterize completeness of metric spaces in terms of Cauchy sequences. In particular, reconcile the filter notion of Cauchy-ness with the cau_seq ...
47b10a3735a32e1087b4992824c03f8a304be05a
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/set/comm_semiring.lean
7d4e5fc3117fa08ae27f63c7955023f2e28f1450
[ "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
856
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura (set A) is an instance of a commutative semiring -/ import data.set.basic algebra.ring open set definition set_comm_semiring [instance] (A : Type) : comm_semi...
d64d3b4fc6b22377c9cdcb7ba1c91979cdd08076
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world10/level16.lean
9fe86658c4e638f937cfdb075b3ad83620e3d820
[]
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
232
lean
lemma lt_aux_two (a b : mynat) : succ a ≤ b → a ≤ b ∧ ¬ (b ≤ a) := begin intro h, split, apply le_trans _ (succ a), exact le_succ_self a, exact h, intro h2, apply not_succ_le_self a, exact le_trans (succ a) b a h h2, end
10f6d7415859868a4a31497df14da2c84b3bd9b4
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/shapes/constructions/preserve_binary_products.lean
84912f69bac7eab36a33ff91181ed7f2bba0077c
[ "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
3,445
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.limits import category_theory.limits.preserves import category_theory.limits.shapes.binary_products /-! Show that a functor `F : C ⥤ D` pre...
f711bb748711d5c61ce4399afbd46ece6a960a53
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_310.lean
da35669870a0b65ed021225bcffb9882c8faa3a9
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
202
lean
import data.set.basic variable {α : Type*} variables (s t u : set α) -- BEGIN example : s ∩ t = t ∩ s := set.ext $ λ x, ⟨λ ⟨xs, xt⟩, ⟨xt, xs⟩, λ ⟨xt, xs⟩, ⟨xs, xt⟩⟩ -- END
e2dbee065db4353ab0ddc58519c9e4ffd064a2bd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/metric_space/gromov_hausdorff.lean
4b71c30b5d6f000b8b91d9ce154c11253ddbf9c4
[]
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
8,214
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.metric_space.closeds import Mathlib.set_theory.cardinal import Mathlib.topolo...
411ac44edf1a3db933cbb715f59fc325acceef49
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/ind4.lean
6933539063f43a3a3fc5e1d3e656f8602e76dea8
[ "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
378
lean
section variable A : Type inductive list : Type := | nil : list | cons : A → list → list end check list.{1} check list.cons.{1} section variable A : Type inductive tree : Type := | node : A → forest → tree with forest : Type := | fnil : forest | fcons : tree → forest → forest check tree chec...