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
9b0095a6d6d99761b6d1ed921b1980028e41e4b9
f57749ca63d6416f807b770f67559503fdb21001
/library/data/finset/basic.lean
609e4e14bc91bf23fa2a6e24d383bacc833eb762
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,239
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, Jeremy Avigad Finite sets. -/ import data.fintype.basic data.nat data.list.perm data.subtype algebra.binary open nat quot list subtype binary function eq.ops ...
718bb772ac5dc3c35e29cb8d63942bbaf7ab7327
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/topology/algebra/ordered.lean
4a36c131a552c3948cb8a1dbeb81820ac91cf47b
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,552
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 ordered topology. -/ import order.liminf_limsup import data.set.intervals import topology.algebra.group import topology.constructions open cl...
8077aa868770f3533159e4c627abf3d560622e7b
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/polynomial/default.lean
b543a6f26b46bd838c97599632ebf34a424444f1
[ "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
141
lean
import data.polynomial.algebra_map import data.polynomial.field_division import data.polynomial.derivative import data.polynomial.identities
d5840e0f54edaf713e611cb2b4dad7b40d40fcc3
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level13.lean
74a969ab1f811d131a79cf5ee1fd6876b1b5f24f
[ "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
657
lean
import mynat.definition import mynat.add import world8.level4 namespace mynat theorem ne_succ_self (n : mynat) : n ≠ succ(n) := begin [nat_num_game] induction n with d hd, { exact zero_ne_succ 0, }, { intro h, apply hd, apply succ_inj, exact h, }, end -- th...
e9cbf56882cc6d5c765062e2c260c32823824ac1
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Parser/Syntax.lean
1560f9701bd583196bd1fcaacb75b36e67972dba
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
6,331
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Command namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribute `builtinSyntaxParser ``C...
e78f3dc6e3b35ff626d3892e9d6de84f618ceda3
2de8c1580f92bb6c28b60135f589fe9d0513faba
/src/noetherian.lean
d080360043dd22206d1d8abe510c144dd3ebd974
[]
no_license
FCL-lean/verification
44a52e40ab78b18654b8d61bb55c2c912a40d2f4
be02c698c0ca78b18762e3fe7749cdc72a55d197
refs/heads/master
1,585,960,207,309
1,560,259,990,000
1,560,259,990,000
155,650,137
0
0
null
1,541,039,704,000
1,541,038,972,000
Lean
UTF-8
Lean
false
false
1,563
lean
import data.mv_polynomial ring_theory.noetherian ring_theory.polynomial section division_ring variables {α : Type*} [decidable_eq α] [division_ring α] lemma submodule_ne_zero {s : submodule α α} (h : ¬ ↑s = ({0} : set α)) : (1 : α) ∈ s := begin have : ¬ ∀ x ∈ s, x = (0 : α) := λ H, h (begin ext...
de731e19fa0a4ecd663f3cae3b0f8a2f42721cdb
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/category/Group/images.lean
38ddb704cead06d92576f8d56824ff54f616c9b4
[ "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
3,266
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.Group.abelian import category_theory.limits.shapes.images /-! # The category of commutative additive groups has images. Note that we don't n...
a0aea2488b5d135fbd2d912d0c2d5e502f458cf7
f3a5af2927397cf346ec0e24312bfff077f00425
/src/game/world8/level11.lean
bdd7b7445fd945476ca68b6a4b4284cb8ab889f0
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/natural_number_game
05c39e1586408cfb563d1a12e1085a90726ab655
f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd
refs/heads/master
1,688,570,964,990
1,636,908,242,000
1,636,908,242,000
195,403,790
277
84
Apache-2.0
1,694,547,955,000
1,562,328,792,000
Lean
UTF-8
Lean
false
false
569
lean
import mynat.definition -- hide import mynat.add -- hide import game.world8.level10 -- hide namespace mynat -- hide /- # Advanced Addition World ## Level 11: `add_right_eq_zero` We just proved `add_left_eq_zero (a b : mynat) : a + b = 0 → b = 0`. Hopefully `add_right_eq_zero` shouldn't be too hard now. -/ /- Lemma...
843ed8e118e0c75d5a77353adec0044844db67b7
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/homology/exact.lean
6f1b0154b59ecd9d017da00a01f10e947d1f038f
[ "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
9,467
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import algebra.homology.image_to_kernel /-! # Exact sequences In a category with zero morphisms, images, and equalizers we say that `f : A ⟶ B` and `g : B ⟶ C` are ex...
f6e7b9488c8d459125e0c1d151718e62631011be
cc62cd292c1acc80a10b1c645915b70d2cdee661
/src/category_theory/abelian/abelian.lean
f52b1e748b24791e81315c0c9d7a73c6bde287bc
[]
no_license
RitaAhmadi/lean-category-theory
4afb881c4b387ee2c8ce706c454fbf9db8897a29
a27b4ae5eac978e9188d2e867c3d11d9a5b87a9e
refs/heads/master
1,651,786,183,402
1,565,604,314,000
1,565,604,314,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,588
lean
-- -- Copyright (c) 2017 Scott Morrison. All rights reserved. -- -- Released under Apache 2.0 license as described in the file LICENSE. -- -- Authors: Scott Morrison -- import category_theory.abelian.monic -- import category_theory.universal.monic -- import category_theory.universal.kernels -- open category_theory --...
8b08b6f89262a2c80982b4f6ea0d4721127dcfb1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/finsupp_vector_space_auto.lean
4afb003c01ad2d41747e911e9d6e7c4734230e92
[]
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
4,838
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear structures on function with finite support `ι →₀ β`. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.mv_polynomial.default impo...
fad91c910a9fa38bb91c40959e2e2c75cf689a03
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Util/WHNF.lean
9a3ad4c88cd1563994f9c0323ccde6543919678c
[ "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
15,545
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.Declaration import Init.Lean.LocalContext namespace Lean namespace WHNF /- =========================== Smart unfolding support ...
166e0c02f2c193702b12a2975258b330d3d53bc8
94e33a31faa76775069b071adea97e86e218a8ee
/src/logic/equiv/fin.lean
afb5793e44a0cd386ad4ffc54e63aac597df2e2c
[ "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
15,435
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.fin.vec_notation import logic.equiv.basic import tactic.norm_num /-! # Equivalences for `fin n` -/ universes u variables {m n : ℕ} /-- Equivalence between `fin ...
2db3dcd0e98344c14400fb9cb358ffc6d4a337dd
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/data/nat/cast.lean
9f00f7c4941df45dda0733b2d17699617da74461
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
4,177
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Natural homomorphism from the natural numbers into a monoid with one. -/ import tactic.interactive algebra.order algebra.ordered_group algebra.ring namespace nat varia...
6cf96e72fbfbc2f1b72e6deb7a43c208c9c240fa
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1804.lean
0e7db5d40d32c4d6d548ce733d9df3aaed030e90
[ "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
341
lean
def inc : StateM Nat Nat := do let s ← get modify (· + 1) return s def f (x : Bool) : StateM Nat Nat := do let .true := x | return (← inc) get def g (x : Bool) : StateM Nat Nat := do let .true := x | do return (← inc) get #eval g true |>.run' 0 -- `0` as expected #eval f true |>.run' 0 -- should return...
ca7988e62658bfd5147a6e5554c8a3256aed624f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/lie/ideal_operations.lean
b1ab8c6d38e2805cdaa8bbd1f0fb033883efe26b
[ "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
14,464
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 > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to m...
abb0de4db0cf2be7503788729710837e0de06a6d
8e31b9e0d8cec76b5aa1e60a240bbd557d01047c
/src/tableau2.lean
47670f9bce8d14f6fb13c178b69a09a5e205e630
[]
no_license
ChrisHughes24/LP
7bdd62cb648461c67246457f3ddcb9518226dd49
e3ed64c2d1f642696104584e74ae7226d8e916de
refs/heads/master
1,685,642,642,858
1,578,070,602,000
1,578,070,602,000
195,268,102
4
3
null
1,569,229,518,000
1,562,255,287,000
Lean
UTF-8
Lean
false
false
32,996
lean
import data.matrix.pequiv data.rat.basic tactic.fin_cases data.list.min_max partition open matrix fintype finset function pequiv local notation `rvec`:2000 n := matrix (fin 1) (fin n) ℚ local notation `cvec`:2000 m := matrix (fin m) (fin 1) ℚ local infix ` ⬝ `:70 := matrix.mul local postfix `ᵀ` : 1500 := transpose s...
95071833ba9cef520d3b451d387032120759d527
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_safe_log_issue.lean
f0df3dcd4f05655bb6f4b2d0facd3e350f0d18f3
[ "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
676
lean
import data.real open real namespace safe definition pos (x : ℝ) := x > 0 constants (exp : ℝ → ℝ) constants (safe_log : Π (x : ℝ), pos x → ℝ) lemma pos_add {x y : ℝ} : pos x → pos y → pos (x + y) := sorry lemma pos_mul {x y : ℝ} : pos x → pos y → pos (x * y) := sorry lemma log_mul [simp] : ∀ (x y : ℝ) (x_pos : po...
8b638d2b15d4ba04ed7a542db0fb6f41c9a60efc
0003047346476c031128723dfd16fe273c6bc605
/src/data/set/intervals.lean
1749bef71fc2f48c679ccc4935ad07812d841d49
[ "Apache-2.0" ]
permissive
ChandanKSingh/mathlib
d2bf4724ccc670bf24915c12c475748281d3fb73
d60d1616958787ccb9842dc943534f90ea0bab64
refs/heads/master
1,588,238,823,679
1,552,867,469,000
1,552,867,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,877
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 Intervals Naming conventions: `i`: infinite `o`: open `c`: closed Each interval has the name `I` + letter for left side + letter...
1de7337eef2312142daae1067e86fa1faf0aa77c
3b15c7b0b62d8ada1399c112ad88a529e6bfa115
/stage0/src/Leanpkg.lean
baca20288c36230b1ce33642b34d5a82bf49bebc
[ "Apache-2.0" ]
permissive
stephenbrady/lean4
74bf5cae8a433e9c815708ce96c9e54a5caf2115
b1bd3fc304d0f7bc6810ec78bfa4c51476d263f9
refs/heads/master
1,692,621,473,161
1,634,308,743,000
1,634,310,749,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,886
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich -/ import Leanpkg.Resolve import Leanpkg.Git import Leanpkg.Build import Lean.Util.Paths open System namespace Leanpkg def readManifest : IO ...
aecee6647bc37548d30ef50b213ada83e68fae60
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/complex/upper_half_plane/metric.lean
39d5417caffa58ee443683ae9bdde0c241071506
[ "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
17,514
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.complex.upper_half_plane.topology import analysis.special_functions.arsinh import geometry.euclidean.inversion /-! # Metric on the upper half-plane...
049785d239e2a58ea0e9cffb5bb280f934f08f84
4727251e0cd73359b15b664c3170e5d754078599
/src/order/succ_pred/basic.lean
a657e33acc0b5cddf8635a7e29ad4b19901e1cf2
[ "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
36,983
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 order.complete_lattice import order.cover import order.iterate import tactic.monotonicity /-! # Successor and predecessor This file defines successor and predece...
1fa0f694c84b3cf93a84de0d035c8acf0a714329
675b8263050a5d74b89ceab381ac81ce70535688
/src/analysis/normed_space/banach.lean
dfec0c4c1e9e8b3a1e87caa6a6b7db8a5f232e4f
[ "Apache-2.0" ]
permissive
vozor/mathlib
5921f55235ff60c05f4a48a90d616ea167068adf
f7e728ad8a6ebf90291df2a4d2f9255a6576b529
refs/heads/master
1,675,607,702,231
1,609,023,279,000
1,609,023,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,985
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.metric_space.baire import analysis.normed_space.operator_norm /-! # Banach open mapping theorem This file contains the Banach open mapping the...
f0f490125fd4f2a14062efd19b0d37c407e0d66f
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/real/cardinality.lean
af4dbc2f353bdf3795caeb9f4df70fd149f8889b
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,564
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import set_theory.continuum import analysis.specific_limits import data.rat.denumerable import data.set.intervals.image_preimage /-! # The cardinality of the rea...
08d45ff3178f5e18ffe3d55dbba0cb3aa9f5c932
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/category_theory/limits/shapes/constructions/limits_of_products_and_equalizers.lean
0c3044fe45d1cd4397a1355183154978e20e98e5
[ "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
4,773
lean
/- -- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.finite_products /-! # Constructing limits from products and equalizers....
9e586b17893919c5c7267e77b097d9aa08b73e8c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/option/basic.lean
6100a0849479e289dd77ef9b2fc0ecae436699e8
[]
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,767
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.logic import Mathlib.Lean3Lib.init.control.monad import Mathlib.Lean3Lib.init.control.alternative uni...
6e048ecad9915ac78e811c447f91bfee75eb3119
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/locally_convex/basic.lean
098c89bb39681e582706738ede62338907dbc55d
[ "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
14,533
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo, Bhavik Mehta, Yaël Dillies -/ import analysis.convex.basic import analysis.normed_space.lattice_ordered_group import analysis.normed_space.ordered /-! # Local convexity This file d...
e3d8fb3423ede85d1bd0a05b50b44839f9f93569
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/constructions/set.hlean
826bee75fa9fddee0fe53229483d2559ee036c34
[ "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
3,570
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, Jakob von Raumer Category of sets -/ import ..functor.basic ..category types.equiv types.lift open eq category equiv iso is_equiv is_trunc function sigma namesp...
464a11951f87f935c199fd3983627c6cc12bd871
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/group_ring_action.lean
e9e32e21882d7b1360ae04080852117f4ffc84df
[ "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,460
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 group_theory.group_action.group import data.equiv.ring import deprecated.subring /-! # Group action on rings This file defines the typeclass of monoid acting on semir...
20652e0e3d4eba64e994a0fd9bd14ad976459cb5
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/order/filter/ennreal.lean
da040c9193c1f7e3106a73e85de085bff8187c6a
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
3,945
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 -/ import data.real.ennreal import order.filter.countable_Inter import order.liminf_limsup /-! # Order properties of extended non-negative reals This file compiles filter...
b9ce5333c5b0f2463d0e2d95cd692493325bc001
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/data/int/basic.lean
2747196bd24ef695930f9d932b9b826e28265077
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
47,475
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import data.nat.basic data.list.basic algebra.char_zero algebra.order_functions open nat namespace int ...
d2adbde102a21b22f70675126723ede9b7dfc784
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/int/basic.lean
433b7cb209aceceaec82a93b377ac72a0e9e995e
[ "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
19,326
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import data.nat.basic import order.monotone.basic /-! # Basic instances on the integers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require ...
e2b3ccffd2a144788c2c6053e53c2896215fba16
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/measure_theory/integration.lean
a4588bff434a05c3eceb92b8e5e03ed2b269dc20
[ "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
37,973
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl Lebesgue integral on `ennreal`. We define simple functions and show that each Borel measurable function on `ennreal` can be approximated by a sequence ...
a47b6d1df9a7bb633a5f9464371952bfbbdf8182
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Tactic/Subst.lean
2e7b6f32563be906ff91c25a9d8222dc6560e5ae
[ "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
8,376
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.AppBuilder import Lean.Meta.MatchUtil import Lean.Meta.Tactic.Util import Lean.Meta.Tactic.Revert import Lean.Meta.Tactic.Assert import Lea...
6af14541c2afd40cd17f5c0d36184250e00cfc0f
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/measure_theory/borel_space.lean
cbe64c5a052595c5ecbcba858fe75600d291afb7
[ "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
29,479
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 measure_theory.measurable_space import topology.instances.ennreal import analysis.normed_space.basic /-! # Borel (measurable) space ## Main ...
f128a7a74a902bee1153059814b5e0cf5048c08b
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/dfinsupp.lean
225d7c9c707567a9fffa6659f8290a4ed54ecf4d
[ "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,841
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import data.finsupp.to_dfinsupp import linear_algebra.basis /-! # Properties of the module `Π₀ i, M i` Given an indexed collection of `R`-modules `M i`, the `...
0c7beb88d48ba96f4b498f3aea8f153cf14ec5ac
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/run/class1.lean
16b5a3ebec6e27aaeac5badaf3f26e1491580573
[ "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
156
lean
import logic data.prod data.num open prod inhabited definition H : inhabited (Prop × num × (num → num)) := _ (* print(get_env():find("H"):value()) *)
21c905b7811dcec8d9a75ac1d9e46fa883011cf0
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/real/division.lean
87f9af41febd56b20e6c9a082c83c4008dac2eea
[ "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
23,994
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). At this point, we no longer...
acd24afdeff0a2745a7ef46767ec95422d476d75
827a8a5c2041b1d7f55e128581f583dfbd65ecf6
/spectral/scratch.hlean
faff2a27fcd5a7df6fc5cbf1e388e67898a08297
[ "Apache-2.0" ]
permissive
fpvandoorn/leansnippets
6af0499f6f3fd2c07e4b580734d77b67574e7c27
601bafbe07e9534af76f60994d6bdf741996ef93
refs/heads/master
1,590,063,910,882
1,545,093,878,000
1,545,093,878,000
36,044,957
2
2
null
1,442,619,708,000
1,432,256,875,000
Lean
UTF-8
Lean
false
false
5,548
hlean
import .seq_colim open eq nat sigma sigma.ops quotient equiv pi is_trunc is_equiv fiber function trunc seq_colim universe variables v w variables {A A' A'' : ℕ → Type} {f : seq_diagram A} {f' : seq_diagram A'} {f'' : seq_diagram A''} {τ τ₂ : Π⦃n⦄, A n → A' n} {p : Π⦃n⦄ (a : A n), τ (f a) = f' (τ a)} ...
22b496fe8d4110c4edf77271fb99b3059d6a7a3b
367134ba5a65885e863bdc4507601606690974c1
/src/data/int/basic.lean
e631f8b557fc8ed53e6df22e0e359789caf03fe2
[ "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
53,368
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import data.nat.basic import algebra.order_functions open nat namespace int instance : inhabited ℤ := ...
ca8beb0f3c5b5fe74ba29c330b8851776d1e15c4
32da3d0f92cab08875472ef6cacc1931c2b3eafa
/src/category_theory/closed/cartesian.lean
699f922aadf5b52b82f2de304b7afb7760539fcb
[ "Apache-2.0" ]
permissive
karthiknadig/mathlib
b6073c3748860bfc9a3e55da86afcddba62dc913
33a86cfff12d7f200d0010cd03b95e9b69a6c1a5
refs/heads/master
1,676,389,371,851
1,610,061,127,000
1,610,061,127,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,338
lean
/- Copyright (c) 2020 Bhavik Mehta, Edward Ayers, Thomas Read. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Edward Ayers, Thomas Read -/ import category_theory.limits.shapes.finite_products import category_theory.limits.preserves.shapes.binary_products...
4208a60f526300e09450f27d7476942f819899b0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/witt_vector/compare.lean
ed9d52b5883c9a9192a177da32f27e31f5d8a835
[ "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,297
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import ring_theory.witt_vector.truncated import ring_theory.witt_vector.identities import number_theory.padics.ring_homs /-! # Comparison isomorph...
953f62bee467e0ce6a1bf5c13b805e2a76ee4e97
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/solutions/wednesday/structures.lean
4977c81d3de1bb1a2f09f37a426216c469721666
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,490
lean
import data.rat.basic import data.nat.parity import tactic.basic open nat noncomputable theory -- definitions are allowed to not compute in this file open_locale classical -- use classical logic in this file /-! ## Structures and Classes In this session we will discuss structures together, and then you can solve th...
231569ca8816deaa72aa9cc784cbd1a66d686e7f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/dedekind_domain/integral_closure.lean
46cabb9b4bb3e2bb4fade4b809fc9c0de8926904
[ "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
10,254
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 ring_theory.dedekind_domain.basic import ring_theory.trace /-! # Integral closure of Dedekind domains This file shows the ...
bb7990e83d6133817368520ecb559242599ef014
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/tools/debugger/cli.lean
2db09e4ad16c6e16db098e03605d812ba900044c
[]
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
728
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 Simple command line interface for debugging Lean programs and tactics. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.Lean3Lib....
235643f38a9237edeb00c9628fbf5435e5c345ec
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/pp_struct.lean
c6ddd0d5c7e44e830b71e7bba18d823cd0bd1e6c
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,241
lean
structure foo := (x : nat) (y : nat) (z : bool) check let s := {foo . x := let v1 := 10 + 10 + 20 + 30 + 40 + 10 + 20 + 30 + 40 + 50 + 10 + 10, v2 := 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 20, v3 := 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 20, v4 := 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 + 10 +...
f4aed24d69b4b81549b86a632d3bb12bcfccd2ff
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/theories/measure_theory/extended_real.lean
62c353b2c2fd085e50b0a89c1f424e74a49f7814
[ "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
15,806
lean
/- Copyright (c) 2015 Jacob Gross. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jacob Gross, Jeremy Avigad Extended reals. -/ import data.real open real eq.ops classical -- This is a hack, to get around the fact that the top level names are inaccessible when -- def...
977068d1301243ddde7adeb2d8d6c3dd924936e5
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/char_p/basic.lean
46a92ff99b75634dc553d4df84f3b6f69adb577a
[ "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
21,339
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Joey van Langen, Casper Putz -/ import algebra.hom.iterate import data.int.modeq import data.nat.choose.dvd import data.nat.choose.sum import data.zmod.defs import group_theory....
75ed2658c36e8ee0c70a6aa2f2e3b6bbe4e1dfff
7565ffb53cc64430691ce89265da0f944ee43051
/hott/homotopy/wedge.hlean
aecdfd7db5f9f7291af2c65d5f062b075c5f2bdd
[ "Apache-2.0" ]
permissive
EgbertRijke/lean2
cacddba3d150f8b38688e044960a208bf851f90e
519dcee739fbca5a4ab77d66db7652097b4604cd
refs/heads/master
1,606,936,954,854
1,498,836,083,000
1,498,910,882,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,217
hlean
/- Copyright (c) 2016 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Ulrik Buchholtz The Wedge Sum of Two Pointed Types -/ import hit.pushout .connectedness types.unit open eq pushout pointed unit trunc_index definition wedge (A B...
efe9f461bd240975dfa0a874c87f2e977261bf6f
4fa161becb8ce7378a709f5992a594764699e268
/src/analysis/normed_space/basic.lean
e490fb6e38737934ece5dc1a57c1dab95559841f
[ "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
46,881
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import topology.instances.nnreal import topology.instances.complex import topology.algebra.module import topology.metric_space.antilipschitz /-! # No...
2733b78f56fc7dbf9db07c4efbe7f19e68ef2b07
a7dd8b83f933e72c40845fd168dde330f050b1c9
/src/category_theory/instances/Mon/default.lean
cbb096a000e83b2a41c26fa9740ecac5a9b47691
[ "Apache-2.0" ]
permissive
NeilStrickland/mathlib
10420e92ee5cb7aba1163c9a01dea2f04652ed67
3efbd6f6dff0fb9b0946849b43b39948560a1ffe
refs/heads/master
1,589,043,046,346
1,558,938,706,000
1,558,938,706,000
181,285,984
0
0
Apache-2.0
1,568,941,848,000
1,555,233,833,000
Lean
UTF-8
Lean
false
false
244
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.instances.Mon.basic import category_theory.instances.Mon.colimits
903df424970741bd70a79bace7f73da40d6314c9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/eq4.lean
1298764aaa81a654be6358e0527c049a20521cbb
[ "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
285
lean
open nat definition half : nat → nat | 0 := 0 | 1 := 0 | (x+2) := half x + 1 theorem half0 : half 0 = 0 := rfl theorem half1 : half 1 = 0 := rfl theorem half_succ_succ (a : nat) : half (a + 2) = half a + 1 := rfl example : half 5 = 2 := rfl example : half 8 = 4 := rfl
38eb5b64a6815fa6adadeb46b65cf1572ed0fe95
649957717d58c43b5d8d200da34bf374293fe739
/src/category_theory/limits/preserves.lean
4df7d1e9cb46dd38ed95d9ab88a537d0ed274dfb
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
10,687
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison, Reid Barton -- Preservation and reflection of (co)limits. import category_theory.limits.limits open category_theory namespace category_theory.limits universe...
84dcba6557c31ecc39ed86efacb79f03be7ce1a0
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/basic_monitor.lean
9d5f90c960e83be93ba5425852b6685952fa5443
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
303
lean
meta def basic_monitor : vm_monitor nat := { init := 0, step := λ s, return (trace ("step " ++ s^.to_string) (s+1)) } run_command vm_monitor.register `basic_monitor set_option debugger true example (a b : Prop) : a → b → a ∧ b := begin intros, constructor, assumption, assumption end
e9b93e8f3da93e69ec8fd19fb83e739d61c2145e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/termparsertest1.lean
e430fd966a0419890c0543fc0ca7b0ddc218e167
[ "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,706
lean
import init.lean.parser.term open Lean open Lean.Parser def testParser (input : String) : IO Unit := do env ← mkEmptyEnvironment; termPTables ← builtinTermParsingTable.get; stx ← IO.ofExcept $ runParser env termPTables input "<input>" "expr"; IO.println stx def test (is : List String) : IO Unit := is.mfor $ fun input...
1273ae2294dca6f42253a8341eaae50b6a88b51f
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/list/perm.lean
f3278bc685c9a847cd72eecf99615874ee101d04
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
41,064
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro List permutations. -/ import data.list.basic logic.relation namespace list universe variables uu vv variables {α : Type uu} {β...
41c7affc5e3c814e81d59896f04228d5eddff6a4
626e312b5c1cb2d88fca108f5933076012633192
/src/tactic/lint/type_classes.lean
bc321777686ee830daea9f730c69a4902733a3d2
[ "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
22,046
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint.basic /-! # Linters about type classes This file defines several linters checking the correct usage of type c...
b17f65fc9607a625a9a220e27b01ae0ef48e8fd2
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/cubical/square.hlean
f1ecce4dee002bc2a16dc650a25dbfd135f5acb9
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
19,162
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 Squares in a type -/ import types.eq open eq equiv is_equiv namespace eq variables {A B : Type} {a a' a'' a₀₀ a₂₀ a₄₀ a₀₂ a₂₂ a₂₄ a₀₄ a₄₂ a₄₄ a₁ a₂ a₃ a₄ : A} ...
1748a7b24f97c3ffd4e73331fce2c8bcae7a9ea9
63abd62053d479eae5abf4951554e1064a4c45b4
/archive/imo/imo1959_q1.lean
aa9b76720eeda0e64100f4a99ddbab957b7ec09f
[ "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
904
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 open nat /-! # IMO 1959 Q1 Prove that the fraction `(21n+4)/(14n+3)` is irreducible for every natural number `n`. Since Lean doesn't have a concep...
8ab511060ceb6fbd0b0da93f105496245e863517
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/types/equiv.hlean
53c39e9faa0fcd9a147a6385de59d436cfe5afcd
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
6,780
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about the types equiv and is_equiv -/ import .fiber .arrow arity ..hprop_trunc open eq is_trunc sigma sigma.ops pi fiber function equ...
35ee81e9301f43f00abcd2a773e0aeb9b2d8cdc6
618003631150032a5676f229d13a079ac875ff77
/src/ring_theory/integral_closure.lean
3e9b27aeb6931ca19d2efcf21dfe04d49abc1cc8
[ "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
16,939
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.adjoin /-! # Integral closure of a subring. -/ universes u v open_locale classical open polynomial submodule section variables (R : Type u) {A : Type v} v...
475411e6a4192e02cc0f6392460ff1e2dfe2a7aa
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/finset/sort.lean
4874953a1973a6ecadde79b71e9a88f67220b303
[ "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
9,067
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.finset.lattice import data.multiset.sort /-! # Construct a sorted list from a finset. -/ namespace finset open multiset nat variables {α β : Type*} /-!...
abfac9c6ed3582fe40aeb1a293f810a1549a1dfd
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/trace_tst.lean
3e4fa17ec6d9b98933af0285aa2b15ec5cc4e4f6
[ "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
69
lean
open nat vm_eval trace "step1" (λ u, trace "hello" (λ u, succ 3))
7b5bd9915a6e2f775f6efe9899b6c15ecbd10dc4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/def2.lean
0037c4ec98f3b5a77a050c7d6a9028a0e3a8c2ee
[ "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
95
lean
definition plus (a b : nat) : nat := nat.rec_on a b (λ a' ih, nat.succ ih) vm_eval plus 3 5
303e0c97d6f7ce159ceebc1d3a649e666e0a0628
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/ordmap/ordset.lean
98ae171d6183b155703ab1888d7516b07d3bf58a
[ "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
69,878
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.ordmap.ordnode import algebra.order.ring import data.nat.dist import tactic.linarith /-! # Verification of the `ordnode α` datatype This file proves the...
65ceacddad1a25ad0829d252f7b3d8f26d91575c
785b41b0993f39cbfa9b02fe0940ce3f2f51a57d
/conf/dz2.lean
b490a6c5ce48998a62e7a90d8ac58a419ddfd864
[ "MIT" ]
permissive
loso3000/OpenWrt-DIY-1
75b0d70314d703203508218a29acefc3b914d32d
5858be81ee44199908cbaa1a752b17505c9834e8
refs/heads/main
1,690,532,461,283
1,631,008,241,000
1,631,008,241,000
354,817,508
1
0
MIT
1,617,623,493,000
1,617,623,492,000
null
UTF-8
Lean
false
false
14,025
lean
CONFIG_TARGET_x86=y CONFIG_TARGET_x86_64=y CONFIG_TARGET_x86_64_DEVICE_generic=y # 设置固件大小 CONFIG_TARGET_KERNEL_PARTSIZE=64 CONFIG_TARGET_ROOTFS_PARTSIZE=1516 # EFI支持: CONFIG_GRUB_IMAGES=y CONFIG_EFI_IMAGES=y # CONFIG_VMDK_IMAGES is not set # 不压缩efi # CONFIG_TARGET_ROOTFS_TARGZ is not set # CONFIG_TARGET_IMAGES_GZIP is ...
f9a68fb71c83e101886a0cf49777ed869753ba46
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/Tactic/Conv/Congr.lean
15373d736d293d759b413518c02d25536f910b2a
[ "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
7,798
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Simp.Main import Lean.Meta.Tactic.Congr import Lean.Elab.Tactic.Conv.Basic namespace Lean.Elab.Tactic.Conv open Meta private def c...
3385991c40b165d6f1c75de78f7b470c1d28e879
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/trust0/t1.lean
b5a37320680114112239906f9d2a9ade6821ef25
[ "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
35
lean
import Init.System.IO #print trust
c33ca7048ecf1f09133e68114bcc096adb454ddc
2bafba05c98c1107866b39609d15e849a4ca2bb8
/src/week_1/Part_A_logic.lean
f328aa414d16e0ea42b37dca50f7fccab9aa3de6
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/formalising-mathematics
b54c83c94b5c315024ff09997fcd6b303892a749
7cf1d51c27e2038d2804561d63c74711924044a1
refs/heads/master
1,651,267,046,302
1,638,888,459,000
1,638,888,459,000
331,592,375
284
24
Apache-2.0
1,669,593,705,000
1,611,224,849,000
Lean
UTF-8
Lean
false
false
11,734
lean
-- We import all of Lean's standard tactics import tactic /-! # Logic We will develop the basic theory of following five basic logical symbols * `→` ("implies" -- type with `\l`) * `¬` ("not" -- type with `\not` or `\n`) * `∧` ("and" -- type with `\and` or `\an`) * `↔` ("iff" -- type with `\iff` or `\lr`) * `∨` ("or...
734133b5f20ffe4ff2acffdcf06cd18863c5e519
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Util/Store.lean
b4fc130e66f0748741febdf36a8b9f52ab785c5c
[ "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,301
lean
/- Copyright (c) 2022 Mac Malone. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mac Malone -/ namespace Lake /-- A monad equipped with a dependently typed key-value store for a particular key. -/ class MonadStore1 {κ : Type u} (k : κ) (α : outParam $ Type v) (m : Typ...
1079b968d60bb4a26b505712575df2f3c52b6364
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/continuous_function/bounded.lean
7ecf9de6162385861a704442c58826aed5de6a7e
[ "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
58,728
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth -/ import analysis.normed_space.lattice_ordered_group import analysis.normed_space.operator_norm import analysis....
436fd0feac342366e04222f6db6284af3ad94f7d
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/homotopy/sphere.hlean
94d4de7d27f79700e1fdecf48632f74cf2064b92
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
13,723
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Declaration of the n-spheres -/ import .susp types.trunc open eq nat susp bool is_trunc unit pointed algebra /- We can define spheres with the following possib...
aba11c3a072596724ac6e7be97fb525e5a700e77
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/matchtac.lean
ca3ed4f0f9e00cb2a43b1143eae084162f758922
[ "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
3,347
lean
theorem tst1 {α : Type} {p : Prop} (xs : List α) (h₁ : (a : α) → (as : List α) → xs = a :: as → p) (h₂ : xs = [] → p) : p := by match (generalizing := false) h:xs with | [] => exact h₂ h | z::zs => apply h₁ z zs; assumption theorem tst1' {α : Type} {p : Prop} (xs : List α) (h₁ : (a : α) → (as : List α) → xs =...
6f9baec3ff1a372a7535f6835299454c0858514a
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/group_theory/subgroup.lean
b3e489115a99cc7adcad084a84c4d27e2ab2cecc
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
64,443
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 import algebra.group.conj import algebra.pointwise import order.atoms /-! # Subgroups This file defines multiplicative and additive subgroup...
e47fde9b48ef6669169a645ae0e1276d541b84b6
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/algebra/char_p/basic.lean
b8a754fe5b0814a31cc170d79a0ef24a17dfa361
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,197
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz -/ import data.fintype.basic import data.nat.choose import data.int.modeq import algebra.module.basic import algebra.iterate_hom import group_theory....
864aa797f1d6a4d6275dfdc8cb5c21178cc4fad9
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/continuous_function/weierstrass.lean
577f15005b606f97f1a6e37129c6a074c3829997
[ "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
5,414
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 algebra.algebra.subalgebra import analysis.special_functions.bernstein /-! # The Weierstrass approximation theorem for continuous functions on `[a,b]` We've ...
4a3222e373690ec4a776fa0d06f7ede790c03e2f
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/data/polynomial/coeff.lean
18df6483a9bf1e9abed4aa9876cdfc7726b8f564
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,985
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.monomial import data.finset.nat_antidiagonal /-! # Theory of univariate polynomials The theorems ...
b5f2834590b23177a9d7210214ce27af4f296c1f
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/normed_space/units.lean
6e0ae1f8fa2d111fa91c0c6a0778caac75afaadc
[ "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
12,207
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.specific_limits /-! # The group of units of a complete normed ring This file contains the basic theory for the group of units (invertible elements...
46c03e2545249a65c9551dc46c5abf9a91642c2e
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/order/jordan_holder.lean
f2942f572ec05241c2975a2607f913f1d394df17
[ "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
30,872
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 order.lattice import data.fin import data.list.sort import data.equiv.fin import data.equiv.functor /-! # Jordan-Hölder Theorem This file proves the Jordan Hölder...
aa9c326acfad13185763398196334203e254d1f2
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Data/Format.lean
f65a5a7ff26457e477ef72ff730c08837657ed1a
[ "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
7,832
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 inductive Format | nil : Format | line : Format | text ...
9717a35b21e1767ae5eec44ffa8afdfc1ce3b615
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/category/CommRing/limits.lean
d31664d21a99b600e6ffc6ac28fafccb9ac31d57
[ "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
15,387
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.ring.pi import algebra.category.CommRing.basic import algebra.category.Group.limits import ring_theory.subring /-! # The category of (commutative) rin...
9beef6b889be650be1a506456d72e1141448389f
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/meta3.lean
d36a03fe0e37746a6ee7033f0c13c55ad104080f
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,856
lean
import Lean.Meta new_frontend open Lean open Lean.Meta def dbgOpt : Options := let opt : Options := {}; let opt := opt.setBool `trace.Meta true; -- let opt := opt.setBool `trace.Meta.check false; opt def print (msg : MessageData) : MetaM Unit := trace! `Meta.debug msg def check (x : MetaM Bool) : MetaM Unit := unles...
5753aa7997e07cc939381002ec44e8a2741ec546
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/filter/extr.lean
764807b64c307c98408955eaf4830271d8755c62
[]
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
33,221
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.filter.basic import Mathlib.PostPort universes u v w x u_1 u_2 namespace Mathlib...
8b88e885cfec59ed424c2e7988b685231cd2b6c2
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/adjunctions/default.lean
a2a7600826642848c6cbbc87896fa633e607bf8f
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
3,266
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 category_theory.natural_transformation import category_theory.opposites import category_theory.types import category_theory.tactics.obviou...
e99a392f735723fc38782009b8957d87ce3dc0fb
63abd62053d479eae5abf4951554e1064a4c45b4
/src/tactic/core.lean
cccea3a2b609282a31cf39057d6f4455cb2ba075
[ "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
91,634
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic import logic.function.basic import control.basic import meta.expr import meta.rb_map import data.boo...
de9462c431f6ff9f158dff7cd728807fdfc59dee
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/field_theory/minimal_polynomial.lean
a9ab3809211bafe3b09a901b53048c304bce1e4b
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,464
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johan Commelin -/ import ring_theory.integral_closure import data.polynomial.field_division import ring_theory.polynomial.gauss_lemma /-! # Minimal polynomials This file ...
09dc5e499cc6cfc0aa91cd6b9f0d4da5ab3d774f
d8820d2c92be8052d13f9c8f8c483a6e15c5f566
/src/Exercises/Exercies1.lean
b728aef15a2738dd059b5fc47998b1b443ad122b
[]
no_license
JasonKYi/M4000x_LEAN_formalisation
4a19b84f6d0fe2e214485b8532e21cd34996c4b1
6e99793f2fcbe88596e27644f430e46aa2a464df
refs/heads/master
1,599,755,414,708
1,589,494,604,000
1,589,494,604,000
221,759,483
8
1
null
1,589,494,605,000
1,573,755,201,000
Lean
UTF-8
Lean
false
false
309
lean
/- Exercise 1. Try to prove that ¬ P ↔ (P → false) without using automation! Here are some basic tactics that might help : http://wwwf.imperial.ac.uk/~buzzard/xena/html/source/tactics/guide.html -/ example (P : Prop) : ¬ P ↔ (P → false) := begin sorry -- Replace the sorry with your proof! end
035ecac65738b02726c9dd4fff288b3b84f1a039
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/uniform_space/uniform_convergence.lean
3ea85237b0a6e0f43868b7148a276119bec65a48
[ "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
16,639
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 topology.uniform_space.basic /-! # Uniform convergence A sequence of functions `Fₙ` (with values in a metric space) converges uniformly on a set `s` to...
e8c40229559cbb9df897e59a30d6fadd687e3d65
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/complex/exponential.lean
8f3bf876f75e2ed16e4ae71630282bbb149b1a09
[ "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
58,838
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 -/ import algebra.geom_sum import data.nat.choose.sum import data.complex.basic /-! # Exponential, trigonometric and hyperbolic trigonometric funct...
67e04299d1e080ffdeb6b846875b406aba3acf20
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/separation.lean
c5fc7532ce7e7be1abb45818eeea830c550ec72d
[ "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
93,076
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.subset_properties import topology.connected import topology.nhds_set import topology.inseparable /-! # Separation properties of topol...
1a929c0818f8899c589e709a2203427b1dc5fcd3
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/linear_algebra/bilinear_form.lean
abf02c746a125c58340d25f0cf0ea232e28265d3
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
9,120
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Andreas Swerdlow -/ import linear_algebra.tensor_product /-! # Bilinear form This file defines a bilinear form over a module. Basic ideas such as orthogonality are also introduced,...
86a5ca6300616210c58e7ec7fe613d7db84b6a90
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/793b.lean
391c4504c7e10ceab22ac54e9b24c1e4a408a55b
[ "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
41
lean
import data.rat open rat check (1.2:rat)
512e3dbbc73c0c74bd8b15f77ca5d699f2553c9e
9028d228ac200bbefe3a711342514dd4e4458bff
/src/topology/constructions.lean
8bfb4a98bea1f0feaa1c2d385a33c0751563bff8
[ "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
34,342
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 -/ import topology.maps /-! # Constructions of new topological spaces from old ones This file constructs products, sums, subtypes and q...
b27c908bae616015bed14ba512fb6376e8078f45
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/archive/imo/imo1988_q6.lean
aebb4e890a51227c7db740d409a35d40e0d0303d
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
13,855
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.nat.prime import data.rat.basic import order.well_founded import tactic.linarith import tactic.omega /-! # IMO1988 Q6 and constant descent Vieta jumping...
8d22f82f4367b1b6eed7832368acae955fd1739c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/simp_dsimp.lean
eb0f14616b5f6e7ffc7651ac0d5f53e4a2e84b97
[ "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
306
lean
opaque A : Nat → Type opaque f (x : Nat) (a : A x) : Nat example (x : Nat) (a : A (x + 0)) : f (x + 0) a = x := by simp trace_state -- ⊢ f x a = x sorry example (x : Nat) (a : A (x + 0)) : f (x + 0) a = x := by simp (config := { dsimp := false }) trace_state -- ⊢ f (x + 0) a = x sorry
5f8f5b6f1417128e6b4321090e11dd0d5e9fa3ff
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/group_power/lemmas.lean
56a4139af2701aba203e0383383e059196e5afab
[ "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
33,338
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.invertible import data.int.cast /-! # Lemmas about power operations on monoids and groups This file contains lemmas about `monoid.pow`...
1a2ef285349568c89066c4e88e5867d0614a8a0f
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/metric_space/metrizable.lean
7fb64fc6a9b69786b10d7a4d6e65d113b74a45d9
[ "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,665
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.specific_limits.basic import topology.urysohns_lemma import topology.continuous_function.bounded import topology.uniform_space.cauchy /-! # Metriza...
40b359a5c2c264249a63e207ab000baa75accfed
26ac254ecb57ffcb886ff709cf018390161a9225
/src/ring_theory/polynomial_algebra.lean
af77fe6384e7f3fd9e1e389cf9c9760ece42fe71
[ "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
11,939
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 ring_theory.tensor_product import ring_theory.matrix_algebra import data.polynomial /-! # Algebra isomorphism between matrices of polynomials and polynomials ...
f9b2aa5dd43af405eaed8db13256d06bda1d5421
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/struct_infer.lean
1114180967832533a27b52783dd51b043770fd6d
[ "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
644
lean
import data.nat.basic open nat definition associative {A : Type} (op : A → A → A) := ∀a b c, op (op a b) c = op a (op b c) structure semigroup [class] (A : Type) := mk {} :: (mul: A → A → A) (mul_assoc : associative mul) definition nat_semigroup [instance] : semigroup nat := semigroup.mk nat.mul nat.mul.assoc examp...
ed4cf8e27befed997988b633717577a5f5a4f895
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/finite_auto.lean
fe08139351ee9bdd4c85d4aa97e85e7b843421e8
[]
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
25,389
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.basic import Mathlib.PostPort universes u u_1 v u_2 x u_3 n...