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
8e0e80da113a29000fe31ef6acb0213be6f49188
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/hit/pushout.hlean
1f0ffeaaefdc786b79e5ccd8be680dbd6d7a21c0
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,189
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: hit.pushout Authors: Floris van Doorn Declaration of the pushout -/ import .type_quotient open type_quotient eq sum equiv namespace pushout section parameters {TL BL TR : Type} ...
90ea4b3eb088bc18b7f8b91d032966a35c3cd03b
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/structure_with_index_error.lean
c913ef4a2e4912e80056e84808792a4d491f39a9
[ "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
46
lean
structure foo : true → Type := (bar : true)
40c551a5d19140390ae9fc11b0e791969e0b2c29
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/rewriter1.lean
92c368b7bcfb07a29ed0fe2f11f09306b5cd9fc3
[ "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
207
lean
import data.nat open algebra theorem test {A : Type} [s : comm_ring A] (a b c : A) : a + b + c = a + c + b := begin rewrite [add.assoc, {b + _}add.comm, -add.assoc] end reveal test print definition test
c90f7932bf30edd80c283f24731bd3e71c030bd5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/qpf/multivariate/constructions/cofix_auto.lean
8516a731015d90e1d5ca2809f72f059b1fa86ac8
[]
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
14,559
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.control.functor.multivariate import Mathlib.data.pfunctor.multivariate.basic impo...
364bb1dd089f1a0edec46d65126aafb937a19739
78630e908e9624a892e24ebdd21260720d29cf55
/src/logic_propositional/prop_13.lean
7ca53b72b5a513cb231daecb9be2e2ccd69c022c
[ "CC0-1.0" ]
permissive
tomasz-lisowski/lean-logic-examples
84e612466776be0a16c23a0439ff8ef6114ddbe1
2b2ccd467b49c3989bf6c92ec0358a8d6ee68c5d
refs/heads/master
1,683,334,199,431
1,621,938,305,000
1,621,938,305,000
365,041,573
1
0
null
null
null
null
UTF-8
Lean
false
false
291
lean
namespace prop_13 variables A B C : Prop theorem prop_13 : (A → (B → C)) → ((A ∧ B) → C) := assume h1: A → (B → C), assume h2: A ∧ B, have h3: A, from and.left h2, have h4: B, from and.right h2, have h5: B → C, from h1 h3, show C, from h5 h4 -- end namespace end prop_13
2d54f4dc7c369e40fce870935d5ee469347eda6a
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/data/nat/basic.lean
9e468e48ce120d86f347a7bad5d2dd124cd59546
[ "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
5,949
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura -/ prelude import init.logic notation `ℕ` := nat namespace nat inductive less_than_or_equal (a : ℕ) : ℕ → Prop | refl : less_than_or_equal...
8db65b346e6e3b70accec2762080d26d2c45992d
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/compiler/reusebug.lean
1d02a11a5e410c729ad0491aa9cc5b6d9a4ce53f
[ "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
723
lean
inductive Expr | Val : Int → Expr | Var : String → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr open Expr def Expr.toString : Expr → String | Val n => toString n | Var x => x | Add f g => "(" ++ Expr.toString f ++ " + " ++ Expr.toString g ++ ")" | Mul f g => "(" ++ Expr.toString f ++ " * " ++ Ex...
365508a8ffaa5b1065174c45d88c4a9b94884f11
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/int/cast.lean
3a1e6bf73cd109a48e325f9efb33d28d7eb1a7ee
[ "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
8,288
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...
b7bdffae0fee16600f8f7e31054986cfd1c75ef5
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/sigma/basic.lean
a0c0ac84784fcb6727117d4e5dcb82a5702e8606
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
4,362
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 -/ import tactic.lint tactic.ext section sigma variables {α : Type*} {β : α → Type*} instance [inhabited α] [inhabited (β (default α))] : inhabited (sigma β) := ⟨⟨defau...
8d48fd2ae7d5bca51f2410444057c03fbc3c7d22
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/group_theory/schur_zassenhaus.lean
d413d38de92089a2128a593a7118e2c8dc251b64
[ "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
8,784
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.complement import group_theory.index /-! # Complements In this file we prove the Schur-Zassenhaus theorem for abelian normal subgroups. ## M...
4235608b6bad210fd7e5275c7f3264b7fdcfaac6
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/rat/order.lean
d5632a36d9b06c867fb248f807b081bae89f3be6
[ "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
16,077
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Adds the ordering, and instantiates the rationals as an ordered field. -/ import data.int algebra.ordered_field algebra.group_power data.rat.basic open quot eq.ops /- the...
1bc8dbf8ba9b23e6b74b71150d0c25db2686e38d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/special_functions/bernstein.lean
05a68df3c1748133b9047e0711f1bb7933b383e9
[ "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
12,975
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import ring_theory.polynomial.bernstein import topology.continuous_function.polynomial import algebra.floor import analysis.specific_limits /-! # Bernstein approxima...
6f2772640b70097fdb21f0ac02779ffa40a34450
11e28114d9553ecd984ac4819661ffce3068bafe
/src/writer_t.lean
09f343717686a0859bdb1d9eb6633c30d66948da
[ "MIT" ]
permissive
EdAyers/lean-subtask
9a26eb81f0c8576effed4ca94342ae1281445c59
04ac5a6c3bc3bfd190af4d6dcce444ddc8914e4b
refs/heads/master
1,586,516,665,621
1,558,701,948,000
1,558,701,948,000
160,983,035
4
1
null
null
null
null
UTF-8
Lean
false
false
1,023
lean
/- Author: E.W.Ayers © 2019 -/ universes u v /-- Writer monad transformer. -/ structure writer_t (σ : Type u) (m : Type u → Type v) (α : Type u) : Type (max u v) := (run : m (α × σ)) attribute [pp_using_anonymous_constructor] writer_t namespace writer_t variables {σ : Type u} [monoid σ] {m : Type u → Type v} [m...
92404f041ee4849a1b5893cee500c251d6f49e7c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/power_basis.lean
25a6dd9ded971bfb57a4aae66e83295d13737ee4
[ "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,765
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import field_theory.minpoly /-! # Power basis This file defines a structure `power_basis R S`, giving a basis of the `R`-algebra `S` as a finite list of powers `1, x, ......
4600d67d916a40ffe9474f5ac465e85fa8f31385
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/basic.lean
2b92e0d84f60acd0abe5dc1c14c944df2b48e39d
[]
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
159,328
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, Kevin Buzzard, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.big_operators.pi import Mathlib.alg...
7e00322ac966af3c77a702d3428561b41080749d
164ee58ef27471e4a1abc106f8bd9d0a7a5eca18
/src/metric_stuff.lean
4e942a3d9487711674128a7344b55eb53d6e7ae8
[]
no_license
carlosa95silva/project
3d591a3326c9209042e7b0699cdb31f1a79f96fb
90fe846b85d46f56160a9ec14c8db5d1f5fc36ee
refs/heads/main
1,690,681,353,273
1,631,390,926,000
1,631,390,926,000
405,466,514
0
0
null
null
null
null
UTF-8
Lean
false
false
3,692
lean
import topology.metric_space.basic noncomputable theory open topological_space filter universe u -- the universe we work in variable {X : Type u} -- the underlying set for our space /-- input a pseudo_metric_space and a set. Returns a collection of open sets centered on that set. -/ def base_of_metric_a...
34cb932a26a0fead00e1dc7b1f49c088fa609313
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/group_theory/complement.lean
dfd6a6208a15428b775b9c6cf0e759add9886225
[ "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
9,534
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.group_action import group_theory.order_of_element import group_theory.quotient_group /-! # Complements In this file we define the complement ...
7dbd1bf13cde805ccb891638683373ff07c7de5a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/cache.lean
36592828335f52965457a4e250f517397a7196d8
[ "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,340
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 tactic.doc_commands /-! # Instance cache tactics For performance reasons, Lean does not automatically update its database of class instances during a proof. T...
b919f1fe91e4f2290840d0d10bc96fd0841444a7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/cyclotomic/basic.lean
cc16b9b61dbfc5d73c87f5118ca27cf551671f63
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
32,102
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import ring_theory.polynomial.cyclotomic.roots import number_theory.number_field.basic import field_theory.galois /-! # Cyclotomic extensions > THIS FILE IS SYNCH...
ea1826f3133a6e530c793c4be5da25703d7bd62c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/synthPendingBug.lean
17c9dd730eed6dcb14aa857dac595114d5d6f8fb
[ "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
431
lean
inductive Nested | nest (a : Array Nested) : Nested class OfUnit (α : Type) where ofUnit : Unit → Except String α instance myArrayInst [OfUnit α] : OfUnit (Array α) where ofUnit _ := Except.error "" open OfUnit partial def ofUnitNested (_ : Unit) : Except String Nested := do let localinst : OfUnit Nested := ⟨o...
acef516256c09988221468bdd2d6f9752fa402eb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/matchOrIssue.lean
fd39f7cdf05b2d8396c58c89a10ff393b489ab41
[ "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
411
lean
inductive A : Type | ctor : A → A | inh -- set_option trace.Elab true in def f : A → A → Bool | banana, a b | _, lol how => 1 + "test" + f1 -- Error | _, _ => false def g : A → A → Bool | A.inh, _ | _, A.inh => true | _, _ => false example : g .inh (.ctor a) = true := rfl example : g .inh .inh = true := rfl example...
54207b9071b19ec63a0376f9d5238fae9b0c1a9b
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/algebra/basic.lean
db3f2d6398c888eca6962064ffb47bb902e0c9f1
[ "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
48,869
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import tactic.nth_rewrite import data.matrix.basic import linear_algebra.tensor_product import ring_theory.subring import deprecated.subring /-! # Algebra ove...
887064602da292579597cc7578d4cf8d6c900e0f
6e41ee3ac9b96e8980a16295cc21f131e731884f
/hott/algebra/precategory/morphism.hlean
3e21c1074158b2c35ef6132d10dfa0f348db9615
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,375
hlean
-- 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, Jakob von Raumer import .basic open eq precategory sigma sigma.ops equiv is_equiv function truncation namespace morphism variables {ob : Type} [C : preca...
00b22c5009e87e2d0d8e5c3c48b6baac66835921
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/myint/induction.lean
4b2f5a31cd2487b223e6034c5dfe27de4c5c4914
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
1,526
lean
import .le namespace hidden namespace myint open myring open ordered_myring theorem intduction (p : myint → Prop) : p 0 → (∀ {n}, p n → p (n + 1)) → (∀ {n}, p n → p (n - 1)) → ∀ n, p n := begin assume h0 hnext hprev, intro n, cases le_total_order (0: myint) n with h0n hn0, { rw le_iff_exists_nat at h0n, ...
79da2ac0fe2ed1d7d1c11e90993fc0fe6dafc96e
1437b3495ef9020d5413178aa33c0a625f15f15f
/order/conditionally_complete_lattice.lean
d2d2200f679574e08b09c1092034a2110d1d542d
[ "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
32,536
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel Adapted from the corresponding theory for complete lattices. Theory of conditionally complete lattices. A conditionally complete lattice is a lattice in which ev...
51212619b4770b106413ba56bb55caa7434bdad4
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/group_power/lemmas.lean
142103b04c506b52f5a1c46fb58d9596382cdbc3
[ "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
33,717
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.invertible import algebra.group_power.ring import data.int.cast /-! # Lemmas about power operations on monoids and groups This file co...
c336806de41738b0a1c0396e40cda31d03ac6774
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/crash.lean
1130a7fe72feb10aac4e2e95b32ddaabe124fbc6
[ "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
155
lean
import logic section hypothesis P : Prop. definition crash := assume H : P, have H' : ¬ P, from H, _. end
32bd2e0b81b1600aa92115f2c1dd0f7677e1bdaf
fe208a542cea7b2d6d7ff79f94d535f6d11d814a
/src/Dedekind_cuts/Alexandru.lean
f8f607e10bf5ee75a6292e271b6d769babc02f04
[]
no_license
ImperialCollegeLondon/M1F_room_342_questions
c4b98b14113fe900a7f388762269305faff73e63
63de9a6ab9c27a433039dd5530bc9b10b1d227f7
refs/heads/master
1,585,807,312,561
1,545,232,972,000
1,545,232,972,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,047
lean
import data.rat import data.set.basic import order.bounds open classical /-import order.bounds import data.rat class linear_order (α : Type) is a structure (in fact a class) which looks like this: There's a function le : α → α → Prop with notation ≤ ( type with \le ) There is also lt : α → α → Prop with notation ...
34013e1f2db28ebff5df4f9f2518dfd0e812051d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/refine_struct.lean
579dc3b122055dcdf8f208f4b57147bec856e12d
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,250
lean
import tactic.interactive import algebra.group.basic /-! `refine_struct` caused a variety of interesting problems, which were identified in https://github.com/leanprover-community/mathlib/pull/2251 and https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/Need.20help.20with.20class.20instance.20resoluti...
7a4626d9dab787b6335848cc79e4908ebfd3ffd6
5ca7b1b12d14c4742e29366312ba2c2ef8201b21
/src/game/world6/level3.lean
9cb6315d26c248ef42ebef0c0e01ff501ae3cb48
[ "Apache-2.0" ]
permissive
MatthiasHu/natural_number_game
2e464482ef3001863430b0336133b6697b275ba3
2d764f72669ae30861f6a1057fce0257f3e466c4
refs/heads/master
1,609,719,110,419
1,576,345,737,000
1,576,345,737,000
240,296,314
0
0
Apache-2.0
1,581,608,357,000
1,581,608,356,000
null
UTF-8
Lean
false
false
2,404
lean
/- # Proposition world. ## Level 3: `have`. Say you have a whole bunch of propositions and implications between them, and your goal is to build a certain proof of a certain proposition. If it helps, you can build intermediate proofs of other propositions along the way, using the `have` command. `have q : Q := ...` i...
a267b84c2d71c2d77c93569ddee5f3884e600187
ba4b63fe3410ccb8e043a57aa024ac63bf06961c
/src/groups.lean
5a905c2318db1ca718593a9ad424e6d8e991f2cd
[]
no_license
digama0/lean-scratchpad
f30cd665037c226b63ef9933c8fa83e8770f7909
fe7d6261d60769328e091a37dff7d456c57366b7
refs/heads/master
1,583,695,343,314
1,522,993,425,000
1,522,993,425,000
128,350,243
0
0
null
1,522,993,456,000
1,522,993,456,000
null
UTF-8
Lean
false
false
4,994
lean
import data.set.basic import data.list import algebra.group_power open set open function local infix ` ^ ` := gpow variables {α : Type} [group α] def is_generating (S: set α) : Prop := ∀ g : α, ∃ l : list α, g = list.prod l ∧ ∀ x ∈ l, x ∈ S ∨ x⁻¹ ∈ S /-lemma group_generates_itself : is_generating (@univ α) | g :=...
ab19f1ee1d9492dfa409583ac59aa3346c485c3c
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/meta_tac4.lean
c4aa19e37bb9c08f8b99b52ac13344b12d3aa5c8
[ "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
674
lean
open tactic name list definition foo (a : nat) := a + 1 > 0 attribute [reducible] definition boo (a : nat) := a + 1 > 0 example : ∀ (a b : nat), foo a → boo a → a + 1 > 0 → foo a := by do intro_lst [`_, `_, `H1, `H2, `H3], trace_state, h1 ← get_local_type `H1, h2 ← get_local_type `H2, h3 ← get_loc...
13b45e57b39562785734b79007173c0b5d3509e4
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/data/nat/gcd.lean
bc13560de2dd2b7df1e437379d3bd28d0ef5fb6c
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,678
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 Definitions and properties of gcd, lcm, and coprime. -/ import data.nat.basic open well_founded decidable prod namespace nat /- gcd -/ theorem gcd_...
3660f81adca5a8b6d21d3fa1cc398f46177359cb
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/metric_space/baire.lean
32c0dee49c01c7cb4236aad321d637b16b9538d1
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
15,211
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 topology.metric_space.basic analysis.specific_limits /-! # Baire theorem In a complete metric space, a countable intersection of dense open subsets is...
89fd683409451933adfefdb519ae6773a6df74e7
ac1c2a2f522b0fdf854095ba00f882ca849669e7
/library/init/meta/simp_tactic.lean
cfc74c5233483a6179ec3cdd0c003e9d6992582f
[ "Apache-2.0" ]
permissive
abliss/lean
b8b336abc8d50dbb0726dcff9dd16793c23bfbe1
fb24cc99573c153f97a1951ee94bbbdda300b6be
refs/heads/master
1,611,536,584,520
1,497,811,981,000
1,497,811,981,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,564
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.meta.attribute init.meta.constructor_tactic import init.meta.relation_tactics init.meta.occurrences import init.data.op...
59d3cc9d9db675c2c8f114ff8da90b5686fc61f8
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/module/linear_map.lean
a38d3cf1fd780daf8888aba29ac6f3f5bebc76d2
[ "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
37,785
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, Frédéric Dupuis, Heather Macbeth -/ import algebra.hom.group import algebra.hom.group_action import algebra...
5d49dd53620bb0577ab1419fce4971427c3baee6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/lift_auto.lean
bb6893763e2df6a1959dcdea1d3f2b77bc1490eb
[]
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,363
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.rcases import Mathlib.PostPort universes u v l w namespace Mathlib /-! # lif...
e3dadc993c3f58e7305e5a8c6cbfe6b6a2becf39
a76f677b87d42a9470ba3a0a78cfddd3063118e6
/src/congruence/seg_lt.lean
f9ca1add740981b71b74f5d2fccc017823bd1761
[]
no_license
Ja1941/hilberts-axioms
50219c732ad5fa167408432e8c8baae259777a40
5b653a92e448b77da41c9893066b641bc4e6b316
refs/heads/master
1,693,238,884,856
1,635,702,120,000
1,635,702,120,000
385,546,384
9
1
null
null
null
null
UTF-8
Lean
false
false
5,455
lean
/- Copyright (c) 2021 Tianchen Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tianchen Zhao -/ import congruence.basic /-! # Segment orderness This file defines how a segment is less than another and proves basic properties such as transitivity and trichotomy. ...
d7f8fb729ab82b7dca613f647989de98bddbc319
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/init/equiv.hlean
0e653471e5e900a47fa53b777eaabca820aba9fc
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,801
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.equiv Author: Jeremy Avigad, Jakob von Raumer Ported from Coq HoTT -/ prelude import .path .function open eq function /- Equivalences -/ -- This is our definition of eq...
6e0066ee973b64b9c75c7c84d2cb68b52057b389
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/nat/nth.lean
89389cb3c12fa306fee2d081605c3e3ceeb90b66
[ "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
14,960
lean
/- Copyright (c) 2021 Vladimir Goryachev. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Vladimir Goryachev, Kyle Miller, Scott Morrison, Eric Rodriguez -/ import data.nat.count import order.order_iso_nat /-! # The `n`th Number Satisfying a Predicate Th...
80e49b7e6b323e2ed8ed1dca9310ec6190b4ca14
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/macro_macro.lean
6ff125bc512cafe03bec217c0a6c10dcab399fcd
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
227
lean
macro mk_m id:ident v:str n:num c:char : command => `(macro $id:ident : term => `(fun (x : String) => x ++ $v ++ toString $n ++ toString $c)) mk_m foo "bla" 10 'a' mk_m boo "hello" 3 'b' #check foo "world" #check boo "boo"
a4eb50bf77d01c3b599d71d2f86154a80db86003
6065973b1fa7bbacba932011c9e2f32bf7bdd6c1
/src/linear_algebra/alternating.lean
c34ecf25ca7c93468eebec7d865717fb74b4ad81
[ "Apache-2.0" ]
permissive
khmacdonald/mathlib
90a0fa2222369fa69ed2fbfb841b74d2bdfd66cb
3669cb35c578441812ad30fd967d21a94b6f387e
refs/heads/master
1,675,863,801,090
1,609,761,876,000
1,609,761,876,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,041
lean
/- Copyright (c) 2020 Zhangir Azerbayev. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Eric Wieser, Zhangir Azerbayev -/ import linear_algebra.multilinear import linear_algebra.linear_independent import group_theory.perm.sign /-! # Alternating Maps We construct the ...
9bd726c47d3b81d64a65cd537cc58e27bf09d383
dc253be9829b840f15d96d986e0c13520b085033
/homotopy/EM.hlean
d38a5c1b88ce29d503086e7fe8d798aeeb1c4654
[ "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
35,319
hlean
-- Authors: Floris van Doorn import homotopy.EM algebra.category.functor.equivalence types.pointed2 ..pointed_pi ..pointed ..move_to_lib .susp ..algebra.exactness ..univalent_subcategory open eq equiv is_equiv algebra group nat pointed EM.ops is_trunc trunc susp function is_conn nat universe variable u /- TODO...
a16cfcc20f3ae8c89e625497433b09f41b644f63
6094e25ea0b7699e642463b48e51b2ead6ddc23f
/tests/lean/run/new_obtain4.lean
f6a8c92a36329baff1c6be35945ff7d934d09f2a
[ "Apache-2.0" ]
permissive
gbaz/lean
a7835c4e3006fbbb079e8f8ffe18aacc45adebfb
a501c308be3acaa50a2c0610ce2e0d71becf8032
refs/heads/master
1,611,198,791,433
1,451,339,111,000
1,451,339,111,000
48,713,797
0
0
null
1,451,338,939,000
1,451,338,939,000
null
UTF-8
Lean
false
false
448
lean
import data.set open set function eq.ops variables {X Y Z : Type} lemma image_compose (f : Y → X) (g : X → Y) (a : set X) : (f ∘ g) '[a] = f '[g '[a]] := ext (take z, iff.intro (assume Hz, obtain x Hx₁ Hx₂, from Hz, by repeat (apply mem_image | assumption | reflexivity)) (assume Hz, obtain...
9cea8483b0daa877c2cbc720abfb0866454406c9
88892181780ff536a81e794003fe058062f06758
/src/positive_nat/gcd.lean
c5d834d254438f8c7d0d252b634b52a608a4ef04
[]
no_license
AtnNn/lean-sandbox
fe2c44280444e8bb8146ab8ac391c82b480c0a2e
8c68afbdc09213173aef1be195da7a9a86060a97
refs/heads/master
1,623,004,395,876
1,579,969,507,000
1,579,969,507,000
146,666,368
0
0
null
null
null
null
UTF-8
Lean
false
false
1,776
lean
import positive_nat.mod namespace positive_nat namespace natural lemma gcd_wf (n m : natural) (hx : m % n ≠ n) : m % n < n := begin cases @mod_le_right m n, { constructor, exfalso, exact hx h, exact 1 }, { assumption } end def gcd : natural → natural → natural | n m := let x := m % n in if h: x = n...
f15c81387b5b371f2c77611417a7395a9e906e93
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Init.lean
d4b4636a627b91eb1a0dc7688b82098bb7aa9a2b
[ "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
509
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Prelude import Init.Notation import Init.Tactics import Init.Core import Init.Control import Init.Data.Basic import Init.WF import Init....
b8d4ffcd08c7a61e9c74b0a10648141a255791fb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/deps/b/lakefile.lean
d975683bf41182f32d826af1a75626a6ab406ac9
[ "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
103
lean
import Lake open System Lake DSL package b require root from ".."/"root" @[default_target] lean_lib B
91241968efd80e4c9c9eb267fa8ecb6e84916106
271e26e338b0c14544a889c31c30b39c989f2e0f
/src/Init/Lean/Data/Options.lean
679cbe41e2099c08b48b19cfe76525940b19f6d4
[ "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
3,392
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich and Leonardo de Moura -/ prelude import Init.System.IO import Init.Data.Array import Init.Data.ToString import Init.Lean.Data.KVMap namespace Lean def Option...
88b1b8677ca348fb59951aafcde5011faf8e69e8
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/ToDecl.lean
0bc2e4a3f571cb65ddb30f1c18f01f84359f4e8b
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
5,492
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Transform import Lean.Meta.Match.MatcherInfo import Lean.Compiler.ImplementedByAttr import Lean.Compiler.LCNF.ToLCNF namespace Lean.Compil...
8d143956d29e04c3b5483f4a3aa05af0cf8386ce
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/integral/periodic.lean
48f6c027dede1be6fd667e04b97ece31c4a27b8d
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,282
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 measure_theory.group.fundamental_domain import measure_theory.integral.interval_integral import topology.algebra.order.floor /-! # Integrals of periodic fun...
9b5b02bc5933d1c545eeb639e70eb2382af15fff
675b8263050a5d74b89ceab381ac81ce70535688
/src/topology/instances/nnreal.lean
99364f75ea4b8c88aa61ae36e6cfe3804537b628
[ "Apache-2.0" ]
permissive
vozor/mathlib
5921f55235ff60c05f4a48a90d616ea167068adf
f7e728ad8a6ebf90291df2a4d2f9255a6576b529
refs/heads/master
1,675,607,702,231
1,609,023,279,000
1,609,023,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,617
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import topology.algebra.infinite_sum import topology.algebra.group_with_zero noncomputable theory open set topological_space metric open_l...
59b127a9104127068adaee8110434d7640e8dd9f
46125763b4dbf50619e8846a1371029346f4c3db
/src/algebra/group/units.lean
5fb97df3043eb400176b393caba3563bb6e616b0
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
8,861
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes, Hölzl, Chris Hughes -/ import tactic.basic logic.function algebra.group.to_additive /-! # Units (i.e., invertible elements) of a multiplicative monoid ...
6a3cbe38a21fe84bafc73f21d26804da69a3e4e5
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/meta3.lean
b5bed1dff26d719847a3b0af51f1f05052f97bad
[ "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
1,900
lean
import Lean.Meta open Lean open Lean.Meta def dbgOpt : Options := let opt : Options := {}; let opt := opt.setBool `trace.Meta true; -- let opt := opt.setBool `trace.Meta.check false; opt def print (msg : MessageData) : MetaM Unit := do trace[Meta.debug] msg def check (x : MetaM Bool) : MetaM Unit := unless (← x) do...
0b1289ad89f86ddfd35a492f76187e195e48ac02
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/mv_polynomial/basic.lean
105ad4a8e6e0511f50a9ff16e9ec40f46205a582
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
38,097
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.eval import Mathlib.PostPort universes u_1...
d76e50f43fb070a9a29abf254c9ea3c9f81d54f4
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/algebra/module.lean
168e7e2ef8e5f31e7b806f64c8650465e79212a6
[ "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
9,556
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo Theory of topological modules and continuous linear maps. -/ import topology.algebra.ring linear_algebra.basic ring_theory.algebra o...
a961ab88f5855304d4d3fe3b8c079cdecfabfbcc
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/interactive/my_tac_class.lean
f20d9f7faabc4ad541abffaf1b9aa117e0f49afb
[ "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
1,771
lean
meta def mytac := state_t nat tactic meta instance : monad mytac := state_t.monad _ _ meta instance : monad.has_monad_lift tactic mytac := monad.monad_transformer_lift (state_t nat) tactic meta instance (α : Type) : has_coe (tactic α) (mytac α) := ⟨monad.monad_lift⟩ namespace mytac meta def step {α : Type} (t : my...
9cbcf9f7e44cf0c8938db716cc834b0c190613ab
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/rat/sqrt.lean
11f75f9180f766dfcd15847fba12d4fb04fa68fc
[ "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
1,176
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.rat.order import data.int.sqrt /-! # Square root on rational numbers This file defines the square root function on rational numbers, `ra...
106ca3f2938c8db236ca272bcaae5f53338802c0
7a76361040c55ae1eba5856c1a637593117a6556
/src/lectures/love04_functional_programming_demo.lean
950e29b32cdc42d917ad7bae8b5c9bc5653e2df1
[]
no_license
rgreenblatt/fpv2021
c2cbe7b664b648cef7d240a654d6bdf97a559272
c65d72e48c8fa827d2040ed6ea86c2be62db36fa
refs/heads/main
1,692,245,693,819
1,633,364,621,000
1,633,364,621,000
407,231,487
0
0
null
1,631,808,608,000
1,631,808,608,000
null
UTF-8
Lean
false
false
12,834
lean
import ..lovelib /-! # LoVe Demo 4: Functional Programming We take a closer look at the basics of typed functional programming: inductive types, proofs by induction, recursive functions, pattern matching, structures (records), and type classes. -/ set_option pp.beta true set_option pp.generalized_field_notation fa...
228005e52796269afc18a7d5c9d316c598754511
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/abelian/non_preadditive.lean
20d478228bfa3502571bfaf02d1fe1cff35474c7
[ "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
33,174
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.finite_products import category_theory.limits.shapes.kernels import category_theory.limits.shapes.pullbacks import category_theory....
28d69784e24ec91e4a3854510fbe23daf8e8abcb
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/rel_classes.lean
db8038cf69283e9a14eb695d2a68040c415a2c29
[ "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
14,613
lean
/- Copyright (c) 2020 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro, Yury G. Kudryashov -/ import order.basic /-! # Unbundled relation classes In this file we prove some properties of `is_*` classes defined in `init.algeb...
001fda33debe9ef40ee0e4561909f2806a90e38c
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/n3.lean
f79b3b32c7321a53ae493a31556c04a996740078
[ "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
615
lean
prelude definition Prop : Type.{1} := Type.{0} constant N : Type.{1} constant and : Prop → Prop → Prop infixr `∧`:35 := and constant le : N → N → Prop constant lt : N → N → Prop constant f : N → N constant add : N → N → N infixl `+`:65 := add precedence `≤`:50 precedence `<`:50 infixl ≤ := le infixl < := lt notation A ...
20c34f141618894dd2d05d12e6ff0192d35daebe
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/lie/quotient.lean
fd47a972838203d8ae9f93e81feaf534c8cdae5c
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,309
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.submodule import algebra.lie.of_associative import linear_algebra.isomorphisms /-! # Quotients of Lie algebras and Lie modules Given a Lie submodule of...
3a994876bdd94f6c980875e96c5734911b484c55
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/exercises_sources/tuesday/sets.lean
44d15a9547b6b881db799ff44c3344a469758709
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,130
lean
import data.set.basic data.set.lattice data.nat.parity import tactic.linarith open set nat function open_locale classical variables {α : Type*} {β : Type*} {γ : Type*} {I : Type*} /-! ## Set exercises These are collected from *Mathematics in Lean*. We will go over the examples together, and then let you work on t...
1f9eb828b1bb7db3140b89a4cef0fbfbffe41357
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/gluing.lean
f826938399057d79ffa39d06e3d161a017a010df
[ "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
18,493
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 topology.category.Top import category_theory.glue_data import category_theory.concrete_category.elementwise /-! # Gluing Topological spaces Given a family of gluin...
45a3978b0f2575f9422bded8f2cf61c83d81211c
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/sum3.lean
390157572927a770b459d309f2aadfc166a242b9
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
4,803
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 macros import subtype import optional using subtype using optional -- We are encoding the (sum A B) as a subtype of (optional A) # (optional B), w...
604def6cda93cac0a3191984b91c79fc618a2417
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/sleep_save.lean
411f4c43f4ec30b8d1bfa220457e4db56db2968d
[ "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
803
lean
macro "expensive_tactic" : tactic => `(tactic| sleep 5000) example (h₁ : x = y) (h₂ : y = z) : z = x := by expensive_tactic save have : y = x := h₁.symm have : z = y := h₂.symm trace "hello world" apply this.trans exact ‹y = x› example (h₁ : p ∨ q) (h₂ : p → x = 0) (h₃ : q → y = 0) : x * y = 0 := by e...
7b5bad245fcad8b566567b4948386abfc1617fbb
00de0c30dd1b090ed139f65c82ea6deb48c3f4c2
/src/algebra/group_power.lean
7f17155b11d90269545003ed9e0a80492f43ffb4
[ "Apache-2.0" ]
permissive
paulvanwamelen/mathlib
4b9c5c19eec71b475f3dd515cd8785f1c8515f26
79e296bdc9f83b9447dc1b81730d36f63a99f72d
refs/heads/master
1,667,766,172,625
1,590,239,595,000
1,590,239,595,000
266,392,625
0
0
Apache-2.0
1,590,257,277,000
1,590,257,277,000
null
UTF-8
Lean
false
false
29,737
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import data.int.basic import data.equiv.basic import deprecated.ring /-! # Power operations on monoids and groups The power operation on monoids and ...
91a8977803ba14cd11a7aeba07a2561841bd7d34
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/non_zero_divisors.lean
f7577bfa68dfd5da798d5e0bb73230274ca096a7
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
6,674
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Devon Tuma -/ import group_theory.submonoid.operations import group_theory.submonoid.membership /-! # Non-zero divisors In this file we define the submonoid `non_zero_divisors...
6343b2d4e83dcfe440c2532c5242062bdd246e9d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/continued_fractions/translations.lean
3a76d1199f2774662eb333b4c721cc528ef49cad
[]
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
6,573
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.continued_fractions.basic import Mathlib.PostPort universes u_1 namespace Ma...
952a236041627d75d14d35beab9e820a10da6446
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/namespace_local.lean
e79b6783329b250380fb414adb8ad03c1f27e03e
[ "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
128
lean
namespace foo variable A : Type end foo namespace bla variable A : Type end bla namespace foo variable A : Type end foo
dc68925aead24149ca553d943f5e7776b659f664
92b50235facfbc08dfe7f334827d47281471333b
/library/algebra/ordered_group.lean
13f6296da68c3b2987e84d19c623b97783bb94dc
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
25,770
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Partially ordered additive groups, modeled on Isabelle's library. These classes can be refined if necessary. -/ import logic.eq data.unit data.sigma data.prod import alge...
6ec7f69ba6ac30a45cf155903b1ccb30b9f3d3e9
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/group_theory/solvable.lean
f5864f6c11ad4f35e3a3642f9fcb7191bb7f8947
[ "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
12,105
lean
/- Copyright (c) 2021 Jordan Brown, Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jordan Brown, Thomas Browning, Patrick Lutz -/ import group_theory.abelianization import data.bracket /-! # Solvable Groups In this file we introduce th...
0a0a053cc34ef717147449223d970c2ec0dbc1df
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/topology/uniform_space/basic.lean
ad24ed41f4467fdf347d45b0ab3c2fa44ab02b1f
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
80,275
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, Patrick Massot Theory of uniform spaces. Uniform spaces are a generalization of metric spaces and topological groups. Many concepts directly generaliz...
41f87b7828018155e8aee2ca9bd5d17845cacc02
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/analysis/calculus/fderiv.lean
cd83810446d3e5c803b7391d4c8d666ac66711e2
[ "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
102,497
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.tangent_cone /-! # The Fréchet derivative Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E →L[�...
76c2b1e29e541510e3725e134518bee330825959
94637389e03c919023691dcd05bd4411b1034aa5
/src/profNotes/01_polymorphicFunctions.lean
248b4d2fbd60e14f34f7d995a9c4e28c16cfc293
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
2,476
lean
/- Identity functions for types nat, string, and bool. An identity function takes and argument and returns it unchanged. -/ def id_nat : nat → nat := λ n, n -- quick reminder on alternative syntax -- cases def id_nat' : nat → nat | n := n -- c-style def id_nat'' (n : nat) : nat := n -- back to main point def ...
aebea32831135ec6a09aaafe1eb0ee396b92ba31
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/preadditive/injective.lean
702aac98ea31b4b7ce9595ca0602564a82905f2f
[ "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
7,496
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Kevin Buzzard -/ import algebra.homology.exact import category_theory.types import category_theory.preadditive.projective import category_theory.limits.shapes.biproducts ...
8ce86a79fe2fb3c16b88d5d04b621ad8a3b4fee7
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/to_product.lean
f6cdf24ec566368227f1516d6592c784f18cd2dc
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
3,877
lean
import category_theory.limits.limits import category_theory.limits.shapes import category_theory.yoneda import category_theory.opposites import category_theory.types import category_theory.limits.types -- set_option trace.simplify.rewrite true run_cmd mk_simp_attr `PRODUCT ----- BOF BOF meta def PRODUCT_CAT : ta...
a49edff3cc070d686bfd176d841b2b443400e112
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/setoid/partition.lean
187b22877bf4f470c9e8dfbc0a6372ba76c00938
[ "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
16,749
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston, Bryan Gin-ge Chen, Patrick Massot -/ import data.fintype.basic import data.set.finite import data.setoid.basic import order.partition.finpartition /-! # Equival...
4618fecf2daaaaca341b2121e32b286f56aa0d64
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/combinatorics/hales_jewett.lean
051ba6a96495fb3f0cafca72c5541f1474cf3096
[ "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,450
lean
/- Copyright (c) 2021 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import data.fintype.basic import algebra.big_operators.basic import data.equiv.fin /-! # The Hales-Jewett theorem We prove the Hales-Jewett theorem and deduce Van der Waerd...
72d6af9206a4ed96f3a6019330c4e126f071292b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Std/Data/PersistentArray.lean
d4a063e8a5228afa918e32393291d3ca45b4e058
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
13,822
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 -/ universes u v w namespace Std inductive PersistentArrayNode (α : Type u) where | node (cs : Array (PersistentArrayNode α)) : PersistentArrayNode α | l...
f0147d4a59cc4aff14ebe71138525be100253b8a
9db059bff49b1090a86ec0050ac6c577eb16ac67
/src/meetings/structures_classes.lean
0591ec8bdaa8cd3d5de790d4dd4d12c1b5834256
[]
no_license
fpvandoorn/Harvard-tutoring
d64cd75c4c529009ee562c30e9cb245fe237e760
a8846c08e32cdc7b91a7e28adfa5d9b2810088b0
refs/heads/master
1,680,870,428,641
1,617,022,194,000
1,617,022,194,000
330,297,467
1
0
null
null
null
null
UTF-8
Lean
false
false
8,132
lean
import data.real.basic import data.nat.prime /- Structures and classes. Corresponding LFTCM lectures: * https://www.youtube.com/watch?v=xYenPIeX6MY * https://www.youtube.com/watch?v=1W_fyjaaY0M -/ /- The `structure` command introduces a new type (or proposition) which is built up from existing types. Let's start w...
2401a91142472629535512540add0ef153875d06
c777c32c8e484e195053731103c5e52af26a25d1
/src/group_theory/submonoid/centralizer.lean
f05395a009469679d6b08796ecb0c668e26cf082
[ "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
2,130
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.subsemigroup.centralizer import group_theory.submonoid.center /-! # Centralizers of magmas and monoids > THIS FILE IS SYNCHRONIZED WITH MATHLI...
502c047f527a577b458b91fa4d14595e0aa3f4e8
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/cody1.lean
7e4c3d136a020f73b46c4aec56e18cfdbf2e7a59
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
500
lean
import logic definition subsets (P : Type) := P → Prop. context hypothesis A : Type. hypothesis r : A → subsets A. hypothesis i : subsets A → A. hypothesis retract {P : subsets A} {a : A} : r (i P) a = P a. definition delta (a:A) : Prop := ¬ (r a a). notation `δ` := delta. -- Crashes unifier! theorem false_aux...
42de0291466d31df87c629ec45a215464723605f
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/spectrum_of_a_ring/structure_sheaf_locality.lean
59b3ceafb4af556a7bf8c37db83598ec125a4045
[]
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
4,245
lean
/- First argument of the ring lemma. We show that the map from R[1/f] to R[1/fᵢ] inverts fᵢ/1. -/ import ring_theory.localization import to_mathlib.localization.localization_alt import spectrum_of_a_ring.structure_presheaf import spectrum_of_a_ring.structure_presheaf_localization import spectrum_of_a_ring.str...
b9ed14ae6dcbc80f819f6f6e8a4f5f55848807fe
57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5
/analysis/limits.lean
c2dde5eb0876c9e71fc55774ecd9150bc7ed1471
[ "Apache-2.0" ]
permissive
louisanu/mathlib
11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe
2bd5e2159d20a8f20d04fc4d382e65eea775ed39
refs/heads/master
1,617,706,993,439
1,523,163,654,000
1,523,163,654,000
124,519,997
0
0
Apache-2.0
1,520,588,283,000
1,520,588,283,000
null
UTF-8
Lean
false
false
8,012
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl A collection of limit properties. -/ import algebra.big_operators algebra.group_power analysis.real analysis.topology.infinite_sum noncomputable theory open classical...
fdb508dea350ccd18ffc56f985201f28b0ea8ff5
618003631150032a5676f229d13a079ac875ff77
/test/tidy.lean
c3787930fed9b1994bc339c3a827bf12bd842130
[ "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
1,147
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.tidy open tactic namespace tidy.test meta def interactive_simp := `[simp] def tidy_test_0 : ∀ x : unit, x = unit.star := begin success_if_fail { c...
cd7aebe326867688ea9cbe732596a60ad2a10b83
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/smodeq.lean
36269e80e2407f58875c7bc5da349e8ab65a6630
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,180
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 data.polynomial.eval import ring_theory.ideal.quotient /-! # modular equivalence for submodule > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file r...
f69119c7aa27a725b56926e0dcc9846ca1642e08
d0c6b2ba2af981e9ab0a98f6e169262caad4b9b9
/src/Lean/Elab/Do.lean
5ed400a86508168a3346580b37b84ada40aae1ed
[ "Apache-2.0" ]
permissive
fizruk/lean4
953b7dcd76e78c17a0743a2c1a918394ab64bbc0
545ed50f83c570f772ade4edbe7d38a078cbd761
refs/heads/master
1,677,655,987,815
1,612,393,885,000
1,612,393,885,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
64,893
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Term import Lean.Elab.Binders import Lean.Elab.Match import Lean.Elab.Quotation.Util import Lean.Parser.Do namespace Lean.Elab.Term open L...
7281f09b01c8f12fb6f6c62c6378a0d19cb1a5ea
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/topology/metric_space/gromov_hausdorff_realized.lean
61bb5488b67efcf1e52bd8a97cdeb248ed67d5a5
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
27,503
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel Construction of a good coupling between nonempty compact metric spaces, minimizing their Hausdorff distance. This construction is instrumental to study the Gromov-...
7141ecc38e8ef128891a8a2dee113abc6915f12d
4fa161becb8ce7378a709f5992a594764699e268
/src/control/fold.lean
a7231766e9db6dc1c0790d03fbb117573e7beacb
[ "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
14,707
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Sean Leather -/ import algebra.free_monoid import algebra.opposites import control.traversable.instances import control.traversable.lemmas import category_theory.category imp...
8ff043580382f25d1bfbb300d3de9fc116dd2fe9
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/field_theory/subfield.lean
681f42842532da5fd50ee1a08231a7b7ec4cbd3d
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
24,102
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors : Anne Baanen -/ import ring_theory.subring /-! # Subfields Let `K` be a field. This file defines the "bundled" subfield type `subfield K`, a type whose terms correspond to subfields of...
057e0746819b8e90c1336f10d1d9a5c733606a22
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/topology/subset_properties.lean
52461b9986037f7bd772688857a2d4b02e934020
[ "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
54,213
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, Yury Kudryashov -/ import topology.continuous_on /-! # Properties of subsets of topological spaces ## Main definitions `compact`, `is_clopen`, `is_ir...
7fdb19872c1458c8958167b553d443af60605ffa
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/metric_space/isometry.lean
d2bad3d6b931ff1fc7a74d817ae80e93819a2586
[ "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
15,758
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel -/ import analysis.normed_space.basic /-! # Isometries We define isometries, i.e., maps between emetric spaces that prese...
9b4da9e34b0792eac3150ecc0b4da3210d382e44
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/metric_space/hausdorff_distance.lean
768bf966e24d78870bd7aca4500bd0a799e6771a
[ "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
65,982
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.specific_limits.basic import topology.metric_space.isometry import topology.instances.ennreal /-! # Hausdorff distance The Hausdorff distance ...
5d4ca0a7c5a48896fe52cb6058b81d87364d9d30
bd12a817ba941113eb7fdb7ddf0979d9ed9386a0
/src/category_theory/discrete_category.lean
171dfd75f9da774e6f7090c5f48de84679a1ed75
[ "Apache-2.0" ]
permissive
flypitch/mathlib
563d9c3356c2885eb6cefaa704d8d86b89b74b15
70cd00bc20ad304f2ac0886b2291b44261787607
refs/heads/master
1,590,167,818,658
1,557,762,121,000
1,557,762,121,000
186,450,076
0
0
Apache-2.0
1,557,762,289,000
1,557,762,288,000
null
UTF-8
Lean
false
false
1,630
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 import data.ulift import category_theory.functor_category namespace category_theory universes v₁ v₂ u₁ u₂ -- declare the `v`'s first; see `categ...
8309540f288740ca4974000ce7ca6aa571b84a2c
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebraic_geometry/presheafed_space.lean
a345f96ef1a394bebf310cae42c59ecc9ae281b2
[ "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
7,309
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.sheaves.presheaf /-! # Presheafed spaces Introduces the category of topological spaces equipped with a presheaf (taking values in an arbitrary targe...
9fa538672280c7c2f6d30eb89f0d828b48a20847
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/algebra/theories/groupoid.lean
6ff33a29adf064a18d0a9fd4a21b425f2f9b89f2
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
5,958
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .basic import .category import .group namespace algebra /- signature command cannot handle operation parameters yet, so we define groupoid_sig manually; groupoid_hom is missing...
7bdab429601aca19b278e1c7cadde4048eeaf092
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed/group/hom.lean
ac8d2dc8384ddbd6b4ed9007c6c24221fbcdc05f
[ "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
34,804
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 import analysis.specific_limits import topology.sequences /-! # Normed groups homomorphisms This file gathers definitions and el...
c9eac3c56cd27b8b9b96799392b63589ead578f4
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Init/Data/List/Control.lean
baf14b032cec57614fe7fe4d4204ec1dbd8ab15e
[ "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
6,054
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Control.Monad import Init.Control.Alternative import Init.Data.List.Basic namespace List universes u v w u₁ u₂ /- Remark: we can define...
3113d06bc870d52aedc9427229f79d3b22bdeaf6
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/idempotents/karoubi.lean
45d790af537daeb0fa4e56989e1061282a74973f
[ "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
8,852
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import category_theory.idempotents.basic import category_theory.preadditive.additive_functor import category_theory.equivalence /-! # The Karoubi envelope of a category In t...