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
e43149ee2870f55551c278b028552981d219c9c5
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/tactic25.lean
dfbd29bac55aca36b7e02616adce900294ae44ed
[ "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
643
lean
import logic open tactic definition my_tac1 := apply @eq.refl definition my_tac2 := repeat (and_then (apply and.intro) assumption) tactic_hint my_tac1 tactic_hint my_tac2 theorem T1 {A : Type.{2}} (a : A) : a = a theorem T2 {a b c : Prop} (Ha : a) (Hb : b) (Hc : c) : a ∧ b ∧ c notation `(` h `|` r:(foldl `|` (e r,...
43a69cd85c48667c75536ba43c19439a28e292f0
99b5e6372af1f404777312358869f95be7de84a3
/src/hott/init/path.lean
b8ddda1be3152dc424228029192077f7014e5e3e
[ "Apache-2.0" ]
permissive
forked-from-1kasper/hott3
8fa064ab5e8c9d6752a783d74ab226ddc5b5232a
2db24de7a361a7793b0eae4ca5c3fd4d4a0fc691
refs/heads/master
1,584,867,131,028
1,530,766,841,000
1,530,766,841,000
139,797,034
0
0
Apache-2.0
1,530,766,961,000
1,530,766,961,000
null
UTF-8
Lean
false
false
33,550
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ import .meta.support .meta.simp_attr .meta.induction .path0 universes u v w hott_theory namespace ho...
6fb18cbeb835ab4e98cb8e8fa045229ae5d3ccad
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/squarefree.lean
57b7ffb8c596ee91171216b95c2f5fda8543c103
[ "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
9,429
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 ring_theory.unique_factorization_domain import ring_theory.int.basic import number_theory.divisors /-! # Squarefree elements of monoids An element of a monoid...
7b50095cea4da658d6ddca30167e4c59d6f9f16b
b147e1312077cdcfea8e6756207b3fa538982e12
/data/prod.lean
a17933cefe29824e5b0f126481e79308a58f37ad
[ "Apache-2.0" ]
permissive
SzJS/mathlib
07836ee708ca27cd18347e1e11ce7dd5afb3e926
23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29
refs/heads/master
1,584,980,332,064
1,532,063,841,000
1,532,063,841,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,195
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 Extends theory on products -/ import tactic.ext universes u v variables {α : Type u} {β : Type v} @[simp] theorem prod.forall {p : α × β → Prop} : (∀ x, p x) ↔ (∀ a b...
3da7a40a8b0ba922bc7167df047e1cb1c9a24278
da3a76c514d38801bae19e8a9e496dc31f8e5866
/library/init/meta/simp_tactic.lean
65d42658cf53bc8d1cfec2e171ec73723106ea70
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
18,059
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.tactic init.meta.attribute init.meta.constructor_tactic import init.meta.relation_tactics init.meta.occurrences init.meta.quote op...
8c175e1c1d8160cc54fef298b9317149428a9132
70f8755415fa7a17f87402cde4651e9f4db1b5bb
/test/examples.lean
e2a908184c803abeca4dc5411c038ff8e5c9b5c5
[ "Apache-2.0" ]
permissive
shingarov/qpf
ab935dc2298db12c87ac011a2e4d2c27e0bdef4b
debe2eacb8cf46b21aba2eaf3f2e20940da0263b
refs/heads/master
1,653,705,576,607
1,570,136,035,000
1,570,136,035,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
903
lean
import data.fix.parser.equations universes u data tree (α β : Type) | nil : tree | cons : α → (β → tree) → tree -- #print prefix tree -- #print tree.shape -- #print tree.shape.internal -- #print tree.shape.internal.mvfunctor -- #print tree.shape.internal.mvqpf -- #print tree.internal -- #print tree -- #print tree.mv...
c0d73c8aaf254be05ba417a6ec7e43a1713b388e
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finset/nat_antidiagonal.lean
66f68b4a912f4f7811cce02f027a363de1e826bf
[ "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
4,957
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.finset.card import data.multiset.nat_antidiagonal /-! # Antidiagonals in ℕ × ℕ as finsets This file defines the antidiagonals of ℕ × ℕ as finsets: the `...
67e7aa8f7e7d3ceb8aee93b6ce5ce591aec85503
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Data/Lsp/TextSync.lean
eec6d0da902849bb1d15a85df90bb9cf81aa8bc0
[ "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
2,815
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Lean.Data.Json import Lean.Data.Lsp.Basic /-! Section "Text Document Synchronization" of the LSP spec. -/ namespace Lean namespace Lsp ope...
b0fb0019261f1d01a9f24da078332bdf3f6eb66e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/invalidInstImplicit.lean
748bbf9e2bc3badf912bd637ba2807e435534922
[ "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
29
lean
def foo [Nat] (x : Nat) := x
9ebbef2a031f97da9a91c5efa900fd9fbadddeb9
7b02c598aa57070b4cf4fbfe2416d0479220187f
/algebra/ses.hlean
e03603d51cf3d546672fcccbd941b8f19b9d94a9
[ "Apache-2.0" ]
permissive
jdchristensen/Spectral
50d4f0ddaea1484d215ef74be951da6549de221d
6ded2b94d7ae07c4098d96a68f80a9cd3d433eb8
refs/heads/master
1,611,555,010,649
1,496,724,191,000
1,496,724,191,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,508
hlean
/- Copyright (c) 2017 Egbert Rijke. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Egbert Rijke Basic facts about short exact sequences. At the moment, it only covers short exact sequences of abelian groups, but this should be extended to short exact sequences in any...
219ef29bf7d6b3f0f2fdbf4761bc38336f21b744
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/polynomial/degree/lemmas.lean
9b110e191ae7e9f2832cdc3220420ad593d3ceef
[ "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
5,837
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.eval import tactic.interval_cases /-! # Theory of degrees of polynomials Some of the main results...
a20cd579f9d23c8e6c68451e719eece6a2525d46
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/casesUsing.lean
9f26b0ca4a3df271d7376e7f0ea61c27e39d95b9
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
4,701
lean
import Lean open Lean open Lean.Meta open Lean.Elab.Tactic universe u axiom elimEx (motive : Nat → Nat → Sort u) (x y : Nat) (diag : (a : Nat) → motive a a) (upper : (delta a : Nat) → motive a (a + delta.succ)) (lower : (delta a : Nat) → motive (a + delta.succ) a) : motive y x theorem ex1 (p q : Nat) : p ≤ ...
b225c6c8e28abc7f5b8fda173dac39253b9376d2
367134ba5a65885e863bdc4507601606690974c1
/src/control/monad/basic.lean
d7469b2bfcc2d20264f6281c2849d4ad873f931d
[ "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
2,723
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import tactic.basic import data.equiv.basic /-! # Monad ## Attributes * ext * functor_norm * monad_norm ## Implementation Details Set of rewrite rules and automat...
ae9a8aff5e8c2ff594a5c8e858442916b479c84d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/ring/pi.lean
12b0c29fef7827b6cebd46d5dceb53fa4a9491b6
[ "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,877
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import tactic.pi_instances import algebra.group.pi import algebra.hom.ring /-! # Pi instances for ring This file defines instances for ring, semiring and ...
3f9448c308d4a25cee8d98422b1562e4fa589c65
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/metric_space/gromov_hausdorff.lean
61f22c5b4d64ed7f972c85683399034177389dd7
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
55,265
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import set_theory.cardinal.basic import topology.metric_space.closeds import topology.metric_space.completion import topology.metric_space.gromov_hausdorff_real...
eacd4924b2572e0e8c81d6d90a7836c006eea4a7
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/analysis/normed_space/SemiNormedGroup.lean
12a8511f7ce1950eb2ea9141cbd8237aec8ce829
[ "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
4,700
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Riccardo Brasca -/ import analysis.normed_space.normed_group_hom import category_theory.concrete_category.bundled_hom import category_theory.limits.shapes.zero /-! # T...
5e704681c8f19d2515058ebeaaa29eadee141be8
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/run/generalizeTelescope.lean
aaf7b41fbf17a04105325e5f0a84352d115348fe
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,392
lean
import Lean open Lean open Lean.Meta inductive Vec (α : Type) : Nat → Type | nil : Vec α 0 | cons {n} : α → Vec α n → Vec α (n+1) set_option trace.Meta.debug true def nat := mkConst `Nat def succ := mkConst `Nat.succ def tst1 : MetaM Unit := withLocalDeclD `n nat fun n => do let n1 := mkApp succ n let vec...
fb7602c536bc9c69e7aba7bec6a0aef9c830602a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/panicAtCheckAssignment.lean
61c31c48eb9fed18813f163df3148e3827a52a75
[ "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
209
lean
import Lean open Lean open Lean.Meta def bug : MetaM Unit := do let i := 0 forallTelescopeReducing default fun ys _ => do let mut j := 0 for y in ys do throwError "#{i+1}" j := j + 1
af942e5350a8bb2832ccc9f9464830886fecaab8
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/cond_tac.lean
e592e706588c0da8cb274231595409fc8c8cb187
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
1,130
lean
import tactic (* simple_tac = Cond(function(env, ios, s) local gs = s:goals() local n, g = gs:head() local r = g:conclusion():is_and() print ("Cond result: " .. tostring(r)) return r end, ...
7a40fa0a58dc5463f1c9f4fda8f9fc6f0c1a1aaf
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/vm_override.lean
e5a2b394dfa04b6ea8453d6ece44b5664086688e
[ "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
8,742
lean
/- Author: E.W.Ayers -/ meta def hello_override := `hello_override.name @[vm_override hello_override] -- this means that the VM should replace the definition of `hello` with `hello_override` when evaluating. meta def hello := `hello.name #print hello -- should use `hello #eval hello ...
fbbdc92c868cde44ca81290db52cc883f7599aa4
4727251e0cd73359b15b664c3170e5d754078599
/src/data/rbtree/insert.lean
9103dd71a7b328491e95385b0fa9386fdb10db38
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
33,738
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 -/ import data.rbtree.find universes u v local attribute [simp] rbnode.lift namespace rbnode variables {α : Type u} open color @[simp] lemma balance1_eq₁ (...
abe3a222efd681e50878215b36d4f44579069aea
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/data/multiset.lean
86b5bcd9d98aba9721dfa412742c2e9d9f0ffc8f
[ "Apache-2.0" ]
permissive
uniformity1/mathlib
829341bad9dfa6d6be9adaacb8086a8a492e85a4
dd0e9bd8f2e5ec267f68e72336f6973311909105
refs/heads/master
1,588,592,015,670
1,554,219,842,000
1,554,219,842,000
179,110,702
0
0
Apache-2.0
1,554,220,076,000
1,554,220,076,000
null
UTF-8
Lean
false
false
127,910
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Multisets. -/ import logic.function order.boolean_algebra data.list.basic data.list.perm data.list.sort data.quot data.string algebra.order_functions algebra....
c22e1486c156eda52ae4cd7f8f13fa5438986d93
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/equiv/ring.lean
9bad11bf6e8481524a3bbb545f22604a70027909
[ "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
11,369
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 algebra.field import algebra.opposites /-! # (Semi)ring equivs In this file we define extension of ...
4e331d262caf6f3fb40ee5b134c592c559a78531
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/eval_tactic.lean
34c81e1e1099769d0060c50a056654f9fcf4cbee
[ "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
62
lean
#eval tactic.trace 42 #eval (tactic.fail "nope" : tactic nat)
2c45fb96ac73dc375e6e4701ef6138837017a7ba
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/ToString/Macro.lean
eb113feaf7afd8a86a21aee29606c7b642367ccb
[ "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
372
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 -/ prelude import Init.Meta import Init.Data.ToString.Basic syntax:max "s!" interpolatedStr(term) : term macro_rules | `(s! $interpStr) => do interpStr.expa...
8d2708e101720e45349530a07b2fb3ce8e2586c1
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/measure_theory/function/lp_space.lean
f813aac01dd093883b3f97a450a6cf72b75634af
[ "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
109,586
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import analysis.normed_space.indicator_function import analysis.normed_space.normed_group_hom import measure_theory.function.ess_sup import measure_the...
76eaeabd7ed743e63379a7e9cdbd710b9edb9e92
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed_space/pointwise.lean
f965936ea9ec0e3c4eb884ffffd1ea61a0e0c276
[ "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
16,371
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yaël Dillies -/ import analysis.normed.group.pointwise import analysis.normed_space.basic /-! # Properties of pointwise scalar multiplication of sets in normed s...
6d18d86d1d3f6ed9207dfdd4638f6363fe61960e
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Elab/Quotation.lean
025a6b0710ef67b524f8727732d1d069cc3b794a
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,247
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic hygiene workings and data types. -/ import...
5da3c005ad48c9d265974001ce6b6d022d83c34d
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/geometry/manifold/manifold.lean
9205a25a5ae93b19da14ef188b53e574ec6a73b6
[ "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
27,191
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.local_homeomorph /-! # Manifolds A manifold is a topological space M locally modelled on a model space H, i.e., the manifold is covered by ope...
822bb7b64964c7db08e008224fffe8afeae83fbd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/fieldCompletion.lean
2d9ad2627ccafc4fab54ebbd169b29ac241fd1e3
[ "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
99
lean
import Lean open Lean Elab def f (s : DefView) : DefView := { m --^ textDocument/completion }
8a8e8b0651543e48d6fd3b01a7ddb6848a51fbb4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/meta3.lean
b0205afc057678fafcbdafe53e6feead804709b4
[ "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
50
lean
check `foo.bla vm_eval mk_num_name (`foo.bla) 10
68d358915b6a1faf6ac9adf6a14a2b7c80daba25
4a894698f2ae3f991490c25af3c13ea4435dac48
/src/test/leantest.lean
8aef291caca703ddccce439398bae5970dca682a
[]
no_license
gnujey/cs2120f21
8a33f636346d59ade049dcc1726634f434ac1955
138d43446c443c1d15cd2f17fb607c4f0dff702f
refs/heads/main
1,690,598,880,775
1,631,132,566,000
1,631,132,566,000
405,182,739
1
0
null
1,631,299,824,000
1,631,299,823,000
null
UTF-8
Lean
false
false
170
lean
/- Am I green? Look below! Is import blue? No red squiggles? Good to go! -/ import algebra.add_torsor /- Otherwise something's wrong with your lean/mathlib install. -/
3871ee74a209a0baa4d57826cf747da21d7df420
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/rat/nnrat.lean
e6c1963ed1fb4db3c921812a32aedbed84fce423
[ "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
12,784
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.algebra.basic import algebra.order.nonneg.field /-! # Nonnegative rationals This file defines the nonnegative rationals as a ...
cc9cca995d72a314f8f065f926ca49fed73304af
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/preadditive/injective.lean
bcb4693c4d9d91c9cff3d4d5bba18bc4f9c53c1c
[ "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
11,822
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Kevin Buzzard -/ import category_theory.preadditive.projective /-! # Injective objects and categories with enough injectives > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > ...
f2c0bc805ddd0179fe3641c5423c3e3c586a35ce
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/mathd-algebra-171.lean
dc4ed7b551010308675723b547dc91069f9ede2a
[ "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
271
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 (f : ℝ → ℝ) (h₀ : ∀x, f x = 5 * x + 4) : f 1 = 9 := begin rw h₀, linarith, end
0bb7fe8742998c0912374f2f0335dd725cdf8609
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/function/locally_integrable.lean
af86545e34b2217e22bd01b3213e8bbdc0716f41
[ "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
21,170
lean
/- Copyright (c) 2022 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.integral.integrable_on /-! # Locally integrable functions A function is called *locally integrable* (`measure_theory.locally_integrable`) ...
5cf14e155d958ad1e18d1bf85b1a8ee6af5cd0b2
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/ref1.lean
10035aced504551d68ca3ef7623215064c13400e
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
587
lean
def inc (r : IO.Ref Nat) : IO Unit := do let v ← r.get; r.set (v+1); IO.println (">> " ++ toString v) def initArray (r : IO.Ref (Array Nat)) (n : Nat) : IO Unit := n.forM $ fun i => do r.modify $ fun a => a.push (2*i) def showArrayRef (r : IO.Ref (Array Nat)) : IO Unit := do let a ← r.swap ∅; a.size.forM (fun i =>...
3258477bc5fb8d2ed37dc88ed0ac18af96bca8e4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/set_theory/game/state.lean
14f118bc5685dc8136b4896c689d13791563c8c7
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
8,847
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 set_theory.game.short /-! # Games described via "the state of the board". We provide a simple mechanism for constructing combinatorial (pre-)games, by descri...
f2c19069d2b1b8b5fc524cd03da9595d35125e16
c2b0bd5aa4b3f4fb8a887fab57c5fc08be03aa01
/variables/nary.lean
cefdc5b6576229fe5439f379a8f60b1b30d94fcb
[]
no_license
cipher1024/lambda-calc
f72aa6dedea96fc7831d1898f3150a18baefdf0b
327eaa12588018c01b2205f3e4e0048de1d97afd
refs/heads/master
1,625,672,854,392
1,507,233,523,000
1,507,233,523,000
99,383,225
4
0
null
null
null
null
UTF-8
Lean
false
false
3,082
lean
import util.data.sum import ..lens universes u v w namespace nary open nat lenses has_map def nth' {α : Type u} (xs : list α) (i : fin xs.length) : α := xs.nth_le i.val i.is_lt def sum_of (xs : list ℕ) : Type := (Σ i : fin xs.length, fin (nth' xs i)) inductive var (α : Type u) (xs : list ℕ) : Type u | bound (v ...
2318731ae789859dd8aca88dfebe0394884e52ab
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/abbrev_paren.hlean
289bb075a59a1601f7aa359f3f8d4c017be53347
[ "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
105
hlean
import algebra.precategory.basic open category example {C : Precategory} : C = Precategory.mk C C := _
8efd4bf909cd9ef9eaebeb99ba46b3b6506a46f4
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/real/pi.lean
61f93aa35ee4db8e170608911daf088ef54aeba6
[ "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
7,425
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import analysis.special_functions.trigonometric namespace real lemma pi_gt_sqrt_two_add_series (n : ℕ) : 2 ^ (n+1) * sqrt (2 - sqrt_two_add_series 0 n) < pi := ...
a43f0a42c7adf88010b39be394d0104940e1f1b6
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/witt_vector/frobenius.lean
2828da0f0e644247b9f8374aaa0fc5910068a26f
[ "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
14,135
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 data.nat.multiplicity import ring_theory.witt_vector.basic import ring_theory.witt_vector.is_poly import field_theory.perfect_closure /-! ## The Frobenius o...
bbb51679bf3a96de00a4609629c344f32c04eaf5
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/wfrecUnusedLet.lean
f095bf336c00aea6a3867690f0e480490cd929cc
[ "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
217
lean
def f (n : Nat) : Nat := if h : n = 0 then 1 else let y := 42 2 * f (n-1) termination_by measure id decreasing_by simp [measure, id, invImage, InvImage, Nat.lt_wfRel] apply Nat.pred_lt h #print f
5abfa58e3984197b03b3159be8820aefce9652dd
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/floor.lean
9a78bc1ffa8ff1b67e03f50bfb675b73f5329563
[ "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
17,219
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 tactic.abel import tactic.linarith /-! # Floor and ceil ## Summary We define the natural- and integer-valued floor and ceil functions on l...
f923167d4497d66af61f0935ef73cdc79ec6a3ab
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/smt/arith.lean
7a2eaf8e44be799e5617c842f4b7e96b74feb4e9
[ "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,324
lean
import algebra.ordered_field -- Arithmetic constants (int real : Type.{1}) constants (int_has_zero : has_zero int) constants (int_has_one : has_one int) constants (int_has_add : has_add int) constants (int_has_mul : has_mul int) constants (int_has_sub : has_sub int) constants (int_has_neg : has_neg int) constants (int...
37a06146091f942bc51103daad92563a72269c4f
0f5090f82d527e0df5bf3adac9f9e2e1d81d71e2
/src/michael/basic.lean
153dcc246aa05ae797170f335927c6d4262cf77f
[]
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
3,645
lean
-- definitions copied from mathlib.hedetniemi/graph_theory/basic.lean & paths.lean import data.equiv.basic import logic.relation import data.fintype.basic import data.set.finite import tactic noncomputable theory /-! # Definitions of graphs -/ universe variables v v₁ v₂ v₃ u u₁ u₂ u₃ u₄ structure directed_multigra...
4d7498dc86d21669c9fdeeb4945e6b84515a1a27
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/quot.lean
d3107d8d2fd5f15fbe3a037eb4f9b0fc13f61267
[ "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
27,745
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 logic.relator /-! # Quotient types This module extends the core library's treatment of quotient types (`init.data.quot`). ## Tags quotient -/ variables {α...
a9a30557034fa652e567f5784ce627ac89e5987b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/converter/binders.lean
8199515c6ac781e9f26980ef587f2e6bf5676137
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
7,457
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 Binder elimination -/ import order.complete_lattice namespace old_conv open tactic monad meta instance : monad_fail old_conv := { fail := λ α s, (λr e, tactic.fail (t...
f1b2f55be9c8cae09d31d9d1dd1848e35c71604c
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/Mathlib/Mathlib/Data/List/Basic.lean
cc808ad08db1f36295469fdab261658092b2f61c
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,470
lean
import Mathlib.Logic.Basic import Mathlib.Data.Nat.Basic import Mathlib.SetNotation import Lean namespace List /-- The same as append, but with simpler defeq. (The one in the standard library is more efficient, because it is implemented in a tail recursive way.) -/ @[simp] def append' : List α → List α → List α | [], ...
e2543581d0036ac8d65b1fb8bb499ced704d11df
7cef822f3b952965621309e88eadf618da0c8ae9
/test/ext.lean
d28a68b10f7dd0b5dd14ecc87b0b5af5066ea1be
[ "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
4,246
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.core import tactic.ext import tactic.solve_by_elim import data.set.basic data.stream.basic @[ext] lemma unit.ext (x y : unit) : x = y := begin cases x, ca...
d701420c6d889d8c38e3a8767e6d7bb632f7bdd7
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/algebra/functions.lean
1db52b19aad9c475ca6b1ecca19e4dce6fa3dd5c
[ "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
2,096
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ universe u variables {α : Type u} section variables [decidable_linear_order α] {a b c : α} lemma le_min_iff : c ≤ min a b ↔ c ≤ a ∧ c ≤ b := ⟨λ h, ⟨le_trans h (min...
5668e9eeb00d3f2a2a004d55a7c7e1b1fa5ac079
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/set_theory/game/short.lean
8d2bb319530e504cb85ca67dc3396b0e7ff38dba
[ "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
9,227
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 data.fintype.basic import set_theory.cardinal.cofinality import set_theory.game.birthday /-! # Short games A combinatorial game is `short` [Conway, ch.9][con...
82c340e811203f4850f21e1f018d74acd01d1f55
82e44445c70db0f03e30d7be725775f122d72f3e
/src/category_theory/subobject/mono_over.lean
d23c9602c92f0e9db5a78acc80d7278c7deefaec
[ "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
13,444
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.currying import category_theory.limits.over import category_theory.adjunction.reflective /-! # Monomorphisms over a fixed object ...
38673f85a932695f8bd1d1fd1a8a74bf7f5698d5
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/special_functions/pow.lean
64d40f77544cfa83e58306d04f14e4bf20df52f7
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
81,064
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Sébastien Gouëzel, Rémy Degenne -/ import analysis.special_functions.complex.log import analysis.calculus.extend_deriv imp...
df18b293828e6ab6572d31fb113dae590f13545f
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/format.lean
71fc0275004f723a1990f01fc1e8fa28f9a95d40
[ "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
291
lean
import system.IO open list vm_eval pp ([["aaa", "bbb", "ccc", "dddd", "eeeeee", "ffffff"], ["aaa", "bbb", "ccc", "dddd", "eeeeee", "ffffff"], ["aaa", "bbb", "ccc", "dddd", "eeeeee", "ffffff"], ["aaa", "bbb", "ccc", "dddd", "eeeeee", "ffffff"]], [(10:nat), 20, 30])
0caeb3647efe7ea705b060cd6d1d337ea5dbec4b
a4673261e60b025e2c8c825dfa4ab9108246c32e
/stage0/src/Lean/Data/Trie.lean
ac94949b4604ea668a47085e8228e5b78337f3a8
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,745
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Trie for tokenizing the Lean language -/ import Lean.Data.Format namespace Lean namespace Parser open Std (RBNode RBNode.leaf RBNode.singl...
225808c36dbdcec37106087ad13e4b5d78367b18
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/uni_issue1.lean
8aceff03da952beed691dc34257515d61434bb65
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
168
lean
import logic namespace experiment inductive nat : Type := zero : nat, succ : nat → nat definition is_zero (n : nat) := nat.rec true (λ n r, false) n end experiment
89070595232a4a144de1a25612a0f4b50c17885a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/fun_like/fintype.lean
168b503062b7b501de614ebb6097c0370799cb6e
[ "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,660
lean
/- Copyright (c) 2022 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import data.finite.basic import data.fintype.basic import data.fun_like.basic /-! # Finiteness of `fun_like` types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any chang...
e51b25f28f2afabba1a631707012b2eaeb3be188
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/normed_space/SemiNormedGroup.lean
357feed39e0f3bfc01a31e5c28a9f22176797ced
[ "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,371
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Riccardo Brasca -/ import analysis.normed_space.normed_group_hom import category_theory.limits.shapes.zero /-! # The category of seminormed groups We define `SemiNorm...
bea6b7b89616aa12eed7bbea26407e8553e9a2c2
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/widget/widget_effects.lean
84efa9c800985c4fc5778505b8f3f30039098524
[ "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
643
lean
open widget meta def effect_c : component tactic_state empty := widget.component.with_state unit nat (λ _, 0) (λ _ _ x, x) (λ _ x _, (x+1,none)) $ widget.component.with_effects (λ _ _, [ effect.reveal_position none (pos.mk 60 14), effect.insert_text_relative 3 "hello", effect.custom "hello" "world", ef...
9e8e2506a2fb80c577d281bbc5afc5def102fe2c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/number_theory/padics/padic_norm.lean
fddd0d5ca3711f1c01401f22c5afdf1865bab1cb
[ "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
26,573
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import ring_theory.int.basic import algebra.field_power import ring_theory.multiplicity import data.real.cau_seq import tactic.ring_exp import tactic.basic /-! # p...
d2e187840eff63977f2550332f757eda0fef1180
4fa161becb8ce7378a709f5992a594764699e268
/src/linear_algebra/dual.lean
87d32712c079bc814f17913626cb4addeb04bb7c
[ "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
10,116
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.finite_dimensional import tactic.apply_fun noncomputable theory /-! # Dual vector spaces The dual space of an R-module M is th...
8e63eee506f9cbf2c0cf2783973c13b960b0ca11
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/number_theory/lucas_primality.lean
df69299eb74296058936ec194854929c37c13a57
[ "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
2,755
lean
/- Copyright (c) 2020 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey -/ import data.zmod.basic import data.fintype.basic import field_theory.finite.basic import group_theory.order_of_element import tactic.zify /-! # The Lucas test for prim...
1eaef3bd6799612d079165ed0a4e4eb1ae4fdd90
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/set/intervals/default.lean
87d4a86d48dac34f6a568da12fa7c35668a845c8
[ "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
60
lean
import data.set.intervals.basic data.set.intervals.disjoint
80e791f2e41fa4eb05ed581fc3edf570a58c81a1
cd221f6f26a5eaa584034502e1f2667c8d5c069c
/src/hello_world_extra.lean
bf71898b433a72e858bc2726a64d9141e109e74a
[]
no_license
NeilStrickland/lean_hello_world
8487b02d463cb148c7ae5e44c7ad6bcced8922ab
f2cd1113e16a7e956e194a66cc3101b7ea324b34
refs/heads/master
1,587,743,393,549
1,550,847,133,000
1,550,847,133,000
172,084,162
0
0
null
null
null
null
UTF-8
Lean
false
false
6,240
lean
/- INTRODUCTION This tutorial introduces the basics of interactive theorem proving in Lean. Key points: - basic boilerplate at the top of the file, - basic grammar of stating and proving, - how to interact with the proof assistant. We will set ourselves the lofty goal of proving 2 + 2 = 4. -/ /- COMMENT...
bc0b916d135831d245894de3da0ae99f02fa1ec3
1dd482be3f611941db7801003235dc84147ec60a
/src/data/complex/basic.lean
ca0d0b9d1f691fce1ed8462f88ab7af97b2a47a2
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
18,254
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro The complex numbers, modelled as R^2 in the obvious way. -/ import data.real.basic tactic.ring algebra.field_power structure complex : Type := (re : ℝ) (...
96c7120e6f096dc563380f72635f572ab4aa09ec
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/lie/cartan_subalgebra.lean
fca892ec70a60500c273ad3c2a3c8f92e9e00435
[ "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
3,325
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.nilpotent /-! # Cartan subalgebras Cartan subalgebras are one of the most important concepts in Lie theory. We define them here. The standard example i...
964e65179e1f560713721838e70f7e2ee429c6f2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/continued_fractions/computation/approximations.lean
01b874ee646be82fdae133368b0cee995c999b78
[]
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
7,922
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.continued_fractions.computation.translations import Mathlib.algebra.continued_f...
d5b7ca2ca320f8fc658f05e7ff06204b2fdc8d3a
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/equiv/fin.lean
49c0c40ba8ef75533bdf10bc8fa82939ad942d4a
[ "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
3,746
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau -/ import data.fin data.equiv.basic /-! # Equivalences for `fin n` -/ universe variables u variables {m n : ℕ} /-- Equivalence between `fin 0` and `empty`. -/ def fin_zero_equ...
89014d2ed798174e7231a701de6e02dc08dd980f
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/data/real/irrational.lean
a351cbacb5759b824e90e6ffd14daa2b9a03a4f7
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
4,904
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne. Irrationality of real numbers. -/ import data.real.basic data.padics.padic_norm local attribute [instance, priority 0]...
3c6f92c5a25abe2ca26ac37df7adec98d4876736
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/lie_algebra.lean
c5c22565181556a427dd05adca355a60398204fc
[ "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
40,850
lean
/- Copyright (c) 2019 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import ring_theory.algebra import linear_algebra.linear_action import linear_algebra.bilinear_form import linear_algebra.direct_sum.finsupp import tactic.noncomm_ring /-! ...
867a56b48a31ea3faa9dc6a7f3713e5656d1fadc
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love11_logical_foundations_of_mathematics_demo.lean
785eef44177367d1006a0a48953441de30ee3d01
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,264
lean
import .love05_inductive_predicates_demo /- # LoVe Demo 11: Logical Foundations of Mathematics We dive deeper into the logical foundations of Lean. Most of the features described here are especially relevant for defining mathematical objects and proving theorems about them. -/ set_option pp.beta true set_option pp...
19aa006fcca81e770d6a4e69c0a393a422ecc626
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/char_zero/quotient.lean
3588403521e3df3dec61ec04b0b254fa0fd6ab3e
[ "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
2,830
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.char_zero import group_theory.quotient_group /-! # Lemmas about quotients in characteristic zero -/ variables {R : Type*} [division_ring R] [char_zero R] {...
d8ca41b0898eb289a69d785fca08fae523d95533
ae9f8bf05de0928a4374adc7d6b36af3411d3400
/src/formal_ml/exp_bound.lean
e0b17952d5a145f9745281d96bc797ff51b8b26c
[ "Apache-2.0" ]
permissive
NeoTim/formal-ml
bc42cf6beba9cd2ed56c1cd054ab4eb5402ed445
c9cbad2837104160a9832a29245471468748bb8d
refs/heads/master
1,671,549,160,900
1,601,362,989,000
1,601,362,989,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,539
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
cd66f0cdb01dfb22eaba5698bc64885e4a645970
4a3109c7bb55b7ea698278061cbb921b8db93b7f
/mm0-lean/x86/lemmas.lean
4266b74c130eb641c1b2444f265eff3ee7deaeb6
[ "CC0-1.0" ]
permissive
LongJohnCoder/mm0
d233200cd7baae9c521cacfbbe162b2ff3bd993f
0c556a21af92d552e859fd42794f57398c3964cf
refs/heads/master
1,600,930,472,594
1,574,627,400,000
1,574,627,400,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
56,120
lean
import x86.x86 data.list.basic data.zmod.basic namespace bitvec theorem of_nat_zero (n) : bitvec.of_nat n 0 = 0 := by induction n; [refl, exact congr_arg (vector.cons ff) n_ih] theorem of_nat_one (n) : bitvec.of_nat n 1 = 1 := by cases n; [refl, exact congr_arg (vector.cons tt) (of_nat_zero _)] theorem from_bits_fi...
4bfc8e71a57235d2ee4ae820a87274a87453c824
59aed81a2ce7741e690907fc374be338f4f88b6f
/src/math-688/lectures/lec-5.lean
e9f730de45a5834bafca00f4da1a4c5e57f7152f
[]
no_license
agusakov/math-688-lean
c84d5e1423eb208a0281135f0214b91b30d0ef48
67dc27ebff55a74c6b5a1c469ba04e7981d2e550
refs/heads/main
1,679,699,340,788
1,616,602,782,000
1,616,602,782,000
332,894,454
0
0
null
null
null
null
UTF-8
Lean
false
false
298
lean
/- 9 Sep 2019 -/ -- characteristic vector for set membership -- cardinality of power set of set with n elements is 2^n -- number of k-subsets of [n] -- binomial theorem -- permutations -- theorem stating that every permutation can be written uniquely as a product of disjoint cycles -- fixed point
1f153cf7e16ad83c5f43b1538637fe7bcef2b4b4
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/sum.lean
37735ecd12e23095f17ad870b9bcfed1984d836e
[ "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
1,930
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad The sum type, aka disjoint union. -/ import logic.connectives open inhabited eq.ops notation A ⊎ B := sum A B namespace sum notation A + B ...
c499a5eb4761816e17d6508ed534d196a7311497
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Init/Control/Basic.lean
84db5c300ba2ed055cbb885a915b70119f3d2b6b
[ "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
8,811
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 universe u v w @[reducible] def Functor.mapRev {f : Type u → Type v} [Functor f] {α β : Type u} : f α → (α → β)...
97bf2d193aaea5db2510c5cc395146851358e603
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/order/basic.lean
9754f090fd0c6eaa1769439cae3b756ef121bb93
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
27,497
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import logic.basic data.sum data.set.basic algebra.order open function /- TODO: automatic construction of dual definitions / theorems -/ universes u v...
9c656d4aa1461a718c708ba43195093527e0ebed
7b681d6cc18477cf6b60470d9782923d3ea63915
/W1-sample.lean
03ed870f999ffc6c06142cca8712d1260945e341
[]
no_license
osoulim/LEAN
a7458f597abbe5c36ebbb3f36eab29a4c60f5140
5e0dc240e86e392fdab4b2ffdcc3174c0cce7b66
refs/heads/master
1,591,850,481,195
1,561,547,647,000
1,561,547,647,000
193,852,039
0
0
null
null
null
null
UTF-8
Lean
false
false
421
lean
constant a : ℕ constants c b: nat constant f : Type constant g : f constant e : bool #check 132 #check e && e constant func : nat -> (nat -> nat) constant func1 : nat -> nat -> nat #check func #check func1 constants α β : Type constant F : Type -> bool def double (x : nat) : nat := x + x #print double #check do...
f773a02c09650157e1e9db323c05c6536e988cdd
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/trace_kabstract.lean
4e0937d185bcc812cb86ad2b7d665de6c6cf64da
[ "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
157
lean
set_option trace.rewrite true set_option trace.kabstract true example (f : nat → nat) (a b : nat) (h : f a = a) : f (f a) = a := begin rw h, rw h end
aaef5103d44167e8aa97f0b3a7a253fa0b67ed6d
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/analysis/specific_limits.lean
a3c9ab78a758f943d7638998a8d7134f177a48a8
[ "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
21,546
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 A collection of specific limit computations. -/ import analysis.normed_space.basic algebra.geom_sum import topology.instances.ennreal noncomputable theory open_locale ...
a1f340b5b5dcebf04f3e440be8a493cdad0ca5a7
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/lie/direct_sum.lean
7e0c8e912fa05db8fa96031570d228a9e005c29d
[ "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,015
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.basic import linear_algebra.direct_sum.finsupp /-! # Direct sums of Lie algebras and Lie modules Direct sums of Lie algebras and Lie modules carry natu...
c7df643dcf146b8b6e07dd2fdad7ff42d41aa9a4
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/rewrite.lean
8675edc53c05aedb271b56781492d04e7db54ce7
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
1,516
lean
lemma L1 : ∀ (f : ℕ → ℕ) (k : ℕ), f 0 = 0 → k = 0 → f k = 0 := assume f k H1 H2, begin rw H2, rw H1 end --#check L1 lemma L2 : ∀ (x y : ℕ) (p : nat → Prop) (q : Prop), (q → x = y) → p y → q → p x := assume x y p q H1 H2 H3, begin rw H1; assumption end --#check L2 lemma L3 : ∀...
b7b4a3b8e16d4cc28e67ea31623d5e09c84d9436
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/nonsingular_inverse.lean
293a714959040f995bb41ce985b073d78216f1aa
[]
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
13,651
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.associated import Mathlib.linear_algebra.determinant import Mathlib.tactic.linarith.default...
ba4e8ca8abb75dc27ffd1cfeb7a87e9ec59e0dbd
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/field_theory/normal.lean
97bdbf980632f40d1caf626b8bd5b5d623be4372
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,226
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Thomas Browning, Patrick Lutz -/ import field_theory.adjoin import field_theory.tower import group_theory.solvable import ring_theory.power_basis /-! # Normal field extensions ...
42e4a15101ccae566df3af84d37ec41bf28a697b
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/group_power/basic.lean
d04fe52e7c141643b0dde5bf3b998642951da61b
[ "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
23,141
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.ordered_ring import deprecated.group /-! # Power operations on monoids and groups The power operation on monoids and groups. We separa...
01fc98c2884822605a9b4c7dbb88e152ba091c1d
39c5aa4cf3be4a2dfd294cd2becd0848ff4cad97
/src/Category.lean
57563eec5fbadf3c9f8fc957f159bec91aeef2ff
[]
no_license
anfelor/coc-lean
70d489ae1d34932d33bcf211b4ef8d1fe557e1d3
fdd967d2b7bc349202a1deabbbce155eed4db73a
refs/heads/master
1,617,867,588,097
1,587,224,804,000
1,587,224,804,000
248,754,643
5
0
null
null
null
null
UTF-8
Lean
false
false
2,074
lean
import category_theory.category import Terms import CoC import TypeCheck /-! This file will eventually contain a proof that CoC Types form a category. We allow semantically equal but syntactical different types to be different objects. In contrast, we consider morphisms only in the class of beta-equivalences ...
572f7b4ed41bfca95f0aacdd364a7df60562e14c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/list/lattice.lean
63d95e20fa561e50d58e39fa5c644f76231488d4
[ "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
11,062
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro, Scott Morrison -/ import data.list.count import data.list.infix import algebra.order.monoid.min_...
c385380eb57109b1f8af379aabdf222699d9ab5d
e2fc96178628c7451e998a0db2b73877d0648be5
/src/classes/context_sensitive/closure_properties/concatenation.lean
ab766c43c50544b252915b055da154358fec3a54
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
3,368
lean
import classes.context_sensitive.basics.inclusion import classes.unrestricted.closure_properties.concatenation variables {T : Type} private def wrap_CS_rule₁ {N₁ : Type} (N₂ : Type) (r : csrule T N₁) : csrule T (nnn T N₁ N₂) := csrule.mk (list.map (wrap_symbol₁ N₂) r.context_left) (sum.inl (some (sum.inl r.inp...
97815cd484ec26e8d4cba9c2b5023249698fa177
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/euclidean_domain_auto.lean
6c99a05de9da374f365efd856f945bce9cef72fc
[]
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
13,325
lean
/- Copyright (c) 2018 Louis Carlin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Louis Carlin, Mario Carneiro Euclidean domains and Euclidean algorithm (extended to come) A lot is based on pre-existing code in mathlib for natural number gcds -/ import Mathlib.PrePor...
db8eea196a8a8297bc0d75fe96cb96d284c60ecd
32da3d0f92cab08875472ef6cacc1931c2b3eafa
/src/measure_theory/prod.lean
52f7e0cda7d049c72f40017786c8cf5205221d90
[ "Apache-2.0" ]
permissive
karthiknadig/mathlib
b6073c3748860bfc9a3e55da86afcddba62dc913
33a86cfff12d7f200d0010cd03b95e9b69a6c1a5
refs/heads/master
1,676,389,371,851
1,610,061,127,000
1,610,061,127,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,467
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.giry_monad import measure_theory.set_integral /-! # The product measure In this file we define and prove properties about the binary produ...
52336860c0a8cfcbdd182b34970a4274920e0ac3
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/smul_with_zero.lean
67362794ad1905ac51bcbec74531f01b40b2cd57
[ "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
7,243
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.group_power.basic import algebra.ring.opposite import group_theory.group_action.opposite import group_theory.group_action.prod /-! # Introduce `smul_wit...
8825c159b884056a5daad7b676d425992a8ed690
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/init/data/nat/lemmas.lean
177a01ab464bb015f075c55317a148ac9dbe119a
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
42,857
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, Jeremy Avigad -/ prelude import init.data.nat.basic init.data.nat.div init.data.nat.pow init.meta init.algebra.functions namespace nat attribute [pre_smt] na...
d11f957432615e55e410a361de74026e4a6ce20a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/field/ulift.lean
a515210095d804ea32982a68589ce624dc622f43
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,377
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 algebra.field.basic import algebra.ring.ulift /-! # Field instances for `ulift` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a c...
365aaf2c739312eb502c32a5684aed541b53164b
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/analysis/normed_space/normed_group_hom.lean
4c27dd2657a71494b5fa3dcfc74ca96d1b0334b5
[ "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
22,123
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 analysis.normed_space.basic import topology.sequences import topology.metric_space.isometry /-! # Normed groups homomorphisms This file gathers definitions ...
2a008fd136de9b3be897cbeb0fc81bf247379cb2
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/topology/algebra/group.lean
829dc6364b859739e1ba5a22f3919c9699559cf3
[ "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
26,065
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.pointwise import group_theory.quotient_group import topology.algebra.monoid import topology.homeomorph /-! # The...
539a7171ba7092af1c46dedd4dedfaf304551266
77b579b9a1295d88352dc4296573364c800e7441
/lean-tutorial/leantut/MyPackage.lean
4749da7abbc11b8fbc8417dc724b80d367845dc7
[]
no_license
joelmccracken/playground
47a6286b9ab7227597841bec0a469fa5327ec8ba
6401d9a8eb67491ee589b85e0a84a0ff414938bd
refs/heads/master
1,685,073,507,705
1,684,476,111,000
1,684,476,111,000
7,369,222
0
0
null
null
null
null
UTF-8
Lean
false
false
716
lean
import data.nat.prime open nat theorem sqrt_two_irrational {a b : ℕ} (co : gcd a b = 1) : a^2 ≠ 2 * b^2 := assume h : a^2 = 2 * b^2, have 2 ∣ a^2, by simp [h], have 2 ∣ a, from prime.dvd_of_dvd_pow prime_two this, exists.elim this $ assume (c : nat) (aeq : a = 2 * c), have 2 * (2 * c^2) = 2 * b^2, by simp [eq....
164ac23c05fc8797e628b7a29f34d3a9c39c6da8
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/exp/arith.lean
e15b6fdd96778ac8213b38f1e0ffa7c6da82e2ad
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
826
lean
import tactic using Nat -- Manual proof using symmetry, transitivity, distributivity and 1*x=x. theorem T1 (a b c : Nat) (H1 : a = b + c) -- First hypothesis (H2 : b = c) -- Second hypothesis : a = 2*c -- Conclusion := calc a = b + c : H1 ... = c + ...
b4fa9ddcb0f7b3785ca067a392b107a443a455c7
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/advanced_addition/13.lean
1891878e690aa78f4ddd06114ebf42b40b46b09c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
144
lean
lemma ne_succ_self (n : mynat) : n ≠ succ n := begin induction n with m hm, exact zero_ne_succ 0, intro h, exact hm (succ_inj h), end