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
3d0f7d3ef858f2874f46d21538cceb6472395835
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/limits/shapes/default.lean
87e6dd82926931fbb91afa8dffa3484f408d71be
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
344
lean
import category_theory.limits.shapes.terminal import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.products import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.pullbacks import category_theory.limi...
ca20420199b99bddfe1b8ad09317ac7097c45822
92b50235facfbc08dfe7f334827d47281471333b
/library/logic/connectives.lean
7c893134d9599ec8bdc7c499b6c586c4c9a965bf
[ "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
11,544
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Haitao Zhang The propositional connectives. See also init.datatypes and init.logic. -/ open eq.ops variables {a b c d : Prop} /- false -/ t...
deb9eb082aac3f77c13216244cce15f6a96af632
0003047346476c031128723dfd16fe273c6bc605
/src/linear_algebra/determinant.lean
ff67f80ef2d9e1c988cd41e2604c6f799f821e9c
[ "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
5,524
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 -/ import data.matrix import group_theory.subgroup group_theory.perm.sign universes u v open equiv equiv.perm finset function namespace matrix variables {n : Type...
5ebf56dd68b825a0cc7677e2cd793b4b066ba29a
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/group/hom.lean
3e6ae28816f4fffb8228a816ab945be815611689
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
35,624
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group.commute import algebra.group_with_zero.defs /-! ...
a5db3d59bed2cc09208e85b062ac06dc2c419c44
94e33a31faa76775069b071adea97e86e218a8ee
/src/field_theory/ratfunc.lean
b327d011c141115a482446d48574f0a3733bbcbf
[ "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
59,951
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.euclidean_domain import ring_theory.laurent_series import ring_theory.localization.fraction_ring import ring_theory.polynomial.content /-! # The field ...
63720096654c70302bbe4ac26534f8cb1cd40039
e4d500be102d7cc2cf7c341f360db71d9125c19b
/src/topology/algebra/ordered.lean
cba0ace776508dd4fd1d0c7f2f3e522f9e791abb
[ "Apache-2.0" ]
permissive
mgrabovsky/mathlib
3cbc6c54dab5f277f0abf4195a1b0e6e39b9971f
e397b4c1266ee241e9412e17b1dd8724f56fba09
refs/heads/master
1,664,687,987,155
1,591,255,329,000
1,591,255,329,000
269,361,264
0
0
Apache-2.0
1,591,275,784,000
1,591,275,783,000
null
UTF-8
Lean
false
false
80,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, Yury Kudryashov -/ import tactic.tfae import order.liminf_limsup import data.set.intervals import topology.algebra.group /-! # Theory of topology on or...
b7217c05e75bb3d61d7e70e90dd7072fa053d206
90bd8c2a52dbaaba588bdab57b155a7ec1532de0
/src/homotopy/basic.lean
cfa036967a71c52c2c63266ae048f713be7aca5c
[ "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
6,065
lean
import topology.continuous_function.basic import topology.instances.real import topology.path_connected import intervals /-! # Homotopy In this file, we define homotopies between continuous functions. Note in particular that we are defining homotopies to be `to_fun : C(X × ℝ, Y)` instead of `to_fun : C(X × I, Y)`. Th...
09f4f42bfbed076f3599073ddc879bef1dbf6049
2d2554d724f667419148b06acf724e2702ada7c9
/src/solve.lean
6289fe6a8e9914ccf4302b6448253d82e0fb7fdd
[]
no_license
hediet/lean-linear-integer-equation-solver
64591803a01d38dba8599c5bde3e88446a2dca28
1a83fa7935b4411618c4edcdee7edb5c4a6678a7
refs/heads/master
1,677,680,410,160
1,612,962,170,000
1,612,962,170,000
337,718,062
1
0
null
null
null
null
UTF-8
Lean
false
false
4,319
lean
import .definitions import data.bool import data.int.gcd import tactic import .mod def find_isolated_var (e: Eqs): option (ℕ × ℕ) := let indices := e.indexed_coefficients, ones := indices.filter (λ t, t.fst.nat_abs = 1), indices := ones.map (λ t, t.snd) in indices.head' def find_min_non_zero_or_default (e: ...
58e4a5ed43098ae8a873531e661f80bcb73aa2cc
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/ring.lean
69e59f23b6dd12955ccf82cdd77678c24c260ee4
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,831
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 Theory of topological rings. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.algebra.group import Mathlib.ring_th...
b590e317eac8b84be61ecc6a8bc067d76bcc6ac4
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/library/tools/debugger/util.lean
94ab930be0afec791213a0e815081402ee575796
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,991
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 -/ namespace debugger def is_space (c : char) : bool := if c = #" " ∨ c = char.of_nat 11 ∨ c = #"\n" then tt else ff def split_core : string → string → list s...
07ad30bdd8886491a294f4dac7719297f32e67f8
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/logic/basic.lean
3413cd16be0cfa10ebc7e2bedf71afc1e3459ca7
[ "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
50,533
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import tactic.doc_commands /-! # Basic logic properties This file is one of the earliest imports in mathlib. ## Implementation notes Theorems tha...
6349c260dda719e9033a7e585dc9a9982463a3d9
05b503addd423dd68145d68b8cde5cd595d74365
/test/equiv_rw.lean
c085cd3a27d16bb7d303c6b14a85984360a07977
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,690
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 tactic.equiv_rw import category.equiv_functor.instances -- these make equiv_rw more powerful! -- Uncomment this line to observe the steps of constructing appr...
ce6b9f6ec524c239e6f8cc454c3ea201bd90ef57
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/elab_meta2.lean
de48504adb4e1d9dcf02cd57deb24c19c532489e
[ "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
886
lean
print "parametric meta_definition" meta_definition f {A : Type} : nat → A → A → A | n a b := if n / 2 = 0 then a else f (n / 2) b a vm_eval if f 10 1 2 = 2 then "OK" else "FAILED" namespace foo print "parametric meta_definition inside namespace" meta_definition bla {A : Type} : nat → A → A → A | n a b := if n / 2 =...
d08415235a8fce606ca2340e0388b94c1a06853d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/rel.lean
8d8a9a4194989a4abfcd0b79d130fb9f5937a343
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
7,614
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import order.galois_connection /-! # Relations This file defines bundled relations. A relation between `α` and `β` is a function `α → β → Prop`. Relations are also kn...
a1b59997bfb9075cbf2ca97dd74a22388fead576
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Meta/Basic.lean
2684c7b7308cb0ab456258397d41a40f65f0869c
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,482
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.LOption import Lean.Environment import Lean.Class import Lean.ReducibilityAttrs import Lean.Util.Trace import Lean.Util.RecDepth import Lea...
72aeffbd96f4ccd1361971c3407a70b1d6d06721
42610cc2e5db9c90269470365e6056df0122eaa0
/hott/algebra/category/functor/basic.hlean
7749d966caea9be6c75e87965a62c984c08eaf72
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
12,240
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 -/ import ..iso types.pi open function category eq prod prod.ops equiv is_equiv sigma sigma.ops is_trunc funext iso pi structure functor (C D : ...
e6482a7835c10e92f33c59e4cf98a46690810903
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/omega/lin_comb.lean
5abf6221492bb7bcb9cd260e86cf0e30f06750a2
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,162
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ /- Linear combination of constraints. -/ import tactic.omega.clause namespace omega /-- Linear combination of constraints. The second argument is the list of constraint...
e7250388c02ed38085cff3d548c2277d8b32d6e2
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/linear_algebra/dual.lean
ee57c6f01643876ab3f1bdd442cbead15df75c74
[ "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
10,973
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Fabian Glöckle -/ import linear_algebra.tensor_product import linear_algebra.finite_dimensional import tactic.apply_fun noncomputable theory /-! # Dual vector spaces ...
6a215d960cda2b29e70ff07999e571a64eb502e0
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/nilpotent.lean
3918afdba6bd7bd87f80a545b1b110bc16273e8f
[ "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,851
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 data.nat.choose.sum import algebra.algebra.bilinear import ring_theory.ideal.operations /-! # Nilpotent elements ## Main definitions * `is_nilpotent` * `is_ni...
ec7eae384117e29fee45cadc85772549557fe0c7
c61b91f85121053c627318ad8fcde30dfb8637d2
/Chapter4/4-3.lean
7d463ffa95e498313e8220c74a7a2fa2d6786eeb
[]
no_license
robkorn/theorem-proving-in-lean-exercises
9e2256360eaf6f8df6cdd8fd656e63dfb04c8cdb
9c51da587105ee047a9db55d52709d881a39be7a
refs/heads/master
1,585,403,341,988
1,540,142,619,000
1,540,142,619,000
148,431,678
2
0
null
null
null
null
UTF-8
Lean
false
false
1,486
lean
namespace calcc variables (a b c d e : ℕ) variable h1 : a = b variable h2 : b = c + 1 variable h3 : c = d variable h4 : e = 1 + d theorem T : a = e := calc a = b : h1 ... = c + 1 : h2 ... = d + 1 : congr_arg _ h3 ... = 1 + d : add_comm d (1 : ℕ) ... = e : h4.symm end calcc namespace tactics vari...
1c11783d4c666434785161910f07e43d2d10dbc3
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Meta/Tactic/Revert.lean
5c0de7e1a7a083e31092ea344180dc14e6e07d71
[ "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,903
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.Tactic.Clear namespace Lean.Meta /-- Revert free variables `fvarIds` at goal `mvarId`. -/ def _root_.Lean.MVarId.revert (mvarId : MVarId)...
87a8be1e99d3662fc23f532fb0357b335d36c41b
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/algebra/order/group.lean
033993becd6eed136cbcee40c60906b4042c3e61
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
46,611
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.order.monoid import order.order_dual import algebra.abs /-! # Ordered groups This file develops the ...
1dcb566a5299f956d7f456966f9375c10fbae9ed
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/category_theory/opposites.lean
2476a05afed7bd9ba50f5ee6160a6899ee6f39e4
[ "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
14,813
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.types import category_theory.equivalence universes v₁ v₂ u₁ u₂ -- morphism levels before object levels. See note [category_the...
81c8babc905b83167da30e7a303c00a3381ec795
7cef822f3b952965621309e88eadf618da0c8ae9
/src/set_theory/pgame.lean
5f54e7098c54b0660d483215dadcd0b35e1bc249
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
38,674
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison -/ import data.equiv.basic logic.embedding import data.nat.cast import data.finset data.fintype /-! # Combinatorial (pre...
8e60d7c9e3370fa2b84126a7819770d5488d00b0
c17c60327eee1622a8d7defa5af340e08619107f
/src/snippets/essais.lean
5cc5a4e5d97683eeaff407c297fcac956279e25b
[]
no_license
FredericLeRoux/dEAduction-lean2
277e3aad5102ff155fb04b188dbd01568ceea005
bf7d7d88c2511ecfda5a98ed96e4ca3bc7ae1151
refs/heads/master
1,667,931,697,036
1,593,174,880,000
1,593,174,880,000
275,150,842
0
0
null
null
null
null
UTF-8
Lean
false
false
1,911
lean
import tactic import essai2structures --import structures namespace tactic.interactive open lean.parser tactic interactive open interactive (loc.ns) open interactive.types open tactic expr local postfix *:9001 := many -- sinon ne comprends pas ident* /- Appelle l'analyse récursive sur le but ou sur une hypothèse. No...
46f84b8809ffc3f5124eec22c29a55d037f99bb7
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/geo/Spec.lean
3bffe23008df1fed2a4ad78dc2914a78f0269e25
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
474
lean
import .global universes u local notation `Ring` := CommRing.{u} local notation `Set` := Type u namespace Spec variables (R : Ring) def Spec : Ring ⥤ Set := { obj := λ A : Ring , R ⟶ A, map := λ A B : Ring, λ ψ : A ⟶ B, λ ζ : R ⟶ A, ζ ≫ ψ, } lemma Spec.obj.ext (A : Ring) : (Spec R).obj A = (R ⟶...
a0fb195c19c4563e2fca323ce3edf4987fa41619
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/cases_bug3.lean
f709594db09b9ade1a8a3fcfb5f99ee23ca4c12c
[ "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
94
lean
theorem ex {A : Type} : ∀ {a a' : A}, a == a' → a = a' | a .a (heq.refl .a) := eq.refl a
44a029f8baea786908e376848f36eb2a63bf9767
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/matrix/pequiv.lean
d2ef9c0767470916aac78783569e2cf898a3841d
[ "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
5,733
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.matrix.basic import data.pequiv /-! # partial equivalences for matrices Using partial equivalences to represent matrices. This file introduces the function ...
c9f8102c266bb64692270030a4eb7257de93365d
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/products/bifunctor.lean
bc3f6d84b83fb5eb941e09e5aa656de222fcb362
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
1,861
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.products.basic open category_theory namespace category_theory.bifunctor universes v₁ v₂ v₃ u₁ u₂ u₃ variables {C : Type u₁} ...
5b6187a5e161d8bb040fab98ab4b239e3c76cbd7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/unif_issue2.lean
002b79e79b0b7c121ac040ad8ae98393fd4fb820
[ "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
import Lean open Lean #check @StateT.run Nat Id Nat (let f := fun (x : Unit) => pure 0; f ()) 0 #check Id.run $ StateT.run (let x := fun _ => pure 0; x ()) 0 #check @StateT.run Nat Id (List Nat) (let x := fun _ => pure [0]; x ()) 0 #check @Unhygienic.run Syntax $ let x := fun _ => pure Syntax.missing; x ()
92af91781313d91acae01a71bd2176bdb7cd1f42
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/group_theory/order_of_element.lean
2c1503e5b270be2c7df3948b3cd65c979bcb9aac
[ "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
39,275
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, Julian Kuelshammer -/ import algebra.pointwise import group_theory.coset import dynamics.periodic_pts import algebra.iterate_hom /-! # Order of an element This file d...
6e3a622443b8a5abac77498bf0c5822ae1e89ec0
c777c32c8e484e195053731103c5e52af26a25d1
/src/logic/basic.lean
e4b5d9cb3afe4428f74fcb41f414dbac21fe16ba
[ "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
69,115
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import tactic.doc_commands import tactic.reserved_notation /-! # Basic logic properties > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to...
fb052038240042379e8a5297a78edab7558fb645
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/punit.lean
834a3f78b5fd474a26b6fc480580e496457e0f2d
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,326
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.functor.const import category_theory.discrete_category /-! # The category `discrete punit` We define `star : C ⥤ discrete punit...
242b87929b99c489516e0e8fdc6eb34d3ee8fd36
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/representation_theory/maschke.lean
61286ebb5239340ceb225ff335e39baac1719ff8
[ "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
6,360
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.monoid_algebra.basic import algebra.char_p.invertible import algebra.regular.basic import linear_algebra.basis /-! # Maschke's theorem We prove **Mas...
62077922b0e9919b23a3905217411c94258e061c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/Miller1.lean
3718ba118a3d41d70d517757240a136cb524c5d8
[ "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
536
lean
class HasMulComm (α : Type u) [Mul α] : Prop where mulComm : {a b : α} → a * b = b * a class A (α : Type u) extends Mul α attribute [instance] A.mk class B (α : Type u) extends A α, HasMulComm α attribute [instance] B.mk example [Mul α] : A α := inferInstance example [Mul α] [HasMulComm α] : A α := inferInstance...
9e360d29f0c5b93864a38280aca7d0e93c9c2dab
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/print_cmd.lean
8cf20fd256e4a6cfb6deb99205876a3c6fe14e56
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
290
lean
#print Nat new_frontend private def foo (x : Nat) : Nat := x + 1 #print "hello" #print id #print propext #print arbitrary #print ReaderT.read #print Prod #print Prod.mk #print Nat #print Nat.succ #print Nat.rec #print Nat.casesOn #print foo #print Quot.mk #print Quot.ind #print Quot.mk
d079d526399f176729f3cb92e7a35b7ceb8530b3
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Data/LBool.lean
966e9deda7e78413d5eb5115f52260c316f80bac
[ "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
980
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 -/ namespace Lean inductive LBool | false | true | undef namespace LBool instance : Inhabited LBool := ⟨false⟩ def neg : LBool → LBool | true => false | ...
317af2af53153ee878c17205462d909b2468a098
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/convex/proj_Icc.lean
3115cdffd85d208db103d38bf1f9cbcfd8437d42
[ "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
4,580
lean
/- Copyright (c) 2023 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import analysis.convex.function import data.set.intervals.proj_Icc /-! # Convexity of extension from intervals This file proves that constantly extending monotone/antit...
a3410e11983b289fcf0edca762a8433af4fbc8ee
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/topological_groups.lean
c330b09f51cb045571c569d4674066a55e7b7b76
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
13,410
lean
import tactic.abel import topology.algebra.group --import topology.algebra.uniform_ring import for_mathlib.uniform_space.ring import ring_theory.subring import for_mathlib.topology import for_mathlib.filter universes u v open filter set section variables {G : Type u} [add_comm_group G] def prod_map {α₁ : Type*} {α...
26bba880f49b92702db06cf60c6f7a76a5c138a9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/monoidal/functor_category_auto.lean
513e583256cfac4992210cab4c1aee77d8e8589b
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,636
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.monoidal.braided import Mathlib.category_theory.functor_category import Mat...
793c7310966ca7b6952a58e4500ff289f960489c
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/monoidal/of_has_finite_products.lean
139c082caf2c077a9b3fdb4b3c0ce6ff7e80c73d
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
2,214
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Simon Hudon -/ import category_theory.monoidal.category import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.binary_products import...
d92abee7df51875e2ba34036c4479e170e7f3077
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/data/equiv/mul_add_aut.lean
89705c0d1f57de70561b8e87d860187942e4f5ab
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,631
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, Callum Sutton, Yury Kudryashov -/ import data.equiv.mul_add import group_theory.perm.basic /-! # Multiplicative and additive group automorphisms This file defines the...
3e955f4db67c2d62b9dc43974bb08bf8748c2e24
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/box_integral/box/basic.lean
74828f30cec5011d2a26da5bcb992720ac0df2f7
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
17,907
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 data.set.intervals.monotone import topology.algebra.order.monotone_convergence import topology.metric_space.basic /-! # Rectangular boxes in `ℝⁿ` In this f...
7118fc41bcfce853066c6c4009c2ff2b5d2b19cc
367134ba5a65885e863bdc4507601606690974c1
/src/data/sum.lean
9b48ad1ad827ba2649545c01c6c647ac70b99800
[ "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
9,463
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury G. Kudryashov -/ import logic.function.basic /-! # More theorems about the sum type -/ universes u v w x variables {α : Type u} {α' : Type w} {β : Type v} {β' : ...
155f6e01d7301e298d946327ba713691ec4d3ec9
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Init/Data/List/Basic.lean
f15f9b617913470429cd641aca17cb47dd9bc8c1
[ "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
19,997
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.SimpLemmas import Init.Data.Nat.Basic open Decidable List universe u v w variable {α : Type u} {β : Type v} {γ : Type w} namespace Lis...
220c1d29256bb17cd5e8e0d19bce9daeb26d96ed
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/algebra/category/morphism.lean
bd51703e891b6bad796f10ba15346eecf8424543
[ "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
11,840
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.category.morphism Author: Floris van Doorn -/ import .basic algebra.relation algebra.binary open eq eq.ops category namespace morphism variables {ob : Type} [C : categor...
dc73260c771c686b0001b884a0f936e0bdf55dc3
fef48cac17c73db8662678da38fd75888db97560
/src/Zalpha.lean
9f1e9ce2d6e35dc65cf48fb92cfde40f8f0486ec
[]
no_license
kbuzzard/lean-squares-in-fibonacci
6c0d924f799d6751e19798bb2530ee602ec7087e
8cea20e5ce88ab7d17b020932d84d316532a84a8
refs/heads/master
1,584,524,504,815
1,582,387,156,000
1,582,387,156,000
134,576,655
3
1
null
1,541,538,497,000
1,527,083,406,000
Lean
UTF-8
Lean
false
false
12,743
lean
import mathlib_someday import tactic.ring import data.zsqrtd.basic -- Z[alpha] where alpha := (1 + sqrt(5))/2, representing the minimal ring -- (with addition, subtraction, and multiplication) containing the roots -- of x^2-x-1 = 0: alpha := (1 + sqrt(5))/2 and beta (1 - sqrt(5))/2 -- (with beta < alpha) -- -- i as in...
18cbd36127469b7193920647e727ff3e05cecc72
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/data/zmod/basic.lean
de709d8d6614f50ae10d0a16c45472683762f811
[ "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
14,890
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import data.int.modeq data.int.gcd data.fintype data.pnat local attribute [instance, priority 0] nat.cast_coe local attribute [instance, priority 0] int.cast_coe open na...
bda4b93e71eef6720f32dd96cec516ff169ef346
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/geometry/manifold/times_cont_mdiff_map.lean
e10ffbbdb3d72cc6c5e210a6b5717deab592c4b0
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
3,425
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Nicolò Cavalleri. -/ import geometry.manifold.times_cont_mdiff import topology.continuous_map /-! # Smooth bundled map In this file we define the type `times_cont_mdiff_map` of `n` t...
e3e530ebf5348b00d1ed7ee856342660795d5d38
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Control/Option.lean
ebdcb40e97a3154c596a3210c20a7acaa070df8a
[ "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,322
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Data.Option.Basic import Init.Control.Basic import Init.Control.Except universe u v instance : ToBool (Option α) :=...
863d8c82232495afec67fa9f9d095e93cf0fdded
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Meta/Closure.lean
4da4f78f251d8cbc9e721a7bb53be68400aa95e9
[ "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
14,218
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.MetavarContext import Lean.Environment import Lean.Util.FoldConsts import Lean.Meta.Basic import Lean.Meta.Check /-! This module provides func...
a4a781fe5263a56b2356ac8357391238abb75041
a5e2e6395319779f21675263bc0e486be5bc03bd
/bench/stlc100k.lean
53d30169d71594c8b45ca723b670c59f685b3f68
[ "MIT" ]
permissive
AndrasKovacs/smalltt
10f0ec55fb3f487e9dd21a740fe1a899e0cdb790
c306f727ba3c92abe6ef75013da5a5dade6b15c8
refs/heads/master
1,689,497,785,394
1,680,893,106,000
1,680,893,106,000
112,098,494
483
26
MIT
1,640,720,815,000
1,511,713,805,000
Lean
UTF-8
Lean
false
false
6,398,130
lean
def Ty0 : Type 1 := ∀ (Ty0 : Type) (nat top bot : Ty0) (arr prod sum : Ty0 → Ty0 → Ty0) , Ty0 def nat0 : Ty0 := λ _ nat0 _ _ _ _ _ => nat0 def top0 : Ty0 := λ _ _ top0 _ _ _ _ => top0 def bot0 : Ty0 := λ _ _ _ bot0 _ _ _ => bot0 def arr0 : Ty0 → Ty0 → Ty0 := λ A B Ty0 nat0 top0 bot0 arr0 ...
d7fd9f7e7cce4638415af0e763b7c990852c457a
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/preadditive/schur.lean
722297b7871755febc2f109ae99ff545dd298347
[ "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
1,960
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import category_theory.simple import category_theory.preadditive /-! # Schur's lemma We prove the part of Schur's Lemma that holds in any preadditive ...
d8597589257afcca6ae8cdd17e2b08909e00fa13
0b48b079330fa68b31d4bae203b884f86528fdfc
/2015/qualifying_round/1.Cooking_the_Books/solutions/sources/x.8606.Lean
70080cdedb0d1a51f88174400c6614257631deff
[]
no_license
kwx4github/facebook-hackercup-problem-sets
1254455aad782ff30cc0b1640eafbcdc5e8b4242
85b5775179a4c718db092c3ce66f343d02a91627
refs/heads/master
1,611,179,352,676
1,426,342,682,000
1,426,342,682,000
30,278,888
0
0
null
null
null
null
UTF-8
Lean
false
false
1,116
lean
#include <iostream> #include <fstream> #include <string> #include <sstream> #include <iomanip> using namespace std; int n; string *a; void readf(){ ifstream fi ("cooking_the_books.txt"); fi>>n; a = new string[n]; for (int i=0; i<n; i++) fi>>a[i]; fi.close(); } bool check(string s){ int n =...
90bb87480563e35d7fad5ab12fd0517ff4e2a31b
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Environment.lean
1eaccd161deb6be85678624ba8608f4dd3722e7d
[ "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
42,285
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.HashMap import Lean.ImportingFlag import Lean.Data.SMap import Lean.Declaration import Lean.LocalContext import Lean.Util.Path import Lean....
472a87b84336be01038adf6e38d90816df86bca4
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/stone_cech_auto.lean
845341aa1869955ecf64f9ebaf2d203c080b5e9e
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,661
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.bases import Mathlib.topology.dense_embedding import Mathlib.PostPort universes u u_1 ...
d723fa935f59aa9c1a5f2403f8c6a9b9def991a7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/mv_polynomial/default_auto.lean
f34ceba3a890f7365c0a58e3960b7a4bbb2437cc
[]
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
284
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.mv_polynomial.basic import Mathlib.data.mv_polynomial.variables import Mathlib.data.mv_polynomial.rename import Mathlib.data.mv_polynomial.comm_ring import Mathlib.PostPort namespace Mathlib end Mathlib
b2702683b50e9b1ff9cb3422bfe342453138d229
90edd5cdcf93124fe15627f7304069fdce3442dd
/stage0/src/Lean/Aesop/RuleBuilder.lean
5eabaf25aa033270e4449be45eb6d1e07849390e
[ "Apache-2.0" ]
permissive
JLimperg/lean4-aesop
8a9d9cd3ee484a8e67fda2dd9822d76708098712
5c4b9a3e05c32f69a4357c3047c274f4b94f9c71
refs/heads/master
1,689,415,944,104
1,627,383,284,000
1,627,383,284,000
377,536,770
0
0
null
null
null
null
UTF-8
Lean
false
false
2,776
lean
/- Copyright (c) 2021 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import Lean.Aesop.Rule import Lean.Aesop.RuleTac open Lean.Meta namespace Lean.Aesop structure RegularRuleBuilderResult where builderName : Name tac : RuleTac...
b54e04468fd0c1263e0bc073bbbba0ae0ecf3b00
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/field_theory/polynomial_galois_group.lean
a8c28e81ec5e9dccd17d7e4549a8807954881e92
[ "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
13,455
lean
/- Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning and Patrick Lutz -/ import field_theory.galois /-! # Galois Groups of Polynomials In this file we introduce the Galois group of a polynomial, defin...
e3e4e705674cd567144ddc35378721f223b32dde
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/pfunctor/univariate/M.lean
fc83235c2e43e2e488c7627aa10596d4b1c6e6ec
[ "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
22,049
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.pfunctor.univariate.basic /-! # M-types M types are potentially infinite tree-like structures. They are defined as the greatest fixpoint of a polynomial functo...
cf0c93e055c44a2e38296abd76d68edc91ad2cfa
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex40.lean
e3627e0fa982d103dc8242871e3e96265bda97c0
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
1,059
lean
/- Universal quantifier * Introduction: Given a proof of p x, in a context where x : A is arbitrary, we obtain a proof ∀ x : A, p x. In the propositions-as-types interpretation Given a term t of type B x, in a context where x : A is arbitrary, we have (λ x : A, t) : (Π x : A, B x). * Elimination: Given a proof ∀ ...
4cfb8deb41680d60a4c8282b4ed6fed309bffb48
8e381650eb2c1c5361be64ff97e47d956bf2ab9f
/src/sheaves/sheaf_on_standard_basis.lean
cb4e3fa9fa501b0b7126cbe2d7f399e3fe2b5117
[]
no_license
alreadydone/lean-scheme
04c51ab08eca7ccf6c21344d45d202780fa667af
52d7624f57415eea27ed4dfa916cd94189221a1c
refs/heads/master
1,599,418,221,423
1,562,248,559,000
1,562,248,559,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,030
lean
/- Sheaf (of types) on standard basis. https://stacks.math.columbia.edu/tag/009L -/ import topology.basic import to_mathlib.opens import sheaves.covering.covering_on_standard_basis import sheaves.presheaf_of_rings_on_basis universe u open topological_space namespace sheaf_on_standard_basis variables {α : Typ...
8778e8a76c96afc9c97fcd2e45496e99bf894dc1
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex14.lean
ceb1cfebf70c3653b984fed31cdd14b2155ef9d2
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
369
lean
/- Other forms of reduction -/ constants m n : nat constant b : bool print "reducing pairs" eval (m, n).1 -- m eval (m, n).2 -- n print "reducing boolean expressions" eval tt && ff -- ff eval ff && b -- ff print "reducing arithmetic expressions" eval n + 0 -- n eval n + 2 ...
8286abcc2fbfd2468ff361b2e59b2c514baac4ea
fddcf4b659baa121761c71be606b3f74b86fa695
/tactics.lean
8479e140ff9b8ac5b9c0c3e858572a3c051d0101
[]
no_license
swarnpriya/Lean
4218df9392f396cd7e5e745de35a917536ebd2bb
a0a9978fd058041eb1a09aec0e2dd7d19a7436a7
refs/heads/master
1,595,831,634,399
1,568,673,127,000
1,568,673,127,000
208,903,604
0
0
null
null
null
null
UTF-8
Lean
false
false
8,262
lean
-- Tactics are commands or instructions that describe how to build a proof. -- Tactics are easier and shorter to write theorem test (p q : Prop) (hp : p) (hq : q) : p ∧ q ∧ p := begin apply and.intro, apply hp, apply and.intro, apply hq, apply hp end #print test example (p q r : Prop) : p ∧ (q ∨ r) <-> (p ∧...
c651cc4f0ee698013a15d4e530198a7980760f69
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/liminf_limsup.lean
0feb82a1a7580095f9af80ccc577b2ca80dcb30f
[ "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
21,089
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, Johannes Hölzl -/ import order.filter.partial import order.filter.at_top_bot /-! # liminfs and limsups of functions and filters Defines the Liminf/Limsup of a f...
a49a0bc65e0cdaf9fd8b4aa737381868550cf114
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Data/Lsp/InitShutdown.lean
226aad600ddc84257c8827173b32b4fae816db70
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
3,896
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Lean.Data.Lsp.Capabilities import Lean.Data.Lsp.Workspace import Lean.Data.Json /-! Functionality to do with initializing and shutting down ...
8bc76188609b1e1ffeba2e8242db48e5f4959002
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/category/Algebra/basic.lean
1676e2f45f0fd45e9873fd4f940db1adf5bfe9d5
[ "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
4,792
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.algebra.basic import algebra.algebra.subalgebra import algebra.free_algebra import algebra.category.CommRing.basic import algebra.category.Module.basic...
39ccdcda9719d0d3164bcf1365e29fc52f25edd6
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/category_theory/limits/constructions/over/default.lean
2caf8bfcf26e49a5b95ceb093b08d0aa7a4dff28
[ "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
2,113
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.constructions.over.products import category_theory.limits.constructions.over.connected import category_theory...
50f376a950b65cc74f15e222fa1b062255854c08
92b50235facfbc08dfe7f334827d47281471333b
/tests/lean/rw_set2.lean
0b5522d748bcc296a68b22b6bbb686eafdd2b7eb
[ "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
209
lean
open nat constant f : nat → nat constant g : nat → nat axiom foo : ∀ x, x > 0 → f x = 0 ∧ g x = 1 axiom bla : ∀ x, g x = f x + 1 attribute foo [rewrite] attribute bla [rewrite] print [rewrite]
975d641ba6f118ed1cf68b6e7251e26915f6c96c
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/data/nat/default.lean
56f86e1154db5b7403cb1dd9e8857f3e90602dc9
[ "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
385
lean
---------------------------------------------------------------------------------------------------- -- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Jeremy Avigad ---------------------------------------------------------...
05866b1c44426aad9d45295d0f9c0f650c3667c6
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/types/univ.hlean
ff554d91417634596963dfd13ed1a8812f7cf0ae
[ "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
4,896
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 Theorems about the universe -/ -- see also init.ua import .bool .trunc .lift .pullback open is_trunc bool lift unit eq pi equiv equiv.ops sum sigma fiber prod pul...
592b1008289ad8c7e3af0821b7af4c56ab148b2c
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.3.lean
a9caad76ab4fba8706cb1e7a4385ae5e9efdac0a
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
192
lean
import standard theorem test (p q : Prop) (Hp : p) (Hq : q) : p ∧ q ∧ p := begin apply and.intro, exact Hp, apply and.intro, exact Hq, exact Hp end -- BEGIN reveal test print test -- END
aa13acfe2600d67134e54215d04a5bf7166d0f4e
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level1.lean
3ceca8425438100595b01c85c96486b8647e3950
[ "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
164
lean
import mynat.definition namespace mynat theorem succ_inj' (a b : mynat) (hs : succ(a) = succ(b)) : a = b := begin apply succ_inj, exact hs, end end mynat
474f76df2d9bb26172f185577b887e2f1f0cf560
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/group_with_zero/defs.lean
a3dca7dee20ddf7736ddfb69c896c846e6b0f135
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
5,446
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.group.defs import logic.nontrivial /-! # Typeclasses for groups with an adjoined zero element This file provides just the typeclass definitions, and ...
3923a7c5bfc64ebf4c5960daaad8dc81286f6df1
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/types/eq.hlean
77bf5cb7f7f62aa65a8824b6f8f2915f9f542b44
[ "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
21,911
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 Partially ported from Coq HoTT Theorems about path types (identity types) -/ import types.sigma open eq sigma sigma.ops equiv is_equiv is_trunc namespace eq /- P...
3a10f254197b6edf5a56a8a2ce08fd820d0cbc90
82e44445c70db0f03e30d7be725775f122d72f3e
/src/ring_theory/principal_ideal_domain.lean
7e1ec297d48164d0560dd0f89a468ec6bf3e59ba
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
10,178
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Morenikeji Neri -/ import ring_theory.noetherian import ring_theory.unique_factorization_domain /-! # Principal ideal rings and principal ideal domains A principal ideal r...
f372581f8e42951bb94a28b44ff90672f73b75af
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/closed/functor.lean
e7c11c984949e2bec7c2d2639b0a0c6f446c2b17
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,635
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.closed.cartesian import category_theory.limits.preserves.shapes.binary_products import category_theory.adjunction.fully_faithful /-! # Cartesian ...
798a17b6c310ef698a66ac0eec500d7bfd6579c4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_topology/dold_kan/n_comp_gamma.lean
ac2c1537c3539067638eedd2e34834915243b4d1
[ "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
10,932
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.gamma_comp_n import algebraic_topology.dold_kan.n_reflects_iso /-! > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file re...
1ae6e77c9990cebdd8b04a35c48bfe8c6febde84
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/ring_theory/algebra_tower.lean
8a8c612e536cdc16fe101115db6cdd164ccbc0d8
[ "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
12,193
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 ring_theory.adjoin /-! # Towers of algebras We set up the basic theory of algebra towers. The typeclass `is_algebra_tower R S A` expresses that `A` is an `S`-algebra,...
fec98d1f3d867ab7087ef6375c2ce674a290f2bb
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/localization.lean
7266ed7e747ce7bbce2256e1808e82b21a0446ed
[ "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
78,308
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston -/ import data.equiv.ring import group_theory.monoid_localization import ring_theory.ideal.operations import ring_theory.ideal....
7c9f24a1d558d34e548d83f5818b3c7467cc8ee5
8930e38ac0fae2e5e55c28d0577a8e44e2639a6d
/data/option.lean
f9cb4283482ecbe05394c9697f42520853038e5c
[ "Apache-2.0" ]
permissive
SG4316/mathlib
3d64035d02a97f8556ad9ff249a81a0a51a3321a
a7846022507b531a8ab53b8af8a91953fceafd3a
refs/heads/master
1,584,869,960,527
1,530,718,645,000
1,530,724,110,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,111
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 logic.basic data.bool init.data.option.instances namespace option universe u variables {α β : Type u} instance has_mem : has_mem α (option α) := ⟨λ a b, b = ...
c0e07461ff7b8ae95774f1cb25ba32bfc9cdbd89
c5b07d17b3c9fb19e4b302465d237fd1d988c14f
/src/isos/fin.lean
917eccc84834695c267acb94d75647fa656915bc
[ "MIT" ]
permissive
skaslev/papers
acaec61602b28c33d6115e53913b2002136aa29b
f15b379f3c43bbd0a37ac7bb75f4278f7e901389
refs/heads/master
1,665,505,770,318
1,660,378,602,000
1,660,378,602,000
14,101,547
0
1
MIT
1,595,414,522,000
1,383,542,702,000
Lean
UTF-8
Lean
false
false
2,314
lean
import data.iso namespace fin @[simp] def mk.eta {n} (i : fin n) {h} : fin.mk i.val h = i := by induction i; refl def zero_iso : fin 0 ≃ 0 := ⟨λ x, fin.elim0 x, λ x, pempty.rec _ x, λ x, fin.elim0 x, λ x, pempty.rec _ x⟩ def one_iso : fin 1 ≃ 1 := ⟨λ x, (), λ x, 0, λ x, by induction x with x h; simp [lt_one h]; c...
55949c236547de97b0ecc2c307e48ab53c33dbb2
82e44445c70db0f03e30d7be725775f122d72f3e
/src/deprecated/subfield.lean
7c7cd6389ee0c14f885a0d12af0c2da1666f1cea
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
5,832
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import deprecated.subring import algebra.group_with_zero.power /- # Unbundled subfields This file introduces the predicate `is_subfield` on `S : set F` where `F...
fde00bdc0afe18ea2a112082bdae93d54fff69d4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/ind_whnf2.lean
43ab6f4f5b2bcfafc95f3e4d69beb99f4f5f70c0
[ "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
218
lean
def Set (α : Type u) : Type u := α → id Prop mutual inductive Even : id (Set Nat) | zero : Even 0 | succ : Odd n → Even n inductive Odd : Set Nat | succ : Even n → Odd n end #print Even #print Odd
c014c0f5a83756d038d1f86d0be38d006a150dc6
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/MetavarContext.lean
ec285b2d2602c0a3f0b1d8b23f5a081b6ad20d47
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
54,594
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.MonadCache import Lean.LocalContext namespace Lean /- The metavariable context stores metavariable declarations and their assignments. It...
713c978a604261a44758fc4fe8ed0195f161c50a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/ind5.lean
6fc537c951456d32c8afa9694086cd7e464e9077
[ "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
177
lean
prelude definition Prop : Type.{1} := Type.{0} inductive or (A B : Prop) : Prop | intro_left : A → or | intro_right : B → or #check or #check or.intro_left #check or.rec
583505a500c18dd85edbd13fcbaeb2a2023c200f
cabd1ea95170493667c024ef2045eb86d981b133
/src/super/clause.lean
63c57fb2ef2775a679a1abf77b043c49250cc518
[]
no_license
semorrison/super
31db4b5aa5ef4c2313dc5803b8c79a95f809815b
0c6c03ba9c7470f801eb4d055294f424ff090308
refs/heads/master
1,630,272,140,541
1,511,054,739,000
1,511,054,756,000
114,317,807
0
0
null
1,513,304,776,000
1,513,304,775,000
null
UTF-8
Lean
false
false
8,664
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import init.meta.tactic .utils .trim open expr list tactic monad decidable native namespace super meta def is_local_not (local_false : expr) (e : expr) : option expr ...
5588d2936425a5618356355ca9c36759d8142b7d
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category/fold.lean
ed84dc1066ca91b4def2106af1e549bab8d00aa9
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
14,644
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Sean Leather List folds generalized to `traversable`. Informally, we can think of `foldl` as a special case of `traverse` where we do not care about the reconstructed data s...
1f638919c630f38e318ffb75bc73502cb9901f16
2102833783742d9cd20d98b382ecb3af427d8071
/library/init/meta/match_tactic.lean
1b93110500016bead28f38ecd60d3033a66d884f
[ "Apache-2.0" ]
permissive
bryangingechen/lean
b63dd2b7d2ed46c13c6226148691b7d88282e9b2
ec76117504723667bdc0dda4b93aa1b31536147d
refs/heads/master
1,592,587,806,769
1,568,328,715,000
1,568,328,715,000
196,801,202
0
0
Apache-2.0
1,563,085,022,000
1,563,085,022,000
null
UTF-8
Lean
false
false
4,704
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.interactive_base init.function namespace tactic meta structure pattern := /- Term to match. -/ (target : expr) /- Set of universes...
171f11f387a0fd78b74447342e68da340f11686a
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/category_theory/fully_faithful.lean
7ef8937c3270d18fc81cca28549c8beb11329a5b
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
6,599
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import logic.function.basic import category_theory.natural_isomorphism universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; see `category_theory.category` for an ...
5225f0f33b9f396000f4f4befaee10d027293362
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Init/Control/Basic.lean
7f3d120303f3c905e492779844f99129cee68447
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,628
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Core universes u v w @[reducible] def Functor.mapRev {f : Type u → Type v} [Functor f] {α β : Type u} : f α → (α → β...
8084de91bc0b4142cfa2c246ea9e4daa8a964b6f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/filter/n_ary.lean
b4bca5c1a51e0fa763130d2d2c55f0b4050b312f
[ "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
18,070
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.filter.prod /-! # N-ary maps of filter > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This ...
0f6df1485ab8731603c5b8ecb60312d2a9947c6e
80746c6dba6a866de5431094bf9f8f841b043d77
/src/order/filter.lean
072ee8ee41e82e028c39cc74895c5fa417c6d03f
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
94,815
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Theory of filters on sets. -/ import order.galois_connection order.zorn import data.set.finite data.list import algebra.pi_instances import category.applicative open la...
9afdbae352d311fbc9fe2bd1d4580cce2abbd34c
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib/Mathport/Rename.lean
c79b0e19729c45f79f94f24d9d6effe23516a62d
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
1,551
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean namespace Mathlib.Prelude.Rename open Lean open System (FilePath) open Std (HashMap) abbrev RenameMap := HashMap Name Name def RenameMap.insertP...
ce6c7605617744b25f57f4d157533c4f50ed0d13
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/tensor_algebra.lean
8071a4a48f72d023781b9310bf665f0e8d696422
[ "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
7,198
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import algebra.free_algebra import algebra.ring_quot import algebra.triv_sq_zero_ext /-! # Tensor Algebras Given a commutative semiring `R`, and an `R`-module `M`, we const...
83d7b2af04d65cf7f1ecf95f231699aef6276260
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/2199.lean
c95d133e820eb43a50eff5165f98fe16029db869
[ "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
207
lean
theorem exists_foo : ∃ T : Type, Nonempty T := ⟨Unit, ⟨()⟩⟩ set_option trace.Meta.debug true example : True := by cases exists_foo rename_i T hT have : Nonempty T := inferInstance trivial
a9103866979df9c06ace1c2be824103a129838b6
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Data/Json.lean
eb94436dbc01d84249ef1af0095fd34ef710edcd
[ "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
286
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Marc Huisinga -/ prelude import Init.Lean.Data.Json.Printer import Init.Lean.Data.Json.Parser import Init.Lean.Data.Json.FromToJson
5084b2d691ca00b8b482232f9ee0a59bf3d7a793
57c233acf9386e610d99ed20ef139c5f97504ba3
/test/finish4.lean
292c38c4e610414038282ef53b6fd643afc73ba3
[ "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
1,538
lean
/- Copyright (c) 2019 Jesse Michael Han. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Jesse Michael Han Tests for `finish using [...]` -/ import tactic.finish import algebra.order.ring section list_rev open list variable {α : Type*} def append1 (a : α) : list α...
d82abf9c07e6a85355e41e56d02ce6c58eebda72
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/computability/partrec_code.lean
55da8f2d6c69c75131dd55d0c849f8cdb87b4cc6
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
38,845
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Godel numbering for partial recursive functions. -/ import computability.partrec open encodable denumerable namespace nat.partrec open nat (mkpair) theorem rfind' {f...
a1197da73bce64973b5632dc0e164695359eb0c0
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/notation.lean
97e3b56d5b96c8c9dd52fdcdb27613057920e057
[ "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
382
lean
-- open num constant b : num check b + b + b check true ∧ false ∧ true check (true ∧ false) ∧ true check (2:num) + (2 + 2) check (2 + 2) + (2:num) check (1:num) = (2 + 3)*2 check (2:num) + 3 * 2 = 3 * 2 + 2 check (true ∨ false) = (true ∨ false) ∧ true check true ∧ (false ∨ true) constant A : Type constant a : A notatio...