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
894e57346f6fb262d3c7ea260bdb124e422af595
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/hott/contra1.hlean
3cf9260f584032885af9d1f535d62a72ae73664a
[ "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
347
hlean
open eq example (a b : nat) (h : empty) : a = b := by contradiction example : ∀ (a b : nat), empty → a = b := by contradiction example : ∀ (a b : nat), 0 = 1 :> ℕ → a = b := by contradiction example : ∀ (a b : nat), id empty → a = b := by contradiction example : ∀ (a b : nat), id (0 = 1 :> ℕ) → a = b := by contrad...
01557fb11c895320db5c50c63d35d3d408527838
367134ba5a65885e863bdc4507601606690974c1
/src/linear_algebra/finite_dimensional.lean
24763559341763ca8638be97710c5ebeacb99e5d
[ "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
57,434
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import linear_algebra.dimension import ring_theory.principal_ideal_domain import algebra.algebra.subalgebra /-! # Finite dimensional vector spaces Definition and basic ...
cea738302bda6e243bde8bd32c9458cb5abe4b2d
aa101d73b1a3173c7ec56de02b96baa8ca64c42e
/src/exercises/07_first_negations.lean
b6a6c88ff66c243b323fa147f89a618b5c4996e6
[ "Apache-2.0" ]
permissive
gihanmarasingha/tutorials
b554d4d53866c493c4341dc13e914b01444e95a6
56617114ef0f9f7b808476faffd11e22e4380918
refs/heads/master
1,671,141,758,153
1,599,173,318,000
1,599,173,318,000
282,405,870
0
0
Apache-2.0
1,595,666,751,000
1,595,666,750,000
null
UTF-8
Lean
false
false
6,781
lean
import tuto_lib import data.int.parity /- Negations, proof by contradiction and contraposition. This file introduces the logical rules and tactics related to negation: exfalso, by_contradiction, contrapose, by_cases and push_neg. There is a special statement denoted by `false` which, by definition, has no proof. So ...
e7b64d3ee3dea6368f135666fbd7888bcdab4fac
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/order/order_iso_nat.lean
b7fe7887e4546c14a87991ea7df82a7edbbdb211
[ "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,863
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.nat.basic import order.rel_iso import logic.function.iterate namespace rel_embedding variables {α : Type*} {r : α → α → Prop} /-- If `f` is a strictly `...
faa7fe5260ac81cc01eb8cf66a947e67949f2a78
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/tactic/tauto.lean
f1b48df4f501ff666a4c81f1650d95174499efe9
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
9,700
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.hint namespace tactic open expr open tactic.interactive ( casesm constructor_matching ) /-- find all assumptions of the shape `¬ (p ∧ q)` or `¬ (p ∨ q)` ...
e06570ecef7e2138864983fe88d161596dd344a7
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/compiler/qsortBadLt.lean
6d28b707149b91d7dc7b826285d152b93b025b4b
[ "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
128
lean
#lang lean4 def badLt (a b : Nat) : Bool := a != b def main : IO Unit := let xs := [1, 2].toArray; IO.println $ xs.qsort badLt
468098ae6b47c82e5b40aaec0d88c2fea2c51fc6
1901b51268d21ec7361af7d3534abd9a8fa5cf52
/src/graph_theory/cayley.lean
f9aed19cbc3376e4e102fadf640b9edeb1a85fba
[]
no_license
vbeffara/lean
b9ea4107deeaca6f4da98e5de029b62e4861ab40
0004b1d502ac3f4ccd213dbd23589d4c4f9fece8
refs/heads/main
1,652,050,034,756
1,651,610,858,000
1,651,610,858,000
225,244,535
6
1
null
null
null
null
UTF-8
Lean
false
false
3,032
lean
import combinatorics.simple_graph.metric import graph_theory.path namespace simple_graph namespace cayley structure genset (G : Type*) [group G] := (els : finset G) (sym : ∀ {s : G}, s ∈ els → s⁻¹ ∈ els) (gen : subgroup.closure (coe els) = (⊤ : subgroup G)) (nem : els.nonempty) (irr : (1:G) ∉ els) variable...
c17cdb1016daa8093d5c4abb92aaf26e7e2acb3f
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/StructInst.lean
1be8b4141c58b9fe3fe5c84795d63378d7f52e66
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
36,977
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.FindExpr import Lean.Parser.Term import Lean.Meta.Structure import Lean.Elab.App import Lean.Elab.Binders namespace Lean.Elab.Term.StructI...
369637041696ee33f76a6b396414f54d3148a80a
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Init/Data/Format/Syntax.lean
5f73f6fea7596c9590e051467c011c45afcbe5b4
[ "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
1,784
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Format.Macro import Init.Data.Format.Instances import Init.Meta namespace Lean.Syntax open Std open Std.Format private def format...
63368dd0bbe0f8760802fd5faf414efa8b9c1e0d
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Elab/AuxDef.lean
e0661c5ab795181f7483382a8b2411bf6482db85
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
1,392
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import Lean.Elab.Command namespace Lean.Elab.Command open Lean.Parser.Command open Lean.Parser.Term /-- Declares an auxiliary definition with an automatically...
1e673bea0e2d9a913175201152b9d6bcdb5f5df1
9dc8cecdf3c4634764a18254e94d43da07142918
/src/geometry/manifold/diffeomorph.lean
cead8e7582a079be1db0680a0d99cdd660f51e4e
[ "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
21,065
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri, Yury Kudryashov -/ import geometry.manifold.cont_mdiff_map /-! # Diffeomorphisms This file implements diffeomorphisms. ## Definitions * `diffeomorph I I' M M' n`:...
e903550cd8992d861818d2f531bd399eae52246d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/char_p/local_ring.lean
a4e109e095e5284efec305f69f8a24d89fe53681
[ "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,972
lean
/- Copyright (c) 2022 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Eugster -/ import algebra.char_p.basic import data.nat.factorization.prime_pow import ring_theory.ideal.local_ring /-! # Characteristics of local rings ## Main result - `char_p_zer...
c254462a66da8388e7d63986a817de52c831a0b9
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Meta/PPGoal.lean
b678a65019368168e52740662a339b1b0e9687e9
[ "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
9,266
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.Hygiene import Lean.Meta.InferType namespace Lean.Meta def ppAuxDeclsDefault := false builtin_initialize registerOption `pp.auxDecls { defVal...
2977d1a20737adea70344649c97ce224cade67ae
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/LazyInitExtension.lean
9c70670a7ff540087b1099c79f25ad1b0ee8d81d
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,329
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.MonadEnv namespace Lean structure LazyInitExtension (m : Type → Type) (α : Type) where ext : EnvExtension (Option α) fn : m α instance [...
3be3951d53eb65be29f0c743039ac7d620a9fc39
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/integral/fund_thm_calculus.lean
5395634b24f97078622ae3cd8247ce663078fd64
[ "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
83,335
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Patrick Massot, Sébastien Gouëzel -/ import analysis.calculus.fderiv_measurable import analysis.calculus.deriv.comp import analysis.calculus.deriv.add import an...
35fab2245b9bc228e5aac66200417bf3fb34e693
82e44445c70db0f03e30d7be725775f122d72f3e
/src/linear_algebra/matrix/basis.lean
f4a6cf0f78d3e277d0180abb717adba56c1262d7
[ "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
6,289
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, Patrick Massot, Casper Putz, Anne Baanen -/ import linear_algebra.matrix.reindex import linear_algebra.matrix.to_lin /-! # Bases and matrices This file defines the ma...
b58e58c6ce5b625feee3540caa4459345ec871c0
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/hints/thursday/afternoon/category_theory/exercise3/hint5.lean
7adc63e9fbf48fd50403686670add7711b4ff59d
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
562
lean
import for_mathlib.category_theory -- This imports some simp lemmas that I realised belong in mathlib while writing this exercise. open category_theory variables {C : Type*} [category C] variables {D : Type*} [category D] lemma equiv_reflects_mono {X Y : C} (f : X ⟶ Y) (e : C ≌ D) (hef : mono (e.functor.map f)) : ...
503222c68c20a78b499be1b1d7937edd66e22e7b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/normed_space/star/exponential.lean
1cd4c9045f96ba8e796d3012ec1d181a57c1f2d1
[ "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
2,344
lean
/- Copyright (c) 2022 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import analysis.normed_space.exponential /-! # The exponential map from selfadjoint to unitary In this file, we establish various propreties related to the map `λ a, e...
84f5f13dbf975c3bf5d0c260d9d1afeda1ec86ca
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/simplifier4.lean
9f125b89d9115a8b5c02f4cf8683954e08c5fc89
[ "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
642
lean
/- Basic rewriting with a custom relation without congruence or conditionals -/ import logic.connectives data.nat universe l constant T : Type.{l} constants (x y z : T) (f g h : T → T) constants (R : T → T → Prop) constants (R_refl : ∀ x, R x x) (R_sym : ∀ x y, R x y → R y x) (R_trans : ∀ x y z, R x y → R y z → R x z...
80cae07b823fd9bb2f1682d55217bbeb4a54108f
4727251e0cd73359b15b664c3170e5d754078599
/src/data/nat/bitwise.lean
71488ae19e2d0ee4107281a38f87b39adfc848ac
[ "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,569
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 tactic.linarith /-! # Bitwise operations on natural numbers In the first half of this file, we provide theorems for reasoning about natural numbers from their ...
218b2d971d818bd8be378afa353bc7bd1f57351c
80d0f8071ea62262937ab36f5887a61735adea09
/src/certigrad/predicates.lean
2eec1c9fc57803dfb00e765ef643ba5b0a51d00a
[ "Apache-2.0" ]
permissive
wudcscheme/certigrad
94805fa6a61f993c69a824429a103c9613a65a48
c9a06e93f1ec58196d6d3b8563b29868d916727f
refs/heads/master
1,679,386,475,077
1,551,651,022,000
1,551,651,022,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,137
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Predicates. -/ import .util .id .reference .graph .compute_grad open list namespace certigrad def is_downstream (cost : ID) : reference → list node → Prop | _ [] := fa...
493f3e37418ed9dd133e9b75d475c2709dbb4e16
bde6690019e9da475b0c91d5a066e0f6681a1179
/library/standard/list.lean
dac06c7a4bc6abcb4d958ecd3baa6a7af3b17a1e
[ "Apache-2.0" ]
permissive
leodemoura/libraries
ae67d491abc580407aa837d65736d515bec39263
14afd47544daa9520ea382d33ba7f6f05c949063
refs/heads/master
1,473,601,302,073
1,403,713,370,000
1,403,713,370,000
19,831,525
1
0
null
null
null
null
UTF-8
Lean
false
false
23,572
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Parikshit Khanna. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Author: Parikshit Khanna, Jeremy Avigad -----------------------------------------...
cc406c6c4c0b32a5ff5699ff466d3605c7236e0e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/witt_vector/basic.lean
8165b12e66ce48c202431c4df32d19100d5b69e3
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
9,173
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.mv_polynomial.counit import data.mv_polynomial.invertible import ring_theory.witt_vector.defs /-! # Witt vectors This file verifies th...
40603577d0e86a341906897fb17cd6258e4a4602
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/algebra/monoid.lean
ac19546f6a4877bdf11a4caf1e3c231c17f65ca1
[ "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
17,087
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.continuous_on import group_theory.submonoid.operations import algebra.group.prod import algebra.pointwise import algebra.big_operators...
437fac8615b628afc6a53579f0429a4686a241ea
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/array1.lean
d62709930111c61cffb6fd7b1beee090ec79348f
[ "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
805
lean
#check @Array.mk def v : Array Nat := @Array.mk Nat 10 (fun ⟨i, _⟩ => i) def w : Array Nat := (mkArray 9 1).push 3 def f : Fin w.sz → Nat := Array.casesOn w (fun _ f => f) def arraySum (a : Array Nat) : Nat := a.foldl Nat.add 0 #eval mkArray 4 1 #eval Array.map (fun x => x+10) v #eval f ⟨1, sorry⟩ #eval f ⟨9, sorr...
80335cb404656c70acecb117f4dd8bd56821952b
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/W.lean
e37a352c374a2adb2fe746d6f8edf64544708566
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
3,994
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import data.equiv.encodable data.equiv.list data.fin data.finset data.fintype /-! # W types Given `α : Type` and `β : α → Type`, the W type determined by this data, `...
1fe6a09884f8df423ca975d9ccc7040be8607958
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/list/basic.lean
923d979f8048c1c6494e00f56795f0bff55eabcb
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
174,475
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
37ea4aa025dc477ced300d1fdd352a31c3d3165e
618003631150032a5676f229d13a079ac875ff77
/src/data/quot.lean
eb7696f21f05be272df8108657ae63b2a5407c4c
[ "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
11,924
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 Quotients -- extends the core library -/ import logic.relator variables {α : Sort*} {β : Sort*} namespace setoid lemma ext {α : Sort*} : ∀{s t : setoid α}, (∀a b, ...
2653b8e75e768462eb35eff051dfe4a645b80ce9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/number_theory/bernoulli.lean
6ed005f9b0d2c724b2f4885225c5d050ab001a65
[]
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,781
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kevin Buzzard -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.rat.default import Mathlib.data.fintype.card import Mathlib.PostPort n...
fd70f95249ba0c9d7f4c66f564e6cae1d644d0f9
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/algebra/affine.lean
3f352435e79ac736a711dc89c8fd28745a984793
[ "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
2,143
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import topology.continuous_function.algebra import linear_algebra.affine_space.affine_map /-! # Topological properties of affine spaces and maps For now, this con...
ed4884b8d67dff6f800f059a02d9ce233268fe20
a7602958ab456501ff85db8cf5553f7bcab201d7
/Assignment2/homework.lean
a82f5964960a962b829e9ccfdec295aa27328503
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,901
lean
-- Assignment 2 -- Dom Farolino, farolidm@mail.uc.edu -- Math Logic -- At the time of writing, all of these are correct, and give no erroneous -- output in Lean, except the final proof, which indicates a sorry is used, -- because I have not completed it yet. variables A B C D : Prop section example: A ∧ (A → B) → B...
5ab53090936dbcb61521484689719ad0824ab62f
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Init/Data/List/Control.lean
2c47270291530931ec612910b9c58fce3a4f39e4
[ "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
7,637
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.Basic import Init.Data.List.Basic namespace List universe u v w u₁ u₂ /-! Remark: we can define `mapM`, `mapM₂` and `forM` usin...
e5f089efde95a52d3381ddc08254d2fb1af44b0d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/uniform_space/separation.lean
627f8a10718c7eb57d7f3dfe0b944f916f5f2816
[ "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
20,314
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, Patrick Massot -/ import tactic.apply_fun import data.set.pairwise import topology.uniform_space.basic import topology.separation /-! # Hausdorff properties of unifor...
800ec3e65961def44bdec8d1bb4c0639b5ed05fd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/matrix/charpoly/linear_map.lean
ca434773697f6ae114ec63ab4b1ba4b8ae6de3ae
[ "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
10,200
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import linear_algebra.matrix.charpoly.coeff import linear_algebra.matrix.to_lin /-! # Calyley-Hamilton theorem for f.g. modules. Given a fixed finite spanning set `b : ι...
403f9d398e5ae0745648abbe5ea5529399973d45
46125763b4dbf50619e8846a1371029346f4c3db
/src/ring_theory/algebra_operations.lean
47b138f8682fe2fd9789540d602f1c7d8b1d1613
[ "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
9,142
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Multiplication and division of submodules of an algebra. -/ import ring_theory.algebra algebra.pointwise import tactic.chain import tactic.monotonicity.basic universes u v ope...
e7db2e34c5450c8d6e645f3030133379ad645c46
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/data/complex/module.lean
fdd31fc799378960453e0e7c521255b06c27c137
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
5,316
lean
/- Copyright (c) 2020 Alexander Bentkamp, Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Sébastien Gouëzel -/ import data.complex.basic import algebra.algebra.ordered import data.matrix.notation import field_theory.tower import li...
a3956e58baa0f68a373c4174f53dc3c868962ba4
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Elab/LetRec.lean
68bee7742328a6ddfc87d8b14430447756d734a8
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,906
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.Attributes import Lean.Elab.Binders import Lean.Elab.DeclModifiers import Lean.Elab.SyntheticMVars import Lean.Elab.DeclarationRange names...
533fcee013b86f07a9c2c65a8481fe73b7c970bb
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/quot_auto.lean
3c0ba31323653c0f0675b7ef5efa5281a370b049
[]
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
24,411
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.logic.relator import Mathlib.PostPort universes u_1 u_2 u_3 u_4 u namespace Mathlib /-!...
1573f216405b82fa78de6d7742f5312e70668b1f
9b0cdc31ceef59f5fbd4e20acad77a7a59044088
/src/exercises/02_iff_if_and.lean
a93cf4d544c171b8a994234df49c75403e6dcbd8
[ "Apache-2.0" ]
permissive
andrewparr/tutorials
964ebb8b4eae2b658a946843f8f9fc5c69b79761
0fd6cefe7e62f0d4bfa12ebd115913f8ef4fbd62
refs/heads/master
1,687,573,595,883
1,626,653,659,000
1,626,653,659,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,760
lean
import data.real.basic /- In the previous file, we saw how to rewrite using equalities. The analogue operation with mathematical statements is rewriting using equivalences. This is also done using the `rw` tactic. Lean uses ↔ to denote equivalence instead of ⇔. In the following exercises we will use the lemma: su...
312525a645641f154a857da07b0fd9c57452164c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/deps/foo/Foo/Bar.lean
be6fe41c2e6912d7d9b1414365795198ef909744
[ "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
33
lean
import Foo.Foo def bar := "bar"
3ab3728c304b9d845e0c87fbe5fc3fc16ff9a13d
976d2334b51721ddc405deb2e1754016d454286e
/src/game_files/mwe.lean
008d2a8025fcce89f2da3d3db47cdcdfa7e5a2cf
[]
no_license
kbuzzard/lean-at-MC2020
11bb6ac9ec38a6caace9d5d9a1705d6794d9f477
1f7ca65a7ba5cc17eb49f525c02dc6b0e65d6543
refs/heads/master
1,668,496,422,317
1,594,131,838,000
1,594,131,838,000
277,877,735
0
0
null
1,594,142,006,000
1,594,142,005,000
null
UTF-8
Lean
false
false
8
lean
mwe.lean
1a35347f76f569891f7c931975d4e749f863281d
159fed64bfae88f3b6a6166836d6278f953bcbf9
/Structure/FunctorStructure.lean
7d2078244a0f45038bcd5198ac0092edbf0d2391
[ "MIT" ]
permissive
SReichelt/lean4-experiments
3e56830c8b2fbe3814eda071c48e3c8810d254a8
ff55357a01a34a91bf670d712637480089085ee4
refs/heads/main
1,683,977,454,907
1,622,991,121,000
1,622,991,121,000
340,765,677
2
0
null
null
null
null
UTF-8
Lean
false
false
6,000
lean
-- An abstract formalization of "isomorphism is equality up to relabeling" -- ------------------------------------------------------------------------- -- -- See `README.md` for more info. -- -- Definitions related to `functorStructure`. import Structure.Basic import Structure.UniverseFunctor import Structure.Produ...
113d60c42051f0fa4238b49a40ed719d53ce080f
a8c03ed21a1bd6fc45901943b79dd6574ea3f0c2
/cdcl_solver.lean
17b7fcf9e6e183c8786fb007c3965c1fa6fe291f
[]
no_license
gebner/resolution.lean
716c355fbb5204e5c4d0c5a7f3f3cc825892a2bf
c6fafe06fba1cfad73db68f2aa474b29fe892a2b
refs/heads/master
1,601,111,444,528
1,475,256,701,000
1,475,256,701,000
67,711,151
0
0
null
null
null
null
UTF-8
Lean
false
false
13,012
lean
import clause open tactic expr monad namespace cdcl @[reducible] meta def prop_var := expr @[reducible] meta def proof_term := expr @[reducible] meta def proof_hyp := expr meta inductive trail_elem | dec : prop_var → bool → proof_hyp → trail_elem | propg : prop_var → bool → proof_term → proof_hyp → trail_elem | dbl_...
0033b72deaaf79c30f6aa5a160a13226a2e4e83f
47181b4ef986292573c77e09fcb116584d37ea8a
/src/for_mathlib/list.lean
895cf0a5e9451ab38e8da46739a0ce54a5785905
[ "MIT" ]
permissive
RaitoBezarius/berkovich-spaces
87662a2bdb0ac0beed26e3338b221e3f12107b78
0a49f75a599bcb20333ec86b301f84411f04f7cf
refs/heads/main
1,690,520,666,912
1,629,328,012,000
1,629,328,012,000
332,238,095
4
0
MIT
1,629,312,085,000
1,611,414,506,000
Lean
UTF-8
Lean
false
false
3,043
lean
import data.list.range import data.list.indexes namespace list lemma sum_ext_le {α : Type*} [ordered_add_comm_monoid α] {l l' : list α} (hl : l.length = l'.length) (h : ∀ {i} (hle), l.nth_le i hle ≤ l'.nth_le i (hl ▸ hle)) : l.sum ≤ l'.sum := begin induction l with hd tl IH generalizing l', { have : l' = ni...
85f946427470c360a426c25a6ae64324f8a976bb
761d983a78bc025071bac14a3facced881cf5e53
/new_affine/list_as_k_tuple.lean
6b74e9348333ee258b27e458efae61398ba764b8
[]
no_license
rohanrajnair/affine_lib
bcf22ff892cf74ccb36a95bc9b7fff8e0adb2d0d
83076864245ac547b9d615bc6a23804b1b4a8f70
refs/heads/master
1,673,320,928,343
1,603,036,653,000
1,603,036,653,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,574
lean
import algebra.ring tactic.ext /-! This file includes definitions and theorems about lists as vectors. These are necessary to instantiate specific instances of vector spaces (e.g. coordinate spaces over fields, Minkowski space, etc) -/ universes u v variables {k : Type u} [ring k] [inhabited k] {α : Type v} [has_...
63c20823211574c7f74dab86bab9bff2b88aabe1
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/973b.lean
c2887d94ce7979bc8969487686f64edb08cbcf34
[ "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
305
lean
opaque f : Nat → Nat opaque q : Nat → (Nat → Prop) → Nat @[simp] theorem ex {x : Nat} {p : Nat → Prop} (h₁ : p x) (h₂ : q x p = x) : f x = x := sorry set_option trace.Meta.Tactic.simp.discharge true theorem foo : f (f x) = x := by simp (config := { failIfUnchanged := false }) sorry
b876f8eb1401c4666e32738a7bfdc9843113919a
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/multiset.lean
cb10d690e0958a2218a6a7400517bc31de6a702b
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
134,743
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Multisets. -/ import data.list.sort import data.list.intervals import data.list.antidiagonal import data.string.basic import algebra.group_power import algebra.or...
b5a2dd34cb4c4c6700a919304f3b4112e51dbd82
367134ba5a65885e863bdc4507601606690974c1
/src/order/lexicographic.lean
f69657dc8d210b931cdc23885c0e3bbc470ec0dc
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
8,143
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison, Minchao Wu Lexicographic preorder / partial_order / linear_order / linear_order, for pairs and dependent pairs. -/ import tactic.basic universes u v /-- The cartesian...
7a753950360efa0df4d9bd634f56496c5ca2112c
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/real/cardinality.lean
bc8e478aee486c446eca0a591cdcb048f50742a8
[ "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
9,609
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 analysis.specific_limits.basic import data.rat.denumerable import data.set.intervals.image_preimage import set_theory.cardinal.continuum /-! # The cardina...
d25ac3d2dc34cece53f22850402c6b75e7753e05
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/monad/equiv_mon.lean
5c561020f1fd9a4bf58a81b927ccccafaa7d33e0
[ "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
3,281
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.monad.bundled import category_theory.monoidal.End import category_theory.monoidal.Mon_ import category_theory.category.Cat /-! # The equivalence betw...
4cf75d5fa872fb13c266a03dc4c319d778e43a3a
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/scc.lean
9c1240bca61a697b0bb8adffab8f63c511a0103c
[ "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
778
lean
import Lean.Util.SCC new_frontend open Lean.SCC def checkSCC (expected : List (List Nat)) (vertices : List Nat) (successorsOf : Nat → List Nat) : IO Unit := do let r := scc vertices successorsOf IO.println r «unless» (expected == r) $ throw $ IO.userError ("expected result " ++ toString expected) #eval checkSCC [[2...
c5d0889aa6d9dd7efb6458a84290025c07509a62
0ec6b5eb2131429a4464b8e6c6f09897abba3de1
/src/monoid_ring.lean
61283908cdb4642038401a42acc49d604ff7e74b
[]
no_license
kckennylau/local-langlands-abelian
ba1b86e9d956778cd28ac900ffec02b0f0ba172a
ee22666898357dab800a0432214a22c519ed26a9
refs/heads/master
1,584,671,060,846
1,545,151,246,000
1,545,151,246,000
137,111,892
8
0
null
null
null
null
UTF-8
Lean
false
false
5,577
lean
import data.finsupp data.equiv.basic import .algebra universes u v w class is_add_monoid_monoid_hom {α : Type u} {β : Type v} [add_monoid α] [monoid β] (f : α → β) : Prop := (add : ∀ a b : α, f (a + b) = f a * f b) (zero : f 0 = 1) def add_monoid_monoid_hom (α : Type u) (β : Type v) [add_monoid α] [mo...
d43d01f81e70b9500acac47ee7e1671bd10c8aaf
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/626a.lean
2791ce8d7f37d8e82de37e07a89299339fef2fb8
[ "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
191
lean
namespace foo definition C₁ := nat definition foo (c : C₁) := nat.rec_on c _ _ end foo namespace boo notation `C₁` := nat definition foo (c : C₁) := nat.rec_on c _ _ end boo
00fde5f3961f748e79db5fb1ecd0551c2450425f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/ExternAttr.lean
cc563ba458353f6f9378fa0ab2cf0b765fb2a305
[ "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
6,151
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.Expr import Lean.Environment import Lean.Attributes import Lean.ProjFns import Lean.Meta.Basic namespace Lean inductive ExternEntry where | ...
a065f919fed1e7d65a6a086a6bbaa3fff6868adb
4fa118f6209450d4e8d058790e2967337811b2b5
/src/perfectoid_space.lean
860753c4b23031dc47a3279f2cb1461f37424350
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
2,170
lean
-- We import definitions of adic_space, Huber_pair, etc import Frobenius import adic_space import Tate_ring import power_bounded /-! # Perfectoid Spaces Definitions in this file follow Scholze's paper: Étale cohomology of diamonds, specifically Definition 3.1 and 3.19 For more information on how to read this file, s...
f363f8eb9a7e5d49586eb64f7aa0b4c1ba44b9d2
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/deps/x86_semantics/src/X86Semantics/Evaluator.lean
db2c6878bd71f31e413106ee5aa6859127098378
[]
no_license
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
34,987
lean
-- Evaluates actions in an environment. import Galois.Data.Bitvec import X86Semantics.Common import X86Semantics.BackendAPI -- import .sexpr axiom I_am_really_sorry : ∀(P : Prop), P -- FIXME: move def annotate {ε} {m} [Monad m] [MonadExcept ε m] {a} (f : ε -> ε) (c : m a) : m a := catch c (fun e => throw (f e)) ...
d2bb1be0098f8847c871f8fa5fa91661eef30b95
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/dual.lean
fc9421636e75a502a8bdd63c079f32b0e67cc532
[ "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
52,875
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Fabian Glöckle, Kyle Miller -/ import linear_algebra.finite_dimensional import linear_algebra.projection import linear_algebra.sesquilinear_form import ring_theory.fini...
57059a5e842836036d652158ace046065923080d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/FloatArray.lean
7c798deaa3e29f34737d1c2e5fb35e8d0e375e21
[ "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
205
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 -/ prelude import Init.Data.FloatArray.Basic
7cfcee00aa1bcb119c3ccc9dc2ea5572aa411af8
649957717d58c43b5d8d200da34bf374293fe739
/src/category_theory/punit.lean
06d77ec54c688440583e122eee66af0ea15d65f2
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
1,165
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.const universes v w u -- declare the `v`'s first; see `category_theory.category` for an explanation namespace category_theory instance p...
f28c9f22c92a8fe85e4035d5b47b508aa5d928e5
e2fc96178628c7451e998a0db2b73877d0648be5
/src/utilities/language_operations.lean
d177195dd7594acfe6bcb00759648bef3438a896
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
349
lean
import computability.language variables {T : Type} def reverse_lang (L : language T) : language T := λ w : list T, w.reverse ∈ L def bijemap_lang {T' : Type} (L : language T) (π : equiv T T') : language T' := λ w : list T', list.map π.inv_fun w ∈ L def permute_lang (L : language T) (π : equiv.perm T) : language T :...
8810753d552d90f21192f4a5f838f7281dcd8431
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_lean_summary/unnamed_524.lean
605e5f9be70f2ca4d6a690909b39b285bc93aede
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
75
lean
variables p : Prop -- BEGIN example (h : false) : p := false.elim h -- END
d74c1418a5a4c2e8e7dce0a045c268978f608eb4
92b50235facfbc08dfe7f334827d47281471333b
/library/init/num.lean
ca83897be389d9ac128f4d8339ce3e74d107e660
[ "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
3,280
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.logic init.bool open bool definition pos_num.is_inhabited [instance] : inhabited pos_num := inhabited.mk pos_num.one namespace pos_nu...
a3cccb75d6517eac093bbe21a79513d31f6d3b4c
bb31430994044506fa42fd667e2d556327e18dfe
/src/ring_theory/power_series/basic.lean
5752dc54e58b4b5d1d5af96f2b97bb7b0940583a
[ "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
76,711
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau -/ import data.finsupp.interval import data.mv_polynomial.basic import data.polynomial.algebra_map import data.polynomial.coeff import linear_algebra.std_basi...
38e1e9d4502862ea813787b5b492993c0310c89b
fffbc47930dc6615e66ece42324ce57a21d5b64b
/src/tactic/tidy.lean
ffd7f0ad5bebf5b6bc718d8e27e96c27dd424d8e
[ "Apache-2.0" ]
permissive
skbaek/mathlib
3caae8ae413c66862293a95fd2fbada3647b1228
f25340175631cdc85ad768a262433f968d0d6450
refs/heads/master
1,588,130,123,636
1,558,287,609,000
1,558,287,609,000
160,935,713
0
0
Apache-2.0
1,544,271,146,000
1,544,271,146,000
null
UTF-8
Lean
false
false
3,112
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 tactic.ext import tactic.auto_cases import tactic.chain import tactic.solve_by_elim import tactic.interactive namespace tactic namespace tidy meta def ti...
a5457a5e489f903a9f9663a2569ba670371c6ec6
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Lean/Elab/MutualDef.lean
3ad701f86b704b6da4fcab6966b818f8f961f4cd
[ "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
29,026
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.Parser.Term import Lean.Meta.Closure import Lean.Meta.Check import Lean.Elab.Command import Lean.Elab.DefView import Lean.Elab.PreDefinition imp...
9f3c28d92edfb37865bdde31b0f5e84787a6d597
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/nat/bquant.lean
28f6dd7e51c2fccae870e7988c5dcfb3a9690acd
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,383
lean
import data.nat.sub open nat def ball (n : nat) (P : nat → Prop) := ∀ k : ℕ, k < n → P k def ball' (n : nat) (P : Π (k : ℕ) (p : k < n), Prop) := Π (k : ℕ) (p : k < n), P k p theorem ball_zero (P : nat → Prop) : ball 0 P := λ x Hlt, absurd Hlt (not_lt_zero _) theorem ball_zero' (P : Π (k : ℕ) (p : k < 0), ...
0e7797b94bc7712de5f671036d384c9f7906aec6
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category/traversable/instances.lean
9d7e270f1acaee539e556217cf8fb4c69c28efdd
[ "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
5,566
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Instances of `traversable` for types from the core library -/ import category.traversable.basic category.basic category.functor category.applicative import data.list.forall2 ...
17b790a34d95cf1558c07b34d643e361c7d75eda
367134ba5a65885e863bdc4507601606690974c1
/src/group_theory/coset.lean
40d9ad2044c947628183c2d5ae039f9a8cdc47f3
[ "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
14,286
lean
/- Copyright (c) 2018 Mitchell Rowett. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mitchell Rowett, Scott Morrison -/ import group_theory.subgroup /-! # Cosets This file develops the basic theory of left and right cosets. ## Main definitions * `left_coset a s`:...
e832ebd5360bad250c57845718a754aeb128d781
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/topology/algebra/ordered.lean
acf3f22540f9374ac352d14d3ad45be044a705cb
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
78,906
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 tactic.tfae import order.liminf_limsup import data.set.intervals import topology.algebra.group /-! # Theory of topology on or...
0fda69137a8cd22955df58b460753cc52c9595a5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/list.lean
afca35ed9df53188f3ec54e7d1b7dee989525433
[ "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,653
lean
/- Copyright (c) 2023 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import data.set.image import data.list.basic import data.fin.basic /-! # Lemmas about `list`s and `set.range` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any cha...
6a9fd64ce68b0bf6e8a242eec185b43d705859bc
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/IdempotentMagma.lean
4f9cbc264e78364cc58e098feb8f035be1e28d55
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,054
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section IdempotentMagma structure IdempotentMagma (A : Type) : Type := (op : (A → (A → A))) (idempotent_op : (∀ {x : A} , (op x x) = x)) open IdempotentMagma st...
0a921e3d98ada852069df6889f02afed5d931fb7
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/iff_rw.lean
67453f86362a4f17fd02d98a25fb56c98fcbb39a
[ "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
253
lean
import logic example (a b : Prop) : a ∧ b → b ∧ a := begin intros, rewrite and.comm, assumption end example (a b c : Prop) : a ∧ b ∧ c → b ∧ a ∧ c := begin intros, rewrite [-and.assoc, {b ∧ a}and.comm, and.assoc], assumption end
8aa9b218011f2fa61ef704f37515f71b9702f6a0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/dynamics/circle/rotation_number/translation_number.lean
5d8eef177956d22c66cecf59f6f804547e3e2eb8
[]
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
34,850
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.specific_limits import Mathlib.order.iterate import Mathlib.order.semiconj_...
de8fbdc08bf57ac2d9dbf84c3956958fc1d3c83e
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/topology/subset_properties.lean
2aca606a2ba2714b53f1735800bdd3a370f67b23
[ "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
62,581
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.bases import data.finset.order import data.set.accumulate /-! # Properties of subsets of topological spaces In this...
c7ffec4caff337869c186001dbe31540276a8ffa
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Init/NotationExtra.lean
27c2fbedcf40cbc6e143d23028cbe5f747e47c53
[ "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
8,320
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 Extra notation that depends on Init/Meta -/ prelude import Init.Meta import Init.Data.Array.Subarray import Init.Data.ToString namespace Lean macro "Macro.tr...
a5b0bac509a0c96cd7936f5b01556c8cb697ccd8
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Elab/StructInst.lean
b05a6480790380447d5561ea24416660509fd45e
[ "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
34,005
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.FindExpr import Lean.Parser.Term import Lean.Elab.App import Lean.Elab.Binders namespace Lean.Elab.Term.StructInst open Std (HashMap) ope...
3158f0aa300bfb8df18d6efd136322a192df27d2
3c693e12637d1cf47effc09ab5e21700d1278e73
/src/group/basic.lean
f4b33126c10ed828c9df715319aadb6f5e04d59b
[]
no_license
ImperialCollegeLondon/Example-Lean-Projects
e731664ae046980921a69ccfeb2286674080c5bb
87b27ba616eaf03f3642000829a481a1932dd08e
refs/heads/master
1,685,399,670,721
1,623,092,696,000
1,623,092,696,000
275,571,570
19
1
null
1,593,361,524,000
1,593,344,124,000
Lean
UTF-8
Lean
false
false
10,898
lean
import tactic /- Making group theory in a theorem prover -/ namespace mygroup -- A group needs multiplication, inverse, identity class group (G : Type) extends has_mul G, has_inv G, has_one G := -- axioms go here (mul_assoc : ∀ (a b c : G), (a * b) * c = a * (b * c)) (one_mul : ∀ (a : G), 1 * a = a) (mul_left_inv : ...
25fb0414b58d2a749a799647ffc7c2f8e3561fa8
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/group/to_additive.lean
b20d2f624ef28a88a9a4ffeaa37e8d4f89d5f65e
[ "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
13,545
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury Kudryashov -/ import tactic.transform_decl import tactic.algebra /-! # Transport multiplicative to additive This file defines an attribute `to_additive` that can...
c067ea8b4531776ca63600ed25d8548fe2885760
82e44445c70db0f03e30d7be725775f122d72f3e
/src/algebra/lie/subalgebra.lean
9d279073a5138577bca164602650f1d1bdce76f1
[ "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
21,177
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.basic import ring_theory.noetherian /-! # Lie subalgebras This file defines Lie subalgebras of a Lie algebra and provides basic related definitions and...
ddefdfe0a9cd810bd2d736e3518fe96d11d740a8
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/fin.lean
5b9eeb2aa23452904938fb5fe69377ab3eea31c7
[ "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
29,846
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import data.nat.cast /-! # The finite type with `n` elements `fin n` is the type whose elements are natural numbers smaller than `n`. This file expand...
f27bcc803e368072be974380f1e142114585e07f
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/amc12-2000-p12.lean
4ca8ec947010d5900ed0323604de24e562ccafba
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
269
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic example (a m c : ℕ) (h₀ : a + m + c = 12) : a*m*c + a*m + m*c + a*c ≤ 112 := begin sorry end
a77ba25e3c6c13e2b713a1915f8f69b639ca677e
b815abf92ce063fe0d1fabf5b42da483552aa3e8
/tmp/debugger_example.lean
12c5d17e4bb9415130eb773b535716ebfeaa3b06
[ "Apache-2.0" ]
permissive
yodalee/lean
a368d842df12c63e9f79414ed7bbee805b9001ef
317989bf9ef6ae1dec7488c2363dbfcdc16e0756
refs/heads/master
1,610,551,176,860
1,481,430,138,000
1,481,646,441,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
229
lean
import debugger set_option debugger true set_option debugger.autorun true open tactic local attribute [breakpoint] tactic.constructor example (p q : Prop) : p → q → p ∧ q := by do intros, constructor, repeat assumption
563211b51605ce9228e35168af83b4e9e31b12ce
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/doNotation1.lean
41228deb6da57b69eaea084dc9567e7c018f5087
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
3,087
lean
open Lean def f : IO Nat := pure 0 def g (x : Nat) : IO Nat := pure (x + 1) def g1 {α : Type} (x : α) : IO (α × α) := pure (x, x) def g2 (p : Nat × Nat) : Nat := p.1 -- set_option trace.Elab.definition true def h (x : Nat) : StateT Nat IO Nat := do let s ← get let a ← f -- liftM inserted here let b ← g1 1 ...
1e631670ee581a11cd986d86139a0912f919b8bf
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/order/positive/field.lean
ea8e3f6f66f010535dbfd310091ce88848ff97bd
[ "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
1,035
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import algebra.order.field import algebra.order.positive.ring /-! # Algebraic structures on the set of positive numbers In this file we prove that the set of posi...
74eec97270a2898bb0608467f7d21266c01b3a24
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/linear_algebra/matrix/charpoly/basic.lean
507bca480ddb1690efd99083bdff911a215e0b0c
[ "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
4,327
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 tactic.apply_fun import ring_theory.matrix_algebra import ring_theory.polynomial_algebra import linear_algebra.matrix.nonsingular_inverse import linear_algebra...
c5ca22aaaabf9d400f25a8280d09bba9a2f666d1
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Elab/Tactic/Induction.lean
6c8763ac78177110d911d4afeb21ab8da5cdc671
[ "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
13,562
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Meta.RecursorInfo import Lean.Meta.CollectMVars import Lean.Meta.Tactic.Induction import Lean.Meta.Tactic.Cases import Lean.E...
255b59d4ad610555f6defc13dde3ad2b5089d741
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/group/basic.lean
e4d064f28f2aadc0ec00ba0dd8919ffe0ea0d030
[ "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
24,230
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 /-! # Basic lemmas about semigroups, monoids, and groups > THIS FILE IS SYNCHRONIZED WITH M...
b9e60a5d56cac9ea8ae2071fca64e018674ddebf
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/witt_vector/structure_polynomial.lean
d94292f8dc0dee439a1df8766cc3d7971010109a
[ "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,577
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.fin.vec_notation import field_theory.finite.polynomial import number_theory.basic import ring_theory.witt_vector.witt_polynomial /-! # ...
acfa5737067c71cbcc55891e98332120d7decc00
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/closed/functor_category.lean
079a52c0f2982e909b6fb99c70fd14dab226d506
[ "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
2,678
lean
/- Copyright (c) 2022 Antoine Labelle. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Antoine Labelle -/ import category_theory.closed.monoidal import category_theory.monoidal.functor_category /-! # Functors from a groupoid into a monoidal closed category form a monoi...
588ffb1c54732189fa819fdec8612ce1ef923f61
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/order/complete_boolean_algebra.lean
be5ec68044087fb44e6d76f39a32b2a2d24a3890
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,383
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 Theory of complete Boolean algebras. -/ import order.complete_lattice set_option old_structure_cmd true universes u v w variables {α : Type u} {β : Type v} {ι : Sort ...
e3bfe9ad8b8834de9d5aecbb36a7aaa834dbc8ad
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20150320_CMU/no_confusion.lean
97086992b2b29c92d32c9b41ef077d43cb790527
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
584
lean
definition no_confusion_type (P : Type) (a b : nat) : Type := nat.cases_on a (nat.cases_on b (P → P) (λ b₁, P)) (λa₁, nat.cases_on b P (λb₁, (a₁ = b₁ → P) → P)) definition no_confusion {P : Type} {a b : nat} (H : a = b) : no_confusion_type P a b := have aux : (∀h : a = a, no_confusion_type P a a), ...
07dda5db68a2e2ba0cfbc64846fa57b883784a5c
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/elabissues/invalid_field_notation_error_msg.lean
ca83821d813f25a90606c9b90b6e17afac495334
[ "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
1,126
lean
/- This is an annoyingly unhelpful error message that I see frequently. It reports the prefix of the field notation, but not the field that we are trying to access. An exact line number would help, but even so it would be great to report the field as well. [Leo]: the bad line number is due to the transition from Lean3...
deeac356c3fc41b4423fad5898f4012d7b343816
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/constructions/indiscrete.hlean
4d1bcdbcad7735473b05535ebf3ee5871ce6fbca
[ "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
814
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Indiscrete category -/ import .opposite open functor is_trunc unit eq namespace category variable (X : Type) definition indiscrete_precategory [constructo...
7b13fd97f429abb0a20eafb71741c2b4cd8ef30c
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/ind_cnst_params.lean
73c691ee7c5f468796377eebb68bb13ee76b5d19
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
272
lean
inductive foo | mk (a : nat) (b : nat) : bool → foo print foo.mk check foo.mk 0 0 tt universe variables u inductive List (α : Type u) | nil {} (a : nat) : List | cons (hd : α) (tail : List) : List check List.cons "a" (List.nil 1) check List.cons "a" (List.nil 2)
34054adc174488b92b25ad75fe88349f912f7dfc
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/category/basic.lean
dce140c3e53cb4969c45cab9842348c08d524ef8
[ "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
10,502
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Johannes Hölzl, Reid Barton -/ import combinatorics.quiver.basic import tactic.basic /-! # Categories Defines a category, as a type class parametrised...
0ffd2528ed15676e8f9e7a80b7e7f8b47e539703
7cef822f3b952965621309e88eadf618da0c8ae9
/src/measure_theory/probability_mass_function.lean
5896563bce8bdcd5b07664c83aea62e70c389235
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
4,785
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 Probability mass function -- discrete probability measures -/ import topology.instances.nnreal topology.instances.ennreal topology.algebra.infinite_sum noncomputable the...
a5adeab3a991b9cd46400c054c9e1f08e93c772a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/inline_issue.lean
c7df4bff473f8e409af8de2e1ecd87d69b28fefb
[ "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
369
lean
open tactic meta def f (n : nat) : tactic unit := trace "hello" >> trace "------------" >> trace_call_stack meta def g (n : nat) : tactic unit := trace "world" >> f n run_cmd (do x ← return 5, x ← return 5, x ← return 5, x ← return 5, x ← return 5, x ← return 5, x ← return 5, x ← return 5, x ← retu...
bfcdfc6cda594af7f0e825490989066595946d37
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/special_functions/trigonometric/deriv.lean
51752f4171933f6e20baac4968870e5e10edcf5f
[ "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
35,174
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import analysis.special_functions.exp_deriv /-! # Differentiability of trigonometric functions ## Mai...
5f011b8376ace7791d59b3cdece0023fe8c4eea7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebraic_geometry/locally_ringed_space.lean
036fc1011fc45e4753f425a478c9ff0939b13e91
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
10,196
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebraic_geometry.ringed_space import algebraic_geometry.stalks import logic.equiv.transfer_instance /-! # The category of locally ringed spaces We define ...
c4ee3c8bcdc66502255d550dd572eb8c646bbac9
4727251e0cd73359b15b664c3170e5d754078599
/src/data/multiset/bind.lean
d791df03ce11681e1a4c95c8d6654997e8fe7506
[ "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,914
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 algebra.big_operators.multiset /-! # Bind operation for multisets This file defines a few basic operations on `multiset`, notably the monadic bind. ## Main ...