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
ee0ce197de189285ea68e9bfd7cb6f5d88eb18c1
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/group_action_hom.lean
f860a282c42c9004e828e32ed54333a2b6396f4b
[ "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
11,530
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.group_ring_action import group_theory.group_action /-! # Equivariant homomorphisms ## Main definitions * `mul_action_hom M X Y`, the type of equivariant funct...
bb2d1e83c5b257d659e5019dfc00314bdc8a081f
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/category/monad.lean
077194e43b602e8169c879767d1467aa37a3cd84
[ "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
4,088
lean
/- Copyright (c) Luke Nelson and Jared Roesch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Luke Nelson, Jared Roesch, Sebastian Ullrich -/ prelude import init.category.applicative universes u v open function class has_bind (m : Type u → Type v) ...
064846d17632ea05815a2e75628c9f088a27279e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/triangulated/triangulated.lean
67892425d0ee2ad84da608ef7f3021e1f3f96a87
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,871
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 category_theory.triangulated.pretriangulated /-! # Triangulated Categories > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspondi...
e9010b876383b4bdf9507086860f72a51fa682d8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/nat/factorial.lean
d5a30bf6b8b9d14001906fcdbc6d899cdd000ebe
[ "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
14,437
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes, Floris van Doorn, Yaël Dillies -/ import data.nat.basic import data.nat.pow /-! # Factorial and variants This file defines the factorial, along with the...
853ebef4bdf393f1122b5d05d4d948b32f90f051
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebraic_geometry/locally_ringed_space/has_colimits.lean
34efd4dff615475e862b99c538f12e6889e973da
[ "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
12,962
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.locally_ringed_space import algebra.category.Ring.constructions import algebraic_geometry.open_immersion import category_theory.limits.constructio...
5dc0e09c5bd1f26c0ac0045aa4bb8d35456db4ea
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category/traversable/lemmas.lean
a7f9308a1498007b835b1349b3308f25fe4f637b
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
3,675
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Lemmas about traversing collections. Inspired by: The Essence of the Iterator Pattern Jeremy Gibbons and Bruno César dos Santos Oliveira In Journal of Functional...
d326d6cd9d00ffa3a94e2968e8bd31bdb512158e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/computability/primrec.lean
88ce3be80060df7dc760e89bea2783030d2b58c4
[]
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
38,870
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.list import Mathlib.logic.function.iterate import Mathlib.PostPort universes u_1...
30d5809cc1e918980a27ae410a83957773f747db
367134ba5a65885e863bdc4507601606690974c1
/src/computability/partrec.lean
c77b9c03a9c1909bc9bd3f442eaa9f123730e163
[ "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
28,909
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import computability.primrec import data.nat.psub import data.pfun /-! # The partial recursive functions The partial recursive functions are defined similarly to the...
29208a7b7665454015e324aba8879f5e95dae132
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/matrix/pequiv.lean
5e012b003397bfef5b29df99e274340e0753dd05
[ "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
5,315
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.matrix.basic data.pequiv /- # partial equivalences for matrices Using partial equivalences to represent matrices. This file introduces the function `pequiv.t...
4f4d943d0a6c1d2e8b3e01b30cf0d519c6903704
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Declaration.lean
6c85611d54a874227f3823f1b2923c04ac54e2f7
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
17,252
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Expr namespace Lean /-- Reducibility hints are used in the convertibility checker. When trying to solve a constraint such a (f ...)...
8eadc351fac6907d9d577ece8087ace0c0402afd
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/rbtree/main.lean
25f36cea1863df0766e1ea4d4fa27ba24ac29e29
[ "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
8,383
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import data.rbtree.find import data.rbtree.insert import data.rbtree.min_max universes u namespace rbnode variables {α : Type u} {lt : α → α → Prop} lemm...
e172a2245a5d221160a7dd4fbd209ffa09a7be79
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/module/submodule_pointwise.lean
b42fc22198edb105358b7f3160128706ec5ddfae
[ "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
3,739
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import group_theory.subgroup.pointwise import linear_algebra.basic /-! # Pointwise instances on `submodule`s This file provides the actions * `submodule.pointwise_distri...
767743f7aa2009d5195501dafe9df0f276099d0b
4727251e0cd73359b15b664c3170e5d754078599
/src/combinatorics/set_family/compression/uv.lean
efbf6d150d0c146a5430fad3461695fe63703eee
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,816
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import data.finset.card /-! # UV-compressions This file defines UV-compression. It is an operation on a set family that reduces its shadow. UV-compressin...
f8f07421f9e45b01fdfee63346d08da37b142a54
7da5ceac20aaab989eeb795a4be9639982e7b35a
/src/algebraic_geometry/affine_variety.lean
95d23ecbd683d5b7acf7d66a4ee3966d790109b3
[ "MIT" ]
permissive
formalabstracts/formalabstracts
46c2f1b3a172e62ca6ffeb46fbbdf1705718af49
b0173da1af45421239d44492eeecd54bf65ee0f6
refs/heads/master
1,606,896,370,374
1,572,988,776,000
1,572,988,776,000
96,763,004
165
28
null
1,555,709,319,000
1,499,680,948,000
Lean
UTF-8
Lean
false
false
20,846
lean
/- In this file we define affine varieties and affine groups over a discrete field `K`. We take a shortcut in the definition, by defining affine varieties as the opposite category of finitely generated reduced algebras. We define affine groups and basic group theory for affine groups: closed subgroups, kernels, n...
82c904493dced9f2c62da7ba88c76a1ed682edcb
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/set/function.lean
b88e3aaada1315ab77dd104e4830db4ceba58829
[ "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
49,070
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu, Yury Kudryashov -/ import data.set.prod import logic.function.conjugate /-! # Functions over sets ## Main definitions ### Pr...
3d382aa9c7ef931132861f3eeee88044231eeddd
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/simp25.lean
be95735f0ae83a6ed0cf9ff3e83b526989a468c6
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
354
lean
rewrite_set simple add_rewrite eq_id imp_truel imp_truer Nat::add_zeror : simple (* add_congr_theorem("simple", "and_congrr") *) variables a b : Nat variables f : (Nat → Nat → Bool) → Bool (* local t = parse_lean('λ x, x = 1 ∧ f (λ y z, y + z > x)') local t2, pr = simplify(t, "simple") print(t2) print(pr) get_environm...
1d32cad358f9e6fc03148f0100348a2129386909
21ee31472b6ad765d2d9f8f655301d8b6ad921c2
/math/leanprover/two.lean
c59fca49df28c7665e67ddc8c8f54026c06c5957
[]
no_license
anandijain/learning
2229472c40ca651a20cff9c52dabc3e6c3a8aeca
14c98cb0b89805c74e9e8d1afba7945d69ec4b67
refs/heads/master
1,594,406,566,371
1,586,458,652,000
1,586,458,652,000
204,337,259
0
0
null
null
null
null
UTF-8
Lean
false
false
8
lean
theorem
21ae9668512cb063845796985f41009fab2575ea
9028d228ac200bbefe3a711342514dd4e4458bff
/src/analysis/normed_space/multilinear.lean
3f9a76444f180808622b3c2e8a2e13160a5160c7
[ "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
57,182
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.operator_norm import topology.algebra.multilinear /-! # Operator norm on the space of continuous multilinear maps When `f` is a c...
9f9fd6ce917923aa2ea9a153c88a76de04cd674b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/is_alg_closed/classification.lean
f1efca9ea7eec069a1eebff2de372efb992cb04f
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
8,455
lean
/- Copyright (c) 2022 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.algebraic_independent import field_theory.is_alg_closed.basic import data.polynomial.cardinal import data.mv_polynomial.cardinal import data.zmod.algeb...
fcda3b1dc07e30a51ef89f5c887474550fae5e18
159d60de9b76d6925aabe9aa8851dab739f7ad5e
/mathematica_parser.lean
f8f2e52ce0c73172f1553bcaa23f4e552e451e2f
[]
no_license
minchaowu/mathematica
af6dfc779cd31a0e68e065ffb6e3570c23ccfbbe
f05940fc4de8ea371fab36d0db0aaa73f7e75be5
refs/heads/master
1,609,628,681,490
1,504,720,495,000
1,504,720,495,000
99,462,100
0
0
null
1,504,720,496,000
1,501,990,362,000
Lean
UTF-8
Lean
false
false
5,888
lean
import data.buffer.parser system.io open parser --namespace mathematica meta def htfi : has_to_format ℤ := ⟨λ z, int.rec_on z (λ k, ↑k) (λ k, "-"++↑(k+1))⟩ local attribute [instance] htfi structure float := (sign : nat) (mantisa : nat) (exponent : nat) meta instance : has_to_format float := ⟨λ f,...
1c2bcc19b73f82e02135bdffee478ac9a59123d7
3c693e12637d1cf47effc09ab5e21700d1278e73
/src/int/defs.lean
065f1db425a0b95717f814eb923a9397e8a7ce3b
[]
no_license
ImperialCollegeLondon/Example-Lean-Projects
e731664ae046980921a69ccfeb2286674080c5bb
87b27ba616eaf03f3642000829a481a1932dd08e
refs/heads/master
1,685,399,670,721
1,623,092,696,000
1,623,092,696,000
275,571,570
19
1
null
1,593,361,524,000
1,593,344,124,000
Lean
UTF-8
Lean
false
false
12,008
lean
-- make all the tactics work import tactic --import algebra.pi_instances -- you'll get the wrong 1 on ℕ² if you do this -- Let's just use Lean's definition of the naturals and not worry -- about what they are or how to make them. import data.nat.basic -- later on we'll do isomorphisms of rings -- ≃+* import data.equ...
c83c50dc35c76f8220b7991a1aa2c9d54be05b77
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/07_Induction_and_Recursion.org.11.lean
7e48c7bbfefc154a99883813c9c009c0ff5dc17c
[]
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
449
lean
/- page 104 -/ import standard import data.examples.vector open nat vector -- BEGIN definition tail_aux {A : Type} {n m : nat} (v : vector A m) : m = succ n → vector A n := vector.cases_on v (assume H : 0 = succ n, nat.no_confusion H) (take m (a : A) w : vector A m, assume H : succ m = succ n, have H1 : m = n, from s...
7729a4eccc1eae719f90e8699c830fa94924b9b9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/meta_tac6.lean
ccfeef82deab708e3ec6ccb31e783e8c7e60e54e
[ "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
718
lean
open tactic name list set_option pp.goal.compact true set_option pp.binder_types true example : ∀ (A B : Prop), A → A ∧ B → A → A := by do intro_lst [`_, `_, `H1, `H2, `H3], n : nat ← num_goals, ctx : list expr ← local_context, trace "Context: ", for_each ctx (λ e, do t ← infer_type e, ...
bdb477b6358f2064b839b38318572fe5e73958d9
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Data/Options.lean
f0538671eb6edb1e2c4c5c4f37c5fa7e4fa4e728
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,444
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich and Leonardo de Moura -/ prelude import Init.System.IO import Init.Data.Array import Init.Data.ToString import Init.Lean.Data.KVMap namespace Lean def Option...
e0a65f1cc963d9589a8b16e622fd0ec1ffff88d7
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Syntax.lean
8906a27ac8d5739856de262e6889f5b243d47dbf
[ "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
16,379
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura -/ import Lean.Data.Name import Lean.Data.Format namespace Lean namespace SourceInfo def updateTrailing (info : SourceInfo) (trailing : Opt...
e90c805e534408cb0b1a0512aa0ce658241decb4
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/metric_space/contracting.lean
ddd2def694ce6583a74c4620df53e470282e34cf
[ "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
15,554
lean
/- Copyright (c) 2019 Rohan Mitta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rohan Mitta, Kevin Buzzard, Alistair Tucker, Johannes Hölzl, Yury Kudryashov -/ import topology.metric_space.lipschitz analysis.specific_limits data.setoid /-! # Contracting maps A Lip...
131f621926b59a8685353bfd5025bf664d94e817
26bff4ed296b8373c92b6b025f5d60cdf02104b9
/library/data/vector.lean
a0e9ab7d11432a653dcd9aa972228e6b5c59c0b9
[ "Apache-2.0" ]
permissive
guiquanz/lean
b8a878ea24f237b84b0e6f6be2f300e8bf028229
242f8ba0486860e53e257c443e965a82ee342db3
refs/heads/master
1,526,680,092,098
1,427,492,833,000
1,427,493,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,340
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.vector Author: Floris van Doorn, Leonardo de Moura -/ import data.nat data.list data.fin open nat prod fin inductive vector (A : Type) : nat → Type := | nil {} : vector A zero ...
1211a37fab45452ff90eca9ef26dabe221772fe0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/set_theory/cofinality.lean
b88a4ac09c1df140179717c3d408b2edc88f75dc
[]
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
10,366
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.set_theory.cardinal_ordinal import Mathlib.PostPort universes u_1 u v u_2 namespace Mathl...
5521aaaf765bd2c62616bde92d8dcc2ed1fa7d6a
952248371e69ccae722eb20bfe6815d8641554a8
/test/additive.lean
b590b29e110845d9f01d933ca2f075e686582cd8
[]
no_license
robertylewis/lean_polya
5fd079031bf7114449d58d68ccd8c3bed9bcbc97
1da14d60a55ad6cd8af8017b1b64990fccb66ab7
refs/heads/master
1,647,212,226,179
1,558,108,354,000
1,558,108,354,000
89,933,264
1
2
null
1,560,964,118,000
1,493,650,551,000
Lean
UTF-8
Lean
false
false
1,359
lean
import interactive variables x y z : ℚ example (e1 : x < 1*y) (e2 : z < 1*y) (e3 : x + z > 3*y) (e4 : x + z >0) : false := by polya e1 e2 e3 e4 /-exps ← monad.mapm get_local [`e1, `e2, `e3, `e4], bb ← add_proofs_to_blackboard blackboard.mk_empty exps, bb.trace_exprs, (_, bb) ← return $ add_new_ineqs bb, bb...
e47fbba116b0412efe740f65c98f81b1a6e20cae
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/class5.lean
97a36f3242b176d07af5ab74164cda751be5a8a8
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
1,325
lean
import standard namespace algebra inductive mul_struct (A : Type) : Type := | mk_mul_struct : (A → A → A) → mul_struct A definition mul [inline] {A : Type} {s : mul_struct A} (a b : A) := mul_struct_rec (λ f, f) s a b infixl `*`:75 := mul end namespace nat inductive nat : Type := | zero : nat | succ...
fc0b58c1ed5b4ecb6de221516770a114d9d70762
c9e78e68dc955b2325401aec3a6d3240cd8b83f4
/src/evidence.lean
e3e83197880e519f61d20d3dbf92bc50187532ba
[]
no_license
loganrjmurphy/lean-strategies
4b8dd54771bb421c929a8bcb93a528ce6c1a70f1
832ea28077701b977b4fc59ed9a8ce6911654e59
refs/heads/master
1,682,732,168,860
1,621,444,295,000
1,621,444,295,000
278,458,841
3
0
null
1,613,755,728,000
1,594,324,763,000
Lean
UTF-8
Lean
false
false
967
lean
import justification pump1 common_meta property_catalogue.LTL open S A @[reducible] def pump1_input_1 : property.input (path pump1) := {property.input . Clm := {Claim . X := {x : path pump1 | true}, P := λ (p : path pump1), p⊨absent.after_until ↑BolusRequest ↑Cond_6_3_ ↑Infusion_NormalOperation},...
17e75e849dc9746969fb8187c6632c763cba173a
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/linear_algebra/char_poly/coeff.lean
71cfebb79dcf87c09de1a17b8f85c243be2f27ae
[ "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
8,969
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson, Jalex Stark. -/ import data.matrix.char_p import linear_algebra.char_poly import linear_algebra.matrix import ring_theory.polynomial.basic import algebra.p...
f3cecb818aeaf5e61a9af453f61bece70aaa8ff3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/InlineAttrs.lean
79a84bf694b306fe109cac5cadea8d265392de18
[ "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
4,326
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.Attributes namespace Lean.Compiler inductive InlineAttributeKind where | inline | noinline | macroInline | inlineIfReduce | alwaysInline ...
2c1e3cbad89d83e79310f671bf449d321fd3a668
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/complex/arg.lean
919daf70a0dcb665a9c2ac1b2be8fc4ec63dbe7d
[ "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,681
lean
/- Copyright (c) 2022 Eric Rodriguez. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Rodriguez -/ import analysis.inner_product_space.basic import analysis.special_functions.complex.arg /-! # Rays in the complex numbers This file links the definition `same_ray ...
17d6fb091648e352d81ff24a1e8326682b35ffe0
47181b4ef986292573c77e09fcb116584d37ea8a
/src/for_mathlib/geom_sum.lean
9d95cb1b069295690497754a514db847cdb660f6
[ "MIT" ]
permissive
RaitoBezarius/berkovich-spaces
87662a2bdb0ac0beed26e3338b221e3f12107b78
0a49f75a599bcb20333ec86b301f84411f04f7cf
refs/heads/main
1,690,520,666,912
1,629,328,012,000
1,629,328,012,000
332,238,095
4
0
MIT
1,629,312,085,000
1,611,414,506,000
Lean
UTF-8
Lean
false
false
2,381
lean
import .list import algebra.geom_sum import analysis.specific_limits lemma geom_sum_of_sum_of_range_map {α} [semiring α] (x: α) (n: ℕ): list.sum (list.map (pow x) (list.range n)) = geom_sum x n := begin induction n with d hd, { simp only [list.sum_nil, geom_sum_zero, list.range_zero, list.map] }, { simp [geom_...
5a9fe9de12574b6f68e4475f08476ae9bee0936e
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/09_Type_Classes.org.28.lean
873793a8a223b9a9f2170774c8b82841e8624026
[]
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
1,204
lean
import standard import data.nat open nat decidable definition ball (n : nat) (P : nat → Prop) : Prop := ∀ x, x < n → P x -- BEGIN -- ∀ x : nat, x < 0 → P x definition ball_zero (P : nat → Prop) : ball zero P := λ x Hlt, absurd Hlt !not_lt_zero variables {n : nat} {P : nat → Prop} -- (∀ x : nat, x < succ n → P x) im...
720ccbdef72fd36da2a080bde4705eeecd0e506a
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/nat/parity.lean
1c2a1d17eb2ace69ae158677f5c42dcd2d2cd241
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
10,068
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Parity. -/ import data.nat.power logic.identities namespace nat open decidable definition even (n : nat) := n % 2 = 0 definition decidable_even [instance] ...
717dafd2f0c8c962247aa4568f1f267917deed54
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/sheaves/stalks.lean
04671c38927f1b511c7a4ba94e754f9329baf6d0
[ "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
17,569
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Justus Springer -/ import topology.category.Top.open_nhds import topology.sheaves.presheaf import topology.sheaves.sheaf_condition.unique_gluing import category_theory....
22549a96e8e3551ee2d8f38d5b4fc1f4d123f4d1
c8d830ce6c7de4840cf0c892d8b58e7e8df97e37
/src/LTS/defs.lean
b4d3289c3d2cca5351b964a29a3ce49b757fb8f1
[]
no_license
loganrjmurphy/lean-strategies
4b8dd54771bb421c929a8bcb93a528ce6c1a70f1
020e2a65dc2ab475696dfea5ad8935a0a4085918
refs/heads/main
1,682,732,168,860
1,614,820,630,000
1,614,820,630,000
278,458,841
3
0
null
1,613,755,728,000
1,594,324,763,000
Lean
UTF-8
Lean
false
false
3,924
lean
import data.set data.stream.basic open stream structure LTS:= (S : Type) (Act : Type)(TR : set (S × Act × S)) --structure LTS:= (S : Type) (A : Type) (Δ : set (S × Act × S)) structure path (M : LTS) := (init : M.S) (s : stream (M.Act × M.S)) (sound : ((init, (s 0).1, (s 0).2) ∈ M.TR) ∧ ∀ i : ℕ, ((s i).2,...
6f0f6e62b98dcf521a595b6cfccc9250468c809d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/emptyc.lean
2b5070c624cca0614e3a98981b8cb61992b4acf8
[ "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
214
lean
structure A := (x : Nat := 0) def foo : A := {} theorem ex1 : foo = { x := 0 } := rfl theorem ex2 : foo.x = 0 := rfl instance : EmptyCollection A := ⟨{ x := 10 }⟩ def boo : A := {} -- this is ambiguous
62388e179a09c5479dee22a58ed690f48545cb89
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/unfoldReduceMatch.lean
2af4a5c273004af8f6635b1088e7a7eb269b3d5f
[ "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
95
lean
open Nat example : Nat.add zero (succ n) = succ n := by unfold Nat.add trace_state sorry
75591aa50deb3a6ccb17224a3e366de1133551f4
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/common/cairo_secp/verification/verification/signature_recover_public_key_bigint_mul_soundness.lean
fc9527b27d32dd00ef43b12b7f5abb45bf5102ec
[]
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
2,334
lean
/- File: signature_recover_public_key_bigint_mul_soundness.lean Autogenerated file. -/ import starkware.cairo.lean.semantics.soundness.hoare import .signature_recover_public_key_code import ..signature_recover_public_key_spec open tactic open starkware.cairo.common.cairo_secp.bigint variables {F : Type} [field F] [d...
ce2ad0e824a77adc5001b72e6f03d88b7b1c8bb4
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/rebind_bind.lean
f41756b239c8efd0a071188bdd4563115c21205f
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
292
lean
class mono_monad (m : Type) (α : out_param Type) := (pure : α → m) (bind : m → (α → m) → m) export mono_monad (bind pure) instance : mono_monad bool bool := { pure := id, bind := λ b f, if b then f b else b } #eval do b ← tt, b' ← ff, mono_monad.pure _ b
5b7ad25a13eb32c924bc2f21e25b7acff24333e1
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/calculus/conformal.lean
3909d73a430266161f136b0b7870723ceaf2b397
[ "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
6,510
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang -/ import analysis.normed_space.conformal_linear_map /-! # Conformal Maps A continuous linear map between real normed spaces `X` and `Y` is `conformal_at` some point `x` i...
bc4708b38d77ec0f926ca043c3a81a57c9abaa86
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/jacobson.lean
2849d84937c9f3d7db6e899cf574830670e097c8
[ "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
34,406
lean
/- Copyright (c) 2020 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import ring_theory.localization.away import ring_theory.ideal.over import ring_theory.jacobson_ideal /-! # Jacobson Rings The following conditions are equivalent for a ring ...
e8c7b870dc217ed2ee6e03f1aaf5f7cb5b06c442
9dc8cecdf3c4634764a18254e94d43da07142918
/src/computability/language.lean
62f301112b85d1052131f268ff479197ab95ea4f
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
7,831
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import data.list.join import data.set.lattice /-! # Languages This file contains the definition and operations on formal languages over an alphabet. Note strings are impl...
a471b71ed940e81b66da2b530c12f3758b56c9be
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/test/slim_check.lean
f8d94878e1268e121467828a1a7a7189e4b6d44d
[ "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
1,452
lean
import tactic.slim_check example : true := begin have : ∀ i j : ℕ, i < j → j < i, success_if_fail_with_msg { slim_check { random_seed := some 257 } } " =================== Found problems! i := 0 j := 1 ------------------- ", admit, trivial end example : true := begin have : (∀ x : ℕ, 2 ∣ x → x < 100),...
16f82bcf070df16132474208af59300c56fcd3a8
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/complex/basic.lean
b096ec98f6e83bb7f603b84a78ba9af6b0c0dbe4
[ "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
30,920
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro -/ import data.real.sqrt /-! # The complex numbers The complex numbers are modelled as ℝ^2 in the obvious way and it is shown that they form a field of c...
a7dcbcabfaaacb42711b05dbf720bc0ff28282e3
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/DefEqAssignBug.lean
46cf4deb5c8885f1ac3bc8963f73ae34e62bade7
[ "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
712
lean
import Init.Lean.Meta open Lean open Lean.Meta def mkArrow (d b : Expr) : Expr := mkForall `_ BinderInfo.default d b def check (x : MetaM Bool) : MetaM Unit := unlessM x $ throw $ Exception.other "check failed" def tst1 : MetaM Unit := do let nat := mkConst `Nat; m1 ← mkFreshExprMVar nat; m2 ← mkFreshExprMVar (mkArr...
72fbfc596582eed6e4f7765f5abe87118a52cde1
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_653.lean
d6ceba1a62365cfaceef5b6eb48d96ba9d740b3b
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
274
lean
import data.real.basic -- BEGIN def fn_ub (f : ℝ → ℝ) (a : ℝ) : Prop := ∀ x, f x ≤ a def fn_lb (f : ℝ → ℝ) (a : ℝ) : Prop := ∀ x, a ≤ f x def fn_has_ub (f : ℝ → ℝ) := ∃ a, fn_ub f a def fn_has_lb (f : ℝ → ℝ) := ∃ a, fn_lb f a -- END
29bd935d4f7b01d50e2c173cb1667520d330c4c5
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/linear_algebra/matrix.lean
886cf1ff074480038ec97d9259d3a9ca70adceb4
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
5,393
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear structures on function with finit support `α →₀ β` and multivariate polynomials. -/ import data.matrix import linear_algebra.dimension linear_algebra.tensor_produ...
c9dbe1eef5c9a3c65062857e251c55ec3b8fab67
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/topology/continuous_on.lean
10d9522112572547390a7ae419a6131da80ddcb0
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
26,806
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset This file defines relative versions `nhds_within` of `nhds` `contin...
995d2c6b315a8f12b43ecd12c76c2a845b9f80fa
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/differential_object.lean
dff16caadb1f4d930aeb946e2197b6558de9d44c
[ "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
10,261
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.shift import category_theory.concrete_category /-! # Differential objects in a category. A differential object in a category with zero morphi...
84e157bdcc4fba7b60476dbe30eccc69c32b043a
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/pushFilterPastAggThree.lean
a70a790084a4093374023028e87ddf24e5334e45
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
2,090
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..ucongr import ..TDP set_option profiler true open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int variable integer_1: const datatypes.int theorem rule: forall ( Γ scm_t scm_account scm_bonus scm_dept sc...
96b145c65d0aa811d4e41de5c7d61162b459e2a6
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Lean/Elab/Quotation.lean
5678806277527a06d1d592f35b53e0c3da35a75b
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
24,362
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic hygiene workings and data types. -/ import...
4d39debdd375292abe923961b12318e8bec179b2
aa101d73b1a3173c7ec56de02b96baa8ca64c42e
/src/solutions/05_sequence_limits.lean
a2845a0be8cda9f64b030a6fa69081a45c84a02c
[ "Apache-2.0" ]
permissive
gihanmarasingha/tutorials
b554d4d53866c493c4341dc13e914b01444e95a6
56617114ef0f9f7b808476faffd11e22e4380918
refs/heads/master
1,671,141,758,153
1,599,173,318,000
1,599,173,318,000
282,405,870
0
0
Apache-2.0
1,595,666,751,000
1,595,666,750,000
null
UTF-8
Lean
false
false
7,626
lean
import data.real.basic import algebra.pi_instances import tuto_lib notation `|`x`|` := abs x /- In this file we manipulate the elementary definition of limits of sequences of real numbers. mathlib has a much more general definition of limits, but here we want to practice using the logical operators and relations cov...
77f9582a3fb6c9425791411484a18d3510a14ff5
93b17e1ec33b7fd9fb0d8f958cdc9f2214b131a2
/src/sep/monalg.lean
56ca6bdc76deeb197cdb4dcb2e03ce1b57013d84
[]
no_license
intoverflow/timesink
93f8535cd504bc128ba1b57ce1eda4efc74e5136
c25be4a2edb866ad0a9a87ee79e209afad6ab303
refs/heads/master
1,620,033,920,087
1,524,995,105,000
1,524,995,105,000
120,576,102
1
0
null
null
null
null
UTF-8
Lean
false
false
29,265
lean
/- Monomial algebras - -/ import .basic import .option import .prod import .rel import .primeSpec import ..extralib namespace Sep universes ℓ ℓ₁ ℓ₂ namespace MonAlg structure Mon (A : Type.{ℓ}) : Type.{ℓ} := (supp : list A) (e : {a // a ∈ supp} → ℤ) def Mon.subtype {A : Type.{ℓ}} {P₁ P₂ : set A} (m : M...
1d68109afd7f41f6429dbff669e360706167fde6
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/coe13.lean
90a559081aa1652e9c298e52b232d90a678c08bf
[ "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
594
lean
import data.nat open nat inductive functor (A B : Type) := mk : (A → B) → functor A B definition functor.to_fun [coercion] {A B : Type} (f : functor A B) : A → B := functor.rec (λ f, f) f inductive struct := mk : Π (A : Type), (A → A → Prop) → struct definition struct.to_sort [coercion] (s : struct) : Type := struc...
b097a1041971e3fd0d215975c121378b1b70f0f0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/locally_convex/bounded.lean
d44d4d45c5eb30bb9632213e0b28dc1ea0399456
[ "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
13,242
lean
/- Copyright (c) 2022 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import analysis.locally_convex.basic import analysis.locally_convex.balanced_core_hull import analysis.seminorm import topology.bornology.basic import topology.algebra.unif...
548b20951208cbe4d05355f6df92aa3801d9611c
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/def_brec1.lean
578f3ad05b70637860450fb7284d4d9da714cbd7
[ "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
415
lean
inductive foo : bool → Type | Z : foo ff | O : foo ff → foo tt | E : foo tt → foo ff open foo definition to_nat : ∀ {b}, foo b → nat | .(ff) Z := 0 | .(tt) (O n) := to_nat n + 1 | .(ff) (E n) := to_nat n + 1 example : to_nat (E (O Z)) = 2 := rfl example : to_nat Z = 0 := rfl example (a : foo ff) : to_nat (O...
86c1954a85e84f55b011115b40215a2167c616f7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/IRbug.lean
bc49bb79aec09109d197fcf0be7a5a6be6b1dd3d
[ "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
688
lean
namespace Repro def FooM (α : Type) : Type := Unit → α def FooM.run {α : Type} (ψ : FooM α) (x : Unit) : α := ψ x def bind {α β : Type} : ∀ (ψ₁ : FooM α) (ψ₂ : α → FooM β), FooM β | ψ₁, ψ₂ => λ _ => ψ₂ (ψ₁.run ()) () instance : Pure FooM := ⟨λ x => λ _ => x⟩ instance : Bind FooM := ⟨@bind⟩ instance : Monad FooM :=...
0f44f17e5cf3bb1b1efefaf1c9f2b9bdea372db2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/instances/real.lean
3f4abaaabaa40331c37c52ff8aa3fb3cea168e78
[]
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,963
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.metric_space.basic import Mathlib.topology.algebra.uniform_group i...
049958e074230ee53c577e74a00f742b7dfdb0a9
dd4e652c749fea9ac77e404005cb3470e5f75469
/src/missing_mathlib/algebra/module.lean
0783104a0cd5e70f300985d3e3e309b1aec80e90
[]
no_license
skbaek/cvx
e32822ad5943541539966a37dee162b0a5495f55
c50c790c9116f9fac8dfe742903a62bdd7292c15
refs/heads/master
1,623,803,010,339
1,618,058,958,000
1,618,058,958,000
176,293,135
3
2
null
null
null
null
UTF-8
Lean
false
false
217
lean
import algebra.module lemma linear_map.to_fun_eq_coe_fn {α β γ : Type*} [ring α] [add_comm_group β] [add_comm_group γ] [module α β] [module α γ] (f : β →ₗ[α] γ): linear_map.to_fun f = ⇑f := rfl
3accc16719a170476488d7e89960a09d33a89428
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Util/Import.lean
8aec97fb960ed129f32e74f0b30e9fdf70f4b176
[ "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
353
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean open Lean @[implemented_by withImportModules] opaque withImportModulesConst (imports : List Import) (opts : Options) (trustLevel : UInt32 := 0) (x ...
2d2cbb18c234bec6611b5039ae95b075a41f12f7
a07fc1a5c10c8dc40360ecb554c3aed54740f945
/src/mwe.lean
00a2f8224d8a87719f4704695923f1c129b1be04
[]
no_license
mkummini/ideal-membership
2a39b4b07d61f2177d7e584a53b5b2279097b150
59f823e657939e386d0e53a5d9be47392bab3e41
refs/heads/master
1,690,298,605,933
1,629,856,697,000
1,629,856,697,000
384,842,535
0
0
null
null
null
null
UTF-8
Lean
false
false
426
lean
import data.mv_polynomial.basic import data.mv_polynomial.comm_ring import data.zmod.basic open mv_polynomial abbreviation R := mv_polynomial (fin 2) (zmod 2) example : let f : R := (X 0)^2 + (X 1)^2, f1 : R := X 0, f2 : R := X 1 in f = (X 0) * f1 + (X 1) * f2 := begin ring_exp, -- I fi...
4bfdff47df8f634a6031dedcf71aca21952a6a36
4727251e0cd73359b15b664c3170e5d754078599
/src/data/dfinsupp/interval.lean
f589ac9929f4a556cff218ef971e2a4a1ca2e6b6
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
5,865
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.finset.locally_finite import data.finset.pointwise import data.fintype.card import data.dfinsupp.order /-! # Finite intervals of finitely supported functions...
e798c115c53155daf9d2768bd5fa01e66089080a
ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb
/ijcar16/examples/cc25.lean
2244f247462744d7ce19ba4ad786c6cc6beb74b8
[ "MIT" ]
permissive
leanprover/leanprover.github.io
cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a
071a20d2e059a2c3733e004c681d3949cac3c07a
refs/heads/master
1,692,621,047,417
1,691,396,994,000
1,691,396,994,000
19,366,263
18
27
MIT
1,693,989,071,000
1,399,006,345,000
Lean
UTF-8
Lean
false
false
527
lean
/- Example/test file for the congruence closure procedure described in the paper: "Congruence Closure for Intensional Type Theory" Daniel Selsam and Leonardo de Moura The tactic `by blast` has been configured in this file to use just the congruence closure procedure using the command set_option blast.strategy...
93a45eecada0a5c481f2437a2212f935ffd0c959
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/omega/default_auto.lean
7e9bdfa351f25c1bedb5fb490d0f8f106e17120d
[]
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
148
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.omega.main import Mathlib.PostPort namespace Mathlib end Mathlib
b5600f6dedbcd31752cc9681a3c170d6c01227dc
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Elab/Tactic/Induction.lean
2ca1c79143bc6bdf5c3f134bc1f77e89efdc0943
[ "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
19,410
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, Sebastian Ullrich -/ import Lean.Util.CollectFVars import Lean.Parser.Term import Lean.Meta.RecursorInfo import Lean.Meta.CollectMVars import Lean.Meta.Tactic...
d8ac3006766338e5d48d2f4763dd52924761ac05
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/for_mathlib/uniform_space/group.lean
9f9e146c1dd7c01cf73280487368a49982ca24dc
[ "Apache-2.0" ]
permissive
semorrison/lean-perfectoid-spaces
78c1572cedbfae9c3e460d8aaf91de38616904d8
bb4311dff45791170bcb1b6a983e2591bee88a19
refs/heads/master
1,588,841,765,494
1,554,805,620,000
1,554,805,620,000
180,353,546
0
1
null
1,554,809,880,000
1,554,809,880,000
null
UTF-8
Lean
false
false
3,553
lean
import topology.algebra.group_completion import for_mathlib.uniform_space.separation noncomputable theory local attribute [instance, priority 0] classical.prop_decidable section uniform_add_group_sep_quot open uniform_space variables {α : Type*} [add_group α] [uniform_space α] [uniform_add_group α] variables {β : T...
3967cabfe788302f697db40a6a564548272f74db
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/tactic8.lean
371b99bd1408f00738dfcabc9688f088e0680a2e
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
208
lean
import standard using tactic theorem tst {A B : Prop} (H1 : A) (H2 : B) : A ∧ B ∧ A := by (apply @and_intro; apply (show A, from H1); apply (show B ∧ A, from and_intro H2 H1)) check @tst
24ef6254f56af65f3ccfcd23725a25475f4ff13a
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/test/automatic_induction.lean
ad46218fb2907918467d0c700640ded3991b4eab
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
194
lean
import tidy.automatic_induction import tidy.pempty def f (x : pempty) : false := begin automatic_induction, end def g (x : fin 0) : false := begin automatic_induction, automatic_induction, end
6267a05dbaa1298a911921baadd56923aa3146cd
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/algebra/with_zero_topology.lean
f93a17272a78f712e11f2ba88fa942f7d8e0ebbf
[ "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,089
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import algebra.order.with_zero import topology.algebra.order.basic /-! # The topology on linearly ordered commutative groups with zero Let `Γ₀` be a linearly ordere...
1166453817ad2b6adb661701f92f9d3b9e241117
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/uf1_new.lean
78544005dd4cdb38cfc26cfd24110b7f55dbf8a0
[ "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
4,395
lean
def StateT (m : Type → Type) (σ : Type) (α : Type) := (Unit × σ) → m (α × σ) namespace StateT variable {m : Type → Type} [Monad m] {σ : Type} {α β : Type} @[inline] protected def pure (a : α) : StateT m σ α := λ ⟨_, s⟩, pure (a, s) @[inline] protected def bind (x : StateT m σ α) (f : α → StateT m σ β) : StateT m σ β :=...
25ccb08aa7938eefa62482c35dc67f0fb2ffe81c
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/funext.lean
d487d4a4d385c120bb7d685b9af5fddf3c731305
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
2,226
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Extensional equality for functions, and a proof of function extensionality from quotients. -/ prelude import init.quot init.logic namespace function universe va...
d53daa9882c7e3bea3f01dc563ff59d2a641221d
63abd62053d479eae5abf4951554e1064a4c45b4
/src/order/category/omega_complete_partial_order.lean
28b43a09519cc2a5bdfc20162ae938e09390100b
[ "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
3,978
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import order.omega_complete_partial_order import order.category.Preorder import category_theory.limits.shapes.products import category_theory.limits.shapes.equalizers impor...
fa1cd93561a987653228a1a71524f1ad54bdf4b4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/category/adjoint.lean
88c7bf067af0be28492bc094fa7477162ddb0ddf
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
515
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn -/ import .constructions open eq eq.ops category functor natural_transformation category.ops prod category.product namespace adjoint -- definition Hom (C : Cate...
8d4953014a51af03da632ede0faaafa5f977cc5a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/calc_bug.lean
07bc467725da2dadeb0de3468a48e89762f10d05
[ "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
208
lean
definition foo (a : Type) := calc a = a : rfl example (eq : ℕ) : 1 = 1 := by calc 1 = 1 : rfl ... = 1 : rfl example (a : Prop) (implies : ℕ) : a → a := by calc a → a : id ... → a : id
01f1704be5cd110f8e6fb71e0adb5c9cea266c22
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/struct_class.lean
d25ab280d895fc17b137912b21f7df2cc1223811
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
198
lean
prelude import init.core structure [class] point (A : Type*) (B : Type*) := mk :: (x : A) (y : B) #print classes structure point2 (A : Type*) (B : Type*) := mk :: (x : A) (y : B) #print classes
7679099f72a670eb44393f85452b30686b35386c
eecbdfcd97327701a240f05d64290a19a45d198a
/type_classes/diamond.lean
f1fa8a5dddcbc452dcdf5197242b7738d9cc9b2f
[]
no_license
johoelzl/hanoifabs
d5ca27df51f9bccfb0152f03b480e9e1228a4b14
4235c6bc5d664897bbf5dde04e2237e4b20c9170
refs/heads/master
1,584,514,375,379
1,528,258,129,000
1,528,258,129,000
134,419,383
0
1
null
null
null
null
UTF-8
Lean
false
false
3,314
lean
import analysis.real /- Type classes: * metric * topology Instances: * canonical topology: metric → topology * metric & topology for ℝ: metric ℝ, topology ℝ * product topology and product metric Problem: M(α) × M(β) → M(α × β) ↓ × ↓ ↓ T(α) × T(β) → T(α × β) ...
ad23f06d7ca23b959e9dec84a2872ba8222493ae
626e312b5c1cb2d88fca108f5933076012633192
/src/analysis/normed_space/bounded_linear_maps.lean
da6f89776cf49d1c636763437a886f64122bcff7
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,055
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import analysis.normed_space.multilinear /-! # Continuous linear maps This file defines a class stating that a map between normed vector spaces is (...
240f7e2f295dc3622a04d242971c295dc9d662da
3f1a1d97c03bb24b55a1b9969bb4b3c619491d5a
/tests/lean/run/check_constants.lean
80dcfbacb38228826bcb069f42c5ab8216081e7f
[ "Apache-2.0" ]
permissive
praveenmunagapati/lean
00c3b4496cef8e758396005013b9776bb82c4f56
fc760f57d20e0a486d14bc8a08d89147b60f530c
refs/heads/master
1,630,692,342,183
1,515,626,222,000
1,515,626,222,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,189
lean
-- DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py import smt system.io open tactic meta def script_check_id (n : name) : tactic unit := do env ← get_env, (env^.get n >> return ()) <|> (guard $ env^.is_namespace n) <|> (attribute.get_instances n >> return ()) <|> fail ("identifier '" +...
f0064a714c3ccbb63501f4a0590a74f877842f19
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/group/basic.lean
3807b54fe268c0939f8152d7722ff680b7c7e5d0
[ "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
16,239
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, Simon Hudon, Mario Carneiro -/ import algebra.group.defs import logic.function.basic /-! # Basic lemmas about semigroups, monoids, and groups This f...
ab060195118f751251cf9d730219c48a75316fa3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/forthelean/ForTheLean/Prelim.lean
39e843e16e622319995f410f331ead7d4af5a4b6
[ "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,824
lean
import Lean namespace Lean.Elab.Command open Lean -- to get around missing structure notation support def modifyEnv (f : Environment → Environment) : CommandElabM Unit := modify $ fun s => { s with env := f s.env } end Lean.Elab.Command namespace Prelim open Lean open Lean.Parser -- for declaring simple parsers I can...
a8a3982575c33ca1cc31845b26408b5e146f6a8b
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/nat/totient.lean
3e7d0016c333146669ca04bdc2c81550db8bcb1a
[ "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
3,710
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.big_operators.basic open finset open_locale big_operators namespace nat /-- Euler's totient function. This counts the number of positive integers less t...
fe1123317544eff458f7727023238ad17507f760
a7602958ab456501ff85db8cf5553f7bcab201d7
/Assignment6/2.10-homework.lean
a1a5286030c31d53af097ef0b8ae1d82ed72a79e
[]
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
2,586
lean
-- Assignment 6 -- Dom Farolino, farolidm@mail.uc.edu -- Math Logic -- Exercise 1 namespace ex1 def double: ℕ → ℕ := fun (x: ℕ), x + x def do_twice: (ℕ → ℕ) → ℕ → ℕ := fun (f: ℕ → ℕ) (x: ℕ), f (f x) def do_thrice (f: ℕ → ℕ) (x: ℕ): ℕ := f (f (f x)) -- From the book. -- Some checks. #check do_twice double ...
b6085e7aa5fa37b97ba73e45219b3872d087da9b
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/measure_theory/measurable_space.lean
783b3acdd36f2611dbb94917014da05f21ae6c47
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
39,144
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 Measurable spaces -- σ-algberas -/ import data.set.disjointed order.galois_connection data.set.countable open set lattice encodable local attribute [ins...
c4a636f3b2cceff66214e398f9a2b302db7a4f0c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/pigeonhole.lean
87bea38b4689af3d0fb6b49769d0835fff6616b0
[ "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,441
lean
/- Copyright (c) 2020 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller, Yury Kudryashov -/ import data.nat.modeq import data.set.finite import algebra.big_operators.order import algebra.module.basic import algebra.module.big_operators /-! # Pige...
517260f17b3e4e8d562948c68028138f628b7682
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/Parser/Term.lean
0c24264dc24dc7ae74676d5265030f277bc7ac69
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,150
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.Basic import Lean.Parser.Level namespace Lean namespace Parser @[init] def regBuiltinTacticParserAttr : IO Unit := l...
bd737600c5cd96c25a4e0c603d3fdf8e5f16c38b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Parser/Syntax.lean
025a067c3aef4d16252430d0ee5916d8116a7be6
[ "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
5,786
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.Command namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribute `builtin_syntax_parser `...
a6b5043267d205508a3987c88d2b3b0cd553e2eb
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/assoc_flat.lean
d0e292382d659b8bdc0ca90e4c35c381880af7d7
[ "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
2,268
lean
open tactic expr meta definition is_op_app (op : expr) (e : expr) : option (expr × expr) := match e with | (app (app fn a1) a2) := if op = fn then some (a1, a2) else none | e := none end meta definition flat_with : expr → expr → expr → expr → tactic (expr × expr) | op assoc e rhs := match (is_op_...
63c527b3d84248d2b30ffeb8401cc439a153d9cb
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/data/nat/order.lean
e86c1a144e73031f992c5715c7eefb5d7ed2db96
[ "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
19,827
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Floris van Doorn. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Author: Floris van Doorn --------------------------------------------------------...
c5d3615c001a1e2619b6e447aa17c27478c419f2
6e9cd8d58e550c481a3b45806bd34a3514c6b3e0
/src/data/polynomial.lean
39fa7eee6e64bf34e154e4b17d55323da69911d8
[ "Apache-2.0" ]
permissive
sflicht/mathlib
220fd16e463928110e7b0a50bbed7b731979407f
1b2048d7195314a7e34e06770948ee00f0ac3545
refs/heads/master
1,665,934,056,043
1,591,373,803,000
1,591,373,803,000
269,815,267
0
0
Apache-2.0
1,591,402,068,000
1,591,402,067,000
null
UTF-8
Lean
false
false
108,332
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.monoid_algebra import algebra.gcd_domain import ring_theory.euclidean_domain import ring_theory.multiplicity i...
ee3c931e0cf9783838a400933760a32a8b4be9b1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/char_p/quotient.lean
2948d01a84b46a2e37fe018bcb933981e04311f9
[]
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
913
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Eric Wieser -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.char_p.basic import Mathlib.algebra.ring_quot import Mathlib.PostPort universes...
3391168cfda1c6958b8307f175f8ac00434399f0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/multiset/antidiagonal.lean
3a376862c720f836536d998f3f5d11f941bc3994
[ "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,727
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.multiset.powerset /-! # The antidiagonal on a multiset. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR...
a83228210d91482d4186ad7f834b2615479323de
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed_space/operator_norm.lean
016744c5072427948e5783638ffae850b8d050ef
[ "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
85,829
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 algebra.algebra.tower import analysis.asymptotics.asymptotics import analysis.normed_space.linear_isometry import analysis.no...
b0fd0f7ab2321c52a79a32cc1bd5223737d5ed13
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/preadditive/injective_resolution.lean
e6e74beb9162a124855e0839029a44e92637e39e
[ "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,984
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Scott Morrison -/ import category_theory.preadditive.injective import algebra.homology.single /-! # Injective resolutions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any...
f3c87ad06c61744a14fe934c689445244b8d3666
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/calculus/local_extr.lean
cc961c61d5faeab63d109b4d4222911344e1151c
[ "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
18,119
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 topology.local_extr import topology.algebra.ordered.extend_from import analysis.calculus.deriv import topology.algebra.polynomial /-! # Local extrema of smo...
5dc9024aa626f1f323d33b7b6cefec8b0ca367a7
1e3a43e8ba59c6fe1c66775b6e833e721eaf1675
/src/data/finset.lean
a229f066fab3a3fba4eab7c19ac4a9434cbb67aa
[ "Apache-2.0" ]
permissive
Sterrs/mathlib
ea6910847b8dfd18500486de9ab0ee35704a3f52
d9327e433804004aa1dc65091bbe0de1e5a08c5e
refs/heads/master
1,650,769,884,257
1,587,808,694,000
1,587,808,694,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
121,471
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, Jeremy Avigad, Minchao Wu, Mario Carneiro Finite sets. -/ import data.multiset import tactic.monotonicity import tactic.apply open multiset subtype nat vari...
43a5ee63f5d294b9617a76a81f95fbe19e53b565
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/topology/continuous_on.lean
145eff5a4c0b43f9f3efa1b8fc12b97a15db7129
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
24,460
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset This file defines relative versions `nhds_within` of `nhds` `contin...