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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7457b5a3e901b3c0e566a7b67d79c16966be4764 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/order/ring.lean | f06a123e755bb27e8c97d2a2462f8d7a9d437a25 | [
"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 | 67,288 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro
-/
import algebra.invertible
import algebra.order.group
import algebra.order.sub
import data.set.intervals.basic
/-!
# Ordered rings an... |
c17b40c60cd15ad929af361fff66a301cf822efb | 2a44f685380c1a89f9e3b6e5e37ec65d74ec5010 | /src/uniq/bijection.lean | c082368ebc3229ce13eeed8c204a90d58b1ece0a | [
"Apache-2.0"
] | permissive | fgdorais/uniq | 0a4c50ae1df37687f38d65b9cd462b3bdf83dbff | 87072ea6292436500370ebfc4bd140b1dae704fd | refs/heads/master | 1,584,872,936,588 | 1,530,977,726,000 | 1,530,977,726,000 | 139,905,607 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,316 | lean | /-
Copyright © 2018 François G. Dorais. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
-/
import .uniq .inverse
variables {α : Sort*} {β : Sort*} {γ : Sort*}
class inductive bijection (f : α → β) : Prop
| intro : (∀ y, ∃! x, f x = y) → bijection
lemma bijection.elim {f : α ... |
355faf88e52451a0d1658c1e15824edddf00934f | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/number_theory/class_number/finite.lean | bae910d2a816e91385dfa37d1c29a02c6fcd88e5 | [
"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 | 17,677 | 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 analysis.special_functions.pow.real
import linear_algebra.free_module.pid
import linear_algebra.matrix.absolute_value
import number_theory.class_number.admissible_a... |
7e515cdc434d7ff490259679b348f2bac37bccaa | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/tactic/scc.lean | 5e6cca0a0fd5cc9eb0d68e416d9018a0d924b4f2 | [
"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,246 | lean | /-
Copyright (c) 2018 Simon Hudon All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import tactic.tauto
import data.sum
/-!
# Strongly Connected Components
This file defines tactics to construct proofs of equivalences between a set of mutually equivalent
... |
8910bde725579729944c8c5a894ef275ea1cd69a | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/topology/sheaves/stalks.lean | 6f1923ac4c5e6fa61f35f6b81e8776311d96dafb | [
"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 | 17,459 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Justus Springer
-/
import topology.category.Top.open_nhds
import topology.sheaves.presheaf
import topology.sheaves.sheaf_condition.unique_gluing
import category_theory.... |
c5f504fb8e52967fd36bc8067e11d85632cdcb87 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/measure_theory/measure/haar.lean | b6c743e6cac736596e59b6412c4874083ec89836 | [
"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 | 36,592 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import measure_theory.measure.content
import measure_theory.group.prod
/-!
# Haar measure
In this file we prove the existence of Haar measure for a locally comp... |
cab98fe15818c5fef656342214f183aa386211af | 4034f8da6f54c838133a7ab6a8c0c61086c9c949 | /src/fiber_product.lean | f32eefc23146b0d3b44bcca8274182ab5c46dca1 | [] | no_license | mguaypaq/lean-topology | f9e6c69e2b85cca1377ee89d75c65bd384225170 | 57b15b3862d441095e254e65009856fa922758cc | refs/heads/main | 1,691,451,271,943 | 1,631,647,691,000 | 1,631,647,691,000 | 398,682,545 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,928 | lean | import tactic
import data.set.basic
import .topology
section fiber_product
variables {E B B' : Type} (π : E → B) (f : B' → B)
@[reducible]
def fiber_product : Type := {pair : B' × E // f pair.fst = π pair.snd}
@[simp] def fiber_product.fst : fiber_product π f → B' := λ x, x.val.fst
@[simp] def fiber_product.snd : fi... |
fc1d3120dab0ea4fb2613a9239b5248242b85563 | 3dc4623269159d02a444fe898d33e8c7e7e9461b | /.github/workflows/project_1_a_decrire/lean-scheme-submission/src/sheaves/sheaf.lean | 90a31fba337c022b1cc4433022775421ef7a91a5 | [] | no_license | Or7ando/lean | cc003e6c41048eae7c34aa6bada51c9e9add9e66 | d41169cf4e416a0d42092fb6bdc14131cee9dd15 | refs/heads/master | 1,650,600,589,722 | 1,587,262,906,000 | 1,587,262,906,000 | 255,387,160 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,456 | lean | /-
Sheaf (of types).
https://stacks.math.columbia.edu/tag/006S
-/
import sheaves.covering.covering
import sheaves.presheaf
universes u v
open topological_space lattice
section sheaf_condition
variables {α : Type u} [topological_space α]
-- Restriction map from U to U ∩ V.
def res_to_inter_left (F : pres... |
f6842d273a16989cfbfe02aeda508b49e4d966e5 | 31f556cdeb9239ffc2fad8f905e33987ff4feab9 | /stage0/src/Lean/Parser/Term.lean | 34c4a517a41ec87129d19da15eba496d6a5d7a9e | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | tobiasgrosser/lean4 | ce0fd9cca0feba1100656679bf41f0bffdbabb71 | ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f | refs/heads/master | 1,673,103,412,948 | 1,664,930,501,000 | 1,664,930,501,000 | 186,870,185 | 0 | 0 | Apache-2.0 | 1,665,129,237,000 | 1,557,939,901,000 | Lean | UTF-8 | Lean | false | false | 30,196 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Sebastian Ullrich
-/
import Lean.Parser.Attr
import Lean.Parser.Level
namespace Lean
namespace Parser
namespace Command
def commentBody : Parser :=
{ fn := ... |
b04302b7dff34534286812949a7306162805a851 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/data/finset/pointwise.lean | 5457384c38c7fd79ccd8cc4bb9814fd2c20bde3d | [
"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 | 46,008 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Yaël Dillies
-/
import data.finset.n_ary
import data.finset.preimage
import data.set.pointwise
/-!
# Pointwise operations of finsets
This file defines pointwise a... |
c0272da9ee2f98d12b794b662b39e017f7dda51f | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/data/rat/basic.lean | 19de28149a53f0cbc5293af69bc13eb770b083e7 | [
"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 | 30,812 | 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, Mario Carneiro
-/
import data.equiv.encodable.basic
import algebra.euclidean_domain
import data.nat.gcd
import data.int.cast
/-!
# Basics for the Rational Numbers
## ... |
34d9b49623bc1c6d6dd65d7a1342129be9a4d168 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/substBadMotive.lean | d3621cdc2f8e59f238941d066f3edf9ba0fc87be | [
"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,590 | lean | namespace Ex1
variable (a : Nat) (i : Fin a) (h : 1 = a)
example : i < a := h ▸ i.2 -- `▸` uses `subst` here
end Ex1
namespace Ex2
def heapifyDown' (a : Array α) (i : Fin a.size) : Array α := sorry
def heapifyDown (a : Array α) (i : Fin a.size) : Array α :=
heapifyDown' a ⟨i.1, a.size_swap i i ▸ i.2⟩ -- Error, f... |
2aed3e5ab92172be594f841e3ced21cc1eea422c | 618003631150032a5676f229d13a079ac875ff77 | /src/data/nat/prime.lean | 8aaa9530d5c57781af514fe395439b8b13c70cf3 | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 22,494 | 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, Mario Carneiro
-/
import data.nat.sqrt
import data.nat.gcd
import algebra.group_power
/-!
# Prime numbers
This file deals with prime numbers... |
a41db9595dc031cc3822e67615e6c8691a8c1c2f | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/measure_theory/prod_auto.lean | 2c64ba030840b53f7f26813b91754db0dfadd806 | [] | 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 | 47,154 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.measure_theory.giry_monad
import Mathlib.measure_theory.set_integral
import Mathlib.Pos... |
2e4f661132ba69a64a0cfdb322f6351b61e413e2 | fd3506535396cef3d1bdcf4ae5b87c8ed9ff2c2e | /group_theory/cyclic.lean | 0d5c7dd3b55bd4e963c394a8a41d3a5eaf006dae | [
"Apache-2.0"
] | permissive | williamdemeo/leanproved | 77933dbcb8bfbae61a753ae31fa669b3ed8cda9d | d8c2e2ca0002b252fce049c4ff9be0e9e83a6374 | refs/heads/master | 1,598,674,802,432 | 1,437,528,488,000 | 1,437,528,488,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 16,648 | lean | /-
Copyright (c) 2015 Haitao Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author : Haitao Zhang
-/
import data algebra.group algebra.group_power .finsubg .hom .perm
open function algebra finset
open eq.ops
namespace group
section cyclic
open nat fin
local attribu... |
ed3557d6cb7a6ae3d5975f1d08f6211d2d91a33f | 4efff1f47634ff19e2f786deadd394270a59ecd2 | /src/topology/subset_properties.lean | fb4f9be0499596da9c390afc12bb68fe74af279d | [
"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 | 58,059 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov
-/
import topology.continuous_on
import data.finset.order
/-!
# Properties of subsets of topological spaces
## Main definitions
`comp... |
f276359830ddb257284f1439f27134ecbde2c362 | ea11767c9c6a467c4b7710ec6f371c95cfc023fd | /src/monoidal_categories/internal_objects/semigroups.lean | 71fcd802d8de67f645a5a7210d130424912df409 | [] | no_license | RitaAhmadi/lean-monoidal-categories | 68a23f513e902038e44681336b87f659bbc281e0 | 81f43e1e0d623a96695aa8938951d7422d6d7ba6 | refs/heads/master | 1,651,458,686,519 | 1,529,824,613,000 | 1,529,824,613,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 580 | lean | -- Copyright (c) 2017 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Stephen Morgan, Scott Morrison
import ..monoidal_category
open categories
open categories.monoidal_category
namespace categories.internal_objects
universes u v
class Semigrou... |
6b96ec2420e29236bcad6245499fa21609b8700d | 70f8755415fa7a17f87402cde4651e9f4db1b5bb | /test/equations.lean | cc668b3228d27d2b2bb3283e760818ce1a2081a7 | [
"Apache-2.0"
] | permissive | shingarov/qpf | ab935dc2298db12c87ac011a2e4d2c27e0bdef4b | debe2eacb8cf46b21aba2eaf3f2e20940da0263b | refs/heads/master | 1,653,705,576,607 | 1,570,136,035,000 | 1,570,136,035,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,185 | lean |
import data.fix.parser.equations
universes u
data list' (γ α β γ' : Type u) : Type u
| zero : γ → list'
| succ : γ' → α → (ℤ → β → list') → list'
-- #check list'.drec
-- #print list'.shape.internal.map
data nat'
| zero : nat'
| succ : nat' → nat'
-- #check nat'.drec
-- #print nat'.zero
-- #print nat'.succ
codata... |
bc16ec3b86c23ecb28ed8e99c0a583567c7a9eea | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/functor/basic.lean | 377e00e5936bfecc6fbd395a9a1452a9af95f14a | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 3,500 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Tim Baumann, Stephen Morgan, Scott Morrison
-/
import tactic.reassoc_axiom
import category_theory.category.basic
/-!
# Functors
Defines a functor between categories, extending a `pre... |
b70d513e2f843b0221e77e43b55eee88ec66c5ff | 31f556cdeb9239ffc2fad8f905e33987ff4feab9 | /stage0/src/Lean/Meta/PPGoal.lean | 039cf6278a4b53b372bf5635b8002f0d8e66f92f | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | tobiasgrosser/lean4 | ce0fd9cca0feba1100656679bf41f0bffdbabb71 | ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f | refs/heads/master | 1,673,103,412,948 | 1,664,930,501,000 | 1,664,930,501,000 | 186,870,185 | 0 | 0 | Apache-2.0 | 1,665,129,237,000 | 1,557,939,901,000 | Lean | UTF-8 | Lean | false | false | 11,652 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
import Lean.Meta.InferType
namespace Lean.Meta
register_builtin_option pp.auxDecls : Bool := {
defValue := false
group := "pp"
descr := "displa... |
d5c478a5f6133eaa10fb3bb56991e217f4f0f5ab | cc4e32129597fc42f4ac133f6eef3dbfd3d16218 | /Analysis/Set/Lattice.lean | 4267354288972d4fa562dfc440a6e813659eec2d | [] | no_license | JasonKYi/analysis_in_lean4 | 9791c76ab5f9408731acca075cf604ef4700b117 | 280d45bf2fc9c2f599b365a60a4b980bb2721c24 | refs/heads/main | 1,683,375,225,248 | 1,622,048,948,000 | 1,622,048,948,000 | 370,429,249 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 692 | lean | import Analysis.Set.Basic
class hassup (α : Type u) where
sup : α → α → α
class hasinf (α : Type u) where
inf : α → α → α
class hasSup (α : Type u) where
Sup : Set α → α
class hasInf (α : Type u) where
Inf : Set α → α
infix:55 " ⊔ " => hassup.sup
infix:55 " ⊓ " => hasinf.inf
prefix:75 " ⨆ " => hasSup.Sup... |
8871676616dfe2acaaedc970b78975830df742b4 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/tactic/rewrite_auto.lean | 6cd879d02a93860a3343b2c96e88c605ab298254 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,037 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.Lean3Lib.data.dlist
import Mathlib.tactic.core
import Mathlib.PostPort
namespace Mathlib
namesp... |
7cc1599029852fe4df987f8163580fc375a288d3 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/field_theory/abel_ruffini.lean | fa008eb6e94006a12a008da62cc014a9aeaf17b9 | [
"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 | 17,318 | lean | /-
Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Browning, Patrick Lutz
-/
import group_theory.solvable
import field_theory.polynomial_galois_group
import ring_theory.roots_of_unity
/-!
# The Abel-Ruffini T... |
662d7feaee8fd19a63d62faa5926870e12e20414 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/analysis/normed/group/ball_sphere.lean | da815442fa753e8594ce5d8e69df41998ec9c1a2 | [
"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 | 1,868 | lean | /-
Copyright (c) 2022 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Heather Macbeth
-/
import analysis.normed.group.basic
/-!
# Negation on spheres and balls
In this file we define `has_involutive_neg` instances for spheres, open ba... |
21cd2fb38a199e34c357961601a793171671d35a | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/data/vector/basic.lean | 139bb0c1ff44359d1e7f9188f5156c80cb0a6b64 | [
"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 | 19,277 | 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.vector
import data.list.nodup
import data.list.of_fn
import control.applicative
/-!
# Additional theorems and definitions about the `vector` type
This fi... |
9a1cd9e2d1939363d40940504bdbb83ba9a0f268 | 367134ba5a65885e863bdc4507601606690974c1 | /src/data/num/prime.lean | 012d6bb175572ded7bdd4af3ac5c2d5b661bb510 | [
"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 | 4,156 | lean | /-
Copyright (c) 2020 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
-/
import data.num.lemmas
import data.nat.prime
import tactic.ring
/-!
# Primality for binary natural numbers
This file defines versions of `nat.min_fac` and `nat.prime... |
3d2daf385a91a4c9ae29c5c4b79740edf00cd4c7 | 302c785c90d40ad3d6be43d33bc6a558354cc2cf | /src/analysis/calculus/times_cont_diff.lean | 8012f6fd4215da01deeee2b2643d14efb478d47a | [
"Apache-2.0"
] | permissive | ilitzroth/mathlib | ea647e67f1fdfd19a0f7bdc5504e8acec6180011 | 5254ef14e3465f6504306132fe3ba9cec9ffff16 | refs/heads/master | 1,680,086,661,182 | 1,617,715,647,000 | 1,617,715,647,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 138,767 | 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 analysis.calculus.mean_value
import analysis.calculus.formal_multilinear_series
/-!
# Higher differentiability
A function is `C^1` on a domain if it is... |
5c91fea63673e78c0532f41aca2e300be0680339 | a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7 | /src/analysis/special_functions/trigonometric.lean | 8a84548a0ca8062ab3c76206bc48c05238735465 | [
"Apache-2.0"
] | permissive | kmill/mathlib | ea5a007b67ae4e9e18dd50d31d8aa60f650425ee | 1a419a9fea7b959317eddd556e1bb9639f4dcc05 | refs/heads/master | 1,668,578,197,719 | 1,593,629,163,000 | 1,593,629,163,000 | 276,482,939 | 0 | 0 | null | 1,593,637,960,000 | 1,593,637,959,000 | null | UTF-8 | Lean | false | false | 65,394 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne
-/
import analysis.special_functions.exp_log
/-!
# Trigonometric functions
## Main definitions
This file contains the foll... |
07f42aa1af80d3c1ebc009ebafa433d7a705b498 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/ring_theory/power_basis.lean | bece1cd0a14ef9205d945d9e62a47de005513792 | [
"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 | 20,163 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import field_theory.minpoly.field
/-!
# Power basis
This file defines a structure `power_basis R S`, giving a basis of the
`R`-algebra `S` as a finite list of powers `1, ... |
ed0e42cfcb6b4e9828356c48b73e17e305e46941 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/topology/uniform_space/uniform_convergence.lean | e379d052ff893e9b8ea8981530d13a7b3328c83b | [
"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 | 25,084 | 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.uniform_space.basic
/-!
# Uniform convergence
A sequence of functions `Fₙ` (with values in a metric space) converges uniformly on a set `s` to... |
407fd89b53093bddbcc277d4d3263fcce9ad8047 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/measure_theory/measure/measure_space.lean | f8dfc0c70a098ad117c7304eb4a841a0a6dba2b9 | [
"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 | 148,980 | 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.null_measurable
import measure_theory.measurable_space
/-!
# Measure spaces
The definition of a measure and a measure ... |
40dd02d8b54ef800fcfb5d5a1eb806d9360766c6 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/data/complex/exponential.lean | 709ae6be725c5c4390d8adc01a7a2968a8bafcaf | [
"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 | 67,041 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir
-/
import algebra.geom_sum
import data.complex.basic
import data.nat.choose.sum
/-!
# Exponential, trigonometric and hyperbolic trigonometric func... |
77dfb368c6efc0e1acc4f9e5037d9406b12fd2fd | 4727251e0cd73359b15b664c3170e5d754078599 | /src/analysis/normed/group/hom.lean | cefa5097fd43d54b039a8a00505258f69797106d | [
"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 | 38,040 | lean | /-
Copyright (c) 2021 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import analysis.specific_limits.normed
/-!
# Normed groups homomorphisms
This file gathers definitions and elementary constructions about bounded group homomorphis... |
11550bf4fc8bc9c6c901c6fdbc85790cf242df5f | 3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a | /src/combinatorics/simplicial_complex/to_move/affine.lean | 38754c29f247e54ec3e73ce69bc85e411971b9c5 | [] | no_license | mmasdeu/brouwerfixedpoint | 684d712c982c6a8b258b4e2c6b2eab923f2f1289 | 548270f79ecf12d7e20a256806ccb9fcf57b87e2 | refs/heads/main | 1,690,539,793,996 | 1,631,801,831,000 | 1,631,801,831,000 | 368,139,809 | 4 | 3 | null | 1,624,453,250,000 | 1,621,246,034,000 | Lean | UTF-8 | Lean | false | false | 8,789 | lean | /-
Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies, Bhavik Mehta
-/
import combinatorics.simplicial_complex.to_move.convex
import linear_algebra.affine_space.finite_dimensional
variables {m n : ℕ} {E : Type*} ... |
6b40ddfd04bdc8b00a234113cc88e1a55f44cb24 | d7189ea2ef694124821b033e533f18905b5e87ef | /galois/nat/simplify_eq.lean | a5b9cb5c44b2112c0831f2a6aaeda7cda519a3ec | [
"Apache-2.0"
] | permissive | digama0/lean-protocol-support | eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59 | cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda | refs/heads/master | 1,625,421,450,627 | 1,506,035,462,000 | 1,506,035,462,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,397 | lean | /-
This module defines operations for simplifying equalities between natural numbers.
After importing this, simp should reduce all ground number equalities
to true or false.
-/
namespace nat
/- Simplify 0 = succ n to false -/
@[simp]
theorem not_zero_eq_succ (x : ℕ) : ¬ (0 = succ x) :=
begin
contradiction,
end
@[... |
9c44309cf44c5c69b9cd7aa86a5a27963fc1f91a | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/data/real/cau_seq_completion.lean | 0876d8af5d6010c8b6b2ce7e582678b41ba6a7de | [
"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 | 9,453 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Robert Y. Lewis
Generalizes the Cauchy completion of (ℚ, abs) to the completion of a
commutative ring with absolute value.
-/
import data.real.cau_seq
namespace cau_... |
415a2e3ee001d11601040f283728790db5a69eed | a6f55abce20abcd06e718cb3e5fba7bf8a230fa1 | /topic/clothers.lean | c79e9ac6fa36542b9d9ae3d4d864470afaccc5f9 | [] | no_license | sonna0909/abc | b8a53e906d4d000d1f2347173a1cd4221757fabf | ff7b4c621cdf6d53937f2d1b6def28de2085a2aa | refs/heads/master | 1,599,114,664,248 | 1,573,634,309,000 | 1,573,634,309,000 | 219,406,484 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,525 | lean | [
{
"key": "dress",
"title": "Dress",
"spelling": "/dres/",
"subs": [
{
"key": "dress1",
"title": "I have a red dress",
"spelling": ""
}
]
},
{
"key": "blouse",
"title": "Blouse",
"spelling": "/blaʊz/",
"subs": [
{
"key": "blous... |
8eaad5823c89bbfefde082d2cd6790c1c9a92fb5 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/data/subtype/basic.lean | e307257c0258fca85f92a9c88db313556341cfe3 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,314 | 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, Jeremy Avigad
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.logic
universes u
namespace Mathlib
namespace subtype
def exists_of_subtype {α : T... |
448e7d93126b61dacee607e82f41ae16fb3c1a04 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/invertible_auto.lean | 5eec7931ff8550e855ff12cc7008dd8fdfc9d83b | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,046 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Anne Baanen
A typeclass for the two-sided multiplicative inverse.
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.char_zero
import Mathlib.algebra.ch... |
1fb4b77af4fa9f4c96aabe68f5cf7fe35111078c | e6b8240a90527fd55d42d0ec6649253d5d0bd414 | /src/order/filter/basic.lean | 115b833bd4c4adc5c5e94860fd7663ebb8fe2369 | [
"Apache-2.0"
] | permissive | mattearnshaw/mathlib | ac90f9fb8168aa642223bea3ffd0286b0cfde44f | d8dc1445cf8a8c74f8df60b9f7a1f5cf10946666 | refs/heads/master | 1,606,308,351,137 | 1,576,594,130,000 | 1,576,594,130,000 | 228,666,195 | 0 | 0 | Apache-2.0 | 1,576,603,094,000 | 1,576,603,093,000 | null | UTF-8 | Lean | false | false | 87,927 | 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, Jeremy Avigad
Theory of filters on sets.
-/
import order.galois_connection order.zorn
import data.set.finite
open lattice set
universes u v w x y
open_locale classic... |
2a0669f2877ed034573fa221db73d1f5da5ef59a | ee8cdbabf07f77e7be63a449b8483ce308d37218 | /lean/src/test/algebra-sqineq-unitcircatbpamblt1.lean | ce11c7d0ef0021b765067e4544d3bdecf2708848 | [
"Apache-2.0",
"MIT"
] | permissive | zeta1999/miniF2F | 6d66c75d1c18152e224d07d5eed57624f731d4b7 | c1ba9629559c5273c92ec226894baa0c1ce27861 | refs/heads/main | 1,681,897,460,642 | 1,620,646,361,000 | 1,620,646,361,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 256 | lean | /-
Copyright (c) 2021 OpenAI. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kunhao Zheng
-/
import data.real.basic
example (a b: ℝ) (h₀ : a^2 + b^2 = 1 ) : a * b + (a - b) ≤ 1 :=
begin
sorry
end
|
e55e481434d5b71d662221b70d164302cd36621e | 94e33a31faa76775069b071adea97e86e218a8ee | /src/algebra/group/pi.lean | 5a8c7e8fa2e9e0794b6b4ba9c7d431addb800b1a | [
"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 | 17,402 | 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 algebra.hom.group_instances
import data.pi.algebra
import data.set.function
import data.set.pairwise
import tactic.pi_instances
/-!
# Pi instances f... |
c05854beb9d7a56225d09c9d96ec0154b7de0bd1 | 2fbe653e4bc441efde5e5d250566e65538709888 | /src/order/filter/basic.lean | 8dbd8fe4521962663543cd62e8a4b4a27ad2b13b | [
"Apache-2.0"
] | permissive | aceg00/mathlib | 5e15e79a8af87ff7eb8c17e2629c442ef24e746b | 8786ea6d6d46d6969ac9a869eb818bf100802882 | refs/heads/master | 1,649,202,698,930 | 1,580,924,783,000 | 1,580,924,783,000 | 149,197,272 | 0 | 0 | Apache-2.0 | 1,537,224,208,000 | 1,537,224,207,000 | null | UTF-8 | Lean | false | false | 97,982 | 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, Jeremy Avigad
-/
import order.galois_connection order.zorn
import data.set.finite
/-! # Theory of filters on sets
## Main definitions
* `filter` : filter on a set;
*... |
5d5b6bb73d8e1ba2263755af0f4bb120b5c591e9 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/data/complex/cardinality.lean | ddd2f1d659f1557fcc685c717c642cbb14f890de | [
"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 | 944 | lean | /-
Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Violeta Hernández Palacios
-/
import data.complex.basic
import data.real.cardinality
/-!
# The cardinality of the complex numbers
This file shows that the complex number... |
d688d7cc224a5bd0010b21fccbf9024d5eea4f0b | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/data/tree.lean | b7dc7ff4d21de672f2fecdd991f3d9ac11a0d30b | [
"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 | 2,611 | lean | /-
Copyright (c) 2019 Mathlib Authors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Wojciech Nawrocki
-/
import data.num.basic
/-!
# Binary tree
Provides binary tree storage for values of any type, with O(lg n) retrieval.
See also `data.rbtree` for... |
5c6b682f4abfc8ee53f879c4aeae5d4ecf8f5668 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/group_theory/perm/cycles.lean | 4731ee572d23d217ac824dc9684f51abe11b21cc | [
"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 | 57,940 | lean | /-
Copyright (c) 2019 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import data.equiv.fintype
import data.finset.noncomm_prod
import group_theory.perm.sign
/-!
# Cyclic permutations
## Main definitions
In the following, `f : equiv.perm ... |
d2a49fe2ca6cfda50cfd3596e4d5724778be624e | 65b579fba1b0b66add04cccd4529add645eff597 | /expression1.lean | 5068ef2908c8fb1cea9e29c105bfc37b6dc216e2 | [] | no_license | teodorov/sf_lean | ba637ca8ecc538aece4d02c8442d03ef713485db | cd4832d6bee9c606014c977951f6aebc4c8d611b | refs/heads/master | 1,632,890,232,054 | 1,543,005,745,000 | 1,543,005,745,000 | 108,566,115 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 793 | lean | -- inspired from https://github.com/UlfNorell/agda-summer-school/blob/OPLSS/lectures/Day1.agda
inductive EType
| nat
| bool
open EType
inductive Expr : EType → Type
| elit (n : ℕ) : Expr nat
| ett : Expr bool
| eff : Expr bool
| eless (a b : Expr nat) : Expr bool
| eplus (a b : Expr nat) : Expr nat
| eif {α} (a : Ex... |
719434e485895fea4608c6f7f2c698350a5c8465 | 22e97a5d648fc451e25a06c668dc03ac7ed7bc25 | /test/coinductive.lean | dafba063771db43782916fae90d47c10b539ddb3 | [
"Apache-2.0"
] | permissive | keeferrowan/mathlib | f2818da875dbc7780830d09bd4c526b0764a4e50 | aad2dfc40e8e6a7e258287a7c1580318e865817e | refs/heads/master | 1,661,736,426,952 | 1,590,438,032,000 | 1,590,438,032,000 | 266,892,663 | 0 | 0 | Apache-2.0 | 1,590,445,835,000 | 1,590,445,835,000 | null | UTF-8 | Lean | false | false | 5,285 | lean | /- test cases for coinductive predicates -/
import data.stream
import meta.coinductive_predicates
universe u
coinductive all_stream {α : Type u} (s : set α) : stream α → Prop
| step : ∀{a : α} {ω : stream α}, a ∈ s → all_stream ω → all_stream (a :: ω)
example : Π {α : Type u}, set α → stream α → Prop :=
@all_stream
e... |
5b4d93a67007b9158c558a1b488411aa7fd94017 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/ring_theory/trace.lean | 4ece48d49ed8b599198b13e946a86451be99472e | [
"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 | 16,224 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import linear_algebra.bilinear_form
import linear_algebra.char_poly.coeff
import linear_algebra.determinant
import linear_algebra.vandermonde
import linear_algebra.trace
i... |
f0795ea9d32faf5a6aedefef2fafc88ea74d10ff | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/monoidal/of_chosen_finite_products.lean | e7cbcbc84114fd1ab52019d8da948aab32cc3dee | [
"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 | 16,139 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Simon Hudon
-/
import category_theory.monoidal.braided
import category_theory.limits.shapes.binary_products
import category_theory.pempty
/-!
# The monoidal structure ... |
c857df70be5909bf6e4f403d442379bd9df36052 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/calculus/cont_diff.lean | 6df49e6855c0207f85b51475440762ee5db1ee18 | [
"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 | 142,086 | 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, Floris van Doorn
-/
import analysis.calculus.cont_diff_def
import analysis.calculus.deriv.inverse
import analysis.calculus.mean_value
import analysis.normed_space... |
9b1294c819ce54ab0f1728b7d5a5970c17c68f1e | 8eeb99d0fdf8125f5d39a0ce8631653f588ee817 | /src/analysis/special_functions/exp_log.lean | 9f2cb778e85d3c58472c2d14336a7dbd5d849915 | [
"Apache-2.0"
] | permissive | jesse-michael-han/mathlib | a15c58378846011b003669354cbab7062b893cfe | fa6312e4dc971985e6b7708d99a5bc3062485c89 | refs/heads/master | 1,625,200,760,912 | 1,602,081,753,000 | 1,602,081,753,000 | 181,787,230 | 0 | 0 | null | 1,555,460,682,000 | 1,555,460,682,000 | null | UTF-8 | Lean | false | false | 23,065 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne
-/
import data.complex.exponential
import analysis.complex.basic
import analysis.calculus.mean_value
import measure_theory.bo... |
738302bac2b7b3ece99e74cb9b41c7bd71f86c63 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /archive/imo/imo1998_q2.lean | c32af654d6d2e45c7367add59b590afb730d4b0e | [
"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 | 9,714 | lean | /-
Copyright (c) 2020 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import data.fintype.basic
import data.int.parity
import algebra.big_operators.order
import tactic.ring
import tactic.noncomm_ring
/-!
# IMO 1998 Q2
In a competition, there... |
369053356f5ed52c0baf2d9c8d64370d490be197 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/interactive/snapshot_bug.lean | a28a49432f10a1e1a0db9ba17f24fe52338852c0 | [
"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 | 790 | lean | import algebra.group data.set
namespace group_hom
open algebra
-- ⁻¹ in eq.ops conflicts with group ⁻¹
-- open eq.ops
open set
open function
local attribute set [reducible]
structure is_subgroup [class] {A : Type} (H : set A) : Type
section
variables {A B : Type}
variable [s1 : group A]
variable [s2 : gro... |
3abfd9ea3c10c9aca9201526ce531e5006095190 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/analysis/calculus/lagrange_multipliers.lean | 6d3f314434da88b2c4ebe00c941e2a79827f5cd2 | [
"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 | 8,110 | lean | /-
Copyright (c) 2021 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import analysis.calculus.inverse
import linear_algebra.dual
/-!
# Lagrange multipliers
In this file we formalize the
[Lagrange multipliers](https://en.wikipedia.o... |
3b6ae3990bc540a14c600e24a02716d9a2576f88 | ee8cdbabf07f77e7be63a449b8483ce308d37218 | /lean/src/valid/mathd-algebra-67.lean | ce096cdb5f012565aa78a4101c49b1e1e32ea9db | [
"MIT",
"Apache-2.0"
] | permissive | zeta1999/miniF2F | 6d66c75d1c18152e224d07d5eed57624f731d4b7 | c1ba9629559c5273c92ec226894baa0c1ce27861 | refs/heads/main | 1,681,897,460,642 | 1,620,646,361,000 | 1,620,646,361,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 318 | lean | /-
Copyright (c) 2021 OpenAI. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kunhao Zheng
-/
import data.real.basic
example (f g : ℝ → ℝ) (h₀ : ∀ x, f x = 5 * x + 3) (h₁ : ∀ x, g x = x ^ 2 - 2) : g ( f (-1)) = 2 :=
begin
rw [h₀, h₁],
ring,
end
|
a52f3ed07a874f791cab785bb1022a79e129ebbc | f5f7e6fae601a5fe3cac7cc3ed353ed781d62419 | /src/topology/uniform_space/completion.lean | efbcee71210c183f21eda293e74b116b8cecff9d | [
"Apache-2.0"
] | permissive | EdAyers/mathlib | 9ecfb2f14bd6caad748b64c9c131befbff0fb4e0 | ca5d4c1f16f9c451cf7170b10105d0051db79e1b | refs/heads/master | 1,626,189,395,845 | 1,555,284,396,000 | 1,555,284,396,000 | 144,004,030 | 0 | 0 | Apache-2.0 | 1,533,727,664,000 | 1,533,727,663,000 | null | UTF-8 | Lean | false | false | 25,225 | lean | /-
Copyright (c) 2018 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Johannes Hölzl
Hausdorff completions of uniform spaces.
The goal is to construct a left-adjoint to the inclusion of complete Hausdorff uniform spaces
into all uniform... |
76206ea0b5ef7d2abb59ef8805ee8784761ca7b7 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/analysis/analytic/basic.lean | dded622c580d311c7217ce2f9f413d8d19ff3224 | [
"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 | 60,554 | 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, Yury Kudryashov
-/
import analysis.calculus.formal_multilinear_series
import analysis.specific_limits.normed
import logic.equiv.fin
/-!
# Analytic functions
A f... |
d0c504d3be1555cb778c3181a9806f19f584b9e7 | a4673261e60b025e2c8c825dfa4ab9108246c32e | /stage0/src/Lean/Elab/Term.lean | 162e3a9a06f463973d66d3b4b4b8da3fb4ce7db8 | [
"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 | 56,080 | 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.ResolveName
import Lean.Util.Sorry
import Lean.Structure
import Lean.Meta.ExprDefEq
import Lean.Meta.AppBuilder
import Lean.Meta.SynthInstance
i... |
4e6dfa7cdbb38adb55688f3cacd7301cb6398b19 | ce6917c5bacabee346655160b74a307b4a5ab620 | /src/ch2/ex0403.lean | 30a58d1ee5ff659eebd5ec5696a77c997d8ec73e | [] | no_license | Ailrun/Theorem_Proving_in_Lean | ae6a23f3c54d62d401314d6a771e8ff8b4132db2 | 2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68 | refs/heads/master | 1,609,838,270,467 | 1,586,846,743,000 | 1,586,846,743,000 | 240,967,761 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 248 | lean | def double (x : ℕ) : ℕ := x + x
#print double
#check double 3
#reduce double 3
def square (x : ℕ) := x * x
#print square
#check square 3
#reduce square 3
def do_twice (f : ℕ → ℕ) (x : ℕ) : ℕ := f (f x)
#reduce do_twice double 2
|
5d9c506ee327899c3a49eb955078a32e57d7f3ae | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/data/rbmap/basic_auto.lean | 93cffd1b31add070883b65369f7b3114f17479e1 | [] | 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,549 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.data.rbtree.basic
universes u v w
namespace Mathlib
def rbmap_lt {α : Type u} {β : Type v} (lt : α →... |
46aed41c2a700732c00452882ecebdf356660d14 | abd85493667895c57a7507870867b28124b3998f | /src/algebra/add_torsor.lean | fa00427ff63b7c1e13d2b1750082a02a7ccfe86b | [
"Apache-2.0"
] | permissive | pechersky/mathlib | d56eef16bddb0bfc8bc552b05b7270aff5944393 | f1df14c2214ee114c9738e733efd5de174deb95d | refs/heads/master | 1,666,714,392,571 | 1,591,747,567,000 | 1,591,747,567,000 | 270,557,274 | 0 | 0 | Apache-2.0 | 1,591,597,975,000 | 1,591,597,974,000 | null | UTF-8 | Lean | false | false | 10,969 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers, Yury Kudryashov.
-/
import algebra.group.prod
import algebra.group.type_tags
import data.equiv.basic
/-!
# Torsors of additive group actions
This file defines torsors of ... |
e7d4e62bfc3b1b845cfd2080bc75a74d63a76673 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/lake/Lake/CLI/Build.lean | 0f57189588819b7281442a4dccff853da1237d54 | [
"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 | 7,428 | lean | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
import Lake.Build.Index
import Lake.CLI.Error
namespace Lake
/-! ## Build Target Specifiers -/
structure BuildSpec where
info : BuildInfo
getBuildJob : BuildData info.... |
230552d92dbe2672bdb5c94a715059184f364e98 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/AuxRecursor.lean | 8e7dbd4ff154449b87336da90b1ffb0c4fe060dd | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 2,320 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Environment
namespace Lean
def casesOnSuffix := "casesOn"
def recOnSuffix := "recOn"
def brecOnSuffix := "brecOn"
def bin... |
250f8e4ee46cef5a3b00c28271a992f7f8ee23c0 | 618003631150032a5676f229d13a079ac875ff77 | /src/data/nat/modeq.lean | 6df36bb67d2664523f073f005de8ef5b84fcfacd | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 12,788 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import data.int.gcd
import tactic.abel
import data.list.rotate
/-
# Congruences modulo a natural number
This file defines the equivalence relation `a ≡ b [MOD n]` on... |
47671867ff279ff3dc294bd5fd5a718194144c56 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/topology/metric_space/algebra.lean | 280ab91c548b6680d928e2495f77bc26a94f3f38 | [
"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 | 7,137 | lean | /-
Copyright (c) 2021 Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth
-/
import topology.algebra.module
import topology.metric_space.lipschitz
/-!
# Compatibility of algebraic operations with metric space structures
In this file we def... |
fbbde61e4c8d1ad36345a47f0b6fe13292cda565 | 3dc4623269159d02a444fe898d33e8c7e7e9461b | /.github/workflows/project_1_a_decrire/projet_A2/Idem.lean | 887163f0d23c790effdb1a0d545fba8dff1b9889 | [] | no_license | Or7ando/lean | cc003e6c41048eae7c34aa6bada51c9e9add9e66 | d41169cf4e416a0d42092fb6bdc14131cee9dd15 | refs/heads/master | 1,650,600,589,722 | 1,587,262,906,000 | 1,587,262,906,000 | 255,387,160 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,777 | lean | import algebra.category.CommRing.basic
import algebra.ring
import tactic
import category_theory.concrete_category.bundled_hom
import category_theory.functor_category -- this transitively imports
import algebra.ring
import category_theory.types
import .A2_disc
open category_theory
/--
## It's the group functor Idem, ... |
b8169ca20ffc57b1517e76f8cddf5761685376d7 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /tests/compiler/computedFieldsExtern.lean | b8898dd68386482679434e8f8c9a76e3c6eedaf5 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | EdAyers/lean4 | 57ac632d6b0789cb91fab2170e8c9e40441221bd | 37ba0df5841bde51dbc2329da81ac23d4f6a4de4 | refs/heads/master | 1,676,463,245,298 | 1,660,619,433,000 | 1,660,619,433,000 | 183,433,437 | 1 | 0 | Apache-2.0 | 1,657,612,672,000 | 1,556,196,574,000 | Lean | UTF-8 | Lean | false | false | 364 | lean | inductive Exp
| var (i : Nat)
| app (a b : Exp)
with
@[computedField, extern c inline "(lean_ctor_get_uint64(#1, lean_ctor_num_objs(#1)*sizeof(void*)) + 40)"]
hash : Exp → UInt64
| .var i => Hashable.hash i
| .app a b => a.hash + b.hash
def main : IO Unit := do
-- should be 30 + 3*40 = 150
IO.print... |
d25436c65b27fe086178f808a7a7c2ba34baaf20 | 46125763b4dbf50619e8846a1371029346f4c3db | /src/data/real/hyperreal.lean | 77abfb4e4622f2328bee1ebe4055a21314c4768f | [
"Apache-2.0"
] | permissive | thjread/mathlib | a9d97612cedc2c3101060737233df15abcdb9eb1 | 7cffe2520a5518bba19227a107078d83fa725ddc | refs/heads/master | 1,615,637,696,376 | 1,583,953,063,000 | 1,583,953,063,000 | 246,680,271 | 0 | 0 | Apache-2.0 | 1,583,960,875,000 | 1,583,960,875,000 | null | UTF-8 | Lean | false | false | 36,741 | lean | /-
Copyright (c) 2019 Abhimanyu Pallavi Sudhir. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Abhimanyu Pallavi Sudhir
Construction of the hyperreal numbers as an ultraproduct of real sequences.
-/
import data.real.basic algebra.field order.filter.filter_product anal... |
63f4050b7339ce958e7a0ff60f6dfedce326bb40 | a7602958ab456501ff85db8cf5553f7bcab201d7 | /Notes/Theorem_Proving_in_Lean/Chapter3/3.5.lean | 8fdf320d73f8f6eca7a9baceb8f1daee7414dcf6 | [] | no_license | enlauren/math-logic | 081e2e737c8afb28dbb337968df95ead47321ba0 | 086b6935543d1841f1db92d0e49add1124054c37 | refs/heads/master | 1,594,506,621,950 | 1,558,634,976,000 | 1,558,634,976,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,667 | lean | -- 3.5 Classical Logic
open classical
variable p: Prop
-- Classical logic adds to our understanding of the constructive rules,
-- the law of the excluded middle: p ∨ ¬ p.
#check em p
-- A consequence of the law of excluded middle is the principle of
-- double-negation. A natural deduction proof of this can be see ... |
73ba5edd0c946c82854a6d8bab6cca33fb365419 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/linear_algebra/matrix/basis.lean | c5656aa7ad44e453a1c7239c4b7d2222f64c237b | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 8,193 | lean | /-
Copyright (c) 2019 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen
-/
import linear_algebra.matrix.reindex
import linear_algebra.matrix.to_lin
/-!
# Bases and matrices
This file defines the ma... |
067c2df8f1d54dcf4f04719737beedc9573cc92f | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/category/Module/limits_auto.lean | 333f656b1852a144b5687ef01b879077c3a0d0c3 | [] | 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,916 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.category.Module.basic
import Mathlib.algebra.category.Group.limits
import Mathlib.a... |
4207fcb70a291f59bdb84cf97de9b4d12d84e127 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/order/sup_indep.lean | 01876357bc5e0b93f7891938289cd88e7c11c565 | [
"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 | 14,348 | lean | /-
Copyright (c) 2021 Aaron Anderson, Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson, Kevin Buzzard, Yaël Dillies, Eric Wieser
-/
import data.finset.pairwise
import data.set.finite
/-!
# Supremum independence
In this file, we define supre... |
b9a8871ceab15efa7578ecba3784c1a1784f12f8 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/matrix/rank.lean | abf18493118dc18791beeae17f7f10c3ecaf4cf5 | [
"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,550 | lean | /-
Copyright (c) 2021 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Eric Wieer
-/
import linear_algebra.free_module.finite.rank
import linear_algebra.matrix.to_lin
import linear_algebra.finite_dimensional
import linear_algebra.matrix.d... |
54f6a11c4c55b7d233f97de7021fc0d1d2791534 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/PrettyPrinter/Delaborator/Basic.lean | 3c37a516bdbe71433fc1ab49a952cd754753e53e | [
"Apache-2.0"
] | permissive | collares/lean4 | 861a9269c4592bce49b71059e232ff0bfe4594cc | 52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee | refs/heads/master | 1,691,419,031,324 | 1,618,678,138,000 | 1,618,678,138,000 | 358,989,750 | 0 | 0 | Apache-2.0 | 1,618,696,333,000 | 1,618,696,333,000 | null | UTF-8 | Lean | false | false | 15,931 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
-/
/-!
The delaborator is the first stage of the pretty printer, and the inverse of the
elaborator: it turns fully elaborated `Expr` core terms back into surf... |
a48e650865389ac7183b17e9a33ee7c3862b6cfd | b7f22e51856f4989b970961f794f1c435f9b8f78 | /library/data/fintype/function.lean | b936ec60f76c9804c2b0b6ace8d4b5998f98724c | [
"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 | 18,679 | lean | /-
Copyright (c) 2015 Haitao Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author : Haitao Zhang
-/
import data
open nat function eq.ops
namespace list
-- this is in preparation for counting the number of finite functions
section list_of_lists
open prod
variable {A :... |
3054acf0cfd58663951e7ab6da2c148c74491156 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/algebra/valued_field.lean | 741eb2ec205c18bba039111854584e859a2a72b9 | [
"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,916 | 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... |
4e09cc4d65b3dbe72c4587b08f49ca13a9ac07d1 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/data/polynomial/derivative.lean | 98adc24bdf0c1b6ece8c381d0d7ed06f3783c46d | [
"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,951 | 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.eval
/-!
# The derivative map on polynomials
## Main definitions
* `polynomial.derivative`: The ... |
1be7b0fe75cc6145c56ebb3c0be3b32f2eeb9db7 | 1a9d3677cccdaaccacb163507570e75d34043a38 | /src/week_1/Part_B_sets.lean | 53f839203321f052d5502586d14a75522c0905ae | [
"Apache-2.0"
] | permissive | alreadydone/formalising-mathematics | 687d386a72065795e784e270f5c05ea3948b67dd | 65869362cd7a2ac74dd1a97c7f9471835726570b | refs/heads/master | 1,680,260,936,332 | 1,616,563,371,000 | 1,616,563,371,000 | 348,780,769 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,746 | lean | import tactic
-- Let `Ω` be a "big underlying set" and let `X` and `Y` and `Z` be subsets
variables (Ω : Type) (X Y Z : set Ω) (a b c x y z : Ω)
namespace xena
/-!
# subsets
Let's think about `X ⊆ Y`. Typeset `⊆` with `\sub` or `\ss`
-/
-- `X ⊆ Y` is the same as `∀ a, a ∈ X → a ∈ Y` , by definition.
lemma subse... |
0f52438d57a908da7bc0e60ca0ecfc06355ac46d | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/analysis/normed/group/SemiNormedGroup.lean | fb0d9b02facabba06b7b41ef48f63a157eff1d8c | [
"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,693 | lean | /-
Copyright (c) 2021 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Riccardo Brasca
-/
import analysis.normed.group.hom
import category_theory.limits.shapes.zero
/-!
# The category of seminormed groups
We define `SemiNormedGroup`, the... |
706612690a44cd3003cf27d7292f4429fe6c63e1 | 4fa161becb8ce7378a709f5992a594764699e268 | /src/tactic/squeeze.lean | 573c89168349c941a56e739dd23b892e6abe7a97 | [
"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 | 11,770 | lean | /-
Copyright (c) 2019 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Simon Hudon
-/
import control.traversable.basic
import tactic.simpa
open interactive interactive.types lean.parser
private meta def loc.to_string_aux : option name → string
| none := "⊢"... |
15b274ba485116301a9c7aac771f8e49954aa5f3 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/group_theory/perm/sign.lean | 704ea1e95cc8258cc8d6d10f063793e26da88cbf | [
"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 | 31,232 | 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 group_theory.perm.support
import data.fintype.basic
import group_theory.order_of_element
import tactic.norm_swap
import data.finset.sort
/-!
# Sign of a permutati... |
d6bbe67a4b21bf8b69c30d700f12ce3940b04a39 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/is_R_or_C/basic.lean | 71714a3f5cf1c2b9a958646c6d4de3dbf77f5c07 | [
"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 | 28,244 | lean | /-
Copyright (c) 2020 Frédéric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Frédéric Dupuis
-/
import data.real.sqrt
import analysis.normed_space.star.basic
import analysis.normed_space.continuous_linear_map
/-!
# `is_R_or_C`: a typeclass for ℝ or ℂ
> THIS ... |
63d75563abd5d4ddce793d1797d46a4b63377085 | 8b9f17008684d796c8022dab552e42f0cb6fb347 | /library/data/rat/order.lean | cfaacc30bac171c91fda31b79487dbda6ca57242 | [
"Apache-2.0"
] | permissive | chubbymaggie/lean | 0d06ae25f9dd396306fb02190e89422ea94afd7b | d2c7b5c31928c98f545b16420d37842c43b4ae9a | refs/heads/master | 1,611,313,622,901 | 1,430,266,839,000 | 1,430,267,083,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,534 | lean | /-
Copyright (c) 2015 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: data.rat.order
Author: Jeremy Avigad
Adds the ordering, and instantiates the rationals as an ordered field.
-/
import data.int algebra.ordered_field .basic
open quot eq.ops
/- the or... |
0266e60adc96d4e6bd39ea8538df702d214aafbc | f618aea02cb4104ad34ecf3b9713065cc0d06103 | /src/category_theory/instances/Top/basic.lean | 506af41f1b50e0c5c40802b46fe008c0a3a68898 | [
"Apache-2.0"
] | permissive | joehendrix/mathlib | 84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5 | c15eab34ad754f9ecd738525cb8b5a870e834ddc | refs/heads/master | 1,589,606,591,630 | 1,555,946,393,000 | 1,555,946,393,000 | 182,813,854 | 0 | 0 | null | 1,555,946,309,000 | 1,555,946,308,000 | null | UTF-8 | Lean | false | false | 982 | lean | -- Copyright (c) 2017 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Patrick Massot, Scott Morrison, Mario Carneiro
import category_theory.concrete_category
import category_theory.full_subcategory
import topology.opens
open category_theory
open ... |
c5df1531989e9a4e6ddac00f2eb5d2d7331bcaea | 2fbe653e4bc441efde5e5d250566e65538709888 | /src/linear_algebra/basic.lean | b056dfc979015d67148ec648a75b700cd86b9625 | [
"Apache-2.0"
] | permissive | aceg00/mathlib | 5e15e79a8af87ff7eb8c17e2629c442ef24e746b | 8786ea6d6d46d6969ac9a869eb818bf100802882 | refs/heads/master | 1,649,202,698,930 | 1,580,924,783,000 | 1,580,924,783,000 | 149,197,272 | 0 | 0 | Apache-2.0 | 1,537,224,208,000 | 1,537,224,207,000 | null | UTF-8 | Lean | false | false | 72,729 | 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
-/
import algebra.pi_instances data.finsupp data.equiv.algebra order.order_iso
/-!
# Linear algebra
This file defines the basics of lin... |
c1594c267c626c2b751c298a7f6f7586a28e5791 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/category_theory/monoidal/transport.lean | 2361a146f9e51d55978401a2760eaefd0e87e638 | [
"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,395 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import category_theory.monoidal.natural_transformation
/-!
# Transport a monoidal structure along an equivalence.
When `C` and `D` are equivalent as categories,
we ... |
72263231601de4d6f06d6d8167e34d2aa2d9611b | 5ae26df177f810c5006841e9c73dc56e01b978d7 | /src/category_theory/products/bifunctor.lean | 9b2e7a59414caf66d05011d4178a4ec19c08fa40 | [
"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 | 1,895 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Stephen Morgan, Scott Morrison
-/
import category_theory.products
open category_theory
namespace category_theory.bifunctor
universes v₁ v₂ v₃ u₁ u₂ u₃
variable {C : Type u₁}
variabl... |
d7546de270afe9aee92c9afbb2529c2cd56eab39 | 1a61aba1b67cddccce19532a9596efe44be4285f | /hott/hit/set_quotient.hlean | bc1242d0f2fbb68cca076fcee33203fbcd1b96e0 | [
"Apache-2.0"
] | permissive | eigengrau/lean | 07986a0f2548688c13ba36231f6cdbee82abf4c6 | f8a773be1112015e2d232661ce616d23f12874d0 | refs/heads/master | 1,610,939,198,566 | 1,441,352,386,000 | 1,441,352,494,000 | 41,903,576 | 0 | 0 | null | 1,441,352,210,000 | 1,441,352,210,000 | null | UTF-8 | Lean | false | false | 2,802 | 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
Declaration of set-quotients, i.e. quotient of a mere relation which is then set-truncated.
-/
import .quotient .trunc
open eq is_trunc trunc quotient equiv
name... |
7efffe51c36606f5a13dd4993b011612a3a85587 | ac92829298855d39b757cf1fddca8f058436f027 | /hott/init/pathover.hlean | 382152f037c027ac9f5dadee04ffd6c84679058e | [
"Apache-2.0"
] | permissive | avigad/lean2 | 7af27190b9697b69a13268a133c1d3c8df85d2cf | 34dbd6c3ae612186b8f0f80d12fbf5ae7a059ec9 | refs/heads/master | 1,592,027,477,851 | 1,500,732,234,000 | 1,500,732,234,000 | 75,484,066 | 0 | 0 | null | 1,480,781,056,000 | 1,480,781,056,000 | null | UTF-8 | Lean | false | false | 19,196 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Basic theorems about pathovers
-/
prelude
import .path .equiv
open equiv is_equiv function
variables {A A' : Type} {B B' : A → Type} {B'' : A' → Type} {C : Π⦃a⦄, ... |
12c01569a70a8d6e3329a5d846535d5cf612259f | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/category_theory/abelian/projective.lean | f2a47a1beddb5a2219038565afdbfc47dc509991 | [
"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 | 2,680 | lean | /-
Copyright (c) 2020 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel, Scott Morrison
-/
import category_theory.abelian.exact
import category_theory.preadditive.projective_resolution
import algebra.homology.augment
/-!
# Abelian categories ... |
19de8c0d86553ef2f70895719a133a794d260fbe | bf35a3ed54de6fced25e870a19cf82da937bdc9e | /src/line_send.lean | 65210107fd816a99c9992f1d0976278a8edb3178 | [] | no_license | khoek/klean-demo | cd01e703e1333fd6095ea5349986a614b53383f5 | d572f3ee90589854beb66cb7499a99722c454689 | refs/heads/master | 1,585,083,090,000 | 1,533,310,995,000 | 1,533,310,995,000 | 143,000,189 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,559 | lean | import system.io
import .lib
open io
def read_sock_chunk (sock : socket) : io string := do
c ← read_sock sock 1,
return c
meta def process_command (cmd : string) : io unit := do
-- FIXME how do you concatenate strings!?! :O
io.print "printing:",
io.print_ln cmd
-- The option ℕ is where the first nl ... |
c1a8fb15490118de92ba759f34c7d0909f24648b | 0845ae2ca02071debcfd4ac24be871236c01784f | /tests/lean/run/new_compiler.lean | 982b19dddc5fc33bda7a4b864d033617dd13f70f | [
"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,775 | lean | universes u v w r s
set_option trace.compiler.stage1 true
-- setOption pp.implicit True
set_option pp.binder_types false
set_option pp.proofs true
def foo (n : Nat) : Nat :=
let x := Nat.zero in
let x1 := Nat.succ x in
let x2 := Nat.succ x1 in
let x3 := Nat.succ x2 in
let x4 := Nat.succ x3 in
let x5 := Nat.succ x4 in... |
1ff2a721ceb9dfff44895b69850b07311382e7e0 | e514e8b939af519a1d5e9b30a850769d058df4e9 | /src/lib/string.lean | fac22338646fdb912bfeeac3de8b680bf2b15976 | [] | no_license | semorrison/lean-rewrite-search | dca317c5a52e170fb6ffc87c5ab767afb5e3e51a | e804b8f2753366b8957be839908230ee73f9e89f | refs/heads/master | 1,624,051,754,485 | 1,614,160,817,000 | 1,614,160,817,000 | 162,660,605 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 203 | lean | import data.buffer
import data.list.defs
-- def string.lconcat : list string → string := string.intercalate ""
-- def char_buffer.from_list (l : list char) : char_buffer := buffer.nil.append_list l
|
d4747b8cbe0e25b87e709092ab381bfccc52b090 | 75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2 | /hott/homotopy/smash.hlean | 194451970f910a5cecd675690c9cdede00f85b2f | [
"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 | 3,356 | hlean | /-
Copyright (c) 2016 Jakob von Raumer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jakob von Raumer
The Smash Product of Types
-/
import hit.pushout .wedge .cofiber .susp .sphere
open eq pushout prod pointed Pointed is_trunc
definition product_of_wedge [constru... |
8d55a4ab40ae7367e13a93cdc309b34a785eddeb | b3c7090f393c11bd47c82d2f8bb4edf8213173f5 | /src/Isomorphism.lean | 9c94dfe76029a040ac3cd038627890a4bc260e8b | [] | no_license | ImperialCollegeLondon/lean-groups | 964b197478f0313d826073576a3e0ae8b166a584 | 9a82d2a66ef7f549107fcb4e1504d734c43ebb33 | refs/heads/master | 1,592,371,184,330 | 1,567,197,270,000 | 1,567,197,270,000 | 195,810,480 | 4 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,997 | lean | --Examples of how to work with groups in Lean
-- TODO
-- order of element
-- order of group
-- some standard theorems about finite groups
-- making a subgroup
-- making a quotient group
-- isomorphism theorems
-- relevant files:
import algebra.group.basic -- stuff like mul_self_iff_eq_one, mul_inv_eq_iff_eq_mul etc
... |
b983fc25be4231ad4a611c5bf9a96bea9d505832 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/category/ulift.lean | 6f52ae9f4d5ffd6ab83d3cc686d07f664a9667ad | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 5,901 | lean | /-
Copyright (c) 2021 Adam Topaz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam Topaz
-/
import category_theory.category.basic
import category_theory.equivalence
import category_theory.eq_to_hom
/-!
# Basic API for ulift
This file contains a very basic API for ... |
0652cd459caa75e9c4721c64f8c62e3244a747f2 | 4330a9f17bc34dad462a0b1867e6c0c47f764b7e | /choice.lean | 0f45243b706da87840a994f34dce2d5808c5f57e | [] | no_license | lambdacalculator/lean-choice | 81eef0c62eb93d58041ba020e4a0033a0ea8ce2d | bf8632ff6b37f2aa479efd9bb4727f69c5d29bf6 | refs/heads/master | 1,610,265,873,254 | 1,452,217,958,000 | 1,452,217,958,000 | 49,241,640 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 25,037 | lean | /--------------------------------------------------------------\
| Formalization of my 2001 JSL proof that, intuitionistically, |
| choice sets are well-orderable. Author: J. Todd Wilson |
\--------------------------------------------------------------/
import data.set algebra.order
open set eq.ops prod.ops
--... |
bbdc4dc5c1914a1eb7996775ef2bbcf0f3a0a462 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/linear_algebra/affine_space/finite_dimensional.lean | 9ac4e03c9f50650c689da42572ef73d213983099 | [
"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 | 16,053 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Joseph Myers.
-/
import linear_algebra.affine_space.independent
import linear_algebra.finite_dimensional
/-!
# Finite-dimensional subspaces of affine spaces.
This file provides a few re... |
b0ddb91fca9d07cd880a0268b05d3a6358f19d44 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/tactic/find_unused_auto.lean | 025f066a89b5865ca176891353a2ea8bbaa2f22b | [] | 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,963 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.tactic.core
import Mathlib.PostPort
namespace Mathlib
/-!
# list_unused_decls
`#list_unused_de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.