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
ac5177426b10c1b1ef0dd981505f90b11240e887
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Meta/WHNF.lean
fb590464f56e78d370eaf10d3b68ad6f615491c0
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,893
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.AuxRecursor import Init.Lean.Util.WHNF import Init.Lean.Meta.Basic import Init.Lean.Meta.LevelDefEq namespace Lean namespace Meta ...
a9acd052b039ffa4b63dabfb2012815dac2de820
01f6b345a06ece970e589d4bbc68ee8b9b2cf58a
/src/Fontaine_period_rings.lean
22460bba031a9390ac57c87fe9e2380696cb341e
[]
no_license
mariainesdff/norm_extensions_journal_submission
6077acb98a7200de4553e653d81d54fb5d2314c8
d396130660935464fbc683f9aaf37fff8a890baa
refs/heads/master
1,686,685,693,347
1,684,065,115,000
1,684,065,115,000
603,823,641
0
0
null
null
null
null
UTF-8
Lean
false
false
3,619
lean
/- Copyright (c) 2023 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import field_theory.is_alg_closed.algebraic_closure import data.polynomial.laurent import ring_theory.witt_vector.basic import ring_t...
4c8d30298924e9b04754a016459ae9b1ad3672d1
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/struct_inst_exprs.lean
8c85a3d77f7034ef41ca3215790f997ecc54e2ea
[ "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
471
lean
open nat prod set_option pp.coercions true definition s : nat × nat := pair 10 20 structure test := (A : Type) (a : A) (B : A → Type) (b : B a) definition s2 := ⦃ test, a := (3:nat), b := (10:nat) ⦄ eval s2 definition s3 := {| test, a := (20:nat), s2 |} eval s3 definition s4 := ⦃ test, A := nat, B := λ a, nat, ...
11d8cb359ebae4144572f01308b5acd196d66c6b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/measure_theory/borel_space_auto.lean
9d8ce302d6914aa59c8d177287f9f03cb4d4da4a
[]
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
70,980
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.measure_theory.measure_space import Mathlib.measure_theory.ae_measurable_s...
f9c0337fa86b8632b3d4d4ca03b357ec8122ea37
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/algebra/algebra.lean
7057336c41ad8fa027fbaa69c125ded1e2e4ae09
[ "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
6,340
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.basic import topology.algebra.module.basic import ring_theory.adjoin.basic /-! # Topological (sub)algebras A topological algebra o...
ce4347e1e223f1d378fec9acd21996480da19121
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/homotopy/cellcomplex.hlean
ad21d442bc74fdd83f0fe42c823bbba36be6d5ea
[ "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
1,877
hlean
/- Copyright (c) 2015 Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz -/ import types.trunc homotopy.sphere hit.pushout open eq is_trunc is_equiv nat equiv trunc prod pushout sigma sphere_index unit -- where should this be? definition ...
6f38b017f1141662b98e8c9f186e96cd13d2aa19
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/directed.lean
24adbf7271e4d44f6745c7d03678545c73b15b74
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,651
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.lattice import data.set.basic /-! # Directed indexed families and sets This file defines directed indexed families and directed sets. An indexed family...
4bfe1b51132aeff229b27dc8a2f07000745e87b2
0f5090f82d527e0df5bf3adac9f9e2e1d81d71e2
/src/jalex/scratch.lean
9a7b29055628e5084976e3d3ed05f3360714179f
[]
no_license
apurvanakade/mc2020-lean-projects
36eb42c4baccc37183635c36f8e1b3afa4ec1230
02466225aa629ab1232043bcc0a053a099fdb939
refs/heads/master
1,688,791,717,534
1,597,874,092,000
1,597,874,092,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
791
lean
import tactic section trichotomy open tactic expr meta def tactic.trichotomy (a b : expr) (h : name) : tactic unit := do v ← mk_app ``lt_trichotomy [a, b], rcases none (pexpr.of_expr v) [[rcases_patt.one h], [rcases_patt.one h], [rcases_patt.one h]] namespace tactic.interactive setup_tactic_parser open interactiv...
00aa0f383e988e636fe9d98e32e4ba4b1c1e5893
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/compiler_erase_bug.lean
996f184978538b466da4a06f12c775ce069d9a95
[ "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
151
lean
def f (h : α = { n : Nat // True }) (a : α) : Nat := (cast h a).casesOn (motive := fun _ => Nat) fun val prop => val #eval f rfl ⟨42, ⟨⟩⟩
ce7134b325d5c897636f20f7cdb17b3e9e278fe9
bb31430994044506fa42fd667e2d556327e18dfe
/src/ring_theory/roots_of_unity.lean
d4ba7b344f82ffff464ff63a7b0de265814e18d1
[ "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
47,533
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.char_p.two import algebra.ne_zero import data.polynomial.ring_division import field_theory.finite.basic import field_theory.minpoly.gcd_monoid import ...
b475e8fa2ee04339e72bce7d43b1a144776da021
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/multilinear_auto.lean
bb8edbf63ffab9ed26859a153d679d94127bbae5
[]
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
32,524
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.algebra.module import Mathlib.linear_algebra.multilinear import Mathlib.Post...
4179fd8e10e144be398b16717fae403f359f365e
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/data/set.lean
aaa0a2f12e19de79e546bb765766ecc9d832e3ab
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,117
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 --------------------------------------------...
3e5b4e5acc5517e28b7a4f3b39bf9002f58bf74f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/Rewrite.lean
449430f4f377324f08c6b60a8e54e01ad903ce18
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
3,257
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.KAbstract import Lean.Meta.Check import Lean.Meta.Tactic.Apply namespace Lean.Meta ...
73fc04a88ae32e9ea9d412904bff636020cf3b6b
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/category/Top/basic.lean
0db070ce66b0ca3576712bf9b9f2412cb5325cc9
[ "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,683
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.concrete_category.unbundled_hom import topology.continuous_map import topology.opens open category_theory open...
3bda3b30054e2c2c84927cb8a0efcdf4577b8348
874a8d2247ab9a4516052498f80da2e32d0e3a48
/pigeonhole_init.lean
69271a56d1bf7126e695d1b39dfe7cf2289c5c1f
[]
no_license
AlexKontorovich/Spring2020Math492
378b36c643ee029f5ab91c1677889baa591f5e85
659108c5d864ff5c75b9b3b13b847aa5cff4348a
refs/heads/master
1,610,780,595,457
1,588,174,859,000
1,588,174,859,000
243,017,788
0
1
null
null
null
null
UTF-8
Lean
false
false
1,186
lean
def injective {X Y} (f : X → Y) := ∀ x₁ x₂, f x₁ = f x₂ → x₁ = x₂ def range {X Y} (f : X → Y) := { y | ∃ x, f x = y } /-- Type of pairs (k,p) where k is a natural number and p is a witness to the proof that k < n. -/ def finite_subset (n : ℕ) := Σ' k, k < n def lift_finite (m n : ℕ) (p : m < n) : finite_...
385c14c81f7702fc24af215764702cfd1d0ae675
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/set_theory/cardinal_auto.lean
acc2be484e97e5222238156cedcbcc825c573b1b
[]
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
34,464
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, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.countable import Mathlib.set_theory.schroeder_bernstein import Math...
fa6e3959d07212e03320511f1670a61852677664
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebra/floor.lean
20f848d0fbbf27ab9a252830693379d884a361f2
[ "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
9,849
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import data.int.basic import tactic.linarith tactic.abel /-! # Floor and Ceil ## Summary We define `floor`, `ceil`, and `nat_ceil` functions on li...
125b35783bbd6995bb00c41bf73e7647959393a4
fffbc47930dc6615e66ece42324ce57a21d5b64b
/src/linear_algebra/basic.lean
72f671b92c678430d0022aa006fde8256130cde0
[ "Apache-2.0" ]
permissive
skbaek/mathlib
3caae8ae413c66862293a95fd2fbada3647b1228
f25340175631cdc85ad768a262433f968d0d6450
refs/heads/master
1,588,130,123,636
1,558,287,609,000
1,558,287,609,000
160,935,713
0
0
Apache-2.0
1,544,271,146,000
1,544,271,146,000
null
UTF-8
Lean
false
false
59,444
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, Kevin Buzzard Basics of linear algebra. This sets up the "categorical/lattice structure" of modules, submodules, and linear maps. -/ import algebra.pi...
91bdd35a6bfdf9ddf546379c24a4ed3b4bf5a692
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/topology/algebra/ordered.lean
93d5e809198d55b96101fd7893122e707e4df7bc
[ "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
167,211
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import tactic.linarith import tactic.tfae import algebra.archimedean import algebra.group.pi import algebra.ordered_ring import order...
1c33920ce4f1632d37ba74e4469237ee0606f0d3
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/nat/sqrt.lean
733e2c3e91b10f3aa9d512941bc4d08bd5e32fe4
[ "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
9,618
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, Johannes Hölzl, Mario Carneiro -/ import data.int.basic /-! # Square root of natural numbers This file defines an efficient binary implementation of the squ...
66d7702483367eac4dc027a1609edc5d82842578
690889011852559ee5ac4dfea77092de8c832e7e
/src/tactic/omega/int/main.lean
ec6f744da50df1c8a681c0a54aca37b5fa5b0f41
[ "Apache-2.0" ]
permissive
williamdemeo/mathlib
f6df180148f8acc91de9ba5e558976ab40a872c7
1fa03c29f9f273203bbffb79d10d31f696b3d317
refs/heads/master
1,584,785,260,929
1,572,195,914,000
1,572,195,913,000
138,435,193
0
0
Apache-2.0
1,529,789,739,000
1,529,789,739,000
null
UTF-8
Lean
false
false
2,382
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Main procedure for linear integer arithmetic. -/ import tactic.omega.prove_unsats import tactic.omega.int.dnf open tactic namespace omega namespace int open_locale omega.int ...
4135316a1dd13cd9d5175a17f2b20649d32376c6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/nat/cast/with_top.lean
d17168e115c7a54106a47726d8de80a565200173
[ "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
629
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.order.monoid.with_top import data.nat.basic /-! # Lemma about the coercion `ℕ → with_bot ℕ`. An orphaned lemma about casting from `ℕ` to `with_bot ℕ`...
887a930256cf40ad4811426496a404f03c09118a
968e2f50b755d3048175f176376eff7139e9df70
/examples/pred_logic/unnamed_66.lean
bcf2f785f0e4dfc6f56eee9009a3be435e1ce07d
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
151
lean
def double (x : ℤ) : ℤ := 2 * x def square (y : ℤ) : ℤ := y * y def avg (x y : ℤ) : ℤ := (x + y)/2 -- BEGIN #check double #check avg -- END
d189db1ddda02e3f394e9ba2643a3cdaa2afa7a9
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/abelian/pseudoelements.lean
00d063cf3461534210cf56bc98a1df75e798bace
[ "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
20,140
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 category_theory.abelian.exact import category_theory.over import algebra.category.Module.abelian /-! # Pseudoelements in abelian categories A *pseudoelement* o...
54107d1a21631b529bd498e8ff94af42f9b20a14
69bc7d0780be17e452d542a93f9599488f1c0c8e
/11-12-2019.lean
a0c218d60d0f6eb02481de92a28cccfb16fe11b8
[]
no_license
joek13/cs2102-notes
b7352285b1d1184fae25594f89f5926d74e6d7b4
25bb18788641b20af9cf3c429afe1da9b2f5eafb
refs/heads/master
1,673,461,162,867
1,575,561,090,000
1,575,561,090,000
207,573,549
0
0
null
null
null
null
UTF-8
Lean
false
false
3,767
lean
/- There are two key things we do with proofs. (1) We build them (2) We use them In logic, the basic rules for building, or constructing, proofs go by the name of introduction rules. The basic rules for using proofs are called elimination rules. Each *form* of proposition has its own introduction and elimination rul...
055ce2fd3e52e54c7be02e0f6dc58402a896fae1
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/homotopy/smash.hlean
aa6ca9857f6db477f8f2bb8dbe8ba332ab554044
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
6,766
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, Floris van Doorn The Smash Product of Types. One definition is the cofiber of the map wedge A B → A × B However, we define it (equivalently) as the pushout of...
bcc5335caa416363f1ef2086a4a9a9c31084ae1a
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/Tactic/Simp/SimpLemmas.lean
5948fb09a2f93c8b07676c4216396fdc84189fe2
[ "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
12,392
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.ScopedEnvExtension import Lean.Util.Recognizers import Lean.Meta.DiscrTree import Lean.Meta.AppBuilder import Lean.Meta.Tactic.AuxLemma namespac...
b147765502f953df6bc9522b263894f2f94a621a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/metric_space/isometry.lean
57f57fbfa6071f1f28d96044f14ea9d5106b011a
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,085
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel -/ import topology.metric_space.antilipschitz /-! # Isometries We define isometries, i.e., maps between emetric spaces th...
ae9e9318918ff0f4b0c93ee0818a9a33c876fa09
c777c32c8e484e195053731103c5e52af26a25d1
/src/order/well_founded_set.lean
37a675eb498cbcdc562b9856b5115ccf191e6458
[ "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
29,953
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.antichain import order.order_iso_nat import order.well_founded import tactic.tfae /-! # Well-founded sets > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > ...
1bf10f8856de599de843512ee0d84d4648bb8e58
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/pkg/deriving/lakefile.lean
2567ab7566b52a96c34379b07fc075b371e2d0d6
[ "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
96
lean
import Lake open System Lake DSL package user_deriving @[default_target] lean_lib UserDeriving
17a56c3138203b89c0bf9a444478a35279046487
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/analysis/measure_theory/measurable_space.lean
beac0f33a36e32383cae3c1cd359312fc958cb39
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,885
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 Measurable spaces -- σ-algberas -/ import data.set data.set.disjointed data.finset order.galois_connection data.set.countable open classical set lattice local attribute...
a406100752d64abf102b9476d543569c32a4a3b0
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/algebra/group_completion.lean
0a1e17401579334ce02ad104bebabd6758ce4bbc
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
5,516
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 Completion of topological groups: -/ import topology.uniform_space.completion topology.algebra.uniform_group noncomputable theory section group open un...
cec7aad5c02f3af8ab14c70d70db6db78035441b
90bd8c2a52dbaaba588bdab57b155a7ec1532de0
/src/covering_space/def.lean
0defdef36a42e5d0e09256387289e1269c452367
[ "Apache-2.0" ]
permissive
shingtaklam1324/alg-top
fd434f1478925a232af45f18f370ee3a22811c54
4c88e28df6f0a329f26eab32bae023789193990e
refs/heads/master
1,689,447,024,947
1,630,073,400,000
1,630,073,400,000
381,528,689
2
0
null
null
null
null
UTF-8
Lean
false
false
683
lean
import topology.continuous_function.basic import topology.local_homeomorph import locally_path_connected variables {X Y X' : Type _} [topological_space X] [topological_space Y] structure is_covering_map (p : C(Y, X)) := (U : X → set X) (is_open_U : ∀ x, is_open (U x)) (mem_U : ∀ x, x ∈ U x) (cover : X → set (set Y)) ...
869cdc3414fe086a078b831d95f2f39540bfdb95
37da0369b6c03e380e057bf680d81e6c9fdf9219
/hott/algebra/group.hlean
8790257182f426489290c45b2597697e1fc7dc83
[ "Apache-2.0" ]
permissive
kodyvajjha/lean2
72b120d95c3a1d77f54433fa90c9810e14a931a4
227fcad22ab2bc27bb7471be7911075d101ba3f9
refs/heads/master
1,627,157,512,295
1,501,855,676,000
1,504,809,427,000
109,317,326
0
0
null
1,509,839,253,000
1,509,655,713,000
C++
UTF-8
Lean
false
false
7,493
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Various multiplicative and additive structures. Partially modeled on Isabelle's library. -/ import algebra.inf_group open eq eq.ops -- note: ⁻¹ wil...
4879093f27449a282cf5df6327d87232b364d7d9
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/struct_bug1.lean
304ef761cf99e92efa4a2f1193c3ca7b1e975034
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
194
lean
variable (A : Type) structure foo (a : A) := (eqpr : a = a) context parameter (B : Type) structure foo2 (b : B) := (eqpr : b = b) check foo2 definition tst : B → Type₁ := foo2 end
cd085b23de5b2b1ee60f24cae16b45992126a13e
4727251e0cd73359b15b664c3170e5d754078599
/src/data/bitvec/core.lean
25758c82e06f95c5e59e78de5df76e189e24e9d9
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,753
lean
/- Copyright (c) 2015 Joe Hendrix. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joe Hendrix, Sebastian Ullrich -/ import data.vector.basic import data.nat.basic /-! # Basic operations on bitvectors This is a work-in-progress, and contains additions to other theori...
c4ac487e1a1f04e7dcde7a3258f8693c7b364093
4fa161becb8ce7378a709f5992a594764699e268
/src/topology/subset_properties.lean
239655860ccb3bdb9c6aa8b40673b42215022b17
[ "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
54,452
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import topology.continuous_on /-! # Properties of subsets of topological spaces ## Main definitions `compact`, `is_clopen`, `is_ir...
5814739a6bf8935019459de0b54dc550264a343a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/nameRepr.lean
5c0d3a9a504e4c16d5bc4e0d4fa22b9317f000a2
[ "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
315
lean
#eval Lean.Name.mkStr (Lean.Name.mkNum `foo 2) "bla" #eval `foo.bla #eval Lean.Name.anonymous #eval Lean.Name.mkNum Lean.Name.anonymous 11 #eval Lean.Name.mkNum `foo.bla 5 #eval Lean.Name.mkStr Lean.Name.anonymous "abc" #eval Lean.Name.mkStr Lean.Name.anonymous "--->" #eval Lean.Name.mkStr Lean.Name.anonymous "2"
f3a37018f5359af7eeaeadc5171ea2e47aa029ee
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/rel.lean
3d2c2de0970153a102b16a500a0c4c4bfee14122
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
6,088
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Operations on set-valued functions, aka partial multifunctions, aka relations. -/ import tactic.basic data.set.lattice order.complete_lattice variables {α : Type*} {β : ...
1855678e43859feb4ad9b6da477fbfa67e7a4ef4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/eigenspace/minpoly.lean
ada135c892033115af8451dba81a1c59ec085122
[ "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
3,766
lean
/- Copyright (c) 2020 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import linear_algebra.eigenspace.basic import field_theory.minpoly.field /-! # Eigenvalues are the roots of the minimal polynomial. > THIS FILE IS SYNCHRON...
c246972e100543c542e0933e0927c8d867601ebe
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/polynomial/content.lean
896976c90e649e903e6e0318d79d8059759decaf
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
18,144
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.gcd_monoid.finset import data.polynomial.field_division import data.polynomial.erase_lead import data.polynomial.cancel_leads /-! # GCD structures on ...
91698145358abc207c6c03651136078be2f73122
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/nat/choose/vandermonde.lean
b0a4ea8aa9c699d17e0ea35f26e6b1150b536aaf
[ "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
1,136
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.nat.choose.basic import ring_theory.polynomial.basic /-! # Vandermonde's identity In this file we prove Vandermonde's identity (`nat.add_choose_eq`): ...
86ad8f0ccf82e658c735d1f85bfe2b820770ae4a
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/data/dfinsupp.lean
9c80fdbc84fd3bac4b501981ffa1172a2ec9c3ab
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
32,837
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 algebra.pi_instances /-! # Dependent functions with finite support For a non-dependent version see `data/finsupp.lean`. -/ universes u u₁ u₂ v v₁ v₂ v...
265671dde8e7a651a8b90b5f6984a0ce093c1ba2
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/list/set.lean
770464b31b2def9ae0ecc01c688000f093efff1b
[ "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
37,303
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Set-like operations on lists -/ import data.list.basic data.list.comb open nat function decidable helper_tactics eq.ops namespace list section erase variable {A ...
936424b38f24b878b170641174d8fa429bb6106b
77cc0c0aa84a25574cde49a43e1ea911e4992d9b
/Lean Proof Blowfish.lean
fc965f20dcd6547067abdfb368827208974fba63
[]
no_license
GGFSilva/LeanCryptographyProof
41ed2cb4d67949f2e2dc6eba63d82c786aa179d3
bea98d6201546f1e38a08fd3eb7be494e589b006
refs/heads/master
1,621,411,996,962
1,585,665,794,000
1,585,665,794,000
251,599,965
2
2
null
null
null
null
UTF-8
Lean
false
false
13,358
lean
variable data : Type variables L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 L12 L13 L14 L15 L16 R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 L0_D L1_D L2_D L3_D L4_D L5_D L6_D L7_D L8_D L9_D L10_D L11_D L12_D L13_D L14_D L15_D L16_D R0_D R1_D R2_D R3_D R4_D R5_D R6...
75619f09c84051f844f5294fcb2d5e73ed537053
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Compiler/ExportAttr.lean
c98c777471ed323ae89f89146a4226a3a2e240b0
[ "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,441
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.Attributes namespace Lean private def isValidCppId (id : String) : Bool := let first := id.get 0; first.isAlpha && (id.toSubstri...
142a867e7c046577c24c2040ee188d5fc8802b8c
ce89339993655da64b6ccb555c837ce6c10f9ef4
/bluejam/group_theory.lean
118ccc1bcaeb7f98d6f422629cadbb5b971701e0
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
5,794
lean
namespace hidden constants (α : Type) (op : α → α → α) notation a `*` b := op a b def identity_element (e : α) := ∀ x : α, e * x = x ∧ x * e = x -- We don't need to define this axiom, because we'll define an identity element later axiom exists_idetity_element : ∃ e : α, identity_element e -- Define an element e is i...
4d3256a4526aac2d86acdb5d130ded4a8c56a33d
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/print_meta.lean
92473074ad78dde6fcaca1e5f5488deb217011e8
[ "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
19
lean
print tactic.intro
d4866021da3a51972215b871b69cb5c08c831a42
92e157ec9825b5e4597a6d715a8928703bc8e3b2
/src/mywork/Lecture Notes.lean
7d95e71d7cc7eaeeab51411b35a1da41a4c739a6
[]
no_license
exb3dg/cs2120f21
9e566bc508762573c023d3e70f83cb839c199ec8
319b8bf0d63bf96437bf17970ce0198d0b3525cd
refs/heads/main
1,692,970,909,568
1,634,584,540,000
1,634,584,540,000
399,947,025
0
0
null
null
null
null
UTF-8
Lean
false
false
7,974
lean
/- *LECTURE 1* - Reasoning -- Inductive: derive generalized predictive models from given sets of observations -- Abductive: guess a hypothysis based on given information, test and adjust accordingly -- Deductive: Assume that certain given propositions (axioms) are true (or have proofs) - Combine truths/proofs of s...
128310529c731f8e0d58e7b8a99b9c0e9a1700b7
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/projectJoinTranspose.lean
785859e12bf2795e43c424e7d89e0f2845859f89
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
959
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..ucongr import ..TDP set_option profiler true open Expr open Proj open Pred open SQL open tree theorem rule: forall (Γ scm_s2 scm_s1: Schema) (rel_r2: relation scm_s2) (rel_r1: relation scm_s1) (s2_a : Column datatypes.int scm_s2...
8c102b84ecb240ba3b8a5a255fbf0509f37065b7
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/u_eq_max_u_v.lean
132f33e372bf6c49cb0545bfb041f79ab0b89e7f
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
3,116
lean
universe variables u v u1 u2 v1 v2 set_option pp.universes true open smt_tactic meta def blast : tactic unit := using_smt $ intros >> add_lemmas_from_facts >> iterate_at_most 3 ematch notation `♮` := by blast structure semigroup_morphism { α β : Type u } ( s : semigroup α ) ( t: semigroup β ) := (map: α → β) (mu...
394d6ad789ad04a991afb2d89a5e2bae9e5cbead
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/logic/weak_fan.lean
e6b2b0ba84f421ff78b21139479b22888e01e6a7
[ "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
4,854
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 This file is based on Coq's WeakFan.v file A constructive proof of a non-standard version of the weak Fan Theorem in the formulation of which infinite paths a...
2e436b7ebd244f877c9f84de2b8688e1cad0859d
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-algebra-110.lean
3d731274d0a4ed5ac8a7a28f56a57cd26fb3cc4f
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
347
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.complex.basic example (q e : ℂ) (h₀ : q = 2 - 2 * complex.I) (h₁ : e = 5 + 5 * complex.I) : q * e = 20 := begin rw [h₀, h₁], ring, rw [pow_two, complex.I_mul...
eb589d6bc4da24c6e3722991a2658e6e72b97468
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/category/PartialOrder.lean
ff9898438a525186b1941a014f9e742005775f82
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,341
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.category.Preorder import Mathlib.PostPort universes u_1 namespace Mathlib /-! # C...
28c10be59df38e57b28f7b5f02f6d05203add561
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/Simp/Main.lean
5fdc9310d26e7427b238673e4bc19984964f3c0d
[ "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
44,158
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.Transform import Lean.Meta.Tactic.Replace import Lean.Meta.Tactic.UnifyEq import Lean.Meta.Tactic.Simp.Rewrite namespace Lean.Meta namespa...
f6c9081c60a7e43057145a1ae10a5828fe44b5af
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/ring_theory/ideal/basic.lean
31df5d82e33f0f91260005cfa33c07df408e1f8c
[ "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
19,639
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Mario Carneiro -/ import algebra.associated import linear_algebra.basic import order.zorn import order.atoms import order.compactly_generated import tactic.abel /-!...
6bd837ed221c39fd1061b2c2bf397a6d64339ac1
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/beginEndAsMacro.lean
613897971659fb881bea0dbaae0983de9f6e7729
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
452
lean
/- ANCHOR: doc -/ open Lean in macro "begin " ts:tactic,*,? "end"%i : term => do -- preserve position of the last token, which is used -- as the error position in case of an unfinished proof `(by { $[$ts:tactic]* }%$i) theorem ex1 (x : Nat) : x + 0 = 0 + x := begin rw Nat.zero_add, rw Nat.add_zero, e...
c177e9a2f4c4ad3b82031af16f9821692c4baab7
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0506.lean
5c5e8dba58db80d4cb3246718b4e0fcd65584276
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
289
lean
meta def my_tac : tactic unit := `[ repeat { { left, assumption } <|> right <|> assumption } ] example (p q r : Prop) (hp : p) : p ∨ q ∨ r := by my_tac example (p q r : Prop) (hq : q) : p ∨ q ∨ r := by my_tac example (p q r : Prop) (hr : r) : p ∨ q ∨ r := by my_tac
690b53afeeb99b6e9efb16774a4d01f0676ffdf3
5ca7b1b12d14c4742e29366312ba2c2ef8201b21
/src/game/world10/level7.lean
96bfff66b3bdc37a5ab09e71238563a622d04966
[ "Apache-2.0" ]
permissive
MatthiasHu/natural_number_game
2e464482ef3001863430b0336133b6697b275ba3
2d764f72669ae30861f6a1057fce0257f3e466c4
refs/heads/master
1,609,719,110,419
1,576,345,737,000
1,576,345,737,000
240,296,314
0
0
Apache-2.0
1,581,608,357,000
1,581,608,356,000
null
UTF-8
Lean
false
false
495
lean
import game.world10.level6 -- hide namespace mynat -- hide /- # Inequality world ## Level 7: `le_zero` We proved `add_right_eq_zero` back in advanced addition world. Note that you can do things like `have h2 := add_right_eq_zero _ _ h1` if `h1 : a + c = 0`. -/ /- Lemma For all naturals $a$, if $a\le 0$ then $a = 0$...
2794a45cb30238ed7061069539754f7d521e78d0
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Meta/Tactic/Simp/Main.lean
d51a741618a2517a4597555ad7a7cd53930a1927
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
43,760
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.Transform import Lean.Meta.Tactic.Replace import Lean.Meta.Tactic.UnifyEq import Lean.Meta.Tactic.Simp.Rewrite namespace Lean.Meta namespa...
261405e4349b27fa312aed5904e91702fef0113e
ed544fdbb470075305eb2a01b0491ce8a6ba05c8
/src/certigrad/prove_model_ok.lean
d729c1c2f42a95fb569c6c69ea5c185602c60ebd
[ "Apache-2.0" ]
permissive
gazimahmud/certigrad
d12caa30c6fc3adf9bb1fcd61479af0faad8b6c3
38cc6377dbd5025eb074188a1acd02147a92bdba
refs/heads/master
1,606,977,759,336
1,498,686,571,000
1,498,686,571,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,932
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Tactics to prove specific models satisfy the preconditions of backprop_correct. -/ import data.list.set .tfacts .graph .predicates .expected_value .reparam .kl .tactics .p...
c5a1aa388a625010b78fb7ae327d1b5ed68b2fc0
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/section_var_bug.lean
acf8b85cc5223d61e5e6859b022ee6b48f575ddd
[ "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
214
lean
section variable {A : Type} variable [s : setoid A] variable {B : quot s → Type} include s attribute [reducible] protected definition ex (f : Π a, B ⟦a⟧) (a : A) : Σ q, B q := sigma.mk ⟦a⟧ (f a) end
34d53a979ee5fdc69d881d68062d9065f889d4fe
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/preserves/functor_category.lean
60bc65f2b51a35840791b6035393737d704b6fc9
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,553
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.presheaf import category_theory.limits.functor_category import category_theory.limits.preserves.shapes.binary_products /-! # Preservation o...
383e21d7550e2743c05b86aed17523f9d7618276
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/trace_call_stack_segfault.lean
154993cd36bcbba74779093df9c66fed8258e329
[ "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
42
lean
open tactic run_command trace_call_stack
b742916075a8dfc0135bbe727ec56191ee353305
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast4.lean
2126eec67dc40843fb14dc438a4df1fd6067d697
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
278
lean
lemma T1 (a b : Prop) : false → a := by blast reveal T1 print T1 lemma T2 (a b c : Prop) : ¬ a → b → a → c := by blast reveal T2 print T2 example (a b c : Prop) : a → b → ¬ a → c := by blast example (a b c : Prop) : a → b → b → ¬ a → c := by blast
d9a061d14a0e708df9c2dc0e994f1a4af4fae326
a3416b394f900e6d43a462113bf00eecea016923
/src/smooth.lean
825a155915b9e5aee24757f84bac987dc7449973
[]
no_license
Nolrai/non-standard
efe17e1e97db75ec1a26aed2623e578ec8881c51
2a128217005a0c9eef53e7c24c6637d0edcf3151
refs/heads/master
1,682,477,161,430
1,604,790,441,000
1,604,790,441,000
359,366,919
0
0
null
null
null
null
UTF-8
Lean
false
false
2,523
lean
import algebra.ring import algebra.field import order import tactic universe u def nilpotent {α} [semigroup α] [has_zero α] (x : α) := x * x = 0 def D (α : Type u) [semigroup α] [has_zero α] := {x : α // nilpotent x} instance D_has_coe_to_α (α : Type u) [semigroup α] [has_zero α] : has_coe (D α) α := ⟨λ d, d.val⟩ ...
f65ef5c0918a48fdbffceb6223f68be32c90b998
bb31430994044506fa42fd667e2d556327e18dfe
/src/geometry/euclidean/angle/oriented/basic.lean
8f1c052d56586a63c21b074f891d08fe6b29fd2a
[ "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
68,110
lean
/- Copyright (c) 2022 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Heather Macbeth -/ import analysis.inner_product_space.two_dim import analysis.special_functions.complex.circle import geometry.euclidean.angle.unoriented.basic /-! # Orie...
0d16f12cf208311e5e8938cbd4d2bf50404b72a7
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebraic_topology/dold_kan/n_reflects_iso.lean
d9cd2e612a1e063402c00d970aa1c43e771a6b67
[ "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
5,240
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import algebraic_topology.dold_kan.functor_n import algebraic_topology.dold_kan.decomposition import category_theory.idempotents.homological_complex import category_theory.ide...
f203d05acd8e899449eb63cc7c23b0a7f6e0b43d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebraic_geometry/Scheme.lean
5ab678069a1f86629e10bfe0be9c994f3814998a
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
4,758
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 algebraic_geometry.Spec /-! # The category of schemes A scheme is a locally ringed space such that every point is contained in some open set where there is a...
a014c5fab1e885fade58f12fdc9aa38117d15a4f
b328e8ebb2ba923140e5137c83f09fa59516b793
/src/Lean/Elab/Inductive.lean
5e5ba3f82ee99eafde55f4e506136b740061a9d2
[ "Apache-2.0" ]
permissive
DrMaxis/lean4
a781bcc095511687c56ab060e816fd948553e162
5a02c4facc0658aad627cfdcc3db203eac0cb544
refs/heads/master
1,677,051,517,055
1,611,876,226,000
1,611,876,226,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,938
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.Util.ReplaceLevel import Lean.Util.ReplaceExpr import Lean.Util.CollectLevelParams import Lean.Util.Constructions import Lean.Meta.SizeOf import...
f04f14803f76b47752a9a2d93a081e192614cc70
f09e92753b1d3d2eb3ce2cfb5288a7f5d1d4bd89
/src/valuations.lean
860213f1dd05863bce957afa88c30d5873a6f407
[ "Apache-2.0" ]
permissive
PatrickMassot/lean-perfectoid-spaces
7f63c581db26461b5a92d968e7563247e96a5597
5f70b2020b3c6d508431192b18457fa988afa50d
refs/heads/master
1,625,797,721,782
1,547,308,357,000
1,547,309,364,000
136,658,414
0
1
Apache-2.0
1,528,486,100,000
1,528,486,100,000
null
UTF-8
Lean
false
false
15,328
lean
import algebra.group_power import set_theory.cardinal import ring_theory.ideals import data.finsupp import group_theory.quotient_group import tactic.tidy import for_mathlib.linear_ordered_comm_group local attribute [instance, priority 0] classical.prop_decidable noncomputable theory universes u₁ u₂ u₃ -- v...
7e09ab8623ecf92383117bf7fb4b9e32f35c064b
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Server/GoTo.lean
a47a55c5080d3691a2debec608aff9f7f5090d66
[ "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
1,708
lean
/- Copyright (c) 2022 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Lars König, Wojciech Nawrocki -/ import Lean.Data.Json.FromToJson import Lean.Util.Path import Lean.Server.Utils import Std.System.Uri namespace Lean.Server op...
3c5f6f4f4ca4e546080c460539d8147464633801
4727251e0cd73359b15b664c3170e5d754078599
/src/combinatorics/simple_graph/regularity/energy.lean
63c70714dcec0a9969cc1057559381b1bebb9436
[ "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
1,621
lean
/- Copyright (c) 2022 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import algebra.big_operators.order import combinatorics.simple_graph.density /-! # Energy of a partition This file defines the energy of a p...
028bcb8db139071fb17ec4d27409989b415e1d94
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/fintype/sort.lean
eae008d9124d9e497c260ef61a61cc62643d968c
[ "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
787
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.fintype.basic import data.finset.sort variables {α : Type*} open finset /-- Given a linearly ordered fintype `α` of cardinal `k`, the order isomorphism ...
9f63c8b4ff2d2d93f0db0d7329d8060313eaf5cd
34c1747a946aa0941114ffca77a3b7c1e4cfb686
/src/sheaves/locally_ringed_space.lean
92341493b9eb5ffe615de7459e4630881e17838c
[]
no_license
martrik/lean-scheme
2b9edd63550c4579a451f793ab289af9fc79a16d
033dc47192ba4c61e4e771701f5e29f8007e6332
refs/heads/master
1,588,866,287,405
1,554,922,682,000
1,554,922,682,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,719
lean
import topology.basic import ring_theory.localization import sheaves.presheaf_maps import sheaves.presheaf_of_rings_maps import sheaves.presheaf_of_rings import sheaves.sheaf_of_rings import sheaves.stalk_of_rings universes u v w open topological_space -- Locally ringed spaces. section locally_ringed_spaces struct...
7c9e9e4b37e6873a50807ed433d3e09773c18613
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/analysis/calculus/mean_value.lean
90b0bacc8d90d0c47869461dc19381f5a3203654
[ "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
59,343
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, Yury Kudryashov -/ import analysis.calculus.local_extr import analysis.convex.topology /-! # The mean value inequality and equalities In this file we prove the ...
c3d13974661210c9037c2c6da01f8bc58fbfb134
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/nat/basic.lean
a3c9673419154a9c0a94243aaffb47194cc74a3d
[ "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
67,608
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.order_functions import data.set.basic /-! # Basic operations on t...
cceac7150c162c83e6abeefddd2850aa3f30489d
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/playground/reelab.lean
4d5c41ed09b0fa4bae758dd387882a12e9cdf195
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
2,099
lean
import Init.Lean open Lean open Lean.Elab open Lean.Elab.Term instance : HasMonadLift MetaM MetaIO := ⟨fun α x ⟨env, opts⟩ => Prod.fst <$> IO.runMeta x env { opts := opts }⟩ private def liftTermElabMSimple {α} (elab : TermElabM α) : MetaM (Except MessageLog α) := do ctx ← read; st ← get; match elab { ctx with fileNam...
cb78c1fb59cfb1fcd254c68b071ce3478db6cefd
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/affine_space/combination.lean
8c9c0041d5f352b7bf511fd79b609ced0e541c88
[ "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
31,897
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.invertible import data.indicator_function import linear_algebra.affine_space.basic import linear_algebra.finsupp noncomputable theory open_locale big_oper...
b64b2e1f054749a0911ad0905bc0a3b5fd11d6f8
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/measure/lebesgue.lean
c8725eac825f375f296de43332dd1a659702c6d7
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,765
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.constructions.pi import measure_theory.measure.stieltjes /-! # Lebesgue measure on the real line and on `ℝⁿ` We construct Leb...
53cd8973145ef9bcb5e91250b3459fa10fec7c12
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed/field/unit_ball.lean
79c5537ddf9109bf22663e4da0c08be8e1ab5bfb
[ "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
5,071
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Heather Macbeth -/ import analysis.normed.field.basic import analysis.normed.group.ball_sphere /-! # Algebraic structures on unit balls and spheres In this file we ...
47915aa4c15442811e191210b8d359afb1e6f5bf
9dc8cecdf3c4634764a18254e94d43da07142918
/archive/imo/imo1972_q5.lean
5664210339a6c5a61a6799ba86f606f075d1f523
[ "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
4,244
lean
/- Copyright (c) 2020 Ruben Van de Velde, Stanislas Polu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ruben Van de Velde, Stanislas Polu -/ import data.real.basic import analysis.normed_space.basic /-! # IMO 1972 Q5 Problem: `f` and `g` are real-valued functions ...
7bec3adedfedc0c38a25e98562ed142e6056ccb9
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/limits/shapes/constructions/over/default.lean
77949c8d13aead7b7c4f562dfb9de7bf021b3562
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
1,935
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.limits.shapes.constructions.over.products import category_theory.limits.shapes.constructions.over.connected import c...
882538c5beaead3da960f79caef8634acb400cd4
f3a5af2927397cf346ec0e24312bfff077f00425
/src/game/world10/level2.lean
14cbb4e396fe5615f5f37e42337f73d040678d37
[ "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
2,034
lean
import game.world10.level1 -- hide namespace mynat -- hide /- # Inequality world. Here's a nice easy one. ## Level 2: le_refl -/ /- Lemma : The $\le$ relation is reflexive. In other words, if $x$ is a natural number, then $x\le x$. -/ lemma le_refl (x : mynat) : x ≤ x := begin [nat_num_game] use 0, rw add_ze...
854a9a4f952e4d0db0ed57a983a5d5607b242b1e
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/linear_algebra/adic_completion.lean
b9c7dc49da4338e87fc1fed8e3091078ef067d39
[ "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
10,123
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.geom_sum import linear_algebra.smodeq import ring_theory.ideal.quotient import ring_theory.jacobson_ideal /-! # Completion of a module with respect to an ideal...
a4c1c38aac1011010b0749fce883988422f79eff
ec62863c729b7eedee77b86d974f2c529fa79d25
/18/a.lean
4837ca350812591b88253729084b2b88e2c9d07f
[]
no_license
rwbarton/advent-of-lean-4
2ac9b17ba708f66051e3d8cd694b0249bc433b65
417c7e2718253ba7148c0279fcb251b6fc291477
refs/heads/main
1,675,917,092,057
1,609,864,581,000
1,609,864,581,000
317,700,289
24
0
null
null
null
null
UTF-8
Lean
false
false
1,469
lean
import Lean.Data.Json.Parser open Lean Lean.Quickparse Lean.Json.Parser inductive Node | num : Int → Node | add : Node → Node → Node | mul : Node → Node → Node instance : Inhabited Node := ⟨Node.num 0⟩ def Node.toString | (Node.num n) => s!"{n}" | (Node.add e₁ e₂) => "(" ++ e₁.toString ++ " + " ++ e₂.toString ++ ")...
ef60ca87f34433b656d2372953745f3cfb2eefbd
92b50235facfbc08dfe7f334827d47281471333b
/library/data/nat/parity.lean
d5803f3c97b21e57645cc4deab89ba243261f2b7
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
6,960
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 Parity -/ import data.nat.div logic.identities namespace nat open decidable definition even (n : nat) := n mod 2 = 0 definition decidable_even [instance] :...
794204bb4e2fc654e20db22ede83d3523252825c
9028d228ac200bbefe3a711342514dd4e4458bff
/src/measure_theory/measure_space.lean
eb98cc3297bed7f36b3485fe535ddddcc4522c72
[ "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
78,386
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 measure_theory.outer_measure import order.filter.countable_Inter import data.set.accumulate /-! # Measure spaces Given a measurable space `α`...
5995beee374ca92b24f006e7771ba5e210aca1a3
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/hit/type_quotient.hlean
b5db8e5a2da5f0f66e698b08cfb18aca7e453952
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,704
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: hit.type_quotient Authors: Floris van Doorn Type quotients (quotient without truncation) -/ /- The hit type_quotient is primitive, declared in init.hit. -/ open eq equiv sigma.ops...
aaa14ca6e645e694d06c40c5513b8426304ddbd4
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/group_ring_action.lean
214730a091f3a279b1c18e1a0e86d36d9dd03a92
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
4,644
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Group action on rings. -/ import group_theory.group_action data.equiv.ring data.polynomial universes u v variables (M G : Type u) [monoid M] [group G] variables (A R S F : Typ...
3fc14459e45b4f58f7e98f48f4c9166c20ad354d
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/free_non_unital_non_assoc_algebra.lean
49e7f361cc4907f18312c0fb13821fbe4ffa6324
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,991
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.free import algebra.monoid_algebra.basic /-! # Free algebras Given a semiring `R` and a type `X`, we construct the free non-unital, non-associative algebra...
161269a017a7ac30d57dae082a8c3a7d65d2df9b
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/playground/forthelean/ForTheLean/Demo.lean
d116a5a6241044f631f2d4b3bab4ec6092620878
[ "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,098
lean
-- -*- origami-fold-style: triple-braces -*- import ForTheLean.Prelim open Lean open Lean.Elab.Command open Prelim -- {{{ [synonym] syntax variant := "-"? wlexem syntax [synonym] "[synonym " wlexem ("/" (wlexem <|> variant))+ "]" : command @[commandElab synonym] def elabSynonym : CommandElab := fun stx => match_synta...
c53a794f296e0eb6a9aa76d0bd633e218bed7088
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/amc12b-2002-p19.lean
478d34f4cbb48dde249650014565189d88a238bf
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
343
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic example(a b c: ℝ) (h₀ : 0 < a ∧ 0 < b ∧ 0 < c) (h₁ : a * (b + c) = 152) (h₂ : b * (c + a) = 162) (h₃ : c * (a + b) = 170) : a * b * c = 720 := begin s...
0164f3617bfeb752bc8c8e1dfc5e005a62d1e0ac
d642a6b1261b2cbe691e53561ac777b924751b63
/src/algebra/associated.lean
52c0a5eef2a1a9f540d1df630117ec2136f639c1
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
27,216
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker Associated and irreducible elements. -/ import algebra.group data.multiset variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} open lattice /-- ...
1b45ffabf44bd247d761062180e867387a31db5c
92bfaf170880e47d55bf51d5a782fffd76db2f5f
/melting_point/topology.lean
d1453b34eed7059c01c2026f2506107ab6eb72eb
[]
no_license
forked-from-1kasper/melting_point
d33403e1985d876a2c7c06859962cc0c37570189
e5ea4a0917de086b7e5b122e8d5aa90d2761d147
refs/heads/master
1,624,785,375,577
1,618,305,367,000
1,618,305,367,000
222,729,018
2
0
null
null
null
null
UTF-8
Lean
false
false
2,124
lean
import melting_point.set open melting_point.set meta def tactic.interactive.enumeration : tactic unit := `[ repeat { { try { left }, try { change _ = _ }, trivial } <|> right } ] meta def tactic.interactive.sinduction (e : interactive.parse interactive.types.texpr) : tactic unit := tactic.repeat (do -- ??? tact...
b448fe8baf5b23f784cbd5b7b86858e27002fbb1
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Init/Data/Array/BinSearch.lean
362f8de849534c47d4264db3a761808e192d28ee
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
2,926
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.Data.Array.Basic universe u v -- TODO: CLEANUP namespace Array -- TODO: remove the [Inhabited α] parameters as soon as we have the tac...
3d3f4d2650eea01a9d14211570eeea6d641a793e
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/category_theory/limits/shapes/biproducts.lean
950b8d3e60b3f9e7ceb3ab89b8f9e48943a99507
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
17,962
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.epi_mono import category_theory.limits.shapes.binary_products import category_theory.preadditive /-! # Biproducts and binary biproducts We in...
4d5c1d48ff321a8f8212e9ecd541200126a12ecf
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/order/nonneg.lean
a874615d9d093c2c1fa3d5cd6dc62a09209d9c3d
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
12,326
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import algebra.order.archimedean import algebra.order.sub import algebra.order.with_zero import order.lattice_intervals import order.complete_lattice_intervals /...
ae404001961fcd3b9035c94c6cf0d05cbda9b84b
2a70b774d16dbdf5a533432ee0ebab6838df0948
/src/cubitt_sugden.lean
4133fb1024f070a7daaa9dfa42cde44ba763a428
[]
no_license
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
3,097
lean
/- Copyright (c) 2022 Huub Vromen. All rights reserved. Author: Huub Vromen -/ import data.list.basic /- outline of Lewis' theory of common knowledge (according to Cubitt and Sugden) -/ variable {indiv : Type} -- type of individuals variables {i j k : indiv} /-- Reason-to-believe is a two-place relation ...
1d33c05abe40d4d3158eb669addd2e192269837d
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/linear_algebra/nonsingular_inverse.lean
e9014c4e8c74376361cc87ea8b753cf7668b62b9
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
15,870
lean
/- Copyright (c) 2019 Tim Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Tim Baanen. -/ import algebra.associated import linear_algebra.determinant import tactic.linarith import tactic.ring_exp /-! # Nonsingular inverses In this file, we define an inverse for ...