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
22b3f18b7f2213aecc9e76898e234aadd24e2ce7
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/extend_from.lean
dec8438065b17bb42e95d843636f251b63abfc26
[ "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,035
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Anatole Dedecker -/ import topology.separation /-! # Extending a function from a subset The main definition of this file is `extend_from A f` where `f : X → Y` and ...
efd0a74cff9624c7298f53b5285c2a58257f36ce
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/calc_auto_trans_eq.lean
0ce25dfda47a0b9590ebfed87cfda1340308eae1
[ "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
530
lean
import data.list constant R : Π {A : Type}, A → A → Prop infix `~` := R example {A : Type} {a b c d : list nat} (H₁ : a ~ b) (H₂ : b = c) (H₃ : c = d) : a ~ d := calc a ~ b : H₁ ... = c : H₂ ... = d : H₃ example {A : Type} {a b c d : list nat} (H₁ : a = b) (H₂ : b = c) (H₃ : c ~ d) : a ~ d := calc a = b : H₁ ...
37151da649fac6ad7762bfbfc2df1225645351c5
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/ResolveName.lean
6ab7d4aa1df7a11e548bf097a5c9d344ded1be32
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
14,384
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.OpenDecl import Lean.Hygiene import Lean.Modifiers import Lean.Exception namespace Lean /-! We use aliases to impleme...
b261b93f973ed7d1d3f587da6d0e2dd9937d68d3
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/exercise_7_10_1.lean
3d8142af021739d04ccd57c969240e916eb7faa3
[]
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
4,348
lean
namespace hidden def prod (n : ℕ) : ℕ → ℕ := nat.rec_on n (λ m, 0) (λ n prod_n, λ m, m + prod_n m) def pred (n : ℕ) : ℕ := nat.rec_on n 0 (λ n pred_n, n) def sub (n m : ℕ) : ℕ := nat.rec_on m n (λ m sub_n_m, pred (sub_n_m)) def exp (n m : ℕ) : ℕ := nat.rec_on m 1 (λ m exp_n_m, n * exp_n_m) lemma one_prod ...
c5c3dbbdd7fb898ae83d84be0b601369fd2f3b2e
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/rules/pushJoinThroughUnionOnLeft.lean
d12660d3ce98bf99ac7c199b666982584fad62f9
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
1,833
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..meta.UDP set_option profiler true open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int theorem rule: forall ( Γ scm_t scm_account scm_bonus scm_dept scm_emp: Schema) (rel_t: relation scm_t) (rel_accou...
eb56eb7bc8d88ca509c2cb3a76b9dc89c01e8c24
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/group_action/defs.lean
ee7b302f12f9bdb0e7ef7a5c88eeb1c685070117
[ "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
31,767
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.type_tags import algebra.hom.group import algebra.opposites import logic.embedding /-! # Definitions of group actions This file de...
89ba09fbce102c58256a6346ab58c51870f1cc46
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/hom_functor.lean
42b06ff978ecfd5a509123bf2acc9ec08252eada
[ "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
885
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import category_theory.products.basic /-! The hom functor, sending `(X, Y)` to the type `X ⟶ Y`. -/ universes v u open opposite open category_theory nam...
2d20436511bff2c59c1ee9de9ff7d5705d0e8b9a
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/simplifier13.lean
e12675a886bee4e93daca8e0d13e95fa880483a9
[ "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
346
lean
universe l constants (T : Type.{l}) (f : T → T → T) (g : T → T) constants (P : T → Prop) (Q : Prop) (Hfg : ∀ (x : T), f x x = g x) constants (c : Π (x y z : T), P x → P y → P z → Q) constants (x y z : T) (px : P (f x x)) (py : P (f y y)) (pz : P (g z)) attribute Hfg [simp] #simplify eq env 0 c (f x x) (f y y) (g z) ...
fa96568ae0480cf7b53a7c491ff449c47c1c910e
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/witt_vector/isocrystal.lean
bc06cef87421a8de27bded8a371b9eb30ae2f952
[ "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
8,649
lean
/- Copyright (c) 2022 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import ring_theory.witt_vector.frobenius_fraction_field /-! ## F-isocrystals over a perfect field When `k` is an integral domain, so is `𝕎 k`, and we can consi...
364242cc104e7689d227cf78c4b7ad1a4f7e1d34
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/algebra/open_subgroup.lean
5d0b62436c58bc47a6d72232553e7fc88dd33fd1
[ "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
7,369
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 order.filter.lift import topology.opens import topology.algebra.ring open topological_space open_locale topological_space set_option old_structure_cmd true /...
82c842f95b485a1c245240559ed86ab2f9b6cc93
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/module/localized_module.lean
7df4bd5427c3bc969e24b7767158e2102ee2d9f8
[ "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
41,335
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang, Jujian Zhang -/ import group_theory.monoid_localization import ring_theory.localization.basic import algebra.algebra.restrict_scalars /-! # Localized Module > THIS FILE I...
3c49cad67c550dbdd73d90e0e4b37e459a9c5923
55781f50a9288b13ccfbaca46c185208d861dacc
/src/start-here.lean
cc677dc69face68fd01250b6fe2494bca4750919
[ "Apache-2.0" ]
permissive
kevinsullivan/dms20-old2
ce1ab5a71e73b304e68a0baddf462595589a9b37
f0f6368106f8cf39fa3e8a52ef2e9502914728ed
refs/heads/master
1,607,521,213,167
1,578,793,021,000
1,578,793,021,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
46
lean
import topology.basic #check topological_space
5b4f5946c61d44f9afc8bd2f01cbee5d1488f55e
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/types/unit.hlean
b77ac5be8a1fa919659f18ea8412f06dac5c2857
[ "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
734
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 Theorems about the unit type -/ open equiv option namespace unit definition unit_equiv_option_empty : unit ≃ option empty := begin fapply equiv.MK, {...
071538eea5944e2098037a527cef682c2d0be1a0
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/reduction/cpge_reduction_012_c.lean
6f6e1ba797ac842144398d2fa3b1f436bd8250f9
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
1,027
lean
import data.real.basic import data.polynomial.derivative import linear_algebra.basic import linear_algebra.finite_dimensional -- On se place dans le R -espace vectoriel E = R[X] . -- (a) Soit H un sous-espace vectoriel de dimension finie et f un endomorphisme de H. Montrer qu'il existe p ∈ N tel que -- ∀k ≥ p, Ke...
8b04e9651e1ebedd13ddf70a24ded010ae88cda3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/mv_polynomial/basic_auto.lean
0fa05d00075545cd66d75d7b4ab25453f6027727
[]
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
39,360
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, Johan Commelin, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.eval import Mathlib.PostPort universes u_1...
6117dc5fe8cc4b6eeea706376cdc5a235617d179
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/pkg/user_attr/UserAttr/BlaAttr.lean
efcaf85273393e08e924f742b27e8dc338030896
[ "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
721
lean
import Lean open Lean initialize blaAttr : TagAttribute ← registerTagAttribute `bla "simple user defined attribute" /-- My new simp attribute -/ register_simp_attr my_simp "my own simp attribute" syntax (name := foo) "foo" num "important"? : attr initialize fooAttr : ParametricAttribute (Nat × Bool) ← registerPa...
5bfe02c13c713e0c08778cc98d89eefacbbbe40f
cc4e32129597fc42f4ac133f6eef3dbfd3d16218
/Analysis/Pre.lean
985c8a7932daa969be032e44eded98cb7acc1d8a
[]
no_license
JasonKYi/analysis_in_lean4
9791c76ab5f9408731acca075cf604ef4700b117
280d45bf2fc9c2f599b365a60a4b980bb2721c24
refs/heads/main
1,683,375,225,248
1,622,048,948,000
1,622,048,948,000
370,429,249
0
0
null
null
null
null
UTF-8
Lean
false
false
182
lean
class Mem (α : outParam $ Type u) (γ : Type v) where mem : α → γ → Prop infix:55 " ∈ " => Mem.mem notation:55 x " ∉ " s => ¬ x ∈ s instance : Coe α α := ⟨id⟩
cedd6fd362fbe8813d73aead63bec06de7dda21a
d1bbf1801b3dcb214451d48214589f511061da63
/src/measure_theory/interval_integral.lean
2bc700e5c0b4cc836fc46031927883729663745c
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
74,389
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import measure_theory.set_integral import measure_theory.lebesgue_measure import analysis.calculus.fderiv_measurable import analysis.calculus.mean_value /-! #...
2a87a58f2dcb7a3df964be4e5c1473431e3c7086
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/nat/basic.lean
e8a701cb2757c5d1b3e44c0a81903d0a621c3e33
[ "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
62,103
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.group_power.basic import algebra.order_functions /-! # Basic oper...
20cb69ac82b418ed69dde32e1c1f42b34433f8f7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/nat/gcd_auto.lean
5cc447e3ce0eb0f73c96c395dc215ff871e3a114
[]
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
15,624
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.nat.basic import Mathlib.PostPort namespace Mathlib /-! # Definitio...
1bad306b21964bc4b2ae5aba4caf1fdaf0454b12
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/option.lean
944af475171d1cdf3a543969956deb19a2542163
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
313
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ universes u v namespace option @[reducible] def iget {α : Type u} [inhabited α] : option α → α | (some x) := x | none := arbitrary α end option
81e315ad708297bb9f8a116daada5a7d27f094fb
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/special_functions/trigonometric.lean
0307a1acd67e8b54d08e5b7659ee1fccd5beb205
[]
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
109,694
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, Benjamin Davidson -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.special_functions.e...
709b437aa8dfc75c58a989819832ddd59dbe2fa7
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Data/PrefixTree.lean
6f10c4eb76e45596ea3ed218e4c194972a565d42
[ "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,875
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 Std.Data.RBMap namespace Lean open Std /- Similar to trie, but for arbitrary keys -/ inductive PrefixTreeNode (α : Type u) (β : Type v) where | N...
378c8869063ecd611f486f4ba4f5ea0ab4e8ed9a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/435.lean
0e0048ebfc1b40844b7f00e55278c3dcee83c9ba
[ "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
203
lean
variable {α} (op : α → α → α) local infixr:60 " ∙ " => op example (x y : α) : x ∙ y = y ∙ x := sorry infixr:60 " *** " => op -- Error, only local notation can reference section variables
d86b6c1a431e048fedca8933bf179483e78abe8e
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/topology/metric_space/basic.lean
37d69c29d05d0b669c9fd2324e77c1071519c43f
[ "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
98,818
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import topology.metric_space.emetric_space import topology.algebra.ordered.basic import data....
de1bcfce04117190c03b65688625c3f1eb190a33
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/tools/tactic/examples.lean
573469a11c2994e55bec152c4be6a220728f9160
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
1,694
lean
open tactic universe u variable {α : Type} example (s t u : set ℕ) (h : s ⊆ t ∩ u) (h' : u ⊆ s) : u ⊆ s → true := begin dunfold has_subset.subset has_inter.inter at *, -- trace_state, intro1, triv end example (s t u : set ℕ) (h : s ⊆ t ∩ u) (h' : u ⊆ s) : u ⊆ s → true := begin delta has_subset.subset has_inte...
a53c4a71c8d7f82c4610e77e0d9e3ed226dea982
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/dioph.lean
7cb13e17d1d05338cc57fe8432ba2f8d2467d1b5
[ "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
26,546
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fin.fin2 import data.pfun import data.vector3 import number_theory.pell_matiyasevic /-! # Diophantine functions and Matiyasevic's theorem > THIS FILE IS...
78c5e4b9c8587fd1d8a5b757a45d16e0f8e0cbff
2f8bf12144551bc7d8087a6320990c4621741f3d
/library/init/lean/compiler/ir/normids.lean
3a9225fe83810f0065e1f853351e7ce01dc0008f
[ "Apache-2.0" ]
permissive
jesse-michael-han/lean4
eb63a12960e69823749edceb4f23fd33fa2253ce
fa16920a6a7700cabc567aa629ce4ae2478a2f40
refs/heads/master
1,589,935,810,594
1,557,177,860,000
1,557,177,860,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,884
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.lean.compiler.ir.basic init.control.reader namespace Lean namespace IR namespace NormalizeIds abbrev M := ReaderT IndexRenaming Id de...
490b5c9f3ac362f5a0c10ba7a907e45c637e0b3c
398b53a5e02ce35196531591f84bb2f6b034ce5a
/tpil/chapter4.lean
491da5add3ef41d6329db232f896b431a7392aa0
[ "MIT" ]
permissive
crockeo/math-exercises
64f07a9371a72895bbd97f49a854dcb6821b18ab
cf9150ef9e025f1b7929ba070a783e7a71f24f31
refs/heads/master
1,607,910,221,030
1,581,231,762,000
1,581,231,762,000
234,595,189
0
0
null
null
null
null
UTF-8
Lean
false
false
12,775
lean
-- Exercise 1 -- -- Prove these equivalences: section variables (α : Type) (p q : α → Prop) example : (∀ x, p x ∧ q x) ↔ (∀ x, p x) ∧ (∀ x, q x) := begin split, { assume h, split, { assume hx, exact and.left (h hx), }, { assume hx, ex...
448bc308e8f07f577e18d92561440f1d1721f396
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/fact_pi.lean
486fe5b0ef338be7a0cf61299347555d5221b550
[ "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
124
lean
@[class] def fact (p : Prop) := p example {P Q R : Prop} [fact (P → Q → R)] : fact (P → Q → R) := by apply_instance
de5eb65b2a288186086ace2879861509aabe94f9
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/compiler/uint_fold.lean
c989d63e6cb9bee40ca523a850b7534cd997ccf8
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
561
lean
@[noinline] def h (x : Nat) : UInt32 := UInt32.ofNat x def f (x y : UInt32) : UInt32 := let a1 : UInt32 := 128 * 100 - 100; let v : Nat := 10 + x.toNat; let a2 : UInt32 := x + a1; let a3 : UInt32 := 10; y + a2 + h v + a3 partial def g : UInt32 → UInt32 → UInt32 | x, y => if x = 0 then y else g (x-1) (y+2) def foo :...
7045d712e2d8db633cd047afa173c887ca35cb40
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/eq2.hlean
1942e40ccaa30895ea1d9489181306f816115a62
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,716
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Theorems about 2-dimensional paths -/ import .cubical.square open function namespace eq variables {A B C : Type} {f : A → B} {a a' a₁ a₂ a₃ a₄ : A} {b b' : B} ...
38340b0c9e19ed718835fe3ff6a8167ab53d5381
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/free_algebra.lean
179509da0ecdbb04cc7d6dadf122a282453f305d
[ "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
16,046
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Adam Topaz -/ import algebra.algebra.subalgebra import algebra.monoid_algebra.basic import linear_algebra import data.equiv.transfer_instance /-! # Free Algebras Given a ...
2186ef1c29492866a94a6c7ddd370b6963cf01d9
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/topology/instances/real.lean
e3d1f10ada31a25ad323c51be8e2f878acb6f36a
[ "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
14,449
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.metric_space.basic import topology.algebra.uniform_group import topology.algebra.ring import ring_theory.subring import group_theory.a...
ea354f9f1f9cec0017f4d7f47d3d5214a7ca50b9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/equiv/encodable/basic_auto.lean
a734a42b073e73c2a2a59e72ffe59ca622b846e9
[]
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
15,766
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Mario Carneiro Type class for encodable Types. Note that every encodable Type is countable. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default imp...
e6cc4d3090902f4eeb41240a1c8cd58803a237c1
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/squarefree.lean
6b678b07f0f380b5b35febdf027a993ed7f74965
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,728
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...
1431efa4ed5e340cb417a89f47066eb37ee7d0ea
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/IdempotentMultMagma.lean
8f9f6facbb6db25e1f6c7213551a5fa0dcd534d7
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,534
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section IdempotentMultMagma structure IdempotentMultMagma (A : Type) : Type := (times : (A → (A → A))) (idempotent_times : (∀ {x : A} , (times x x) = x)) open Ide...
673bafd211605f15b2b3419aa05c5f333349dc17
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/IR/Borrow.lean
d5500fc3bd167364b498002aea8bcdefd26e4ffe
[ "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
10,891
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.Compiler.ExportAttr import Lean.Compiler.IR.CompilerM import Lean.Compiler.IR.NormIds namespace Lean namespace IR namespace Borrow namespace O...
fd748a2b29b2c8e2f5390d036ed0114f36443692
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/sym/basic.lean
dd8cd026c6e605893cda391aad1907c90cfa26ad
[ "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
8,706
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.multiset.basic import data.vector.basic import data.setoid.basic import tactic.apply_fun /-! # Symmetric powers This file defines symmetric powers of a type. ...
bbe30d50435686786d8b849727a482968b1ab9ba
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/n5.lean
cc17a3bb742c020e34084981f66daf52e7da3acd
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
422
lean
constant N : Type.{1} constant f : N → N → N → N constant g : N → N → N constant h : N → N → N → N constant s : N → N → N → N → N precedence `*`:75 precedence `|`:75 notation a * b:prev | c:prev := f a b c notation a * b := g a b notation a * b * c:prev := h a b c notation a * b | c * d:prev := s a b c d constants a...
0c2d6f14b4dc9cffacd0c44cb0a7840e674246a1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_topology/dold_kan/projections.lean
6838b6958d465a9dc48964eb94d8f618a295e09f
[ "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
6,952
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import algebraic_topology.dold_kan.faces import category_theory.idempotents.basic /-! # Construction of projections for the Dold-Kan correspondence TODO (@joelriou) continu...
4dfa8f3587b4768002379fe7ecfe406c64294332
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/measure_theory/haar_measure.lean
b715a401c7b68145cf31254dc47773269ba17fd3
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
29,882
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.content import measure_theory.group /-! # Haar measure In this file we prove the existence of Haar measure for a locally compact Hausdorff ...
ee7c52470d150d1bcb1f5f2104c87a1fc44f4c7a
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Meta/TransparencyMode.lean
3a36af4b7fa67fc5ff95eb1861e3628fb31f7e1c
[ "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
817
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 -/ namespace Lean.Meta inductive TransparencyMode where | all | default | reducible | instances deriving Inhabited, BEq, Repr namespace TransparencyMode ...
8454cb1d373a5c15ca77de62d6ad86d8fdbe8d8c
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/calculus/bump_function_inner.lean
f236cbd0c333399c682678e075c402072b8e7197
[ "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
23,869
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Floris van Doorn -/ import analysis.calculus.iterated_deriv import analysis.inner_product_space.calculus import measure_theory.integral.set_integral /-! # Infini...
7162c7b12f692ab6e702c381839bdcbc6afa6bf6
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/tactic/interval_cases.lean
47b3a1811d6a128318bc2580d5b293bad153fcda
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,033
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.fin.interval import data.int.interval import data.pnat.interval import tactic.fin_cases /-! # Case bash on variables in finite intervals This file provi...
ecfa0213bf86d257a6b7426676a5d31d9ee04f35
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/simps.lean
3a986891347ba85da8e0ff9c6cd67113fd86279d
[ "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
8,642
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 tactic.core /-! # simps attribute This file defines the `@[simps]` attribute, to automatically generate simp-lemmas reducing a definition when projections...
aad3982384a8e4f11e54a10dff9c06e15594747e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Server/Snapshots.lean
f49e5db56449274b68ec7cdd6a322cc8b45b80a0
[ "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
6,896
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Init.System.IO import Lean.Elab.Import import Lean.Elab.Command import Lean.Widget.InteractiveDiagnostic /-! One can think of this module as being a ...
509615332e6ad974fc21ec8fa6c7ec156c45c5e9
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/limits/shapes/pullbacks.lean
eaf73e71dd838563119e69033e43832f7a5952b8
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
26,294
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel, Bhavik Mehta -/ import category_theory.limits.shapes.wide_pullbacks import category_theory.limits.shapes.binary_products /-! # Pullbacks We define a ca...
162a8a03725332850e171ad0d114834e41581ba1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/qpf/multivariate/constructions/prj.lean
959e3d1617b7c1003d3d060b3b05d492f121f9b5
[ "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,634
lean
/- Copyright (c) 2020 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import control.functor.multivariate import data.qpf.multivariate.basic /-! > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR...
e27e7c9b0975e127337b0efb2341ff3e3e98f1d6
64874bd1010548c7f5a6e3e8902efa63baaff785
/library/data/nat/default.lean
958b36316e39d64572caf3cc3d93f31cc1b02960
[ "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
217
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Jeremy Avigad import .basic .order .sub .div .bquant .comm_semiring
e08f915205429c6f6e11333ffceff0d7fd3329f0
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/ring_theory/perfection.lean
5751c59126e97172f2880359afaf1840e2c9255f
[ "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
24,319
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.char_p import algebra.ring.pi import analysis.special_functions.pow import field_theory.perfect_closure import ring_theory.localization import ring_theory.subri...
c8e8106354b2d51cfdeb6ff427f7cdc48133a453
b24beef0a8b1a8e92be756a25aa78e24908b2b14
/src/exercises_sources/wednesday/afternoon/algebraic_hierarchy.lean
6b71c1a1b82b526086af3b89f83dde37c6b50f82
[]
permissive
ChristopheMargerin/lftcm2020
14967e74cbe92a7b61d32d8130f32cfa09b5172b
589180047fa4fdfb3179636db58b0b0320549871
refs/heads/master
1,668,536,269,632
1,594,891,664,000
1,594,891,664,000
280,112,730
0
0
MIT
1,594,891,963,000
1,594,891,962,000
null
UTF-8
Lean
false
false
18,878
lean
/- This is a sorry-free file covering the material on Wednesday afternoon at LFTCM2020. It's how to build some algebraic structures in Lean -/ import data.rat.basic -- we'll need the rationals at the end of this file /- As a mathematician I essentially always start my Lean files with the following line: -/ import tac...
247ff0fdfe8862890d0eff5a77b8b8f8787aa59c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/tactic/simps.lean
8b0279f2be0470a974dfc16cc76b016bee5dbf40
[ "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
46,720
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 algebra.group.to_additive import tactic.protected import data.sum /-! # simps attribute This file defines the `@[simps]` attribute, to automatically gene...
ad24faa32673bb70b7e93f509ebf3716776670ee
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/limits/cones.lean
7f43d1265ac03771d3de85f948dfceda864f709b
[ "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
28,947
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.const import category_theory.discrete_category import category_theory.yoneda import category_theory.reflects_...
d67c59dbbfa0b13181c7ccf6d6f83bfcabd85faa
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/rewrite_all/basic.lean
ce2d621de0d9360e7df0dd6e0a27b6e37325754d
[ "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,961
lean
/- Copyright (c) 2018 Keeley Hoek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Scott Morrison -/ import data.option.defs data.mllist tactic.core open tactic @[derive decidable_eq, derive inhabited] inductive side | L | R def side.other : side → side ...
8cb259b9a05b5dd849f229a85892b6dfeed5a499
7a76361040c55ae1eba5856c1a637593117a6556
/src/lectures/love03_forward_proofs_demo.lean
89abc0d760b8fa7d82157cb4e8783c384a0d268a
[]
no_license
rgreenblatt/fpv2021
c2cbe7b664b648cef7d240a654d6bdf97a559272
c65d72e48c8fa827d2040ed6ea86c2be62db36fa
refs/heads/main
1,692,245,693,819
1,633,364,621,000
1,633,364,621,000
407,231,487
0
0
null
1,631,808,608,000
1,631,808,608,000
null
UTF-8
Lean
false
false
10,685
lean
import .love01_definitions_and_statements_demo /-! # LoVe Demo 3: Forward Proofs When developing a proof, often it makes sense to work __forward__: to start with what we already know and proceed step by step towards our goal. Lean's structured proofs and raw proof terms are two styles that support forward reasoning....
2bec2bf4166bd96c9d8720f19db6f1183d18035e
1a61aba1b67cddccce19532a9596efe44be4285f
/library/data/sum.lean
570d428d3f799f672de9b28990bcff4aa922bafa
[ "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
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 ...
46b5dc6bb8df442125f747d16816ea46529074ea
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/multiset.lean
90f94dbde5deff21c182dae8d804b236b7f6b736
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
133,509
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.equiv.basic data.list.basic data.list.perm data.list.sort data.quot data.string algebra.order_f...
9d74e4eb8010a674c82bb40c997491aaabe18e7a
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/allGoals.lean
58074ff0cdcbc88e121488f51b06b3449bac3f5e
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
1,690
lean
inductive Weekday where | sunday : Weekday | monday : Weekday | tuesday : Weekday | wednesday : Weekday | thursday : Weekday | friday : Weekday | saturday : Weekday def Weekday.next : Weekday -> Weekday := fun d => match d with | sunday => monday | monday => tuesday | tue...
e898f9a91f2f77052eaa6c271c025342163baf40
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/LeftLoop.lean
a3fc09f415f48714ac1f5c9a50c82f80889932c7
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
9,556
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section LeftLoop structure LeftLoop (A : Type) : Type := (op : (A → (A → A))) (e : A) (runit_e : (∀ {x : A} , (op x e) = x)) (linv : (A → (A → A))) ...
cdb2c4a1a68eb0a3fa4cc9efaa54bfb26be97bf8
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/util/index.lean
d2907d47eb49628fb192f1cf615155b66332af42
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
22,492
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .basic import .relation @[derive decidable_eq] inductive {u} index {α : Type u} : list α → Type u | head (x : α) (xs : list α) : index (x :: xs) | tail (x : α) (xs : list α) : ind...
21bc146fa95c931af75882b7e2ead9bc772aa4ef
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed_space/completion.lean
d575ce664cc02a297107fa7aa68f4d5da41eb513
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,820
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 analysis.normed.group.completion import analysis.normed_space.operator_norm import topology.algebra.uniform_ring /-! # Normed space structure on the c...
786e9e89663450309592688dfb3f3204d304078b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/W/basic.lean
98e0919dbef24f4fa7655e334e64d67a131316c8
[ "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
6,824
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import logic.equiv.list /-! # W types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. Given `α : Type` ...
cc542fe0cdc06b2e08d24a446a8989be88535ee5
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic.lean
da69ca11e08f12ea73156553cbc4a461dd81c6b3
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
2,394
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Lean3 import Mathport.Syntax.Translate.Tactic.Mathlib open Lean open Lean.Elab.Tactic (Location) namespace Mathport n...
0bdaac4e849ed3eaaf21a42d449caab4542e9d03
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/algebra/lattice/basic_experiment.lean
9d44ed3b9bd825841fab5361a3965db65807be24
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
9,731
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 Defines the inf/sup (semi)-lattice with optionally top/bot type class hierarchy. -/ import ..order tools.auto.finish open auto set_option old_structure_cmd true univ...
5a897db5bbd728d3d94fb4375ac70ca32c37de4f
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/order/category/omega_complete_partial_order.lean
39f650f57afc27ee48ef40a9273bf6fe9ac8376d
[ "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
3,971
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import order.omega_complete_partial_order import order.category.Preorder import category_theory.limits.shapes.products import category_theory.limits.shapes.equalizers impo...
726ae78822583f4be5aef9d848ce8a84fb3907fb
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/structure_test.lean
d2ea0389bb82e6de7f7e52cbee143f78de92d3a7
[ "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
709
lean
import logic data.sigma inductive point (A B : Type) := mk : Π (x : A) (y : B), point A B inductive color [class] := red | green | blue constant foo.{l} (A : Type.{l}) [H : decidable_eq A] : Type.{l} constants a : num section universe variable l variable A : Type.{l} variable Ha : decidable_eq A include Ha...
6b679676a3c40fa9abac29a0051bce509bb1ccd0
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/depElim1.lean
76779c329b24acf13c6b22501b6ae6e09d23ef2e
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,940
lean
import Lean.Meta.Match new_frontend open Lean open Lean.Meta open Lean.Meta.Match /- Infrastructure for testing -/ universes u v def check (x : Bool) : IO Unit := «unless» x $ throw $ IO.userError "check failed" def inaccessible {α : Sort u} (a : α) : α := a def val {α : Sort u} (a : α) : α := a def As {α : Sort u}...
1aa1242f1917a3ed56092af6634c2dfa1b2f7e98
0ce335c3cee4b6a212935fdfd1a5270985454648
/src/algebra/big_operators.lean
6f6b34d0fdc6ad5f6137fddb6082d3bcaf1a5d7a
[ "Apache-2.0" ]
permissive
yashen32768/mathlib
191f6113ccd0ef74091c3f5951ae84c0aa85516f
f54463254784b400da2e33dfa58f94775e3de845
refs/heads/master
1,598,060,530,541
1,571,523,082,000
1,571,523,082,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,614
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 Some big operators for lists and finite sets. -/ import tactic.tauto data.list.basic data.finset data.nat.enat import algebra.group algebra.ordered_group algebra.group_...
2d43690874464002a159ea149eefe3f1f5fa0f8a
92e157ec9825b5e4597a6d715a8928703bc8e3b2
/src/mywork/hw4.lean
3f6058d21c4dcac845bdb2fcf52db6eb7f6d9429
[]
no_license
exb3dg/cs2120f21
9e566bc508762573c023d3e70f83cb839c199ec8
319b8bf0d63bf96437bf17970ce0198d0b3525cd
refs/heads/main
1,692,970,909,568
1,634,584,540,000
1,634,584,540,000
399,947,025
0
0
null
null
null
null
UTF-8
Lean
false
false
4,827
lean
/- chameleon exb3dg; https://github.com/exb3dg/cs2120f21.git -/ -- 1 example : 0 ≠ 1 := begin -- ¬ (0 = 1) -- (0 = 1) → false assume h, cases h, end -- 2 example : 0 ≠ 0 → 2 = 3 := begin assume h, have f : false := h (eq.refl 0), exact false.elim (f), end -- 3 example : ∀ (P : Prop), P → ¬¬P := begin...
3e67e2dac44908080cdf0dd3886ca2ea2ca92046
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/uniform_space/separation.lean
c531658045213d23516e39cd3d74550ce364a0fa
[ "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
21,551
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, Patrick Massot -/ import topology.uniform_space.basic import tactic.apply_fun /-! # Hausdorff properties of uniform spaces. Separation quotient. This file studies un...
8bd83fb56c7d81029d249d5cb2d0505e1591ae28
a7602958ab456501ff85db8cf5553f7bcab201d7
/Notes/Theorem_Proving_in_Lean/Chapter3/3.2.lean
39b5ee826033fed1185e4077801fee42b25cfc0c
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,199
lean
-- 3.2 Working with Propositions as Types constants p q: Prop theorem t1: p → q → p := fun (hp: p), fun (hq: q), hp -- This newly-introduced theorem is the same as the constant we defined -- in the 3.1 notes, however in this case the arguments are of type Prop -- instead of type Type (?). -- Note that in the above,...
77dd1f4a67f0c7c45ccefbb557fa9ee229546fe1
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/runSTBug.lean
18d1b6acdff86d9be9e8fbb6a99462f46c79df1d
[ "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
444
lean
import Lean open Lean def f (xs : List Nat) (delta : Nat) : List Nat := runST (fun ω => visit xs |>.run) where visit {ω} : List Nat → MonadCacheT Nat Nat (ST ω) (List Nat) | [] => [] | a::as => do let b ← checkCache a fun _ => return a + delta return b :: (← visit as) def tst (xs : List Na...
a5b4d82bd8da61a1be6b37ad77cb38991839d0c0
e791a827712b9cda7e14eb9861a152725a60f884
/main.lean
417687683f092989cde8762f31f82e1f0b229663
[]
no_license
Shamrock-Frost/FormalComplexAnalysis
29bf1d45f59b22d6553b24fe5b630464f9c2d9fa
3cac79d9b603b1edf7df1bc7e948c74eb86a2cc0
refs/heads/master
1,588,634,495,874
1,554,397,551,000
1,554,397,551,000
179,541,347
0
0
null
null
null
null
UTF-8
Lean
false
false
20,808
lean
import .complex .algebra .macros .sets theorem problem16 : ∀ (a z : ℂ), |z| = 1 → 1 - (complex.conj a)*z ≠ 0 → |z - a|/|1 - (complex.conj a) * z| = 1 := begin intros a z h1' h2, have h1 := eq_one_of_sqrt_eq_one h1', suffices : complex.norm (z - a) = complex.norm (1 - (complex.conj a) * ...
8b9104bdab9467463401fa5900317c64f14b4320
367134ba5a65885e863bdc4507601606690974c1
/src/linear_algebra/affine_space/affine_subspace.lean
951fb9a58d9ce0f6e91545d3dba3e1ac268b94ba
[ "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
45,112
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import data.set.intervals.unordered_interval /-! # Affine spaces This file defines affine ...
b0d941d3752b33e1da489a0cc157bbe0cec3b8ba
be5348f86d661459153802318209304b793c0e2a
/src/del_root.lean
5fb885ae06332bbf734ecff6c5838c9d04135787
[]
no_license
reglayass/lean-avl
6b758c7708bdb3316b1b97ada3e3f259b49da58a
c7bffa75d7548e5ff8cdd7d69f5a58499f883df1
refs/heads/master
1,692,297,536,477
1,633,946,864,000
1,633,946,864,000
340,881,572
4
0
null
null
null
null
UTF-8
Lean
false
false
3,810
lean
import definitions rotations shrink forall_keys tactic.linarith tactic.induction set_option pp.generalized_field_notation false universe u namespace del_root_lemmas open btree rotation_lemmas shrink_lemmas forall_keys_lemmas variables {α : Type u} lemma del_root_del_root_view (t : btree α) : del_root_view t (del...
8b11514fefe60758f49a5c606bc56658652c981e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/fieldNamesWithMinus.lean
391cecdeac1cc9eef0e9b64c57190fe3737c3f95
[ "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
210
lean
structure Minus where «i-love-lisp» : Bool #check Minus.«i-love-lisp» #check { «i-love-lisp» := true : Minus } #check fun (x : Minus) => x.«i-love-lisp» #check fun (x : Minus) => (x).«i-love-lisp»
8205732f54addaee32cdd7b195452785f43287bd
367134ba5a65885e863bdc4507601606690974c1
/src/data/complex/exponential_bounds.lean
1978875b8f5d958a2ac6b9b25b3ece5b98075abe
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
1,744
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Joseph Myers -/ import data.complex.exponential /-! # Bounds on specific values of the exponential -/ namespace real local notation `abs'` := _root_.abs open is_absolut...
16fff35acc1666b7c1e66aee0475ae7384ee7caf
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/list/sort.lean
c41838c026896a7016115a4d225d6905782083c7
[ "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
7,604
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Naive sort for lists -/ import data.list.comb data.list.set data.list.perm data.list.sorted logic.connectives algebra.order namespace list open decidable nat va...
5b186642ce28e709be62d241aac0c3e908276763
9028d228ac200bbefe3a711342514dd4e4458bff
/src/analysis/normed_space/operator_norm.lean
9d976fc58c16837d3c357988bd19efdab5bbe04f
[ "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
41,446
lean
/- Copyright (c) 2019 Jan-David Salchow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo -/ import linear_algebra.finite_dimensional import analysis.normed_space.riesz_lemma import analysis.asymptotics /-! # Operator norm o...
11cfae09c24cdb15123c1fc139ac61efe0ec393f
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finset/fin.lean
4fb4f1955eb3709155bc1ee64ec2c4bb6204578b
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,755
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Scott Morrison, Johan Commelin -/ import data.finset.card /-! # Finsets in `fin n` A few constructions for finsets in `fin n`. ## Main declarations * `finset.fin_range`...
2b09f95485cc60fb8097d6aa2a213676bbe9b98c
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/structure.lean
dd8206c3339e40eb6a6ced968cef06eaa939f803
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
1,208
lean
import Init.Lean open Lean structure S1 := (x y : Nat) structure S2 extends S1 := (z : Nat) structure S3 := (w : Nat) structure S4 extends S2, S3 := (s : Nat) def check (b : Bool) : MetaIO Unit := unless b $ throw $ IO.userError "check failed" class S5 := (x y : Nat) inductive D | mk (x y z : Nat) : D def tst :...
696f0c49d0f517e1b2ffd28deba63f7ee1d07b76
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/buffer/parser/basic.lean
bb48257c8e22958886bf465ef8397c3601bd81d9
[ "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
110,086
lean
/- Copyright (c) 2020 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.string.basic import data.buffer.basic import data.nat.digits /-! # Parsers `parser α` is the type that describes a computation that can ingest a `char...
c618c3ffc38629ebc12bf9f466eee32487a6aefa
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/group/type_tags.lean
17c13d3ea634f1d2abb80fe2563e80931e460e4f
[ "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
7,273
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.group.hom /-! # Type tags that turn additive structures into multiplicative, and vice versa We define two type tags: * `additive α`: turns any multip...
72c53a3166687ac354dd98f32cf973ed62f17973
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed_space/riesz_lemma.lean
a6fd90c3a5b2a72b82cc48626885641074553cec
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
5,355
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo, Yury Kudryashov -/ import analysis.normed_space.basic import topology.metric_space.hausdorff_distance /-! # Applications of the Hausdorff distance in normed spaces Riesz's lemma, s...
1e451fb6d8bd21db2985a7da55839510dca5852f
271e26e338b0c14544a889c31c30b39c989f2e0f
/tests/lean/run/float_cases_bug.lean
aef21a2a2e5b7bd0b6f415e619026f12a48f858f
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
67
lean
def foo (xs : List Nat) := xs.span (fun n => coe (decide (n = 1)))
7a01fbc6416c58c043fa6c378efd8d5057635a89
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/geo/src/pfin/ops.lean
a56dbb2e47c34783f0cca26f5531f29cbfa5553c
[]
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
3,203
lean
import pfin.basic namespace pfin open nat variable {n : nat} protected def succ : pfin n → pfin (succ n) | ⟨a, h⟩ := ⟨nat.succ a, succ_lt_succ h⟩ def of_nat {n : nat} (a : nat) : pfin (succ n) := ⟨a % succ n, nat.mod_lt _ (nat.zero_lt_succ _)⟩ private lemma mlt {n b : nat} : ∀ {a}, n > a → b % n < n | 0 h := na...
a4390c5906fe68c94f8fd52dfb0fd1b5def8c622
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/ring_theory/ideal/quotient.lean
ca8c7d82c5b75b41e4109898c568c0b9d94a5aaf
[ "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
15,496
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Mario Carneiro, Anne Baanen -/ import linear_algebra.quotient import ring_theory.ideal.basic /-! # Ideal quotients This file defines ideal quotients as a special c...
7d26e44b5b846543e8f1493f3f1ec01f7f93ab61
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/Cleanup.lean
a6031aec2bc7d149060faca6a8af495aceeef45d
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,765
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.CollectFVars import Lean.Meta.Tactic.Clear namespace Lean.Meta private partial def cleanupCore (mvarId : MVarId) : MetaM MVarId := do m...
a902928601c245bcde2fd0c0e1e4f9e10153b20a
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/test/set.lean
ecd1abd0def11c06cbc36295d592ad735da9fe6b
[ "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
1,055
lean
import data.matrix.notation example (x : ℕ) (h : x = 3) : x + x + x = 9 := begin set y := x with ←h_xy, guard_hyp y := ℕ, guard_hyp h_xy := x = y, guard_hyp h := y = 3, guard_target y + y + y = 9, set! z : ℕ := y, guard_target y + y + y = 9, simp [h] end example : true := let X1 := (![![1, 0], ![0, 0...
32440af260ee76e26f845a909aa3427c578ef9d6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/function/conditional_expectation/condexp_L2.lean
b099139680fd1e566c7fd0e9d6c39e3e1bf754c1
[ "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
25,788
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import analysis.inner_product_space.projection import measure_theory.function.conditional_expectation.unique /-! # Conditional expectation in L2 > THIS FILE IS SYNCHRON...
b949e7297f3b291bcc40135f4e62156a871bdfe0
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Parser/Command.lean
9a29d49b4eba2f46233808388eaa9a2dc7305dab
[ "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
7,552
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Term import Lean.Parser.Do namespace Lean namespace Parser /-- Syntax quotation for terms and (lists of) commands....
b2b3865c99cc226e551e438c7f851c4e1618231c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/linear_ordered_comm_group_with_zero.lean
236ed476f8f1cefcd7c888901e265b4c6864d11c
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
9,153
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin, Patrick Massot -/ import algebra.ordered_group import algebra.group_with_zero import algebra.group_with_zero.power import tactic.abel /-! # Linearly ordered com...
09fc8c0414879df08a160063eb62cd3c15180427
cb1829c15cd3d28210f93507f96dfb1f56ec0128
/theorem_proving/02-dependent_types_part1.lean
f3f2dc13cd900be3e60fc5bf92299002ae8f07dd
[]
no_license
williamdemeo/LEAN_wjd
69f9f76e35092b89e4479a320be2fa3c18aed6fe
13826c75c06ef435166a26a72e76fe984c15bad7
refs/heads/master
1,609,516,630,137
1,518,123,893,000
1,518,123,893,000
97,740,278
2
0
null
null
null
null
UTF-8
Lean
false
false
19,183
lean
-- Chapter 2. Dependent Type Theory #print "------------------------------------------------" #print "Section 2.1 Simple Type Theory" -- page 10 ------------------------------------------ /- declare some constants -/ constant m : nat -- m is a natural number constant n : nat -- page 11 --------------------------...
e3fe9df8b3291f9cf730249ad19197ae6fa23925
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/matrix/basic.lean
649ceb76e903c592fbbdac9cac4a51c4e10c0685
[ "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
80,273
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin, Lu-Ming Zhang -/ import algebra.algebra.basic import algebra.big_operators.pi import algebra.big_operators.ring import...
ccf2fd2922dad4690d0384a24ea08195b7ad4fc6
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/abelian/opposite.lean
745571ee4c297c20f5c6bc4d2ff6b73cfe1242a5
[ "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
1,004
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.abelian.basic import category_theory.preadditive.opposite import category_theory.limits.opposites import category_theory.limits.constructions.l...
44b1e48ad85e642900c9f2fd9c6daede2cc51cba
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/haveInfo.lean
9f83f27bc0c2915967574bcc1714afe5d9a02d7a
[ "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
391
lean
example : False := by have : True := by skip --^ $/lean/plainGoal skip admit example : False := by have : True := by --^ $/lean/plainGoal skip skip admit example : False := by have : True := by --^ $/lean/plainGoal skip skip admit example : False :=...
7abfd9bade45fae446a1fbd17be1ea94c843687f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/test/localized/localized.lean
07fad09ff60b7905ee6301121127e83e71482174
[ "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,484
lean
import tactic.localized import algebra.group_power open tactic local infix ` ⊹ `:59 := nat.mul local infix ` ↓ `:59 := pow local infix ` ⊖ `:59 := pow example : 2 ⊹ 3 = 6 := rfl example : 2 ↓ 3 = 8 := rfl example : 2 ⊖ 3 = 8 := rfl example {n m : ℕ} (h : n < m) : n ≤ m := by { success_if_fail { simp [h] }, exact le_of...
8bed1649afed8df8bd395ee148bc40545cad1963
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/tools/super/utils.lean
7455e6197353c8f07c39e2c074648fe34190764c
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
5,044
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ open tactic expr list meta def get_metas : expr → list expr | (var _) := [] | (sort _) := [] | (const _ _) := [] | (mvar n t) := expr.mvar n t :: get_metas t | (local_...
aef05637032225bec3bc0030104433120e847c53
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/03_Propositions_and_Proofs.org.13.lean
3cbb34f140b11a4bda0a0c36eebd7ad12eb508bb
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
350
lean
/- page 37 -/ import standard theorem t1 (p q : Prop) (Hp : p) (Hq : q) : p := Hp variables p q r s : Prop check t1 p q -- p → q → p check t1 r s -- r → s → r check t1 (r → s) (s → r) -- (r → s) → (s → r) → r → s variable H : r → s check t1 (r → s) (s → r) H -- (s → r) → r → s