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
37ef2a94ef53bdd8819f8a4dac3d0950d8a344e5
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/data/prod.lean
4e86df46b6e18d5b0cfe022621638a5404f7a461
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
841
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad -/ prelude import init.logic universes u v instance {α : Type u} {β : Type v} [inhabited α] [inhabited β] : inhabited (prod α β) := ⟨(default α,...
4622e924dd21647488a8cf3c29883e2936c679d8
3a7eb58cccd9e625ebf79689f8f0f244a20b6158
/old/vec.lean
6137ea00b810f64f0fdb64c0c9a06e3db700ab69
[]
no_license
hermetique/lean4-raytracer
c1ea6336dbb44296af60ee8e416cc9c87d6827a9
092c9a6c4ee612786082b807491ccefaed961462
refs/heads/master
1,677,468,320,587
1,612,291,379,000
1,612,291,379,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,263
lean
import render.ArrayExtra import render.NatExtra import render.Algebra def Function.leftInverse (g : β → α) (f : α → β) : Prop := ∀ x, g (f x) = x def Function.rightInverse (g : β → α) (f : α → β) : Prop := Function.leftInverse f g structure Equiv (α : Sort u) (β : Sort v) where toFun : α → β invFun : β → α ...
95fb3121468d51925227a0f35acf2ce4fb8ad6ca
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/limits/functor_category.lean
9459ced3a5efeab4357edbcfb3658f257f1d1689
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
7,384
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 category_theory.limits.preserves.basic open category_theory category_theory.category namespace category_theory.limits universes v v₂ u -- declare the `v`'s ...
e6cad0013a059e78ebe74adb68c6a8687d1f8538
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/def6.lean
a5c030689173ee3194158a8cbc4a8d56e8c91cb9
[ "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
393
lean
inductive vec (A : Type) : nat → Type | nil {} : vec 0 | cons : Π {n}, A → vec n → vec (n+1) open vec definition h {A : Type} : ∀ {n}, vec A (n+1) → A | n (cons a v) := a definition t {A : Type} : ∀ {n}, vec A (n+1) → vec A n | n (cons a v) := v example {A n} (a : A) (v : vec A n) : h (cons a v) = a := rfl exam...
10b8dd1e0bcafb0097c3b77933bd5d1049aa10f8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/shapes/normal_mono/equalizers.lean
1c620830185d1964b1e733c92d3608bc61df2d12
[ "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
12,334
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.shapes.normal_mono.basic import category_theory.limits.shapes.finite_products /-! # Normal mono categories with finite products and kerne...
205989037e9b6399f3f2897e14c1f40fb062c366
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/measure/hausdorff.lean
10076b104abbb2d38ccb906a4669780162185c64
[ "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
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...
6d91573b6d17b3a3b4a27dd708aeee460e283a95
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/big_operators/basic.lean
a18f1b3212ae07efd4f94fa1c1fc9f547bd3b931
[ "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
66,345
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.group.pi import algebra.ring.opposite import data.equiv.mul_add import data.finset.fold import data.fintype.basic import data.set.pairwise /-! # Big ...
44b0e314fc311ddc17b7c462bbee63f7270f2e46
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/fintype.lean
1601ef59a17b0d2d81fa51b1128379cfbae1d9a4
[ "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
510
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.associated import data.fintype.basic /-! # Some facts about finite rings -/ open_locale classical lemma card_units_lt (M₀ : Type*) [monoid_with_zero...
ca819d5fd98e885f6a99f487652f2dd97396a3e2
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.21.lean
ea465bc9682951167d65d67ad7f13322fe20448d
[]
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
232
lean
/- page 21 -/ import standard import data.nat open nat definition foo := let a := nat in λ x : a, x + 2 /- definition bar := (λ a, λ x : a, x + 2) nat -/ /- (λ a, λ x : a, x + 2) bool does not make sense, for example. -/
e07add5bd9878a4b6903b982a5fb0b41c51fba47
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/meta_tac6.lean
3dbc5cfd2e3ed5ba767423945f698fd2dfebe798
[ "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
717
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: ", foreach ctx (λ e, do t ← infer_type e, ...
0f8ee9bf7c790d37586d37a253f802fc4774e26f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/succ_pred/linear_locally_finite.lean
2f0c15a1e5ba92faf45ced3e38ffa7b60844e689
[ "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
17,631
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import order.locally_finite import order.succ_pred.basic import order.hom.basic import data.countable.basic import logic.encodable.basic /-! # Linear locally finite ord...
45b8ce5e02be35bb3d55c78f059e16081735c077
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/bicategory/locally_discrete.lean
650a1097b41d554bc6f0494b4493f89c7e0530c4
[ "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
3,639
lean
/- Copyright (c) 2022 Yuma Mizuno. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuma Mizuno -/ import category_theory.discrete_category import category_theory.bicategory.functor import category_theory.bicategory.strict /-! # Locally discrete bicategories A category...
0c6fe102e7b3fcd86ca8f94df2893b9fac5f1de4
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/nat/prime.lean
da18ea171e1324c7b2e161c800498b87f2e48c9e
[ "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
18,223
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 Prime numbers. -/ import data.nat.sqrt data.nat.gcd data.list.basic data.list.perm tactic.wlog open bool subtype namespace nat...
f88a093a84d26c2e36ecbfd253db42c218a710b9
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/group_theory/sylow.lean
06135858775e86c01f75d1b94112279a217b789a
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
11,847
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 group_theory.group_action import group_theory.quotient_group import group_theory.order_of_element import data.zmod.basic import data.fintype.card import data.list....
0a802ef4bf479100f5cce51cade271dc6bfe1b04
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/playground/task_test3.lean
8eb5b23a7967c5e3a9208e60b92d77c8d4e01d79
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
437
lean
def run1 (i : Nat) (n : Nat) (xs : List Nat) : Nat := n.repeat (λ r, -- dbgTrace (">> [" ++ toString i ++ "] " ++ toString r) $ λ _, xs.foldl (+) (r+i)) 0 def main (xs : List String) : IO UInt32 := let ys := (List.replicate xs.head.toNat 1) in let ts : List (Task Nat) := (List.iota 10).map (λ i, Task.mk $ λ _, run...
1dce4d604c37a90c80c33d292d89ad8a6d4c0553
b147e1312077cdcfea8e6756207b3fa538982e12
/tactic/wlog.lean
f793f1802ca17afbc530de5f5cef37e1649eb901
[ "Apache-2.0" ]
permissive
SzJS/mathlib
07836ee708ca27cd18347e1e11ce7dd5afb3e926
23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29
refs/heads/master
1,584,980,332,064
1,532,063,841,000
1,532,063,841,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,224
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 Without loss of generality tactic. -/ import tactic.basic tactic.interactive open expr tactic lean lean.parser local postfix `?`:9001 := optional local postfix *:9001...
3a081c5e5b3e61bb7bf1c172e7a1071df30236c0
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/KeyedDeclsAttribute.lean
045333d273e709fb3611bc2362de5cea1a97bb46
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,800
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.Attributes import Lean.Compiler.InitAttr import Lean.ToExpr /-! A builder for attributes that are applied to declarations of...
687570b22155d4752e5f8f90b49011cc89786d51
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/1007.lean
2bf207bed95518be1ff49070b5c8361183936f01
[ "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
724
lean
import algebra.group open algebra definition is_homomorphism [class] {G₁ G₂ : Type} [group G₁] [group G₂] (φ : G₁ → G₂) : Prop := Π(g h : G₁), φ (g * h) = φ g * φ h -- set_option pp.all true definition apply_iso {G₁ G₂ : Type} [group G₁] [group G₂] {φ : G₁ → G₂} [H : is_homomorphism φ] (g h : G₁) : φ (g * h) = φ g ...
7060f7a8338bfe7d1ed0d48ea8cc1838748cd146
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/archive/sensitivity.lean
e8c8eacc80d4c01fab35b294464277550d2bdc6b
[ "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
16,074
lean
/- Copyright (c) 2019 Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, and Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, and Patrick Massot -/ import tactic.f...
a61e169d2ace1e5b80ca6d6700d2101e5133ab90
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/CLI.lean
2695b6a4cf4dbb89eca28a66434ae5849fb0757f
[ "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
167
lean
/- Copyright (c) 2021 Mac Malone. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mac Malone -/ import Lake.CLI.Main
ccfbae2d55c76aa954abb0e73bf7a8f376309106
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/MacroArgUtil.lean
de59e5dedf451d507d57113f7c25b2e51b5daa5c
[ "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
3,984
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Syntax namespace Lean.Elab.Command open Lean.Syntax open Lean.Parser.Term hiding macroArg open Lean.Parser.Command /-- Convert `macro` ar...
d4b32684f284d4cbabc73ea5dd53f6e3f1597945
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/data/polynomial/algebra_map.lean
bfe595e0047e3b6cb7479d9084a1fa872d6311b8
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,666
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.eval /-! # Theory of univariate polynomials We show that `polynomial A` is an R-algebra when `A`...
eb09cdcec047c155e5208e35b80bd5ae430dfc9f
4fa118f6209450d4e8d058790e2967337811b2b5
/src/for_mathlib/nnreal.lean
ccf44e0e0f4c3c430f3de6aa642d43c928a0c28d
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
1,524
lean
import data.real.nnreal import analysis.complex.exponential import valuation.linear_ordered_comm_group_with_zero namespace nnreal @[simp, move_cast] lemma coe_max (x y : nnreal) : ((max x y : nnreal) : ℝ) = max (x : ℝ) (y : ℝ) := by { delta max, split_ifs; refl } noncomputable instance : has_pow nnreal ℝ := { pow ...
671c3e3c05c25e1ac8720ba385dbd497f4d34c05
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/filter/cofinite.lean
02f6be134ff89be18304127b3c016b9ebbf90bad
[ "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
7,267
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, Jeremy Avigad, Yury Kudryashov -/ import order.filter.at_top_bot import order.filter.pi /-! # The cofinite filter In this file we define `cofinite`: the filter of se...
2744c0b99761e3a09675de3d6dd9f87aac2bc712
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/fold.lean
aef1fd6188b03ffcfffc86e87af7d09fb3c401f0
[ "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
260
lean
-- definition id {A : Type} (a : A) := a example (a b c : nat) : id a = id b → a = b := begin intro H, fold [id a, id b], assumption end example (a b c : nat) : id a = id b → a = b := begin intro H, fold (id a), fold (id b), assumption end
31eeaa32654f6586187fbf4a9b9b2a81868483dc
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/fun_info.lean
12cad9cc4f37711e4bb80dbef4413baaacdb571b
[]
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,294
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.format import Mathlib.Lean3Lib.init.function universes ...
5063f7f4c3814ff88bc51038388e7674c4deb766
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/control/traversable/instances.lean
a44694cfb0eb2930fd24b4b712ff1eb2379f8c74
[ "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,408
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Instances of `traversable` for types from the core library -/ import data.list.forall2 import data.set.lattice import control.traversable.lemmas universes u v section optio...
f891876236737512b024c8cbcf93372cb0501ee1
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/algebra/galois_connection.lean
f4628303d3e2f367ca97c7fd1727e2930895476c
[ "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
7,492
lean
/- Copyright (c) 2016 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Galois connections - order theoretic adjoints. -/ import standard open classical eq.ops algebra set function complete_lattice /- Move to set? -/ definition kern_image {...
49b802b01ef93f2bd9cf62c2d6fb1d4ba07e3942
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/category_theory/limits/over.lean
28acadd0595a2054892eebca41deceebe22e2b6b
[ "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
5,933
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 -/ import category_theory.comma import category_theory.limits.preserves universes v u -- declare the `v`'s first; see `category_theory.category` for an exp...
c310e27331ba4ad50d4f556139bd1ba814618798
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/basic_auto.lean
82906efae4cda2870dbb91855ee68350cbe3c00d
[]
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
23,612
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.defs import Mathlib.logic.funct...
196a8c429eea710647e3866aa44f89ac69123409
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/group_ring_action.lean
abf6e077b4919d2034e1ce5a0645a49064a5a8e2
[ "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,226
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import group_theory.group_action import data.equiv.ring import data.polynomial.monic /-! # Group action on rings This file defines the typeclass of monoid acting on semiring...
8db50e3bd183e1477537f217af8b6aadb24d68a6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/category/Module/limits.lean
73df71fe283c1d7f35a20b3567d5e3f0657916f9
[]
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,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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.category.Module.basic import Mathlib.algebra.category.Group.limits import Mathlib.a...
2eb8188bd54d3554cbb4082f6283110294de3e7f
1a61aba1b67cddccce19532a9596efe44be4285f
/tests/lean/bug1.lean
7bdbf13640de3b9dc715459ebf7711c8df4bbd5d
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
651
lean
prelude definition bool : Type.{1} := Type.{0} definition and (p q : bool) : bool := ∀ c : bool, (p → q → c) → c infixl `∧`:25 := and constant a : bool -- Error theorem and_intro1 (p q : bool) (H1 : p) (H2 : q) : a := fun (c : bool) (H : p -> q -> c), H H1 H2 -- Error theorem and_intro2 (p q : bool) (H...
dd04a4252edf0482b19d86714b240aba3d9e8f35
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/natural_transformation.lean
361c27af3b30933fc3f81383784c7d9da3bad73b
[ "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
4,404
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 natural transformations between functors. Introduces notations `τ.app X` for the components of natural transformations, `F ⟶ G...
2f4c2d2ee1dea7cfd1709e74dcbb9d694c8d409a
63abd62053d479eae5abf4951554e1064a4c45b4
/src/group_theory/submonoid/basic.lean
ab09cace86cd0958ee5fa02977baed6199e78802
[ "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
16,533
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import data.set.lattice /-! # Submonoids: definition and `complete_latt...
97abb0a2ce86f3cf39d5e6201a7cc30d76aa59d2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/linear_algebra/matrix/charpoly/coeff.lean
a8687eddee6174b0b4134e72bea4eb37b873562b
[ "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
10,832
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import algebra.polynomial.big_operators import data.matrix.char_p import field_theory.finite.basic import group_theory.perm.cycles import l...
1b4111d72bd9ee980ebcf82dcc33fb8a402c8d1d
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/struct2.lean
f5dba106741848afd06b99d21defbdb72a91b41d
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
244
lean
new_frontend universe u structure A (α : Type u) := (f : (β : Type u) → α → β → α) set_option pp.all true structure B (α : Type u) extends A α := (x : Nat) (f := fun β a b => a) #check B.f._default #check { x := 10 : B Nat}
0cbfde6008a2e93a6116b4e27e8a0df2fcb2f9f5
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Data/Json/Stream.lean
2c26567b6c484df39036b2dcc43f67bb68cdbb3c
[ "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
591
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga -/ import Init.System.IO import Lean.Data.Json.Parser import Lean.Data.Json.Printer import Lean.Data.Json.FromToJson namespace IO.FS.Stream open Lean open IO def readJ...
7ef8fa5237619323edb515b8f476f004124b1f51
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/computability/primrec.lean
229e9d4946e466483309eaf28799078849fdcfd7
[ "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
51,913
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.equiv.list import data.list.join import logic.function.iterate /-! # The primitive recursive functions The primitive recursive functions are the least c...
1d4d969115343725f203df9d23d43b1a75ce5922
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/set/basic.lean
18249a25b7033eda8d934baa958150c26528b137
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
98,683
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 order.boolean_algebra /-! # Basic properties of sets Sets in Lean are homogeneous; all their elements have the same type...
5525fa05ea1ce5d54c7227a92be8e84a0b4b682f
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Util/Trace.lean
3cd56affc52a6c7a1b4792115627dcd27cc0da70
[ "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
7,272
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Leonardo de Moura -/ import Lean.Exception /-! # Trace messages Trace messages explain to the user what problem Lean solved and what steps it took. Think of...
1d200dacb5c5ddb56126081953b6cfe8472b116a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/real/sqrt.lean
0aa7b8ed7c39f601b8995d24ffc02a1d110534f7
[ "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
11,404
lean
/- Copyright (c) 2020 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn, Yury Kudryashov -/ import topology.instances.nnreal import topology.algebra.ordered.monotone_continuity /-! # Square root of a real number In this f...
e1faaf8399a9e34c229a8fb058a9480f27aa4d5c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/rewrite.lean
dbee4e7b8678a5f3d078acd408993d81881a9656
[ "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,932
lean
/-! # Tests exercising basic behaviour of `rw`. See also `tests/lean/rewrite.lean`. -/ -- Rewriting by `iff` example (h : P ↔ Q) (q : Q) : P := by rw [h] exact q example (h : P ↔ Q) (q : Q) : P := by rw [← h] at q exact q def f (_ : Nat) : Nat := 0 def g (n : Nat) : Nat := f n theorem t (n : Nat) : f n = f ...
d20ba9aa036d6631473b7dadfd8c5937b9a8f27b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/tactic/reassoc_axiom.lean
ae8e077c6ef017142cec96e65d4c4d349d0004b2
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,011
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import category_theory.category /-! # Tools to reformulate category-theoretic axioms in a more associativity-friendly way ## The `reassoc` attribute The `reassoc` attrib...
be7a612175a8157c716180abbe14caac66a36a17
e21db629d2e37a833531fdcb0b37ce4d71825408
/src/parlang/lemmas_thread_state.lean
a171fb9d59ccd11f6f41dafada3bc46724f3b1a1
[]
no_license
fischerman/GPU-transformation-verifier
614a28cb4606a05a0eb27e8d4eab999f4f5ea60c
75a5016f05382738ff93ce5859c4cfa47ccb63c1
refs/heads/master
1,586,985,789,300
1,579,290,514,000
1,579,290,514,000
165,031,073
1
0
null
null
null
null
UTF-8
Lean
false
false
1,598
lean
import parlang.defs namespace parlang namespace thread_state variables {n : ℕ} {σ : Type} {ι : Type} {τ : ι → Type} [decidable_eq ι] lemma store_accesses {ts : thread_state σ τ} {i} : i ∉ accesses ts → i ∉ stores ts := begin unfold accesses, rw [set.mem_union, not_or_distrib], intros h, cases h, trivial, ...
e457c9996498aa87a4f5cf65c206b8c0f81729a7
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/topology/bases.lean
6ca09b9b86e702c62c1e64cef427e2a09965fdd3
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
12,276
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Bases of topologies. Countability axioms. -/ import topology.constructions order.filter.bases open set filter classical open_locale topological_space ...
bff05753928ea4cfd8c889fd407f2d420499e02f
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/sites/grothendieck.lean
dd615cb0ccce79e9d1ad8fba7e49f0f2b0d1620e
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
22,569
lean
/- Copyright (c) 2020 Bhavik Mehta, E. W. Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, E. W. Ayers -/ import category_theory.sites.sieves import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.multiequalizer import c...
57296d26311cacf4ed4166b933b679910d880ebb
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/hott/ind_tac1.hlean
9155edd92959dcc12ee366d091b0b91c0e510d26
[ "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
125
hlean
set_option pp.universes true check @homotopy.rec_on attribute homotopy.rec_on [recursor] print [recursor] homotopy.rec_on
62a701ee7956b2f78cb23e594168faa26451c140
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/linear_algebra/bilinear_form.lean
6728a21c00574bd7674b2981cb4bc1a53fc46ca6
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
59,982
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow, Kexing Ying -/ import linear_algebra.matrix import linear_algebra.tensor_product import linear_algebra.nonsingular_inverse /-! # Bilinear form This file defines ...
6770c0e9902051ba96097ffe63359a126463846b
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/hott/disable_instances.hlean
1f0b71cf1d02a3c19b36b777bfe6aee6344cdc38
[ "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
304
hlean
open is_equiv constants (A B : Type) (f : A → B) definition H : is_equiv f := sorry definition loop [instance] [h : is_equiv f] : is_equiv f := h example (a : A) : let H' : is_equiv f := H in @(inv f) H' (f a) = a := begin with_options [elaborator.ignore_instances true] (apply left_inv f a) end
525dd9b24c2da5fc696c868a0d1031939181a6f0
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/cubical/square.hlean
8b023ea9ed9198805cd924585cfeb1add85cbb0f
[ "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
24,193
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Squares in a type -/ import types.eq open eq equiv is_equiv namespace eq variables {A B : Type} {a a' a'' a₀₀ a₂₀ a₄₀ a₀₂ a₂₂ a₂₄ a₀₄ a₄₂ a₄₄ a₁ a₂ a₃ a₄ : A} ...
8592408c81af0610968894995cc01b7fd1475817
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/assert_tac2.lean
d0bf7256b7e43171d85176ecb9c8e3d8263fac95
[ "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
287
lean
import data.nat open nat algebra example (a b c : nat) : a = 2 → b = 3 → a + b + c = c + 5 := begin intro h1 h2, have H : a + b = 2 + b, by rewrite h1, have H : a + b = 2 + 3, by rewrite -h2; exact H, have H : a + b = 5, from H, rewrite H, state, rewrite add.comm end
93c4ce17dd7ff8abf62e8a5d7871e5e15449c55f
91b8df3b248df89472cc0b753fbe2bac750aefea
/experiments/lean/src/ddl/binder.lean
fe8f342b9032acc0c52359eb7fcec0f0814774bc
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yeslogic/fathom
eabe5c4112d3b4d5ec9096a57bb502254ddbdf15
3960a9466150d392c2cb103c5cb5fcffa0200814
refs/heads/main
1,685,349,769,736
1,675,998,621,000
1,675,998,621,000
28,993,871
214
11
Apache-2.0
1,694,044,276,000
1,420,764,938,000
Rust
UTF-8
Lean
false
false
200
lean
import ddl.host.basic import ddl.binary.basic namespace ddl open ddl inductive binder (ℓ : Type) : Type | struct : host.type ℓ → binder | lam {} : binary.kind → binder end ddl
d1f749e384ef3f01fe72d53de63638cbec2f7aab
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/G copy.lean
851eb43fca23dc2401602c4d60874becbb5a1c0e
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
7,881
lean
import groupk import category_theory.comma import category_theory.limits.limits import category_theory.limits.shapes import category_theory.yoneda open category_theory open category_theory.limits open category_theory.category universes v u open Product_stuff open lem /- The goal is define group obj in a catego...
b142ab12221a50241a8fa3d8096076477ce7a138
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/t14.lean
1a22d8132f375b985cd4b2bd29eacac77d7d00d1
[ "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
685
lean
prelude namespace foo constant A : Type.{1} constant a : A constant x : A constant c : A end foo section open foo (renaming a->b x->y) (hiding c) check b check y check c -- Error end section open foo (a x) check a check x check c -- Error end section open foo (a x) (hiding c) -- Error end ...
5b3e124ef463907602e35f44016754ff23540b0e
4fa161becb8ce7378a709f5992a594764699e268
/src/tactic/localized.lean
1371b91718fd6f2591d77e2cca2dc6fd5c3707f9
[ "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
5,601
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.core /-! # Localized notation This consists of two user-commands which allow you to declare notation and commands localized to a namespace. * Dec...
223cc269ddd2eaa881dfe9b5e26543e989d7e707
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/fourier/add_circle.lean
f96ad82907a0db7c7979b70cdefca00917ae4bc2
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
23,629
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, David Loeffler -/ import analysis.special_functions.complex.circle import topology.instances.add_circle import analysis.inner_product_space.l2_space import measure_th...
d9c39b529dfd125bef7b085b6432ac64e7a2cd0e
1abd1ed12aa68b375cdef28959f39531c6e95b84
/archive/sensitivity.lean
5e9393bd2eaa8d7949ee2712b27e8dfd169f41d2
[ "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
15,643
lean
/- Copyright (c) 2019 Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin, Jesse Han, Chris Hughes, Robert Y. Lewis, Patrick Massot -/ import tactic.fin_cases...
8707d30a4a6dfd06a52d9ae1dbad151b2ccc347d
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/monoidal/coherence_lemmas.lean
8d8ff40a19d3c88e18092827b7881e5fe31db040
[ "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
2,481
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison, Bhavik Mehta, Jakob von Raumer -/ import category_theory.monoidal.coherence /-! # Lemmas which are consequences of monoidal coherence These lemm...
237077701efd5c1f6baf04aa85317a4a5f5bcd58
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/calculus/formal_multilinear_series.lean
4c7400f75d27644ed469db21ad62b15a1138c2d5
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
12,360
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.multilinear /-! # Formal multilinear series In this file we define `formal_multilinear_series 𝕜 E F` to be a family of `n`-multi...
6c86ba8907654cac3fb6027ce339abb2059d26fe
7fffa00a5bb999b720b69874e6c324f7d8d5e838
/src/category_theory/limits/shapes/equalizers.lean
d27c4ddd18278b577631e6c0dd9299d7289acfc0
[ "Apache-2.0" ]
permissive
ocornoc/mathlib
d720550e3c28c1d4d569de196826a4bd1b292ade
43431be5ab141dcf9a6c7f446cdaf35e4b7f071a
refs/heads/master
1,615,610,363,242
1,583,921,741,000
1,583,921,741,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,070
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel -/ import data.fintype import category_theory.limits.limits import category_theory.limits.shapes.finite_limits /-! # Equalizers and coequalizers This fi...
4955b84464b050ff19f2595c06ed1562ac9a531b
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed_space/int.lean
1a7f943e95ab5a930287d5e39f5b2331a87c5bbe
[ "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,522
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import analysis.normed_space.basic /-! # The integers as normed ring This file contains basic facts about the integers as normed ring. Recall that `∥n∥` denotes th...
6bdddfbdc715b67f1a9a130eb46527f72c475c58
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/ring/prod.lean
7266878b8474d028dec4f2fcf8d42d3bdcee26fe
[ "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
5,998
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Chris Hughes, Mario Carneiro, Yury Kudryashov -/ import algebra.group.prod import algebra.ring.basic import data.equiv.ring /-! # Semiring, ring etc structures on `R ...
0534a807e434412301e4eea924181b35352adb09
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/Tactic/Basic.lean
57e1f046c58789bd71856e4f6d34b66801458098
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
14,699
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.CollectMVars import Lean.Parser.Command import Lean.Meta.PPGoal import Lean.Meta.Tactic.Assumption import Lean.Meta.Tact...
3d8333bddaa65fdef7359c0a041f96d8bea11978
61c3861020ef87c6c325fc3c3dcbabf5d6b07985
/types/pullback.lean
e98cebed591516c0d102471265cbeb1d9891a836
[ "Apache-2.0" ]
permissive
jonas-frey/hott3
a623be2959e8a713c03fa1b0f34bf76a561dfa87
a944051b4eb5919bdc70978ee15fcbb48a824811
refs/heads/master
1,628,408,720,559
1,510,267,042,000
1,510,267,042,000
106,760,764
0
0
null
1,507,856,238,000
1,507,856,238,000
null
UTF-8
Lean
false
false
6,279
lean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Theorems about pullbacks -/ import cubical.square universes u v w hott_theory namespace hott open eq equiv is_equiv function prod unit is_trunc sigma variables ...
acb7411db51740db95b6f693d484d776062ef131
398b53a5e02ce35196531591f84bb2f6b034ce5a
/tpil/chapter2.lean
2aed09a8a8ae0416371771461a3ee863d9e08f2c
[ "MIT" ]
permissive
crockeo/math-exercises
64f07a9371a72895bbd97f49a854dcb6821b18ab
cf9150ef9e025f1b7929ba070a783e7a71f24f31
refs/heads/master
1,607,910,221,030
1,581,231,762,000
1,581,231,762,000
234,595,189
0
0
null
null
null
null
UTF-8
Lean
false
false
2,365
lean
universe u variables (α β γ : Type u) -- Exercise 1 -- -- Define the function do_twice, as described in Section 2.4. def do_twice : (α → α) → α → α := λ f : (α → α), λ x : α, f (f x) -- Exericse 2 -- -- Define the functions curry and uncurry, as described in Section 2.4. def curry (f : α × β → γ) : α → β → γ := λ...
4b93ae2c7616b50ed0924bcf192163b977191b51
7490bf5d40d31857a58062614642bb5a41c36154
/dm_prod.lean
e1d4dd3219e2007795304251e346db9e4fe62a29
[]
no_license
reesegrayallen/Lean-Discrete-Mathematics
9f1d6fe1c814cc9264ce868a67adcf5a82566e22
00c875284613ea12e0a729f519738aab8599456b
refs/heads/main
1,674,181,372,629
1,606,801,004,000
1,606,801,004,000
317,387,970
0
0
null
null
null
null
UTF-8
Lean
false
false
2,100
lean
/- HOMEWORK 3 Reese Allen (rga2uz) CS2102 - Sullivan -/ -- defining polymorphic ordered pair abstract data type inductive dm_prod (α β : Type ): Type | mk : α → β → dm_prod -- function defintions using lambda expressions, c-style (') and by cases ('') /- FST -/ def fst {α β : Type } : (dm_prod α β) → α := λ...
f67a97798a1f2406190d0341ace6c832de011b9a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/core.lean
6d85cf7de6b787dcc174c979f939b4231524e865
[ "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
93,251
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic import logic.function.basic import control.basic import meta.expr import meta.rb_map import data.boo...
c8f76260d71cb41c51a330b32c7f44e2e2da25a8
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Data/Lsp/Basic.lean
2a704ee99d0bc5b9590d4c734f0b0f32a79ac69a
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,939
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Lean.Data.Json /-! Defines most of the 'Basic Structures' in the LSP specification (https://microsoft.github.io/language-server-protocol/spe...
0ce81d926d691efee77fa1a6af307d007138590a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/sheaves/sheaf_condition/pairwise_intersections.lean
93c0cf1430110f79d1976cc12fdd4b07d4aaeccd
[ "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
17,055
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 topology.sheaves.sheaf_condition.opens_le_cover import category_theory.limits.final import category_theory.limits.preserves.basic import category_theory.categ...
4c9867d6233c5f1b6c2e1c1a3fcde95072c004ed
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/single_obj.lean
fc8422acb0c9975e11eb886137a811b641fc40b7
[ "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
5,557
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.endomorphism import category_theory.category.Cat import algebra.category.Mon.basic /-! # Single-object category Single object category with...
936eda2d24845c2613f136eb9040fef3bec8d25a
3994e03e14a3cbe3858c1098d0ab9ed1113d6666
/06-formalizacija-dokazov/vaje_delno_resene.lean
30c02001f599a632d85a20259f7fb7c4bbb09068
[]
no_license
tadejpetric/tpj-coq
15f2548ba8f012d9a5b5e0bfb78ab0860d048e96
dda9fb2e635f9a1302739e34d8692a4252066b76
refs/heads/master
1,629,182,614,649
1,600,449,570,000
1,600,449,570,000
222,798,649
1
0
null
null
null
null
UTF-8
Lean
false
false
2,388
lean
namespace hidden universe u ------------------------------------------------------------------------------- inductive list (A:Type) : Type | Nil {} : list -- Brez {} moramo konstruktorju Nil vedno podati tip A | Cons : A -> list -> list -- Cons tip A ugotovi iz tipa prvega elementa namespace list -- Dopolnite definic...
4cf141b380787996873a2ef0922eb233043749cb
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/data/list/lattice.lean
d513e73ceaa7b5896f5ca0c1fc78daf12afa4547
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,445
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro, Scott Morrison -/ import data.list.basic /-! # Lattice structure of lists This files prove bas...
5d7306bf030352a388ba83417772cf28bde7d9c8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/archive/imo/imo1969_q1.lean
29cb566a0fa8220fb0fd7b19d63983a691c57a1c
[ "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
2,965
lean
/- Copyright (c) 2020 Kevin Lacker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker -/ import algebra.group_power.identities import data.int.nat_prime import tactic.linarith import tactic.norm_cast import data.set.finite /-! # IMO 1969 Q1 Prove that there ...
e7b16255ca629ad3cf846cbde5b4464d76f9e4af
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/fderiv/prod.lean
d91f9ef1f8181b61b052eaf33fd2e4815c2a02c4
[ "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
15,731
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.fderiv.linear import analysis.calculus.fderiv.comp /-! # Derivative of the cartesian product of functions ...
ae055282a625127cf90f0be73fd24e8f1d107690
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/linear_algebra/multilinear.lean
47f1012ce1ee5e201f9653339d0d51dd34b9cf1d
[ "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
43,707
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 linear_algebra.basic import algebra.algebra.basic import tactic.omega import data.fintype.sort /-! # Multilinear maps We define multilinear maps as map...
4fbc43a7f3ac0155075663958b3fd40e577c5136
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/model_theory/order.lean
640ce8e9546ed9fadf58fbfdcf9004bd9b1038fd
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
9,147
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.semantics /-! # Ordered First-Ordered Structures This file defines ordered first-order languages and structures, as well as their theories. ## M...
c9b02999064645a98f1b9ff200c115b1a36ea3cb
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/linear_algebra/basic.lean
7cb2828ffe66a5ab162a0e7030fc9b6f6f4c7514
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
37,201
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear algebra -- classical This file is inspired by Isabelle/HOL's linear algebra, and hence indirectly by HOL Light. We define the following concepts: * `lc α β`: l...
ad10a95d3b34bbea28ee77202355d9b64b5b8834
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/congr_lemma.lean
ddbf1e680e3761dbf00b6f191d5ec18626a25f45
[]
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,860
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.format import Mathlib.Lean3Lib.init.function universes ...
00ddca1d7d68043d52da82d4a08a54f5367c0908
1437b3495ef9020d5413178aa33c0a625f15f15f
/data/set/basic.lean
fd7ad61133a3770973d95399922ce75ed52c019c
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
45,125
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Leonardo de Moura -/ import tactic.ext tactic.finish data.subtype tactic.interactive open function /- set coercion to a type -/ namespace set instance {α : Type*} : has_...
4c39a9b866323f04b6daeeec37a8214f9c6c3536
13133fade54057ee588bc056e4eaa14a24773d23
/Proofs/simple_summation.lean
3ef7360379e2f84665638362ddc3116bf7eca22f
[]
no_license
lkloh/lean-project-15815
444cbdca1d1a2dfa258c76c41a6ff846392e13d1
2cb657c0e41baa318193f7dce85974ff37d80883
refs/heads/master
1,611,402,038,933
1,432,020,760,000
1,432,020,760,000
33,372,120
0
0
null
1,431,932,928,000
1,428,078,840,000
Lean
UTF-8
Lean
false
false
600
lean
import data.nat open nat definition summ : nat → nat | summ 0 := 0 | summ(n+1) := summ(n) + (n+1) eval summ 3 theorem two : 1+1 = 2 := rfl theorem summ_form : ∀ n, 2 * summ n = n*(n+1) | summ_form 0 := calc 2 * 0 = 0 : mul_zero ... = 0 * (0 + 1) : zero_mul | summ_form (n+1) := calc 2*summ ...
a0913a21140a09ed82c9a0e8b7636e0c6b782bc6
618003631150032a5676f229d13a079ac875ff77
/src/tactic/lint/default.lean
784596dfb21c65733b85e7e86f5654b0875a509b
[ "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
4,053
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint.frontend import tactic.lint.simp import tactic.lint.type_classes import tactic.lint.misc open tactic add_tact...
8f246283d9dd82b71363c1c30c2cb37d11f72f45
4c630d016e43ace8c5f476a5070a471130c8a411
/linear_algebra/tensor_product.lean
2b4c86e3914113ab3e5ee44c8511eb02bbd0ab52
[ "Apache-2.0" ]
permissive
ngamt/mathlib
9a510c391694dc43eec969914e2a0e20b272d172
58909bd424209739a2214961eefaa012fb8a18d2
refs/heads/master
1,585,942,993,674
1,540,739,585,000
1,540,916,815,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,727
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Tensor product of modules over commutative rings. -/ import group_theory.free_abelian_group import linear_algebra.linear_map_module variables {R : Type*} [comm_ring R] variabl...
1632a49bd5467e7b3327ab773d7140cb9773413a
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/lint/type_classes.lean
2f16a0e1856d51e0e44f84cd43adb55c1d2034ad
[ "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
17,150
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint.basic /-! # Linters about type classes This file defines several linters checking the correct usage of type c...
1c0c79837dd1d1950a01a1a48beca4e1053c93b4
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/adjunction/default.lean
d314185bc87f61dad0e3e9c96733793c0c7a1bff
[ "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
130
lean
import category_theory.adjunction.limits import category_theory.adjunction.opposites import category_theory.adjunction.reflective
c4111424b139cd3c588405bb1cee3a2eb2601f74
7cdf3413c097e5d36492d12cdd07030eb991d394
/world_experiments/world7/level10andtwothirds.lean
fda5530ab61a18a490a7ffdd6371003abea49e3b
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
1,770
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level10andathird -- hide namespace mynat -- hide /- # World 2 -- Addition World ## Level 9 -- `add_left_cancel` The theorem `add_left_cancel` is the theorem that you can cancel on the left when you're doing addition -- if `a + b = a + c` th...
d73d5fddb016c69a3414732d900a67954ce235bb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/instance1.lean
9db054baa8fdbd04b011683dc85ed14050138d49
[ "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
264
lean
def Mine := Id class MyMonad (m) extends Monad m where bind_eq_bind : @bind = @bind := by trivial instance : MyMonad Mine where -- should show me all the fields I need to fill in -- excluding default and auto-param fields -- i.e., only `pure` and `bind`
0f55b1c7c63f69ced9aab651c689c539e2c8777d
47181b4ef986292573c77e09fcb116584d37ea8a
/src/for_mathlib/rat.lean
c5855ea5f883626cf08c63532bfa93afbd1104fb
[ "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
1,896
lean
import data.rat.basic import data.real.basic import algebra.group_with_zero.basic import algebra.group.hom import for_mathlib.hom -- From Alex J. Best (?) lemma rat_mk_eq_div (x_num : ℤ) (x_denom : ℕ) (x_pos : 0 < x_denom) (x_cop : nat.coprime (int.nat_abs x_num) x_denom) : ({num := x_num, denom := x_denom, pos := x_...
8591bc31b133613830ff41a3167b3dda2d0c1683
dce2ec26258c35f21c8a5318a7a2ed297ddba7c6
/src/ncategory_theory/CatGroups.lean
9502161941b0d1ecd262954c5ef58c866fbff849
[]
no_license
nedsu/lean-category-theory-pr
c151c4f95d58a2d3b33e8f38ff7734d85d82e5ee
8d72f4645d83c72d15afaee7a2df781b952417e9
refs/heads/master
1,625,444,569,743
1,597,056,476,000
1,597,056,476,000
145,738,350
0
0
null
1,534,957,201,000
1,534,957,201,000
null
UTF-8
Lean
false
false
2,813
lean
import category_theory.isomorphism import ncategory_theory.Ndefs import algebra.group open category_theory open category_theory.isomorphism universes u v namespace category_theory.CatGroup variables (C : Type u) definition D := unit class CatGroupoid (C : Type u) extends category.{v} C := (hominverse : Π {X Y : ...
d91377c03d78b0cb559e7f2887a5e6b7d8a7485e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/listex3.lean
ae31b5ae672963d4fc6bc954652ad9b78dd7f878
[ "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
1,363
lean
universe variable u constant in_tail {α : Type u} {a : α} (b : α) {l : list α} : a ∈ l → a ∈ b::l constant in_head {α : Type u} (a : α) (l : list α) : a ∈ a::l constant in_left {α : Type u} {a : α} {l : list α} (r : list α) : a ∈ l → a ∈ l ++ r constant in_right {α : Type u} {a : α} (l : l...
b04b42f4fd13829e068605d464795cb670cb2408
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/char_p/mixed_char_zero.lean
eb084b3e92e8578c9e49102433d355917e603ca6
[ "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
14,841
lean
/- Copyright (c) 2022 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Eugster -/ import algebra.char_p.algebra import algebra.char_p.local_ring import ring_theory.ideal.quotient import tactic.field_simp /-! # Equal and mixed characteristic In commutat...
6048afad3f83023b5a6cb2a904b8217da5456b3d
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Init/Data/OfScientific.lean
a354aea0a85004b0ca501d45957fb93cf91f9ae8
[ "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
815
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 -/ prelude import Init.Meta import Init.Data.Float import Init.Data.Nat /- For decimal and scientific numbers (e.g., `1.23`, `3.12e10`). Examples: - `Of...
7c0cce5805e09fd38b0ed24c9259f86b954d420e
e514e8b939af519a1d5e9b30a850769d058df4e9
/src/tactic/rewrite_search/core/common.lean
58eec8247054eb7abb5d10b1df11cedb9e5d6806
[]
no_license
semorrison/lean-rewrite-search
dca317c5a52e170fb6ffc87c5ab767afb5e3e51a
e804b8f2753366b8957be839908230ee73f9e89f
refs/heads/master
1,624,051,754,485
1,614,160,817,000
1,614,160,817,000
162,660,605
0
1
null
null
null
null
UTF-8
Lean
false
false
1,685
lean
import lib.tactic import tactic.rewrite_all import .data universe u meta inductive how | rewrite (rule_index : ℕ) (location : ℕ) (addr : option (list side)) | defeq | simp -- TODO handle "explaining" me meta def how.to_string : how → format | (how.rewrite idx loc addr) := format!"rewrite {idx} {loc} {addr.iget.to_s...
03debbba92a4541598f457d3501e7757c676a405
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/finset/sort.lean
613496fa940ec7f91091f194b9cb6186791637cd
[ "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
9,932
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.fintype.basic import data.multiset.sort import data.list.nodup_equiv_fin /-! # Construct a sorted list from a finset. -/ namespace finset open multiset...
fee6a12e3ea377a94dce12b13c77212dc8fcf407
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Init/Data/Nat/Div.lean
a0e6492c0c740d1afc213cee8f8c83133a82c9b3
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
4,857
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.WF import Init.Data.Nat.Basic namespace Nat private def div_rec_lemma {x y : Nat} : 0 < y ∧ y ≤ x → x - y < x := fun ⟨ypos, ylex⟩ => ...
2ef44c6c342a57a53a8be891bc3f84ea06dd0c94
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/bornology/constructions.lean
f0eb1fc12d2362ccff0b05012de8369118507ad1
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
6,134
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.bornology.basic /-! # Bornology structure on products and subtypes In this file we define `bornology` and `bounded_space` instances on `α × ...
645b125a58ae274ef62fa74681b03e6bf27924bb
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/convex/specific_functions.lean
93ff0be4c3c8e9f241659fbdfbfb3608fa1485f1
[ "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,282
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel -/ import analysis.calculus.mean_value import analysis.special_functions.pow /-! # Collection of convex functions In this file we prove that the f...
5a931e33850a96f3ce94cbb65a1f340a53343652
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/well_founded_tactics.lean
81e772a0b5f26e9a1b8e8eef8c1b1a8a720dee84
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
7,505
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.meta init.data.sigma.lex init.data.nat.lemmas init.data.list.instances import init.data.list.qsort /- TODO(Leo): move this lemma, or de...
2b8cc102cca873694e421dd24c8fe27cc9bc786b
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/num.lean
df84b567bda7495400ed2587dcb31f91c473e7a9
[ "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
53
lean
import logic check 14 check 0 check 3 check 2 check 4
7d57ebcb96403d79b46e6c00b67665159499bc9f
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/set_theory/ordinal.lean
7721a6bac0f59ef38d8367832ca23b9c8f1c510d
[ "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
138,195
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Ordinal arithmetic. Ordinals are defined as equivalences of well-ordered sets by order isomorphism. -/ import order.order_iso set_theory.cardinal data.sum noncomputable...