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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b327f810a6dfd79cffc69931646fada08ed394d | 92b50235facfbc08dfe7f334827d47281471333b | /library/theories/number_theory/primes.lean | f60233e34eb19083b92e413d676cae27e1282aea | [
"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 | 10,338 | 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, Jeremy Avigad
Prime numbers.
-/
import data.nat logic.identities
open bool
namespace nat
open decidable
definition prime [reducible] (p : nat) := p β₯ 2 β§ β... |
c31cd83063b95eaf9fa83f3a08681c7107096a5a | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/linear_algebra/prod.lean | 674887a61115878273130ae6598386343ef2e3d0 | [
"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 | 25,506 | 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, Kevin Buzzard, Yury Kudryashov, Eric Wieser
-/
import linear_algebra.basic
import order.partial_sups
/-! ### Products of modules
This file defines con... |
caf46c235c345ec2d011275cb54f392a63a95c65 | 38bf3fd2bb651ab70511408fcf70e2029e2ba310 | /src/tactic/doc_blame.lean | 29ae1fb1ad701c4ebaa5c6cd3dbb491e46d198f1 | [
"Apache-2.0"
] | permissive | JaredCorduan/mathlib | 130392594844f15dad65a9308c242551bae6cd2e | d5de80376088954d592a59326c14404f538050a1 | refs/heads/master | 1,595,862,206,333 | 1,570,816,457,000 | 1,570,816,457,000 | 209,134,499 | 0 | 0 | Apache-2.0 | 1,568,746,811,000 | 1,568,746,811,000 | null | UTF-8 | Lean | false | false | 1,250 | lean | /-
Copyright (c) 2019 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Robert Y. Lewis
-/
import tactic.core
open tactic declaration environment
/-- Print the declaration name if it's a definition without a docstring -/
meta def print_ite... |
5b2327954c17647520826883e8649e653b18fc45 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/order/hom/basic.lean | a6430e9a5bdb4f9e1a33735c07f6eae8f97f5719 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 5,519 | 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 order.hom.basic
import topology.continuous_function.basic
/-!
# Continuous order homomorphisms
This file defines continuous order homomorphisms, that is maps whi... |
e13520976299c30dcfd8822d08e60d6951e1d880 | f00cc9c04d77f9621aa57d1406d35c522c3ff82c | /library/init/meta/tactic.lean | 859cd463b0ec1a6e60ebc7d782f0a9d98d9c2bf8 | [
"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 | 49,307 | 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.function init.data.option.basic init.util
import init.category.combinators init.category.monad init.category.alternative init.category.m... |
01f71bfeb024607e4b95cbf4f1406b1b22bc94b4 | e61a235b8468b03aee0120bf26ec615c045005d2 | /stage0/src/Init/Lean/Util/Trace.lean | bd6cef8e01383508312eb82f2ed7363f9296fc7d | [
"Apache-2.0"
] | permissive | SCKelemen/lean4 | 140dc63a80539f7c61c8e43e1c174d8500ec3230 | e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc | refs/heads/master | 1,660,973,595,917 | 1,590,278,033,000 | 1,590,278,033,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,766 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich, Leonardo de Moura
-/
prelude
import Init.Lean.Message
universe u
namespace Lean
class MonadTracer (m : Type β Type u) :=
(traceCtx {Ξ±} : Name β m Ξ± β m Ξ±)
(... |
176fd777aa216cb6cadb0fa570458cad34ca5981 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/topology/category/Top/open_nhds.lean | 5ff752138fb5d58cbf35a882ed61113578dfe30d | [
"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,142 | 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 topology.category.Top.opens
import category_theory.filtered
/-!
# The category of open neighborhoods of a point
Given an object `X` of the category `Top` of ... |
05bd9641b6f575fdc4579794ef785478eb6fc9d3 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/algebra/basic.lean | cb36791b03ee80499d3b29caa869b43ccb7792b6 | [
"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 | 53,121 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Yury Kudryashov
-/
import algebra.iterate_hom
import data.equiv.ring_aut
import algebra.module.basic
import linear_algebra.basic
import tactic.abel
/-!
# Algebras over commutati... |
bf8af3859aadc062e91f9c841f8c962b453061ee | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/data/fintype/fin.lean | 1e2d862e57c980ec62478a9a97e2dede2cb622d6 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 2,169 | lean | /-
Copyright (c) 2021 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import data.fin.interval
/-!
# The structure of `fintype (fin n)`
This file contains some basic results about the `fintype` instance for `fin`,
especially properties of `... |
136e5f74f5a21995fb54980c08d60058db57866e | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/algebra/homomorphism.lean | d26d9d6cd28d0b939560c26b225d3a8ef3487f5f | [
"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 | 6,943 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
Homomorphisms between structures:
is_add_hom : structures with has_add
is_mul_hom : structures with has_mul
is_module_hom : structures with has_add, has_smul... |
63f6f45c92d2e047b1efd5c1767688fa76b8a1a0 | 0f5090f82d527e0df5bf3adac9f9e2e1d81d71e2 | /src/apurva/unitary.lean | 3eb82d150949206920570f6c9f9a628f0b79e864 | [] | no_license | apurvanakade/mc2020-lean-projects | 36eb42c4baccc37183635c36f8e1b3afa4ec1230 | 02466225aa629ab1232043bcc0a053a099fdb939 | refs/heads/master | 1,688,791,717,534 | 1,597,874,092,000 | 1,597,874,092,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,667 | lean | import data.complex.basic
import data.fintype.basic
import data.fin
import data.matrix.basic
import linear_algebra.basis
import linear_algebra.determinant
import linear_algebra.nonsingular_inverse
import .complex_transpose
import .complex_dot_product
import .matrix_extension
import tactic
noncomputable theory
open... |
f397a08d6c3761d87e55956e7db06abae266cea8 | d642a6b1261b2cbe691e53561ac777b924751b63 | /src/data/nat/gcd.lean | 4b7ac772eca0e4f936fe359c0ee78f8fdece221f | [
"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 | 15,503 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura
Definitions and properties of gcd, lcm, and coprime.
-/
import data.nat.basic
namespace nat
/- gcd -/
theorem gcd_dvd (m n : β) : (gcd m n β£ m) β§ (g... |
796dac240e5ae34a6f28af1d25f0ccbcf6d31919 | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/data/nat/pairing.lean | b77a09dbf62c95cd3fa1c3890492bb5e061e1cf2 | [
"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 | 4,050 | 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
Elegant pairing function.
-/
import data.nat.sqrt
import data.set.lattice
open prod decidable function
namespace nat
/-- Pairing function fo... |
5e9c0bdfb48f6264d7ec6bebaa9041b64528229a | a4673261e60b025e2c8c825dfa4ab9108246c32e | /stage0/src/Init/Data/ToString/Basic.lean | f1a22b964d3106058b417c32d9c7b301fabc45fe | [
"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,323 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import Init.Data.String.Basic
import Init.Data.UInt
import Init.Data.Nat.Div
import Init.Data.Repr
import Init.Control.Id
open Sum Subtype Nat
unive... |
75af971c184038ebd89c10d6eac9226b44f7cdfb | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/data/set/function.lean | 47e1bd2b64308dc1a50868076c288fb48731373b | [
"Apache-2.0"
] | permissive | troyjlee/mathlib | e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5 | 45e7eb8447555247246e3fe91c87066506c14875 | refs/heads/master | 1,689,248,035,046 | 1,629,470,528,000 | 1,629,470,528,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 37,248 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu, Yury Kudryashov
-/
import data.set.basic
import logic.function.conjugate
/-!
# Functions over sets
## Main definitions
### P... |
c602b0019e9aae5a194c88d2c5c72ac52c82b529 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/order/bounds.lean | b876ad94b145e4f189468ad24b72f609a2dabd4b | [
"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 | 15,990 | lean | /-
Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Johannes HΓΆlzl
(Least / Greatest) upper / lower bounds
-/
import algebra.order_functions data.set.intervals.basic
open set lattice
universes u v w x
variables {Ξ± : Type u} {Ξ² : Type v... |
ddf344b521272f10410de4d17b18a2dbf3b5c236 | e0f9ba56b7fedc16ef8697f6caeef5898b435143 | /src/analysis/normed_space/operator_norm.lean | 15a5c45c9a56aa2bd4ea200da3cde77e05d411ed | [
"Apache-2.0"
] | permissive | anrddh/mathlib | 6a374da53c7e3a35cb0298b0cd67824efef362b4 | a4266a01d2dcb10de19369307c986d038c7bb6a6 | refs/heads/master | 1,656,710,827,909 | 1,589,560,456,000 | 1,589,560,456,000 | 264,271,800 | 0 | 0 | Apache-2.0 | 1,589,568,062,000 | 1,589,568,061,000 | null | UTF-8 | Lean | false | false | 29,100 | lean | /-
Copyright (c) 2019 Jan-David Salchow. 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
Operator norm on the space of continuous linear maps
Define the operator norm on the space of continuous linear maps between normed s... |
cfee4c7af2a312edce07fff69f5a01abe62be3c0 | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/algebra/group/pi.lean | 4bf7e15a9cc9982e94b5a84f960a5ed9cc7ccce8 | [
"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 | 10,724 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon, Patrick Massot
-/
import data.pi
import data.set.function
import tactic.pi_instances
import algebra.group.hom_instances
/-!
# Pi instances for groups and monoids
This file ... |
a06fd717c6500bc262938529f5a277adcf945f88 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/field_theory/tower_auto.lean | beef28eebbec4a7388d49408fb726d736478f2b3 | [] | 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 | 4,247 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.ring_theory.algebra_tower
import Mathlib.linear_algebra.matrix
import Mathlib.PostPort
universes u v... |
6924f9309ed6bb4170cea17f1588c377803a36cd | 1abd1ed12aa68b375cdef28959f39531c6e95b84 | /src/group_theory/solvable.lean | 4fad2759db25ce216c285bce4b7b6c2c64582888 | [
"Apache-2.0"
] | permissive | jumpy4/mathlib | d3829e75173012833e9f15ac16e481e17596de0f | af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13 | refs/heads/master | 1,693,508,842,818 | 1,636,203,271,000 | 1,636,203,271,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,141 | lean | /-
Copyright (c) 2021 Jordan Brown, Thomas Browning, Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jordan Brown, Thomas Browning, Patrick Lutz
-/
import data.matrix.notation
import group_theory.abelianization
import set_theory.cardinal
import group_theo... |
544e5492227e326f2280aaed8e402b33e269efbc | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/bench/workspaceSymbols.lean | 92cc74c2c858d7bfaa45cf70757a5be4e966a7ec | [
"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 | 419 | lean | import Lean
open Lean Elab
def bench (pattern : String) : TermElabM Unit := do
let env β getEnv
let mut n := 0
IO.println s!"{env.constants.size} decls"
for (c, _) in env.constants.toList do
if Lean.FuzzyMatching.fuzzyMatch pattern c.toString then n := n + 1
IO.println s!"{n} matches"
set_option profile... |
c5ab84fc6b89c83b068c2b6a0b819df4964bfb74 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/div_wf.lean | 154e5ad58670a3e4ccf5e781d9ca9381d0e3877f | [
"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 | 1,653 | lean | import data.nat data.prod
open nat well_founded decidable prod eq.ops
-- Auxiliary lemma used to justify recursive call
private definition lt_aux {x y : nat} (H : 0 < y β§ y β€ x) : x - y < x :=
and.rec_on H (Ξ» ypos ylex,
sub_lt (nat.lt_of_lt_of_le ypos ylex) ypos)
definition wdiv.F (x : nat) (f : Ξ xβ, xβ < x β nat ... |
24ae4a9278a07a67c987a5ed67e7ed1fcfc9888c | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/measure_theory/function/lp_space.lean | 6166a21a641404a7fc679fa51fa28f1908357a8d | [
"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 | 113,829 | lean | /-
Copyright (c) 2020 RΓ©my Degenne. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: RΓ©my Degenne, SΓ©bastien GouΓ«zel
-/
import analysis.normed_space.indicator_function
import analysis.normed.group.hom
import measure_theory.function.ess_sup
import measure_theory.function.... |
1007769ecdb4337d88a298fa5dbc2f20465c7e9b | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/missing_import.lean | 41d0e8b9097aa96239cef6dc8c726722c86dbb5f | [
"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 | 49 | lean | import does.not.exist data.buffer
#print buffer
|
3414f64c184d78608804ae28e166f6518c0a1c7f | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /test/norm_num.lean | f411b38169d0c315dec5abef3ec195ec262ccf78 | [
"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 | 12,363 | lean | /-
Copyright (c) 2017 Simon Hudon All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon, Mario Carneiro
-/
import tactic.norm_num
/-!
# Tests for `norm_num` extensions
-/
constant real : Type
notation `β` := real
@[instance] constant real.linear_ordered_ring : ... |
90b8c4c0f510540ade7f262281f724eaa21a6f5c | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/num/basic_auto.lean | 5b2d286f792c9b35d5243eada9bd8519af6bf4fc | [] | 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,357 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Mario Carneiro
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.PostPort
universes l u_1
namespace Mathlib
/-!
# Binary repre... |
1f155c75e6337e86221d7eaf681cd232f22a4f27 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/measure_theory/measure/measure_space.lean | f2a393b5c67a74ba769988ae4c02aeffc057bcbb | [
"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 | 121,043 | lean | /-
Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes HΓΆlzl, Mario Carneiro
-/
import measure_theory.measure.measure_space_def
import measure_theory.measurable_space
/-!
# Measure spaces
The definition of a measure and a measur... |
80035bf3088ade03f15764a39a7e955a82a43db5 | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/measure_theory/decomposition/unsigned_hahn.lean | 8d4a47d028292ea3a4b3a4445711b7620c59950e | [
"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 | 8,719 | lean | /-
Copyright (c) 2019 Johannes HΓΆlzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes HΓΆlzl
-/
import measure_theory.measure.measure_space
/-!
# Unsigned Hahn decomposition theorem
This file proves the unsigned version of the Hahn decomposition theorem.
## M... |
c8500ba3c42ff0095068b5db99d37c91c68bb227 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/algebra/lattice.lean | d825d696a8e074c467998543d8e00064ea5b91e5 | [
"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 | 5,371 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
-/
import .order
variable {A : Type}
/- lattices (we could split this to upper- and lower-semilattices, if needed) -/
structure lattice [class] (A : Type) extends weak_o... |
4640f86598e968aea0d1fc3886c5994d167e2feb | c1a29ca460720df88ab68dc42d9a1a02e029d505 | /examples/introduction/unnamed_123.lean | 744a9528f6283a2f94f3f1f645d784e3a0d7804a | [] | no_license | agusakov/mathematics_in_lean | acb5b3d659e4522ae4b4836ea550527f03f6546c | 2539562e4d91c858c73dbecb5b282ce1a7d38b6d | refs/heads/master | 1,665,963,365,241 | 1,592,080,022,000 | 1,592,080,022,000 | 272,078,062 | 0 | 0 | null | 1,592,078,772,000 | 1,592,078,772,000 | null | UTF-8 | Lean | false | false | 215 | lean | def fermat_last_theorem :=
β x y z n : β, n > 2 β x * y * z β 0 β x^n + y^n β z^n
-- BEGIN
theorem easy : 2 + 2 = 4 := rfl
#check easy
theorem hard : fermat_last_theorem := sorry
#check hard
-- END |
5a1d4ed7a431b1e0409c17acf882f056174f1dfd | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/analysis/p_series.lean | 136329c868303d05eca767e135ea0536d1a75228 | [
"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,259 | lean | /-
Copyright (c) 2020 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Yury G. Kudryashov
-/
import analysis.special_functions.pow
/-!
# Convergence of `p`-series
In this file we prove that the series `β' k in β, 1 / k ^ p` converges if and only if `... |
570fbe9e49549c21fbd4614c33dcbabd9e212f7c | 86f6f4f8d827a196a32bfc646234b73328aeb306 | /examples/logic/unnamed_1014.lean | 4d1cb4da7e31a7e62bda9808c770a27325b4b659 | [] | 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 | 231 | lean | import tactic
open function
variables {Ξ± : Type*} {Ξ² : Type*} {Ξ³ : Type*}
variables {g : Ξ² β Ξ³} {f : Ξ± β Ξ²}
-- BEGIN
example (surjg : surjective g) (surjf : surjective f) :
surjective (Ξ» x, g (f x)) :=
sorry
-- END |
f8642f36ae566a64e5b71a37474b76642cfabc5d | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/nat/psub.lean | 85478574aaaad1ed1a0d542497f6a62c0f8c03d1 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,259 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.nat.basic
import Mathlib.PostPort
namespace Mathlib
/-!
# Partial predecessor and par... |
5d12c5f40a14cc913221674be4a25c59c4702fdd | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/measure_theory/ae_eq_fun.lean | 57f613450030ca807efbd177607d4725317770d2 | [
"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 | 21,473 | lean | /-
Copyright (c) 2019 Johannes HΓΆlzl, Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes HΓΆlzl, Zhouhang Zhou
-/
import measure_theory.integration
import order.filter.germ
/-!
# Almost everywhere equal functions
Two measurable functions are treat... |
2ad65b94b81414d673cd557ed42600d6cfa3f987 | b19a1b7dc79c802247fdce4c04708e070863b4d2 | /propositionsAsTypes.lean | 0c8adfc969665359634a502d29dbce77a388593b | [] | no_license | utanapishtim/promethazine | 99a1e80311fb20251a54ba78a534b23852b88c40 | 08a6f9bd6dd08feb3df8d4697e19ffc8d333b249 | refs/heads/master | 1,653,595,504,487 | 1,480,129,933,000 | 1,480,129,933,000 | 74,801,596 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,072 | lean | constant and : Prop β Prop β Prop
constant or : Prop β Prop β Prop
constant not : Prop β Prop β Prop
constant implies : Prop β Prop β Prop
variables p q r : Prop
check and p q
check or (and p q) r
check implies (and p q) (and q p)
check p β§ q
check r β¨ (p β§ q)
check (p β§ q) β (q β§ p)
constant Proof : Prop β Type
con... |
12c2dc44a678cfa21cf9f63424bd407cb7eb4284 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/ring_theory/localization.lean | 04e886669b775b2af2057306a53e1c13a3909183 | [
"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 | 83,289 | 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, Amelia Livingston
-/
import tactic.ring_exp
import data.equiv.ring
import group_theory.monoid_localization
import ring_theory.ideal.operations
imp... |
6b9f085a2b65a5a49e3877ba43e681d190dfb98b | d436468d80b739ba7e06843c4d0d2070e43448e5 | /src/analysis/specific_limits.lean | a7f2943955258a90c2492a5db347dc2e0525c27f | [
"Apache-2.0"
] | permissive | roro47/mathlib | 761fdc002aef92f77818f3fef06bf6ec6fc1a28e | 80aa7d52537571a2ca62a3fdf71c9533a09422cf | refs/heads/master | 1,599,656,410,625 | 1,573,649,488,000 | 1,573,649,488,000 | 221,452,951 | 0 | 0 | Apache-2.0 | 1,573,647,693,000 | 1,573,647,692,000 | null | UTF-8 | Lean | false | false | 8,042 | 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
A collection of specific limit computations.
-/
import analysis.normed_space.basic algebra.geom_sum
import topology.instances.ennreal
noncomputable theory
open_locale ... |
08ca64629ef6ed36fd974a09184a3edc574ace51 | 54d7e71c3616d331b2ec3845d31deb08f3ff1dea | /tests/lean/run/comp_val2.lean | c293784af8039bc92b7ad24a1dfa4d4000b088ec | [
"Apache-2.0"
] | permissive | pachugupta/lean | 6f3305c4292288311cc4ab4550060b17d49ffb1d | 0d02136a09ac4cf27b5c88361750e38e1f485a1a | refs/heads/master | 1,611,110,653,606 | 1,493,130,117,000 | 1,493,167,649,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 481 | lean | open tactic
example : #"a" β #"b" := by comp_val
example : #"0" β #"a" := by comp_val
example : "hello worlg" β "hhello world" := by comp_val
example : "hello world" β "hhello world" := by comp_val
example : "abc" β "cde" := by comp_val
example : "abc" β "" := by comp_val
example : "" β "cde" := by comp_val
example ... |
858eff408ffe526bed6418674deb67ba1396c404 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/tactic/derive_inhabited_auto.lean | 25fc0169873d8f1e9ed1de8c5e4c34950c19c80a | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,486 | lean | /-
Copyright (c) 2020 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.logic.basic
import Mathlib.PostPort
universes r s u v u_1 u_2
namespace Mathlib
/-!
# Der... |
68199b0d786d9d7f3f97c7c3c42fd26bb14f6a89 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/record7.lean | 60031b31e08d2d0d13e943215c3cd591f3fed375 | [
"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 | 174 | lean | import logic data.unit
structure point (A : Type) (B : Type) :=
mk :: (x : A) (y : B)
structure point2 (A : Type) (B : Type) extends point A B :=
make
print prefix point2
|
11dde3ddef1fc5269ccd5853ac6831dca762e27e | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /tests/lean/run/cast_sorry_bug.lean | 858969af8fc640c6fe38d3e99ab50aad1859212c | [
"Apache-2.0"
] | permissive | tjiaqi/lean | 4634d729795c164664d10d093f3545287c76628f | d0ce4cf62f4246b0600c07e074d86e51f2195e30 | refs/heads/master | 1,622,323,796,480 | 1,422,643,069,000 | 1,422,643,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 380 | lean | import logic data.nat
open nat
inductive fin : β β Type :=
zero : Ξ {n : β}, fin (succ n),
succ : Ξ {n : β}, fin n β fin (succ n)
theorem foo (n m : β) (a : fin n) (b : fin m) (H : n = m) : cast (congr_arg fin H) a = b :=
have eq : fin n = fin m, from congr_arg fin H,
have ceq : cast eq a = b, from sorry, -- sorry i... |
3d4d5eec9e2bbff9f40e716f3c5b86de02b9029d | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/1487.lean | 4bbc1857bb55074e361fcb95ecc4d7240f6d965f | [
"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 | 83 | lean | def ex (Ξ± : Sort _) (a b : Ξ±) : a = b :=
begin [smt]
close -- Should fail
end
|
1a0aa911440635a42f1d4743ce6fe130c31da33b | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/elabissues/anonymous_constructor_error_msg.lean | 55034f8449bc55f4eece7111db607cc160150e21 | [
"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,015 | lean | /-
This is an annoyingly unhelpful error message that I see all the time.
An exact line number would help a lot, but even so it would be great
to replace the `β¨...β©` with the actual term in question.
[Leo]: The bad position is due the transition to the new elaborator.
The new frontend produces the correct position.
No... |
88e3e4033a4428fdc00505f7665361809ee46b69 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /src/Lean/Server/FileSource.lean | 4e04e5256299de869026f023e5e106c0756f082b | [
"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,602 | lean | /-
Copyright (c) 2020 Marc Huisinga. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Marc Huisinga
-/
import Lean.Data.Lsp
namespace Lean.Lsp
class FileSource (Ξ± : Type) where
fileSource : Ξ± β DocumentUri
export FileSource (fileSource)
instance : FileSource Locati... |
3c34f10e3759cf0a3c690c6a40f0ea079feb5787 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/ring_theory/eisenstein_criterion.lean | 0853edccf7cd49f6c3bcb53dcbdd7467666fdebb | [
"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 | 5,559 | lean | /-
Copyright (c) 2020 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import ring_theory.prime
import ring_theory.polynomial.content
/-!
# Eisenstein's criterion
A proof of a slight generalisation of Eisenstein's criterion for the irreduci... |
300150a47d4ae1399f086291b2f973c78616a363 | 367134ba5a65885e863bdc4507601606690974c1 | /src/category_theory/limits/presheaf.lean | 702a9095b658da6ac764b71f78ca774703dc3197 | [
"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 | 12,600 | 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.adjunction
import category_theory.elements
import category_theory.limits.functor_category
import category_theory.limits.preserves.limits
import cat... |
5eb10aef904c3980d2ee4459474f2b176b87dc5d | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/metric_space/equicontinuity.lean | c4652f99cab69fe0f0d25b20695ec4d2b5a1f49f | [
"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,948 | lean | /-
Copyright (c) 2022 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anatole Dedecker
-/
import topology.metric_space.basic
import topology.uniform_space.equicontinuity
/-!
# Equicontinuity in metric spaces
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.... |
7dded309381dd8da44f7a565469f3084c32c7041 | 626e312b5c1cb2d88fca108f5933076012633192 | /src/linear_algebra/bilinear_form.lean | 9a8e99e4437dc1f78dac20d36464994f9c11460b | [
"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 | 66,294 | lean | /-
Copyright (c) 2018 Andreas Swerdlow. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andreas Swerdlow, Kexing Ying
-/
import linear_algebra.dual
import linear_algebra.matrix.basis
import linear_algebra.matrix.nonsingular_inverse
import linear_algebra.tensor_product
... |
e2cb892438df11b7fc845bbec72a959d7564f10b | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/algebra/category/Mon/basic.lean | 9fb0ae83a4305fd4601c4eabc14c710add0cf784 | [
"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 | 7,540 | lean | /-
Copyright (c) 2018 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import category_theory.concrete_category.bundled_hom
import category_theory.concrete_category.reflects_isomorphisms
import algebra.punit_instances
/-!
# Category ins... |
211d7684440f03e091196ba56c345ff0fc9815f5 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/connected.lean | 7aab256b6b43622713236cbf98fe2b6c14818de1 | [
"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 | 75,666 | 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 data.set.bool_indicator
import order.succ_pred.relation
import topology.subset_properties
import tactic.congrm
/-!
# Connecte... |
ff0856eb8242f83bc5880bd01ae2bbe7f7f59414 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/algebra/monoid_algebra.lean | 2aecb5611a5777a5208d3607bf671aefb7fe7a52 | [
"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,044 | 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, Yury G. Kudryashov, Scott Morrison
-/
import algebra.algebra.basic
import linear_algebra.finsupp
/-!
# Monoid algebras
When the domain of a `finsupp` has a multiplica... |
7d55deafa20bc5a74cdbc0d625beeb6fdc1a82c6 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/computability/turing_machine.lean | 87f740cd64b8a204fb00bde7927252accf3c74c8 | [
"Apache-2.0"
] | permissive | ramonfmir/mathlib | c5dc8b33155473fab97c38bd3aa6723dc289beaa | 14c52e990c17f5a00c0cc9e09847af16fabbed25 | refs/heads/master | 1,661,979,343,526 | 1,660,830,384,000 | 1,660,830,384,000 | 182,072,989 | 0 | 0 | null | 1,555,585,876,000 | 1,555,585,876,000 | null | UTF-8 | Lean | false | false | 109,839 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import data.fintype.basic
import data.pfun
import logic.function.iterate
import order.basic
import tactic.apply_fun
/-!
# Turing machines
This file defines a sequen... |
1086a7af91bb0abef6aad1822a30b26577e94114 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/dynamics/circle/rotation_number/translation_number.lean | 80a352a9ef4d5d16e618b34f1a4e80d6418f63d2 | [
"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 | 39,607 | lean | /-
Copyright (c) 2020 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov
-/
import algebra.hom.iterate
import analysis.specific_limits.basic
import order.iterate
import order.semiconj_Sup
import topology.algebra.order.monotone_continu... |
f16b67775d864fb79fd22bd125ba2323f28476ce | 75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2 | /tests/lean/run/eq23.lean | 75419afbe29f6bbdb27a0c9912c0ef6dc093ffbd | [
"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 | 594 | lean | open nat
inductive tree (A : Type) :=
| leaf : A β tree A
| node : tree_list A β tree A
with tree_list :=
| nil : tree_list A
| cons : tree A β tree_list A β tree_list A
namespace tree_list
definition len {A : Type} : tree_list A β nat
| len (nil A) := 0
| len (cons t l) := len l + 1
theorem len_nil {A : Type} ... |
457ae9b73c4a0f34172291ce6d066a3735855f8b | 0845ae2ca02071debcfd4ac24be871236c01784f | /library/init/wf.lean | 7600de998d10da13a9fc6dee98ae77efd9069598 | [
"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 | 13,437 | 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
-/
prelude
import init.data.nat.basic
universes u v
set_option codegen false
inductive Acc {Ξ± : Sort u} (r : Ξ± β Ξ± β Prop) : Ξ± β Prop
| intro (x : Ξ±) (h : β ... |
70ceb804766058336eeae1319a5000aa496560f1 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/tactic/alias.lean | 26cecb414a2683548fffb97ba8eeccf4602cca34 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 6,881 | 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 tactic.core
/-!
# The `alias` command
This file defines an `alias` command, which can be used to create copies
of a theorem or definition with different name... |
abe243cd7f687d5a2955f2fb58c1923c990ca708 | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/ring_theory/noetherian.lean | 5a627ea09802733a3a65c592aad04d3998fe74b5 | [
"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 | 33,444 | lean | /-
Copyright (c) 2018 Mario Carneiro, Kevin Buzzard. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Kevin Buzzard
-/
import algebraic_geometry.prime_spectrum
import data.multiset.finset_ops
import linear_algebra.linear_independent
import order.order_iso... |
6c95d622c6e8b8c8f08f5fea788ee11f5f649ba1 | 32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7 | /tests/lean/run/instances.lean | 52bd07befc569929dab3913b132f6aa4364d28ba | [
"Apache-2.0"
] | permissive | walterhu1015/lean4 | b2c71b688975177402758924eaa513475ed6ce72 | 2214d81e84646a905d0b20b032c89caf89c737ad | refs/heads/master | 1,671,342,096,906 | 1,599,695,985,000 | 1,599,695,985,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 202 | lean | import Lean
open Lean
open Lean.Meta
unsafe def tst1 : IO Unit :=
withImportModules [{module := `Lean}] 0 fun env => do
let insts := env.getGlobalInstances;
IO.println (format insts)
#eval tst1
|
4e63c03ef404cb4ce5cb8b3979dba3367267c52e | b1e80085f6d9158c0b431ffc4fa9d0d53cbac8e4 | /src/arborescence.lean | 3602dfc0665b6f0bb80d19ae0f39f370413f6271 | [] | no_license | dwarn/nielsen-schreier-2 | d73c20e4d2a8ae537fe4f8063272d0b72c58276a | e51a8c6511d374dc584698c7fa236a5be47e7dbe | refs/heads/master | 1,679,911,740,113 | 1,615,656,058,000 | 1,615,656,058,000 | 344,111,212 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,973 | lean | import connected
noncomputable theory
variables {V : Type*} {G : quiver V} [inhabited V]
local notation `root` := default V
def quiver.path.length {a} : Ξ {b : V} (p : quiver.path G a b), β
| _ quiver.path.nil := 0
| _ (quiver.path.cons p _) := p.length + 1
variables [directed_connected G] (G)
/-- A path t... |
3cf2cd4c495bbde7aafc01e93c549f43900bfd06 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/ring_theory/algebra_tower.lean | b963427f495ffea002937e5c0c0d2c3df9a11a67 | [
"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 | 13,763 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.restrict_scalars
import algebra.algebra.tower
import algebra.invertible
import linear_algebra.basis
import ring_theory.adjoin.basic
import ring_theory.po... |
49ce05966e864a1862ef645c7bbbcc53df528413 | 4950bf76e5ae40ba9f8491647d0b6f228ddce173 | /src/topology/algebra/multilinear.lean | b18290e863b8252e5959ba488db549c3f101b323 | [
"Apache-2.0"
] | permissive | ntzwq/mathlib | ca50b21079b0a7c6781c34b62199a396dd00cee2 | 36eec1a98f22df82eaccd354a758ef8576af2a7f | refs/heads/master | 1,675,193,391,478 | 1,607,822,996,000 | 1,607,822,996,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,563 | 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
-/
import topology.algebra.module
import linear_algebra.multilinear
/-!
# Continuous multilinear maps
We define continuous multilinear maps as maps from `Ξ (i : ΞΉ... |
7277ff61682489c45bba5490219568778661c8f7 | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /tests/lean/nbug1.lean | 872b6d60c4efd0d9737593e37c741e12e3412565 | [
"Apache-2.0"
] | permissive | codyroux/lean0.1 | 1ce92751d664aacff0529e139083304a7bbc8a71 | 0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef | refs/heads/master | 1,610,830,535,062 | 1,402,150,480,000 | 1,402,150,480,000 | 19,588,851 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 22 | lean | notation 100 ++ : and
|
8773e4b0a643ed16cd75a255bdfbaab9eebc1091 | d29d82a0af640c937e499f6be79fc552eae0aa13 | /src/order/rel_iso.lean | a0cd6eb96fc2772c3088265c52137841697820dc | [
"Apache-2.0"
] | permissive | AbdulMajeedkhurasani/mathlib | 835f8a5c5cf3075b250b3737172043ab4fa1edf6 | 79bc7323b164aebd000524ebafd198eb0e17f956 | refs/heads/master | 1,688,003,895,660 | 1,627,788,521,000 | 1,627,788,521,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 33,758 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import algebra.group.defs
import logic.embedding
import order.rel_classes
/-!
# Relation homomorphisms, embeddings, isomorphisms
This file defines relation homomorp... |
631363dd8bb4701927792a98beb241d39d7cde09 | 54d7e71c3616d331b2ec3845d31deb08f3ff1dea | /tests/lean/run/app_builder_tac1.lean | dc411567b09ee68b8ade9f05cc6e69f86e438e67 | [
"Apache-2.0"
] | permissive | pachugupta/lean | 6f3305c4292288311cc4ab4550060b17d49ffb1d | 0d02136a09ac4cf27b5c88361750e38e1f485a1a | refs/heads/master | 1,611,110,653,606 | 1,493,130,117,000 | 1,493,167,649,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 520 | lean | open tactic list nat name
set_option trace.app_builder true
set_option pp.all true
meta definition mk_ite (c a b : expr) : tactic expr :=
mk_mapp `ite [some c, none, none, some a, some b]
example (a b : nat) : nat :=
by do a β get_local `a,
b β get_local `b,
mk_app `add [a, b] >>= trace,
mk_app `mu... |
b14dd8ae229c93ddeb70f9b2cabdf0e0131ed2da | 09d257052fff016351aa80a67b1329d43abfa651 | /library/init/data/nat/lemmas.lean | a0bfa11cede8ca12af8aa715dc01f4ff47b916f6 | [
"Apache-2.0"
] | permissive | jipsen/lean | 393b0da6988eb9896c927a026694f25a9fa0736b | 6f28a08d5ab7385f42c665ec2fb6895d1a65b076 | refs/heads/master | 1,667,767,831,701 | 1,592,268,582,000 | 1,592,268,582,000 | 272,565,036 | 0 | 0 | Apache-2.0 | 1,592,263,894,000 | 1,592,263,893,000 | null | UTF-8 | Lean | false | false | 50,471 | 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.meta init.algebra.functions
universes u
namespace nat
attribute [pre_smt] nat_zero... |
992514e340d851bc6c1d4df5730e3c3623b10d1b | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/data/set/lattice.lean | 4e7b313a2a7755d15d11121836736cb04c53c797 | [
"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 | 62,614 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Johannes HΓΆlzl, Mario Carneiro
-/
import data.nat.basic
import order.complete_boolean_algebra
import order.directed
import order.galois_connection
/-!... |
deec9aebc1512ba6dd6e6507d11e26906f610dfc | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/compiler/overflow3.lean | 47cb10e42e3993d21ff7ca4a9ed611fc0535614a | [
"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 | 450 | lean | def longArray (n : Nat := 50000) (xs : Array Char := #[]) : Array Char :=
match n with
| 0 => xs
| n+1 => longArray n (xs.push 'a')
def OverflowLoop
{m : Type -> Type}
[inst1: Monad m]
(xs: Array Char) :
StateT Nat m Nat := do
let mut out := 0
for c in xs do
match c with
| 'z' => panic "z"
| _ ... |
97e1e4914a333b1b5b42275b041ece70704abcfc | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/linear_algebra/quadratic_form/basic.lean | 1c774a7491b4e69194d57141b0962d6f4b4ce3b1 | [
"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 | 38,799 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen, Kexing Ying, Eric Wieser
-/
import algebra.invertible
import linear_algebra.matrix.determinant
import linear_algebra.bilinear_form
/-!
# Quadratic forms
This file defines ... |
514f99b68c2ec2999969b71b4aa8848a3ee39aba | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/control/traversable/basic.lean | d54f7947887007d3c98cb552dda74b362442d6dc | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,663 | lean | /-
Copyright (c) 2018 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.control.functor
import Mathlib.PostPort
universes u v w l s t u_1
namespace Mathlib
/-!
# Trav... |
616b65950c2e3a5e859c2f4a2b8bba1c7f36aa76 | 6db8061629f55e774dd3d03be5bf005ffb485e48 | /BetterNumLits/Fin.lean | 2757d66b433870e1de1c31c856d1bc2b25ec28b3 | [] | no_license | tydeu/lean4-betterNumLits | 21fd5717d1b62ecb021c73e8cfaa0e3d19005690 | 45e3b79214b3e1f81f8e034dd12257e993ddc578 | refs/heads/master | 1,683,103,070,685 | 1,621,717,131,000 | 1,621,717,131,000 | 369,368,844 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,719 | lean | import BetterNumLits.Numerals
import BetterNumLits.Notation
import BetterNumLits.Nat
abbrev Fin2 := Fin (2)
namespace FinNat.two
abbrev zero : Fin2 := Fin.mk Nat.zero (by decide)
abbrev one : Fin2 := Fin.mk Nat.one (by decide)
instance : Zero Fin2 := β¨zeroβ©
instance : One Fin2 := β¨oneβ©
end FinNat.two
abbrev Fin8... |
59cd17b4b0b8846624d37e730ea2790cb0b227fb | 99b5e6372af1f404777312358869f95be7de84a3 | /src/hott/init/meta/support.lean | 20fb10f0d9895d3f7f1764bbfcfab60bad71887b | [
"Apache-2.0"
] | permissive | forked-from-1kasper/hott3 | 8fa064ab5e8c9d6752a783d74ab226ddc5b5232a | 2db24de7a361a7793b0eae4ca5c3fd4d4a0fc691 | refs/heads/master | 1,584,867,131,028 | 1,530,766,841,000 | 1,530,766,841,000 | 139,797,034 | 0 | 0 | Apache-2.0 | 1,530,766,961,000 | 1,530,766,961,000 | null | UTF-8 | Lean | false | false | 4,410 | lean | /-
Copyright (c) 2017 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
open expr tactic native
@[inline] instance (Ξ±) [decidable_eq Ξ±] (a b : Ξ±): decidable (a == b) :=
if h : a = b then is_true (heq_of_eq h) else is_false (h β eq_of_heq)
... |
eba25ce56d705bfb500f136847432cbe69635a48 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/measure_theory/function/conditional_expectation/unique.lean | 70986754eff0952568e0ecb64be655c7b39dd96e | [
"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 | 10,853 | lean | /-
Copyright (c) 2021 RΓ©my Degenne. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: RΓ©my Degenne
-/
import measure_theory.function.ae_eq_of_integral
import measure_theory.function.conditional_expectation.ae_measurable
/-!
# Uniqueness of the conditional expectation
> ... |
89d5471c79114a01d482222a70045e9fc00ecfa3 | 38ee9024fb5974f555fb578fcf5a5a7b71e669b5 | /Mathlib/Tactic/TryThis.lean | 48d4eb62fd2d61d5c5c72874c21a7f5d0c54d7b2 | [
"Apache-2.0"
] | permissive | denayd/mathlib4 | 750e0dcd106554640a1ac701e51517501a574715 | 7f40a5c514066801ab3c6d431e9f405baa9b9c58 | refs/heads/master | 1,693,743,991,894 | 1,636,618,048,000 | 1,636,618,048,000 | 373,926,241 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,530 | lean | /-
Copyright (c) 2021 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Gabriel Ebner
-/
import Lean
/-!
# Stub for try-this support
Lean 4 does not yet support code actions
to present tactic suggestions in the editor.
This file contains a preliminary API
... |
1b066f63062e34e07cb8c8ee915b800825ef6436 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/ring_theory/nilpotent.lean | 8775f41de6d8a325cf99e6f6828f15f8e1939440 | [
"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 | 3,403 | 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
/-!
# Nilpotent elements
## Main definitions
* `is_nilpotent`
* `is_nilpotent_neg_iff`
* `commute.is_nil... |
843a92a3650da5efde0727fc7beed07473f8b23e | 137c667471a40116a7afd7261f030b30180468c2 | /src/topology/algebra/ordered/basic.lean | 6977715b49951eae7ec15b31e5d130ad19db6602 | [
"Apache-2.0"
] | permissive | bragadeesh153/mathlib | 46bf814cfb1eecb34b5d1549b9117dc60f657792 | b577bb2cd1f96eb47031878256856020b76f73cd | refs/heads/master | 1,687,435,188,334 | 1,626,384,207,000 | 1,626,384,207,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 175,238 | lean | /-
Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes HΓΆlzl, Mario Carneiro, Yury Kudryashov
-/
import tactic.tfae
import algebra.group_with_zero.power
import data.set.intervals.pi
import topology.algebra.group
import order.filte... |
68d9679689293bd56e2435f60e15ca183d060e8c | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/category_theory/limits/punit.lean | a19ec663f19484f50a0f854d94cd380f42248ce8 | [
"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 | 819 | lean | import category_theory.punit
import category_theory.limits.limits
/-!
# `discrete punit` has limits and colimits
Mostly for the sake of constructing trivial examples,
we show all (co)cones into `discrete punit` are (co)limit (co)cones,
and `discrete punit` has all (co)limits.
-/
universe v
open category_theory
name... |
70db28eaa854db942ec6606a6617a56d4e12fb59 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/measure_theory/function/ae_eq_fun.lean | 85f19720ac1b61878917d86986a798314d26442b | [
"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 | 31,956 | lean | /-
Copyright (c) 2019 Johannes HΓΆlzl, Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes HΓΆlzl, Zhouhang Zhou
-/
import measure_theory.integral.lebesgue
import order.filter.germ
import topology.continuous_function.algebra
import measure_theory.funct... |
ee001fa22846bf4ece3edbcf7b5eec75274f4552 | 968e2f50b755d3048175f176376eff7139e9df70 | /examples/prop_logic_theory/unnamed_2564.lean | c0ab270275edf832572cc29a0a1e0804a2d0db38 | [] | no_license | gihanmarasingha/mth1001_sphinx | 190a003269ba5e54717b448302a27ca26e31d491 | 05126586cbf5786e521be1ea2ef5b4ba3c44e74a | refs/heads/master | 1,672,913,933,677 | 1,604,516,583,000 | 1,604,516,583,000 | 309,245,750 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 823 | lean | variables {p : Prop}
theorem not_not_of_self : p β ¬¬p := Ξ» hp hnp, hnp hp
local attribute [instance] classical.prop_decidable
-- BEGIN
theorem not_not : ¬¬p β p :=
begin
split, -- By iff intro., it suffices to prove 1. `p β ¬¬p` and 2. `¬¬p β p`.
{ assume hβ : ¬¬p, -- Assume `hβ : ¬¬p... |
adc3e02e9c4fdd69ddbd2092439a45cd23e31af9 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Class.lean | 3d02fefc249f9889989eca54ab2a1607a61660de | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 6,571 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Attributes
namespace Lean
/-- An entry for the persistent environment extension for declared type classes -/
structure ClassEntry where
/-- ... |
909eb33ef105a0f6088d11b0f4e9a513763265e3 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/algebra/order/left_right.lean | 12a4d6582dd20f23c4a19fd77629640a4cf1c978 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 2,898 | lean | /-
Copyright (c) 2021 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anatole Dedecker
-/
import topology.continuous_on
/-!
# Left and right continuity
In this file we prove a few lemmas about left and right continuous functions:
* `continuous_withi... |
7c33ae4456243c727f31ca51ac39ace86c839183 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/model_theory/basic.lean | 7cfeb1e21c7ba19b65f6693bc0e8d78bb2219c13 | [
"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 | 29,661 | lean | /-
Copyright (c) 2021 Aaron Anderson, Jesse Michael Han, Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson, Jesse Michael Han, Floris van Doorn
-/
import data.nat.basic
import data.set_like.basic
import data.set.lattice
import order.closur... |
dec637ed4e88cc2bb4cc4b256a0f2f7b25b7a820 | 675b8263050a5d74b89ceab381ac81ce70535688 | /src/analysis/analytic/basic.lean | e6d9861b5c0a664c739b40e081cbbc0f852d1bf9 | [
"Apache-2.0"
] | permissive | vozor/mathlib | 5921f55235ff60c05f4a48a90d616ea167068adf | f7e728ad8a6ebf90291df2a4d2f9255a6576b529 | refs/heads/master | 1,675,607,702,231 | 1,609,023,279,000 | 1,609,023,279,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 37,832 | 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
-/
import analysis.calculus.times_cont_diff
import tactic.omega
import analysis.special_functions.pow
/-!
# Analytic functions
A function is analytic in one dime... |
a86fa2f64f1b379afeb92f79cfded385386e9128 | 28be2ab6091504b6ba250b367205fb94d50ab284 | /src/game/world2/level6.lean | ef4d0da1cc3cd6fa3e8b4510821bc79712a77bbd | [
"Apache-2.0"
] | permissive | postmasters/natural_number_game | 87304ac22e5e1c5ac2382d6e523d6914dd67a92d | 38a7adcdfdb18c49c87b37831736c8f15300d821 | refs/heads/master | 1,649,856,819,031 | 1,586,444,676,000 | 1,586,444,676,000 | 255,006,061 | 0 | 0 | Apache-2.0 | 1,586,664,599,000 | 1,586,664,598,000 | null | UTF-8 | Lean | false | false | 4,938 | lean | import mynat.definition -- hide
import mynat.add -- hide
import game.world2.level5 -- hide
import tactic.ring -- hide
namespace mynat -- hide
/-
# Addition World
## Level 6: `add_right_comm`
Lean sometimes writes `a + b + c`. What does it mean? The convention is
that if there are no brackets displayed in an addit... |
f511599995917ff5aac7e3cb9bcd519e2ee93c78 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/attr_at1.lean | da20ea472bac649f4d9a2970b684c3c79c7399c1 | [
"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 | 149 | lean | definition f (a : nat) := a + 1
attribute f [reducible] at foo
print f
section
open foo
print f
end
print f
namespace foo
print f
end foo
|
776a48563ea2169c282259359863a2d4c4fce18b | 94e33a31faa76775069b071adea97e86e218a8ee | /src/analysis/normed_space/spectrum.lean | 18220933269a56d9684f2ebaf1fa8106a175a579 | [
"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,595 | lean | /-
Copyright (c) 2021 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
import algebra.algebra.spectrum
import analysis.special_functions.pow
import analysis.special_functions.exponential
import analysis.complex.liouville
import analysis.an... |
63d7e68a936fd4834e96b7f3669b3975c8e096f1 | 2f8bf12144551bc7d8087a6320990c4621741f3d | /library/init/core.lean | 9890233ae5e8bbe776082e85a251a8ea32d8d9d0 | [
"Apache-2.0"
] | permissive | jesse-michael-han/lean4 | eb63a12960e69823749edceb4f23fd33fa2253ce | fa16920a6a7700cabc567aa629ce4ae2478a2f40 | refs/heads/master | 1,589,935,810,594 | 1,557,177,860,000 | 1,557,177,860,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 61,063 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
notation, basic datatypes and type classes
-/
prelude
notation `Prop` := Sort 0
notation f ` $ `:1 a:0 := f a
/- Logical operations and relations -/
reserv... |
127dd26ab55098de79bd871846bf3e1e947e72e1 | 26ac254ecb57ffcb886ff709cf018390161a9225 | /src/linear_algebra/sesquilinear_form.lean | 4803be9e895c595cd7eb903a1b57a286201990b7 | [
"Apache-2.0"
] | permissive | eric-wieser/mathlib | 42842584f584359bbe1fc8b88b3ff937c8acd72d | d0df6b81cd0920ad569158c06a3fd5abb9e63301 | refs/heads/master | 1,669,546,404,255 | 1,595,254,668,000 | 1,595,254,668,000 | 281,173,504 | 0 | 0 | Apache-2.0 | 1,595,263,582,000 | 1,595,263,581,000 | null | UTF-8 | Lean | false | false | 8,785 | lean | /-
Copyright (c) 2018 Andreas Swerdlow. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Andreas Swerdlow
-/
import algebra.module
import ring_theory.maps
/-!
# Sesquilinear form
This file defines a sesquilinear form over a module. The definition requires a ring antiaut... |
e95620f0a39f1d41aee29957e5263a12fdc2bb89 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/category_theory/connected_components.lean | c6c50bf5f85d17ec88cf290dc8868359af7865a9 | [
"Apache-2.0"
] | permissive | stjordanis/mathlib | 51e286d19140e3788ef2c470bc7b953e4991f0c9 | 2568d41bca08f5d6bf39d915434c8447e21f42ee | refs/heads/master | 1,631,748,053,501 | 1,627,938,886,000 | 1,627,938,886,000 | 228,728,358 | 0 | 0 | Apache-2.0 | 1,576,630,588,000 | 1,576,630,587,000 | null | UTF-8 | Lean | false | false | 5,816 | 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 data.list.chain
import category_theory.punit
import category_theory.is_connected
import category_theory.sigma.basic
import category_theory.full_subcategory
/-!
# ... |
5ed88544d7c85dfd107d08b292ce3c4380a355ce | 6b2a480f27775cba4f3ae191b1c1387a29de586e | /group_rep_2/linear_algebra/construction_projector.lean | 44137618e612ca8212857ee1949f49d9ac9a0c0f | [] | 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 | 10 | lean | import lin |
dfc7383def6d6fdbbc300fa5d8bf311ac1b02682 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/group_theory/group_action/group_auto.lean | b116e0dc65d574243e65ff9e26a3e8b3b421c1a7 | [] | 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,205 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.group_theory.group_action.defs
import Mathlib.algebra.group.units
import Mathlib.algebra.group_... |
18f8e43f1d9ac577dbcbf8152a3eee86871a4082 | 690889011852559ee5ac4dfea77092de8c832e7e | /src/ring_theory/localization.lean | 71ddcd46c6759f5d1d3bb14aac7810feda29c2fb | [
"Apache-2.0"
] | permissive | williamdemeo/mathlib | f6df180148f8acc91de9ba5e558976ab40a872c7 | 1fa03c29f9f273203bbffb79d10d31f696b3d317 | refs/heads/master | 1,584,785,260,929 | 1,572,195,914,000 | 1,572,195,913,000 | 138,435,193 | 0 | 0 | Apache-2.0 | 1,529,789,739,000 | 1,529,789,739,000 | null | UTF-8 | Lean | false | false | 24,511 | 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... |
2245176468ebdf9e0744f6922be267f1e4bb1a13 | 4efff1f47634ff19e2f786deadd394270a59ecd2 | /src/data/padics/hensel.lean | 47bb91687432236ee2a005d2a83057925d523a57 | [
"Apache-2.0"
] | permissive | agjftucker/mathlib | d634cd0d5256b6325e3c55bb7fb2403548371707 | 87fe50de17b00af533f72a102d0adefe4a2285e8 | refs/heads/master | 1,625,378,131,941 | 1,599,166,526,000 | 1,599,166,526,000 | 160,748,509 | 0 | 0 | Apache-2.0 | 1,544,141,789,000 | 1,544,141,789,000 | null | UTF-8 | Lean | false | false | 21,405 | lean | /-
Copyright (c) 2018 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Y. Lewis
-/
import data.padics.padic_integers
import topology.metric_space.cau_seq_filter
import analysis.specific_limits
import data.polynomial.identities
import topology.alge... |
13752681390e186b39ebc713c1a0b9418f6ebcd0 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/algebra/valued_field.lean | 469308e6f535e1cd2732cf6ec696802fcc491d10 | [
"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 | 14,684 | lean | /-
Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
import topology.algebra.valuation
import topology.algebra.with_zero_topology
import topology.algebra.uniform_field
/-!
# Valued fields and their completions
In thi... |
72a14002b23e181ab89b8e8bcf5e44fdd7fcdce8 | 37da0369b6c03e380e057bf680d81e6c9fdf9219 | /hott/algebra/ring.hlean | af943af644a2889f6b1e7455d4d56f7aa29d5ddc | [
"Apache-2.0"
] | permissive | kodyvajjha/lean2 | 72b120d95c3a1d77f54433fa90c9810e14a931a4 | 227fcad22ab2bc27bb7471be7911075d101ba3f9 | refs/heads/master | 1,627,157,512,295 | 1,501,855,676,000 | 1,504,809,427,000 | 109,317,326 | 0 | 0 | null | 1,509,839,253,000 | 1,509,655,713,000 | C++ | UTF-8 | Lean | false | false | 20,102 | hlean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura
Structures with multiplicative and additive components, including semirings, rings, and fields.
The development is modeled after Isabelle's library.
-/... |
59656e3ec92dfaca8ce40bce2301bc646b13b514 | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /tests/lean/simplifier19.lean | ced40ce92558d2b92dbf2bc889bb74cd80d4b0b3 | [
"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 | 361 | lean | -- Nested fusion
import algebra.simplifier
open algebra
universe l
constants (T : Type.{l}) (s : algebra.comm_ring T)
constants (x1 x2 x3 x4 : T) (f g : T β T)
attribute s [instance]
set_option simplify.max_steps 50000
set_option simplify.fuse true
#simplify eq simplifier.som 0 f (x1 * x2 * 3 * 4 - 4 * 3 * x1 * x2) +... |
776031007832ba77d21732b5a1317c214948cfb5 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/class_def_must_fail.lean | 7ec170cd626092d52012f1223c2f0e6941fe068b | [
"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 | 146 | lean | /- The following definition should fail. -/
@[class] def Foo (n : Nat) : Prop := n > 2
def Bla (n : Nat) : Prop := n > 2
attribute [class] Bla
|
efa9322cd42b105d00084f5193fcb7ff1d957354 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /tests/lean/run/div2.lean | 47bcb42a742ca5515f34453ccaa4032f0714310b | [
"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 | 4,902 | lean | import logic data.nat.sub algebra.relation data.prod
open nat relation relation.iff_ops prod
open decidable
open eq.ops
namespace nat
-- A general recursion principle
-- -----------------------------
--
-- Data:
--
-- dom, codom : Type
-- default : codom
-- measure : dom β β
-- rec_val : dom β (dom β codom) ... |
ae2385cbc882ff7047c8b58879eaa6a0d5d5a998 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/star/basic.lean | 5d13da21c3018acb10b77f571be22436e281822a | [
"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 | 13,406 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import tactic.apply_fun
import algebra.field_power
import data.equiv.ring_aut
import group_theory.group_action.units
import algebra.ring.comp_typeclasses
/-!
# Star ... |
8f4ebccab525f601142df2bfb8516bb0d0e51850 | 9b9a16fa2cb737daee6b2785474678b6fa91d6d4 | /src/analysis/normed_space/basic.lean | 99706665f5d0b593e7b9b9e9ba460dc9b5b9ba3f | [
"Apache-2.0"
] | permissive | johoelzl/mathlib | 253f46daa30b644d011e8e119025b01ad69735c4 | 592e3c7a2dfbd5826919b4605559d35d4d75938f | refs/heads/master | 1,625,657,216,488 | 1,551,374,946,000 | 1,551,374,946,000 | 98,915,829 | 0 | 0 | Apache-2.0 | 1,522,917,267,000 | 1,501,524,499,000 | Lean | UTF-8 | Lean | false | false | 19,372 | lean | /-
Copyright (c) 2018 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Normed spaces.
Authors: Patrick Massot, Johannes HΓΆlzl
-/
import algebra.pi_instances
import linear_algebra.basic
import topology.instances.nnreal
variables {Ξ± : Type*} {Ξ² : Type*} {Ξ³ : Type*... |
715f33d1eeb034d46143fd1bf95d6243c305d525 | b328e8ebb2ba923140e5137c83f09fa59516b793 | /stage0/src/Init/WF.lean | 5ffd4341270c785985962d83d3767f002ebd1ea4 | [
"Apache-2.0"
] | permissive | DrMaxis/lean4 | a781bcc095511687c56ab060e816fd948553e162 | 5a02c4facc0658aad627cfdcc3db203eac0cb544 | refs/heads/master | 1,677,051,517,055 | 1,611,876,226,000 | 1,611,876,226,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,251 | 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
-/
prelude
import Init.SizeOf
import Init.Data.Nat.Basic
universes u v
set_option codegen false
inductive Acc {Ξ± : Sort u} (r : Ξ± β Ξ± β Prop) : Ξ± β Prop wher... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.