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
d28af08eb99e6ae4b97561646b23ae763c179c04
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/algebra/big_operators/nat_antidiagonal.lean
2f9a0b580d21c4aab61c7d28fbcc1d931255d245
[ "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
2,365
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 data.finset.nat_antidiagonal import algebra.big_operators.basic /-! # Big operators for `nat_antidiagonal` This file contains theorems relevant to big opera...
2ba25e786540d3e02a5a8b44fa979effc3c76229
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/measure_theory/measurable_space_def.lean
845f4cbdd65358a03ee57689cb6f89cf7e2e3358
[ "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
17,619
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import algebra.indicator_function import data.equiv.encodable.lattice import data.set.countable import order.disjointed import order.filter.basic impo...
b5db48f329a5e1d934bff3e493d4d2d85560848e
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/category_theory/preadditive/schur.lean
18eb795314490df83afb02d1d9b53aaa5810bff0
[ "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
1,962
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 ...
6f7a5a08f99aebbc2cbab1ad6a41715c2839d9f3
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Init/SizeOf.lean
fa160581e33606b3d46ac29de44d1dd92a4ddc38
[ "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
1,952
lean
prelude import Init.Core universes u v w /- sizeof -/ class SizeOf (α : Sort u) := (sizeOf : α → Nat) export SizeOf (sizeOf) /- Declare sizeOf instances and theorems for types declared before SizeOf. From now on, the inductive Compiler will automatically generate sizeOf instances and theorems. -/ /- Every Type ...
cbfe5622b1a7d591992fe9e7df3afd6da93b7608
92b50235facfbc08dfe7f334827d47281471333b
/library/logic/axioms/examples/leftinv_of_inj.lean
3d4cb153a5fcc46099f5c67109a7e4569d97bef0
[ "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
1,229
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Classical proof that if f is injective, then f has a left inverse (if domain is not empty). The proof uses the classical axioms: choice and excluded middle. ...
92f4c69dab0312025f858227ed37273b740694e6
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast14.lean
f73fdf78e0f2d097355bd31e2a2b8033a98b773c
[ "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
335
lean
set_option blast.init_depth 10 set_option blast.inc_depth 1000 definition lemma1 (p q : Prop) : p ∧ q → q ∧ p := by blast definition lemma2 (p q r s : Prop) : r ∧ s → p ∧ q → q ∧ p := by blast print lemma2 -- unnecessary and.rec's are not included example (p q : Prop) : p ∧ p ∧ q ∧ q → q ∧ p := by blast
113a10c004e3501ab91ef3be8fb87feac8f238f0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Ring/basic.lean
3853efd1e88ad3321957fa0c5364aaa87d6d215b
[ "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,219
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl, Yury Kudryashov -/ import algebra.category.Group.basic import category_theory.concrete_category.reflects_isomorphisms import category_theory.elementwise...
7b432f5f0d1993ecff64b8057a129dd80258f124
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/elabAsElim.lean
18c97c027de22bb2a1ca341bc0a968e66dc4b012
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
2,544
lean
inductive Vec (α : Type u) : Nat → Type u | nil : Vec α 0 | cons : α → Vec α n → Vec α (n+1) def f1 (xs : Vec α n) : Nat := Vec.casesOn xs 0 fun _ _ => 1 def f2 (xs : Vec α n) : Nat := xs.casesOn 0 -- Error insufficient number of arguments def f3 (x : Nat) : Nat → (Nat → Nat) → Nat := x.casesOn def f4 (xs...
092d340b562a849bdf48440ae97f10715d367864
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/order/extr_closure.lean
89204e085b21e0a3667507efb2f8e850c85a5be9
[ "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,392
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.local_extr import topology.order.basic /-! # Maximum/minimum on the closure of a set > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
3b6afe801beea7ff114da6bf50037ee181967da6
4f643cce24b2d005aeeb5004c2316a8d6cc7f3b1
/src/o_minimal/order.lean
8d7366bc9e27ee3485a1028422782bbea399a592
[]
no_license
rwbarton/lean-omin
da209ed061d64db65a8f7f71f198064986f30eb9
fd733c6d95ef6f4743aae97de5e15df79877c00e
refs/heads/master
1,674,408,673,325
1,607,343,535,000
1,607,343,535,000
285,150,399
9
0
null
null
null
null
UTF-8
Lean
false
false
2,261
lean
import o_minimal.definable -- Definability of order relations on definable types. namespace o_minimal open set variables {R : Type*} (S : struc R) variables {X : Type*} [has_coordinates R X] [is_definable S X] variables {Y : Type*} [has_coordinates R Y] [is_definable S Y] variables (X) class is_definable_le [has_...
345912bca606342b556cb8bf534a1af0bbcfe41d
a7dd8b83f933e72c40845fd168dde330f050b1c9
/src/category_theory/instances/Top/adjunctions.lean
367d865f12c3ecc399f8f42a9b158cca5736045f
[ "Apache-2.0" ]
permissive
NeilStrickland/mathlib
10420e92ee5cb7aba1163c9a01dea2f04652ed67
3efbd6f6dff0fb9b0946849b43b39948560a1ffe
refs/heads/master
1,589,043,046,346
1,558,938,706,000
1,558,938,706,000
181,285,984
0
0
Apache-2.0
1,568,941,848,000
1,555,233,833,000
Lean
UTF-8
Lean
false
false
935
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Patrick Massot, Mario Carneiro import category_theory.instances.Top.basic import category_theory.adjunction.basic universe u open category_theory open category_theory.instance...
e372e89d5d7cdec78e026a9ad45350f141886966
7565ffb53cc64430691ce89265da0f944ee43051
/hott/homotopy/circle.hlean
e75092ebaf1d27adcbff5c885d3f99e82ee864c9
[ "Apache-2.0" ]
permissive
EgbertRijke/lean2
cacddba3d150f8b38688e044960a208bf851f90e
519dcee739fbca5a4ab77d66db7652097b4604cd
refs/heads/master
1,606,936,954,854
1,498,836,083,000
1,498,910,882,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,799
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Declaration of the circle -/ import .sphere import types.int.hott import algebra.homotopy_group .connectedness open eq susp bool sphere_index is_equiv equiv is_tr...
788ce7689163e0dfa4a9abcb6bf93392264dfc6d
f41725a360d902d3c7939fdf81a5acaf0d0467f0
/src/new_primitive_element.lean
f4b59cb88189decbb187f7612060c4d691f4ccf2
[]
no_license
pglutz/galois_theory
978765d82b7586c21fd719b84b21d5eea030b25d
4561c2c97d4c49377356e1d7a2051dedc87d30ba
refs/heads/master
1,671,472,063,361
1,603,597,360,000
1,603,597,360,000
281,502,125
0
0
null
null
null
null
UTF-8
Lean
false
false
20,065
lean
import field_theory.adjoin import linear_algebra.finite_dimensional import linear_algebra.basic import data.set.finite import field_theory.tower import algebra.gcd_monoid import field_theory.splitting_field import field_theory.separable notation K`⟮`:std.prec.max_plus α`⟯` := field.adjoin K (@singleton _ _ set.has_sin...
dfd83b29efb36cca353f79d905558fb3ecfa1688
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/minpoly.lean
7620941b99e778bca4595722562039bafbb29fc3
[ "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
23,756
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johan Commelin -/ import data.polynomial.field_division import ring_theory.integral_closure import ring_theory.polynomial.gauss_lemma /-! # Minimal polynomials This file ...
1eef83fd5f11c07189a11d5764650646f1f22617
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/SetOption.lean
b41cafda7c9170fd575675cd8043f921ab21da20
[ "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
1,565
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Log import Lean.Elab.InfoTree namespace Lean.Elab variable [Monad m] [MonadOptions m] [MonadExceptOf Exception m] [MonadRef m] variable [A...
952549b201df4a46ed822a12e15b14873705f942
129f5771900f1805d9509e1257ffa9171942aade
/src/quiz04.lean
1a8f88aa2ee7ff220ce6fe381e5198060369240b
[]
no_license
UVM-M52/quiz-4-fgdorais
b82983502259c5fa8d58c047748f9b3fab637301
bb7d6c58a7ac19a13cb2b3af368224196c40bf83
refs/heads/master
1,612,533,769,082
1,582,902,298,000
1,582,902,298,000
243,788,689
0
0
null
null
null
null
UTF-8
Lean
false
false
346
lean
-- Math 52: Quiz 5 -- Open this file in a folder that contains 'utils'. import utils definition divides (a b : ℤ) : Prop := ∃ (k : ℤ), b = a * k local infix ∣ := divides axiom not_3_divides : ∀ (m : ℤ), ¬ (3 ∣ m) ↔ 3 ∣ m - 1 ∨ 3 ∣ m + 1 theorem main : ∀ (n : ℤ), ¬ (3 ∣ n) → 3 ∣ n * n - 1 := begin sorry end
45108605cb64f0e70494f4e8513533a13cae923e
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/data/polynomial/ring_division.lean
ed44d1e62b1c0e369ba34219250d765ca06d62db
[ "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
27,805
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, Johan Commelin -/ import data.polynomial.basic import data.polynomial.div import data.polynomial.algebra_map import data.se...
925433660ffc285cf89d55ba27ddc5c8d568307f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/sheaves/punit.lean
67081ab48be0e1e5dfd44a3e76ecc781849081e3
[ "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,141
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import topology.sheaves.sheaf_condition.sites /-! # Presheaves on punit > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR...
59279833fe63e0c9250d4b98f34a4377e32e5fbd
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/proj_notation.lean
4d5b324e2d451997aef9da06f81d5116828db9ca
[ "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
725
lean
structure myprod (A B : Type) := (fst : A) (snd : B) variable p : myprod nat nat variable f : nat → nat #check p^.fst #check p^.1 #check p^.2 #check p^.snd #check f p^.1 #check p^.1 + p^.2 example (A B : Type) : A × B → B × A := λ h, ⟨h^.2, h^.1⟩ example (A B : Type) : A × B → B × A := λ h, ⟨h^.snd, h^.fst⟩ str...
68201341df4ac952ea62832b7a7c40977232a58a
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/tactic/aesop/default_rules.lean
a1eb48c2c3168af4c7b2d513238a75ad45c97b20
[ "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
3,526
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 tactic.aesop.rule import tactic.aesop.config open expr namespace tactic namespace aesop namespace default_rule /-! # split_hyps This tactic splits product...
52b2c122a60f331ef85c9b24bc2de7350626851d
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/linear_algebra/submodule.lean
c7ad9a42df240028e701bf247b7b7cad22f7a832
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
9,595
lean
/- Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro and Kevin Buzzard -/ import order.order_iso import tactic.tidy import linear_algebra.subtype_module import linear_algebra.quotient_module import linea...
1116d9bc6d4d337cda52d9fba8df9cbf135e61d6
3af272061d36e7f3f0521cceaa3a847ed4e03af9
/src/holomorphic_functions.lean
fc71e40768e566d7fd725db59c3e5ba1fa4d2ef3
[]
no_license
semorrison/kbb
fdab0929d21dca880d835081814225a95f946187
229bd06e840bc7a7438b8fee6802a4f8024419e3
refs/heads/master
1,585,351,834,355
1,539,848,241,000
1,539,848,241,000
147,323,315
2
1
null
null
null
null
UTF-8
Lean
false
false
7,807
lean
import analysis.complex import algebra.pi_instances import ring_theory.subring import analysis.normed_space local attribute [instance] classical.prop_decidable noncomputable theory universes u v open filter complex def has_complex_derivative_at (f : ℂ → ℂ) (f'z : ℂ) (z : ℂ) : Prop := let error_term (h : ℂ) : ℝ := ...
6576eaa994b8fc3bf1695f86cc749d8e84963cc3
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/limits/yoneda.lean
bd8c01348e03e46522c316e0ccd0e72e3e3685ec
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
1,507
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 category_theory.limits.limits /-! # The colimit of `coyoneda.obj X` is `punit` We calculate the colimit of `Y ↦ (X ⟶ Y)`, which is just `punit`. (This is us...
79d1c7a6ec8a323739988c8a938e38ae22917a33
8b8ab1eba67c5c35b51ab27fcf8151aab660e44d
/src/homeos.lean
e3f0f0bbff4fc38a2d5f4fe4e846cafc45d7e82e
[]
no_license
PatrickMassot/lean-scratchpad
ab5e89b69034cc699bf234852822acf74b50f2b9
03eec3bfabfc218b79dcbe7c7712bfa024a02625
refs/heads/master
1,626,995,046,509
1,538,577,853,000
1,538,577,853,000
115,135,779
1
2
null
1,522,993,992,000
1,513,962,994,000
Lean
UTF-8
Lean
false
false
4,792
lean
import analysis.topology.topological_space import analysis.topology.continuity open set function local notation f`⁻¹` := f.symm variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} [topological_space α] [topological_space β] [topological_space γ] [topological_space δ] theorem equiv.left_inverse (f : equiv α...
a53a3644aa052239901018c92be1dbad3fd5fda1
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/single_obj.lean
3f44b5d16141ff25ef85b1481899c93cf457bb6b
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
5,292
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.endomorphism import category_theory.category.Cat import algebra.category.Mon.basic /-! # Single-object category Single object category with...
9db9bcb8079b91e2f4d58e319ceeba1971016f88
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/group/type_tags.lean
5ee1bd499e447929b6319d330ba063cb278e754c
[ "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
13,893
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.hom.group import logic.equiv.basic /-! # Type tags that turn additive structures into multiplicative, and vice versa We define two type tags: * `addi...
f9a0cad3378b6b20150c3039457f47bd01fd30f8
b2c4bd81ed12cc14c20704365f094339d4c894a2
/src/sym2.lean
fa46150c5b42ad74f4fd107467715c2f74afeee1
[]
no_license
agusakov/graph_theory_2020
711639d9d9b25fd83899620da11ae1753d11d48b
83a8afc31aa28dbec39a768d6042d3cb515f7a16
refs/heads/master
1,669,901,277,114
1,596,931,643,000
1,596,931,643,000
285,154,458
5
0
null
null
null
null
UTF-8
Lean
false
false
11,152
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kyle Miller. -/ import tactic.linarith import data.sym open function open sym /-! # The symmetric square This file defines the symmetric square, which is `α × α` modulo swapping. This is...
7cfa30061aac043a023270c531f0f1bd83b92fc9
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/e5.lean
d234c376eef359d38d7aa3c2beac97be6ed5ca91
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
1,561
lean
prelude definition Prop := Type.{0} definition false : Prop := ∀x : Prop, x check false theorem false.elim (C : Prop) (H : false) : C := H C definition Eq {A : Type} (a b : A) := ∀ P : A → Prop, P a → P b check Eq infix `=`:50 := Eq theorem refl {A : Type} (a : A) : a = a := λ P H, H definition true : Prop := fa...
5eed2ce06ca55e1d1f804ef1f2fc7f4d038269d6
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/subtype.lean
09030e2263953fcb12f4d878b179f401b461eba3
[ "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,572
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ -- Lean complains if this section is turned into a namespace open function section subtype variables {α : Sort*} {p : α → Prop} @[simp] theorem subtype.forall {q : {...
1599fc75b8c25f094eafdef3075f51d4166323c1
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/src/03_Conjunction/00_and.lean
60ad8bdac0de618a43bf4c480d6952dbf27135da
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
18,528
lean
/- Intuitively, if a proposition P is true and a second proposition Q is true, then the more complex proposition, "P and Q" is also true. This proposition is written symbolically as P ∧ Q. In mathematical logic, we say that the proposition, P ∧ Q, is the conjunction of the individual propositions, P and Q. There's ...
4d3a395d5f1028fb2076a54e2f5b83c6f53c314d
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/init/types.hlean
19aa3880bf51c28d50eea88aa168ccb8523a0076
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,113
hlean
/- Copyright (c) 2014-2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn, Jakob von Raumer -/ prelude import .num .wf -- Empty type -- ---------- namespace empty protected theorem elim {A ...
02fa5268f8d01cc3327a0dd2d875cb136ea2bc5a
9028d228ac200bbefe3a711342514dd4e4458bff
/src/algebra/free_algebra.lean
942f26adcf72e66931beac101dc9e3bbf1a4ceca
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,192
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison, Adam Topaz. -/ import algebra.algebra.subalgebra import algebra.monoid_algebra import linear_algebra /-! # Free Algebras Given a commutative semiring `R`, and a type `X`, ...
f7972211fdaa9604673fd906a8b1f37639ddf484
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/limits/shapes/finite_products.lean
98e9fef3471cd3de3d9904020193b7e01bec6933
[ "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,752
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.products import category_theory.limits.shapes.finite_limits import category_theory.discrete_category import data.fintype.basic u...
77a84fc77b76ba07d23c28831bad192bf6501536
137c667471a40116a7afd7261f030b30180468c2
/src/category_theory/limits/shapes/terminal.lean
03f005b3289a754104ea27e52bcc4f12afe0e4b8
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,757
lean
/- Copyright (c) 2019 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.pempty import category_theory.limits.has_limits import category_theory.epi_mono /-! # Initial and terminal objects in a category...
f7bf168e5eb815be42cabaa989af737974530b00
61ccc57f9d72048e493dd6969b56ebd7f0a8f9e8
/src/analysis/specific_limits.lean
dbecc4f9bde24cb1a124691dfd1816fa5764788c
[ "Apache-2.0" ]
permissive
jtristan/mathlib
375b3c8682975df28f79f53efcb7c88840118467
8fa8f175271320d675277a672f59ec53abd62f10
refs/heads/master
1,651,072,765,551
1,588,255,641,000
1,588,255,641,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,559
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 import algebra.geom_sum import topology.instances.ennreal noncomputable theory open_...
149b1a69a890446d6577b87803e5eea7b7be3950
4727251e0cd73359b15b664c3170e5d754078599
/src/data/real/sign.lean
eca1c6d1892b154293fb6081bce6dc1adf5b6fdb
[ "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,739
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying, Eric Wieser -/ import data.real.basic /-! # Real sign function This file introduces and contains some results about `real.sign` which maps negative real numbers to -1, posi...
b17ccceb2c6b4d371be1e39424b13190baed9924
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/localization/submodule.lean
ef2f6f717de87619d14cb67432345f5a2819848a
[ "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,626
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, Anne Baanen -/ import ring_theory.localization.fraction_ring import ring_theory.localization.ideal import ring_theory.principal...
85c63229c69a6f120ef47f526dfb6200f0576e4e
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/data/nat/prime.lean
28288fc931a4b71552979d0c75bdfe049d274785
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,304
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.nat.sqrt import data.nat.gcd import data.list.sort import algebra.group_power import tactic.wlog import tactic.n...
707375ff92454b00d92ea2538a2a377fc5275535
7a468d7c7c0949ab8b191bb62ff6d4d2af9f3917
/test/arith.lean
2b1a45a38d60c101d5219421bcfffdb1a3195341
[ "Apache-2.0" ]
permissive
seanpm2001/LeanProver_SMT2_Interface
c15b2fba021c406d965655b182eef54a14121b82
7ff0ce248b68ea4db2a2d4966a97b5786da05ed7
refs/heads/master
1,688,599,220,366
1,547,825,187,000
1,547,825,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
397
lean
import smt2 import .test_tactics lemma arith_simple : forall (x y : int), x < y → x + 1 < y + 1000 := begin intros, z3 end lemma arith_wrong : forall (x y : int), x < y → x + 1 < y := begin intros, must_fail z3 end lemma lt_trans_by_z3 : forall (x y z : int), ...
217ce489f46bb54b9cbdfface05bcea2af66b087
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/geo/initial_objet.lean
ca17ac4008c0c4f2fa391ed8be54ee32ceeb7570
[]
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
187
lean
import .global import .Spec open Spec universes u local notation `Ring` := CommRing.{u} local notation `Set` := Type u namespace INITIAL_OBJ def initial := Spec ℤ end INITIAL_OBJ
709792a20c789bd52911a259ebe7056e0c28040c
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/order/pilex.lean
eb55a2f02c1b2ee7564712ed0da2e698ddc8faec
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
4,100
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 algebra.order_functions tactic.tauto algebra.pi_instances variables {ι : Type*} {β : ι → Type*} (r : ι → ι → Prop) (s : Π {i}, β i → β i → Prop) def pi.lex (x...
be4097e591094fce651fe295c62ff25d4f0779d2
94e33a31faa76775069b071adea97e86e218a8ee
/src/number_theory/zsqrtd/gaussian_int.lean
e6243ec06cec5f84e223bf313a14ec5bb67236e9
[ "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
12,560
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 number_theory.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.legendre_symbol.quadratic_reciprocity /-! # Gau...
fc7ab54b01e8f36feb0c5d2fd3c36755f08a6db6
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/congr_tac2.lean
c4f2f107b4bdc755c6f041dd887543061644beef
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,324
lean
import data.finset open finset list example (A : Type) (f : nat → nat → nat → nat) (a b : nat) : a = b → f a = f b := begin intros, congruence, assumption end structure finite_set [class] {T : Type} (xs : set T) := (to_finset : finset T) (is_equiv : to_set to_finset = xs) definition finset_set.is_subsingleton ...
1431b4210a8aac41c586a8c438475b5ecb5fee75
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/bitvec/basic.lean
331269633e8e3355feade8b0a2adcd2e0f4d72a7
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
3,682
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import data.bitvec.core import data.fin import tactic.norm_num import tactic.monotonicity namespace bitvec instance (n : ℕ) : preorder (bitvec n) := preorder.lift bitve...
972e9b23dfe9e07b415094fd399bf124cb9497c9
63abd62053d479eae5abf4951554e1064a4c45b4
/archive/imo/imo1962_q4.lean
8f1e8cae005b2bdd63eb7779cd6d6a235e7706b7
[ "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
4,149
lean
/- Copyright (c) 2020 Kevin Lacker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Heather Macbeth -/ import analysis.special_functions.trigonometric /-! # IMO 1962 Q4 Solve the equation `cos x ^ 2 + cos (2 * x) ^ 2 + cos (3 * x) ^ 2 = 1`. Since Lean ...
a237224136ea2b7c23b7e8c5254cb77d64dcfd1e
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/unfoldf.lean
8deb1c48c8413b7a0a50bf869a2db9d769a96848
[ "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
475
lean
open nat definition id [unfold-f] {A : Type} (a : A) := a definition compose {A B C : Type} (g : B → C) (f : A → B) (a : A) := g (f a) notation g ∘ f := compose g f example (a b : nat) (H : a = b) : id a = b := begin esimp, state, exact H end example (a b : nat) (H : a = b) : (id ∘ id) a = b := begin esimp, ...
bc19f6a88f6d1b6b1ff681292333bdaf5fa6a5e8
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/algebra/restrict_scalars.lean
03f6a82c1bb314e7bfcfe3ab453ff1ca4f457981
[ "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,850
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import algebra.algebra.tower /-! # The `restrict_scalars` type alias See the documentation attached to the `restrict_scalars` definition for advice on how a...
4eff069cff8b5e09d192f0f2b2f2e07c73987800
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/bases.lean
58cb47dfc3944bbedcd2602da1cfbb3a8794bd9f
[ "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,464
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 Bases of topologies. Countability axioms. -/ import topology.constructions open set filter classical open_locale topological_space filter namespace to...
11cb0c9354747020ce38c2adbd0d2acdfa21df62
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/complex/exponential.lean
8784b76121b31f1e0d58f9797102e5c96d82cbf1
[ "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
47,836
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.archimedean algebra.geom_sum import data.nat.choose data.complex.basic import tactic.linarith local notation `abs'` := _root_.ab...
db31df3c28d9082e7587d3f3accd46c0620456bc
4f065978c49388d188224610d9984673079f7d91
/hfs.lean
82678095ec8cb92f1ade1b20f46a8c3f394d2275
[]
no_license
kckennylau/Lean
b323103f52706304907adcfaee6f5cb8095d4a33
907d0a4d2bd8f23785abd6142ad53d308c54fdcb
refs/heads/master
1,624,623,720,653
1,563,901,820,000
1,563,901,820,000
109,506,702
3
1
null
null
null
null
UTF-8
Lean
false
false
7,503
lean
import data.fintype universes u v theorem nat.of_le_succ {n m : ℕ} (H : n ≤ m.succ) : n ≤ m ∨ n = m.succ := (lt_or_eq_of_le H).imp nat.le_of_lt_succ id @[elab_with_expected_type] def nat.le_rec_on {C : ℕ → Sort u} (next : Π {n}, C n → C (n+1)) : Π {n m : ℕ}, n ≤ m → C n → C m | n 0 H x := eq.rec_on (nat.eq_zero_of_l...
020c985a81506583f1534dde045ab27fce1749f6
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world09/level01.lean
0d8bbc9a9e50fc96da1e21be7491b4f435500583
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
226
lean
theorem mul_pos (a b : mynat) : a ≠ 0 → b ≠ 0 → a * b ≠ 0 := begin intros f h j, cases b with b, apply h, refl, cases a with a, apply f, refl, rw mul_succ at j, rw add_succ at j, exfalso, exact succ_ne_zero _ j, end
a3e77e6b25e5b40b439ff3a68958a0143f6cc6e7
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/init/tactic.hlean
dffffe629bb2b293b974ed0696541a53b10710af
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
6,820
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura This is just a trick to embed the 'tactic language' as a Lean expression. We should view 'tactic' as automation that when execute produces a term. tactic.buil...
99302e2ae7910adadacad3e60a23a455d3bce3b3
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch2/ex1002.lean
6fe33a69de03c4e81cc7d4b50d5e8d49adeb046d
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
182
lean
def curry (α β γ : Type) (f : α × β → γ) : α → β → γ := λ a b, f (a, b) def uncurry (α β γ : Type) (f : α → β → γ) : α × β → γ := λ ab, f ab.1 ab.2
5b6493bdac1224e7cca8f08a429ed2cd25f1ce51
1437b3495ef9020d5413178aa33c0a625f15f15f
/data/nat/basic.lean
7e3a3d189e264414a40524f5385d5e9edc365811
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,702
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro Basic operations on the natural numbers. -/ import logic.basic algebra.ordered_ring data.option.basic universes u...
da2be339da0cb25b42b4716668ea0f3b20f85834
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/linear_algebra/basis.lean
72edcc5f9be173b45b5e51ff03d31a3761067525
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
54,362
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, Alexander Bentkamp -/ import linear_algebra.finsupp import linear_algebra.projection import order.zorn import data.fintype.card /-! # Linear independe...
bc868142090d3b5d5ec719422839120d58107027
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/ring_theory/derivation.lean
1bfe06f6b686c3fa3dc9ae62abda08d3c59ee242
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
8,055
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Nicolò Cavalleri. -/ import algebra.lie.basic import ring_theory.algebra_tower /-! # Derivations This file defines derivation. A derivation `D` from the `R`-algebra `A` to the `A`-mo...
6299506fc3fe3729a726744e11bd6b4d96aa8b5c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed/order/lattice.lean
4370935d7c66637882a918ca2cdc7c4ea33d1dc0
[ "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
8,997
lean
/- Copyright (c) 2021 Christopher Hoskin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Hoskin -/ import topology.order.lattice import analysis.normed.group.basic import algebra.order.lattice_group /-! # Normed lattice ordered groups > THIS FILE IS SYNCH...
d5b2602b4d5d8c25f2e49b16878fbc926edfafb5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/uniform_space/equiv.lean
073dad3b7130697e4199a9ed72f7f3aea3d90823
[ "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
11,785
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton, Anatole Dedecker -/ import topology.homeomorph import topology.uniform_space.uniform_embedding import t...
faa1e346c5b411504cdbc437f960f4e3d71a73a9
5e60919d574b821fabd9387be5589c0c4d3f3fe2
/src/language/unitb/obligations.lean
e0effde1e05e5da54b6575e0af41674411026706
[]
no_license
unitb/unitb-pointers
3fc72b873377a12e3f677ccd30143fc001a56c63
c057420c1e72bba00181bc6db30cf369ef2bfd23
refs/heads/master
1,629,969,967,065
1,511,386,892,000
1,511,386,892,000
110,323,164
0
0
null
null
null
null
UTF-8
Lean
false
false
794
lean
import language.unitb.scope open tactic lean lean.parser interactive.types open tactic.interactive (exact) open applicative (mmapp) list (map) meta def po_table := (name_map (list expr × expr)) meta def proof_section (s : scope) (pos : po_table) : parser unit := do tk "proofs", id ← ident <* tk ":=", (hyp,g) ...
91d73bf2489bdd53b41f66fb7fbdc4202de6b8b5
82e44445c70db0f03e30d7be725775f122d72f3e
/src/group_theory/group_action/defs.lean
0fda7a16b15a89c8f1cd10afb266a425d6f37d4b
[ "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
15,736
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yury Kudryashov -/ import algebra.group.defs import algebra.group.hom import algebra.group.type_tags import logic.embedding /-! # Definitions of group actions This file d...
7b5d25e1dfb925561652f987e4bd158d1fcec494
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/multiset/pi.lean
772dd127c50229a31588ad73945d342664235bfc
[ "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
5,061
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 -/ import data.multiset.nodup /-! # The cartesian product of multisets -/ namespace multiset section pi variables {α : Type*} open function /-- Given `δ : α → Type*`...
666a10e2aeffa1d878bc1b4c77ba3e42d640669e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/pfunctor/multivariate/W.lean
59dc86e7a3cd607782c1b3dcffb5d6fbe723c822
[ "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,613
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Simon Hudon -/ import data.pfunctor.multivariate.basic /-! # The W construction as a multivariate polynomial functor. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any c...
2bb3a23cf84c5eb22f438e54b1bd8eca973656ee
94ec458bb9c7783744397f9a68d867bd7a765e18
/src/category.lean
f0a5c1b32cb50755e029735756bb02fd8752af4a
[]
no_license
myuon/lean-cate
b8fcfd7965a348155152b3fc7d5041b356721945
9e71e61c2a09d64b17ab3145ff6dde564387950a
refs/heads/master
1,611,236,436,038
1,462,408,916,000
1,462,408,916,000
47,414,605
0
0
null
null
null
null
UTF-8
Lean
false
false
7,220
lean
import algebra.relation open relation open eq eq.ops structure setoido := (carrier : Type) (r : carrier → carrier → Prop) (iseqv : equivalence r) attribute setoido.carrier [coercion] namespace setoido variable {A : setoido} theorem refl [refl] {a : A} : @setoido.r A a a := and.elim_left (setoido.iseqv A...
3fd5ebfb2897f9cd67a9f1b441faff70bf5f1c7d
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/ring_theory/roots_of_unity.lean
cfd6ff9366a34578116533d8c93c8a0556e62801
[ "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
40,288
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.parity import data.polynomial.ring_division import group_theory.order_of_element import ring_theory.integral_domain import number_theory.divisors imp...
7db63723d91d8c1fab40414e276436e4617638ca
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/subobject/lattice.lean
e7b6844b4b69eb532d38dd7c31d78b6286e4493d
[ "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
22,306
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.factor_thru import category_theory.subobject.well_powered /-! # The lattice of subobjects We provide the `semilattice...
9d31ddcf9e9a69450554d8afa11e800e107459db
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Lean/Meta/Tactic/Constructor.lean
2e2cb405ee563cf4928161ea2ff47796228262ea
[ "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
1,158
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Check import Lean.Meta.Tactic.Util import Lean.Meta.Tactic.Apply namespace Lean.Meta def existsIntro (mvarId : MVarId) (w : Expr) : MetaM...
d7bb3247844ffd157c73b56041c72d207ed30d82
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/771.lean
f7a7938b1df019a9927f03bfdd8f4341c8c4cd4e
[ "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
218
lean
set_option pp.all true definition id_1 (n : nat) := by exact n definition id_2 (n : nat) := ((by exact n) : nat) definition id_3 (n : nat) : nat := by exact n definition id_4 (n : nat) := show nat, by exact n
a8a9ef695c40f8fb35c9acb1b97e5cfc44e00e03
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/subobject/basic.lean
be79f761748f6e171c77a8166da79a692ec52d04
[ "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
24,189
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.subobject.mono_over import category_theory.skeletal import category_theory.concrete_category.basic import tactic.apply_fun import t...
72d6b2a29d2e492febc850f322d0510c8c179b9d
4727251e0cd73359b15b664c3170e5d754078599
/src/control/ulift.lean
e26a362e1932e1318ea9b9e4c94417bdc49ab4e8
[ "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,821
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Jannis Limperg -/ /-! # Monadic instances for `ulift` and `plift` In this file we define `monad` and `is_lawful_monad` instances on `plift` and `ulift`. -/ universes...
44a1133424a3d643d3265a6a7b7f5a28e7cdd21f
de7b3dbc03c2200899ec842ca1e7cba570a04fa1
/src/examples.lean
9b7bb95df9f728a3094d18924d1798d6d20b7958
[]
no_license
robertylewis/relevance_filter
4c48a0e02bbeef857f9c67b0f7dc8f3acd5b906a
d11544e08c6d3569410e312baf149412b168ebb4
refs/heads/master
1,670,019,263,018
1,597,851,640,000
1,597,851,640,000
105,209,556
0
1
null
null
null
null
UTF-8
Lean
false
false
4,259
lean
-- import category.basic -- import algebra.ordered_monoid import algebra.big_operators import algebra.ring import algebra.group_power import algebra.group import algebra.module import algebra.field import set_theory.zfc -- import pending.default import tactic.finish import tactic.alias import tactic.rcases import tacti...
82a2b9257f23d6a607fa5cfa8f244cf8587a58f9
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/693.lean
ef3008ecb67a255464a2b82eff0d17e6562a6ccb
[ "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
597
lean
open nat definition foo [unfold 1 3] (a : nat) (b : nat) (c :nat) : nat := (a + c) * b example (c : nat) : c = 1 → foo 1 c 0 = foo 1 1 0 := begin intro h, esimp, state, subst c end example (b c : nat) : c = 1 → foo 1 c b = foo 1 1 b := begin intro h, esimp, -- should not unfold foo state, subst c en...
d826415e56b7decbdf3e9ccd9b4b94ef7bbbc1c3
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/category_theory/limits/shapes/constructions/limits_of_products_and_equalizers.lean
6f9c751ab655ee2a9e49de4dac8dca833d78fc0f
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,746
lean
/- -- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.finite_products /-! # Constructing limits from products and equalizers....
a799d57571da784ff406192e596d1e2e88865c2f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/716.lean
b2ad907ff9afe75d62072d79f71cff1f94adeeaf
[ "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
795
lean
private def eqv (p₁ p₂ : α × α) : Prop := (p₁.1 = p₂.1 ∧ p₁.2 = p₂.2) ∨ (p₁.1 = p₂.2 ∧ p₁.2 = p₂.1) infix:50 " ~ " => eqv axiom eqv.refl {α} (p : α × α) : p ~ p axiom eqv.symm {α} : ∀ {p₁ p₂ : α × α}, p₁ ~ p₂ → p₂ ~ p₁ axiom eqv.trans {α} : ∀ {p₁ p₂ p₃ : α × α}, p₁ ~ p₂ → p₂ ~ p₃ → p₁ ~ p₃ private theorem is_equ...
27c354fe9d054ad8676cc65a6bc7785a349090a3
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/lean/semantics/air_encoding/constraints_autogen.lean
2ec7f09a5e7cfc4e01bf0b0a649cbaf5bcd2d3d9
[ "Apache-2.0" ]
permissive
starkware-libs/formal-proofs
d6b731604461bf99e6ba820e68acca62a21709e8
f5fa4ba6a471357fd171175183203d0b437f6527
refs/heads/master
1,691,085,444,753
1,690,507,386,000
1,690,507,386,000
410,476,629
32
9
Apache-2.0
1,690,506,773,000
1,632,639,790,000
Lean
UTF-8
Lean
false
false
17,937
lean
/- This file is generated automatically by generate_constraints.py. -/ import algebra.field_power notation `offset_size` := 2^16 notation `half_offset_size` := 2^15 def column (F : Type*) := nat → F def column.off {F : Type*} (c : column F) (i j : nat) := c (i + j) structure input_data (F : Type*) := (trace_length ...
c775ddc3a8494efdcb7f2703d6a63b214f9a896b
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/char_lits.lean
12d4783cee2801f779211a4752ce9f9b0d9bf86d
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
323
lean
import system.io open io #check 'a' #eval 'a' #eval '\n' #eval '\\' variable [io.interface] #eval put_str ("aaa".str '\\') #eval put_str $ repr '\n' #eval put_str $ string.singleton '\n' #eval put_str ("aaa".str '\'') #check ['\x7f', '\x00', '\x11', '\xff'] -- ^^ all characters should be pretty-printed using \x escap...
885c9cece5e2ec4e152f664e168305dda83dc5cb
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/default_field_universe.lean
09724e747e9647f30db257cd35e4271194effddc
[ "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
69
lean
structure {u} foo (α : Type u) : Type (u+1) := (bar : Type u := α)
1b6d4e6b380d4099744692bfd9e6f742e26a4460
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/function_auto.lean
8dfb75351f04de806340007d00d9bc57a05c7973
[]
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,372
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Haitao Zhang -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.prod import Mathlib.Lean3Lib.init.funext import Mathlib.Lean3Lib.init.l...
8c420995b1f0fab008feb550f0b28a0dc5df06c9
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/param_binder_update.lean
d1a90576099386bcace7151429549f3058ed1cfa
[ "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,123
lean
section parameter {A : Type} parameter A -- definition id (a : A) := a parameter {A} definition id₂ (a : A) := a end check @id check @id₂ section parameters {A : Type} {B : Type} definition foo1 (a : A) (b : B) := a parameters {A} (B) definition foo2 (a : A) (b : B) := a parameters (A) {B}...
fd63c8c37d00b000ea1df430ae85dd44920434e3
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/group_theory/perm/cycles.lean
e87ab664e10caf3ac6a30edf834ba6a1975dbb39
[ "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,487
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 group_theory.perm.sign import group_theory.order_of_element namespace equiv.perm open equiv function finset variables {α : Type*} {β : Type*} [decidable_eq α] de...
e2bed9dbd76c452a20eccdce582fb91f79cb6c5d
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/probability/variance.lean
55c010f4ed306153bcbac7d260e375e4c0eb7691
[ "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
10,721
lean
/- Copyright (c) 2022 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 probability.notation import probability.integration /-! # Variance of random variables We define the variance of a real-valued random variable as `Var[...
014494d97ade825d47f0461a7814153a1530feea
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/equiv/fin.lean
52fba387a63866e09f5dac5d66af693b3f16f635
[ "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,851
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau Equivalences between finite numbers. -/ import data.fin data.equiv.basic variables {m n : ℕ} def fin_zero_equiv : fin 0 ≃ empty := ⟨fin_zero_elim, empty.elim, assume a, fin_zero...
608a99f2484db4ab015cb1dac195a639e96b19fb
59a4b050600ed7b3d5826a8478db0a9bdc190252
/src/category_theory/sheaves/of_types.lean
4fac84f30200165691600bbc6c67f293ae1b52cf
[]
no_license
rwbarton/lean-category-theory
f720268d800b62a25d69842ca7b5d27822f00652
00df814d463406b7a13a56f5dcda67758ba1b419
refs/heads/master
1,585,366,296,767
1,536,151,349,000
1,536,151,349,000
147,652,096
0
0
null
1,536,226,960,000
1,536,226,960,000
null
UTF-8
Lean
false
false
2,391
lean
import category_theory.sheaves import category_theory.universal.continuous import category_theory.functor.isomorphism universes u v open category_theory open category_theory.limits open category_theory.examples.topological_spaces -- We now provide an alternative 'pointwise' constructor for sheaves of types. -- This...
2fabb6ca07ab186fed9a581ecf07cd77c87d9bd1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/invertible.lean
e5cc36b3097853e62b0447377d87600c0d90a0de
[]
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
9,898
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen A typeclass for the two-sided multiplicative inverse. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.char_zero import Mathlib.algebra.ch...
72f4579d10fe0e608d4e756eff53c8dc352698a2
b561a44b48979a98df50ade0789a21c79ee31288
/src/Lean/PrettyPrinter/Delaborator/Builtins.lean
cb39f4c7e4042b2ef015526f79a6da11c4100d66
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
31,794
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.PrettyPrinter.Delaborator.Basic import Lean.PrettyPrinter.Delaborator.SubExpr import Lean.PrettyPrinter.Delaborator.TopDownAnalyze import Lean.Pars...
83304972e8c0fd7a7f6e8cd84d36924f7dab4b3a
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/lattice_intervals.lean
9e23af95d037906bdfe096ea63a4c3cedc61ce4d
[ "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
5,221
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 order.bounds /-! # Intervals in Lattices In this file, we provide instances of lattice structures on intervals within lattices. Some of them depend on the o...
958523c79298329489ec4d7efcc9bf5a035adb0f
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/list/forall2.lean
16c552c1db6ae1cabdced4beb4b6aa9468eb7e3c
[ "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
13,433
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl -/ import data.list.basic universes u v w z open nat function variables {α : Type u} {β : Type v} {γ : Type w} {δ : Type z} namespace list /- forall₂...
557c8418fa4b90f91d9753e08b1df5ad75eaeb88
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/matrix.lean
45b429a99d94e3752a5121f32f170bd5737d484e
[ "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
20,764
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Eric Wieser -/ import analysis.normed_space.basic import analysis.normed_space.pi_Lp import analysis.inner_product_space.pi_L2 /-! # Matrices as a normed space > TH...
58c8d905ca07b8a97fc93a015bca7f11dca29e8e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed/group/hom.lean
3f6b02c9df52e382ffae624f9433b55122489ee8
[ "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
32,742
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.group.basic /-! # Normed groups homomorphisms > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding P...
d8b8396706b6cd4e4767d72699ffd75109f5065e
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/clifford_algebra/conjugation.lean
b873ea112f1c2db16ebac0b5ba99ecb4b8f5c327
[ "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
9,776
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.clifford_algebra.grading import algebra.module.opposites /-! # Conjugations This file defines the grade reversal and grade involution functions on m...
8f7a7a6f23d5fe2f908b3d545ca288ab063aee68
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/measure/haar.lean
b0dd4792f8e1bc963b40fa928654b082eba7217b
[ "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
36,860
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.measure.content import measure_theory.group.prod /-! # Haar measure In this file we prove the existence of Haar measure for a locally comp...
7f2b372693640b9a6f71c2a350d0486907b4d3f9
f3849be5d845a1cb97680f0bbbe03b85518312f0
/old_library/init/meta/format.lean
be862acca7947fad042e3205d3d7d6863c362c7c
[ "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
5,729
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.options universe variables u v inductive format.color | red | green | orange | blue | pink | cyan | grey meta_constant format : ...
e654d55e2dc6cded3f42f5b4fc6aadb031bbc9f0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/equiv/mul_add_aut_auto.lean
7e47bb514e0ce7550518055d27ea0bef5f570520
[]
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,494
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.mul_add import Mathlib.group_theory.perm.basic i...
161359aecaa4ae8a03daede37dffdb82d47e36a1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/user_command.lean
1e247f86778874ff759ca4370d3a7df306d13313
[ "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
591
lean
open lean open lean.parser open interactive open tactic -- missing tk @[user_command] meta def foo_cmd : parser unit := pure () -- wrong return type @[user_command] meta def foo_cmd (_ : parse $ tk "foo") : unit := () foo @[user_command] meta def foo_cmd (_ : parse $ tk "foo") : parser unit := trace "foo" run_cmd ...
d5911e9163bcab0a52196b06f9f296ee6905e19f
9dc8cecdf3c4634764a18254e94d43da07142918
/src/model_theory/basic.lean
047ac9598fa707a3007273390606ec6afe9ff208
[ "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
29,175
lean
/- Copyright (c) 2021 Aaron Anderson, Jesse Michael Han, Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jesse Michael Han, Floris van Doorn -/ import category_theory.concrete_category.bundled import data.fin.tuple.basic import data.fin...
ce50f21814ead6b831a702833f1b0547e7231b0f
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/pseudo_normed_group/sum_hom.lean
c52fa91899bc926eb1b70e88fd412f2915aab776
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,622
lean
import rescale.pseudo_normed_group noncomputable theory open_locale nnreal big_operators local attribute [instance] type_pow section variables {r' : ℝ≥0} (M : Type*) (N : ℕ) namespace profinitely_filtered_pseudo_normed_group variables [profinitely_filtered_pseudo_normed_group M] def unrescale (N : ℝ≥0) (M : Type...
40566dccacf36313706b866fd21e32462ccfde29
670b1582ba4780d3b4a49063d5afea44a337bc24
/src/leanhammer.lean
5aa66c0435471eef15e3d2ac5920d1af39f88710
[]
no_license
robertylewis/Lean_hammer
9bd8a75cb6fc76b3387c84f0678ccfd69fa10c88
7c8b6235c064fac164cbd389c8d459bd106e09b1
refs/heads/master
1,587,608,490,192
1,550,228,670,000
1,550,228,670,000
170,843,813
0
0
null
1,550,225,214,000
1,550,225,213,000
null
UTF-8
Lean
false
false
4,777
lean
import system.io import .tptp.tptp import .premise_selection import .tptp.simplification_tptp import .tptp.translation_tptp import .problem_translation --################# --## System test ## --################# -- def sum_two (x: ℕ) (y: ℕ) : ℕ := x+y -- Inductive declaration because the simple version above is not ...
d4bdb8daa49507fe080db4a54f393e310b6ede92
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/convex/contractible.lean
6d06aa1c54b9e39899fb8f06bed750498eec4862
[ "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
1,627
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.convex.star import topology.homotopy.contractible /-! # A convex set is contractible In this file we prove that a (star) convex set in a real topo...
3d12218be662de4ee981f8722046c5c50f816b7d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/semicontinuous.lean
d62e6cd694c967f196ee92db58e0a80ae11c7a07
[ "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
43,389
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import algebra.indicator_function import topology.algebra.group import topology.continuous_on import topology.instances.ennreal /-! # Semicontinuous maps A fu...
26ba40ebb8465db2ac9b90a97cd72845d6f0b355
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Leanpkg/Build.lean
8b396d7d6c3a15cec2e60ce45c3f07d0027f8c40
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
3,607
lean
/- Copyright (c) 2021 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.Data.Name import Lean.Elab.Import import Leanpkg.Proc open Lean open System namespace Leanpkg.Build def buildPath : FilePath := "build" def tempB...
d30662f4ac89ddd641faecf8e29156b7d357bd1a
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Elab/Util.lean
409d4a04960c04a4aa426bf0867c3037242d9d61
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,862
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.Trace import Lean.Parser.Extension import Lean.KeyedDeclsAttribute import Lean.Elab.Exception namespace Lean def Syntax.prettyPrint (stx ...