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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff60bf12e4419a48cc821b9a599af77668ec5e32 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/category_theory/limits/shapes/binary_products.lean | 5832170464cea80c3a8e671582d90810631939d6 | [
"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 | 9,224 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import category_theory.limits.shapes.finite_products
import category_theory.limits.shapes.terminal
import category_theory.discrete_category
/-!
# Binary (co)products... |
ce545743bf56dff90c792f1822f8d753c4a54b84 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/analysis/normed_space/real_inner_product.lean | 2b665cc5176c7d4dc331dbbc01761070386bc752 | [
"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 | 52,845 | lean | /-
Copyright (c) 2019 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou, Sébastien Gouëzel
-/
import algebra.quadratic_discriminant
import linear_algebra.bilinear_form
import tactic.apply_fun
import tactic.monotonicity
import topology.metric_s... |
6028072b833b1aa9c173a306cecbbaf0d7615db6 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/order/complete_lattice.lean | 7044dbdd520c2c84003d09473502617078b0ead9 | [
"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 | 38,167 | 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 order.bounds
/-!
# Theory of complete lattices
## Main definitions
* `Sup` and `Inf` are the supremum and the infimum of a set;
* `supr (f : ι → α)` and `in... |
734d60a5d5a7bf5e6dfdfc9003ff615b4d395897 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/rw_inst_mvars.lean | eff45a55f5324da0ef0633c0059499c24ac46e13 | [
"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 | 171 | lean | example (p : Nat → Prop) (h : ∀ n, p (n+1) = p n) : (p m ↔ p 0) := by
induction m
case succ ih =>
rw [h, ih]
exact Iff.rfl
case zero => exact Iff.rfl
|
ec86ab4bcd9564205fedc40fbf75393b26069350 | 4a092885406df4e441e9bb9065d9405dacb94cd8 | /src/power_bounded.lean | 9fa794b8b723cd82da1eb775c65cafbe0b6d5c35 | [
"Apache-2.0"
] | permissive | semorrison/lean-perfectoid-spaces | 78c1572cedbfae9c3e460d8aaf91de38616904d8 | bb4311dff45791170bcb1b6a983e2591bee88a19 | refs/heads/master | 1,588,841,765,494 | 1,554,805,620,000 | 1,554,805,620,000 | 180,353,546 | 0 | 1 | null | 1,554,809,880,000 | 1,554,809,880,000 | null | UTF-8 | Lean | false | false | 10,507 | lean | import topology.basic
import topology.algebra.ring
import algebra.group_power
import ring_theory.subring
import tactic.ring
import for_mathlib.submonoid
import for_mathlib.topological_rings
import for_mathlib.nonarchimedean.basic
local attribute [instance] set.pointwise_mul_semiring
/- The theory of topologically ni... |
b8aea3faffd7a4cb07829b016aa71ff056480f75 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/lie/abelian.lean | 0b9c476b61cee76778af4db715962ffd6cff8def | [
"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 | 11,644 | 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.of_associative
import algebra.lie.ideal_operations
/-!
# Trivial Lie modules and Abelian Lie algebras
The action of a Lie algebra `L` on a module `M` i... |
a862a9f6a75b7d8dd17fb883b7c8adb8d3f43064 | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/data/num/lemmas.lean | 8426746516c85ea26ebf8e74a2fb493219148da0 | [
"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 | 49,700 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Properties of the binary representation of integers.
-/
import data.num.basic data.num.bitwise algebra.ordered_ring
tactic.interactive data.int.basic data.... |
75da229fab4a43c6004b249af3d58724c2b80d83 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/sec_param_pp2.lean | a16e2df1088e4e101b5687c7bf3b9ba65d80e56c | [
"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 | 230 | lean | section
parameters {A : Type} (a : A)
section
parameters {B : Type} (b : B)
variable f : A → B → A
definition id2 := f a b
check id2
set_option pp.universes true
check id2
end
check id2
end
check id2
|
9295bcfa8e5f10dcc7aa6d04afbcbce4c2c590e7 | 302c785c90d40ad3d6be43d33bc6a558354cc2cf | /src/group_theory/monoid_localization.lean | 0e11e1016203912abd047b41b3969fd640aae556 | [
"Apache-2.0"
] | permissive | ilitzroth/mathlib | ea647e67f1fdfd19a0f7bdc5504e8acec6180011 | 5254ef14e3465f6504306132fe3ba9cec9ffff16 | refs/heads/master | 1,680,086,661,182 | 1,617,715,647,000 | 1,617,715,647,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 54,949 | lean | /-
Copyright (c) 2019 Amelia Livingston. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Amelia Livingston
-/
import group_theory.congruence
import group_theory.submonoid
import algebra.group.units
import algebra.punit_instances
/-!
# Localizations of commutative monoi... |
72f850d379a5fbd0a2c1ec48ed415aee491d61f9 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/topology/continuous_function/algebra.lean | a742ae95c8dd82d7b584060cb05c8c66c9688a75 | [
"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 | 33,481 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Nicolò Cavalleri
-/
import topology.algebra.module.basic
import topology.continuous_function.ordered
import topology.algebra.uniform_group
import topology.uniform_space... |
c16b5a2a263a208774b20010ca4a083fefcec794 | 592ee40978ac7604005a4e0d35bbc4b467389241 | /Library/generated/mathscheme-lean/InvolutiveAddMagmaSig.lean | 3b330f0e9b33f7d574a0e09727bce46048e8de11 | [] | 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 | 8,580 | 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 InvolutiveAddMagmaSig
structure InvolutiveAddMagmaSig (A : Type) : Type :=
(plus : (A → (A → A)))
(prim : (A → A))
open InvolutiveAddMagmaSig
structure ... |
134890e61e06d86626963b8c4acbccdf4652d765 | 6ccb5ca9e90a0387f7fd4ee6150c04fa815186c5 | /Lie_theory/src/Algebra/tangent_bundle_derivation.lean | ad8df0c62d7a7290983aa84008a5441b38002d72 | [] | no_license | AnthonyBordg/Geometry_in_Lean | a2d034aed2bc37041eff4bd5f3b0213f08b57e44 | b0f11164e9f695097b5c0e404a0dc429cdc24bb8 | refs/heads/master | 1,677,197,927,686 | 1,612,521,636,000 | 1,612,521,636,000 | 235,324,945 | 0 | 0 | null | 1,610,621,725,000 | 1,579,605,620,000 | Lean | UTF-8 | Lean | false | false | 8,139 | lean | import geometry.manifold.algebra.smooth_functions
import ring_theory.derivation
import geometry.manifold.temporary_to_be_removed
variables {𝕜 : Type*} [nondiscrete_normed_field 𝕜]
{E : Type*} [normed_group E] [normed_space 𝕜 E]
{H : Type*} [topological_space H] (I : model_with_corners 𝕜 E H)
(M : Type*) [topologic... |
09873c285d3fe1fe0bd4d3cb1b1be2d75a522b8f | a45212b1526d532e6e83c44ddca6a05795113ddc | /src/ring_theory/localization.lean | c7ef5d24c233bf936946d0baa620ef8048dafd7a | [
"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 | 24,603 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Mario Carneiro, Johan Commelin
-/
import tactic.ring data.quot data.equiv.algebra ring_theory.ideal_operations group_theory.submonoid
universes u v
namespace localization
varia... |
4ea179a4cfbedae1cf333293aa4ad74788bc9b2f | b074a51e20fdb737b2d4c635dd292fc54685e010 | /src/category_theory/monad/algebra.lean | 6aaeafae3fd2aa1233757f48b2608dbbcd8bd6f8 | [
"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 | 3,134 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import category_theory.monad.basic
import category_theory.adjunction.basic
namespace category_theory
open category
universes v₁ u₁ -- declare the `v`'s first; see `... |
2b9f9719bc34bb94c683d42e5831a0c8334405db | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/data/num/lemmas.lean | b726d619aef5e46f2745549c0e33a1c7f14126bf | [
"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 | 49,231 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Properties of the binary representation of integers.
-/
import data.num.basic data.num.bitwise algebra.ordered_ring
tactic.interactive data.int.basic data.... |
a7f83c2411cef381685f494f6a4b2934423cde2d | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/analysis/normed/group/completion.lean | c971bd88840900f6bdd8603ff70d66152532d0f1 | [
"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 | 1,343 | lean | /-
Copyright (c) 2021 Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth
-/
import analysis.normed.group.basic
import topology.algebra.group_completion
import topology.metric_space.completion
/-!
# Completion of a normed group
In this fil... |
1cfa1d0d30658cf2707818d1e8147f05edbef45f | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/fintype/basic.lean | 798902321c21bfa3ad1949d30f74f9140a246f34 | [
"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 | 88,663 | 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.array.lemmas
import data.finset.fin
import data.finset.option
import data.finset.pi
import data.finset.powerset
import data.finset.prod
import data.finset... |
ad6e45151f23b216e87a291f89b30e51367e3606 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Util/CollectLevelParams.lean | 590491592a099a68f4b9bc6c7a912e5825d670f7 | [
"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 | 2,284 | 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.Expr
namespace Lean
namespace CollectLevelParams
structure State where
visitedLevel : LevelSet := {}
visitedExpr : ExprSet := {}
... |
0fd3711317330ef501b99b34485537a4918e8ebf | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /hott/types/nat/basic.hlean | 565340ea98996f44dad091581ff4e2a9e7fe5a4e | [
"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 | 10,010 | hlean | /-
Copyright (c) 2014 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
(Ported from standard library)
Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad
Basic operations on the natural numbers.
-/
import ..num algebra.ring
open prod binary eq algebra l... |
b9948891d1b628ceec448418fec25d9f90b04688 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/computability/NFA.lean | ab90f0f21d9384efa176d8e75929ee4eb0dca723 | [
"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,887 | lean | /-
Copyright (c) 2020 Fox Thomson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fox Thomson
-/
import computability.DFA
import data.fintype.powerset
/-!
# Nondeterministic Finite Automata
This file contains the definition of a Nondeterministic Finite Automaton (NFA)... |
ef94683f712672e52bebb87a1e5e8d65d2a29b4f | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/limits/shapes/kernel_pair.lean | 45483383de7eeec914e6df659e0a8380d67bb49f | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 9,321 | 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.limits.shapes.equalizers
import category_theory.limits.shapes.comm_sq
import category_theory.limits.shapes.regular_mono
/-!
# Kernel pairs
This f... |
21cb3f52e3f5c75484eb92786cf48514e440ce91 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/tactic/elide.lean | ff61f3a38ded8c9c4f93b28c0106e061c0274a03 | [] | 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 | 885 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Simon Hudon
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.tactic.core
import Mathlib.PostPort
namespace Mathlib
namespace tactic
nam... |
6ff1ca49c01cdd9850350d031008c4d05f8809e5 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/real/pi/wallis.lean | 8869286478aa2e0f771f10584e9bf48005653901 | [
"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 | 4,838 | lean | /-
Copyright (c) 2021 Hanting Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Hanting Zhang
-/
import analysis.special_functions.integrals
/-! # The Wallis formula for Pi
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a correspond... |
f543fdfa879402ebef926a6e595c3fc04086b456 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/topology/sheaves/sheaf.lean | e88bb67263ff130b4166a49abbe45a5061bfeaf4 | [
"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 | 4,298 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import topology.sheaves.sheaf_condition.equalizer_products
import category_theory.full_subcategory
/-!
# Sheaves
We define sheaves on a topological space, with valu... |
85b7bdb367bae627fd9570253e6555e75597f9b2 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/control/lawful_fix_auto.lean | 0aadba4aa8fc16fe12f87188c9b6bfd703379082 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,242 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Simon Hudon
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.tactic.apply
import Mathlib.control.fix
import Mathlib.order.omega_complete_partial_order
import M... |
bc2620bc859ebc511cc8f36b61b5baa9cacd0244 | dc15192b741b5d1c22cea8d65d6eb38bce3d838d | /src/matroid.lean | 46d26d1229578e84f6d2099c6e81434eac9e86cf | [] | no_license | VArtem/lean-matroids | 86910241ac8d1a5ec7b35adb77c1cc9969480fb9 | a8969b1cb2456820ccbdce65e2e168c48c30d9bf | refs/heads/main | 1,678,556,999,525 | 1,614,537,008,000 | 1,614,537,008,000 | 338,915,729 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 1,884 | lean | import data.fintype.basic
import tactic
import finset
-- TODO:
-- matroid constructions: subtype, contraction, direct sum, map
-- dual matroid, matroid isomorphism
-- base theorem, base construction
-- circuit theorem, circuit construction
-- rank theorem, rank construction
-- closure theorem, closure construction
--... |
febeb374b7c2c55abb7c8d53be44ad3876fdac42 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/finset/pi.lean | 8ed9a19a57fb32c9957f363a392c6ff0bf3d6fb3 | [
"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 | 4,477 | 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
-/
import data.finset.basic
import data.multiset.pi
/-!
# The cartesian product of finsets
-/
namespace finset
open multiset
/-! ### pi -/
section pi
variables {α : T... |
054ca93046f143de172491acf4862bc31ebf28ae | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/algebra/group/units.lean | 23f4851d08a2b445115105f17e4addb110463131 | [
"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 | 19,908 | lean | /-
Copyright (c) 2017 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Mario Carneiro, Johannes Hölzl, Chris Hughes, Jens Wagemaker, Jon Eugster
-/
import algebra.group.basic
import logic.nontrivial
/-!
# Units (i.e., invertible elements) of a mono... |
ddd2b5d00de5d161443d66bd894f360a57e9c380 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/matrix/basic_auto.lean | 736c5f2a77bf56037efa28566ab8a63d9c7c0877 | [] | 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 | 59,683 | lean | /-
Copyright (c) 2018 Ellen Arlt. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.big_operators.pi
import Mathlib.al... |
f80a0b7cd1ea68628b344b7fd4f11f01d1885ce4 | c8b4b578b2fe61d500fbca7480e506f6603ea698 | /src/caseII/statement.lean | 496ac273097a9358da573bf6d924c9142c5559fd | [] | no_license | leanprover-community/flt-regular | aa7e564f2679dfd2e86015a5a9674a6e1197f7cc | 67fb3e176584bbc03616c221a7be6fa28c5ccd32 | refs/heads/master | 1,692,188,905,751 | 1,691,766,312,000 | 1,691,766,312,000 | 421,021,216 | 19 | 4 | null | 1,694,532,115,000 | 1,635,166,136,000 | Lean | UTF-8 | Lean | false | false | 524 | lean | import may_assume.lemmas
namespace flt_regular
/-- Statement of case II. -/
def caseII.statement : Prop := ∀ ⦃a b c : ℤ⦄ ⦃p : ℕ⦄ [hp : fact p.prime]
(hreg : @is_regular_prime p hp)
(hodd : p ≠ 2) (hprod : a * b * c ≠ 0) (caseII : ↑p ∣ a * b * c), a ^ p + b ^ p ≠ c ^ p
/-- CaseII. -/
theorem caseII {a b c : ℤ} {p... |
c5adbbc56291aaa711c6ab09a73ae8238c72670e | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /stage0/src/Init/Data/List/BasicAux.lean | 566881697f965950e8df5d024d7c2bd9450a7668 | [
"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 | 6,125 | 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.Data.Nat.Linear
import Init.Data.List.Basic
import Init.Util
universe u
namespace List
/-! The following functions can't be defined at ... |
d0b8a7f1125168b804a41403d1b482fc993cc1a8 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/category/Algebra/basic.lean | 24769d5efe05cf78ac3000f1802fbfc7be2ac608 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,857 | 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.algebra.basic
import Mathlib.algebra.algebra.subalgebra
import Mathlib.algebra.free... |
55512bc19eb9982c841976662778c314c664f725 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/353.lean | d98ee9b01d0514cb605f71a81086f0a6557a03fd | [
"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 | 479 | lean | class ArrSort (α : Sort u1) where
Arr : α → α → Sort u2
class Arr (α : Sort u1) (γ : Sort u2) where
Arr : α → α → γ
infix:70 " ~> " => Arr.Arr
@[default_instance]
instance inst1 {α : Sort _} [ArrSort α] : Arr α (Sort _) := { Arr := ArrSort.Arr }
instance inst2 : ArrSort Prop := { Arr := λ a b => a → b }
set_option... |
57ac70060131c7f2cdb458cd133179aca0d55237 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/tactic3.lean | 55e0e576f30aa8141eaeca5fec587d3295096ba3 | [
"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 | 193 | lean | import logic
open tactic
theorem tst {A B : Prop} (H1 : A) (H2 : B) : A
:= by (trace "first"; state; now |
trace "second"; state; fail |
trace "third"; assumption)
check tst
|
23b5b7b1a24d91e2982ffe46720e5f73718707c0 | ea11767c9c6a467c4b7710ec6f371c95cfc023fd | /src/monoidal_categories/internal_objects/modules.lean | 966b1d70f0b6ffce381114409b684e895dbc93b6 | [] | no_license | RitaAhmadi/lean-monoidal-categories | 68a23f513e902038e44681336b87f659bbc281e0 | 81f43e1e0d623a96695aa8938951d7422d6d7ba6 | refs/heads/master | 1,651,458,686,519 | 1,529,824,613,000 | 1,529,824,613,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,457 | 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 .semigroup_modules
import .monoids
open categories
open categories.monoidal_category
namespace categories.internal_objects
universes u v
... |
971736b3ee2c8b8b86ed2fce75d667d45f84bb98 | ea80d7bb31b9673a3a06d5148363b44b66c53796 | /thys/core/generated.lean | f1166676dea1edfeba0bd8bdbba7a635474ea48d | [] | no_license | gitter-badger/electrolysis | 2a59d6e0fe1b6629a14a1202e31b1a8ff1c93ced | 4f63846e817cb52bdac4ae65ef3d17634e6ffc36 | refs/heads/master | 1,608,825,996,259 | 1,467,154,609,000 | 1,467,154,609,000 | 62,184,345 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,252 | lean | import core.pre
import data.nat data.list
noncomputable theory
open classical
open int
open nat
open option
open prod.ops
open sum
namespace core
open core
inductive cmp.Ordering :=
| Less {} : cmp.Ordering
| Equal {} : cmp.Ordering
| Greater {} : cmp.Ordering
structure ops.RangeTo (Idx : Type) := mk {} ::
(end_ :... |
3ee86d9ea07c9362113692ceff456bc6d300fe51 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/run/injection1.lean | 9b4513e72e3fd285f824fb576e6d6e0b21b7ae0b | [
"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 | 794 | lean | open nat tactic
inductive vec (A : Type) : nat → Type
| nil : vec nat.zero
| cons : ∀ {n}, A → vec n → vec (succ n)
example (n : nat) (v w : vec nat n) (a b : nat) : vec.cons a v = vec.cons b w → a = b :=
by do
intro `H,
H ← get_local `H,
injection H,
trace_state,
assumption
example (n : nat) (v w : vec n... |
f114828dcde1c1c7ee2139018768bdc55d7522ae | 8b147c3d61a55005ca839480a4045e69683f7655 | /compiler.lean | 9b1b2f0f3d25fba1004f5d300d738d941c6ba74c | [] | no_license | dselsam/unrealistic_compiler | ce69efac0d573642b67f44a63eb5f18cdf596b27 | 70514de492a6a1ed705ad247333ae5b3f8455a83 | refs/heads/master | 1,609,483,664,302 | 1,500,654,169,000 | 1,500,654,169,000 | 97,516,326 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 19,520 | lean | import data.hash_map library_dev.data.list.set
namespace state
@[inline] def modify {σ : Type} : (σ → σ) → state σ unit :=
λ f s, ((), f s)
def inc : state ℕ unit := modify (λ n, n + 1)
def dec : state ℕ unit := modify (λ n, n - 1)
end state
namespace list
def dnth {α : Type*} [decidable_eq α] [inhabited α] (xs : ... |
d26467c40d68ccbcaa598837b6b8bda2601cd1d8 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/linear_algebra/affine_space/affine_map.lean | 15b92296a23b5b7f25f1492072bf4ec909025301 | [
"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 | 25,058 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers
-/
import data.set.pointwise.interval
import linear_algebra.affine_space.basic
import linear_algebra.bilinear_map
import linear_algebra.pi
import linear_algebra.prod
/-!
# ... |
9251b348e8cb8b137a26716863c6b3d61a6f855c | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/calculus/conformal/inner_product.lean | b81bb673c1eda9d31d6a406decfd0a85525801f7 | [
"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,632 | lean | /-
Copyright (c) 2021 Yourong Zang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yourong Zang
-/
import analysis.calculus.conformal.normed_space
import analysis.inner_product_space.conformal_linear_map
/-!
# Conformal maps between inner product spaces
> THIS FILE I... |
186954a332e219afddea0d0d7a70cc0f2e675fcd | 4727251e0cd73359b15b664c3170e5d754078599 | /src/linear_algebra/lagrange.lean | fae4f3c345c356e7795551def79e85df7ca5b724 | [
"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 | 9,743 | 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.big_operators.basic
import ring_theory.polynomial.basic
/-!
# Lagrange interpolation
## Main definitions
* `lagrange.basis s x` where `s : finset F` and `x :... |
f05008fcd65ee400aeb5ab6c1c3abfa79478dddf | ebbdcbd7ddc89a9ef7c3b397b301d5f5272a918f | /qp/p1_categories/c3_wtypes/s5_wtypes.lean | 053d131b974a22d98d14769088105169835fadbe | [] | 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 | 3,773 | lean | /- -----------------------------------------------------------------------
W-types.
----------------------------------------------------------------------- -/
import .s4_poly_endofuns
namespace qp
open stdaux
universe variables ℓobj ℓhom
/- -----------------------------------------------------------------------
... |
bff4b254632083bdb3742f7cb9f9e8bdc9841135 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/gcd_monoid/multiset.lean | b00b7a2084a854c8c8cf50a77fefa1ad37fcaba5 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 6,688 | lean | /-
Copyright (c) 2020 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
import algebra.gcd_monoid.basic
/-!
# GCD and LCM operations on multisets
## Main definitions
- `multiset.gcd` - the greatest common denominator of a `multiset` of... |
dbb4399bd5c0b6c03cd6819532eae2902069f9bc | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/tactic/equiv_rw.lean | 766703bf8924f8e3428d5e76b0fa78cae8feed90 | [
"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 | 13,720 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import logic.equiv.defs
import tactic.clear
import tactic.simp_result
import tactic.apply
import control.equiv_functor.instances -- these make equiv_rw more powerful!... |
97b59d901e1d6aff1ae6d0406888459a59a6e633 | 453dcd7c0d1ef170b0843a81d7d8caedc9741dce | /data/equiv/basic.lean | 329b733a5eaa50c4ff9328a7696b6bf43120828c | [
"Apache-2.0"
] | permissive | amswerdlow/mathlib | 9af77a1f08486d8fa059448ae2d97795bd12ec0c | 27f96e30b9c9bf518341705c99d641c38638dfd0 | refs/heads/master | 1,585,200,953,598 | 1,534,275,532,000 | 1,534,275,532,000 | 144,564,700 | 0 | 0 | null | 1,534,156,197,000 | 1,534,156,197,000 | null | UTF-8 | Lean | false | false | 25,928 | 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... |
578113b5a1acbdb43c5ee8ec5d0f5a35b3489d7b | 302b541ac2e998a523ae04da7673fd0932ded126 | /tests/playground/closure.lean | 81b090188f974ad1cec4ae0d29f478bde9624d7f | [] | no_license | mattweingarten/lambdapure | 4aeff69e8e3b8e78ea3c0a2b9b61770ef5a689b1 | f920a4ad78e6b1e3651f30bf8445c9105dfa03a8 | refs/heads/master | 1,680,665,168,790 | 1,618,420,180,000 | 1,618,420,180,000 | 310,816,264 | 2 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 171 | lean | set_option trace.compiler.ir.init true
def bar : Nat -> Nat -> Nat -> Nat
| x,y,z => if x > y + z then 0 else 1
def foo (n : Nat) : (Nat -> Nat -> Nat) := bar n
|
4a0e9ead67d54cf8525d3932c6f624ea1500c1b6 | 1fd908b06e3f9c1252cb2285ada1102623a67f72 | /init/equiv.lean | f906cc275dcd0a5ca22cad31913955c1ad60d73c | [
"Apache-2.0"
] | permissive | avigad/hott3 | 609a002849182721e7c7ae536d9f1e2956d6d4d3 | f64750cd2de7a81e87d4828246d1369d59f16f43 | refs/heads/master | 1,629,027,243,322 | 1,510,946,717,000 | 1,510,946,717,000 | 103,570,461 | 0 | 0 | null | 1,505,415,620,000 | 1,505,415,620,000 | null | UTF-8 | Lean | false | false | 19,629 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad, Jakob von Raumer, Floris van Doorn
Ported from Coq HoTT
-/
import .path .meta.rewrite
universes u v w
hott_theory
namespace hott
open function
/- Equivalences ... |
57e0734b1035b2e9977e158ac1b197e6d9af3b1c | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /stage0/src/Init/Data/UInt.lean | a7933b387b9c8e3c75fbe0be842b8a3ac1efcd6c | [
"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 | 14,643 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Data.Fin.Basic
import Init.System.Platform
open Nat
@[extern "lean_uint8_of_nat"]
def UInt8.ofNat (n : @& Nat) : UInt8 := ⟨Fin.ofNat n... |
2c07d9ebdbd0fed8b98db60ac26d9a710108854c | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/lake/Lake/Build/Context.lean | 8885a9957a1f615bb8990b063700f5ea0851d84a | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 1,907 | lean | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
import Lake.Util.Log
import Lake.Util.Task
import Lake.Util.Error
import Lake.Util.OptionIO
import Lake.Config.Context
import Lake.Build.Trace
import Lake.Build.Store
import ... |
88b4c8e6aea7606fc7341b11913640ada2a2a8b8 | 556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e | /src/starkware/cairo/lean/semantics/air_encoding/glue.lean | e24f380734e8278818dc8154d1ceb030a3b64f3d | [
"Apache-2.0"
] | permissive | starkware-libs/formal-proofs | d6b731604461bf99e6ba820e68acca62a21709e8 | f5fa4ba6a471357fd171175183203d0b437f6527 | refs/heads/master | 1,691,085,444,753 | 1,690,507,386,000 | 1,690,507,386,000 | 410,476,629 | 32 | 9 | Apache-2.0 | 1,690,506,773,000 | 1,632,639,790,000 | Lean | UTF-8 | Lean | false | false | 29,331 | lean | /-
This file translates the autogenerated data and constraints to the form used in the formalization.
-/
import starkware.cairo.lean.semantics.air_encoding.constraints_autogen
import starkware.cairo.lean.semantics.air_encoding.constraints
import starkware.cairo.lean.semantics.air_encoding.memory
import starkware.cairo.... |
9ad5717dc1d0e1f7267c186ca4d9c8a9601173e2 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/topology/uniform_space/cauchy.lean | fb7392c7b48cae36894bdf8b4af0cb596e000e3f | [
"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 | 22,547 | 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
Theory of Cauchy filters in uniform spaces. Complete uniform spaces. Totally bounded subsets.
-/
import topology.uniform_space.basic data.set.intervals
... |
ab7b2cc21aa6e212b16b8c6462fe879a5c9f55d0 | 72f5572e1935cd1fb8bb2f4d3e83baf510ef2910 | /lean/hello.lean | 709ed558790d4ff7662dc1df49506b951f52f0ee | [] | no_license | 0918nobita/theorem-proving | 7f546c0d4fe37745ad3bf86c12590dab3fc8ccce | 394e45bbd67e916d6800dbfdcf89dcabb139f4c1 | refs/heads/main | 1,690,365,095,725 | 1,631,347,571,000 | 1,631,347,617,000 | 404,406,926 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,265 | lean | -- #check コマンドは項の型を出力する
#check 1
#check fun (x : Nat) => x + 1
-- #eval コマンドは即座に式を評価し結果を出力する
#eval (fun (x : Nat) => x + 1) 3
def fact : Nat → Nat
| 0 => 1
| n + 1 => (n + 1) * fact n
#eval fact 5
#check @toString
#eval List.map (fun x => toString x) [1, 2, 3]
#eval [4, 5, 6].map toString
-- [intro タクティック]
-... |
8fc505eeb25f3aac74b1ee89fe021618364c34ba | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/tactic/trunc_cases.lean | a4a50b80011e6e9d63768808783afcb58480a43b | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,538 | 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.tactic.chain
import Mathlib.data.quot
import Mathlib.PostPort
namespace Mathlib
namespace... |
dadfe5d486263a8c05b0fd5b7d3e739ed0dcac18 | 7b66d83f3b69dae0a3dfb684d7ebe5e9e3f3c913 | /src/demos/structures.lean | f4ec8797bb002005ee87a9424f39a5f9352c742d | [] | permissive | dpochekutov/lftcm2020 | 58a09e10f0e638075b97884d3c2612eb90296adb | cdfbf1ac089f21058e523db73f2476c9c98ed16a | refs/heads/master | 1,669,226,265,076 | 1,594,629,725,000 | 1,594,629,725,000 | 279,213,346 | 1 | 0 | MIT | 1,594,622,757,000 | 1,594,615,843,000 | null | UTF-8 | Lean | false | false | 4,719 | lean | import data.rat.basic
import algebra.group.prod
/-!
Lecture 1:
* Use one structure as a running example, probably `equiv` or `embedding`.
* Declaring a structure
* name, arguments, type, fields
* Using a structure
* Using projections (without and with the `open` command)
* projection notation
* `.1`, `.2`
Lec... |
d119772d63333c1b83a935e263663ac4f65b5a65 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/ring_theory/nakayama.lean | 5843c7a1ff70b8465e568f8d22a9212158772957 | [
"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,563 | lean | /-
Copyright (c) 2021 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import ring_theory.noetherian
import ring_theory.jacobson
/-!
# Nakayama's lemma
This file contains some alternative statements of Nakayama's Lemma as found in
[Stacks: ... |
c52e3ab22aebf1f4e02bba774af68f6bcdb5787b | 367134ba5a65885e863bdc4507601606690974c1 | /src/algebra/char_p/default.lean | 768ba641836089e5d706eaa5a1b5bf5d203ac168 | [
"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 | 114 | lean | import algebra.char_p.basic
import algebra.char_p.pi
import algebra.char_p.quotient
import algebra.char_p.subring
|
95d6d7312f97ce9fe7ec77dacae1274b11e3fa45 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/topology/category/Compactum.lean | 6248193ebb7e3580a0e24a25aa4a4a407f8916cc | [] | 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 | 10,359 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.category_theory.monad.types
import Mathlib.category_theory.monad.limits
import Mathlib.category_the... |
1e2192735c5c98132f7b67bcad9f0c03053a92e6 | 7b02c598aa57070b4cf4fbfe2416d0479220187f | /algebra/short_five.hlean | af701b99a8fc103b6f98db20e4e73ac0374c5ec4 | [
"Apache-2.0"
] | permissive | jdchristensen/Spectral | 50d4f0ddaea1484d215ef74be951da6549de221d | 6ded2b94d7ae07c4098d96a68f80a9cd3d433eb8 | refs/heads/master | 1,611,555,010,649 | 1,496,724,191,000 | 1,496,724,191,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,338 | hlean | /-
Author: Jeremy Avigad
-/
import .module_chain_complex
open eq pointed sigma fiber equiv is_equiv sigma.ops is_trunc nat trunc
open algebra function succ_str
open left_module
section short_five
variable {R : Ring}
variables {A₀ B₀ C₀ A₁ B₁ C₁ : LeftModule R}
variables {f₀ : A₀ →lm B₀} {g₀ : B₀ →lm C₀}
varia... |
9452277b3dc6674654c69fbbb2ec7f7ce7951868 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/list/chain.lean | 6c32f98a89be090874abb086e4ac13fa29a348a4 | [
"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 | 13,042 | 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, Yury Kudryashov
-/
import data.list.pairwise
import logic.relation
/-!
# Relation chain
This file provides basic results about `list.chain` (definition in ... |
c32c3ffa37efaaede798c69016e52942288a9159 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/category_theory/abelian/diagram_lemmas/four.lean | 0bea6dcb0d2a43a6a66ca249e0b71ddb5b27a6b4 | [
"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 | 7,600 | 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.abelian.pseudoelements
/-!
# The four and five lemmas
Consider the following commutative diagram with exact rows in an abelian category:
```
A... |
20e985d5e19784c23b994502be1502c57d6e7e11 | 756551a6bafe9c7552e87708361fadc519f7eeab | /lean/love02_backward_proofs_exercise_solution.lean | c360381f2b75c0c1fdbe70cb17eab8cb63dfb667 | [] | no_license | lifeislikethisonly/logical_verification_2020 | 50fe9bae0a890d57989589ca84e5cc8bbe4e2d55 | 7a9f4bd73498189d9beb5d4591e0f2b3ca316111 | refs/heads/master | 1,674,981,358,396 | 1,607,086,735,000 | 1,607,086,735,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,665 | lean | import .love02_backward_proofs_demo
/- # LoVe Exercise 2: Backward Proofs -/
set_option pp.beta true
set_option pp.generalized_field_notation false
namespace LoVe
namespace backward_proofs
/- ## Question 1: Connectives and Quantifiers
1.1. Carry out the following proofs using basic tactics.
Hint: Some strateg... |
73c6f5baf5744a8e6564861554ea90e21028c0b5 | 8930e38ac0fae2e5e55c28d0577a8e44e2639a6d | /tactic/interactive.lean | eea2ea7ec9812db02df200cc7b1be662cdfeb42a | [
"Apache-2.0"
] | permissive | SG4316/mathlib | 3d64035d02a97f8556ad9ff249a81a0a51a3321a | a7846022507b531a8ab53b8af8a91953fceafd3a | refs/heads/master | 1,584,869,960,527 | 1,530,718,645,000 | 1,530,724,110,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,491 | 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.dlist data.dlist.basic data.prod category.basic
tactic.basic tactic.rcases tactic.generalize_proofs
tactic.split_ifs meta.expr
open lean
open lean.pa... |
f3028550d8d94278a850a321679d8df9530865ac | 30b012bb72d640ec30c8fdd4c45fdfa67beb012c | /analysis/bounded_linear_maps.lean | 728f79890069a0c70e894eb486a373ef01a9344b | [
"Apache-2.0"
] | permissive | kckennylau/mathlib | 21fb810b701b10d6606d9002a4004f7672262e83 | 47b3477e20ffb5a06588dd3abb01fe0fe3205646 | refs/heads/master | 1,634,976,409,281 | 1,542,042,832,000 | 1,542,319,733,000 | 109,560,458 | 0 | 0 | Apache-2.0 | 1,542,369,208,000 | 1,509,867,494,000 | Lean | UTF-8 | Lean | false | false | 5,864 | 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
Continuous linear functions -- functions between normed vector spaces which are bounded and linear.
-/
import algebra.field
import tactic.norm_num
impor... |
33de336329c89c8845bf4b0d89cf74c443cae148 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/mv_polynomial/comap.lean | a532cd8918d99ee348445af537c70dd7a5cd1203 | [
"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 | 3,618 | 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 data.mv_polynomial.rename
/-!
# `comap` operation on `mv_polynomial`
This file defines the `comap` function on `mv_polynomial`.
`mv_polynomial.comap` is a ... |
bf7ec77ce14cd5290b38341c6775e8953d398b82 | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/data/nat/cast.lean | 6d247d82f9d03f9b79a39f326309ecbd3bcfa582 | [
"Apache-2.0"
] | permissive | hamdysalah1/mathlib | b915f86b2503feeae268de369f1b16932321f097 | 95454452f6b3569bf967d35aab8d852b1ddf8017 | refs/heads/master | 1,677,154,116,545 | 1,611,797,994,000 | 1,611,797,994,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,482 | lean | /-
Copyright (c) 2014 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
Natural homomorphism from the natural numbers into a monoid with one.
-/
import algebra.ordered_field
import data.nat.basic
namespace nat
variables {α : Type*}
sectio... |
54d7bb78d90f7c7ad5771a81b4d84e89b438647f | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /archive/100-theorems-list/9_area_of_a_circle.lean | 5e6177e2c5c98119ddf60b018f4d03d7d246f650 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 6,503 | lean | /-
Copyright (c) 2021 James Arthur, Benjamin Davidson, Andrew Souther. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: James Arthur, Benjamin Davidson, Andrew Souther
-/
import measure_theory.integral.interval_integral
import analysis.special_functions.sqrt
import analy... |
50ec722a46ff5b28d2b8077b202d5ae196c73e18 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/logic/equiv/basic.lean | 84745166d6e14f3a4c0c53f747de11c2c372f37e | [
"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 | 63,001 | 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
-/
import logic.equiv.defs
import data.option.basic
import data.prod.basic
import data.sigma.basic
import data.subtype
import data.sum.basic
im... |
5e1c2e6e04241f707c4d02f568d4fcff73a7d6f3 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/subset_properties.lean | 97d583e2dacd988e37ad06b80d5d6b677efe9e49 | [
"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 | 92,508 | 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 order.filter.pi
import topology.bases
import data.finset.order
import data.set.accumulate
import data.set.bool_indicator
impor... |
06b4b6faae1427bc8ca64f940bce99161e7a32c8 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/nilpotent.lean | b0031b536f90cb8a29401bfebbfcd26b35970524 | [
"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,097 | 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 data.nat.choose.sum
import algebra.algebra.bilinear
import ring_theory.ideal.operations
/-!
# Nilpotent elements
## Main definitions
* `is_nilpotent`
* `is_ni... |
3e0032661aea3a7aa0c1359cf7b854e03ec2e046 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/playground/patcheqnspace2.lean | 2e04b1d22dc8c8da93eaa777632dffb727843f24 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 1,909 | lean | import init.lean.parser
import init.lean.parser.transform
open Lean
open Lean.Parser
def getAtomTrailingSpace : Syntax → Nat
| Syntax.atom (some info) _ => info.trailing.stopPos - info.trailing.startPos
| _ => 0
def getMinTrailingSpace (ps : Array Syntax) (i : Nat) : Nat :=
ps.foldl (fun acc (p : Syntax) =>
let spa... |
7b4d04dac959e4db1ae984bea84a094ba8a15461 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /hott/algebra/category/constructions/terminal.hlean | 444107903422774c61db13329509fe3cf16d3376 | [
"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,788 | 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
Terminal category
-/
import .indiscrete
open functor is_trunc unit eq
namespace category
definition terminal_precategory [constructor] : precategory unit :=
... |
dc96eb1896e3e5d786a9f3d9a471a30c44739b77 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/geometry/manifold/algebra/monoid.lean | d420bbfdded3ac28d4e41aad40e12e50b058a22e | [
"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 | 11,065 | lean | /-
Copyright © 2020 Nicolò Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nicolò Cavalleri
-/
import geometry.manifold.cont_mdiff_map
/-!
# Smooth monoid
A smooth monoid is a monoid that is also a smooth manifold, in which multiplication is a smooth map
of... |
0463ff2e58f3bfb15645157f0186223bfe19781c | a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7 | /src/geometry/manifold/basic_smooth_bundle.lean | 1b86fe76f627624edba456a1b106e5123a558473 | [
"Apache-2.0"
] | permissive | kmill/mathlib | ea5a007b67ae4e9e18dd50d31d8aa60f650425ee | 1a419a9fea7b959317eddd556e1bb9639f4dcc05 | refs/heads/master | 1,668,578,197,719 | 1,593,629,163,000 | 1,593,629,163,000 | 276,482,939 | 0 | 0 | null | 1,593,637,960,000 | 1,593,637,959,000 | null | UTF-8 | Lean | false | false | 31,736 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.topological_fiber_bundle
import geometry.manifold.smooth_manifold_with_corners
/-!
# Basic smooth bundles
In general, a smooth bundle is a bund... |
39936ed92fa4462ab550bcd3b244c0165fb6c5b3 | fcf3ffa92a3847189ca669cb18b34ef6b2ec2859 | /src/world7/level2.lean | 69baa6dcceae834db7d1f27ad9cecb39d8108126 | [
"Apache-2.0"
] | permissive | nomoid/lean-proofs | 4a80a97888699dee42b092b7b959b22d9aa0c066 | b9f03a24623d1a1d111d6c2bbf53c617e2596d6a | refs/heads/master | 1,674,955,317,080 | 1,607,475,706,000 | 1,607,475,706,000 | 314,104,281 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 172 | lean | lemma and_symm (P Q : Prop) : (P ∧ Q) → (Q ∧ P) :=
begin
intro h,
cases h with p q,
split,
{
exact q,
},
{
exact p,
},
end |
1ea657422d0af9370f7434ea5fcd37ba34d1e335 | 618003631150032a5676f229d13a079ac875ff77 | /test/packaged_goal.lean | df6c66c552a3f1a9d5e62371d76abeae74334116 | [
"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 | 819 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author(s): Simon Hudon
-/
import tactic.core
open tactic
/--
Demonstrate the packaged goals and how comparison of dependent goals
works.
-/
example (m n : ℕ) : m = n :=
by do
{ let tac := `[cases... |
2e44beaddccdbe2e0523edf695355ed8e84ab851 | ad0c7d243dc1bd563419e2767ed42fb323d7beea | /analysis/measure_theory/outer_measure.lean | 742d8bb00b55c789d66b979257261cd6cffaf2a2 | [
"Apache-2.0"
] | permissive | sebzim4500/mathlib | e0b5a63b1655f910dee30badf09bd7e191d3cf30 | 6997cafbd3a7325af5cb318561768c316ceb7757 | refs/heads/master | 1,585,549,958,618 | 1,538,221,723,000 | 1,538,221,723,000 | 150,869,076 | 0 | 0 | Apache-2.0 | 1,538,229,323,000 | 1,538,229,323,000 | null | UTF-8 | Lean | false | false | 18,189 | 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
Outer measures -- overapproximations of measures
-/
import order.galois_connection algebra.big_operators algebra.module
analysis.ennreal analysi... |
d0587e0bddf83ced7c2ea34ddb1e22baa8e443d8 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/invertible.lean | f1ab5c27eaf508facd6bd4990a37b998af89a43c | [
"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,420 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import algebra.group.units
import algebra.ring.basic
/-!
# Invertible elements
This file defines a typeclass `invertible a` for elements `a` with a two-sided
multiplicat... |
e5c878f89b220e307452cda138b7abe9759c55a7 | 592ee40978ac7604005a4e0d35bbc4b467389241 | /Library/generated/mathscheme-lean/MoufangLaw.lean | cd4a591149d30840f95dce7f5f725e842a8247ee | [] | 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 | 5,871 | 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 MoufangLaw
structure MoufangLaw (A : Type) : Type :=
(op : (A → (A → A)))
(moufangLaw : (∀ {e x y z : A} , ((op y e) = y → (op (op (op x y) z) x) = (op x (op y ... |
720212805b3bb4048872f79691f0ff79eed96089 | cf39355caa609c0f33405126beee2739aa3cb77e | /library/init/data/punit.lean | 29b6cf4a0d691f047bc051c0b7af051b2bf02294 | [
"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 | 516 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import init.logic
lemma punit_eq (a b : punit) : a = b :=
punit.rec_on a (punit.rec_on b rfl)
lemma punit_eq_star (a : punit) : a = punit.star :=
p... |
dc8950b1634a654b2bbe58abfbcda0bf4f433869 | 07c76fbd96ea1786cc6392fa834be62643cea420 | /hott/eq2.hlean | f75ae9b58eb6783e75d079032e4d236aa1fd314f | [
"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 | 13,515 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Theorems about 2-dimensional paths
-/
import .cubical.square .function
open function is_equiv equiv sigma trunc
namespace eq
variables {A B C : Type} {f : A → B}... |
c7f20a60380e6c5363a410b56629fbdebfd6f8c5 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/nat_bug6.lean | 85d889fe9d484608e56364ad2d9359d2d778cc21 | [
"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 | 491 | lean | import logic
open eq.ops
namespace experiment
inductive nat : Type :=
| zero : nat
| succ : nat → nat
namespace nat
definition add (x y : nat) : nat := nat.rec x (λn r, succ r) y
infixl `+` := add
definition mul (n m : nat) := nat.rec zero (fun m x, x + n) m
infixl `*` := mul
axiom mul_zero_right (n : nat) : n * zero... |
8c73d8a795b6938c5ed16afcad8685d6df2c6dbe | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/topology/algebra/module.lean | d2a02d23e9799369cd0962667ede2615c4a75874 | [
"Apache-2.0"
] | permissive | ayush1801/mathlib | 78949b9f789f488148142221606bf15c02b960d2 | ce164e28f262acbb3de6281b3b03660a9f744e3c | refs/heads/master | 1,692,886,907,941 | 1,635,270,866,000 | 1,635,270,866,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 70,847 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo, Yury Kudryashov, Frédéric Dupuis,
Heather Macbeth
-/
import topology.algebra.ring
import topology.algebra.mul_action
import topology... |
1cc7cf3acd5d8c4ad3fed6ce364f74c5d063bad2 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /tests/lean/safeShadowing.lean | 0c129465035e6470a551f1bf4ebe7b65c8fafff0 | [
"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 | 308 | lean | def f (x x : Nat) :=
match x with
| 0 => x + 1
| Nat.succ _ => x + 2
variable {α : Type}
#check fun (a : α) => a
#check fun {α} (a : α) => a
#check fun (x x : Nat) => x
#print f
set_option pp.safe_shadowing false
#check fun {α} (a : α) => a
#check fun (x x : Nat) => x
#print f
|
dac9bedfbfe8200afb9ea560f6f606e58d62bc62 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/algebra/dual_quaternion.lean | 863840d77d885d956980767de8b9606dda48deaa | [
"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 | 4,154 | lean | /-
Copyright (c) 2023 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import algebra.dual_number
import algebra.quaternion
/-!
# Dual quaternions
Similar to the way that rotations in 3D space can be represented by quaternions of unit length... |
bb10364216df593824d051e8a031885071bef5e1 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/gcd_monoid/finset.lean | 7aa6d8e24bbe758fd2f7650a378440ecab6040ba | [
"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 | 6,868 | lean | /-
Copyright (c) 2020 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
import data.finset.fold
import algebra.gcd_monoid.multiset
/-!
# GCD and LCM operations on finsets
## Main definitions
- `finset.gcd` - the greatest common denomin... |
a5b4a7471fc6306df35c6bb660237be9ec559db3 | 32317185abf7e7c963f4c67c190aec61af6b3628 | /hott/algebra/field.hlean | 298aeb1122fee6281d4a29c02aec304d626effad | [
"Apache-2.0"
] | permissive | Andrew-Zipperer-unorganized/lean | 198a2317f21198cd8d26e7085e484b86277f17f7 | dcb35008e1474a0abebe632b1dced120e5f8c009 | refs/heads/master | 1,622,526,520,945 | 1,453,576,559,000 | 1,454,612,842,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 21,829 | hlean | /-
Copyright (c) 2014 Robert Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Lewis
Structures with multiplicative and additive components, including division rings and fields.
The development is modeled after Isabelle's library.
-/
import algebra.binary a... |
ca5875526971be9f20d4b8a4e6b6644595863853 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /test/lint.lean | 8da9779438cabeda383c9e7323bb17ff5199acd8 | [
"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 | 4,542 | lean | import tactic.lint
import algebra.ring.basic
open tactic
def foo1 (n m : ℕ) : ℕ := n + 1
def foo2 (n m : ℕ) : m = m := by refl
lemma foo3 (n m : ℕ) : ℕ := n - m
lemma foo.foo (n m : ℕ) : n ≥ n := le_refl n
instance bar.bar : has_add ℕ := by apply_instance -- we don't check the name of instances
lemma foo.bar (ε > 0)... |
b4ac97a1216092c7708674ce61062019aa24de69 | fcf3ffa92a3847189ca669cb18b34ef6b2ec2859 | /src/world3/level9.lean | f24b72030931d22a871f3185c97350ff7cabc683 | [
"Apache-2.0"
] | permissive | nomoid/lean-proofs | 4a80a97888699dee42b092b7b959b22d9aa0c066 | b9f03a24623d1a1d111d6c2bbf53c617e2596d6a | refs/heads/master | 1,674,955,317,080 | 1,607,475,706,000 | 1,607,475,706,000 | 314,104,281 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 421 | lean | import mynat.definition
import mynat.mul
import world3.level5
import world3.level8
namespace mynat
lemma mul_left_comm (a b c : mynat) : a * (b * c) = b * (a * c) :=
begin [nat_num_game]
induction b with d hd,
{
rw mul_comm 0,
rw mul_comm 0,
repeat {rw mul_zero},
},
{
r... |
58a4eb4af6b3c0857e03706843de5c48bd12e72c | 26bff4ed296b8373c92b6b025f5d60cdf02104b9 | /hott/types/trunc.hlean | a7c0e05c8aefb270e8afc7a2a056ad6699ef37fe | [
"Apache-2.0"
] | permissive | guiquanz/lean | b8a878ea24f237b84b0e6f6be2f300e8bf028229 | 242f8ba0486860e53e257c443e965a82ee342db3 | refs/heads/master | 1,526,680,092,098 | 1,427,492,833,000 | 1,427,493,281,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,384 | hlean | /-
Copyright (c) 2015 Jakob von Raumer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: types.trunc
Authors: Jakob von Raumer, Floris van Doorn
Properties of is_trunc
-/
import types.pi types.eq
open sigma sigma.ops pi function eq equiv eq funext
namespace is_trunc
... |
32f5a56fde0597ba9d8c4cd762d576d756eedaa7 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/set/sigma.lean | 76edf176d89defd02be087d45f4466a0ce615334 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 8,112 | 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.set.image
/-!
# Sets in sigma types
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to mathlib4.
This file... |
df17c4f2bda6f4aa76378274aa309805a26b9a35 | 649957717d58c43b5d8d200da34bf374293fe739 | /src/algebra/group/conj.lean | 969ccdd8b804c00ae2c09b82ae202db25a907008 | [
"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,975 | lean | /-
Copyright (c) 2018 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Chris Hughes, Michael Howes
Conjugacy of group elements
-/
import tactic.basic algebra.group.hom
universes u v
variables {α : Type u} {β : Type v}
variables [group ... |
de38ffa1b47fe9985a48cbccc0313ef13ee6d360 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/data/seq/computation.lean | d158335fbe52e495ae9d606484126990b0333bb8 | [
"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 | 37,941 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
Coinductive formalization of unbounded computations.
-/
import data.stream
import tactic.basic
open function
universes u v w
/-
coinductive computation (α : Ty... |
1f4817f5af71f00dc6de8ce34b2ae1d4d61a0515 | 737dc4b96c97368cb66b925eeea3ab633ec3d702 | /src/Lean/Elab/Term.lean | 69cdf35a559e97a028f9461a46dc6cdd9d71840a | [
"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 | 69,537 | 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, Sebastian Ullrich
-/
import Lean.ResolveName
import Lean.Util.Sorry
import Lean.Util.ReplaceExpr
import Lean.Structure
import Lean.Meta.ExprDefEq
import Lean.... |
0f96ac630118f27d7e5de9cdf9044bf297d28f33 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/analysis/hofer_auto.lean | ebcb46e837a8adf53a3ed4f0e2120328af0b386a | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,247 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.analysis.specific_limits
import Mathlib.PostPort
universes u_1
namespace Mathlib
/-!
# ... |
287b3cabe715081ad8b184b797df475de4d223eb | 6b10c15e653d49d146378acda9f3692e9b5b1950 | /examples/basic_skills/unnamed_790.lean | 9dd7c1c3da7f1c48ebd7b0bb385e69e2d8687ff1 | [] | 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 | 125 | lean | namespace my_ring
variables {R : Type*} [ring R]
-- BEGIN
theorem self_sub (a : R) : a - a = 0 :=
sorry
-- END
end my_ring |
4826466e95157ffb959e97e5547fb89ec71bc20d | 4727251e0cd73359b15b664c3170e5d754078599 | /archive/imo/imo2008_q4.lean | 3ccccb23b5d75bca8eae0938eba3cf31adc368b6 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 4,598 | lean | /-
Copyright (c) 2021 Manuel Candales. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Manuel Candales
-/
import data.real.basic
import data.real.sqrt
import data.real.nnreal
import tactic.linear_combination
/-!
# IMO 2008 Q4
Find all functions `f : (0,∞) → (0,∞)` (so,... |
b9fcaff012670fa4970825566101dd613f98162b | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/group_theory/archimedean.lean | 1aba4767f124497aeff62ca79835b4650e96db39 | [
"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 | 3,272 | lean | /-
Copyright (c) 2020 Heather Macbeth, Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth, Patrick Massot
-/
import group_theory.subgroup.basic
import algebra.archimedean
/-!
# Archimedean groups
This file proves a few facts about ordered ... |
639ac3f3d09d77e8b09cac3a9f69f3a7868e5e62 | 8930e38ac0fae2e5e55c28d0577a8e44e2639a6d | /set_theory/zfc.lean | af12f4ff636aaae4f39790ed4c8227ab61678334 | [
"Apache-2.0"
] | permissive | SG4316/mathlib | 3d64035d02a97f8556ad9ff249a81a0a51a3321a | a7846022507b531a8ab53b8af8a91953fceafd3a | refs/heads/master | 1,584,869,960,527 | 1,530,718,645,000 | 1,530,724,110,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 29,853 | lean | import data.set.basic
universes u v
/-- The type of `n`-ary functions `α → α → ... → α`. -/
def arity (α : Type u) : nat → Type u
| 0 := α
| (n+1) := α → arity n
/-- The type of pre-sets in universe `u`. A pre-set
is a family of pre-sets indexed by a type in `Type u`.
The ZFC universe is defined as a quotien... |
4e0a541aec35d39dcd0c9772d73e28935e6275b4 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/geometry/manifold/conformal_groupoid.lean | 7ea9bc0fe5c176aeaf24d25855f26fdb59218c8e | [
"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 | 1,078 | lean | /-
Copyright (c) 2021 Yourong Zang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yourong Zang
-/
import analysis.calculus.conformal.normed_space
import geometry.manifold.charted_space
/-!
# Conformal Groupoid
In this file we define the groupoid of conformal maps on... |
899a02c5b52a51a2bb1411ece59f75365afd09e1 | b561a44b48979a98df50ade0789a21c79ee31288 | /stage0/src/Lean/Elab/Quotation.lean | e12c578e140367f6917ff6f1fdd87c217f61e222 | [
"Apache-2.0"
] | permissive | 3401ijk/lean4 | 97659c475ebd33a034fed515cb83a85f75ccfb06 | a5b1b8de4f4b038ff752b9e607b721f15a9a4351 | refs/heads/master | 1,693,933,007,651 | 1,636,424,845,000 | 1,636,424,845,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 24,873 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic
hygiene workings and data types.
-/
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.