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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e07b0142f209ddac7b8293cc8501e73cc8f6b709 | d9ed0fce1c218297bcba93e046cb4e79c83c3af8 | /library/init/algebra/group.lean | 1bea68d0b4270f4d68883ba77111852f9a2613d4 | [
"Apache-2.0"
] | permissive | leodemoura/lean_clone | 005c63aa892a6492f2d4741ee3c2cb07a6be9d7f | cc077554b584d39bab55c360bc12a6fe7957afe6 | refs/heads/master | 1,610,506,475,484 | 1,482,348,354,000 | 1,482,348,543,000 | 77,091,586 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 15,495 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura
-/
prelude
import init.logic init.meta.interactive init.meta.decl_cmds
/- Make sure instances defined in this file have lower priority than the... |
296a8bb18646b6112673a15556eb35bf075f306c | 76df16d6c3760cb415f1294caee997cc4736e09b | /lean/src/cs/red.lean | 4e7a3b09284251fa3c7ac70c70b03efaefd312e1 | [
"MIT"
] | permissive | uw-unsat/leanette-popl22-artifact | 70409d9cbd8921d794d27b7992bf1d9a4087e9fe | 80fea2519e61b45a283fbf7903acdf6d5528dbe7 | refs/heads/master | 1,681,592,449,670 | 1,637,037,431,000 | 1,637,037,431,000 | 414,331,908 | 6 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 15,445 | lean | import tactic.basic
import tactic.split_ifs
import tactic.linarith
import tactic.apply_fun
import .svm
import .lib
import .hp
import .lgl
import .detc
import .conc
import .rsc
namespace sym
open lang
section reducibility
variables
{Model SymB SymV D O : Type}
[inhabited Model] [inhabited SymV]
(f :... |
ef914e11e2573cee1e395389d47a67b07d8edfb0 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/group_theory/subsemigroup/operations.lean | b856172503b49145d5037dd27f7aa965e8abf22b | [
"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 | 28,743 | lean | /-
Copyright (c) 2022 Yakov Pechersky. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard,
Amelia Livingston, Yury Kudryashov, Yakov Pechersky, Jireh Loreaux
-/
import group_theory.subsemigroup.basic
... |
591612a372fdd5b4fbd9d763d3b7234584d74c75 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/num3.lean | 38812beb188dd53f88ce7db771521cc8b559d349 | [
"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 | 210 | lean | --
set_option pp.notation false
set_option pp.implicit true
constant N : Type.{1}
constant z : N
constant o : N
constant a : N
notation 0 := z
notation 1 := o
check a = 0
check 2 = (1:num)
check (2:num) = 1
|
3af45b8b70d2ef7fefa028a34635f9ced209ebb0 | ec62863c729b7eedee77b86d974f2c529fa79d25 | /3/a.lean | 30ee37c0772bb0e48113ada3f37263fdbc5e96a2 | [] | no_license | rwbarton/advent-of-lean-4 | 2ac9b17ba708f66051e3d8cd694b0249bc433b65 | 417c7e2718253ba7148c0279fcb251b6fc291477 | refs/heads/main | 1,675,917,092,057 | 1,609,864,581,000 | 1,609,864,581,000 | 317,700,289 | 24 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 250 | lean | def solve (xs : List String) : Int :=
let f n x := x.get (Nat.mod (3*n) x.length) == '#';
((List.zipWith f (List.range xs.length) xs).filter id).length
def main : IO Unit :=
do let input ← IO.FS.lines "a.in"
IO.print s!"{solve input.toList}\n"
|
809541c3c04ef01a47c950290d04d8c1186988db | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/geometry/manifold/whitney_embedding.lean | 5bd93d1a83745d293668ae2243218b7d2fabaa12 | [
"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,418 | 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 geometry.manifold.diffeomorph
import geometry.manifold.instances.real
import geometry.manifold.partition_of_unity
/-!
# Whitney embedding theorem
In ... |
d27ee411062631e4bb247889e941e820b23132f6 | 4fa161becb8ce7378a709f5992a594764699e268 | /src/order/complete_boolean_algebra.lean | e4a322fb1fb8fbc58070ebd1d45b668eda614b28 | [
"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 | 4,673 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
Theory of complete Boolean algebras.
-/
import order.complete_lattice
import order.boolean_algebra
set_option old_structure_cmd true
universes u v w
variables {α : Ty... |
53ab0e969a39eaf7b63ff3ba4de24c513c0143ce | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/analysis/analytic/composition.lean | 76aceff883ee48fafb6961e8406f9ebc497e0637 | [
"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 | 58,708 | lean | /-
Copyright (c) 2020 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Johan Commelin
-/
import analysis.analytic.basic
import combinatorics.composition
/-!
# Composition of analytic functions
in this file we prove that the composi... |
5408f671281f23426534b65a82bc30e8da403a3a | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Data/Lsp/Utf16.lean | 80c18e6c9c7a9cf6a267cad61e560a7390e3f335 | [
"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,998 | lean | /-
Copyright (c) 2020 Marc Huisinga. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Marc Huisinga, Wojciech Nawrocki
-/
import Init.Data.String
import Init.Data.Array
import Lean.Data.Lsp.Basic
import Lean.Data.Position
/-! LSP uses UTF-16 for indexing, so we need to... |
299c17f95a8a2c6db24da1d4645c9b429660b00d | 75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2 | /tests/lean/natsucc.lean | 26808c5ab7da9f1d9d8dd46a15d2937819376f8d | [
"Apache-2.0"
] | permissive | jroesch/lean | 30ef0860fa905d35b9ad6f76de1a4f65c9af6871 | 3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2 | refs/heads/master | 1,586,090,835,348 | 1,455,142,203,000 | 1,455,142,277,000 | 51,536,958 | 1 | 0 | null | 1,455,215,811,000 | 1,455,215,811,000 | null | UTF-8 | Lean | false | false | 426 | lean | import data.nat
open nat
theorem add_assoc (m n k : nat) : m + n + k = m + (n + k) :=
nat.induction_on k
(show m + n + 0 = m + (n + 0), from rfl),
(take k,
assume IH : m + n + k = m + (n + k),
show m + n + mysucc k = m + (n + mysucc k), from
calc
m + n + mysucc k = mysucc (m + n + k) : rfl
...... |
f4b540cb0c86db4dd11beb01a44a32b022f6a0c2 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/measure_theory/integral/vitali_caratheodory.lean | 746c53ef47b7c709b63e9f0354df1c3b6a39f492 | [
"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 | 29,936 | lean | /-
Copyright (c) 2021 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 measure_theory.measure.regular
import topology.semicontinuous
import measure_theory.integral.bochner
import topology.instances.ereal
/-!
# Vitali-Carat... |
c74b38425807993a078161ae8bd167a4d1e1c194 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/algebra/category/Group/Z_Module_equivalence.lean | 7c9636cc3f06e65b7f28aae4f657d6c448fcdce6 | [
"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 | 1,289 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.category.Module.basic
/-!
The forgetful functor from ℤ-modules to additive commutative groups is
an equivalence of categories.
TODO:
either use this ... |
a5987004e073fcf0386a28de943144d80a1b9ac4 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/algebra/module/basic.lean | a55e1345f27408e4f99b32674c8a225a7c187a5d | [
"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 | 22,665 | lean | /-
Copyright (c) 2015 Nathaniel Thomas. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro
-/
import algebra.big_operators.basic
import algebra.smul_with_zero
import group_theory.group_action.group
/-!
# Modu... |
95ae4af2eb6a96bea980ecfc93f4a4d2519247c4 | 76df16d6c3760cb415f1294caee997cc4736e09b | /lean/src/sym_factory/opS.lean | 78ab8f4aa8d25c692c89215c36559500ea941ad1 | [
"MIT"
] | permissive | uw-unsat/leanette-popl22-artifact | 70409d9cbd8921d794d27b7992bf1d9a4087e9fe | 80fea2519e61b45a283fbf7903acdf6d5528dbe7 | refs/heads/master | 1,681,592,449,670 | 1,637,037,431,000 | 1,637,037,431,000 | 414,331,908 | 6 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 28,173 | lean | import ..tactic.all
import ..cs.lang
import ..cs.sym
import ..op.sym
import ..cs.util
import .defs
import ..cs.lib
import ..op.simp
import ..basic.basic
import ..basic.sym
import ..op.basic
import .basic
namespace sym_factory
open sym
open op.sym
open op.lang.op
section core
lemma opS_core.sound_int_2 {m : model} {... |
11b224a8cb2608da20c1717f09f879b7166ba758 | 367134ba5a65885e863bdc4507601606690974c1 | /src/linear_algebra/pi_tensor_product.lean | c8a345adb08f24678be9aab8ec8e47487dc65add | [
"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 | 21,385 | 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, Eric Wieser
-/
import group_theory.congruence
import linear_algebra.multilinear
/-!
# Tensor product of an indexed family of semimodules over commutative semirings
... |
a6f1c082675fea7f60ebac5753f19562e3c3300b | 94e33a31faa76775069b071adea97e86e218a8ee | /src/data/polynomial/div.lean | 50aad0659c3975b8469f61975d5c8a49806e12dc | [
"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 | 21,110 | 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.inductions
import data.polynomial.monic
import ring_theory.multiplicity
/-!
# Division of univaria... |
4d35f0feaca3b5bd48fcb4427693be57d68d44a4 | bb31430994044506fa42fd667e2d556327e18dfe | /src/algebra/continued_fractions/computation/terminates_iff_rat.lean | 53e9232e5047a49c87c7ed1522fa44ef416c9fab | [
"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 | 14,191 | lean | /-
Copyright (c) 2020 Kevin Kappelmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Kappelmann
-/
import algebra.continued_fractions.computation.approximations
import algebra.continued_fractions.computation.correctness_terminating
import data.rat.floor
/-!
# T... |
cf1c7b0ce9484b0b599977fd913acd00f8a34254 | 56af0912bd25910f5caae91d6dd0603b0c032989 | /src/complex/kb_solutions/Level_05_field.lean | 86a4bcf789e64733a9980b90f61cedc084f9754a | [
"Apache-2.0"
] | permissive | isabella232/complex-number-game | ae36e0b1df9761d9df07049ca29c91ae44dbdc2d | 3d767f14041f9002e435bed3a3527fdd297c166d | refs/heads/master | 1,679,305,953,116 | 1,606,397,567,000 | 1,606,397,567,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,948 | lean | /-
Copyright (c) 2020 The Xena project. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Buzzard.
Thanks: Imperial College London, leanprover-community
-/
-- Import levels 1 to 4
import complex.kb_solutions.Level_04_norm_sq
/-
If you know what "the reals don't ha... |
fd4d5f15714f30422ca74914d3c501f7a2fb96ca | 271e26e338b0c14544a889c31c30b39c989f2e0f | /stage0/src/Init/Lean/Elab/Term.lean | 45dbd83f7cdd53809f29b186dc19f0c7c9158ad9 | [
"Apache-2.0"
] | permissive | dgorokho/lean4 | 805f99b0b60c545b64ac34ab8237a8504f89d7d4 | e949a052bad59b1c7b54a82d24d516a656487d8a | refs/heads/master | 1,607,061,363,851 | 1,578,006,086,000 | 1,578,006,086,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 44,846 | 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
-/
prelude
import Init.Lean.Util.Sorry
import Init.Lean.Structure
import Init.Lean.Meta
import Init.Lean.Hygiene
import Init.Lean.Elab.Log
import Init.Lean.Ela... |
2731e1e2f2f54c81e586cc7b23659a1aac775ee5 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/ring_theory/nakayama.lean | 6673a59d7c85a4e8da2be4c72a0f23b8f20d35a3 | [
"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,468 | 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_ideal
/-!
# Nakayama's lemma
This file contains some alternative statements of Nakayama's Lemma as found in
[St... |
dd538b4998b9a95516f156debdf923808c62237a | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/measure_theory/covering/differentiation.lean | 7cf9a8478abf016fa171c633df4ebba6539825bd | [
"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 | 51,425 | lean | /-
Copyright (c) 2021 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 measure_theory.covering.vitali_family
import measure_theory.measure.regular
import measure_theory.function.ae_measurable_order
import measure_theory.inte... |
21607cac2ff4d695efd242999b79eabc114e637b | 5fbbd711f9bfc21ee168f46a4be146603ece8835 | /lean/natural_number_game/advanced_addition/12.lean | 65cdb6b56aa929f3f580a0a410f17fac015eaffc | [
"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 | 105 | lean | theorem add_one_eq_succ (d : mynat) : d + 1 = succ d :=
begin
symmetry,
exact succ_eq_add_one d,
end
|
9b31f03cb5531f3ce4d5a8b987f55e3042362d78 | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/field_theory/splitting_field.lean | 71690d55eb179184f4773defed8bedf5857789fc | [
"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 | 7,829 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
Definition of splitting fields, and definition of homomorphism into any field that splits
-/
import ring_theory.unique_factorization_domain
import data.polynomial ring_the... |
0fde372580791dbb88c57446fd631a2b795ac654 | 94637389e03c919023691dcd05bd4411b1034aa5 | /src/profNotes/00_whatIsALanguage.lean | addcdd4238e4f93fdbbd6999df8d52f5683ae52c | [] | no_license | kevinsullivan/complogic-s21 | 7c4eef2105abad899e46502270d9829d913e8afc | 99039501b770248c8ceb39890be5dfe129dc1082 | refs/heads/master | 1,682,985,669,944 | 1,621,126,241,000 | 1,621,126,241,000 | 335,706,272 | 0 | 38 | null | 1,618,325,669,000 | 1,612,374,118,000 | Lean | UTF-8 | Lean | false | false | 249 | lean | inductive Syntax : Type
| I
| II
| III
| IV
| V
inductive SemanticDomain : Type
| one
| two
| three
| four
| five
open Syntax SemanticDomain
def semantics : Syntax → SemanticDomain
| I := one
| II := two
| III := three
| IV := four
| V := five |
a67ec7f108ce43269b75ab34296ee6bf2e7b7db1 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/analysis/normed_space/banach.lean | 223eb56ae55e0ba35f12b396a6c7ccdde24e1553 | [
"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 | 11,961 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.metric_space.baire
import analysis.normed_space.operator_norm
/-!
# Banach open mapping theorem
This file contains the Banach open mapping the... |
deae0266c06336b398a0c8f5ab0a09d09a1b1431 | 80746c6dba6a866de5431094bf9f8f841b043d77 | /src/ring_theory/noetherian.lean | 18b3e98b5f632c2520f7d8dc622fc255e5130b6a | [
"Apache-2.0"
] | permissive | leanprover-fork/mathlib-backup | 8b5c95c535b148fca858f7e8db75a76252e32987 | 0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0 | refs/heads/master | 1,585,156,056,139 | 1,548,864,430,000 | 1,548,864,438,000 | 143,964,213 | 0 | 0 | Apache-2.0 | 1,550,795,966,000 | 1,533,705,322,000 | Lean | UTF-8 | Lean | false | false | 15,902 | lean | /-
Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Kevin Buzzard
-/
import data.equiv.algebra
import data.polynomial
import linear_algebra.linear_combination
import ring_theory.ideal_operations
open ... |
d5e369cfe6285fd3e98d8d513de040a4a1b1d8aa | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/system/IO.lean | 280ee7975d4a210b84c78628e6b8fc225f57a07d | [
"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 | 809 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Luke Nelson, Jared Roesch and Leonardo de Moura
-/
constant {u} IO : Type u → Type u
constant functorIO : functor IO
constant monadIO : monad IO
attribute [instance] functorIO ... |
be025fa5866f36d08aa3e76492e8475ea678846a | f00cc9c04d77f9621aa57d1406d35c522c3ff82c | /library/init/meta/constructor_tactic.lean | 324cb565f3207fa2343cd19a70111a74770d9742 | [
"Apache-2.0"
] | permissive | shonfeder/lean | 444c66a74676d74fb3ef682d88cd0f5c1bf928a5 | 24d5a1592d80cefe86552d96410c51bb07e6d411 | refs/heads/master | 1,619,338,440,905 | 1,512,842,340,000 | 1,512,842,340,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,162 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.tactic init.function
namespace tactic
/- Return target after instantiating metavars and whnf -/
private meta def target' : tactic... |
edc10a59bf45dace0ddd2c9bf86fee068cb87e42 | b2e508d02500f1512e1618150413e6be69d9db10 | /src/order/basic.lean | a9085576aefe0d1422f441abdcacaa97c1ec4210 | [
"Apache-2.0"
] | permissive | callum-sutton/mathlib | c3788f90216e9cd43eeffcb9f8c9f959b3b01771 | afd623825a3ac6bfbcc675a9b023edad3f069e89 | refs/heads/master | 1,591,371,888,053 | 1,560,990,690,000 | 1,560,990,690,000 | 192,476,045 | 0 | 0 | Apache-2.0 | 1,568,941,843,000 | 1,560,837,965,000 | Lean | UTF-8 | Lean | false | false | 25,515 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Mario Carneiro
-/
import logic.basic data.sum data.set.basic algebra.order
open function
/- TODO: automatic construction of dual definitions / theorems -/
universes u v... |
a4100c399846fea3373930679f83567da2349a7d | f4bff2062c030df03d65e8b69c88f79b63a359d8 | /src/game/limits/seq_limSeqSub.lean | 1a05c219eebab3a66b6443c4dc00910b59f131e1 | [
"Apache-2.0"
] | permissive | adastra7470/real-number-game | 776606961f52db0eb824555ed2f8e16f92216ea3 | f9dcb7d9255a79b57e62038228a23346c2dc301b | refs/heads/master | 1,669,221,575,893 | 1,594,669,800,000 | 1,594,669,800,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 661 | lean | import game.limits.L01defs
import game.limits.seq_limitZeroProd
open real
namespace xena -- hide
notation `|` x `|` := abs x -- hide
/-
Use previous results to obtain the limit of a product in the general case.
-/
/- Lemma
If $\lim_{n \to \infty} a_n = \alpha$, then
$\lim_{n \to \infty} (a_n - c) = \alpha - c.$
-... |
4283837ff338150f5d30a9a01eb251a204d5b372 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/monadCache.lean | 545110aca40adda8d4acfc1af83d02afb1b816e6 | [
"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,320 | lean | import Lean
open Lean
partial def mkTower : Nat → Expr
| 0 => mkConst `a
| n+1 => mkApp2 (mkConst `f) (mkTower n) (mkTower n)
partial def depth : Expr → MonadCacheT Expr Nat CoreM Nat
| e =>
checkCache e fun _ =>
match e with
| Expr.const c [] => pure 1
| Expr.app f a => do pure $ Nat.max (← depth... |
85e6cbb0de29ee9b0e68fca79b5cddfa0ab3b872 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/data/set/intervals/disjoint.lean | 1bacf82575fce73335ac381b93bdc8f5868d1dae | [
"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 | 1,378 | 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, Yury Kudryashov
-/
import data.set.intervals.basic data.set.lattice
/-! # Extra lemmas about intervals
This file contains lemmas about intervals that cannot be in... |
1208fab82a9b7c69ca85868b8dc62faa31a444a9 | 6b2a480f27775cba4f3ae191b1c1387a29de586e | /group_rep1/programmation/namespace Reynold_operator.lean | ba4b880bd9057ac0eaf4777e076900ea70c832eb | [] | no_license | Or7ando/group_representation | a681de2e19d1930a1e1be573d6735a2f0b8356cb | 9b576984f17764ebf26c8caa2a542d248f1b50d2 | refs/heads/master | 1,662,413,107,324 | 1,590,302,389,000 | 1,590,302,389,000 | 258,130,829 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 2,799 | lean | namespace Reynold_operator
namespace Group.tools
open equiv
def to_equiv {G : Type u}[group G](g : G) : perm G := { to_fun := λ s, g*s,
inv_fun := λ s, g⁻¹ *s,
left_inv := begin dsimp, intros x,rw ← mul_assoc, rw inv_mul_self, rw one_mul, end,
right_inv := begin dsimp, intros x,rw ← mul_assoc, rw mul_inv_self, ... |
ba352d886d13adbd470da9b754b80da4e69daac7 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/group_theory/eckmann_hilton.lean | 7a25b1ec7ffdfd8f2b599018cac5db570f12773d | [
"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,578 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Kenny Lau, Robert Y. Lewis
-/
import algebra.group.defs
/-!
# Eckmann-Hilton argument
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> https://github.com/leanprover-community/... |
5e07b0b219aa629cde109ee68a8e96a936de63ba | a45212b1526d532e6e83c44ddca6a05795113ddc | /src/data/equiv/nat.lean | e475483224e70d0e67db42ef21015d56c9f835af | [
"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 | 1,163 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Additional facts about equiv and encodable using the
pairing function on nat.
-/
import data.equiv.basic data.nat.pairing
open nat
namespace equiv
@[simp] def nat_pro... |
f0b86d2d5c07688514d00a94f1dfad3716a5cc0e | e030b0259b777fedcdf73dd966f3f1556d392178 | /tests/lean/run/pred_to_subtype_coercion.lean | d1c560240f210ed607c85d2564ad74d649634209 | [
"Apache-2.0"
] | permissive | fgdorais/lean | 17b46a095b70b21fa0790ce74876658dc5faca06 | c3b7c54d7cca7aaa25328f0a5660b6b75fe26055 | refs/heads/master | 1,611,523,590,686 | 1,484,412,902,000 | 1,484,412,902,000 | 38,489,734 | 0 | 0 | null | 1,435,923,380,000 | 1,435,923,379,000 | null | UTF-8 | Lean | false | false | 410 | lean | universe variables u
attribute [instance]
definition pred2subtype {A : Type u} : has_coe_to_sort (A → Prop) :=
⟨Type (max 1 u), λ p : A → Prop, subtype p⟩
definition below (n : nat) : nat → Prop :=
λ i, i < n
check λ x : below 10, x
definition f : below 10 → nat
| ⟨a, h⟩ := a
lemma zlt10 : 0 < 10 :=
sorry
check f... |
f821c2f261fbb9a563ca323ce6e996def627d8a9 | 5ae26df177f810c5006841e9c73dc56e01b978d7 | /src/ring_theory/power_series.lean | 5d02dfa7dddeeb614f9c7b480be444034e7312b7 | [
"Apache-2.0"
] | permissive | ChrisHughes24/mathlib | 98322577c460bc6b1fe5c21f42ce33ad1c3e5558 | a2a867e827c2a6702beb9efc2b9282bd801d5f9a | refs/heads/master | 1,583,848,251,477 | 1,565,164,247,000 | 1,565,164,247,000 | 129,409,993 | 0 | 1 | Apache-2.0 | 1,565,164,817,000 | 1,523,628,059,000 | Lean | UTF-8 | Lean | false | false | 38,687 | lean | /-
Copyright (c) 2019 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Kenny Lau
-/
import data.finsupp order.complete_lattice algebra.ordered_group data.mv_polynomial
import algebra.order_functions
import ring_theory.ideal_operations
/-... |
c91eca750cff4ccb7cd76f1f06141997ea4589d6 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/structure_instances.lean | 4641df4b9b4ee66d149e39814ad31e05d62eecb4 | [
"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 | 554 | lean | meta def mk_c := `[exact 1]
structure foo (α : Type) :=
(a : α)
(b : α := a)
(c : α . mk_c)
def f : foo ℕ := {a := 1}
#check ({a := 1} : foo ℕ)
#check ({foo . a := 1} : foo ℕ)
#check ({..} : foo ℕ)
#check ({foo . ..} : foo ℕ)
#check {c := 1, ..f}
#check {..f}
#check {.., a := 1} -- ".." must be last item
#check {..f... |
862c86661f6427b764f95b5352330a4bfb0bd254 | 82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7 | /tests/lean/run/optParam.lean | fdb3cc224ae1cebd152fec6022cbf8b60fa1b6d6 | [
"Apache-2.0"
] | permissive | banksonian/lean4 | 3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc | 78da6b3aa2840693eea354a41e89fc5b212a5011 | refs/heads/master | 1,673,703,624,165 | 1,605,123,551,000 | 1,605,123,551,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 314 | lean |
def p (x : Nat := 0) : Nat × Nat :=
(x, x)
theorem ex1 : p.1 = 0 :=
rfl
theorem ex2 : p (x := 1) $.2 = 1 :=
rfl
def c {α : Type} [Inhabited α] : α × α :=
(arbitrary _, arbitrary _)
theorem ex3 {α} [Inhabited α] : c.1 = arbitrary α :=
rfl
theorem ex4 {α} [Inhabited α] : c.2 = arbitrary α :=
rfl
|
d4a6810a95f6e8cf5c3e52f007ec06ad31ffa1da | 957a80ea22c5abb4f4670b250d55534d9db99108 | /tests/lean/run/exhaustive_vm_impl_test.lean | 1e500f9bf96ec12ebb57b69ec0617fa11bb40bfe | [
"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 | 5,135 | lean | instance nat.decidable_ball (p : ℕ → Prop) [∀ i, decidable (p i)] : ∀ n, decidable (∀ x < n, p x)
| 0 := decidable.is_true begin intros n h, cases h end
| (n+1) :=
match nat.decidable_ball n with
| (decidable.is_false h) :=
decidable.is_false begin
intro h2, apply h,
intros x hx,... |
df74310edfe2f1d35ff95b42e63a64a9eef65914 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/group_theory/perm/basic.lean | 0e0e1c801dbe312c59f807a6c765e1d475bf211c | [
"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 | 16,533 | 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 algebra.group.pi
import algebra.group_power.lemmas
import logic.function.iterate
/-!
# The group of permutations (self-equivalences)... |
5ab6ea9215c557a4df71816c7144b9f5a6ecdaac | d642a6b1261b2cbe691e53561ac777b924751b63 | /src/topology/uniform_space/separation.lean | ef012fe266afb8e2c07551fb2de0f49742d8903f | [
"Apache-2.0"
] | permissive | cipher1024/mathlib | fee56b9954e969721715e45fea8bcb95f9dc03fe | d077887141000fefa5a264e30fa57520e9f03522 | refs/heads/master | 1,651,806,490,504 | 1,573,508,694,000 | 1,573,508,694,000 | 107,216,176 | 0 | 0 | Apache-2.0 | 1,647,363,136,000 | 1,508,213,014,000 | Lean | UTF-8 | Lean | false | false | 13,572 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Patrick Massot
Hausdorff properties of uniform spaces. Separation quotient.
-/
import topology.uniform_space.basic
open filter topological_space lattice set classical... |
a24e7972e10f88d89cf7e1380571583b22e78cd4 | bdb33f8b7ea65f7705fc342a178508e2722eb851 | /order/lattice.lean | 5c57eaed26147871338dadcdb296cce9f3253115 | [
"Apache-2.0"
] | permissive | rwbarton/mathlib | 939ae09bf8d6eb1331fc2f7e067d39567e10e33d | c13c5ea701bb1eec057e0a242d9f480a079105e9 | refs/heads/master | 1,584,015,335,862 | 1,524,142,167,000 | 1,524,142,167,000 | 130,614,171 | 0 | 0 | Apache-2.0 | 1,548,902,667,000 | 1,524,437,371,000 | Lean | UTF-8 | Lean | false | false | 13,068 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
Defines the inf/sup (semi)-lattice with optionally top/bot type class hierarchy.
-/
import order.basic tactic.finish
open auto
set_option old_structure_cmd true
univ... |
78850b28a378835a3b69e29bdd1d7c4ffa983ece | 4b846d8dabdc64e7ea03552bad8f7fa74763fc67 | /library/init/data/list/lemmas.lean | f71945117942156935c97ad178098474ab7a66e1 | [
"Apache-2.0"
] | permissive | pacchiano/lean | 9324b33f3ac3b5c5647285160f9f6ea8d0d767dc | fdadada3a970377a6df8afcd629a6f2eab6e84e8 | refs/heads/master | 1,611,357,380,399 | 1,489,870,101,000 | 1,489,870,101,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,101 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn
-/
prelude
import init.data.list.basic init.function init.meta init.data.nat.lemmas
import init.meta.interactive i... |
62b8d0af4e54924005c7c41ef86140b8b9f9b69f | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/ring_theory/algebraic.lean | cf68c316368fdb76a60ad606137522ed82a9affc | [
"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 | 8,188 | lean | /-
Copyright (c) 2019 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import linear_algebra.finite_dimensional
import ring_theory.integral_closure
import data.polynomial.integral_normalization
/-!
# Algebraic elements and algebraic ex... |
94d17527b42d2cf70e2f382725dbe9ed2eb5b179 | bb31430994044506fa42fd667e2d556327e18dfe | /src/data/nat/nth.lean | c1acd39cc0617d81bbcc315486abe4cb624a5f20 | [
"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 | 15,189 | lean | /-
Copyright (c) 2021 Vladimir Goryachev. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies, Vladimir Goryachev, Kyle Miller, Scott Morrison, Eric Rodriguez
-/
import data.nat.count
import order.order_iso_nat
/-!
# The `n`th Number Satisfying a Predicate
Th... |
d8bc8bcbd2e29371468fd2a1ea0c17e3b515cb18 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/category_theory/limits/concrete_category_auto.lean | 09f25fbb9698dac46dbcc0cb8d2820bed5ce4eea | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,276 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.category_theory.limits.limits
import Mathlib.category_theory.concrete_category.basic
import... |
7aded55ae59ac0b4ed73a0b343849487dac5a680 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/task.lean | cee0460f9e45b4e5530690538b0b2f9bf2513987 | [
"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 | 290 | lean | local attribute [simp] nat.zero_add
run_cmd tactic.run_async (tactic.trace
"trace message from a different task")
def {u} foo {α : Type u} {n : ℕ} : array (0+n) α → array n α :=
if n = 0 then
λ v, cast (by async { simp }) v
else
λ v, cast (by async { simp }) v
#print foo
|
30f4b9bec17b73d296aa4e7bd41c8ea0e089602b | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/group_theory/presented_group.lean | 876e1188cb58de25e42af3da6947304f656f58dc | [
"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 | 2,354 | lean | /-
Copyright (c) 2019 Michael Howes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michael Howes
Defining a group given by generators and relations
-/
import group_theory.free_group
import group_theory.quotient_group
variables {α : Type}
/-- Given a set of relation... |
7381150a57f7593f8d2b7416951c3da7b171002e | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /tests/lean/simplifier11.lean | 0c8187c9e36274b52e72f78dea0aa654da7554aa | [
"Apache-2.0"
] | permissive | YHVHvx/lean | 732bf0fb7a298cd7fe0f15d82f8e248c11db49e9 | 038369533e0136dd395dc252084d3c1853accbf2 | refs/heads/master | 1,610,701,080,210 | 1,449,128,595,000 | 1,449,128,595,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,950 | lean | -- Conditional congruence
import logic.connectives logic.quantifiers
-- TODO(dhs): add this to the library
lemma not_false_true [simp] : (¬ false) ↔ true := sorry
namespace if_congr
constants {A : Type} {b c : Prop} (dec_b : decidable b) (dec_c : decidable c)
{x y u v : A} (h_c : b ↔ c) (h_t : x = u) (h_e :... |
29e4daf45266d4008ae99128a5ef2b5703901d48 | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/data/list/basic.lean | d45440c8fd3d2c4851aa99e2be4d8d82119d4073 | [
"Apache-2.0"
] | permissive | abentkamp/mathlib | d9a75d291ec09f4637b0f30cc3880ffb07549ee5 | 5360e476391508e092b5a1e5210bd0ed22dc0755 | refs/heads/master | 1,682,382,954,948 | 1,622,106,077,000 | 1,622,106,077,000 | 149,285,665 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 199,062 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro
-/
import algebra.order_functions
import control.monad.basic
import data.nat.choose.basic
import ... |
7908d862a35833c7f9f5e5260c9bd77915037771 | e21db629d2e37a833531fdcb0b37ce4d71825408 | /src/aux.lean | c0b762e3b6399e151433a51f089aed9c0a51278b | [] | no_license | fischerman/GPU-transformation-verifier | 614a28cb4606a05a0eb27e8d4eab999f4f5ea60c | 75a5016f05382738ff93ce5859c4cfa47ccb63c1 | refs/heads/master | 1,586,985,789,300 | 1,579,290,514,000 | 1,579,290,514,000 | 165,031,073 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,969 | lean | import data.list.basic
import data.vector
universes u v w
variables {n : ℕ} {α β γ δ : Type}
notation `v[` v:(foldr `, ` (h t, vector.cons h t) vector.nil `]`) := v
@[simp]
lemma ite_else_ite {c} [decidable c] {b₁ b₂ b₃ : Sort u} : ite c b₁ (ite c b₂ b₃) = ite c b₁ b₃ := begin
by_cases c; simp *,
end
lemma lt_ze... |
eaa4a0d9ce9545eec67f021610553069e749e399 | 94637389e03c919023691dcd05bd4411b1034aa5 | /src/inClassNotes/final/assertion_test.lean | b65160b503b3e9bd6e7a421b1a240aea5e7a685f | [] | no_license | kevinsullivan/complogic-s21 | 7c4eef2105abad899e46502270d9829d913e8afc | 99039501b770248c8ceb39890be5dfe129dc1082 | refs/heads/master | 1,682,985,669,944 | 1,621,126,241,000 | 1,621,126,241,000 | 335,706,272 | 0 | 38 | null | 1,618,325,669,000 | 1,612,374,118,000 | Lean | UTF-8 | Lean | false | false | 1,265 | lean | import .assertion
import .arith_expr_test
import .bool_expr_test
import .var_test
import .imp_test
def pre1 : Assertion :=
λ (e : env),
(e.bool_var_interp P = tt) ∧
(e.nat_var_interp X = 10)
/-
An assertion that's satisfied by any state
-/
def any : Assertion := λ (e : env), true
/-
Pre: X = 10 or Y = ... |
2353bebf256182bce373498850ba3410289228fa | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/set_theory/lists.lean | c211acae0617eb251911bf137c4f16ab55a9e1ec | [
"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 | 11,686 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
A computable model of hereditarily finite sets with atoms
(ZFA without infinity). This is useful for calculations in naive
set theory.
-/
import tactic.interactive data.... |
db71a3f02ae4ae2edb141e09b7e17f39559930be | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /archive/imo/imo2008_q2.lean | a04171f8d5147ceb54285080dfb213ba8cd53593 | [
"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 | 5,192 | 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.set.basic
import data.set.finite
/-!
# IMO 2008 Q2
(a) Prove that
```
x^2 / (x-1)^2 + y^2 / (y-1)^2 + z^2 / ... |
c276277d8a1cc5b407c362290a2b1baf9ec185e2 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/set_theory/pgame.lean | daa5587a4375135f74e97ca88e1c6199eb0f5bf4 | [
"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 | 43,091 | lean | /-
Copyright (c) 2019 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison
-/
import data.fin.basic
import data.nat.cast
import logic.embedding
/-!
# Combinatorial (pre-)games.
The basic theory ... |
6dcaa59e36f923ccebd36a4a4de6dde25dbb527f | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/stream/defs.lean | c106a14be6e2382f8aab1f30c3c03a993ad108c9 | [
"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 | 5,477 | 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
-/
/-!
# Definition of `stream` and functions on streams
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to ... |
43fd2b2b45f9d62e170120af81fdbf70cef6e93f | 626e312b5c1cb2d88fca108f5933076012633192 | /src/ring_theory/matrix_algebra.lean | dd9f981e5b5c1739c68ef25960b875d1fd86727e | [
"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 | 6,074 | 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.matrix.basic
import ring_theory.tensor_product
/-!
We show `matrix n n A ≃ₐ[R] (A ⊗[R] matrix n n R)`.
-/
universes u v w
open_locale tensor_product
op... |
f61c179be93364fa86b3591bc15780413ea3168f | e38e95b38a38a99ecfa1255822e78e4b26f65bb0 | /src/certigrad/memoize_correct.lean | 5ea5dc03767933d92ecd3ef37ecc14172dae1c7f | [
"Apache-2.0"
] | permissive | ColaDrill/certigrad | fefb1be3670adccd3bed2f3faf57507f156fd501 | fe288251f623ac7152e5ce555f1cd9d3a20203c2 | refs/heads/master | 1,593,297,324,250 | 1,499,903,753,000 | 1,499,903,753,000 | 97,075,797 | 1 | 0 | null | 1,499,916,210,000 | 1,499,916,210,000 | null | UTF-8 | Lean | false | false | 5,717 | lean | /-
Copyright (c) 2017 Daniel Selsam. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Daniel Selsam
Proof that the memoization part of stochastic backpropagation is correct.
-/
import .graph .estimators .predicates .compute_grad
namespace certigrad
namespace theorems
op... |
0898e74fa1ca15f9dfcfffdc9fb0d57f018a8466 | 6dc0c8ce7a76229dd81e73ed4474f15f88a9e294 | /stage0/src/Lean/Elab/Tactic/ElabTerm.lean | 30bacf1ef551ab9c2771669e932fb8b90da4f812 | [
"Apache-2.0"
] | permissive | williamdemeo/lean4 | 72161c58fe65c3ad955d6a3050bb7d37c04c0d54 | 6d00fcf1d6d873e195f9220c668ef9c58e9c4a35 | refs/heads/master | 1,678,305,356,877 | 1,614,708,995,000 | 1,614,708,995,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,377 | 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.CollectMVars
import Lean.Meta.Tactic.Apply
import Lean.Meta.Tactic.Constructor
import Lean.Meta.Tactic.Assert
import Lean.Elab.Tactic.Basic... |
e9bdc63d13bca727fe10eff1625971655d9f19a7 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/order/default_auto.lean | 752e61d93e1ca83363b3900af379752aec266762 | [] | 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 | 190 | lean | import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.order.boolean_algebra
import Mathlib.order.complete_lattice
import Mathlib.PostPort
namespace Mathlib
end Mathlib |
85169e29a9834ecbe8af61eed34ab4c1fee72469 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebraic_geometry/properties.lean | 533a7c50b2d20c618e964520398aa642ae625d3e | [
"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 | 14,220 | 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 algebraic_geometry.AffineScheme
import ring_theory.nilpotent
import topology.sheaves.sheaf_condition.sites
import category_theory.limits.constructions.binary_product... |
345038c815dad9989ffe6ca329519822c17d442e | 2a70b774d16dbdf5a533432ee0ebab6838df0948 | /_target/deps/mathlib/src/ring_theory/tensor_product.lean | 5b9cfdc2c0f44619913f1e541fc0f02926741dd4 | [
"Apache-2.0"
] | permissive | hjvromen/lewis | 40b035973df7c77ebf927afab7878c76d05ff758 | 105b675f73630f028ad5d890897a51b3c1146fb0 | refs/heads/master | 1,677,944,636,343 | 1,676,555,301,000 | 1,676,555,301,000 | 327,553,599 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 16,519 | 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 linear_algebra.tensor_product
import algebra.algebra.basic
universes u v₁ v₂ v₃ v₄
/-!
# The tensor product of R-algebras
We construct the R-algebra struc... |
8b3e879180b51a6dfbf715311a2533902383f5d0 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/category_theory/is_connected_auto.lean | 83dc70f6a16b6aa01e7e64226529906642485df6 | [] | 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 | 11,779 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.list.chain
import Mathlib.category_theory.punit
import Mathlib.PostPort
universes v₁ u₁ l... |
37ffbfd34fd3a77407ee6d0995ae0268e45aebed | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/algebra/direct_sum_graded.lean | 05309cdad2f63db98d0d9fd1aacfe4343d7dc7db | [
"Apache-2.0"
] | permissive | JLimperg/aesop3 | 306cc6570c556568897ed2e508c8869667252e8a | a4a116f650cc7403428e72bd2e2c4cda300fe03f | refs/heads/master | 1,682,884,916,368 | 1,620,320,033,000 | 1,620,320,033,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 21,572 | lean | /-
Copyright (c) 2021 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import algebra.direct_sum
import algebra.algebra.basic
import algebra.algebra.operations
import group_theory.subgroup
/-!
# Additively-graded multiplicative structures on ... |
8a752b8fb64dd200cd1019de01ac4343537a296f | 07c76fbd96ea1786cc6392fa834be62643cea420 | /hott/init/funext.hlean | dc69450dd7ce49c720f29ef014a41d6fde042bc0 | [
"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 | 12,915 | hlean | /-
Copyright (c) 2014 Jakob von Raumer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jakob von Raumer, Floris van Doorn
Ported from Coq HoTT
-/
prelude
import .trunc .equiv .ua
open eq is_trunc sigma function is_equiv equiv prod unit prod.ops lift
/-
We now pro... |
6d30503d1311a657558787fdfd5bae885f2a932b | 367134ba5a65885e863bdc4507601606690974c1 | /src/tactic/omega/clause.lean | 9d9c06e1ed92895db5a67f5c785f8e53d313bcd2 | [
"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 | 2,004 | lean | /-
Copyright (c) 2019 Seul Baek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Seul Baek
-/
/-
Definition of linear constrain clauses.
-/
import tactic.omega.term
namespace omega
/-- (([t₁,...tₘ],[s₁,...,sₙ]) : clause) encodes the constraints
0 = ⟦t₁⟧ ∧ ... ∧ 0 = ⟦... |
1fc8f0b9a41f8e0e42f511c4d92d324d40a5065b | 95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990 | /src/topology/instances/polynomial.lean | 40d79bb99867d089ddefbb7496d9e31842eb4ae4 | [
"Apache-2.0"
] | permissive | uniformity1/mathlib | 829341bad9dfa6d6be9adaacb8086a8a492e85a4 | dd0e9bd8f2e5ec267f68e72336f6973311909105 | refs/heads/master | 1,588,592,015,670 | 1,554,219,842,000 | 1,554,219,842,000 | 179,110,702 | 0 | 0 | Apache-2.0 | 1,554,220,076,000 | 1,554,220,076,000 | null | UTF-8 | Lean | false | false | 923 | lean | /-
Copyright (c) 2018 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Robert Y. Lewis
Analytic facts about polynomials.
-/
import topology.algebra.ring data.polynomial
lemma polynomial.continuous_eval {α} [comm_semiring α] [decidable_eq α] [topologica... |
0a58786b6100d9b7ff0d18ead63dbace5d1126aa | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/control/traversable/derive_auto.lean | 0735e0680a10875416a206e0070507350443d499 | [] | 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 | 415 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Simon Hudon
Automation to construct `traversable` instances
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.control.traversable.lemmas
import Mathlib.data.li... |
746f1d225bf9cd37369bfa4d0268c42cc82fffce | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /library/hott/default.lean | 4e38ab29c5f2c2befcec3012a5507d14be7242a3 | [
"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 | 273 | lean | -- Copyright (c) 2014 Jeremy Avigad. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Jeremy Avigad
-- hott.default
-- ============
-- A library for homotopy type theory
import ..standard .path .equiv .trunc .fibrant |
62bfcf0214ca66076121f4e6e1dc0dd717b7e1ab | a4673261e60b025e2c8c825dfa4ab9108246c32e | /src/Init/Control/State.lean | 3d648a633be1b00750d8a836fb311bf003c67201 | [
"Apache-2.0"
] | permissive | jcommelin/lean4 | c02dec0cc32c4bccab009285475f265f17d73228 | 2909313475588cc20ac0436e55548a4502050d0a | refs/heads/master | 1,674,129,550,893 | 1,606,415,348,000 | 1,606,415,348,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,482 | 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, Sebastian Ullrich
The State monad transformer.
-/
prelude
import Init.Control.Basic
import Init.Control.Id
import Init.Control.Except
universes u v w
def St... |
d1e935246f48c69b93db8039b7b79fd3b2647504 | 4875cfbb5f2115721bd194f1dc4d418a8ef9fb01 | /fabstract/Hales_T_et_al_Kepler_conj/fabstract.lean | 2d2d9a44bad982797778d24568f345ad77a2cf17 | [
"CC-BY-4.0"
] | permissive | Kha/formalabstracts | 71f399c91b92148fea500edada8b12393040abf9 | 5f00ab2de2b22aa4c3011f6f8b87b76114368dd1 | refs/heads/master | 1,611,263,396,157 | 1,501,147,842,000 | 1,501,147,901,000 | 98,518,583 | 0 | 0 | null | 1,501,147,728,000 | 1,501,147,728,000 | null | UTF-8 | Lean | false | false | 3,150 | lean | import meta_data
...folklore.real_axiom
namespace Hales_T_et_al_Kepler_conj
noncomputable theory
open classical nat set list vector real_axiom
-- cardinality of finite sets.
-- Surely this must exist somewhere. But where?
universe u
def set_of_list {α : Type u} : (list α) → set α
| [] y := false
| (x :: res... |
63b817b9a338b09da515cc203b19dd64bed18437 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/order/bounded_order.lean | c9c998236dcf042bf2d366965830f98eed07c2d0 | [
"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,670 | 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.lattice
import data.option.basic
/-!
# ⊤ and ⊥, bounded lattices and variants
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file req... |
1a6ce03b3c253bde0227e63bf1ba76dfa8838334 | b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77 | /src/data/polynomial/monic.lean | 71940b212f472a79cf97da83ef529245e902db40 | [
"Apache-2.0"
] | permissive | molodiuc/mathlib | cae2ba3ef1601c1f42ca0b625c79b061b63fef5b | 98ebe5a6739fbe254f9ee9d401882d4388f91035 | refs/heads/master | 1,674,237,127,059 | 1,606,353,533,000 | 1,606,353,533,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,619 | 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.degree
import algebra.associated
import tactic.omega
/-!
# Theory of monic polynomials
We give se... |
ff8549b2ec90bb4e0b07baf3439eec78dbcebc01 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /library/data/uprod.lean | 5cfbe83eff712ef63a85dc8383eb46c114b669e7 | [
"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 | 3,732 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
Unordered pairs
-/
import data.prod logic.identities
open prod prod.ops quot function
private definition eqv {A : Type} (p₁ p₂ : A × A) : Prop :=
p₁ = p₂ ∨ sw... |
de56ad88c02bdd2c597cc37d2e8ba52c0ab15b79 | 92b50235facfbc08dfe7f334827d47281471333b | /hott/algebra/binary.hlean | 05471610cd62d96562a8b9b60f38e623c525ec6e | [
"Apache-2.0"
] | permissive | htzh/lean | 24f6ed7510ab637379ec31af406d12584d31792c | d70c79f4e30aafecdfc4a60b5d3512199200ab6e | refs/heads/master | 1,607,677,731,270 | 1,437,089,952,000 | 1,437,089,952,000 | 37,078,816 | 0 | 0 | null | 1,433,780,956,000 | 1,433,780,955,000 | null | UTF-8 | Lean | false | false | 4,588 | hlean | /-
Copyright (c) 2014-15 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Jeremy Avigad
General properties of binary operations.
-/
open eq.ops function equiv
namespace binary
section
variable {A : Type}
variables (o... |
9fac030f93a597f1177c9d2bca02d99cc018edb3 | 1dd482be3f611941db7801003235dc84147ec60a | /src/ring_theory/euclidean_domain.lean | eb7f0e2549c63bfacc5e0e567821132f3b141dbf | [
"Apache-2.0"
] | permissive | sanderdahmen/mathlib | 479039302bd66434bb5672c2a4cecf8d69981458 | 8f0eae75cd2d8b7a083cf935666fcce4565df076 | refs/heads/master | 1,587,491,322,775 | 1,549,672,060,000 | 1,549,672,060,000 | 169,748,224 | 0 | 0 | Apache-2.0 | 1,549,636,694,000 | 1,549,636,694,000 | null | UTF-8 | Lean | false | false | 1,928 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Chris Hughes
-/
import algebra.euclidean_domain ring_theory.ideals ring_theory.associated
noncomputable theory
local attribute [instance] classical.dec
open euclidean_d... |
adef1e8a2903c196d5ad6d05938e85f78b9720ec | 94e33a31faa76775069b071adea97e86e218a8ee | /src/data/finset/slice.lean | 05879414a878fe16427b29956c8d42d7d5e9b648 | [
"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 | 5,254 | lean | /-
Copyright (c) 2021 Bhavik Mehta, Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Alena Gusakov, Yaël Dillies
-/
import algebra.big_operators.basic
import data.nat.interval
import order.antichain
/-!
# `r`-sets and slice
This file defines... |
2ae7d20e890098ea54203346b97a159a81822a61 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/group_theory/group_action/embedding.lean | 459fc50b60e8695770ab2a97957c45731324af43 | [
"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,005 | lean | /-
Copyright (c) 2022 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import group_theory.group_action.group
import group_theory.group_action.pi
/-!
# Group actions on embeddings
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to t... |
357f014c7fbe68f6ade42e0d0b40cd8a7ae03e50 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/data/mv_polynomial/monad.lean | 106cefe8a1c1dba916558c76b725f039823ec834 | [
"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 | 15,101 | lean | /-
Copyright (c) 2020 Johan Commelin, Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Robert Y. Lewis
-/
import data.mv_polynomial.rename
import data.mv_polynomial.variables
/-!
# Monad operations on `mv_polynomial`
> THIS FILE IS SYN... |
87b3e7045e26ef049b31add2c0bd5537beb52cf0 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Init/Data/Format/Basic.lean | 94d32beb80b0de8c0f8d7bc303f9c00aa823f745 | [
"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 | 12,459 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import Init.Control.State
import Init.Data.Int.Basic
import Init.Data.String.Basic
namespace Std
/-- Determines how groups should have linebreaks i... |
025f5582bba0c5d0bbc66f2bf79db59a73041865 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/data/multiset/interval.lean | 33ae1fb3631830d12d5f86e21f2039d8ddc33d46 | [
"Apache-2.0"
] | permissive | kbuzzard/mathlib | 2ff9e85dfe2a46f4b291927f983afec17e946eb8 | 58537299e922f9c77df76cb613910914a479c1f7 | refs/heads/master | 1,685,313,702,744 | 1,683,974,212,000 | 1,683,974,212,000 | 128,185,277 | 1 | 0 | null | 1,522,920,600,000 | 1,522,920,600,000 | null | UTF-8 | Lean | false | false | 2,387 | lean | /-
Copyright (c) 2022 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import data.finset.locally_finite
import data.dfinsupp.interval
import data.dfinsupp.multiset
import data.nat.interval
/-!
# Finite intervals of multisets
> THIS FILE IS ... |
74f224d1925d90dae3ebfea52db34a5a3b4604cc | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /tests/lean/run/ext_eff.lean | 3dec31292fd9f290e9e0e8b5594cce9621ec657b | [
"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 | 9,227 | lean | -- TODO: renable test after we restore tactic framework
#exit
import init.IO
/- An extensible effects library, inspired by "Freer Monads, More Extensible Effects" (O. Kiselyov, H. Ishii)
and https://github.com/lexi-lambda/freer-simple -/
def N := 100 -- Default number of interations for testing
def effect := Type... |
ba579a479d877b2bbeffae2e110d5431a83b6ad2 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/empty_set_inside_quotations.lean | 11d795796d0080e382eed41e04a5967e19cb6a70 | [
"Apache-2.0"
] | permissive | bre7k30/lean | de893411bcfa7b3c5572e61b9e1c52951b310aa4 | 5a924699d076dab1bd5af23a8f910b433e598d7a | refs/heads/master | 1,610,900,145,817 | 1,488,006,845,000 | 1,488,006,845,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 324 | lean | import data.set
check ({} : set nat)
open tactic expr
meta def is_assoc_bin_app : expr → tactic (expr × expr)
| (app (app op a1) a2) := do h ← to_expr `(is_associative.assoc %%op), return (op, h)
| _ := failed
run_command to_expr `(({} : set nat) ∪ {}) >>= is_assoc_bin_app >>= λ p, trace p.2
|
413f964ae5c75c6a92d78075736a9263a0bd2f95 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Elab/PreDefinition/Eqns.lean | ce6d9e2fbb8da7d00b315bd9fd7cd5b9aad7a884 | [
"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 | 16,241 | lean | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Meta.Eqns
import Lean.Util.CollectFVars
import Lean.Util.ForEachExprWhere
import Lean.Meta.Tactic.Split
import Lean.Meta.Tactic.Apply
import Lea... |
22aa264c8d9cd778a5d189800408ab71bd93e722 | 7b02c598aa57070b4cf4fbfe2416d0479220187f | /algebra/free_commutative_group.hlean | 759be300a974d739c20d0eba8fdb070555abf605 | [
"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 | 8,748 | 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, Egbert Rijke
Constructions with groups
-/
import algebra.group_theory hit.set_quotient types.list types.sum .free_group
open eq algebra is_trunc set_quotient rel... |
f1c64762a980c773a50f792c075b8a87929f3e5b | 0845ae2ca02071debcfd4ac24be871236c01784f | /library/init/data/assoclist.lean | 821ce8129875d4517506259fd5d397da6e413fcf | [
"Apache-2.0"
] | permissive | GaloisInc/lean4 | 74c267eb0e900bfaa23df8de86039483ecbd60b7 | 228ddd5fdcd98dd4e9c009f425284e86917938aa | refs/heads/master | 1,643,131,356,301 | 1,562,715,572,000 | 1,562,715,572,000 | 192,390,898 | 0 | 0 | null | 1,560,792,750,000 | 1,560,792,749,000 | null | UTF-8 | Lean | false | false | 1,479 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import init.control.id
universes u v w
/- List-like type to avoid extra level of indirection -/
inductive AssocList (α : Type u) (β : Type v)
| nil ... |
f5ba60e497b1f3face16998dc7c4a5eea8c8f679 | 947b78d97130d56365ae2ec264df196ce769371a | /stage0/src/Init/Control/Functor.lean | 2dc6de45478c8c6960ed4a3e14e0c2ac4a95016d | [
"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 | 828 | lean | /-
Copyright (c) Luke Nelson and Jared Roesch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Luke Nelson, Jared Roesch, Sebastian Ullrich, Leonardo de Moura
-/
prelude
import Init.Core
open Function
universes u v
class Functor (f : Type u → Type v) : Type (max (u+1) ... |
746db68aafbaf0e07cc190af488e23dc3ff9a33d | a338c3e75cecad4fb8d091bfe505f7399febfd2b | /src/category_theory/abelian/diagram_lemmas/four.lean | f0a67fd346d22d5f99fd0139b488305b055f86fb | [
"Apache-2.0"
] | permissive | bacaimano/mathlib | 88eb7911a9054874fba2a2b74ccd0627c90188af | f2edc5a3529d95699b43514d6feb7eb11608723f | refs/heads/master | 1,686,410,075,833 | 1,625,497,070,000 | 1,625,497,070,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,005 | 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 lemma
Consider the following commutative diagram with exact rows in an abelian category:
```
A ---f--> B... |
ad2d3b8fc8251907ecc82d7baf2e8891a8025b6e | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/linear_algebra/eigenspace.lean | ecdc77cacc82610c9237075faba490572579fa10 | [
"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 | 29,243 | lean | /-
Copyright (c) 2020 Alexander Bentkamp. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander Bentkamp
-/
import algebra.algebra.spectrum
import order.hom.basic
import linear_algebra.free_module.finite.basic
/-!
# Eigenvectors and eigenvalues
This file defines ... |
f4f71fa75431fb5777465ecc9b63078435ab1bf1 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/category_theory/over.lean | 3438a646700aa3474c66872c91e49f3fae41459c | [
"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 | 11,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, Bhavik Mehta
-/
import category_theory.structured_arrow
import category_theory.punit
import category_theory.functor.reflects_isomorphisms
import category_theory.functor... |
2c6990d48339bf8e9a2a471cdf66262c583ae57a | 49ffcd4736fa3bdcc1cdbb546d4c855d67c0f28a | /library/init/data/nat/lemmas.lean | 1cf98320712ae4e50aacb656f533aea969fa0c58 | [
"Apache-2.0"
] | permissive | black13/lean | 979e24d09e17b2fdf8ec74aac160583000086bc8 | 1a80ea9c8e28902cadbfb612896bcd45ba4ce697 | refs/heads/master | 1,626,839,620,164 | 1,509,113,016,000 | 1,509,122,889,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 50,359 | 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, Jeremy Avigad
-/
prelude
import init.data.nat.basic init.data.nat.div init.data.nat.pow init.meta init.algebra.functions
universes u
namespace nat
attribute ... |
58217969161e928d173b1f14709faea7b53a8a67 | 969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb | /src/group_theory/perm/basic.lean | af9d34cfff0df6db798745ad90295159e5ba5fdc | [
"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 | 12,167 | 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 data.equiv.basic
import algebra.group.basic
import algebra.group.hom
import algebra.group.pi
import algebra.group.prod
/-!
# The gro... |
a4233034dc4a2eec51ecb031f172b6b0cc44cc68 | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/analysis/calculus/lhopital.lean | 2836c97b3a0581a8cc5ee44f71f6a621cabdfa77 | [
"Apache-2.0"
] | permissive | dexmagic/mathlib | ff48eefc56e2412429b31d4fddd41a976eb287ce | 7a5d15a955a92a90e1d398b2281916b9c41270b2 | refs/heads/master | 1,693,481,322,046 | 1,633,360,193,000 | 1,633,360,193,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 25,022 | lean | /-
Copyright (c) 2020 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anatole Dedecker
-/
import analysis.calculus.mean_value
/-!
# L'Hôpital's rule for 0/0 indeterminate forms
In this file, we prove several forms of "L'Hopital's rule" for computing ... |
02700db6da12ab84172afe4d1f09b23c4b298994 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /src/Lean/Elab/BuiltinNotation.lean | 4a2cf0fd7eacf5e7035c2b27147f2a41cead41e1 | [
"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 | 14,817 | 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 Init.Data.ToString
import Lean.Compiler.BorrowedAnnotation
import Lean.Meta.KAbstract
import Lean.Meta.Transform
import Lean.Elab.Term
import Lean.El... |
b65837b9101b5ff78ffc5a71538ec8a3fb3f5e68 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/bitvec/core.lean | b9605884cd2f376dcabf0bb0a6a7caaa8385df3a | [
"Apache-2.0"
] | permissive | jjgarzella/mathlib | 96a345378c4e0bf26cf604aed84f90329e4896a2 | 395d8716c3ad03747059d482090e2bb97db612c8 | refs/heads/master | 1,686,480,124,379 | 1,625,163,323,000 | 1,625,163,323,000 | 281,190,421 | 2 | 0 | Apache-2.0 | 1,595,268,170,000 | 1,595,268,169,000 | null | UTF-8 | Lean | false | false | 8,773 | lean | /-
Copyright (c) 2015 Joe Hendrix. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joe Hendrix, Sebastian Ullrich
-/
import data.vector2
import data.nat.basic
/-!
# Basic operations on bitvectors
This is a work-in-progress, and contains additions to other theories.
... |
8a99ae109f9f66e062d6507d4fe8707522afafff | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/algebra/big_operators/order.lean | 53c55b166124099ba4be4a7c00b0dedee1b9decb | [
"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 | 27,796 | 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 algebra.order.absolute_value
import algebra.big_operators.basic
/-!
# Results about big operators with values in an ordered algebraic structure.
Mostly mono... |
e90dab69a2fcf7ec5ed172b461cd084a32f6db77 | 86f6f4f8d827a196a32bfc646234b73328aeb306 | /examples/basics/unnamed_1744.lean | fa02c3b84a05205ad2f27793514abb10b2183ebe | [] | 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 | 116 | lean | import data.nat.gcd
open nat
variables m n : ℕ
-- BEGIN
example : gcd m n = gcd n m :=
begin
sorry
end
-- END |
48d79cdb444f9d00b85115dded29c559ed95b025 | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/tactic/elementwise.lean | 374dd2683cb09fa1b87613879fa9ff2ae95e3429 | [
"Apache-2.0"
] | permissive | JLimperg/aesop3 | 306cc6570c556568897ed2e508c8869667252e8a | a4a116f650cc7403428e72bd2e2c4cda300fe03f | refs/heads/master | 1,682,884,916,368 | 1,620,320,033,000 | 1,620,320,033,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,043 | lean | /-
Copyright (c) 2021 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import tactic.fresh_names
import category_theory.concrete_category
/-!
# Tools to reformulate category-theoretic lemmas in concrete categories
## The `elementwise` ... |
5076b58e681c3feadccead845c831040416ce56a | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /library/init/tactic.lean | a005e8ca4bbce9124fd99dce2e0b86f250032f48 | [
"Apache-2.0"
] | permissive | davidmueller13/lean | 65a3ed141b4088cd0a268e4de80eb6778b21a0e9 | c626e2e3c6f3771e07c32e82ee5b9e030de5b050 | refs/heads/master | 1,611,278,313,401 | 1,444,021,177,000 | 1,444,021,177,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,093 | 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
This is just a trick to embed the 'tactic language' as a Lean
expression. We should view 'tactic' as automation that when execute
produces a term. tactic.buil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.