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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3eb29a084b39fc337e59af4dee1d0f65f5952cd3 | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /tests/lean/bad2.lean | 4213e300ab7dbe48df8b33a100a96e2d43a19282 | [
"Apache-2.0"
] | permissive | codyroux/lean0.1 | 1ce92751d664aacff0529e139083304a7bbc8a71 | 0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef | refs/heads/master | 1,610,830,535,062 | 1,402,150,480,000 | 1,402,150,480,000 | 19,588,851 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 413 | lean | import Int.
variable list : Type -> Type
variable nil {A : Type} : list A
variable cons {A : Type} (head : A) (tail : list A) : list A
definition n1 : list Int := cons (nat_to_int 10) nil
definition n2 : list Nat := cons 10 nil
definition n3 : list Int := cons 10 nil
definition n4 : list Int := nil
definition n5 : _ :... |
6c261f4a9d748bc579c0c7b3f4fb5db701bdf535 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/linear_algebra/affine_space/affine_map.lean | a442ac4ec75fa93caa01c2d1e5046cfa947e4a2c | [
"Apache-2.0"
] | permissive | Lix0120/mathlib | 0020745240315ed0e517cbf32e738d8f9811dd80 | e14c37827456fc6707f31b4d1d16f1f3a3205e91 | refs/heads/master | 1,673,102,855,024 | 1,604,151,044,000 | 1,604,151,044,000 | 308,930,245 | 0 | 0 | Apache-2.0 | 1,604,164,710,000 | 1,604,163,547,000 | null | UTF-8 | Lean | false | false | 19,207 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Joseph Myers.
-/
import linear_algebra.affine_space.basic
import linear_algebra.tensor_product
import data.set.intervals.unordered_interval
/-!
# Affine maps
This file defines affine ma... |
ad81fb0096954894d627c24807a6564f8b509952 | 33340b3a23ca62ef3c8a7f6a2d4e14c07c6d3354 | /lia/reify.lean | b7accd7128d6e547d5efd64fa63d968e8fc2f50f | [] | no_license | lclem/cooper | 79554e72ced343c64fed24b2d892d24bf9447dfe | 812afc6b158821f2e7dac9c91d3b6123c7a19faf | refs/heads/master | 1,607,554,257,488 | 1,578,694,133,000 | 1,578,694,133,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,487 | lean | import ..tactics .preformula
variable (α : Type)
open tactic
meta def expr.to_preterm_lia : expr → tactic preterm_lia
| (expr.var k) := return (preterm_lia.var k)
| `(%%zx * %%(expr.var k)) :=
do z ← eval_expr int zx, return (preterm_lia.lmul z k)
| `(%%(expr.var k) * %%zx) :=
do z ← eval_expr int zx, return... |
bd9f9a58816ee36d5eb7b8feeb9f70aba85e2088 | bb31430994044506fa42fd667e2d556327e18dfe | /src/data/set/pointwise/iterate.lean | 9ea81cdc5db2b16dfadaeeb2ca1f9d538aae6f2d | [
"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 | 1,872 | lean | /-
Copyright (c) 2022 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import data.set.pointwise.smul
import algebra.hom.iterate
import dynamics.fixed_points.basic
/-!
# Results about pointwise operations on sets with iteration.
-/
open_loca... |
e037a1f0be856dced101a0d951e736a899058cb2 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/limits/shapes/types.lean | 4666f03ce1a24c311e9a53b6a45b247e4736b31a | [
"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 | 21,459 | 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 category_theory.limits.types
import category_theory.limits.shapes.products
import category_theory.limits.shapes.binary_products
import category_theory.limits.s... |
c7ae127c725cadd0877fc2acdd34670baba87f72 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/topology/algebra/ordered/proj_Icc.lean | 78e64cb1d653127a7c7b304b64c879930996937d | [
"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 | 2,416 | lean | /-
Copyright (c) 2020 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Patrick Massot
-/
import topology.algebra.ordered.basic
import data.set.intervals.proj_Icc
/-!
# Projection onto a closed interval
In this file we prove that the pr... |
9a27247c14235ad932bd48ffad5811cb6c1a64a5 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/data/real/pi.lean | d74a3814b51ba77242a5210a57b7b4ef857b4fd6 | [
"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 | 10,747 | 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.complex.exponential
namespace real
variable (x : ℝ)
/-- the series `sqrt_two_add_series x n` is `sqrt(2 + sqrt(2 + ... ))` with `n` square root... |
14299229765d60d85e2a92ca0d98a003b912b0cd | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /src/Init/Lean/Elab/StructInst.lean | 0240c5f6cdb190a15b27bef6ac5b50f27857b079 | [
"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 | 34,237 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Lean.Util.FindExpr
import Init.Lean.Elab.App
import Init.Lean.Elab.Binders
import Init.Lean.Elab.Quotation
namespace Lean
namespace Ela... |
7b04f1eb27045b889e2a43586e220fa7d8150eae | f3a5af2927397cf346ec0e24312bfff077f00425 | /src/tactic/structure_helper.lean | c20e525d96f15d6fe822b41cca86e6b74a4da95a | [
"Apache-2.0"
] | permissive | ImperialCollegeLondon/natural_number_game | 05c39e1586408cfb563d1a12e1085a90726ab655 | f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd | refs/heads/master | 1,688,570,964,990 | 1,636,908,242,000 | 1,636,908,242,000 | 195,403,790 | 277 | 84 | Apache-2.0 | 1,694,547,955,000 | 1,562,328,792,000 | Lean | UTF-8 | Lean | false | false | 4,531 | lean | import data.string.basic data.list.defs
import tactic.core
def {u v w} list.mfilter_map {m : Type u → Type v} [alternative m] [monad m] {α : Type w} {β : Type u} (f : α → m β) : list α → m (list β)
| [] := return []
| (h :: t) := do h' ← (f h >>= λ v, pure $ list.cons v []) <|> pure [],
t' ← lis... |
0e04ab47a91a3375f5150d642cbdecd49f1b0e3b | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /tests/lean/t4.lean | f4e752828403b9b36a96e602502e0aa8ea62ff11 | [
"Apache-2.0"
] | permissive | codyroux/lean | 7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3 | 0cca265db19f7296531e339192e9b9bae4a31f8b | refs/heads/master | 1,610,909,964,159 | 1,407,084,399,000 | 1,416,857,075,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,184 | lean | definition Prop : Type.{1} := Type.{0}
constant N : Type.{1}
check N
constant a : N
check a
check Prop → Prop
constant F.{l} : Type.{l} → Type.{l}
check F.{2}
universe u
check F.{u}
constant vec.{l} (A : Type.{l}) (n : N) : Type.{l}
constant f (a b : N) : N
constant len.{l} (A : Type.{l}) (n : N) (v : vec.{l} A n) : N
... |
88e3619645e201c285c644d0f9ba06ca55533ad4 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/sites/induced_topology.lean | 7f0cd626e339a82da57123804cdbe97ca721ad05 | [
"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 | 5,606 | lean | /-
Copyright (c) 2021 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import category_theory.sites.dense_subsite
/-!
# Induced Topology
We say that a functor `G : C ⥤ (D, K)` is locally dense if for each covering sieve `T` in `D` of
some `X... |
5dc0b57e2e8d6f6d2b66159c9e387bd10bb42780 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/extra/lt_rec.lean | 68b84fca4a95b5a873737bcc736a7e628bc6337f | [
"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 | 589 | lean | open nat
set_option pp.implicit true
set_option pp.notation false
definition lt_trans : ∀ {a b c : nat}, a < b → b < c → a < c,
lt_trans h (lt.base _) := lt.step h,
lt_trans h₁ (lt.step h₂) := lt.step (lt_trans h₁ h₂)
definition lt_succ : ∀ {a b : nat}, a < b → succ a < succ b,
lt_succ (lt.base a) := lt.base (s... |
da67cc6e674648b6ea6e326907e202ee816e74ce | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/linear_algebra/basis.lean | e9e30b5a01da79c78634b25b4ce73b26919d4e80 | [] | 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 | 22,452 | 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, Alexander Bentkamp
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.linear_algebra.linear_independent
import Mathlib.linear... |
16ee22738250f334afc3a27630542ffdfd775b1f | 737dc4b96c97368cb66b925eeea3ab633ec3d702 | /stage0/src/Init/Core.lean | b4e0f1e28fe0f51d5eb8adb19af12072103a46b2 | [
"Apache-2.0"
] | permissive | Bioye97/lean4 | 1ace34638efd9913dc5991443777b01a08983289 | bc3900cbb9adda83eed7e6affeaade7cfd07716d | refs/heads/master | 1,690,589,820,211 | 1,631,051,000,000 | 1,631,067,598,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 35,715 | 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
notation, basic datatypes and type classes
-/
prelude
import Init.Prelude
import Init.SizeOf
universe u v w
def inline {α : Sort u} (a : α) : α := a
@[inli... |
6e2e2a3eccd86a0378e712b310778498e76f4737 | dac4e6671410f506c880986cbb2212dd7f5b3dfd | /folklore/analysis.lean | 977e6dd32a23f98ea2e596f0f23962242fd099da | [
"CC-BY-4.0"
] | permissive | thalesant/formalabstracts-2018 | e6ddfe8b3ce5c6f055ddcccf345bf55c41f850c1 | d206dfa32a6b4a84aacc3a5500a144757e6d3454 | refs/heads/master | 1,642,678,879,231 | 1,561,648,713,000 | 1,561,648,713,000 | 97,608,420 | 1 | 0 | null | 1,564,063,995,000 | 1,500,388,250,000 | Lean | UTF-8 | Lean | false | false | 1,105 | lean | import .real_axiom
open classical real_axiom
local attribute [instance] prop_decidable
noncomputable theory
-- This will all be made obsolete once Lean 3 has a proper analysis library.
-- In Lean 2, limits were defined much more generally using filters.
def real_approaches_at (f : ℝ → ℝ) (a b : ℝ) : Prop :=
... |
b67b46adeabdb247dd69a1292c4bed6051d3cd40 | a45212b1526d532e6e83c44ddca6a05795113ddc | /src/logic/embedding.lean | 1c3429f795b8a399ed5eaa4b36d9b9b3de631ae3 | [
"Apache-2.0"
] | permissive | fpvandoorn/mathlib | b21ab4068db079cbb8590b58fda9cc4bc1f35df4 | b3433a51ea8bc07c4159c1073838fc0ee9b8f227 | refs/heads/master | 1,624,791,089,608 | 1,556,715,231,000 | 1,556,715,231,000 | 165,722,980 | 5 | 0 | Apache-2.0 | 1,552,657,455,000 | 1,547,494,646,000 | Lean | UTF-8 | Lean | false | false | 6,449 | 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
Injective functions.
-/
import data.equiv.basic data.option.basic data.subtype
universes u v w x
namespace function
structure embedding (α : Sort*) (... |
ac35c7747cc7d042adb3fe3fcabd441a180e633e | c31182a012eec69da0a1f6c05f42b0f0717d212d | /src/normed_group/normed_with_aut.lean | f0c1a4c07181b366e0c16418b19dda6fa93dd605 | [] | no_license | Ja1941/lean-liquid | fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc | 8e80ed0cbdf5145d6814e833a674eaf05a1495c1 | refs/heads/master | 1,689,437,983,362 | 1,628,362,719,000 | 1,628,362,719,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,245 | lean | import for_mathlib.SemiNormedGroup
/-!
# Seminormed groups with an extra automorphism
This file contains definition 8.13 of `analytic.pdf`, a category-theoretic
definition of a seminormed group eqipped with an automorphism which scales
norms by a fixed factor `r`.
-/
open_locale nnreal
/-- A `normed_with_aut r V` ... |
40e41fff3708687aec4c4488ce0c1ccbebe79b95 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/analysis/ODE/picard_lindelof.lean | 1d4fa149bd0aa01122b221159c92c7a1b15c72bb | [
"Apache-2.0"
] | permissive | AntoineChambert-Loir/mathlib | 64aabb896129885f12296a799818061bc90da1ff | 07be904260ab6e36a5769680b6012f03a4727134 | refs/heads/master | 1,693,187,631,771 | 1,636,719,886,000 | 1,636,719,886,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,999 | 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.special_functions.integrals
/-!
# Picard-Lindelöf (Cauchy-Lipschitz) Theorem
In this file we prove that an ordinary differential equation $\... |
2e3b1fb7df45ee82ce9ea9960c94be078d59c82d | cf39355caa609c0f33405126beee2739aa3cb77e | /library/init/meta/rewrite_tactic.lean | b2b31b5de4d947ac7be7d55d1c5f54e66e445617 | [
"Apache-2.0"
] | permissive | leanprover-community/lean | 12b87f69d92e614daea8bcc9d4de9a9ace089d0e | cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0 | refs/heads/master | 1,687,508,156,644 | 1,684,951,104,000 | 1,684,951,104,000 | 169,960,991 | 457 | 107 | Apache-2.0 | 1,686,744,372,000 | 1,549,790,268,000 | C++ | UTF-8 | Lean | false | false | 1,987 | 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.relation_tactics init.meta.occurrences
namespace tactic
def id_tag.rw : unit := ()
/-- Configuration options for the `rewrite` t... |
413ec3a8a67d43be7df2bb4ea9a54f17e1b106a0 | ba4794a0deca1d2aaa68914cd285d77880907b5c | /src/solutions/world2_multiplication.lean | ab4d9b1c20e930502786619476feb811a3bc51aa | [
"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 | 5,664 | lean | import solutions.world1_addition
import mynat.mul
/- Here's what you get from the import:
1) The following data:
* a function called mynat.mul, and notation a * b for this function
2) The following axioms:
* `mul_zero : ∀ a : mynat, a * 0 = 0`
* `mul_succ : ∀ a b : mynat, a * succ(b) = a * b + a`
These axio... |
d0ba088285bf6975420b261aa66c3f824a6446a9 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/finset/order_auto.lean | 5f984e5ab470397307b7b693d0d5d549915baebe | [] | 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 | 805 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Kenny Lau
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.finset.basic
import Mathlib.PostPort
universes u u_1
namespace Mathlib
... |
2cbbc81dafe32615223e861384c88fb46482b761 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/data/multiset/sum.lean | d7c4224f96294a04b12a6d39d5182be0b10ee59a | [
"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 | 3,083 | lean | /-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
import data.multiset.nodup
/-!
# Disjoint sum of multisets
This file defines the disjoint sum of two multisets as `multiset (α ⊕ β)`. Beware not to confuse
with the `mu... |
db5a5636baf169cd35d8ba55bae64faa7e9d02cc | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/tactic/omega/int/dnf.lean | 403202d27a2afc5abc44d53619e42fab0ace7eaa | [
"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,271 | lean | /-
Copyright (c) 2019 Seul Baek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Seul Baek
-/
/-
DNF transformation.
-/
import tactic.omega.clause
import tactic.omega.int.form
namespace omega
namespace int
open_locale omega.int
/-- push_neg p returns the result of ... |
ca48da1119479a07d4b77d24c9869144be04fa23 | 367134ba5a65885e863bdc4507601606690974c1 | /src/algebra/module/ordered.lean | 8934c1b1f13f0b23d8e8182f748b057e66b935ac | [
"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,113 | 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 algebra.module.pi
import algebra.ordered_pi
import algebra.module.prod
import algebra.ordered_field
/-!
# Ordered semimodules
In this file we define
* `o... |
d2d94bb9fde8c12c3c668eef22c1fad2485386cf | 9c1ad797ec8a5eddb37d34806c543602d9a6bf70 | /examples/monoid_as_category.lean | d8c2d4751390271dc44ed90eeb914f820bd60981 | [] | no_license | timjb/lean-category-theory | 816eefc3a0582c22c05f4ee1c57ed04e57c0982f | 12916cce261d08bb8740bc85e0175b75fb2a60f4 | refs/heads/master | 1,611,078,926,765 | 1,492,080,000,000 | 1,492,080,000,000 | 88,348,246 | 0 | 0 | null | 1,492,262,499,000 | 1,492,262,498,000 | null | UTF-8 | Lean | false | false | 1,505 | lean | -- Copyright (c) 2017 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Stephen Morgan, Scott Morrison
import ..category
import ..monoidal_categories.monoidal_category
open tqft.categories
open tqft.categories.monoidal_category
namespace tqft.cate... |
ec62b24869dc4c33f48e2901a10caf90af7007e7 | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/data/equiv/mul_add.lean | 7f6a33a0aeed1bf14d0fabda97a54eb691baff06 | [
"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 | 18,415 | lean | /-
Copyright (c) 2018 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov
-/
import algebra.group.hom
import algebra.group.type_tags
import algebra.group.units_hom
/-!
# Multiplicative and additive equivs
In t... |
8f2ae96d8fb6d88d95fbe93eeff12f4ea86e3168 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /stage0/src/Lean/Elab/Match.lean | 58fb4544f04cfb9582d843eedb1c782fad0f1d0a | [
"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 | 38,282 | 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.Match.MatchPatternAttr
import Lean.Meta.Match.Match
import Lean.Elab.SyntheticMVars
import Lean.Elab.App
import Lean.Parser.Term
namespace... |
3847ddaa1fbb141174d66e1e812d9dea75db6e77 | 626e312b5c1cb2d88fca108f5933076012633192 | /src/data/polynomial/ring_division.lean | 1fdf4e04f868e338edaa68480276d20829f9c863 | [
"Apache-2.0"
] | permissive | Bioye97/mathlib | 9db2f9ee54418d29dd06996279ba9dc874fd6beb | 782a20a27ee83b523f801ff34efb1a9557085019 | refs/heads/master | 1,690,305,956,488 | 1,631,067,774,000 | 1,631,067,774,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 27,849 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker, Johan Commelin
-/
import data.polynomial.algebra_map
import data.polynomial.degree.lemmas
import data.polynomial.div
/-!
# ... |
1a1a4fa2ef9cebc2e03026ec511892012250441e | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/category_theory/monoidal/Mon_.lean | 9ab1073f73f1c0fc5552db504b346f6fd5e09a69 | [] | 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 | 12,717 | 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.discrete
import Mathlib.category_theory.monoidal.unitors
import Ma... |
80e71fe29ac16dd2efef05c03f794ee9ad8e074e | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/uniform_space/compact_separated.lean | 3682251092133c780048b68d2df4d5e9256cd983 | [
"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 | 12,049 | lean | /-
Copyright (c) 2020 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
import topology.uniform_space.separation
import topology.uniform_space.uniform_convergence
/-!
# Compact separated uniform spaces
## Main statements
* `compact_spac... |
aa52816594abbdfcbb83f6699bb34105e810a842 | 022547453607c6244552158ff25ab3bf17361760 | /src/combinatorics/simple_graph/basic.lean | 9ca2dc82d9ebbd8cf00a197b8cbee015c63f56a2 | [
"Apache-2.0"
] | permissive | 1293045656/mathlib | 5f81741a7c1ff1873440ec680b3680bfb6b7b048 | 4709e61525a60189733e72a50e564c58d534bed8 | refs/heads/master | 1,687,010,200,553 | 1,626,245,646,000 | 1,626,245,646,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 19,648 | lean | /-
Copyright (c) 2020 Aaron Anderson, Jalex Stark, Kyle Miller. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson, Jalex Stark, Kyle Miller, Alena Gusakov
-/
import data.fintype.basic
import data.sym2
import data.set.finite
/-!
# Simple graphs
This module ... |
4fe1cba74d33e92f8780e77d2e384850926491d4 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/measure_theory/decomposition/signed_hahn.lean | 6425eaf899125062c8f8fb477b9fa43e8e10d0f2 | [
"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 | 21,758 | lean | /-
Copyright (c) 2021 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying
-/
import measure_theory.measure.vector_measure
import order.symm_diff
/-!
# Hahn decomposition
This file prove the Hahn decomposition theorem (signed version). The Hahn dec... |
473a10cb74f96a65cfd48d6217bbe769d273d890 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/analysis/normed_space/extend_auto.lean | 5f1202d1ec4e474b4f1ecf4ed30d3edf7e5b7a35 | [] | 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,423 | lean | /-
Copyright (c) 2020 Ruben Van de Velde. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ruben Van de Velde
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.analysis.complex.basic
import Mathlib.analysis.normed_space.operator_norm
import Ma... |
97f95b6902e95305b752ed83852a39de5b0a145e | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/ring_theory/polynomial/bernstein.lean | 71e7728cd96c0ddc2542f692cb03aae66e1c36eb | [
"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 | 15,915 | 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 data.polynomial.derivative
import data.nat.choose.sum
import ring_theory.polynomial.pochhammer
import data.polynomial.algebra_map
import linear_algebra.linear_... |
26cdb58f8c06dae882d19e95c4e0038d0f418e90 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/sigma/basic.lean | 1595c2393f9385c37a047de4bbbb6744b57a4013 | [] | 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,159 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Johannes Hölzl
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.tactic.lint.default
import Mathlib.tactic.ext
import Mathlib.PostPort
universes u_1 u_4 u_2... |
292cdc088497bdc227bc55585e3cb644a9cbf729 | 92c6b42948d74fe325c2d88530f1d36da388b2f7 | /src/cvc4/sig/smt.lean | 6ab457e28fa00652d7e6a50a186e59b3c626eaf9 | [
"MIT"
] | permissive | riaqn/smtlean | 8ad65055b6c1600cd03b9e345059a3b24419b6d5 | c11768cfb43cd634340b552f5039cba094701a87 | refs/heads/master | 1,584,569,627,940 | 1,535,314,713,000 | 1,535,314,713,000 | 135,333,334 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 3,484 | lean | namespace sig
attribute [reducible]
def type := Type
attribute [reducible]
def formula := Prop
attribute [reducible]
def th_holds : Prop → Prop := id
def true := true
def false := false
def not := not
def and := and
def or := or
def impl := (->)
def iff := (↔)
def xor := xor
def ifte := ite
def sort := Type
def... |
ca47b375ac514690e619cb586213801db6e7de57 | abd85493667895c57a7507870867b28124b3998f | /src/algebra/group_with_zero.lean | 3a90a9cf52cd77b979e98092b95860eb9ee8aee4 | [
"Apache-2.0"
] | permissive | pechersky/mathlib | d56eef16bddb0bfc8bc552b05b7270aff5944393 | f1df14c2214ee114c9738e733efd5de174deb95d | refs/heads/master | 1,666,714,392,571 | 1,591,747,567,000 | 1,591,747,567,000 | 270,557,274 | 0 | 0 | Apache-2.0 | 1,591,597,975,000 | 1,591,597,974,000 | null | UTF-8 | Lean | false | false | 22,343 | 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 algebra.group.commute
import algebra.ring
import tactic.push_neg
/-!
# Groups with an adjoined zero element
This file describes structures that are not usual... |
c1f5f5eb68bb07be33a49a1de6957bac21f60168 | 07c76fbd96ea1786cc6392fa834be62643cea420 | /hott/types/int/order.hlean | 8c05f9dc936eb494a131ab3f6de405eed68f14ba | [
"Apache-2.0"
] | permissive | fpvandoorn/lean2 | 5a430a153b570bf70dc8526d06f18fc000a60ad9 | 0889cf65b7b3cebfb8831b8731d89c2453dd1e9f | refs/heads/master | 1,592,036,508,364 | 1,545,093,958,000 | 1,545,093,958,000 | 75,436,854 | 0 | 0 | null | 1,480,718,780,000 | 1,480,718,780,000 | null | UTF-8 | Lean | false | false | 17,567 | hlean | /-
Copyright (c) 2014 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Jeremy Avigad
The order relation on the integers. We show that int is an instance of linear_comm_ordered_ring
prod transfer the results.
-/
import .basic algebra.o... |
d166ee8c091bdab7ee9f868e1efd78bcd893915a | 6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf | /src/game/world4/level8.lean | fbf19fdd661061ad4b303ee277c25a1e2a410aa3 | [
"Apache-2.0"
] | permissive | arolihas/natural_number_game | 4f0c93feefec93b8824b2b96adff8b702b8b43ce | 8e4f7b4b42888a3b77429f90cce16292bd288138 | refs/heads/master | 1,621,872,426,808 | 1,586,270,467,000 | 1,586,270,467,000 | 253,648,466 | 0 | 0 | null | 1,586,219,694,000 | 1,586,219,694,000 | null | UTF-8 | Lean | false | false | 2,915 | lean | import game.world4.level7 -- hide
-- incantation for importing ring into framework -- hide
import tactic.ring -- hide
meta def nat_num_game.interactive.ring := tactic.interactive.ring -- hide
namespace mynat -- hide
def two_eq_succ_one : (2 : mynat) = succ 1 := rfl -- hide
/-
# Power World
-/
/-
## Level 8: `add_sq... |
d05015d9211d3873eed16949d1fbfc31e8d9eb62 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/analysis/inner_product_space/rayleigh.lean | 4fc947239e77d237e1875c1b7e1f931240b4f0c3 | [
"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 | 12,462 | lean | /-
Copyright (c) 2021 Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth, Frédéric Dupuis
-/
import analysis.inner_product_space.calculus
import analysis.inner_product_space.dual
import analysis.inner_product_space.adjoint
import analysis.c... |
04834f64f399d79fd96e18da20b8e7786280dad8 | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/category_theory/limits/shapes/binary_products.lean | ab5d78b5d9e195f69d5ae237aa946fb17f8bc67e | [
"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 | 21,673 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Bhavik Mehta
-/
import category_theory.limits.limits
import category_theory.discrete_category
/-!
# Binary (co)products
We define a category `walking_pair`, which is ... |
84968835f0d0f0886e1e621f945af498f196388a | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Compiler/NeverExtractAttr.lean | 7868c72a4c8d7690f7905324632f307de4e3b926 | [
"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 | 807 | 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.Environment
import Lean.Attributes
namespace Lean
builtin_initialize neverExtractAttr : TagAttribute ←
registerTagAttribute `never_extract "... |
16068f8a5fa409d9f927aa51aa51189b823077d8 | 26ac254ecb57ffcb886ff709cf018390161a9225 | /src/data/equiv/basic.lean | fbee287298e2b68e5f1a8cb5f1c11d52e600aff9 | [
"Apache-2.0"
] | permissive | eric-wieser/mathlib | 42842584f584359bbe1fc8b88b3ff937c8acd72d | d0df6b81cd0920ad569158c06a3fd5abb9e63301 | refs/heads/master | 1,669,546,404,255 | 1,595,254,668,000 | 1,595,254,668,000 | 281,173,504 | 0 | 0 | Apache-2.0 | 1,595,263,582,000 | 1,595,263,581,000 | null | UTF-8 | Lean | false | false | 68,879 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Mario Carneiro
In the standard library we cannot assume the univalence axiom.
We say two types are equivalent if they are isomorphic.
Two equivalent types h... |
7beb1ade7b19aa69472059c8e778aa0211fce248 | cbcb0199842f03e7606d4e43666573fc15dd07a5 | /src/topology/instances/complex.lean | 4e77279664507d8021a8b0f84d1dbff122daf934 | [
"Apache-2.0"
] | permissive | truonghoangle/mathlib | a6a7c14b3767ec71156239d8ea97f6921fe79627 | 673bae584febcd830c2c9256eb7e7a81e27ed303 | refs/heads/master | 1,590,347,998,944 | 1,559,728,860,000 | 1,559,728,860,000 | 187,431,971 | 0 | 0 | null | 1,558,238,525,000 | 1,558,238,525,000 | null | UTF-8 | Lean | false | false | 6,154 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Topology of the complex numbers.
-/
import data.complex.basic topology.metric_space.basic topology.instances.real
noncomputable theory
open filter metric
namespace com... |
0146eda5d9ea7414bc6aaa343e5706f5019d1378 | 6094e25ea0b7699e642463b48e51b2ead6ddc23f | /library/logic/cast.lean | 98f86e7d0f762f9a2fb526f58be30cd30aa6d16c | [
"Apache-2.0"
] | permissive | gbaz/lean | a7835c4e3006fbbb079e8f8ffe18aacc45adebfb | a501c308be3acaa50a2c0610ce2e0d71becf8032 | refs/heads/master | 1,611,198,791,433 | 1,451,339,111,000 | 1,451,339,111,000 | 48,713,797 | 0 | 0 | null | 1,451,338,939,000 | 1,451,338,939,000 | null | UTF-8 | Lean | false | false | 5,987 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
Casts and heterogeneous equality. See also init.datatypes and init.logic.
-/
import logic.eq logic.quantifiers
open eq.ops
section
universe variable u
va... |
2f614e8d4feb2990ab08348af91731b1d90eb787 | 957a80ea22c5abb4f4670b250d55534d9db99108 | /tests/lean/elab9.lean | 194f02e1e4cb214c913f5a629ed34563198b4217 | [
"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 | 280 | lean | set_option pp.notation false
set_option pp.implicit true
set_option pp.numerals false
set_option pp.binder_types true
#check λ (A : Type*) [has_add A] [has_zero A] (a : A) (H : a + 0 = a) [has_add A] (H : a = 0 + 0), a + a
#check λ (a b : nat) (H : a > b) [has_lt nat], a < b
|
035b4fbc2e6e7c8d6ab62a8597e7dcad0fb28d36 | 3dd1b66af77106badae6edb1c4dea91a146ead30 | /tests/lean/run/tactic18.lean | 64587d8689171f2b7670f7f6e4f5f6f609c9e9e6 | [
"Apache-2.0"
] | permissive | silky/lean | 79c20c15c93feef47bb659a2cc139b26f3614642 | df8b88dca2f8da1a422cb618cd476ef5be730546 | refs/heads/master | 1,610,737,587,697 | 1,406,574,534,000 | 1,406,574,534,000 | 22,362,176 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 232 | lean | import standard
using tactic
variable A : Type.{1}
variable f : A → A → A
theorem tst {a b c : A} (H1 : a = b) (H2 : b = c) : f a b = f b c
:= by apply (@congr A A);
apply (subst H2);
apply refl;
assumption
|
be3fe4cb507fcf26376b72332ccba8ac72629614 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/algebra/algebra/tower.lean | ed038f395b58d976d0671f772a779e2126e2d721 | [
"Apache-2.0"
] | permissive | hikari0108/mathlib | b7ea2b7350497ab1a0b87a09d093ecc025a50dfa | a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901 | refs/heads/master | 1,690,483,608,260 | 1,631,541,580,000 | 1,631,541,580,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,679 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.subalgebra
/-!
# Towers of algebras
In this file we prove basic facts about towers of algebra.
An algebra tower A/S/R is expressed by having instance... |
9b1cb6f8a70a8ae576dc9a3aed2bb9fc55355a64 | 5fbbd711f9bfc21ee168f46a4be146603ece8835 | /lean/natural_number_game/advanced_proposition/07.lean | b5c0d9d23954bd293a028645fc7504725ac066f1 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | goedel-gang/maths | 22596f71e3fde9c088e59931f128a3b5efb73a2c | a20a6f6a8ce800427afd595c598a5ad43da1408d | refs/heads/master | 1,623,055,941,960 | 1,621,599,441,000 | 1,621,599,441,000 | 169,335,840 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 122 | lean | lemma or_symm (P Q : Prop) : P ∨ Q → Q ∨ P :=
begin
intro h,
cases h with p q,
right,
cc,
left,
cc,
end
|
6b742170347035bf7067c34dbd5440f3ab6da4e7 | 1546f9083f4babf70df0329497d1ee05adc8c665 | /src/monoidal_categories_reboot/tensor_product.lean | cdec2083be0fb70c8a1ae4208d5b2ade76a38e89 | [
"Apache-2.0"
] | permissive | khoek/monoidal-categories-reboot | 0899b0d4552ff039388042059c91f7207c6c34e5 | ed3df8ecce5d4e3d95cb858911bad12bb632cf8a | refs/heads/master | 1,588,877,903,131 | 1,554,987,273,000 | 1,554,987,273,000 | 180,791,863 | 0 | 0 | null | 1,554,987,295,000 | 1,554,987,295,000 | null | UTF-8 | Lean | false | false | 3,322 | lean | -- Copyright (c) 2018 Michael Jendrusch. All rights reserved.
import category_theory.category
import category_theory.functor
import category_theory.products
import category_theory.natural_isomorphism
open category_theory
universes u v
open category_theory.category
open category_theory.functor
open category_theory.p... |
6f27ea7240e6920590b80f7d055ca74c62e6f2d6 | 4efff1f47634ff19e2f786deadd394270a59ecd2 | /src/data/polynomial/degree/basic.lean | 07489a2611258e83ec46a8f0bcaba8acdfd85165 | [
"Apache-2.0"
] | permissive | agjftucker/mathlib | d634cd0d5256b6325e3c55bb7fb2403548371707 | 87fe50de17b00af533f72a102d0adefe4a2285e8 | refs/heads/master | 1,625,378,131,941 | 1,599,166,526,000 | 1,599,166,526,000 | 160,748,509 | 0 | 0 | Apache-2.0 | 1,544,141,789,000 | 1,544,141,789,000 | null | UTF-8 | Lean | false | false | 31,491 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker
-/
import data.polynomial.coeff
/-!
# Theory of univariate polynomials
The definitions include
`degree`, `monic`, `leading_... |
637d14bc921e861de910aaea9bdc0fe47eb82ff6 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/tuple.lean | b84936f53a4bfb0bae030d13ab749908618914cf | [
"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 | 157 | lean | open nat prod
set_option pp.universes true
definition {u} tuple (A : Type (u+1)) (n : nat) : Type (u+1) :=
nat.rec_on n A (λ n r, r × A)
#check @tuple
|
1d9a9e9b276868d548b4a0cdb67c104165338e65 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/polynomial/cyclotomic/basic.lean | 31c0f26811d8493df4d482649681fe821a5bef77 | [
"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 | 29,244 | lean | /-
Copyright (c) 2020 Riccardo Brasca. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Riccardo Brasca
-/
import algebra.ne_zero
import algebra.polynomial.big_operators
import ring_theory.roots_of_unity.complex
import data.polynomial.lifts
import data.polynomial.splits... |
80616b2dfa64f7f84aef45669fd0d3a8878fdc65 | 6950a6e5cebf75da9b91f42789baf52514655111 | /tptp/tptp.lean | 864929e53c823aa08c5f91652236458fd0ff3a5c | [] | no_license | phlippe/Lean_hammer | a6d0a1af09fbce0c58b801032099b9b91d49ecf0 | 2116279b9c6b334f5b661e4abf4561368cca2391 | refs/heads/master | 1,587,486,769,513 | 1,561,466,931,000 | 1,561,466,931,000 | 169,705,506 | 0 | 1 | null | 1,550,228,564,000 | 1,549,614,939,000 | Lean | UTF-8 | Lean | false | false | 20,910 | lean |
@[reducible] meta def debruijn := nat
meta def neg : bool → bool
| tt := ff
| ff := tt
meta inductive folpred
| P : folpred
| T : folpred
| eq : folpred
meta inductive folterm
| const : name → folterm -- Constant with given label
| lconst : name → name → folterm --
| prf : folterm
| var : debruijn → folterm -- V... |
0159b5063e36d3e5fd89a4c05ed0e3b9255eeaec | ebbdcbd7ddc89a9ef7c3b397b301d5f5272a918f | /qp/p1_categories/c1_basic/s1_categories.lean | 8059109f298507276e1dc217f9aa438b8c6ae32b | [] | no_license | intoverflow/qvr | 34b9ef23604738381ca20b7d622fd0399d88f2dd | 0cfcd33fe4bf8d93851a00cec5bfd21e77105d74 | refs/heads/master | 1,616,591,570,371 | 1,492,575,772,000 | 1,492,575,772,000 | 80,061,627 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 44,558 | lean | /- -----------------------------------------------------------------------
Categories.
----------------------------------------------------------------------- -/
import ...p0_stdlib
namespace qp
open stdaux
universe variables ℓ ℓobj ℓhom ℓobj₁ ℓhom₁ ℓobj₂ ℓhom₂
/-! #brief A strict category.
-/
structure Cat
: ... |
7af5239dd89b932f2a5d161ceb07f1637ec65a0a | 9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e | /src/order/sort_rank.lean | af7b91f4820430aafa15096bd293b3f5a97e096f | [] | no_license | agusakov/lean_lib | c0e9cc29fc7d2518004e224376adeb5e69b5cc1a | f88d162da2f990b87c4d34f5f46bbca2bbc5948e | refs/heads/master | 1,642,141,461,087 | 1,557,395,798,000 | 1,557,395,798,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 22,145 | lean | /-
Copyright (c) 2019 Neil Strickland. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Neil Strickland
This file formalises the fact that any finite, linearly ordered
set of size n has a unique order-isomorphism with the set
fin n = {0,...,n-1}.
-/
import data.finse... |
c31e71e72578e9a423e9d3a0baef26d8e0d308fb | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/array1.lean | c1d75e923d14a8cc175037ff0020ee71962713d6 | [
"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 | 571 | lean | #check @d_array.mk
#eval mk_array 4 1
def v : array 10 nat :=
@d_array.mk 10 (λ _, nat) (λ ⟨i, _⟩, i)
#eval v.map (+10)
def w : array 10 nat :=
(mk_array 9 1)^.push_back 3
def f : fin 10 → nat :=
d_array.cases_on w (λ f, f)
#eval f ⟨9, dec_trivial⟩
#eval f ⟨2, dec_trivial⟩
#eval (((mk_array 1 1)^.push_back 2)^.p... |
474a7b6e618ffbae3d949baad5cd2cd33cac6730 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/seq/computation.lean | d679084b1c0b6c9d2fb421529c85289a2eb20c0f | [] | 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,466 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Coinductive formalization of unbounded computations.
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.Lean3Lib.data.stream
import Mat... |
e1bb5cdfb455e4cda64bef7493b0d47a99d3aaf4 | 367134ba5a65885e863bdc4507601606690974c1 | /src/number_theory/dioph.lean | 0dbb8bad1c36950f8ae68dc80037ab2d01eb4ad8 | [
"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 | 35,212 | 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 number_theory.pell
import data.pfun
import data.fin2
/-!
# Diophantine functions and Matiyasevic's theorem
Hilbert's tenth problem asked whether there exist... |
e8241f1bb765f9a05068c047bd1a19094758ffd6 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/algebra/parity.lean | 6c65fb9f65854ddda256cc206d670cf161e4d7e5 | [
"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 | 13,973 | lean | /-
Copyright (c) 2022 Damiano Testa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Damiano Testa
-/
import algebra.ring.basic
import algebra.algebra.basic
import algebra.group_power.basic
import algebra.field_power
import algebra.opposites
/-! # Squares, even and o... |
a1645c69a682850d2cd35471d2040c09fa3468de | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/algebra/associated.lean | b86c4b0382530776c7f71459b9de77e46f391b98 | [
"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 | 28,725 | lean | /-
Copyright (c) 2018 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Jens Wagemaker
-/
import data.multiset.basic
import algebra.divisibility
import algebra.invertible
/-!
# Associated, prime, and irreducible elements.
-/
variables {α ... |
9b9845a260a2e53b76427f6cd30f614fa8e0c4ac | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/real/ennreal.lean | 23e490d3103e5486248a4600375bc35eeb2eb853 | [] | 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 | 48,149 | 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, Yury Kudryashov
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.real.nnreal
import Mathlib.data.set.intervals.default
import Mathlib.P... |
f39d9ea3723a0aad793da683b2026e7c9ed27b2f | 3f7026ea8bef0825ca0339a275c03b911baef64d | /src/algebra/associated.lean | 529e4ae9b1a36061fe355e257c8a522a7494b3b3 | [
"Apache-2.0"
] | permissive | rspencer01/mathlib | b1e3afa5c121362ef0881012cc116513ab09f18c | c7d36292c6b9234dc40143c16288932ae38fdc12 | refs/heads/master | 1,595,010,346,708 | 1,567,511,503,000 | 1,567,511,503,000 | 206,071,681 | 0 | 0 | Apache-2.0 | 1,567,513,643,000 | 1,567,513,643,000 | null | UTF-8 | Lean | false | false | 27,313 | lean | /-
Copyright (c) 2018 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Jens Wagemaker
Associated and irreducible elements.
-/
import algebra.group data.multiset
variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*}
open lattice
/-- ... |
392517f8193d2a34338b7f76f7bdffc58a2033dd | 35677d2df3f081738fa6b08138e03ee36bc33cad | /test/doc_commands.lean | 49563c5b03883c2850d615c0a7362090f8f87189 | [
"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 | 260 | lean | import tactic.doc_commands
open tactic
/-- ok -/
add_decl_doc division_ring
#eval do
ds ← doc_string ``division_ring,
guard $ ds = "ok"
namespace bar
def foo := 5
/-- ok -/
add_decl_doc foo
#eval do
ds ← doc_string ``foo,
guard $ ds = "ok"
end bar
|
dce44bb83a0363500a12cf1bcef3e9001820f4b5 | 618003631150032a5676f229d13a079ac875ff77 | /src/topology/opens.lean | 3c318a8c1227ee7751cf3f5a42e86590501790d9 | [
"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,280 | 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
Subtype of open subsets in a topological space.
-/
import topology.bases
import topology.separation
open filter
variables {α : Type*} {β : Type*} [topo... |
55e36743af8c62e502696186b0b7e1eb4c288402 | 3d2a7f1582fe5bae4d0bdc2fe86e997521239a65 | /spatial-reasoning/spatial-reasoning-problem-13.lean | 51b79c2e31548573a80d0a4b8ba1c424d5a0e9bd | [] | no_license | own-pt/common-sense-lean | e4fa643ae010459de3d1bf673be7cbc7062563c9 | f672210aecb4172f5bae265e43e6867397e13b1c | refs/heads/master | 1,622,065,660,261 | 1,589,487,533,000 | 1,589,487,533,000 | 254,167,782 | 3 | 2 | null | 1,589,487,535,000 | 1,586,370,214,000 | Lean | UTF-8 | Lean | false | false | 3,941 | lean | /- Spatial Reasoning Problem 13 -/
/- It can be found at: SpatialQs.txt -/
/- (13) A is on the right of B
C is on the left of B.
D is in front of C.
E is in front of B.
Therefore D is on the left of E.-/
/- a. Left (x,y) & Front (z, x) + Left (front (z, x), y), where the right-hand
side signifies... |
45d6c87206b238f739ff2628cd8c7514dfb2dba6 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /stage0/src/Lean/Compiler/IR/EmitC.lean | 124dbb57215a807b9472986cacca70b687c35b3d | [
"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 | 25,088 | 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.Runtime
import Lean.Compiler.NameMangling
import Lean.Compiler.ExportAttr
import Lean.Compiler.InitAttr
import Lean.Compiler.IR.CompilerM
import... |
e7bcac26dd7e7dc67dbae17107241cd38b2a96e4 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/StxQuot.lean | 747c282871863f3fcda2ead7630d2528b704e37e | [
"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 | 4,777 | lean | import Lean
open Lean
open Lean.Elab
def run {α} [ToString α] : Unhygienic α → String := toString ∘ Unhygienic.run
#eval run `()
#eval run `(Nat.one)
def miss : TSyntax `term := ⟨Syntax.missing⟩
#eval run `($miss)
namespace Lean.Syntax
#eval run `($miss)
#eval run `($(miss))
#eval run `($(id miss) + 1)
#eval run $ l... |
f8b68e2445008adfe48e48d2b52254082385975d | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/algebra/big_operators/fin.lean | 0f293126413d3e6ef54d3d381c065831b9dd203b | [
"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 | 1,782 | lean | /-
Copyright (c) 2021 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import algebra.big_operators.basic
import data.fintype.fin
/-!
# Big operators and `fin`
Some results about products and sums over the type `fin`.
-/
open_locale big_oper... |
df1fd7c1832ae1760e945ef645663b3b5340efea | 626e312b5c1cb2d88fca108f5933076012633192 | /src/measure_theory/integral/lebesgue.lean | c490f79d592306df3d94109dd5958266d9eb50cf | [
"Apache-2.0"
] | permissive | Bioye97/mathlib | 9db2f9ee54418d29dd06996279ba9dc874fd6beb | 782a20a27ee83b523f801ff34efb1a9557085019 | refs/heads/master | 1,690,305,956,488 | 1,631,067,774,000 | 1,631,067,774,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 101,599 | 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
-/
import measure_theory.measure.measure_space
import measure_theory.constructions.borel_space
import algebra.indicator_function
import algebra.support
... |
390b751868188ae660516bc2c9cd45cd876eb7dc | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /test/norm_cast.lean | 66baaa6807312d57ca53613a1b73a9996256c5ed | [
"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 | 4,172 | lean | /-
Tests for norm_cast
-/
import tactic.norm_cast
import data.complex.basic -- ℕ, ℤ, ℚ, ℝ, ℂ
import data.real.ennreal
constants (an bn cn dn : ℕ) (az bz cz dz : ℤ) (aq bq cq dq : ℚ)
constants (ar br cr dr : ℝ) (ac bc cc dc : ℂ)
example : (an : ℤ) = bn → an = bn := by {intro h, exact_mod_cast h}
example : an = bn → (... |
c52c12ee55dc1c4cadb9abcd69ac626e5b209e0f | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/setoid/basic_auto.lean | c1b0287235c6b15831909e9541621bfe59cd0b78 | [] | 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 | 15,177 | lean | /-
Copyright (c) 2019 Amelia Livingston. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Amelia Livingston, Bryan Gin-ge Chen
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.order.galois_connection
import Mathlib.PostPort
universes u_1 u_2... |
a4d57972f9b1daa6f05216e7586c0d09d9f05f1e | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/limits/shapes/strong_epi.lean | 81e03fdfddf7a50e9e54bffa76d43cc91fc65424 | [
"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 | 6,410 | lean | /-
Copyright (c) 2020 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel
-/
import category_theory.arrow
import category_theory.balanced
/-!
# Strong epimorphisms
In this file, we define strong epimorphisms. A strong epimorphism is an epimorp... |
51570eb29a71fc4f9103967f8453d2fa9f715d5a | 3dd1b66af77106badae6edb1c4dea91a146ead30 | /tests/lean/run/e3.lean | 5190f7e2841f0bc4b42d57445bfb7f21612ef767 | [
"Apache-2.0"
] | permissive | silky/lean | 79c20c15c93feef47bb659a2cc139b26f3614642 | df8b88dca2f8da1a422cb618cd476ef5be730546 | refs/heads/master | 1,610,737,587,697 | 1,406,574,534,000 | 1,406,574,534,000 | 22,362,176 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 391 | lean | definition Prop [inline] := Type.{0}
definition false := ∀x : Prop, x
check false
theorem false_elim (C : Prop) (H : false) : C
:= H C
definition eq {A : Type} (a b : A)
:= ∀ {P : A → Prop}, P a → P b
check eq
infix `=`:50 := eq
theorem refl {A : Type} (a : A) : a = a
:= λ P H, H
theorem subst {A : Type} {P : A ... |
779b4e64bb380232d83bc6c1dc643cee2f6ae67d | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/bench/rbmap_fbip.lean | 24f16718aea1b9bd390d0232c5f79c8f02b74f8e | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 2,566 | 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, Sebastian Ullrich
Adapted from Appendix A.2 of "Reference Counting with Frame Limited Reuse" by Anton Lorenzen & Daan Leijen
https://www.microsoft.com/en-us/... |
db2f33bdf9bb7eb49a2459182fd4cb6c7c3e4bdb | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/star/subalgebra.lean | 7bf003398f68e283ece745e275a0212193689153 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 2,114 | lean | /-
Copyright (c) 2022 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.star.basic
import algebra.algebra.subalgebra.basic
/-!
# Star subalgebras
A *-subalgebra is a subalgebra of a *-algebra which is closed under *.
The... |
01ac3583933e2ff612e6d57ebf5d7e3d4f43be46 | 86f6f4f8d827a196a32bfc646234b73328aeb306 | /examples/basics/unnamed_190.lean | 8194f54d688881a0dc69c7eafbb1934bd29139ce | [] | no_license | jamescheuk91/mathematics_in_lean | 09f1f87d2b0dce53464ff0cbe592c568ff59cf5e | 4452499264e2975bca2f42565c0925506ba5dda3 | refs/heads/master | 1,679,716,410,967 | 1,613,957,947,000 | 1,613,957,947,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 237 | lean | import data.real.basic
-- BEGIN
example (a b c d e f : ℝ) (h : b * c = e * f) :
a * b * c * d = a * e * f * d :=
begin
sorry
end
example (a b c d : ℝ) (hyp : c = b * a - d) (hyp' : d = a * b) : c = 0 :=
begin
sorry
end
-- END |
bd0605cf77bdf2e7f3a99ab3ce11ac7ae02740ff | b074a51e20fdb737b2d4c635dd292fc54685e010 | /src/algebra/big_operators.lean | c67583b7eeed2d05fef1c6b8b4531f7b82c9673d | [
"Apache-2.0"
] | permissive | minchaowu/mathlib | 2daf6ffdb5a56eeca403e894af88bcaaf65aec5e | 879da1cf04c2baa9eaa7bd2472100bc0335e5c73 | refs/heads/master | 1,609,628,676,768 | 1,564,310,105,000 | 1,564,310,105,000 | 99,461,307 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 30,949 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
Some big operators for lists and finite sets.
-/
import tactic.tauto data.list.basic data.finset
import algebra.group algebra.ordered_group algebra.group_power
univers... |
0715f008d147d82a1a7f5f9e2ba12226d6fb9428 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /stage0/src/Lean/Meta/Tactic/Intro.lean | da6d3e5518984277ffebf7124117db1aa38e86d6 | [
"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 | 4,645 | 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.Meta.Tactic.Util
namespace Lean.Meta
@[inline] private partial def introNImp {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → σ... |
89dbb103dba9f7adfda3c84d4362c768077766e9 | 8cd4726d66eec7673bcc0325fed07d5ba5bf17c4 | /exam2.lean | c1235ab316a9eb3310433166974c9b5617c55209 | [] | no_license | justinqcai/CS2102 | 8c5fddedffa6147fedd4b6ee7d5d39fc21f0ddab | d309f0db3f1df52eb77206ee1e8665a3b49d7a0c | refs/heads/master | 1,590,108,991,894 | 1,557,610,044,000 | 1,557,610,044,000 | 186,064,169 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,350 | lean | /-
UVa CS 2102 Discrete Math, Semester Exam 2.
This is an individual evaluation. You may not
communicate with anyone about it by any means
for any reason whether directly or indirectly,
while you, or anyone else in this class with
whom you might be communicating, directly or
indirectly, has not yet taken and complet... |
2dbda41d370c0e83b6fe680e2f1de9699e1afd5f | 969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb | /src/probability_theory/independence.lean | 9d16f33ec41d631dbed965ab9d9bd3e8893b9f9a | [
"Apache-2.0"
] | permissive | SAAluthwela/mathlib | 62044349d72dd63983a8500214736aa7779634d3 | 83a4b8b990907291421de54a78988c024dc8a552 | refs/heads/master | 1,679,433,873,417 | 1,615,998,031,000 | 1,615,998,031,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 17,209 | lean | /-
Copyright (c) 2021 Rémy Degenne. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Rémy Degenne
-/
import measure_theory.measure_space
import measure_theory.pi_system
import algebra.big_operators.intervals
import data.finset.intervals
/-!
# Independence of sets of sets... |
916cdca61ca242aa5ebe9f0ae75df3e157f09294 | f3849be5d845a1cb97680f0bbbe03b85518312f0 | /tests/lean/run/listex2.lean | 6fe72c8eacce6c5c4eefbec92c4f36fc141dfffb | [
"Apache-2.0"
] | permissive | bjoeris/lean | 0ed95125d762b17bfcb54dad1f9721f953f92eeb | 4e496b78d5e73545fa4f9a807155113d8e6b0561 | refs/heads/master | 1,611,251,218,281 | 1,495,337,658,000 | 1,495,337,658,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,420 | lean | import tools.super
universe variable u
constant in_tail {α : Type u} {a : α} (b : α) {l : list α} : a ∈ l → a ∈ b::l
constant in_head {α : Type u} (a : α) (l : list α) : a ∈ a::l
constant in_left {α : Type u} {a : α} {l : list α} (r : list α) : a ∈ l → a ∈ l ++ r
constant in_right {α : Type... |
654b779a41379790bbbd91b92df25074357a7901 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/topology/uniform_space/completion_auto.lean | ec401d04be099b11bdbab4645ee7ca84261aac36 | [] | 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 | 20,410 | 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... |
9b18809976d3b4a82b9816d13d15a6368fbbc77a | 947b78d97130d56365ae2ec264df196ce769371a | /tests/lean/server/init_exit.lean | 481551275e43f84f85246062dd228fdfdd670a31 | [
"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 | 90 | lean | import Lean.Server
#eval Lean.Server.Test.runWithInputFile "./init_exit_client.log" none
|
bbefe308e6d26f6803b8da486fe3dbb650d3256b | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/category/Algebra/limits.lean | 9271aeab97dd633791e4ff918368a9dabd22fcf1 | [] | 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 | 7,873 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.category.Algebra.basic
import Mathlib.algebra.category.Module.limits
import Mathlib... |
15a3e14e5068f95af631eaa1b5509d3e71b11784 | 6b10c15e653d49d146378acda9f3692e9b5b1950 | /examples/logic/unnamed_312.lean | ffc45fdba3f103749356d89ad0421e2d18614b62 | [] | no_license | gebner/mathematics_in_lean | 3cf7f18767208ea6c3307ec3a67c7ac266d8514d | 6d1462bba46d66a9b948fc1aef2714fd265cde0b | refs/heads/master | 1,655,301,945,565 | 1,588,697,505,000 | 1,588,697,505,000 | 261,523,603 | 0 | 0 | null | 1,588,695,611,000 | 1,588,695,610,000 | null | UTF-8 | Lean | false | false | 142 | lean | variables A B : Prop
-- BEGIN
example : A ∧ B → B ∧ A :=
begin
intro h,
cases h with h₁ h₂,
exact ⟨h₂, h₁⟩
end
-- END |
08da1b4f68eca549b6dda3ece8ecc166cb583c84 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/799.lean | ec606bb1a87e4d11894a51d0e686caa87c42b31b | [
"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 | 139 | lean | section
variable (p : Prop)
def p := 10 -- Error
#check p
namespace Foo
def p := true -- Error
#check p
end Foo
end
def p := 10
#check p
|
0a6373c671206041a237fb779fa1095572dd3113 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/run/match_pattern2.lean | 5a9391e14a3f713526f737237bb197f28991aa0a | [
"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 | 1,415 | lean | open tactic list expr
private meta_definition pattern_telescope : expr → list expr → tactic (list expr × expr × expr)
| e ps :=
if expr.is_pi e = tt then do
n ← mk_fresh_name,
p ← return $ local_const n (binding_name e) (binding_info e) (binding_domain e),
new_e ← return $ instantiate_var (binding_... |
91ac967df6d2c918679f9484ccad46f68c41f554 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/closed/functor.lean | ef432168151b01757226d9c064675288c453fca9 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 6,726 | lean | /-
Copyright (c) 2020 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
import category_theory.closed.cartesian
import category_theory.limits.preserves.shapes.binary_products
import category_theory.adjunction.fully_faithful
/-!
# Cartesian ... |
dd62f9229e5686e1e057105905ecbed29db9e371 | dd0f5513e11c52db157d2fcc8456d9401a6cd9da | /11_Tactic-Style_Proofs.org.19.lean | e2a22e6251faf775f591595f5c8750e76995aa77 | [] | 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 | 288 | lean | import standard
import data.nat
open nat
variables x y z : ℕ
-- BEGIN
example : x + y + z = x + y + z :=
begin
generalize (x + y + z), -- goal is x y z : ℕ ⊢ ∀ (x : ℕ), x = x
clear x, clear y, clear z,
intro w, -- goal is w : ℕ ⊢ w = w
apply rfl
end
-- END
|
fc3ee896bacb1823b748a9747815323f139873a3 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /tests/playground/termParserAttr.lean | 0d509672c55dd182e9c405e73acb9981840794c9 | [
"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,039 | lean | import Init.Lean
open Lean
open Lean.Elab
def run (input : String) (failIff : Bool := true) : MetaIO Unit :=
do env ← MetaIO.getEnv;
opts ← MetaIO.getOptions;
let (env, messages) := process input env opts;
messages.toList.forM $ fun msg => IO.println msg;
when (failIff && messages.hasErrors) $ throw (IO.u... |
8ae8c1eb1f0d898a3856ec40a809958b7559a8f5 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/data/list/infix.lean | 135f4112838e0cc7b3a7ef485db93be4bed38996 | [
"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,446 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import data.list.basic
/-!
# Prefixes, subfixes, infixes
This file proves properties about
* `list.prefix`: `l₁` is a prefix of `l₂` if `l₂` starts with `l₁`.
* `li... |
b0dba9ecc1cd62a4ed5c370f41f913fc166bae50 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/ring_theory/power_series/basic_auto.lean | 7a36f29b76ec91dc35382f6390656133f59c34d2 | [] | 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 | 32,792 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.mv_polynomial.default
import Mathlib.ring_theory.ideal.operations
import Ma... |
5cdcba96ec5dc9143b3113b5e7f74de00a295c15 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/ring/commute.lean | b7ed8dbaed8f0de3fde037600e549df4ccea9577 | [
"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 | 4,378 | 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, Floris van Doorn, Yury Kudryashov, Neil Strickland
-/
import algebra.ring.semiconj
import algebra.ring.units
import algebra.group.commute
/-!
# Semiri... |
5e936a8af1efa4d3a581c008044384d07c1b5b2d | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/measure_theory/regular.lean | b5790164faf96352fe8316adde16f66ae7ed3790 | [
"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 | 37,398 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris Van Doorn
-/
import measure_theory.borel_space
/-!
# Regular measures
A measure is `regular` if it satisfies the following properties:
* it is finite on compact sets;
* it... |
f028e4527bf416131350243dc8c6d25db701a89f | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/category_theory/limits/preserves.lean | e856ee27a5e7cd77ef29c2ae591970eed70a422a | [
"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 | 13,595 | lean | /-
Copyright (c) 2018 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Reid Barton, Bhavik Mehta
-/
import category_theory.limits.limits
/-!
# Preservation and reflection of (co)limits.
There are various distinct notions of "preserving l... |
3242439e756e2b3819f13f9bd9ad530588736274 | bb31430994044506fa42fd667e2d556327e18dfe | /src/data/complex/module.lean | a79d5854959176c47effe64f89ba796a2638d738 | [
"Apache-2.0"
] | permissive | sgouezel/mathlib | 0cb4e5335a2ba189fa7af96d83a377f83270e503 | 00638177efd1b2534fc5269363ebf42a7871df9a | refs/heads/master | 1,674,527,483,042 | 1,673,665,568,000 | 1,673,665,568,000 | 119,598,202 | 0 | 0 | null | 1,517,348,647,000 | 1,517,348,646,000 | null | UTF-8 | Lean | false | false | 16,489 | 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, Eric Wieser
-/
import linear_algebra.orientation
import algebra.order.smul
import data.complex.basic
import data.fin.vec_n... |
370ae76d94b3f3527814475c6ae7cf60451f230c | 4fa161becb8ce7378a709f5992a594764699e268 | /src/algebra/group_with_zero_power.lean | 8601d3862ae1e0d89ef34bb24e63cda5e4cc6328 | [
"Apache-2.0"
] | permissive | laughinggas/mathlib | e4aa4565ae34e46e834434284cb26bd9d67bc373 | 86dcd5cda7a5017c8b3c8876c89a510a19d49aad | refs/heads/master | 1,669,496,232,688 | 1,592,831,995,000 | 1,592,831,995,000 | 274,155,979 | 0 | 0 | Apache-2.0 | 1,592,835,190,000 | 1,592,835,189,000 | null | UTF-8 | Lean | false | false | 7,636 | 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 algebra.group_power
/-!
# Powers of elements of groups with an adjoined zero element
In this file we define integer power functions for groups with an adjoin... |
e847a7b08f881e3ad7d18fd2db3560c9d290a590 | 00c000939652bc85fffcfe8ba5dd194580a13c4b | /src/mvpfunctor/basic.lean | 3095553d3f6f751f0742a5bc2879eb7092c6ca30 | [
"Apache-2.0"
] | permissive | johoelzl/qpf | a795220c4e872014a62126800313b74ba3b06680 | d93ab1fb41d085e49ae476fa364535f40388f44d | refs/heads/master | 1,587,372,400,745 | 1,548,633,467,000 | 1,548,633,467,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,159 | lean | /-
Copyright (c) 2018 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
Multivariate polynomial functors.
Note: eventually the W and M constructions as multivariate polynomial functors will go here.
-/
import ..mvfunctor
universe u
/-
multiv... |
c8fdea94fbc89786238479ca6351ae61c845dff5 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/geom_sum.lean | 8001bc85403da4b4e27575b852ccb7e0b84abf46 | [
"Apache-2.0"
] | permissive | AntoineChambert-Loir/mathlib | 64aabb896129885f12296a799818061bc90da1ff | 07be904260ab6e36a5769680b6012f03a4727134 | refs/heads/master | 1,693,187,631,771 | 1,636,719,886,000 | 1,636,719,886,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 15,433 | lean | /-
Copyright (c) 2019 Neil Strickland. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Neil Strickland
-/
import algebra.group_with_zero.power
import algebra.big_operators.order
import algebra.big_operators.ring
import algebra.big_operators.intervals
import tactic.abel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.