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
25be2d8701a07b11267fa1fc672713b2c549f5a2
1a2aed113dcb5f1c07ae98040953fba5e6563624
/lean_root/src/tao_ch9.lean
e776f1d7960650a59dc9394fb5932a4453e4723f
[ "Apache-2.0" ]
permissive
kevindoran/lean
61d9fb90363b04587624036136482b29e3c16ebd
77e755095a31e3a214010eb48a61e48d65dfdec9
refs/heads/master
1,670,372,072,769
1,598,920,365,000
1,598,920,365,000
264,824,992
0
0
null
null
null
null
UTF-8
Lean
false
false
21,118
lean
/- Notes ----- A set seems to be the lambda λα : Type → Prop `mem` takes a set and another input and simply applies the set to the other. protected def mem (a : α) (s : set α) := s a ∈ is defined in library/init.core.lean. infix ∈ := has_mem.mem with has_mem.mem having the definition: class has...
21ee442dd44585d4eb5f184f751a82590842a6b5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/group_completion_auto.lean
2c6a94975f006849ca46b361daeee808242fc1bc
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,842
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 Completion of topological groups: -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.uniform_space.completion import...
e5d590c3a34ea9c6e3ab6371d9c12d625e176c16
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/algebra/multilinear.lean
fe349c037ab8bee6a66490fdda32f6a767e6995b
[ "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
16,086
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 topology.algebra.module import linear_algebra.multilinear /-! # Continuous multilinear maps We define continuous multilinear maps as maps from `Π(i : ι...
d008139e0f94f721fcbdf8637beaebb68e08cc53
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/polynomial/denoms_clearable.lean
36cde53bb00901f554282b6fe0886d95c685b57e
[ "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
4,689
lean
/- Copyright (c) 2020 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.polynomial.erase_lead import data.polynomial.eval /-! # Denominators of evaluation of polynomials at ratios Let `i : R → K` be a homomorphism of semirings...
1c8edae700f7fb22621f68ffbd8ce2b4b3fc42a0
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/adic_completion.lean
161f4c3ad06dd7120a6cb2de4e70b479308955f7
[ "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
10,023
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.geom_sum import linear_algebra.smodeq import ring_theory.ideal.quotient import ring_theory.jacobson_ideal /-! # Completion of a module with respect to an ideal...
cc25c6a53ec49efe2007dca6a84692769c18b7b6
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/src/tidy/lock_tactic_state.lean
cccd9149823330d13d98b33d82bc91051ad2c3e9
[]
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
438
lean
/-- This makes sure that the execution of the tactic does not change the tactic state. This can be helpful while using rewrite, apply, or expr munging. Remember to instantiate your metavariables before you're done! -/ meta def lock_tactic_state {α} (t : tactic α) : tactic α | s := match t s with | resul...
babf81e304e09c58049464c8e96cf745129b208f
750acab0c635b67751bcfec43c5411aa3941c441
/q_fourier_xform.lean
ef13dc30e495235ba245922e8275b5aa259a9488
[]
no_license
nthomas103/lean_work
912f8e662cdd73ba97f5d3655ddb8a5d2cd204c9
7e9785cae2b60a77b41922fd5d5b159a1fae415c
refs/heads/master
1,586,739,169,355
1,455,759,226,000
1,455,759,226,000
50,978,095
0
0
null
null
null
null
UTF-8
Lean
false
false
4,408
lean
import standard data.matrix open nat matrix matrix.ops real complex fin open sigma prod prod.ops sigma.ops list definition mx [reducible] (d : ℕ × ℕ) := matrix ℂ d.1 d.2 constant tensor_product {da db} (A : mx da) (B : mx db) : mx (da.1*db.1,da.2*db.2) infixl `⊗`:100 := tensor_product constant mx_one : m...
aef8d4f6ecaaee0193b1d2467d1f329a72dc4483
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/number_theory/sum_four_squares.lean
3b298a43a83dce8b1039814200d9ee0a841f60a7
[ "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
11,810
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.group_power.identities import data.zmod.basic import field_theory.finite.basic import data.int.parity import data.fintype.card /-! # Lagrange's four squa...
39abcced58824aaa3b6f2f42dfdf5c0fad016a09
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Parser/Level.lean
dc71411c0b98e43967e777eac9e0374010e2fee5
[ "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
994
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 -/ prelude import Init.Lean.Parser.Parser namespace Lean namespace Parser @[init] def regBuiltinLevelParserAttr : IO Unit := registerBuilt...
061699893ce17055f4abdd64f89cfaf2240ccb9d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/expandWhereStructInstIssue.lean
d8c9ea2406b7355137acc3473019121c428f13a0
[ "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
117
lean
instance [Alternative m] : MonadLiftT Option m where monadLift := fun | some a => pure a | none => failure
bd71773ccc8f44c3e43e19148de45b9fbdd08d55
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/mvar3.lean
a5494cf603e132976cfba2269c402e9fd61188b8
[ "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
2,852
lean
import Init.Lean.MetavarContext open Lean def mkLambdaTest (mctx : MetavarContext) (ngen : NameGenerator) (lctx : LocalContext) (xs : Array Expr) (e : Expr) : Except MetavarContext.MkBinding.Exception (MetavarContext × NameGenerator × Expr) := match MetavarContext.mkLambda xs e lctx { mctx := mctx, ngen := ngen } ...
3bfdd91901b65a91f5ad335b7ebd481e7516326a
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/tools/super/clausifier.lean
1cf04009ad3ead9992c6e3eb5bb9550f43819049
[ "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
10,792
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .clause_ops import .prover_state .misc_preprocessing open expr list tactic monad decidable universe u namespace super meta def try_option {a : Type u}...
a26d7b5096a3b14c79a105a6625d1567e5288d6f
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/matrix/basic.lean
56995376e726ef7c6b5b4f0acf3f341343f98983
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
79,406
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 ...
e4e5bcaff289e3e67ba98af266d0547894807346
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/antiquotRecovery.lean
a1be49161a849b8aadc06bba85d6290b0a11299c
[ "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
184
lean
syntax "foo " (" bar " ident)? : tactic macro_rules -- should not complain about `$id` not being a valid command and create a snapshot for it | `(tactic| foo $[bar $id]) => sorry
2f138c16ff71b9362a53e475c90ef06b5122c656
42610cc2e5db9c90269470365e6056df0122eaa0
/library/theories/finite_group_theory/newpgroup.lean
faa44ffd7c130aa69d6118c52729d9726a40f06a
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
7,596
lean
import algebra.group theories.finite_group_theory.subgroup theories.finite_group_theory.finsubg theories.finite_group_theory.cyclic theories.finite_group_theory.perm theories.finite_group_theory.action import theories.finite_group_theory.extra_action theories.finite_group_theory.quotient theories.finite_group_theory.ex...
2cae0b4fac62355992718adae9ac16bf077bc431
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/keyAttrErase.lean
b6862ddcc369d855d669100a52e6ab75f0418c84
[ "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
124
lean
theorem ex {i j : Fin n} (h : i = j) : i.val = j.val := h ▸ rfl attribute [-app_unexpander] unexpandEqNDRec #print ex
ba89f345e53d9458f55218233293b14b519deeb3
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast_cc2.lean
a97880c60d72cc982f3741c809ab970b61661010
[ "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
632
lean
set_option blast.init_depth 10 set_option blast.inc_depth 100 set_option blast.subst false example (a b c d : nat) : a == b → b = c → c == d → a == d := by blast example (a b c d : nat) : a = b → b = c → c == d → a == d := by blast example (a b c d : nat) : a = b → b == c → c == d → a == d := by blast example (a b ...
101939394e33afdd81f4436c8c1436fb60542b65
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/category_theory/subobject/factor_thru.lean
19cdeee54b727bb6ce744945768bc4b80a77a5fa
[ "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
6,838
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.basic /-! # Factoring through subobjects The predicate `h : P.factors f`, for `P : subobject Y` and `f : X ⟶ Y` asser...
d25acb21032493e83c35f2771bf3ffe4c17619ec
47181b4ef986292573c77e09fcb116584d37ea8a
/src/for_mathlib/valuations.lean
386073f92d7892f85e928754800ab7712e697afa
[ "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
559
lean
import data.real.basic import data.real.cau_seq import .nat_digits import .list lemma list.abv_sum_le_sum_abv {α β} [ring α] [linear_ordered_field β] (abv: α → β) [habv: is_absolute_value abv] (L: list α): abv (L.sum) ≤ (L.map abv).sum := begin induction L with hd tl hl, { simp [list.map, is_absolute...
4f3379fd3fc3a63d9138fc4d042bb7bfd0948d7c
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/tactic7.lean
4f96b4995397e6051fedd00cd69ee987084c4798
[ "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
334
lean
import logic open tactic theorem tst {A B : Prop} (H1 : A) (H2 : B) : A ∧ B ∧ A := by apply and.intro; state; assumption; apply and.intro; repeat assumption check tst theorem tst2 {A B : Prop} (H1 : A) (H2 : B) : A ∧ B ∧ A := by repeat ((apply @and.intro | assumption) ; trace "STEP"; state; trace "----------") check...
55735f178296b3f8c8bfdecc1269fab7b8daf9ad
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/ofNat_class.lean
a96d3116d6313b3ef30040f8d545815a838f6e0c
[ "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
421
lean
import Lean open Lean local macro "ofNat_class" Class:ident n:num : command => let field := Lean.mkIdent <| Class.getId.eraseMacroScopes.getString!.toLower `(class $Class:ident.{u} (α : Type u) where $field:ident : α instance {α} [$Class α] : OfNat α (nat_lit $n) where ofNat := ‹$Class α›.1 instance ...
16b259e20134dc189db11136623c45ac7204cfd7
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/inaccessible.lean
d06ce29d74bbaa70ef3aef380f01b41d414874cb
[ "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
3,394
lean
universe variables u v inductive imf {A : Type u} {B : Type v} (f : A → B) : B → Type (max 1 u v) | mk : ∀ (a : A), imf (f a) definition inv_1 {A : Type u} {B : Type v} (f : A → B) : ∀ (b : B), imf f b → A | .(f a) (imf.mk .(f) a) := a definition inv_2 {A : Type u} {B : Type v} (f : A → B) : ∀ (b : B), imf f b → A |...
18f6a0b1a49268e8c48a44f779f168565d44222c
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/noncomputable_meta.lean
c2435fe503820618d5b744073f385dc208789a51
[ "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
91
lean
constants (X : Type) (x y : X) noncomputable meta def foo : bool -> X | tt := x | ff := y
06f049dfeed7b27e39636e106eeb5b8fb51a5b2f
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/interactive/info1.lean
6d6510ad3d933760d520446318a93af612f45e39
[ "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
147
lean
def foo.f : nat → nat := λ x, x def bla.f : string → string := λ x, x open foo bla example : nat := f 0 --^ "command": "info"
770888b9b0af4e112f18d4064403adeac5eb93b5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/list/perm.lean
4c4e06678b360189ab1f454beb2e4fdaf7b37d22
[ "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
54,143
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.list.erase_dup import data.list.lattice import data.list.permutation import data.list.zip import logic.relation ...
2400f70def24990544c5c848fb669c4c8ffe023b
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/zmod/basic.lean
7de13bf84899fb02da1eba4e2b8c223faa89ef14
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
21,638
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import data.int.modeq data.int.gcd data.fintype.basic data.pnat.basic tactic.ring /-! # Integers mod `n` Definition of the integers mod n, and the field structure on th...
c64ca59591b20fa301e08fc29e154b2c2c0a763b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/homotopy/cofiber.hlean
7ff1801e0d1a0a6ab893504e0fc2c40cf88c0a4f
[ "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
3,663
hlean
/- Copyright (c) 2016 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer The Cofiber Type -/ import hit.pointed_pushout function .susp open eq pushout unit pointed is_trunc is_equiv susp unit definition cofiber {A B : Type} (f : A → B)...
ce6ee98d8749c925a6aa19af971bacc7a14a704f
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/group_theory/subgroup.lean
41560dee4740493b47124622b966c5ba84229e7e
[ "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
44,719
lean
/- Copyright (c) 2020 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import group_theory.submonoid import algebra.group.conj /-! # Subgroups This file defines multiplicative and additive subgroups as an extension of submonoids, in a bundle...
0eabeb2a7a5ee60fff38e4e44ed1164a4287d589
8930e38ac0fae2e5e55c28d0577a8e44e2639a6d
/logic/basic.lean
84d1de98bd60e41fd8ea085d617ef1ccb415e30a
[ "Apache-2.0" ]
permissive
SG4316/mathlib
3d64035d02a97f8556ad9ff249a81a0a51a3321a
a7846022507b531a8ab53b8af8a91953fceafd3a
refs/heads/master
1,584,869,960,527
1,530,718,645,000
1,530,724,110,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,825
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Theorems that require decidability hypotheses are in the namespace "decidable". Classical versions are in the namespace "classical". Note: in the pres...
14fb781e052f3158f9544ab725c7f3d5f4cfb516
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/list/basic.lean
1b32bcf240a24d317bfa55df0a082e067afb3c0b
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
186,359
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
3fb083519af5e434618913db2fe5475275d03084
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/default_auto.lean
d811f9d36310370eb17d08f41eba8d81a105e319
[]
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
1,337
lean
/- This file imports many useful tactics ("the kitchen sink"). You can use `import tactic` at the beginning of your file to get everything. (Although you may want to strip things down when you're polishing.) Because this file imports some complicated tactics, it has many transitive dependencies (which of course may n...
1008db8249cedb421071bcbfdc19775964672121
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Meta/Tactic/Intro.lean
e0397c338557c7cbf3fb6a19303290e151926335
[ "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
3,402
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.Meta.Tactic.Util namespace Lean namespace Meta @[specialize] def introNCoreAux {σ} (mvarId : MVarId) (mkName : LocalContext → Nam...
bfbf314b5d2d946cdb5f99f55edb90eb3021beef
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Init/Data/Stream.lean
e634751af18038b7ed7750dfa7ebbfdc0e0edc68
[ "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,199
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Andrew Kent, Leonardo de Moura -/ prelude import Init.Data.Array.Subarray import Init.Data.Range /- Remark: we considered using the following alternative des...
53e7e2eb3f84524854cd2701f99cddbc83b42906
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/fully_faithful.lean
86ce61be785161a920904f9c2e18ba9e72e1c317
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
6,178
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import logic.function.basic import category_theory.natural_isomorphism universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; see `category_theory.category` for an ...
2e6c2e370dedaff3d9261fe42b5d16695426f025
f3be49eddff7edf577d3d3666e314d995f7a6357
/TBA/While/Semantics.lean
54c1d152097c425c6809142fdb172c6eac6ea815
[]
no_license
IPDSnelting/tba-2021
8b930bcd2f4aae44a2ddc86e72b77f84e6d46e82
b6390e55b768423d3266969e81d19290129c5914
refs/heads/master
1,686,754,693,583
1,625,135,602,000
1,625,136,365,000
355,124,341
50
7
null
1,625,133,762,000
1,617,699,824,000
Lean
UTF-8
Lean
false
false
2,089
lean
/- Semantics -/ import TBA.While.Com namespace While open Com abbrev Map (α β : Type) := α → Option β namespace Map def empty : Map α β := fun k => none def update [DecidableEq α] (m : Map α β) (k : α) (v : Option β) : Map α β := fun k' => if k = k' then v else m k' notation:max m "[" k " ↦ " v "]" => update m ...
ad948ad050800032f2ed9c1d43bcbf5c4b281dd5
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/notation4.lean
41c90e4df2dc557d2b216631339e0f35cbdfae40
[ "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
309
lean
-- open sigma inductive List (T : Type) : Type | nil {} : List | cons : T → List → List open List notation h :: t := cons h t notation `[` l:(foldr `,` (h t, cons h t) nil) `]` := l check ∃ (A : Type) (x y : A), x = y check ∃ (x : num), x = 0 check Σ (x : num), x = 10 check Σ (A : Type), List A
4648ac435658b600fd00e2b61d7552cd99f74cd0
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/group_theory/order_of_element.lean
68bebe9dc20a33a571b506a9b0c940ee10b5f038
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
6,388
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.set.finite group_theory.coset open set function variables {α : Type*} {s : set α} {a a₁ a₂ b c: α} -- TODO this lemma isn't used anywhere in this file, ...
1e65dd9bc36b99044bf1b48b3be5fbae818bf596
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/free_ring.lean
983f8c47dac849a5d207aae781f614175e979083
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,661
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import group_theory.free_abelian_group /-! # Free rings > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to ma...
f482fd2039364565901ec49531005c0c6c2a1409
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/polynomial/mirror.lean
a6302debbba36f1f5af2d803c4572274d273f76d
[ "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
7,347
lean
/- Copyright (c) 2020 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import data.polynomial.ring_division /-! # "Mirror" of a univariate polynomial In this file we define `polynomial.mirror`, a variant of `polynomial.reverse`. The...
92a6d85fe582dcbf9b311d5b2eb00454dccf2599
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/principal_ideal_domain.lean
b28da465ffd5d99b47e03c1cab4c87a5d6906934
[ "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,964
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Morenikeji Neri -/ import ring_theory.noetherian import ring_theory.unique_factorization_domain /-! # Principal ideal rings and principal ideal domains A principal ideal r...
c8c1023de19eb77ae71f8ca86b1997731da35ef4
c8b4b578b2fe61d500fbca7480e506f6603ea698
/src/number_theory/cyclotomic/cycl_rat.lean
6ccc0c06e447fe3394c3c3c020d9918a6ae052d0
[]
no_license
leanprover-community/flt-regular
aa7e564f2679dfd2e86015a5a9674a6e1197f7cc
67fb3e176584bbc03616c221a7be6fa28c5ccd32
refs/heads/master
1,692,188,905,751
1,691,766,312,000
1,691,766,312,000
421,021,216
19
4
null
1,694,532,115,000
1,635,166,136,000
Lean
UTF-8
Lean
false
false
20,409
lean
import ring_theory.polynomial.eisenstein.is_integral import number_theory.cyclotomic.galois_action_on_cyclo import number_theory.cyclotomic.rat import number_theory.cyclotomic.Unit_lemmas import ring_theory.dedekind_domain.ideal import number_theory.cyclotomic.zeta_sub_one_prime import number_theory.cyclotomic.cyclotom...
2ff0acff14caa2069e86f134115ec8b8e51a1107
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/types.lean
e1074994e2618519fdc280a0de49a57f52c6dba6
[ "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
11,110
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, Johannes Hölzl -/ import category_theory.epi_mono import category_theory.functor.fully_faithful import logic.equiv.basic /-! # The category `Type`. In...
e5ccb42651150aebb5e495b3ae0f7176cdba276a
a49a42dda6e1ae18983e9264eb962585a900fa99
/src/one_case.lean
0339e4b68772e0e838ef0868c168a1925545c995
[]
no_license
jamesa9283/Lean-AreaOfACircle
a5d22cbc96bc2cf2f76b79221b0ec65628edc333
c5d5030eeab98bb6552693de55a77a9cf2c21d20
refs/heads/master
1,676,179,712,721
1,610,133,816,000
1,610,133,816,000
327,885,903
0
0
null
null
null
null
UTF-8
Lean
false
false
814
lean
import measure_theory.interval_integral import analysis.special_functions.pow open_locale real example : 4 * ∫ (x : ℝ) in (0:ℝ)..1, real.sqrt(1 - x^2) = π := begin have : deriv (λ x : ℝ, 1/2 * (real.arcsin x + x * real.sqrt(1 - x^2) ) ) = λ x, real.sqrt(1 - x^2), { ext, rw deriv_const_mul, rw deriv_add, ...
973d9c2c7930c16d3b5bb28419986fed93b2599c
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/algebra/module/linear_map.lean
67929a2485c6e2003052ef242d9c64e398dbddc3
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,077
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro, Anne Baanen -/ import algebra.group.hom import algebra.module.basic import algebra.group_action_hom /-! # Linear maps and...
11c6274096bb48e953fcd942d2d3c95bf9e49fa2
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/linear_algebra/finite_dimensional.lean
b2fa479e4bee358ba7257fd205be086382169391
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
53,053
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 linear_algebra.dimension import ring_theory.principal_ideal_domain import algebra.algebra.subalgebra /-! # Finite dimensional vector spaces Definition and basic ...
4d9ffc794da4a132d4f4e0ea8533d513e24ca8b9
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/test/library_search/basic.lean
4f5e915a2d7d1e04e1637305cb48f47bf4a02e88
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,222
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.suggest -- No other imports, for fast testing /- Turn off trace messages so they don't pollute the test build: -/ set_option trace.silence_library_sear...
c188f88acb7b8f5ab4b2a6e754d12fa8c3321cce
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/tagged_format_auto.lean
de0ea6b37256ddda493645042df6922a6dce91d3
[]
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
409
lean
/- Copyright (c) E.W.Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: E.W.Ayers -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.expr_address import Mathlib.Lean3Lib.init.control.default namespace Mathlib /-- A...
ac2587e05c545e9c2fdf2738bd95f037955cdd3b
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-numbertheory-81.lean
d1ca117fe6c95e814e13701298fb881b25bb9f19
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
236
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.nat.basic import data.real.basic example : 71 % 3 = 2 := begin norm_num, end
c0fec1c3a92af3fb253b2a93815c171c311ea989
4fa161becb8ce7378a709f5992a594764699e268
/src/topology/metric_space/pi_Lp.lean
a7bf124eb1e5b3cddfb0c7b7345088a161eb8e2f
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
12,043
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.mean_inequalities /-! # `L^p` distance on finite products of metric spaces Given finitely many metric spaces, one can put the max distance on t...
54951f65d402514f6a14e53ee8ddd7cb3a9190dd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/constructions/over/connected.lean
ce2eb0a83e7257e3d809467395f0c668636d323e
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,213
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.over import Mathlib.category_theory.limits.conne...
89e9026a39194f6ce44924c3a9a4d4c271e430e6
dc253be9829b840f15d96d986e0c13520b085033
/homotopy/susp_pset.hlean
c2956d2c47c8492e9c9aada6838561b7a17ec427
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
4,275
hlean
/- Copyright (c) 2018 Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz -/ import algebra.group_theory hit.set_quotient types.list homotopy.vankampen homotopy.susp .pushout ..algebra.free_group open eq pointed equiv is_equiv is_tr...
467431a171d698cd9f3f9714c679ffcfb6aeef5d
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/group_theory/order_of_element.lean
560fa0db1b3d7212693b1a2c6c9567a9aca04a09
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,782
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.order import group_theory.coset import data.nat.totient import data.int.gcd import data.set.finite open function open_locale big_operato...
64e50511b9f445c0210cc0f4d397f126ae2948fc
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/no_confusion_type.lean
0591018f0083a2d7a640cc46f904bfbc2025db37
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
327
lean
-- open nat inductive vector (A : Type) : nat → Type | vnil : vector nat.zero | vcons : Π {n : nat}, A → vector n → vector (succ n) #check vector.no_confusion_type constants a1 a2 : num constants v1 v2 : vector num 2 constant P : Type #reduce vector.no_confusion_type P (vector.vcons a1 v1) (vector.vcons a2 v2)
eb4e038f9ab63eb459c9ccdc5cd9359ed7319fca
7282d49021d38dacd06c4ce45a48d09627687fe0
/tests/lean/j1.lean
d4fc14a2e89e422967dcf827ee6471a00857b2fc
[ "Apache-2.0" ]
permissive
steveluc/lean
5a0b4431acefaf77f15b25bbb49294c2449923ad
92ba4e8b2d040a799eda7deb8d2a7cdd3e69c496
refs/heads/master
1,611,332,256,930
1,391,013,244,000
1,391,013,244,000
16,361,079
1
0
null
null
null
null
UTF-8
Lean
false
false
734
lean
import tactic import macros definition bracket (A : Type) : Bool := ∀ p : Bool, (A → p) → p rewrite_set basic add_rewrite imp_truel imp_truer imp_id eq_id : basic set_option simp_tac::assumptions false theorem bracket_eq (x : Bool) : bracket x = x := boolext (assume H : ∀ p : Bool, (x → p) → p, (hav...
7ca57693d8dabd1b21acb400af1c7e34cabe87e8
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/category_theory/limits/preserves.lean
59d06ef6d58b13a791ac171e743a6d06ad251ea3
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,177
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison, Reid Barton -- Preservation and reflection of (co)limits. import category_theory.whiskering import category_theory.limits.limits open category_theory namespac...
55f31a9165d884d559b1e4b158ba87ae768a8704
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Lean/Data/Format.lean
319a8b5bd951f314bf52b6a37b4d27f23b75f83f
[ "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
7,696
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Array import Init.Lean.Data.Options universes u v namespace Lean inductive Format | nil : Format | line : Format ...
1ff78a5b753f2ec580233af70889bc0ee714ef29
a537b538f2bea3181e24409d8a52590603d1ddd9
/test/tidy_problem.lean
7fddb126d71e4908368adbdd1011ffe483ba205b
[]
no_license
rwbarton/lean-tidy
6134813ded72b275d19d4d32514dba80c21708e3
fe1125d32adb60decda7a77d0f679614ba9f6fbb
refs/heads/master
1,585,549,718,705
1,538,120,619,000
1,538,120,624,000
150,864,330
0
0
null
1,538,225,790,000
1,538,225,790,000
null
UTF-8
Lean
false
false
544
lean
import data.polynomial -- compare the result when you uncomment this import -- error! -- import tidy.tidy class algebra (R : out_param $ Type*) [comm_ring R] (A : Type*) extends ring A := (f : R → A) [hom : is_ring_hom f] (commutes : ∀ r s, s * f r = f r * s) variables (R : Type*) [ring R] instance ring.to_ℤ_algebr...
4d3a29af8f52caa3df9a97eafd3f4cec55f76e91
367134ba5a65885e863bdc4507601606690974c1
/src/data/int/cast.lean
c374c757600d31b2abe65de2e2dc61f5e3e3c908
[ "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
8,814
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.int.basic import data.nat.cast open nat namespace int /- cast (injection into groups with one) -/ @[simp, push_cast] theorem nat_cast_eq_coe_nat : ∀ n...
9a51b7d64afb3022d32fdb0518f5137d4f40004a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/polynomial/symmetric_auto.lean
d4208d7a9b4c7361a7367c3ccf66610790cebdfb
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,324
lean
/- Copyright (c) 2020 Hanting Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Hanting Zhang, Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.default import Mathlib.data.mv_polynomial.rename import Mathlib.data.m...
60292e6a44e58dbe62b5981374ba0ef929052709
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/list/chain.lean
001938e5223957bdd370381f86dd9cb772387bfa
[ "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
10,578
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau, Yury Kudryashov -/ import data.list.pairwise import logic.relation universes u v open nat variables {α : Type u} {β : Type v} namespace list /- chain re...
36ed6d1b52a6e3a664003452d0ffbbdcdaaedd4c
4fa161becb8ce7378a709f5992a594764699e268
/src/analysis/calculus/inverse.lean
4ad72731d6915251cee81de88d58434d9a7221c5
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
21,690
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov. -/ import analysis.calculus.deriv import topology.local_homeomorph import topology.metric_space.contracting /-! # Inverse function theorem In this file we prove the...
62507017ac738d07d2d8ac5ca1ac471e580eeaf1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/metric_space/infsep.lean
6d0a3bd0df2882255bb0360202d49183fbd742f8
[ "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
19,276
lean
/- Copyright (c) 2022 Wrenna Robson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wrenna Robson -/ import topology.metric_space.basic /-! # Infimum separation > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathli...
c90ce1089499f4ee1d34315a742b1967e9045b01
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/topology/category/Top/open_nhds.lean
8f67975ccb451da0ee5062d11b19428f029d4ebb
[ "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
5,184
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 topology.category.Top.opens import category_theory.filtered /-! # The category of open neighborhoods of a point Given an object `X` of the category `Top` of ...
def8b649810fa6c3413825b7a11acce39b60c340
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/NormNum.lean
f986b79ef0db37acb07dfd5ee165e130f945aae4
[ "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
1,500
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.Basic import Mathport.Syntax.Translate.Tactic.Lean3 open Lean namespace Mathport.Translate.Tactic open Parser -- # t...
150145f475a80f8a18c613a2b957f29743f4b328
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Linter.lean
1bd94951cb406fc8ce00604660ac5efcc5e2496d
[ "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
117
lean
import Lean.Linter.Util import Lean.Linter.Builtin import Lean.Linter.UnusedVariables import Lean.Linter.MissingDocs
e1c772644f52a7a03c273ccc88c3274436e392f9
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/group/commute.lean
34dd712e4b7dc46133c8cf20bb4776b424bf52c1
[ "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,641
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland, Yury Kudryashov -/ import algebra.group.semiconj /-! # Commuting pairs of elements in monoids > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanpr...
f2dd016e5ba26714a2aebd53900198b4b7ee8ecc
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Declaration.lean
d01bc64e40f336ab7d09c62242057dfbc19a1d97
[ "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
14,438
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 ...)...
cdae6bad7de76be010081ae404121d13614b330c
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/interactive/info_tactic.lean
16fcb347acb33f12e554eaa4cc91285a0ffbfdd7
[ "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
225
lean
open tactic example : false := begin simp, --^ "command": "info" simp , --^ "command": "info" simp [ ], --^ "command": "info" simp [d] , --^ "command": "info" get_env --^ "command": "info" end
15fe186bf73ab126b266fd13c8fa979cc0fea266
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/binrel_binop.lean
9b5840fa6de06f8bb25b7d37ea5c011a3a1f5517
[ "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
theorem ex1 (a : Int) (b c : Nat) : a = ↑b - ↑c := sorry #check ex1 theorem ex2 (a : Int) (b c : Nat) : a = b - c := sorry #check ex2 theorem ex3 (a : Int) (b c : Nat) : a = ↑(b - c) := sorry #check ex3
a63ab0e738b9554a205b6796147c781fe907e9a2
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/topology/algebra/infinite_sum.lean
f1baeeea27b92806e9181d9a2fb5c132c11a4aa5
[ "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
57,617
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.intervals import topology.instances.real import topology.algebra.module import algebra.indicator_function import data.equiv.encodable.lat...
459adb158aa750bfa68c610848c1204e485fbc1f
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/set/finite.lean
4bf6f76b83de910a5983a3ceaea36910542ac72a
[ "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
21,864
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 Finite sets. -/ import logic.function import data.nat.basic data.fintype data.set.lattice data.set.function import algebra.big_operators open set funct...
86b0dc35c40fe2a7191cc873c3090d56cdfdd239
66a6486e19b71391cc438afee5f081a4257564ec
/property.hlean
65213a1b1694c063555d71efa58c21faf221e460
[ "Apache-2.0" ]
permissive
spiceghello/Spectral
c8ccd1e32d4b6a9132ccee20fcba44b477cd0331
20023aa3de27c22ab9f9b4a177f5a1efdec2b19f
refs/heads/master
1,611,263,374,078
1,523,349,717,000
1,523,349,717,000
92,312,239
0
0
null
1,495,642,470,000
1,495,642,470,000
null
UTF-8
Lean
false
false
11,504
hlean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import types.trunc .logic open funext eq trunc is_trunc logic definition property (X : Type) := X → Prop namespace property variable {X : Type} /- membership and su...
719ca0cc01e18491389720e75a62b7588922adf7
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/algebra/polynomial.lean
dc38be96b6d63a820bd155f4fff2b6c01dcdedf1
[ "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
2,078
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis Analytic facts about polynomials. -/ import topology.algebra.ring import data.polynomial.div import data.real.cau_seq open polynomial is_absolute_value lemma polynom...
5734582b0ca25859e8dd81149a4412acd32e8d55
6de8ea38e7f58ace8fbf74ba3ad0bf3b3d1d7ab5
/lab5/code/lambda.lean
51f2db175de598c8796a82305e0f8b0d173d0bfc
[]
no_license
KinanBab/CS591K1-Labs
72f4e2c7d230d4e4f548a343a47bf815272b1f58
d4569bf99d20c22cd56721024688cda247d1447f
refs/heads/master
1,587,016,758,873
1,558,148,366,000
1,558,148,366,000
165,329,114
5
2
null
1,550,689,848,000
1,547,252,664,000
TeX
UTF-8
Lean
false
false
3,062
lean
-- Syntax inductive term | var : string → term | abs : string → term → term | app : term → term → term -- Custom notation instance : has_coe string term := ⟨term.var⟩ notation `λ:` x `.` t := term.abs x t notation `[`t1 `](` t2 `)` := term.app t1 t2 -- string representation of terms def term.repr : term -> string...
81482743cd7a4c249f094fb6a0690e2e6210ea93
06be757c84c5c318d56b5d07f1dff4eb19b949d8
/src/Tate_ring.lean
2d83db982e693bba6df3977cbf9727b8862fabaa
[ "Apache-2.0" ]
permissive
mr-infty/perfectoid-spaces
ea3e5d161072f6de646b660cc55217838d3ceded
1a49b3897ec3c7b871d8c970926c00f727a4e2a6
refs/heads/master
1,587,252,317,856
1,547,326,614,000
1,547,326,614,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,720
lean
import tactic.linarith import analysis.topology.topological_structures import ring_theory.subring import power_bounded import Huber_ring -- Scholze : "Recall that a topological ring R is Tate if it contains an -- open and bounded subring R₀ ⊂ R and a topologically nilpotent unit ϖ ∈ R; such elements are -- called pseu...
2144f807f12d75fa7adda19e2e10104f08968ca8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Mon/limits.lean
72d374a402eaa9e4a109845ad7411789d8d3d8fa
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,589
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Mon.basic import algebra.group.pi import category_theory.limits.creates import category_theory.limits.types import group_theory.submonoid.oper...
234a10ccae9136ef915e06a32bf7b752cffcf56f
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/group/with_one.lean
df9645ea87b6db3ec596bbd1a8e5c644b9cc9bf8
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
7,986
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johan Commelin -/ import algebra.ring.basic universes u v variable {α : Type u} @[to_additive] def with_one (α) := option α namespace with_one @[to_additive] instan...
8b1a643a836078c01ec2f05affd9295f5aaab96a
e5169dbb8b1bea3ec2a32737442bc91a4a94b46a
/library/data/bool.lean
6f2b434c9d397af508b59d394376cb37e5648a15
[ "Apache-2.0" ]
permissive
pazthor/lean
733b775e3123f6bbd2c4f7ccb5b560b467b76800
c923120db54276a22a75b12c69765765608a8e76
refs/heads/master
1,610,703,744,289
1,448,419,395,000
1,448,419,703,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,511
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import logic.eq open eq eq.ops decidable namespace bool local attribute bor [reducible] local attribute band [reducible] theorem dichotomy (b : bool...
cd117f7ffaedee7c7a310109bc34198a31185123
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/set/basic.lean
354ef6371b4ac0aaf25b550171c4ccd4304d7586
[ "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
114,923
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 logic.unique import logic.relation import order.boolean_algebra /-! # Basic properties of sets Sets in Lean are homogeneous; all their eleme...
62986ad91235735c10c0d56afd40a6fc47976aaf
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Elab/Quotation/Util.lean
684a6004e1061b77e74e7325011bdb7594b01f7a
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,536
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.Elab.Term namespace Lean.Elab.Term.Quotation open Lean.Syntax register_builtin_option hygiene : Bool := { defValue := true descr := "Annota...
f88c27736d6716e0b5bcc53739319f32fb01c6fd
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/basics/unnamed_1200.lean
5e8c14cfabbe6b4fefa85c072cb88568b15f178f
[]
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
161
lean
import analysis.special_functions.exp_log open real -- BEGIN example (a b : ℝ) (h : a ≤ b) : exp a ≤ exp b := begin rw exp_le_exp, exact h end -- END
18336bff2e71e20457fda6150b4fb6f87f85d9ba
ba4794a0deca1d2aaa68914cd285d77880907b5c
/src/game/world2/level1.lean
46ce82027e74c06de9ad562f65e10b9e1a95a662
[ "Apache-2.0" ]
permissive
ChrisHughes24/natural_number_game
c7c00aa1f6a95004286fd456ed13cf6e113159ce
9d09925424da9f6275e6cfe427c8bcf12bb0944f
refs/heads/master
1,600,715,773,528
1,573,910,462,000
1,573,910,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,877
lean
import mynat.definition -- Imports the natural numbers. import mynat.add -- imports addition. namespace mynat -- hide -- World name : Addition world /- Axiom : add_zero (a : mynat) : a + 0 = a -/ /- Axiom : add_succ (a b : mynat) : a + succ(b) = succ(a + b) -/ /- Tactic : induction ## Summary if `n : mynat` is in...
20a894ae8ee4269e2846671a6130243443ea2d00
fe7174aadb02f3f5a6781c52facd5ebcbb35105c
/src/14.Inductive_Definitions/Data_Types/mynat.lean
6dfcf818bb400e04e66bf17d9dc458afc45e28b9
[]
no_license
tcmch/cs-dm-lean
1ea180c6ff15e4e9a3ea78f2608506924e34e922
16ef75c7e68077e265441acc16cf5fe643db911b
refs/heads/master
1,586,377,195,552
1,544,118,724,000
1,544,118,724,000
159,694,678
0
0
null
null
null
null
UTF-8
Lean
false
false
6,029
lean
namespace mynat /- Our own implementation of nat -/ inductive mynat : Type | zero : mynat | succ : mynat → mynat /- Convenient names for first few terms -/ def zero := mynat.zero def one := mynat.succ zero def two := mynat.succ one def three := mynat.succ (mynat.succ (mynat.succ ...
e2ca0f7a2a5fb0329fcd7aa251d6dfeeaf605d49
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/special_functions/trigonometric/basic.lean
7351f011d0b981801bb87ba134cfbef6bbb495dd
[ "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
82,255
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 analysis.special_functions.exp_deriv import data.set.intervals.infinite /-! # Trigonometric fun...
02b5e4f7a2e9d7ededd103959d7299e30c9cfcc5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/box_integral/box/basic.lean
389e578cd9708f36530190cfa37f89ae0d0da6b5
[ "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,633
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.instances.real /-! # Rectangular boxes in `ℝⁿ` In this file we define rectangular boxes in `ℝⁿ`. As usual, we represent `ℝⁿ` as the type of functi...
735b2a80ca5087a89bd5f9afb56875bf30130740
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/measure_theory/measure/hausdorff.lean
c0cf8d401d8c6614957c5a19f324a08e17aa7ecc
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
44,818
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.special_functions.pow import logic.equiv.list import measure_theory.constructions.borel_space import measure_theory.measure.lebesgue import topology...
dd8ee5fbf1a58e7d06d4630fd2850be681f39a6d
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/Problem_sheets/sheet1.lean
1bfab42ccda99cd57712c63cb17e43e86e3342f1
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,003
lean
import data.nat.gcd import data.nat.modeq import data.nat.prime import tactic.norm_num import data.nat.gcd --import data.set open classical namespace int /- Mathlib work in progress -/ theorem gcd_mul_left_mine (i j k : ℤ) : gcd (i * j) (i * k) = nat_abs i * gcd j k := begin unfold gcd, rw [nat_abs_mul, na...
6dc63576bbca4dfea5a1c1704ff7a07005af9b85
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/category_theory/functor.lean
ce088df268f0e3306266a483b8b572f06f955a1c
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
3,189
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison Defines a functor between categories. (As it is a 'bundled' object rather than the `is_functorial` typeclass parametrised by the underlyin...
d0065b9de18c294ff3e2f9651f1ed74bcb207448
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/387.lean
00e2947a05ef0dc71717cca71c08327705d0554b
[ "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
566
lean
-- axiom p {α β} : α → β → Prop axiom foo {α β} (a : α) (b : β) : p a b example : p 0 0 := by simp [foo] example (a : Nat) : p a a := by simp [foo a] example : p 0 0 := by simp [foo 0] example : p 0 0 := by simp [foo 0 0] example : p 0 0 := by simp [foo 1] -- will not simplify simp [foo 0] example : p 0 0 ∧ p 1 1...
e900649c242a2cec5fd5ce5b2920bc9038d4ca71
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebraic_geometry/Scheme.lean
e868920f05124148dc928a25fc6eb74aa4410753
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,432
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebraic_geometry.Spec import Mathlib.PostPort universes u_1 l namespace Mathlib /-! #...
2669869648c94dd21ca07c1bb93515077a924824
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/list/dedup.lean
cbd44cd603d3917fffe66dde907d41fc1108859b
[ "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
2,688
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 data.list.nodup /-! # Erasure of duplicates in a list This file proves basic results about `list.dedup` (definition in `data.list.defs`). `dedup l` returns `...
eaa9dd2e112e248feb1707013dc943324f05409d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/local_properties.lean
47bf634d18d70ceb4a4a783e03f1a73c66d5e84a
[ "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
30,333
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 ring_theory.finite_type import ring_theory.localization.at_prime import ring_theory.localization.away.basic import ring_theory.localization.integer import ring_theor...
17911f6f24e09d19d2b1b72cf31f91fd679a3bef
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/ring_theory/algebra_tower.lean
acf076296a818e40c2cd31d4289733ec99d11ba5
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,011
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.invertible import ring_theory.adjoin import linear_algebra.basis import algebra.algebra.basic /-! # Towers of algebras We set up the basic theory of algebra t...
a793c237eede106815ba332a139ef116d381f09f
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/instances/irrational.lean
357cfcadc28107f982c5de7d57ca3d42c98d7987
[ "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
3,382
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import data.real.irrational import data.rat.encodable import topology.metric_space.baire /-! # Topology of irrational numbers In this file we prove the foll...
faa7104854575f988bf639be40971a3d30eef7c4
05b503addd423dd68145d68b8cde5cd595d74365
/src/algebra/big_operators.lean
e52bb2c485866c68e9e9012eccbde365284538c7
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,594
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.defs data.finset data.nat.enat universes u v w variables {α : Type u} {β : Type v} {γ : ...
367a3f8b14a775caf01bd193cd720c9c1b5daad2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/structuralIssue2.lean
ea1a6fe2e7ebcf9bc43f79adf8e57088f9cc6a48
[ "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
704
lean
namespace List @[simp] theorem filter_nil {p : α → Bool} : filter p [] = [] := by simp! theorem cons_eq_append (a : α) (as : List α) : a :: as = [a] ++ as := rfl theorem filter_cons (a : α) (as : List α) : filter p (a :: as) = if p a then a :: filter p as else filter p as := sorry @[simp] theorem filter_appen...
4fdcdff92230dc9a66c321aa14b49549d00c8830
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/nat/basic.lean
6d28b8ace74c3d20e29f5a42ff7dec8bbe074ffc
[ "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
47,562
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro Basic operations on the natural numbers. -/ import logic.basic algebra.ordered_ring data.option.basic universes u...
d8416433bb0732c5413a3d8fcda90052e1dbf931
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/Option/Instances.lean
031bcadc707002e4d92bcc7e065ef74aa148a63f
[ "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
660
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 -/ prelude import Init.Data.Option.Basic universe u v theorem Option.eq_of_eq_some {α : Type u} : ∀ {x y : Option α}, (∀z, x = some z ↔ y = some z) → x = y ...
03c90ae2a5ba2db4ca3e663f6088a40165db65b7
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/normed_space/multilinear.lean
11b565aee98cc18b4b7342c430571e3b3dd864fc
[ "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
73,500
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...
2121184aaf1d7315cb7a0400a084b0f3259eaa61
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/witt_vector/truncated.lean
6bc9fee887a856ab4f4efe1db99720986c8b29c6
[ "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
15,692
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import ring_theory.witt_vector.init_tail /-! # Truncated Witt vectors The ring of truncated Witt vectors (of length `n`) is a quotient of the rin...