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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
256741b442524fa1904d7f954f22a9152b7b0f5e | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/algebra/module/basic.lean | 420af75d6a8f2f3f32a6195eb9cdb0b006af2758 | [
"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 | 19,538 | lean | /-
Copyright (c) 2015 Nathaniel Thomas. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro
-/
import algebra.big_operators.basic
import algebra.group.hom
import group_theory.group_action.group
import algebra.s... |
ea8390c7adb9ca681bac341ad61a57137814039f | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/interactive/complete.lean | a45eedff1966a409fbdb55fe19597867b48fb5bf | [
"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 | 498 | lean | prelude
inductive foo
example := foo
--^ "command": "complete"
-- should not complete empty declaration completion
example := foo
--^ "command": "complete"
@[reducible]
--^ "command": "complete", "skip_completions": true
example := foo
set_option trace.simplify true
--^ "command": "com... |
06c2a3b5aaebbfaca2488e20acbf64141f76e792 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/topology/basic.lean | 5273b659085013740ae19dec70b6a9624a3c0788 | [
"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 | 68,830 | 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, Jeremy Avigad
-/
import order.filter.ultrafilter
import order.filter.partial
import algebra.support
/-!
# Basic theory of topological spaces.
The main... |
21d2fe2c80c51c995ccbc03780688f8a5dbdddec | f20db13587f4dd28a4b1fbd31953afd491691fa0 | /library/init/meta/lean/parser.lean | a1e305ddfd3e88d16c2b6146333a2a0297a87aef | [
"Apache-2.0"
] | permissive | AHartNtkn/lean | 9a971edfc6857c63edcbf96bea6841b9a84cf916 | 0d83a74b26541421fc1aa33044c35b03759710ed | refs/heads/master | 1,620,592,591,236 | 1,516,749,881,000 | 1,516,749,881,000 | 118,697,288 | 1 | 0 | null | 1,516,759,470,000 | 1,516,759,470,000 | null | UTF-8 | Lean | false | false | 3,156 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
-/
prelude
import init.meta.tactic
namespace lean
-- TODO: make inspectable (and pure)
meta constant parser_state : Type
meta constant parser_state.env :... |
9618c4214b108133dfcbfa679f72b231d8228fd4 | 9b9a16fa2cb737daee6b2785474678b6fa91d6d4 | /src/order/filter/basic.lean | 96a927b27eb7db751b86611bb4b3656473f5f0e8 | [
"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 | 79,639 | 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 data.list data.pfun
import algebra.pi_instances
import cat... |
201cf95cfd0d3171dd0215320e30064058a440aa | c3f2fcd060adfa2ca29f924839d2d925e8f2c685 | /tests/lean/var2.lean | 836f1151e628586304f1d5d1d79efbf2822ad68b | [
"Apache-2.0"
] | permissive | respu/lean | 6582d19a2f2838a28ecd2b3c6f81c32d07b5341d | 8c76419c60b63d0d9f7bc04ebb0b99812d0ec654 | refs/heads/master | 1,610,882,451,231 | 1,427,747,084,000 | 1,427,747,429,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 186 | lean | import logic
context
universe l
variable A : Type.{l}
variable a : A
parameter B : Type.{l}
parameter b : B
definition foo := fun (H : A = B), cast H a = b
end
check foo
|
4ca6f906e6b6e98d9b75af8904d36b0754167b10 | cf39355caa609c0f33405126beee2739aa3cb77e | /library/init/data/nat/lemmas.lean | 93231a9b8e28b95a62c00b815c29304a4b565a6e | [
"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 | 48,955 | 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... |
1063e5b6df717f78c166abc15b4cfb053add1504 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/algebra/char_p/quotient.lean | d6257701ef9c1a215c155fa1e6e2a067a8b6aa91 | [
"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 | 1,985 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Eric Wieser
-/
import algebra.char_p.basic
import ring_theory.ideal.quotient
/-!
# Characteristic of quotients rings
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes t... |
c49587b0e4742399525e8b90992db05e8529689c | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/ring_theory/adjoin/basic.lean | fb83bd8cfc7f3c7cc687c0180d851cca1fd5a6be | [
"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 | 9,436 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.subalgebra
import linear_algebra.prod
/-!
# Adjoining elements to form subalgebras
This file develops the basic theory of subalgebras of an R-algebra g... |
de4120c626a65c49318c3640d9383f536d43c5cf | 453dcd7c0d1ef170b0843a81d7d8caedc9741dce | /linear_algebra/multivariate_polynomial.lean | 67371cb3350e9c8c9872eab0b197bd75dd9f4a64 | [
"Apache-2.0"
] | permissive | amswerdlow/mathlib | 9af77a1f08486d8fa059448ae2d97795bd12ec0c | 27f96e30b9c9bf518341705c99d641c38638dfd0 | refs/heads/master | 1,585,200,953,598 | 1,534,275,532,000 | 1,534,275,532,000 | 144,564,700 | 0 | 0 | null | 1,534,156,197,000 | 1,534,156,197,000 | null | UTF-8 | Lean | false | false | 12,410 | 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, Johan Commelin, Mario Carneiro
Multivariate Polynomial
-/
import data.finsupp linear_algebra.basic algebra.ring
open set function finsupp lattice
universes u v w
var... |
042f0c4243c5e54ab0518907059ce721b7e4533a | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/sheaves/locally_surjective.lean | a1c6a63df1dd853d4ff6206d1feb82d1fac62e2d | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 4,189 | lean | /-
Copyright (c) 2022 Sam van Gool and Jake Levinson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sam van Gool, Jake Levinson
-/
import topology.sheaves.presheaf
import topology.sheaves.stalks
import category_theory.sites.surjective
/-!
# Locally surjective maps ... |
49545241126d063722b0185145a62c9221b2f372 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /stage0/src/Lean/Elab/Mixfix.lean | e74ef2a9be58fa64c2b6fe2272a58f2c4ccfcd2d | [
"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 | 2,121 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Elab.Attributes
namespace Lean.Elab.Command
@[builtinMacro Lean.Parser.Command.mixfix] def expandMixfix : Macro := fun stx =>
withAttrKindGl... |
073210850fc8ca67f7853f1bc4041f4203656252 | 9d00e4b237465921fb33aa10eed92a2495ca2e46 | /orRules.lean | 534ae5bef222b1cedc998021044895cbe2f78e09 | [] | no_license | Bpalkmim/LeanNatD | 7756abf1ed7b0e7a3e3b9d16ad756018f5c70c7c | 2e73bb44e44b955839e7a0874cd7013fbfb9c4e3 | refs/heads/master | 1,610,999,141,530 | 1,475,515,895,000 | 1,475,515,895,000 | 69,893,600 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,522 | lean | namespace orRules
-- Requer o namespace de implicação
open implRules
print " "
print "Provas com OR - início"
print " "
constant or : Prop → Prop → Prop
constants A B C : Prop
-- Definições
-- or_intro_right introduz o operador ∨ com as proposições recebidas por parâmetro na ordem
constant or_intro_right {X Y : Pr... |
3979206c27fa7b9227383c60ef3d5072bf0dcc35 | 5d166a16ae129621cb54ca9dde86c275d7d2b483 | /library/init/meta/relation_tactics.lean | 868a540a39d90127f6b67278591604a538d386a7 | [
"Apache-2.0"
] | permissive | jcarlson23/lean | b00098763291397e0ac76b37a2dd96bc013bd247 | 8de88701247f54d325edd46c0eed57aeacb64baf | refs/heads/master | 1,611,571,813,719 | 1,497,020,963,000 | 1,497,021,515,000 | 93,882,536 | 1 | 0 | null | 1,497,029,896,000 | 1,497,029,896,000 | null | UTF-8 | Lean | false | false | 1,850 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.tactic init.function
namespace tactic
open expr
private meta def relation_tactic (md : transparency) (op_for : environment → name... |
9c371f28af8f960fad4795039f4e5ba2903c5be1 | 9cb9db9d79fad57d80ca53543dc07efb7c4f3838 | /src/normed_snake.lean | 080d578b1dbfcc78775f4d87c57ffd843dbfed94 | [] | no_license | mr-infty/lean-liquid | 3ff89d1f66244b434654c59bdbd6b77cb7de0109 | a8db559073d2101173775ccbd85729d3a4f1ed4d | refs/heads/master | 1,678,465,145,334 | 1,614,565,310,000 | 1,614,565,310,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,390 | lean | import system_of_complexes.basic
universe variables u
noncomputable theory
open_locale nnreal
open category_theory opposite normed_group_hom system_of_complexes
variables (M M' N : system_of_complexes.{u}) (f : M ⟶ M') (g : M' ⟶ N)
/-- The normed snake lemma, weak version. See Proposition 9.10 from Analytic.pdf -/
... |
306dd96374a16d6b73cf340610f328770bbcea36 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/sites/cover_lifting.lean | deca91fbd087b9b556f6c586f04be7d0fe12eadf | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 13,245 | lean | /-
Copyright (c) 2021 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import category_theory.sites.sheaf
import category_theory.limits.kan_extension
import category_theory.sites.cover_preserving
/-!
# Cover-lifting functors between sites.
W... |
c9f8c3f5e12161ba6ecf658fec7e1b83b55fcabc | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/try_for_heap.lean | 4a4c0fdd3d9586631303125b99ecfecc8e717277 | [
"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 | 2,227 | lean | constant heap : Type
constant ptr : Type
constant val : Type
constant pt : ptr → val → heap
constant hunion : heap → heap → heap
constant is_def : heap → Prop
infix `∙`:60 := hunion
infix `↣`:70 := pt
/-
constant hunion_is_assoc : is_associative heap hunion
constant hunion_is_comm : is_commutative heap h... |
e355411244a8f5b9cad929526ceee6084d10b5bd | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/analysis/topology.lean | 3fa267b906750e20c771cb76e42d7a7a5fd01db3 | [] | 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,197 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
Computational realization of topological spaces (experimental).
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.topology.bases
import Math... |
ed25f772f716756ad4b950ff6c3dee3d4f0b2d2e | acc85b4be2c618b11fc7cb3005521ae6858a8d07 | /data/list/basic.lean | cec1c6888e72b4f45bc98834dc0183f82d4470dc | [
"Apache-2.0"
] | permissive | linpingchuan/mathlib | d49990b236574df2a45d9919ba43c923f693d341 | 5ad8020f67eb13896a41cc7691d072c9331b1f76 | refs/heads/master | 1,626,019,377,808 | 1,508,048,784,000 | 1,508,048,784,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 94,159 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro
Basic properties of lists.
-/
import logic.basic data.nat.basic data.option data.bool tactic.int... |
addd6a1c08a24e2db694fb582be4455fb6e2e6f6 | 2c096fdfecf64e46ea7bc6ce5521f142b5926864 | /src/Lean/Server/FileWorker/RequestHandling.lean | f30cc076b401791be8926d0559674fc2d998c5d5 | [
"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 | Kha/lean4 | 1005785d2c8797ae266a303968848e5f6ce2fe87 | b99e11346948023cd6c29d248cd8f3e3fb3474cf | refs/heads/master | 1,693,355,498,027 | 1,669,080,461,000 | 1,669,113,138,000 | 184,748,176 | 0 | 0 | Apache-2.0 | 1,665,995,520,000 | 1,556,884,930,000 | Lean | UTF-8 | Lean | false | false | 25,464 | lean | /-
Copyright (c) 2021 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Marc Huisinga
-/
import Lean.DeclarationRange
import Lean.Data.Json
import Lean.Data.Lsp
import Lean.Server.FileWorker.Utils
import Lean.Server.Requests
import... |
024c049183053d4af656ee7e88ae356e9a114971 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/tactic/monotonicity/basic.lean | a12231b35f7e7caeeae661ec98929b10ea31f385 | [
"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 | 5,485 | 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 tactic.core
import category.basic
import algebra.order_functions
import algebra.order
import meta.rb_map
namespace tactic.interactive
open tactic list
open lean lean... |
19dc81e3d6ef13d30b22dc2e7ffd862d5f20ecbe | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /src/Lean/Util/Trace.lean | a34d0d983216492fdbfd0ee2ce38db2a74838fb8 | [
"Apache-2.0"
] | permissive | dupuisf/lean4 | d082d13b01243e1de29ae680eefb476961221eef | 6a39c65bd28eb0e28c3870188f348c8914502718 | refs/heads/master | 1,676,948,755,391 | 1,610,665,114,000 | 1,610,665,114,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,522 | 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
-/
import Lean.Message
import Lean.MonadEnv
universe u
namespace Lean
open Std (PersistentArray)
structure TraceElem where
ref : Syntax... |
d0323e8478505bb15f160f6a024141e95a90b78c | 4727251e0cd73359b15b664c3170e5d754078599 | /src/tactic/ring_exp.lean | 42f2f55f91f72415bd685202c2bacea6c7025279 | [
"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 | 57,195 | lean | /-
Copyright (c) 2019 Tim Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Tim Baanen
-/
import tactic.norm_num
import control.traversable.basic
/-!
# `ring_exp` tactic
A tactic for solving equations in commutative (semi)rings,
where the exponents can also cont... |
6cff566fb69407629ae13aebf9e5d44360807178 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/analysis/inner_product_space/projection.lean | 65d4ad647837b2a9efff8945920d00a2895fa211 | [
"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 | 57,342 | lean | /-
Copyright (c) 2019 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou, Frédéric Dupuis, Heather Macbeth
-/
import analysis.convex.basic
import analysis.inner_product_space.symmetric
import analysis.normed_space.is_R_or_C
/-!
# The orthogona... |
8555c35574f91d29e0ca46b7e601e99b4312e0ab | a047a4718edfa935d17231e9e6ecec8c7b701e05 | /src/data/finsupp.lean | b923bcd89d2c4daca5d5711dd5081e9e93c04ea5 | [
"Apache-2.0"
] | permissive | utensil-contrib/mathlib | bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767 | b91909e77e219098a2f8cc031f89d595fe274bd2 | refs/heads/master | 1,668,048,976,965 | 1,592,442,701,000 | 1,592,442,701,000 | 273,197,855 | 0 | 0 | null | 1,592,472,812,000 | 1,592,472,811,000 | null | UTF-8 | Lean | false | false | 70,968 | 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, Scott Morrison
-/
import algebra.module
import data.fintype.card
/-!
# Type of functions with finite support
For any type `α` and a type `β` with zero, we define the... |
321dd4c1b51a13ab02006b68638a97439f709c82 | b2fe74b11b57d362c13326bc5651244f111fa6f4 | /src/data/int/basic.lean | 2015b2070ce701b6e85b485688ef0f89aa2298cc | [
"Apache-2.0"
] | permissive | midfield/mathlib | c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7 | 775edc615ecec631d65b6180dbcc7bc26c3abc26 | refs/heads/master | 1,675,330,551,921 | 1,608,304,514,000 | 1,608,304,514,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 51,281 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
The integers, with addition, multiplication, and subtraction.
-/
import data.nat.basic
import algebra.order_functions
open nat
namespace int
instance : inhabited ℤ := ... |
5c32c655ae66350e14aa6664b28e3c96737b66d3 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/group_theory/sylow.lean | 9f1ca8f9382e0a4cb459662ecbfd9c7888fdf9f2 | [
"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 | 26,718 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Thomas Browning
-/
import data.set_like.fintype
import group_theory.group_action.conj_act
import group_theory.p_group
/-!
# Sylow theorems
The Sylow theorems are the fol... |
0cca5f424bde22cb2e709cc5f521c318f018614c | 57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5 | /tactic/alias.lean | d0e28e7e5022679ac2d16908e176d752d3430689 | [
"Apache-2.0"
] | permissive | louisanu/mathlib | 11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe | 2bd5e2159d20a8f20d04fc4d382e65eea775ed39 | refs/heads/master | 1,617,706,993,439 | 1,523,163,654,000 | 1,523,163,654,000 | 124,519,997 | 0 | 0 | Apache-2.0 | 1,520,588,283,000 | 1,520,588,283,000 | null | UTF-8 | Lean | false | false | 4,418 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
This file defines an alias command, which can be used to create copies
of a theorem or definition with different names.
Syntax:
/ -- doc string - /
alias my_theorem ←... |
226cdf4bb32e54e331d11495b297c15d9193091c | 4dbc106f944ae08d9082a937156fe53f8241336c | /src/data/hashmap.lean | ab4f855b17db1af0452470fac19422b48b5dc993 | [] | no_license | spl/lean-finmap | feff7ee53811b172531f84b20c02e50c787fe6fc | 936d9caeb27631e3c6cf20e972de4837c9fe98fa | refs/heads/master | 1,584,501,090,642 | 1,537,511,660,000 | 1,537,515,626,000 | 134,227,269 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,837 | lean | import data.array.basic data.list.dict data.pnat
universes u v
/-- A hash map with an `n`-sized array of association list buckets, a hash
function, and proofs that the buckets have no duplicate keys and that every
bucket is correctly hashed. -/
structure hashmap {α : Type u} (β : α → Type v) :=
/- Number of buckets -... |
bf7c08c40ffc183c8117c3f3b24762149ea22a12 | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/set_theory/pgame.lean | e37e5d59a15d0fc154c99551c4063f720edcdbc4 | [
"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 | 43,063 | lean | /-
Copyright (c) 2019 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison
-/
import logic.embedding
import data.nat.cast
import data.fin
/-!
# Combinatorial (pre-)games.
The basic theory of com... |
35d780b6122519e987d2c0b15d30277651babafb | 1a61aba1b67cddccce19532a9596efe44be4285f | /library/data/nat/find.lean | 69961e68ec9c2d975b685f05c38a569bd17ef55f | [
"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 | 3,596 | 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
Choice function for decidable predicates on natural numbers.
This module provides the following two declarations:
choose {p : nat → Prop} [d : decidabl... |
9f28d4b686f84ef8339723293d06e7a832e7df85 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/analysis/complex/basic.lean | 2282d4c0ef867b25b54a4eba470d2b7b344558b3 | [
"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 | 15,470 | lean | /-
Copyright (c) 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 data.complex.determinant
import data.complex.is_R_or_C
/-!
# Normed space structure on `ℂ`.
This file gathers basic facts on complex numbers of an analytic ... |
02511e948b783899d7264b48b8bbea757bb98cd3 | 4fa161becb8ce7378a709f5992a594764699e268 | /src/analysis/normed_space/hahn_banach.lean | 7c55577adbe4ac6c98e76618540c380579fb2bd8 | [
"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 | 3,495 | lean | /-
Copyright (c) 2020 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_space.operator_norm
import analysis.convex.cone
/-!
# Hahn-Banach theorem
In this file we prove a version of Hahn-Banach th... |
1c0c8a9c4943df3f15e96e7f4f9823563213162e | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/1290.lean | 325c8deea639e41697f1f27937d6794922948edc | [
"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 | 457 | lean | structure Category :=
(Obj : Type)
(Hom : Obj -> Obj -> Type)
structure Isomorphism ( C: Category ) { A B : C^.Obj } :=
(morphism : C^.Hom A B)
instance Isomorphism_coercion_to_morphism { C : Category } { A B C^.Obj } : has_coe (Isomorphism C A B) (C^.Hom A B) :=
(coe: Isomorphism.morphism)
instance Isomorph... |
3f5235fab04c35500a2aaff80f713303747fa594 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/data/list/defs.lean | 76c77a323cee4e5822574870466bea900ecb72b0 | [
"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 | 41,521 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro
-/
import data.option.defs
import logic.basic
import tactic.cache
import data.rbmap.basic
import ... |
3056d04722622419c1469f5ee5f57e892e0d18be | b9d8165d695e844c92d9d4cdcac7b5ab9efe09f7 | /src/analysis/specific_limits.lean | 5fde3f5b558f104c84e37d7cee28bd5b2679553b | [
"Apache-2.0"
] | permissive | spapinistarkware/mathlib | e917d9c44bf85ef51db18e7a11615959f714efc5 | 0a9a1ff463a1f26e27d7c391eb7f6334f0d90383 | refs/heads/master | 1,606,808,129,547 | 1,577,478,369,000 | 1,577,478,369,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 18,975 | 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 ... |
2f5bdaec7bcc30ac83c937cf6d46eb9499983f8f | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/data/rat/floor.lean | 4b76ae26228f2ff9dfea4730e42fe625fbfa69bd | [
"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 | 6,652 | 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, Kevin Kappelmann
-/
import algebra.order.floor
import tactic.field_simp
/-!
# Floor Function for Rational Numbers
## Summary
We define the `floor` fu... |
8d2ecafbe14f979c6393ab713489dd59f9903b87 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/type_context.lean | b968e99dfcffb6994408c5c9a8793d2a40a2699b | [
"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 | 8,700 | lean | open tactic local_context tactic.unsafe tactic.unsafe.type_context
run_cmd do
n ← type_context.run (pure "hello type_context"),
trace n
run_cmd do
n ← type_context.run (do x ← pure "hello", pure x),
trace n
run_cmd do
n ← type_context.run $ (λ x, x) <$> pure "hello",
trace n
run_cmd do -- s... |
5e5ef6229f12a2f96402168f3edc2c200f0ae837 | 4efff1f47634ff19e2f786deadd394270a59ecd2 | /src/category_theory/functor.lean | 5a20e931bea8846c368a66a6f95307c30ea6a399 | [
"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 | 3,180 | 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
Defines a functor between categories.
(As it is a 'bundled' object rather than the `is_functorial` typeclass parametrised
by the underlyin... |
56b360705797948ce1abc2776d49c16171441b99 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/analysis/calculus/specific_functions_auto.lean | feadf0dac0dd79152360ba0d8e463b2394a112b7 | [] | 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,495 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.analysis.calculus.extend_deriv
import Mathlib.analysis.calculus.iterated_deriv
import... |
926ad7922cee9c376e88f3d4ad1f33abf72da752 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/order/bounds/basic.lean | 6cfd3c71db1d33bc22dac512b61a59ab87ea3a6b | [
"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 | 50,599 | 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 Kudryashov
-/
import data.set.intervals.basic
import data.set.n_ary
/-!
# Upper / lower bounds
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this ... |
f21bb3edde78f498319294cb09833afb7f481449 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/contra2.lean | 5fb5b27e971127504e17d6fe223fc232ff5559f5 | [
"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 | 455 | lean | open nat
example (q p : Prop) (h₁ : p) (h₂ : ¬ p) : q :=
by contradiction
example (q p : Prop) (h₁ : p) (h₂ : p → false) : q :=
by contradiction
example (q : Prop) (a b : nat) (h₁ : a + b = 0) (h₂ : ¬ a + b = 0) : q :=
by contradiction
example (q : Prop) (a b : nat) (h₁ : a + b = 0) (h₂ : a + b ≠ 0) : q :=
by contr... |
d94c55ded90ccb6438be960a4ff7742897b72c43 | 205f0fc16279a69ea36e9fd158e3a97b06834ce2 | /src/08_Bi_implication/00_intro.lean | 651d940a89ba01c93e266e17a92c678f0852610d | [] | no_license | kevinsullivan/cs-dm-lean | b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124 | a06a94e98be77170ca1df486c8189338b16cf6c6 | refs/heads/master | 1,585,948,743,595 | 1,544,339,346,000 | 1,544,339,346,000 | 155,570,767 | 1 | 3 | null | 1,541,540,372,000 | 1,540,995,993,000 | Lean | UTF-8 | Lean | false | false | 6,133 | lean | /-
If P and Q are propositions, then
so is P ↔ Q. We call this form of
proposition a bi-implication. It
means P → Q ∧ Q → P.
Here's a somewhat silly example:
if it has been raining the ground
in the desert is wet (R → W) and
if the ground in the desert is wet
then it has been raining (W → R).
In this case, we can sa... |
b5a65a4295180122af858b09dfae213c900e6082 | c9b68131de1dfe4e7f0ea5749b11e67a774bc839 | /src/constraints_autogen.lean | a0946d4aba0371654484f61816fb57614afe049c | [] | no_license | congge666/formal-proofs | 2013f158f310abcfc07c156bb2a5113fb78f7831 | b5f6964d0220c8f89668357f2c08e44861128fe3 | refs/heads/master | 1,691,374,567,671 | 1,632,704,604,000 | 1,632,706,366,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 37,539 | lean | /- This file is generated automatically. -/
import algebra.field_power
notation `offset_size` := 2^16
notation `half_offset_size` := 2^15
/- data available to verifier -/
structure input_data (F : Type*) :=
(trace_length : nat)
(initial_ap : nat)
(initial_pc : nat)
(final_ap : nat)
(final_pc : nat)... |
91c28892583ca0e29f7f11ababd8ec6e6b6763e2 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/ring_theory/jacobson_ideal.lean | 0e1f0e5efbbcb4be5fd8d080c889a5b93e052061 | [
"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 | 14,785 | lean | /-
Copyright (c) 2020 Devon Tuma. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Devon Tuma
-/
import ring_theory.ideal.quotient
import ring_theory.polynomial.quotient
/-!
# Jacobson radical
The Jacobson radical of a ring `R` is defined to be the intersect... |
372df345e317de924c17998fca84aec058431a4c | 618003631150032a5676f229d13a079ac875ff77 | /test/convert.lean | 544310ab36ea45c260e5b8d9015921251cbcfb18 | [
"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 | 594 | 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 data.set.basic
import tactic.interactive
open set
variables {α β : Type}
@[simp] lemma singleton_inter_singleton_eq_empty {x y : α} :
({x} ∩ {y} = (∅ : set α)) ↔... |
eeffa4b02909811c3dc399809ea0c75cc3bcfcc1 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/category/UniformSpace.lean | 4b5f920cf466fe0746e1a62b5eb58ab912936d44 | [
"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 | 7,265 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton, Patrick Massot, Scott Morrison
-/
import category_theory.adjunction.reflective
import category_theory.concrete_category.unbundled_hom
import category_theory.monad.limits
i... |
ef799d9291c79f91480b6620f4ead0ffc49897d3 | a4673261e60b025e2c8c825dfa4ab9108246c32e | /src/Lean/Compiler/IR/RC.lean | a5ecab26591c7ed9e8c8cb59355f481d9a5867a7 | [
"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 | 12,738 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Runtime
import Lean.Compiler.IR.CompilerM
import Lean.Compiler.IR.LiveVars
namespace Lean.IR.ExplicitRC
/- Insert explicit RC instructions. So,... |
456d9a477c2b889aea9bdb04342f4f141a61682d | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/data/fintype/card_embedding.lean | 9992b97aef63c983924d49071eb8086a6f3ddcf2 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 1,909 | lean | /-
Copyright (c) 2021 Eric Rodriguez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Rodriguez
-/
import data.fintype.big_operators
import logic.equiv.embedding
/-!
# Number of embeddings
This file establishes the cardinality of `α ↪ β` in full generality.
-/
l... |
0676c6eeacdc7dd3ea8972b5ccaa9ab854e3efa2 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/analysis/calculus/fderiv_symmetric.lean | 4058f9e17c09e855152e42e7e5c627eb06444304 | [
"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 | 19,560 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import analysis.calculus.deriv
import analysis.calculus.mean_value
import analysis.convex.topology
/-!
# Symmetry of the second derivative
We show that, over ... |
bc5c61f70f4075efeef4efb6091a955a49205988 | 626e312b5c1cb2d88fca108f5933076012633192 | /src/measure_theory/measure/regular.lean | 02d4f189d66c18c8dd990f0452b1bdc5d00a9a4f | [
"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 | 37,443 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris Van Doorn
-/
import measure_theory.constructions.borel_space
/-!
# Regular measures
A measure is `regular` if it satisfies the following properties:
* it is finite on comp... |
0473b0643ad9e53da249a8f21bc11c4ba879c808 | 37da0369b6c03e380e057bf680d81e6c9fdf9219 | /hott/types/equiv.hlean | e36a4181ace0a4037a7c85de737dd926af0218b6 | [
"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 | 12,659 | hlean | /-
Copyright (c) 2014 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Ported from Coq HoTT
Theorems about the types equiv and is_equiv
-/
import .fiber .arrow arity ..prop_trunc cubical.square .pointed
open eq is_trunc sigma sigma.op... |
3c86164ca368312143c989add3c4bfca2db66180 | 41ebf3cb010344adfa84907b3304db00e02db0a6 | /uexp/src/uexp/rules/removeSemiJoinRightWithFilter.lean | 160ab88dd680c08e45796957e3c6f8d5f08ba746 | [
"BSD-2-Clause"
] | permissive | ReinierKoops/Cosette | e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb | eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29 | refs/heads/master | 1,686,483,953,198 | 1,624,293,498,000 | 1,624,293,498,000 | 378,997,885 | 0 | 0 | BSD-2-Clause | 1,624,293,485,000 | 1,624,293,484,000 | null | UTF-8 | Lean | false | false | 1,787 | lean | import ..sql
import ..tactics
import ..u_semiring
import ..extra_constants
import ..meta.ucongr
import ..meta.TDP
set_option profiler true
open Expr
open Proj
open Pred
open SQL
open tree
notation `int` := datatypes.int
constant str_foo_: const int.
theorem rule:
forall ( Γ scm_dept scm_emp: Schema) (rel_dept... |
8ef41e5c37e5f4007070ab55e516d22c47dce9d9 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/ring_theory/fintype.lean | efdb548d3547dd75079b27a15d002c197926557f | [
"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 | 474 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import data.fintype.basic
/-!
# Some facts about finite rings
-/
open_locale classical
lemma card_units_lt (M₀ : Type*) [monoid_with_zero M₀] [nontrivial M₀] [fint... |
ade2fece467247b5925b2a050cd268994607f6b3 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/continuous_function/cocompact_map.lean | 5ed716fb37a9bb1a2f6d0ce8c315c2983e2c66c8 | [
"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,353 | lean | /-
Copyright (c) 2022 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
import topology.continuous_function.basic
/-!
# Cocompact continuous maps
The type of *cocompact continuous maps* are those which tend to the cocompact filter on the
... |
de39ed6480da7f4ace97de0a7d3004df3ab9f35b | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/data/finset/interval.lean | e1c4a14f2f505ebec2e44f892f061165cda0bb6d | [
"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 | 4,026 | lean | /-
Copyright (c) 2021 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
import order.locally_finite
/-!
# Intervals as finsets
This file provides basic results about all the `finset.Ixx`, which are defined in
`order.locally_finite`.
## TOD... |
6cb3eb0b8e72a0a6f9b1b1df04f43e26f35585c9 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/HeadIndex.lean | 55b43b1b9c507e951e790ff249a128201ae270e7 | [
"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 | 3,808 | 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.Expr
namespace Lean
/--
Datastructure for representing the "head symbol" of an expression.
It is the key of `KExprMap`.
Examples:
- The head of... |
02a5db6af52107993aed0babeb7474209ec18f84 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /tests/elabissues/variable_universe_bug.lean | 6077d9b108aced00dc3884398f084e3103b48b4e | [
"Apache-2.0"
] | permissive | mhuisi/lean4 | 28d35a4febc2e251c7f05492e13f3b05d6f9b7af | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | refs/heads/master | 1,621,225,489,283 | 1,585,142,689,000 | 1,585,142,689,000 | 250,590,438 | 0 | 2 | Apache-2.0 | 1,602,443,220,000 | 1,585,327,814,000 | C | UTF-8 | Lean | false | false | 551 | lean | /-
Courtesy of @rwbarton.
This is just a bug report, but since we are going to soon rewrite the entire module in Lean4,
we don't want to bother fixing the C++ bug, and we don't want to add a failing test either.
The issue is that collecting implicit locals does not collect additional universe parameters
the locals de... |
712d3a5264df3dd24fa92efb5e91f03598683e46 | e0f9ba56b7fedc16ef8697f6caeef5898b435143 | /src/tactic/localized.lean | ff8f7e39404daa8adf6177c0fff076d7f596feab | [
"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 | 5,229 | lean | /-
Copyright (c) 2019 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import tactic.core
/-!
# Localized notation
This consists of two user-commands which allow you to declare notation and commands localized to a
namespace.
* Dec... |
f6195151d38aa947d99fe15d3ca3ce6a14b770bf | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/order/basic.lean | 6300dc09dd7499acd05c9d303397ded66cde6bd4 | [
"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 | 26,779 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Mario Carneiro
-/
import logic.basic data.sum data.set.basic algebra.order
open function
/- TODO: automatic construction of dual definitions / theorems -/
universes u v... |
a919e729093d84f3ef00a2e2de055e0dc10ac6dc | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/init/meta/options.lean | 4c4d06b9a69a07832d255aad2b953d42aa72f9e1 | [
"Apache-2.0"
] | permissive | soonhokong/lean-osx | 4a954262c780e404c1369d6c06516161d07fcb40 | 3670278342d2f4faa49d95b46d86642d7875b47c | refs/heads/master | 1,611,410,334,552 | 1,474,425,686,000 | 1,474,425,686,000 | 12,043,103 | 5 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 1,388 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.name
universe variables u
meta_constant options : Type 1
meta_constant options.size : options → nat
... |
52ff76cc07082d197918b6dcaf41674e31447e68 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/ring_hom_properties.lean | e83e147d9c865f92c204a0fc7a3fe1cb40a5452d | [
"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,696 | lean | /-
Copyright (c) 2022 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import algebra.category.Ring.constructions
import algebra.category.Ring.colimits
import category_theory.isomorphism
import ring_theory.localization.away.basic
import ring_t... |
8679561b6ab86e95c3f59b6c9d29eb6f4579f777 | 54c9ed381c63410c9b6af3b0a1722c41152f037f | /Binport/OldRecursor.lean | 22babff6f3738ed0ac41bb0d1d070b4a843c1491 | [
"Apache-2.0"
] | permissive | dselsam/binport | 0233f1aa961a77c4fc96f0dccc780d958c5efc6c | aef374df0e169e2c3f1dc911de240c076315805c | refs/heads/master | 1,687,453,448,108 | 1,627,483,296,000 | 1,627,483,296,000 | 333,825,622 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,129 | 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 Binport.Util
import Lean
namespace Binport
open Lean Lean.Meta
def mkOldRecursor (indTy oldRecName : Name) : MetaM (Option Declaration) := do
let some (Cons... |
25f80ede13220932ba11527f4a8072b21a451427 | 48f4f349e1bb919d14ab7e5921d0cfe825f4c423 | /folklore/derivatives.lean | 7b375fdfbca94bf862e3f7c9709075f3c05d82e2 | [] | no_license | thalesant/formalabstracts-2017 | fdf4ff90d30ab1dcb6d4cf16a068a997ea5ecc80 | c47181342c9e41954aa8d41f5049965b5f332bca | refs/heads/master | 1,584,610,453,925 | 1,528,277,508,000 | 1,528,277,508,000 | 136,299,625 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,657 | lean | /-
Frechet derivatives on Banach space
-/
import order.filter data.set meta_data data.list data.vector
.real_axiom algebra.module data.finset.basic .metric
.complex
noncomputable theory
namespace derivatives
open set filter classical nat int list vector real_axiom metric finset complex
local attrib... |
078fe30db9e4e7833866becd54973591cd0c6216 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/reduce2.lean | ff4c9d2bbcdb5b2926a4a9464c05f49c3b6f243b | [
"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 | 129 | lean |
def fact : Nat → Nat
| 0 => 1
| (n+1) => (n+1)*fact n
def v1 := fact 10
theorem v1Eq : v1 = fact 10 :=
Eq.refl (fact 10)
|
91b6efea52333b5dc90b4e4a8ef39e84c767feb0 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/topology/continuous_on.lean | de17a427ced36c18880dfdc48ac98c71775bacf0 | [
"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 | 47,115 | lean | /-
Copyright (c) 2019 Reid Barton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.constructions
/-!
# Neighborhoods and continuity relative to a subset
This file defines relative versions
* `nhds_within` of `nhds`
* `co... |
e0d51b28cb3254cc501ba1d85573e2c0b10d4c1a | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/shrinking_lemma.lean | 9224bb9a6526a603bed7ff30fd8b0d348a9b9f64 | [
"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 | 12,196 | lean | /-
Copyright (c) 2021 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Reid Barton
-/
import topology.separation
/-!
# The shrinking lemma
In this file we prove a few versions of the shrinking lemma. The lemma says that in a normal
top... |
0df08cc5e02fe0863afa8722c4260c1d8e229000 | b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77 | /src/algebra/ring/basic.lean | 2ff747d635384cb0df419d166e47dc62463ed164 | [
"Apache-2.0"
] | permissive | molodiuc/mathlib | cae2ba3ef1601c1f42ca0b625c79b061b63fef5b | 98ebe5a6739fbe254f9ee9d401882d4388f91035 | refs/heads/master | 1,674,237,127,059 | 1,606,353,533,000 | 1,606,353,533,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 38,353 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Amelia Livingston, Yury Kudryashov,
Neil Strickland
-/
import algebra.divisibility
import data.set.basic
/-!
# Properties and homomo... |
8787ffe8e351edb9134cea0cff09dc2caa752f23 | 5412d79aa1dc0b521605c38bef9f0d4557b5a29d | /stage0/src/Init/Data/Format/Basic.lean | 4212d3b4b2b14b21810b433f4826b77640ed65fb | [
"Apache-2.0"
] | permissive | smunix/lean4 | a450ec0927dc1c74816a1bf2818bf8600c9fc9bf | 3407202436c141e3243eafbecb4b8720599b970a | refs/heads/master | 1,676,334,875,188 | 1,610,128,510,000 | 1,610,128,521,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,271 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import Init.Control.State
import Init.Data.Int.Basic
import Init.Data.String.Basic
namespace Std
inductive Format.FlattenBehavior where
| allOrNo... |
500c6ca2114d64b0cc3a494cc66a79df9b496f63 | fa01e273a2a9f22530e6adb1ed7d4f54bb15c8d7 | /src/N2O/Network/Web/Default.lean | ecd2951eebfd2dfcb879d84b8288fe97d972874b | [
"LicenseRef-scancode-mit-taylor-variant",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | o89/n2o | 4c99afb11fff0a1e3dae6b3bc8a3b7fc42c314ac | 58c1fbf4ef892ed86bdc6b78ec9ca5a403715c2d | refs/heads/master | 1,670,314,676,229 | 1,669,086,375,000 | 1,669,086,375,000 | 200,506,953 | 16 | 6 | null | null | null | null | UTF-8 | Lean | false | false | 28 | lean | import N2O.Network.Web.HTTP
|
fefbbc5565f43c50215d6f144550b381600504a4 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/order/complete_boolean_algebra.lean | 1fa1701de2b3f0ae5524788b86b8f6a07be1f971 | [] | 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,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
Theory of complete Boolean algebras.
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.order.complete_lattice
import Mathlib.PostPort
unive... |
45ef38daa1981bc6392e81823c058612ee863c9c | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/tactic/interval_cases.lean | 9cffa15e8d41a9ecf6730414b4e43f15b6fe7993 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 11,244 | 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 tactic.fin_cases
import data.fin.interval -- These imports aren't required to compile this file,
import data.int.interval -- but they are needed at the use sit... |
84605979b5a7c109e1ec0625484763e987c3860b | 31f556cdeb9239ffc2fad8f905e33987ff4feab9 | /src/Lean/Compiler/LCNF/Simp/DiscrM.lean | 2117a67dd07452cf4c7c9469f58644da35a6bb39 | [
"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 | 3,215 | lean | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Compiler.LCNF.CompilerM
import Lean.Compiler.LCNF.Types
import Lean.Compiler.LCNF.InferType
import Lean.Compiler.LCNF.Simp.Basic
namespace Lean... |
e601a9faa5ef425040916bf1bb1e76e9a6100268 | 9c1ad797ec8a5eddb37d34806c543602d9a6bf70 | /category.lean | 4a50af076022345e94c8157a3adbaa76b751568d | [] | no_license | timjb/lean-category-theory | 816eefc3a0582c22c05f4ee1c57ed04e57c0982f | 12916cce261d08bb8740bc85e0175b75fb2a60f4 | refs/heads/master | 1,611,078,926,765 | 1,492,080,000,000 | 1,492,080,000,000 | 88,348,246 | 0 | 0 | null | 1,492,262,499,000 | 1,492,262,498,000 | null | UTF-8 | Lean | false | false | 2,510 | 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 .tactics
/-
-- We've decided that Obj and Hom should be fields of Category, rather than parameters.
-- Mostly this is for the sake of simp... |
5d80654c7e3cd66f553952a44d91d064875857d9 | 3f48345ac9bbaa421714efc9872a0409379bb4ae | /src/help_functions.lean | 2f2bec1d2cb077ec197672d19be0a130cc0907c3 | [] | no_license | QaisHamarneh/Coalgebra-in-Lean | b4318ee6d83780e5c734eb78fed98b1fe8016f7e | bd0452df98bc64b608e5dfd7babc42c301bb6a46 | refs/heads/master | 1,663,371,200,241 | 1,661,004,695,000 | 1,661,004,695,000 | 209,798,828 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,377 | lean | import category_theory.category
import category_theory.types
import tactic.tidy
namespace help_functions
universe u
open classical function set
variables {A B C : Type u}
lemma eq_in_set {A : Type u} {S: set A} {a b: S}
: a.val = b.val ↔ a = b :=
by {cases a, cases b, dsimp at *, simp at *}
@[simp , tidy]... |
9976cba4f26215931a2b5306976370c7091fc3c1 | 5a6ff5f8d173cbfe51967eb4c96837e3a791fe3d | /mm0-lean/x86/lemmas.lean | f544402a26272a98f343e7cffcf3a20238f563ec | [
"CC0-1.0"
] | permissive | digama0/mm0 | 491ac09146708aa1bb775007bf3dbe339ffc0096 | 98496badaf6464e56ed7b4204e7d54b85667cb01 | refs/heads/master | 1,692,321,030,902 | 1,686,254,458,000 | 1,686,254,458,000 | 172,456,790 | 273 | 38 | CC0-1.0 | 1,689,939,563,000 | 1,551,080,059,000 | Rust | UTF-8 | Lean | false | false | 62,553 | lean | import x86.x86 data.list.basic data.zmod.basic
namespace bitvec
theorem of_nat_zero (n) : bitvec.of_nat n 0 = 0 :=
by induction n; [refl, exact congr_arg (vector.cons ff) n_ih]
theorem of_nat_one (n) : bitvec.of_nat n 1 = 1 :=
by cases n; [refl, exact congr_arg (vector.cons tt) (of_nat_zero _)]
theorem from_bits_fi... |
e8813162b0500c789389bc167933d111217fe428 | 649957717d58c43b5d8d200da34bf374293fe739 | /src/category_theory/limits/limits.lean | 58959b1adc003455918c443c8da79c7b3c86e090 | [
"Apache-2.0"
] | permissive | Vtec234/mathlib | b50c7b21edea438df7497e5ed6a45f61527f0370 | fb1848bbbfce46152f58e219dc0712f3289d2b20 | refs/heads/master | 1,592,463,095,113 | 1,562,737,749,000 | 1,562,737,749,000 | 196,202,858 | 0 | 0 | Apache-2.0 | 1,562,762,338,000 | 1,562,762,337,000 | null | UTF-8 | Lean | false | false | 31,729 | lean | -- Copyright (c) 2018 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Reid Barton, Mario Carneiro, Scott Morrison, Floris van Doorn
import category_theory.whiskering
import category_theory.yoneda
import category_theory.limits.cones
import category... |
de683555eaff70c2d14f1ed25131fd83e8f67b7e | 4727251e0cd73359b15b664c3170e5d754078599 | /src/linear_algebra/affine_space/midpoint.lean | 8072c8c35a2fa3367bf38b4eafe90faca5c101ff | [
"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,339 | lean | /-
Copyright (c) 2020 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import algebra.char_p.invertible
import linear_algebra.affine_space.affine_equiv
/-!
# Midpoint of a segment
## Main definitions
* `midpoint R x y`: midpoint of ... |
19dde77ca056c0a2f66922e6f5f07364a65de33b | 510e96af568b060ed5858226ad954c258549f143 | /data/list/sort.lean | 0c654be1c80e57e1fd0f6f48f9d1afa43912453b | [] | no_license | Shamrock-Frost/library_dev | cb6d1739237d81e17720118f72ba0a6db8a5906b | 0245c71e4931d3aceeacf0aea776454f6ee03c9c | refs/heads/master | 1,609,481,034,595 | 1,500,165,215,000 | 1,500,165,347,000 | 97,350,162 | 0 | 0 | null | 1,500,164,969,000 | 1,500,164,969,000 | null | UTF-8 | Lean | false | false | 15,953 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
Insertion sort and merge sort.
-/
import .perm
-- TODO(Jeremy): move this
namespace nat
theorem add_pos_left {m : ℕ} (h : m > 0) (n : ℕ) : m + n > 0 :=
calc
m + n > 0... |
8f240a299ecd45d48126e0f805307208150d5f40 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/data/set/lattice.lean | c9943dcd78cb7c83916d420171ee9432cf90d2a0 | [
"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 | 65,709 | 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
/-!... |
7dd3f15a3f242788be6d2edcacad7fdb7949ebe3 | 7b9ff28673cd3dd7dd3dcfe2ab8449f9244fe05a | /src/seul/exercise.lean | 8f1317921e6261de011145dd8de22a5a0eea2da0 | [] | no_license | jesse-michael-han/hanoi-lean-2019 | ea2f0e04f81093373c48447065765a964ee82262 | a5a9f368e394d563bfcc13e3773863924505b1ce | refs/heads/master | 1,591,320,223,247 | 1,561,022,886,000 | 1,561,022,886,000 | 192,264,820 | 1 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 3,743 | lean | open expr tactic classical
variables {p q r s : Prop}
variables {a b c d e : Prop}
section
local attribute [instance] classical.prop_decidable
theorem not_or_of_imp (h : a → b) : ¬ a ∨ b :=
begin
by_cases H : a,
from or.inr (h ‹_›),
from or.inl ‹_›
end
theorem imp_iff_not_or : (a → b) ↔ (¬ a ∨ b)... |
900309928e3c80a2be6d9ca921a39c9b8a44ed3f | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/algebra/lie/character.lean | 170178ca0b8fe800561c245c92cc3ef8af4a9c53 | [
"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,271 | lean | /-
Copyright (c) 2021 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import algebra.lie.abelian
import algebra.lie.solvable
import linear_algebra.dual
/-!
# Characters of Lie algebras
A character of a Lie algebra `L` over a commutative rin... |
9da5c79a6f6421bd3457a97861d8f3d4bcfb59b3 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/set/basic.lean | f5165b7c34ab87e387cf8971c53fd06d33bc6a93 | [
"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 | 98,828 | 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
-/
import order.boolean_algebra
/-!
# Basic properties of sets
Sets in Lean are homogeneous; all their elements have the same type. Sets whose element... |
8a2914ecbd16f0591467ded577b04bb27595241a | c777c32c8e484e195053731103c5e52af26a25d1 | /src/geometry/euclidean/angle/unoriented/affine.lean | 8b4036ae625b1c380439d1783b8324be49c7877f | [
"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 | 23,481 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers, Manuel Candales
-/
import analysis.convex.between
import geometry.euclidean.angle.unoriented.basic
/-!
# Angles between points
This file defines unoriented angles in Eucl... |
0828a4b87fe5c4c3c0e270ae55a85a940296a34b | 5749d8999a76f3a8fddceca1f6941981e33aaa96 | /src/data/equiv/algebra.lean | ef0dafd5baf37876615ac43a868ecf4af6faa7d4 | [
"Apache-2.0"
] | permissive | jdsalchow/mathlib | 13ab43ef0d0515a17e550b16d09bd14b76125276 | 497e692b946d93906900bb33a51fd243e7649406 | refs/heads/master | 1,585,819,143,348 | 1,580,072,892,000 | 1,580,072,892,000 | 154,287,128 | 0 | 0 | Apache-2.0 | 1,540,281,610,000 | 1,540,281,609,000 | null | UTF-8 | Lean | false | false | 22,325 | lean | /-
Copyright (c) 2018 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Callum Sutton
-/
import data.equiv.basic algebra.field
/-!
# equivs in the algebraic hierarchy
In the first part there are theorems of the following
form: if `α` has... |
dde105ada211930ddbfc3ecf3d5c48d6378be12e | 9028d228ac200bbefe3a711342514dd4e4458bff | /src/data/nat/associated.lean | 86e4ffee2f56f9aa8810c010a5a35721f09f56e4 | [
"Apache-2.0"
] | permissive | mcncm/mathlib | 8d25099344d9d2bee62822cb9ed43aa3e09fa05e | fde3d78cadeec5ef827b16ae55664ef115e66f57 | refs/heads/master | 1,672,743,316,277 | 1,602,618,514,000 | 1,602,618,514,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,816 | lean | /-
Copyright (c) 2020 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
import data.nat.prime
import algebra.associated
import tactic.omega
/-#
# Primes and irreducibles in `ℕ`
This file connects the ideas presented in `algebra.associ... |
8bb80454c3bab07ddf1045a5e66e65ed825f780d | f618aea02cb4104ad34ecf3b9713065cc0d06103 | /src/linear_algebra/determinant.lean | 389f94c01756cdf288e793bca74c925347915623 | [
"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 | 5,621 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Chris Hughes
-/
import data.matrix
import group_theory.subgroup group_theory.perm.sign
local attribute [instance, priority 0] nat.cast_coe
local attribute [instance, priority 0]... |
1c1ae44a84307e64b2ebf86b841ca8855c1167d1 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/number_theory/class_number/admissible_card_pow_degree.lean | 0566fcc9534bb0688e42ee213f55b893aac5d501 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 13,825 | 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 number_theory.class_number.admissible_absolute_value
import analysis.special_functions.pow
import ring_theory.ideal.local_ring
import data.polynomial.degree.card_pow... |
307cf9a3e55c88d81a18e476f6a39aa920293350 | 3aad12fe82645d2d3173fbedc2e5c2ba945a4d75 | /src/data/serial/json.lean | 48d85eeeee2f36494e2bda7f11b57290767dae1e | [] | no_license | seanpm2001/LeanProver-Community_MathLIB-Nursery | 4f88d539cb18d73a94af983092896b851e6640b5 | 0479b31fa5b4d39f41e89b8584c9f5bf5271e8ec | refs/heads/master | 1,688,730,786,645 | 1,572,070,026,000 | 1,572,070,026,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,434 | lean |
import data.serial.string
import tactic.linarith
import category.monad_trans
import data.list.nursery
import system.io
universes u
namespace json
inductive value
| object : unit → list (string × value) → value
| number : ℤ → value
| array : unit → list value → value
| bool : bool → value
| string : string → value
|... |
e4a034a441bb441963cf92e0af9c4d86a7ecd089 | f20db13587f4dd28a4b1fbd31953afd491691fa0 | /library/init/meta/interactive.lean | d6128a019822fb9548ad4bc90521a837283432cc | [
"Apache-2.0"
] | permissive | AHartNtkn/lean | 9a971edfc6857c63edcbf96bea6841b9a84cf916 | 0d83a74b26541421fc1aa33044c35b03759710ed | refs/heads/master | 1,620,592,591,236 | 1,516,749,881,000 | 1,516,749,881,000 | 118,697,288 | 1 | 0 | null | 1,516,759,470,000 | 1,516,759,470,000 | null | UTF-8 | Lean | false | false | 67,413 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.tactic init.meta.rewrite_tactic init.meta.simp_tactic
import init.meta.smt.congruence_closure init.category.combinators
import init... |
91fb43bafc1aebedb48c7c1b6ecb4e970d13c98d | dc06cc9775d64d571bf4778459ec6fde1f344116 | /src/data/fintype.lean | 708c68b7763dd48be7b3fcdcba7bec3b1523ba4a | [
"Apache-2.0"
] | permissive | mgubi/mathlib | 8c1ea39035776ad52cf189a7af8cc0eee7dea373 | 7c09ed5eec8434176fbc493e0115555ccc4c8f99 | refs/heads/master | 1,642,222,572,514 | 1,563,782,424,000 | 1,563,782,424,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 32,035 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Finite types.
-/
import data.finset algebra.big_operators data.array.lemmas logic.unique
universes u v
variables {α : Type*} {β : Type*} {γ : Type*}
/-- `fintype α` me... |
c82f9a9a75467dde75176ee7658cd05db2bc5234 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/data/equiv/mul_add.lean | 2dd719e82dd101596fde77cac2880ce2bd19055a | [
"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 | 24,692 | lean | /-
Copyright (c) 2018 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov
-/
import algebra.group.type_tags
import algebra.group_with_zero
/-!
# Multiplicative and additive equivs
In this file we define two ex... |
d3edd538e60078f7450ce2f1675201fef55e90f0 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/topology/algebra/uniform_mul_action.lean | dc90954b31cd73a51483d5dce412d57c919a8ba4 | [
"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 | 7,187 | lean | /-
Copyright (c) 2022 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.group_instances
import topology.algebra.uniform_group
import topology.uniform_space.completion
/-!
# Multiplicative action on the completi... |
ca6e2504b80780ec13b84dc99001b3309f7093f3 | 437dc96105f48409c3981d46fb48e57c9ac3a3e4 | /src/data/real/cardinality.lean | d7f6e8e97ace8f1fc5a948677115a87663064fb4 | [
"Apache-2.0"
] | permissive | dan-c-k/mathlib | 08efec79bd7481ee6da9cc44c24a653bff4fbe0d | 96efc220f6225bc7a5ed8349900391a33a38cc56 | refs/heads/master | 1,658,082,847,093 | 1,589,013,201,000 | 1,589,013,201,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,888 | lean | /-
Copyright (c) 2019 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
The cardinality of the reals.
-/
import set_theory.ordinal
import analysis.specific_limits
import data.rat.denumerable
open nat set
noncomputable theory
namespace ... |
c181167aef7b00706705d2b2f957e4f30869f95d | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/qpf/univariate/basic.lean | d865d2a3eaf10705711aae0dd3ced9b19f7e121d | [
"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 | 21,835 | lean | /-
Copyright (c) 2018 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
-/
import data.pfunctor.univariate
/-!
# Quotients of Polynomial Functors
We assume the following:
`P` : a polynomial functor
`W` : its W-type
`M` : its M-type
`... |
ee4ebd79dbe5a0be85bc191603a2e21249ed9d78 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/analysis/analytic/composition.lean | 72c45ccf16d3131400bce594fe5fa82fb43c786e | [
"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 | 58,816 | lean | /-
Copyright (c) 2020 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Johan Commelin
-/
import analysis.analytic.basic
import combinatorics.composition
/-!
# Composition of analytic functions
In this file we prove that the composi... |
0cd42814a862f0deb4328086e5061e4a824cc03d | 94e33a31faa76775069b071adea97e86e218a8ee | /src/field_theory/finite/trace.lean | 1212063d27aa6ab5b8c2eb87f8e14b1291afeb28 | [
"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 | 939 | lean | /-
Copyright (c) 2022 Michael Stoll. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michael Stoll
-/
import ring_theory.trace
import field_theory.finite.basic
import field_theory.finite.galois_field
/-!
# The trace map for finite fields
We state the fact that the tra... |
546f535f11f3ac60fcd8f73352cb0bda08dc6421 | a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7 | /src/analysis/calculus/deriv.lean | 5a94667b590eafc87c20d7401409cbce3a546d14 | [
"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 | 69,536 | lean | /-
Copyright (c) 2019 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sébastien Gouëzel
-/
import analysis.calculus.fderiv
import data.polynomial
/-!
# One-dimensional derivatives
This file defines the derivative of a function `f : 𝕜 → ... |
1247036728ee081628a0c42c0dc9e9360d9d7daa | d7189ea2ef694124821b033e533f18905b5e87ef | /galois/intmod.lean | a46e111ecdf3e7ef5da91236efe5a6eb9b7b20f0 | [
"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 | 6,203 | lean | /-
This modules defines a type for representing integers modulo a natural number n,
along with the standard commutative ring operations.
The representation uses a canonical form of numbers between 0 and n-1. Operations
preserve the canonical form.
-/
import galois.nat.div_lemmas
def intmod (n:ℕ) := { x : ℕ // x < n ... |
57fc1260e156165ada838aeb771b06e84633d4bf | 592ee40978ac7604005a4e0d35bbc4b467389241 | /Library/generated/mathscheme-lean/AssocPlusRingoid.lean | 903e44c0ff7f68dfea551ea690350c00d358f834 | [] | no_license | ysharoda/Deriving-Definitions | 3e149e6641fae440badd35ac110a0bd705a49ad2 | dfecb27572022de3d4aa702cae8db19957523a59 | refs/heads/master | 1,679,127,857,700 | 1,615,939,007,000 | 1,615,939,007,000 | 229,785,731 | 4 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,137 | lean | import init.data.nat.basic
import init.data.fin.basic
import data.vector
import .Prelude
open Staged
open nat
open fin
open vector
section AssocPlusRingoid
structure AssocPlusRingoid (A : Type) : Type :=
(plus : (A → (A → A)))
(times : (A → (A → A)))
(associative_plus : (∀ {x y z : A} , (plu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.