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
de527d8cc3bd1a47e1166abbca0e7e418f660629
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/1334b.lean
fcb4e9d069a3d7e9198df3ce17b3123ecd7a565a
[ "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
623
lean
inductive term : Type | var : nat → term | app : list term → term | cnst : string → term def var_of : term → option nat | (term.var n) := some n | _ := none #check var_of.equations._eqn_1 #check var_of.equations._eqn_2 #check var_of.equations._eqn_3 def list_of : term → list term | (term.app ts) := ts |...
702bd6b364e007606dd0e3f6a2c44f014d3ff8fd
e30ff3aabdac29f8ea40ad76887544d0f9be9018
/ircbot/support.lean
df277622fa8a3289b154ecc2f0580b3b1e2e35c9
[]
no_license
forked-from-1kasper/leanbot
bdef0efa3e4d0eb75b06c1707fb4e35086bb57fa
c61c8c7fdad7b05877e0d232719ce23d2999557f
refs/heads/master
1,651,846,081,986
1,646,404,009,000
1,646,404,009,000
127,132,795
12
1
null
1,605,183,650,000
1,522,237,998,000
Lean
UTF-8
Lean
false
false
1,715
lean
import ircbot.types def list.get {α : Type} [inhabited α] (l : list α) (n : ℕ) : α := list.head (list.drop n l) def list.singleton {α : Type} (x : α) : list α := [ x ] namespace string def take_right_while {α : Type} (f : α → Prop) [decidable_pred f] : list α → list α | (hd :: tl) := if f hd then take_right_whil...
056a4d54dd6ecf67278a36f0f3a534146ed4a85a
d5ecf6c46a2f605470a4a7724909dc4b9e7350e0
/analysis/measure_theory/measure_space.lean
cce84d7d280cd8bfb71edd8560da115cf30daf1f
[ "Apache-2.0" ]
permissive
MonoidMusician/mathlib
41f79df478987a636b735c338396813d2e8e44c4
72234ef1a050eea3a2197c23aeb345fc13c08ff3
refs/heads/master
1,583,672,205,771
1,522,892,143,000
1,522,892,143,000
128,144,032
0
0
Apache-2.0
1,522,892,144,000
1,522,890,892,000
Lean
UTF-8
Lean
false
false
21,718
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 Measure spaces -- measures Measures are restricted to a measurable space (associated by the type class `measurable_space`). This allows us to prove equalities between ...
2f732b37c5ab7328e04223484347be92d8da85e1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/dependencies_auto.lean
3515dcfa4ea33cc18a59a11bdfdf60a3e54d06ab
[]
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
2,502
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /-! # Tactics About Dependencies T...
5a37bae5c086668d7f37ad9c73a7caa994484523
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/streamEqIssue.lean
6401c0016ebe701f7aa04aa57bdba8639585f081
[ "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
289
lean
@[simp] def Stream.hasLength [Stream stream value] (n : Nat) (s : stream) : Bool := match n, Stream.next? s with | 0, none => true | n + 1, some (_, s') => hasLength n s' | _, _ => false #check @Stream.hasLength._eq_1 #check @Stream.hasLength._eq_2 #check @Stream.hasLength._eq_3
99851cbfe39e0b732da401259cdcf40051bed9ac
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/punit.lean
1a4d9c51007cee5bf6fc47ddcb61dc0ea1663d10
[]
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,596
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.const import Mathlib.category_theory.discrete_category import...
24ac0d050f1156ebc79ae9b725eb3cf09e58eca4
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Elab/PreDefinition/Structural.lean
6dbb97d403cbbbe103c270491f691752dfbea381
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,337
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.Util.ForEachExpr import Lean.Meta.ForEachExpr import Lean.Meta.RecursorInfo import Lean.Meta.Match.Match import Lean.Elab.PreDefinition.Basic na...
da873db755320ee8791ea3d2ccfb28e16175e0e0
bb31430994044506fa42fd667e2d556327e18dfe
/src/ring_theory/ideal/operations.lean
21e13f9e695937f4348c47b25ab4df31575da7de
[ "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
99,484
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.operations import algebra.ring.equiv import data.nat.choose.sum import ring_theory.coprime.lemmas import ring_theory.ideal.quotient import ring_theory.no...
bd532c4832957158efd0fa65b8bf204b5d6ee163
01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab
/categories/universal/complete/constructions.lean
e63d24d1e11f6e125a1a4a6ed4d5235519d58cc6
[]
no_license
PatrickMassot/lean-category-theory
0f56a83464396a253c28a42dece16c93baf8ad74
ef239978e91f2e1c3b8e88b6e9c64c155dc56c99
refs/heads/master
1,629,739,187,316
1,512,422,659,000
1,512,422,659,000
113,098,786
0
0
null
1,512,424,022,000
1,512,424,022,000
null
UTF-8
Lean
false
false
5,971
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import ..complete import ...walking open categories open categories.functor open categories.natural_transformation open categories.isomorphism open categories.in...
946ba128682446023c987da6fb2d2424ff88ebde
4e0d7c3132ce31edc5829849735dd25db406b144
/lean/love06_monads_exercise_sheet.lean
a76239fcaf4c1be1524051eb93ed7258ddddf50f
[]
no_license
gonzalgu/logical_verification_2020
a0013a6c22ea254e9f4d245f2948f0f4d44df4bb
724d0457dff2c3ff10f9ab2170388f4c5e958b75
refs/heads/master
1,660,886,374,533
1,589,859,641,000
1,589,859,641,000
256,069,971
0
0
null
1,586,997,430,000
1,586,997,429,000
null
UTF-8
Lean
false
false
7,253
lean
import .love06_monads_demo /-! # LoVe Exercise 6: Monads -/ set_option pp.beta true namespace LoVe /-! ## Question 1: A State Monad with Failure We introduce a richer notion of lawful monad that provides an `orelse` operator `<|>` satisfying some laws, given below. `emp` denotes failure. `x <|> y` tries `x` fir...
35bba5c85c9d07680907170d02034d2fb7c6195d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/well_founded.lean
c20e8c8426abbca786dfdfd1ae91c014ee697ccd
[ "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
6,419
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 -/ import tactic.by_contra import data.set.basic /-! # Well-founded relations A relation is well-founded if it can be used for induction: for each `x`, `...
cd188cfa274798d94d159d255d86bd536756290f
11e28114d9553ecd984ac4819661ffce3068bafe
/src/data.lean
5998039eec8c1e939170bb66d2beba849c26268d
[ "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
6,080
lean
/- Author: E.W.Ayers © 2019 -/ import .table .rule .rule_table .tree namespace robot @[derive decidable_eq] meta inductive task : Type |CreateAll : expr → task |Create : ℕ → expr → task /- Use a term annihilation move. For example `X * X⁻¹ = e` annihilates anything in X. -/ |Annihilate : expr → task /- passes when we...
62aa91ba6d9b5433f426a430ef5ca63294591419
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/nonneg/field.lean
4d58ba9ed7e50d84d7f99d690930daa62f6ac0be
[ "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,784
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import algebra.order.field.basic import algebra.order.field.canonical.defs import algebra.order.field.inj_surj import algebra.order.nonneg.ring /-! # Semifield s...
85d0087b29b4a98cde42ccccbf294fd41e9cdb1c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/2282.lean
24d4e4ab276ffb97940bb2f21c652f0fdf6b4b21
[ "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
340
lean
class Zero'.{u} (α : Type u) where zero : α instance Zero'.toOfNat0 {α} [Zero' α] : OfNat α (nat_lit 0) where ofNat := ‹Zero' α›.1 instance Nat.zero' : Zero' Nat where zero := 0 example : 0 = if (b : Bool) then (@OfNat.ofNat.{0} Nat 0 (@Zero'.toOfNat0.{0} Nat (Nat.zero'))) else Nat.zero := ...
b997135d12664d887fcf3c11c4dd2421938e959c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/modular_lattice.lean
45da1555fd71ba7912fdd185467554b68f01ce9b
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,621
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.rel_iso import order.lattice_intervals import order.galois_connection /-! # Modular Lattices This file defines Modular Lattices, a kind of lattice usefu...
5c55b0f9296376cf6cb48ead4c25c0135c0caa60
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/complex/exponential.lean
4930d5adfe13ab7fda2f7c7539d4549fb3b2fb6f
[ "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
49,893
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.geom_sum import data.nat.choose import data.complex.basic /-! # Exponential, trigonometric and hyperbolic trigonometric functions...
1974bcb71bbc261cc3b42162dc8cbdc188f7cdb6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/computability/encoding_auto.lean
099e622618deb0a996fdc8cf61960969c55fe04b
[]
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,514
lean
/- Copyright (c) 2020 Pim Spelier, Daan van Gent. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Pim Spelier, Daan van Gent. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.basic import Mathlib.data.num.lemmas import Mathlib.t...
02c4e4449b78c233a32a49f121311b7e693ed608
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Data/Parsec.lean
8a05482f97a4e1e81631c3b10f2f7e698b7981dc
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
4,244
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Dany Fabian -/ namespace Lean namespace Parsec inductive ParseResult (α : Type) where | success (pos : String.Iterator) (res : α) | error (pos : String.Iterator) (err : Str...
d5b8919266808203d5a03cd2767dc845942b97e9
c6da0300d417abe3464e750ab51a63502b93acfa
/src/struct_tact/simp_option.lean
16f03a588253dd5383c0a1c6370d597c8433c933
[ "Apache-2.0" ]
permissive
uwplse/struct_tact
55bc1d260fac498cff83a4d71461041f8ed74bd6
22188ea2e97705d1185f75dde24e6bab88054ab0
refs/heads/master
1,630,670,592,496
1,515,453,299,000
1,515,453,299,000
104,603,771
0
0
null
null
null
null
UTF-8
Lean
false
false
1,435
lean
open lean open tactic open interactive @[intro] lemma option_bind_some_back {α β : Type} : forall (o1 : option α) (o2 : α → option β) v v', o1 = some v → o2 v = some v' → o1 >>= o2 = some v' := begin intros, rw a, simp [bind, has_bind.bind, option.bind], rw a_1, end lemma option_bind_some {α β :...
7fd805a93437403518f3824a4788f86ab07f3958
f2fbd9ce3f46053c664b74a5294d7d2f584e72d3
/src/for_mathlib/uniform_space.lean
42357c5f25af2250315c1227317232bc9688cbba
[ "Apache-2.0" ]
permissive
jcommelin/lean-perfectoid-spaces
c656ae26a2338ee7a0072dab63baf577f079ca12
d5ed816bcc116fd4cde5ce9aaf03905d00ee391c
refs/heads/master
1,584,610,432,107
1,538,491,594,000
1,538,491,594,000
136,299,168
0
0
null
1,528,274,452,000
1,528,274,452,000
null
UTF-8
Lean
false
false
1,961
lean
import analysis.topology.uniform_space namespace uniform_space open uniform_space variables {α : Type*} [uniform_space α] {β : Type*} [uniform_space β] {γ : Type*} [uniform_space γ] open Cauchy set lemma prod_cauchy {f : filter α} {g : filter β} : cauchy f → cauchy g → cauchy (filter.prod f g) | ⟨f_proper, hf⟩ ⟨g_pro...
8b16ecc7244cfdcbf982ccf45aea6aa23c7fb19f
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/qpf/multivariate/basic.lean
5ebe689354748da2c0059e64ba7ce857720f1776
[ "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,754
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Simon Hudon -/ import data.pfunctor.multivariate.basic universe u /-! # Multivariate quotients of polynomial functors. Basic definition of multivariate QPF. QPFs form a...
ed1919be3601f04404ddbe3b0d1dfeaa66ea8cb8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/list.lean
18c935c780b6229bdc87c18c8cf83eb478cef381
[ "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
8,751
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import topology.constructions import topology.algebra.group /-! # Topology on lists and vectors -/ open topological_space set filter open_locale topological_space filte...
b7a2396d3062c3807b878b3ec8b1e87939051ccd
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/char_p/invertible.lean
4144d91f24611a9dce8be3d7f5da4b35c61eb4ad
[ "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
2,201
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 algebra.invertible import algebra.field.basic import algebra.char_p.basic /-! # Invertibility of elements given a characteristic This file includes some instances ...
c97d7ad0f989243d22023c3c54b03518d9e465c7
d796eac6dc113f68ec6fc0579c13e8eae2bdef6c
/Resources/Code/Category+Theory-Github-Topic/monoidal-categories-reboot/src/monoidal_categories_reboot/monoid_object.lean
ffbab1f88499a2ecda5e6bce82dac7441168c65a
[ "Apache-2.0" ]
permissive
paddlelaw/functional-discipline-content-cats
5a7e13e8adedd96b94f66b0b3cbf1847bc86d7f6
d93b7aa849b343c384cec40c73ee84a9300004e8
refs/heads/master
1,675,541,859,508
1,607,251,766,000
1,607,251,766,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,212
lean
-- Copyright (c) 2018 Michael Jendrusch. All rights reserved. import .monoidal_category import .braided_monoidal_category import tactic.rewrite_search import .monoidal_functor import .slice_tactic open tactic.rewrite_search.metric open tactic.rewrite_search.strategy open tactic.rewrite_search.tracer open category_theo...
b72a16cd77df40d48de9e863e21af873f6e1c5f9
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/data/vector2.lean
90164d7c084be650a9b8dc10be0e23592357f496
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
8,228
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Additional theorems about the `vector` type. -/ import data.vector data.list.basic data.sigma data.equiv.basic category.traversable universes u variables {n : ℕ...
78ace4c02a8f3d00c4f5c1802305cdaeeaab928c
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/analysis/special_functions/sqrt.lean
6a28132dbe8d3306fecba902013bbb03decf9d2f
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
6,277
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.calculus.cont_diff /-! # Smoothness of `real.sqrt` In this file we prove that `real.sqrt` is infinitely smooth at all points `x ≠ 0` and pro...
fc14ee19b92e739b376248df0deba4e7a42b4936
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/calculus/mean_value_auto.lean
f61ccc692b0266d89d68df57dbee49e8a24cf13a
[]
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
53,514
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, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.calculus.local_extr import Mathlib.analysis.convex.topology...
baec88538e112d977b74afc6d43b67d27f12b14a
9dc8cecdf3c4634764a18254e94d43da07142918
/src/measure_theory/constructions/pi.lean
e576954c67f23e6970068c9f61313ea5ddb93a3f
[ "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
31,442
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.constructions.prod import measure_theory.group.measure /-! # Product measures In this file we define and prove properties about finite pro...
00e9e470665423a632d3d5c434bbeb8a2e9538b1
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/set_theory/cofinality.lean
0a8c0a45faec37967c1a5e1bbdcb1a6ac625d451
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
17,374
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Cofinality on ordinals, regular cardinals. -/ import set_theory.ordinal noncomputable theory open function cardinal local attribute [instance] classical.prop_decidable ...
351c70aa392d4b291b9e6593942aaa860e1fb7ac
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/bounded_lattice.lean
a302d761a3e8fc7882ec8516bc7df245a856bda6
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,798
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Defines bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice import data.option.basic import tactic.pi_instances import l...
cd70ea91b6675cc1e3b4e8c28592912e84449448
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/lattice_intervals.lean
e26b862a8113173e1e7e5c0d9f0055c11f385440
[ "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
5,074
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.bounds.basic /-! # Intervals in Lattices In this file, we provide instances of lattice structures on intervals within lattices. Some of them depend on...
a0e08c703a5b340be29c0a707318fd236397762e
97c8e5d8aca4afeebb5b335f26a492c53680efc8
/ground_zero/meta/hott_theory.lean
4dd31b89c054f3d8da6a538a51ad51a039c4f6a0
[]
no_license
jfrancese/lean
cf32f0d8d5520b6f0e9d3987deb95841c553c53c
06e7efaecce4093d97fb5ecc75479df2ef1dbbdb
refs/heads/master
1,587,915,151,351
1,551,012,140,000
1,551,012,140,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
467
lean
open lean.parser interactive tactic namespace ground_zero.meta.hott_theory -- https://github.com/gebner/hott3/blob/master/src/hott/init/meta/support.lean meta def exec_cmd (cmd : string) : lean.parser unit := with_input command_like cmd >> pure () @[user_command] meta def hott (meta_info : decl_meta_info) (_ : par...
a5f191c7e5c4796f24ca3f881df804f9ce6332ca
618003631150032a5676f229d13a079ac875ff77
/src/algebra/direct_sum.lean
028a05f74351e0c369e51832cc9e5a13ee7f1117
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
6,313
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Direct sum of abelian groups, indexed by a discrete type. -/ import data.dfinsupp universes u v w u₁ variables (ι : Type v) [decidable_eq ι] (β : ι → Type w) [Π i, add_comm_gro...
ffe45689bd116e4cceeb3c38bd0378f1c58e05a2
ba4794a0deca1d2aaa68914cd285d77880907b5c
/src/game/world10/level3.lean
5af3075ed7698ba56dce99e01ee2666a9bd8970b
[ "Apache-2.0" ]
permissive
ChrisHughes24/natural_number_game
c7c00aa1f6a95004286fd456ed13cf6e113159ce
9d09925424da9f6275e6cfe427c8bcf12bb0944f
refs/heads/master
1,600,715,773,528
1,573,910,462,000
1,573,910,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,221
lean
import game.world10.level2 -- hide namespace mynat -- hide /- # Inequality world. ## Level 3: le_succ_of_le We have seen how the `use` tactic makes progress on goals of the form `⊢ ∃ c, ...`. But what do we do when we have a *hypothesis* of the form `h : ∃ c, ...`? The hypothesis claims that there exists some natu...
7ea6bd4015b9dbe68006c314ef0b1018b51aeda5
957a80ea22c5abb4f4670b250d55534d9db99108
/library/data/bitvec.lean
479eb66cbfba1e017818f6520151383547ee2de5
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
6,604
lean
/- Copyright (c) 2015 Joe Hendrix. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joe Hendrix, Sebastian Ullrich Basic operations on bitvectors. This is a work-in-progress, and contains additions to other theories. -/ import data.vector @[reducible] def bitvec (n : ...
a2b6346316b7b9926669340c6493756c3287fb70
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/preorder_hom.lean
cf25019025a19359549a91803b03fc5d03006b74
[]
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,367
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin # Preorder homomorphisms Bundled monotone functions, `x ≤ y → f x ≤ f y`. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.logic.function....
c86cfba3e2cc256672770eb06c48dfdea014158c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/extend_from_subset_auto.lean
4d34f7fe13a0d97c328b9ac2bc14ea0301f46c82
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,441
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Anatole Dedecker -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.separation import Mathlib.PostPort universes u_2 u_1 namesp...
79e825b6237f67d1532d50571d2f9e65a2b317c5
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/measure_theory/borel_space.lean
578b8e24ba4f26bc55901c14ee5a394a7fb12f44
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
26,316
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 Borel (measurable) space -- the smallest σ-algebra generated by open sets It would be nice to encode this in the topological space type class, i.e. each topological sp...
f44d41328a0223baaffb60e9d61225b218797a2e
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/homology/additive.lean
2d2d5662d29398602169298c74860ace473a25aa
[ "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
11,709
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 algebra.homology.homology import algebra.homology.single import category_theory.preadditive.additive_functor /-! # Homology is an additive functor When `V` i...
c6b4dce52de10aee38a7c3a4e48d0dd5a0f437a0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/measure_theory/tactic.lean
fbe92119878e9947c6d1a96aa4c6ba7ea6d822d7
[ "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
6,379
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import tactic.auto_cases import tactic.tidy import tactic.with_local_reducibility import tactic.show_term import measure_theory.measure_space_def /-! # Tactics for measur...
2cbd461faeb2bf746ccaa84dc5995d28362a5dfb
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/nat_sub_ematch.lean
41a794ac2097535a2656dea8f4696b892ada8e7a
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
273
lean
set_option trace.smt.ematch true example (a b c d : nat) (f : nat → nat) : f d = a + b → f d - a + c = c + b := begin [smt] intros, eblast end example (a b c d : nat) (f : nat → nat) : f d = a + b → f d - (a + c) = b - c := begin [smt] intros, eblast end
8f6007e06295a658f508c05ccb38d4c00aa178ad
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed_space/banach.lean
8a1592f87469cb3f998f30810e78a9113ae80915
[ "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,358
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.baire import analysis.normed_space.operator_norm import analysis.normed_space.affine_isometry /-! # Banach open mapping theorem T...
42b635cd792d685f5763780c86951092ee9c3707
61c3861020ef87c6c325fc3c3dcbabf5d6b07985
/init/meta/rewrite.lean
4e7c28ea06ddb8d5314ac0636edcf99478489c05
[ "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
3,185
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import ..path open tactic expr namespace hott meta def instantiate_with_metas : expr → tactic expr | e := do t ← infer_type e >>= whnf, if ¬t.is_pi then return e else...
1b5c76db83613e0a3c7a7d3324085f35bfe7bddd
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/group/basic.lean
265d84be4647cdc5b4ae73fa2e282a69a3f18b80
[ "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
16,070
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Simon Hudon, Mario Carneiro -/ import algebra.group.defs import logic.function.basic /-! # Basic lemmas about semigroups, monoids, and groups This f...
934371f6a9068b05931bbfd895d756a5ef827d91
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/noncomputable_example.lean
680b56d862b81f2012397e2cffc45d6f57fbcc1e
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
176
lean
open classical sum noncomputable example (A : Type _) (h : (A → false) → false) : A := match type_decidable A with | (inl ha) := ha | (inr hna) := false.rec _ (h hna) end
700a01d76ddc50da7a786ee669f8d8c6181e12c6
82e44445c70db0f03e30d7be725775f122d72f3e
/src/algebra/group/commute.lean
63e6d33e9a469c4b1abd457496b8992b6d92fc08
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
5,858
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland, Yury Kudryashov -/ import algebra.group.semiconj /-! # Commuting pairs of elements in monoids We define the predicate `commute a b := a * b = b * a` and provide som...
4e8f0b783599d375e0a0318e4a5cbc09e959872f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/ring_quot.lean
349d7236df2c7a317ab99747fbdf1eb80bcc2b09
[ "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,515
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.algebra.basic import ring_theory.ideal.basic /-! # Quotients of non-commutative rings Unfortunately, ideals have only been developed in the commutati...
b292ccbae779de824f13a4c415f9999970c867b2
c86b74188c4b7a462728b1abd659ab4e5828dd61
/stage0/src/Std/ShareCommon.lean
0da14f9e7063a92e1c0ae9690e80643c11e97866
[ "Apache-2.0" ]
permissive
cwb96/lean4
75e1f92f1ba98bbaa6b34da644b3dfab2ce7bf89
b48831cda76e64f13dd1c0edde7ba5fb172ed57a
refs/heads/master
1,686,347,881,407
1,624,483,842,000
1,624,483,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,365
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.Data.HashSet import Std.Data.HashMap import Std.Data.PersistentHashMap import Std.Data.PersistentHashSet namespace Std universes u v namespace S...
ce99e0bd4abca02918d76d5c5c55d0457765d539
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/constructor_tactic.lean
30e7cfd26b0280ff7515f3ccb9c890046e823f8e
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,527
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.function namespace tactic meta def get_constructors_for (e : expr) : tactic (list name) := do env ← get_env, I ←...
38d7cb76f8f6da9bacead45b646738194c184e73
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/free/basic.lean
e3f694775af0084d1a57c797f19b18a7517129cb
[ "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
11,512
lean
/- Copyright (c) 2021 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.monoidal.functor /-! # The free monoidal category over a type > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a c...
4db74bef8f36ead0a1df382e745ca7b10d38cdab
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/example_false.lean
90141839364de38985b86d13ef7b8295a25ab2e8
[ "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
127
lean
open expr tactic example : false := by do n ← mk_fresh_name, apply (local_const n n binder_info.default (const ``false []))
37076917ea1f1a820881d99ae0353c3c228f635f
618003631150032a5676f229d13a079ac875ff77
/src/measure_theory/integration.lean
2f8eaca9af266d7e1256b51a12058f841438a397
[ "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
57,057
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl Lebesgue integral on `ennreal`. We define simple functions and show that each Borel measurable function on `ennreal` can be approximated by a sequence ...
dc3357cfd2dfcc4915f636e4cddc2becf7f9f02f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/preadditive/single_obj.lean
f92d716ddd20ae87852f2181f789e05efdaf272c
[ "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
719
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.preadditive.basic import category_theory.single_obj /-! # `single_obj α` is preadditive when `α` is a ring. > THIS FILE IS SYNCHRONIZED WITH ...
1c7c4ace0df382e326243c5a2168fc154d772bb2
8be24982c807641260370bd09243eac768750811
/src/small_things.lean
2c7a7b4c36443bca6ee32b845066260855d4a08f
[]
no_license
jjaassoonn/transcendental
8008813253af3aa80b5a5c56551317e7ab4246ab
99bc6ea6089f04ed90a0f55f0533ebb7f47b22ff
refs/heads/master
1,607,869,957,944
1,599,659,687,000
1,599,659,687,000
234,444,826
9
1
null
1,598,218,307,000
1,579,224,232,000
HTML
UTF-8
Lean
false
false
9,944
lean
import data.real.basic import algebra.big_operators import data.polynomial import analysis.calculus.deriv import tactic noncomputable theory open_locale big_operators def irrational (x : ℝ) := ∀ a b : ℤ, b > 0 -> x - a / b ≠ 0 theorem same_sum {s : finset ℕ} (f g : ℕ -> ℝ) (h : ∀ i ∈ s, f i = g i) : (∑ i in s, f i) ...
e2749ab28a704fbd72d59d66c065073d1fbd34b1
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/sheaves/presheaf.lean
fb24577a88d169a48dc8c4c8a32fbae84ab72a46
[]
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
2,077
lean
/- Presheaf (of types). https://stacks.math.columbia.edu/tag/006D -/ import topology.basic import topology.opens universes u v -- Definition of a presheaf. open topological_space lattice structure presheaf (α : Type u) [topological_space α] := (F : opens α → Type v) (res : ∀ (U V) (HVU : V ⊆ U), F U →...
1c0344ade5e167e5ab05889bcf902d78e015d36f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/exterior_algebra/grading.lean
eee9bc304edb270dec0df9b65e6672a6f1bc29c8
[ "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,535
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.exterior_algebra.basic import ring_theory.graded_algebra.basic /-! # Results about the grading structure of the exterior algebra Many of these resul...
3e8cf7bbc52b2e089e6b383c2fe2d3cbe8feded4
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/800.lean
bcf3ead72c65a14549fc62b64b4b0d6a54d12106
[ "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
470
lean
import data.matrix data.list open matrix nat list variables {A : Type} {m n : nat} definition row_vector [reducible] (A : Type) (n : nat) := matrix A 1 n definition get_row [reducible] (M : matrix A m n) (row : fin m) : row_vector A n := λ i j, M row j variables (M : matrix A m n) (row : fin m) (col : fin n) notati...
2f1c09e1dd4c2ddfd7375e083974cb6c8fa4465c
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/sites/sheaf.lean
11ad5aa1fb7dcbf81ee44f7672dfd70b88ab2a95
[ "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
22,834
lean
/- Copyright (c) 2020 Kevin Buzzard, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Bhavik Mehta -/ import category_theory.limits.preserves.shapes.equalizers import category_theory.limits.preserves.shapes.products import category_theory.li...
b5767dd23d7c31ea8045a5cf227c5c8c3f55bc7e
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/shapes/finite_limits.lean
c19576c8cf5f083111bde2e190be9d1b4b2eeede
[ "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,286
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 category_theory.fin_category import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.equalizers import category_theory.limits...
a84fec3c4fe5326875924524b054d41c18cfa913
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/order/monotone.lean
50f6e5da970b2f7181161900f2b1891e44e9a5ae
[ "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
23,111
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro, Yaël Dillies -/ import order.basic /-! # Monotonicity This file defines (strictly) monotone/antitone functions. Contrary to standard mathematical usage,...
71dd54c67ae7f8e0f5f56d884696125b6e33b0f6
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch2/ex0208.lean
c3326df6fc9d8acffad8f029171906f51be46bcf
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
13
lean
#check Prop
8bf910456766887cc5585521784f5caeb17e697f
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/group_theory/group_action/defs.lean
a47d3f47de804fd0ce32eec2ea43e3f136fda05c
[ "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
23,936
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yury Kudryashov -/ import algebra.group.defs import algebra.group.hom import algebra.group.type_tags import logic.embedding /-! # Definitions of group actions This file d...
03f222e2deb3bca93af8d35061353d31c081fa1f
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/homotopy/basic.lean
e5f049e094584ce07c65d5d542caa27224a8c5d8
[ "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
20,426
lean
/- Copyright (c) 2021 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import topology.algebra.order.proj_Icc import topology.continuous_function.ordered import topology.compact_open import topology.unit_interval /-! # Homotopy between f...
881ac4877705845ab00107663d2146300b79593b
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/ex3sigmod92.lean
f4c8bbd9882eb0dd5ba53caebad2402e57a8a1ff
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
1,849
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..cosette_tactics open Expr open Proj open Pred open SQL variables i0 i468 : const datatypes.int theorem rule : forall (Γ scm_itl scm_itp : Schema) (rel_itl : relation scm_itl) (rel_itp : relation scm_itp) ...
11571b01dc4127d4905ecc65238d262b9511946d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/box_integral/box/subbox_induction.lean
c3aa323169157c4090081483e1e0d5f7ede97352
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,113
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.box_integral.box.basic import analysis.specific_limits.basic /-! # Induction on subboxes > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes ...
d850a1840e7ecbd3ae227f01fb8315bae10a654e
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/linear_algebra/lc.lean
47d4b691b71c0dcdc6581ede75bbaf0a1e0061fd
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
9,684
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 The module `lc α β` of linear combinations over `β` (`α` is the scalar ring) -/ import linear_algebra.basic noncomputable theory open classical functio...
803360ca9666b3219944e2c7ab62fb6992f8bfc4
618003631150032a5676f229d13a079ac875ff77
/src/set_theory/zfc.lean
ad0a4b4797d7f31000dc78875e03dd652221adaf
[ "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
30,830
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro A model of ZFC in Lean. -/ import data.set.basic universes u v /-- The type of `n`-ary functions `α → α → ... → α`. -/ def arity (α : Type u) : nat → Type u | 0 :=...
4b89e08e77803d54499d8753cd730e88380f85f4
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/strInterpolation.lean
5ba9c13351b264d43892aa081e0847968c9dc556
[ "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
4,325
lean
import Lean new_frontend namespace Lean.Parser def strInterpolantStrLitKind := `strInterpolantStrLitKind def strInterpolantKind := `strInterpolantKind def isQuotableCharForStrInterpolant (c : Char) : Bool := c == '{' || isQuotableCharDefault c partial def strInterpolantFn (p : ParserFn) : ParserFn := fun c s => le...
ff412d598ac95a50519d1e6d7093b46e69a3493a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/simpDischargeLoop.lean
5abdeabba0dcb615e050ffae910e18a65120f136
[ "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,082
lean
open Nat def double : Nat → Nat | zero => 0 | succ n => succ (succ (double n)) theorem double.inj : double n = double m → n = m := by intro h induction n generalizing m with | zero => cases m <;> trivial | succ n ih => cases m with | zero => contradiction | succ m => simp [double] at...
a4dcd41874d9d143089f8dc6c9b6945b1af39099
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/relation_tactics.lean
e2030226c39d4ec054c835ca2ee071fdfcfb16d9
[ "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
954
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.function namespace tactic open expr private meta_definition relation_tactic (op_for : environment → name → option nam...
ce2f179053d2d1d756384852153352b91edd7644
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/init/hedberg.hlean
661a9b2dd5f8b66cdd242aefc5b4791d1f24e2dd
[ "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
1,498
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Hedberg's Theorem: every type with decidable equality is a hset -/ prelude import init.trunc open eq eq.ops nat is_trunc sigma -- TODO(Leo): move const coll...
5a621cf9ec2b1c378668c4308244b407b8648d03
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/07_Induction_and_Recursion.org.13.lean
bb5f0712f7c94bcde73869df83b62937b7e7fd78
[]
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
987
lean
/- page 104 -/ import standard import data.examples.vector open nat vector prod definition map {A B C : Type} (f : A → B → C) : Π {n : nat}, vector A n → vector B n → vector C n | map nil nil := nil | map (a::va) (b::vb) := f a b :: map va vb -- BEGIN print map /- definition map : Π {A : Type} {B : Type} {C ...
2d041ef14ed795c62e6598fc37ad6740740bf17c
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/int/basic.lean
1dfd6b5f840085788fa92a8bdf9eb9f5c446e84b
[ "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
59,116
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import data.nat.pow import order.min_max /-! # Basic operations on the integers This file contains: * instances on `ℤ`. The stronger one is `int.linear_ordered_comm_r...
580191e96c520e92d1140b4a11d8e75902010ef5
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/Inductive.lean
84e5a2c865dbaedbc71b955976f4ab1638879346
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
766
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.Meta.Basic /- Helper methods for inductive datatypes -/ namespace Lean.Meta /- Return true if the types of the given constructors are compati...
19e8f8aff9d9382f90aa22362077867e230d9f2b
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/tactic/doc_commands.lean
8e755e71bea8a058495518e3f3d6875aaf62341a
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,896
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import tactic.fix_reflect_string /-! # Documentation commands We generate html documentation from mathlib. It is convenient to collect lists of tactics, commands,...
58779a39d9c4ca88600c350bb164d69c962b92ad
a6f55abce20abcd06e718cb3e5fba7bf8a230fa1
/topic/alphabet.lean
fb52f182bc5bf194eac4a8b76e71c9a250429351
[]
no_license
sonna0909/abc
b8a53e906d4d000d1f2347173a1cd4221757fabf
ff7b4c621cdf6d53937f2d1b6def28de2085a2aa
refs/heads/master
1,599,114,664,248
1,573,634,309,000
1,573,634,309,000
219,406,484
0
0
null
null
null
null
UTF-8
Lean
false
false
3,084
lean
[ {"key":"a","title":"A","spelling":"/eɪ/","subs":[ {"key":"apple", "title":"Apple","spelling":"/ˈapəl/"}, {"key":"apple", "title":"There is an apple","spelling":""}, {"key":"3_apples", "title":"There are three apples","spelling":""}]}, {"key":"b","title":"B","spelling":"/biː/","subs":[ {"key":"ball", "title":"Ball...
5034d20b3e0c8e29a2be8558db7d4f1bc89735e7
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/linarith/frontend.lean
d1c36ef237fe4f376f0295053b3ae14205e4baa6
[ "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
18,567
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis -/ import tactic.linarith.verification import tactic.linarith.preprocessing /-! # `linarith`: solving linear arithmetic goals `linarith` is a tactic for solving goal...
cf2935584c95b97dbf143a1b5d4250d49175ab27
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/monoidal/discrete.lean
26dd0de12fe593e028c78a03241ae487a63e31dd
[]
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
2,384
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.category_theory.monoidal.natural_transformation import Mathlib.category_theory.discrete_cat...
4858b86dd99940ce51655e32ad32a0fda73f0c1d
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/psum_wf_rec.lean
270ffefbe7214ea59723ea722f427a8c72278368
[ "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
828
lean
def psum.alt'.sizeof {α β} [has_sizeof α] [has_sizeof β] : psum α β → nat | (psum.inl a) := 2*sizeof a + 2 | (psum.inr b) := 2*sizeof b + 1 def sum_has_sizeof_2 {α β} [has_sizeof α] [has_sizeof β] : has_sizeof (psum α β) := ⟨psum.alt'.sizeof⟩ local attribute [instance] sum_has_sizeof_2 local attribute [simp] nat.add_...
585363893d24089fc7422eda02ee25109fa89e78
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/homology/Module.lean
6e13beda5b2921ba7317ac29fcbc475b4f5e873e
[ "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,885
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 algebra.homology.homotopy import algebra.category.Module.abelian import algebra.category.Module.subobject import category_theory.limits.concrete_category /-! ...
8799d9ed7433a67f40e2cde42a95557df3e6172b
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/dynamics/circle/rotation_number/translation_number.lean
190af0e84b994f850fc281e724d237d3271d53e5
[ "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
39,613
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import analysis.specific_limits import order.iterate import order.semiconj_Sup import algebra.iterate_hom /-! # Translation number of a monotone real map that...
f6335ce6de797da651d7ca3c8bdf150bd8a6d8cd
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/preadditive/projective_resolution.lean
c61f01a3c8343b7b3638881571ba98e9bcf37d9d
[ "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
13,023
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.preadditive.projective import algebra.homology.single import algebra.homology.homotopy_category /-! # Projective resolutions A projective res...
497ed3f0db5b41f2c25691ca577cd41273142f52
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/uniform_space/completion.lean
bf73ddbfece2b3b897b89fdb97906599e9d5729f
[]
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
19,881
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.uniform_space.abstract_completion import Mathlib.PostPort univers...
a9f5e09c10630c04fdb18811958f8d97d98f95d7
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/whnf_core1.lean
4fefc2346a82e8d93ff0f01194aafd494cca52fe
[ "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
345
lean
open tactic definition f (a : nat) := a + 2 attribute [reducible] definition g (a : nat) := a + 2 example (a : nat) : true := by do to_expr ```(f a) >>= whnf >>= trace, to_expr ```(g a) >>= whnf >>= trace, to_expr ```(f a) >>= (λ e, whnf e reducible) >>= trace, to_expr ```(g a) >>= (λ e, whnf e reducible) >>...
28a6aa38bdb053bf1f2d84d77f59d7117e292cbb
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean
7465b705c81ac994cc6e00e3b4cb059eb745040c
[ "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
10,476
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.IR.Format import Lean.Compiler.IR.Basic import Lean.Compiler.IR.CompilerM namespace Lean namespace IR namespace UnreachableBranches /...
ca781c5b94a6e8e5c7e5f799e3739b7827c17e80
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/subsemiring/pointwise.lean
d27e654731c07bc1afb17051d83c430455f83e7d
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,418
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.group_ring_action import ring_theory.subsemiring.basic /-! # Pointwise instances on `subsemiring`s This file provides the action `subsemiring.pointwise_mul...
6932531c8e39cc1be19880cd087d88d6ac48c738
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/meta/smt/ematch.lean
282900a399996eeb269efd6e426296b9922ca8d4
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
7,073
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.smt.congruence_closure import init.meta.attribute init.meta.simp_tactic import init.meta.interactive_base open tactic /- Heuristic...
9e0d091241c3ca235ec715f95828940836a3ef7c
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/analysis/normed_space/mazur_ulam.lean
5d429c7aa6c332e92ea3c7a1b2e7757a2b845eac
[ "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
6,862
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.instances.real_vector_space import analysis.normed_space.affine_isometry import linear_algebra.affine_space.midpoint /-! # Mazur-Ulam Theorem Mazu...
750908a1e89d9a3a132b9a207715156c618e6961
71c62298fd72620ddff9e4ed896ca29a77073a7c
/ind.lean
e24796dea8c0cfe16a31d2c8ae68d7a217fdf4bd
[]
no_license
BelegCuthalion/lean-exc
dcfe8e4c2293a661a830ce06f5fa032563901ec6
9143dc8b8aac62b9b2dcee85b619fe5c2e2a7144
refs/heads/master
1,688,507,036,780
1,627,883,419,000
1,627,883,419,000
335,643,688
3
2
null
null
null
null
UTF-8
Lean
false
false
1,758
lean
namespace ind inductive nat : Type | O : nat | S : nat → nat namespace nat def add : nat → nat → nat | O n := n | (S m) n := S (add m n) notation x `+` y := add x y def mul : nat → nat → nat | O n := O | (S m) n := add n (mul m n) #reduce (S (S O)) + (S (S (S O))) theor...
e02e3004203849f847a0e280b06b2cc18504201f
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/finish.lean
dd2c17e32c7b6ea122dd097ae3871e2492e71778
[ "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
20,429
lean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jesse Michael Han -/ import tactic.hint /-! # The `finish` family of tactics These tactics do straightforward things: they call the simplifier, split conjunctive assump...
a9cfadeac773da889733511fbe26ebee49f97965
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/polynomial/expand.lean
b10b2f384b09d988d17c78b446750734641f0c35
[ "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,605
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 ring_theory.polynomial.basic import ring_theory.ideal.local_ring import tactic.ring_exp /-! # Expand a polynomial by a factor of p, so `∑ aₙ xⁿ` becomes `∑ aₙ xⁿᵖ`. ##...
dc3b870811e09c8503afae909257b4abffa55b24
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finsupp/basic.lean
ae25e8f65ba2e8ae261d919ae64f180a85c03751
[ "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
63,748
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, Scott Morrison -/ import algebra.big_operators.finsupp import algebra.hom.group_action import algebra.regular.smul import data.finset.preimage import data.list.alist im...
5960e7de2992706ab6f8f8c108cb21ff8bcc8be1
3c9dc4ea6cc92e02634ef557110bde9eae393338
/src/Lean/Meta/SynthInstance.lean
a560e705537bac85e74e1f2ce41f5b97720efb72
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,605
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam, Leonardo de Moura Type class instance synthesizer using tabled resolution. -/ import Lean.Meta.Basic import Lean.Meta.Instances import Lean.Meta.LevelDefEq impor...
6b29788f845f3a07c089b84d863350d9a091ca15
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/LAMR/Examples/using_lean/examples1.lean
cf985e881ee814a8e4d3abb0f279a811a9fb7421
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,679
lean
-- textbook: expressions #check 2 + 2 #check -5 #check [1, 2, 3] #check #[1, 2, 3] #check (1, 2, 3) #check "hello world" #check true #check fun x => x + 1 #check fun x => if x = 1 then "yes" else "no" -- end textbook: expressions -- textbook: types #check Nat #check Int #check List Nat #check Array Nat #check Nat × ...
b1bf5681c2b169dacc372c6ec08e70a968bdb453
dc15192b741b5d1c22cea8d65d6eb38bce3d838d
/src/base.lean
d1c2ed1cf02c2d42b59754e64f31d70ac42e5b22
[]
no_license
VArtem/lean-matroids
86910241ac8d1a5ec7b35adb77c1cc9969480fb9
a8969b1cb2456820ccbdce65e2e168c48c30d9bf
refs/heads/main
1,678,556,999,525
1,614,537,008,000
1,614,537,008,000
338,915,729
0
1
null
null
null
null
UTF-8
Lean
false
false
2,136
lean
import data.fintype.basic import tactic import matroid import finset import base_of variables {α : Type*} [fintype α] [decidable_eq α] {m : matroid α} {A B: finset α} open finset namespace matroid lemma base_eq_card (hA : m.base A) (hB : m.base B) : A.card = B.card := by {rw [←base_of_univ_iff_base] at *, exact ...
47b92cd34492891fbcf52ece6b31f8a1bed59b04
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/applications_lineaires/cpge_applin_2.lean
8cd0de6c72bc62139ca8fd9c30101c48b07de895
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
287
lean
import algebra.module.linear_map import data.real.basic def f (x y : ℝ) : prod ℝ ℝ := (x+y, x-y) theorem cpge_applin_2 [module ℝ (prod ℝ ℝ )] [E : set (prod ℝ ℝ)]: ∃ g : (linear_equiv ℝ (prod ℝ ℝ) (prod ℝ ℝ)), ∀ x y : ℝ , (f x y) = (g (x, y)) := sorry
c79cf2e4894645526e7f6b7add93e5090468305d
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Meta/KAbstract.lean
065c32452e05a0945547c06e7676bf9efec6a13f
[ "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
1,882
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Data.Occurrences import Lean.HeadIndex import Lean.Meta.ExprDefEq namespace Lean namespace Meta private partial def kabstractAux (occs : Occurr...
4a2046713995c8d6c7a2c3765c9028feb039ee50
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/metric_space/holder.lean
ab2bd573e5f5cde79fdd9450ec00b227bd9830e3
[ "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
9,797
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.metric_space.lipschitz import analysis.special_functions.pow.continuity /-! # Hölder continuous functions > THIS FILE IS SYNCHRONIZED WITH M...
99e3e2d16cb981929f4bdd9c2b5b977015d4bb6d
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/export2.lean
3472483fa06a39c006dc215ffc0b36f5f42eecb7
[ "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
156
lean
open nat definition foo : nat := 30 namespace foo definition x : nat := 10 definition y : nat := 20 end foo export foo example : x + y = foo := rfl
9ae91b434cd3de7faab73babb06d786eb1c3f1e6
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/derivation.lean
8816fcedc40de493db236da9b7a4fd51820915e4
[ "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
19,995
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri, Andrew Yang -/ import algebra.lie.of_associative import ring_theory.adjoin.basic import ring_theory.ideal.quotient_operations /-! # Derivations This file defines d...