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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c3dda48065fd7ddaa3ff1480115ecf63beec7846 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/set_theory/ordinal/notation.lean | cb4d4228621555e4f4b8550a91a78cc8b4368cb0 | [
"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 | 45,005 | 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 set_theory.ordinal.principal
/-!
# Ordinal notation
Constructive ordinal arithmetic for ordinals below `ε₀`.
We define a type `onote`, with constructors `0... |
baff809778e3c30100e9ac3cc82ac2f75fd3d11d | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/linear_algebra/exterior_algebra/of_alternating.lean | ad0ae0b28a5be29d929de198c37e078b6c176073 | [
"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,299 | lean | /-
Copyright (c) 2022 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import linear_algebra.clifford_algebra.fold
import linear_algebra.exterior_algebra.basic
/-!
# Extending an alternating map to the exterior algebra
> THIS FILE IS SYNCHR... |
acbc6d860bff705e1895bd91939573f6b67ecc41 | ce6917c5bacabee346655160b74a307b4a5ab620 | /src/ch6/ex0306.lean | 2cf81850617caf9163da68b1bd06dc2036869eb1 | [] | 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 | 31 | lean | open nat (hiding succ add sub)
|
c57bf9d55de01458c0f38719c536718a78772cf4 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /library/data/real/order.lean | 857008868c7a1de3bb4e1e728435a60fc02179d2 | [
"Apache-2.0"
] | permissive | davidmueller13/lean | 65a3ed141b4088cd0a268e4de80eb6778b21a0e9 | c626e2e3c6f3771e07c32e82ee5b9e030de5b050 | refs/heads/master | 1,611,278,313,401 | 1,444,021,177,000 | 1,444,021,177,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 39,203 | lean | /-
Copyright (c) 2015 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Robert Y. Lewis
The real numbers, constructed as equivalence classes of Cauchy sequences of rationals.
This construction follows Bishop and Bridges (1985).
To do:
o Rename things and... |
41f73bcc45e56ebadad1b8ea416ce3e04c974ca4 | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/topology/algebra/module.lean | b3a3d60dacf74130f155e019e84b7e72dad0e2e9 | [
"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 | 58,962 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo, Yury Kudryashov
-/
import topology.algebra.ring
import topology.algebra.mul_action
import topology.uniform_space.uniform_embedding
imp... |
cbd53f6ad14f9b1a2e7b249945ec5f13da4d096b | 5ec8f5218a7c8e87dd0d70dc6b715b36d61a8d61 | /memdata.lean | 441f1a398a8b19a879e18cab1de3326df069a7d8 | [] | no_license | mbrodersen/kremlin | f9f2f9dd77b9744fe0ffd5f70d9fa0f1f8bd8cec | d4665929ce9012e93a0b05fc7063b96256bab86f | refs/heads/master | 1,624,057,268,130 | 1,496,957,084,000 | 1,496,957,084,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 18,545 | lean |
/- In-memory representation of values. -/
import .ast .integers .values
namespace memdata
open ast integers values word floats
ast.memory_chunk
inductive quantity : Type | Q32 | Q64
open quantity
instance quantity_eq : decidable_eq quantity := by tactic.mk_dec_eq_instance
def quantity.size : quantity → ℕ
| Q... |
73a7d305f3f5534e96268460afc48aeb0b48152c | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/elementwise.lean | 8be2fd34d558aa75593569ce5042256c41ef1ba2 | [
"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 | 786 | lean | /-
Copyright (c) 2021 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import tactic.elementwise
import category_theory.concrete_category.basic
/-!
# Use the `elementwise` attribute to create applied versions of lemmas.
Usually we woul... |
a3e797c49a03084f428ae5915ccaeaaa0ce2036c | 56af0912bd25910f5caae91d6dd0603b0c032989 | /src/complex/kb_solutions/Level_00_basic.lean | 5a4b665cb65d56c72feb08a32de6229591c56704 | [
"Apache-2.0"
] | permissive | isabella232/complex-number-game | ae36e0b1df9761d9df07049ca29c91ae44dbdc2d | 3d767f14041f9002e435bed3a3527fdd297c166d | refs/heads/master | 1,679,305,953,116 | 1,606,397,567,000 | 1,606,397,567,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,404 | lean | /-
Copyright (c) 2020 The Xena project. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Buzzard.
Thanks: Imperial College London, leanprover-community
-/
-- Import everything about the real numbers
import data.real.basic
/-!
# The complex numbers
We define the ... |
2e10515f4a3701e80d8401511a6640abad82ae8b | 60bf3fa4185ec5075eaea4384181bfbc7e1dc319 | /src/game/order/level01.lean | e3cec470df51566698b37f2ae3ce937eff70e950 | [
"Apache-2.0"
] | permissive | anrddh/real-number-game | 660f1127d03a78fd35986c771d65c3132c5f4025 | c708c4e02ec306c657e1ea67862177490db041b0 | refs/heads/master | 1,668,214,277,092 | 1,593,105,075,000 | 1,593,105,075,000 | 264,269,218 | 0 | 0 | null | 1,589,567,264,000 | 1,589,567,264,000 | null | UTF-8 | Lean | false | false | 598 | lean | import data.real.basic
namespace xena -- hide
/-
# Chapter 2 : Order
## Level 1
This level aims to familiarize you with the use of the trichotomy property in
Lean, as it will come in handy in later levels.
This property is stated in Lean's mathlib is:
`lt_trichotomy : ∀ (a b : ?M_1), a < b ∨ a = b ∨ b < a`
and y... |
34207bf915dcf3ae55bb6a3aa3950bee4c2e9fec | cc4e32129597fc42f4ac133f6eef3dbfd3d16218 | /Analysis/Topology.lean | e88d186996fc5af9158c64ab8fc7eb6d3eb0d3ed | [] | 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 | 3,372 | lean | import Analysis.Filter
/-- A topological space on `α` is predicate `is_open` on `Set α` such that
- the whole set is open;
- the intersection of two open sets is open;
- and the union of a collection of open sets is open. -/
class topologicalSpace (α : Type u) where
is_open : Set α → Prop
is_open_univ : i... |
011948f277d439c35a185f3342baf52101470582 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/control/functor/multivariate.lean | 40e62aab0df6dbf534c98be1288d1c00ecb3cf4d | [
"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,749 | lean | /-
Copyright (c) 2018 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Mario Carneiro, Simon Hudon
-/
import data.fin.fin2
import data.typevec
/-!
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding... |
57c3487e4db03a5a729fbbd3d5e1adec53db90a5 | ebbdcbd7ddc89a9ef7c3b397b301d5f5272a918f | /qp/p0_stdlib/c0_misc.lean | eee1eb29dd22c561d7936b23cb64590dea8be031 | [] | no_license | intoverflow/qvr | 34b9ef23604738381ca20b7d622fd0399d88f2dd | 0cfcd33fe4bf8d93851a00cec5bfd21e77105d74 | refs/heads/master | 1,616,591,570,371 | 1,492,575,772,000 | 1,492,575,772,000 | 80,061,627 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,940 | lean | /- -----------------------------------------------------------------------
Misc facts about Lean.
----------------------------------------------------------------------- -/
namespace qp
namespace stdaux
/-! #brief funext, but for heterogeneous equality.
-/
theorem {ℓ₁ ℓ₂} hfunext
: ∀ {A₁ A₂ : Type ℓ₁}
{B ... |
40407287586e9136353053d3af89ec469c8c8502 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/calc1.lean | 9202363142e47ef3317997fe09dd7c87ab800ab6 | [
"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 | 1,668 | lean | prelude constant A : Type.{1}
definition bool : Type.{1} := Type.{0}
constant eq : A → A → bool
infixl ` = `:50 := eq
axiom subst (P : A → bool) (a b : A) (H1 : a = b) (H2 : P a) : P b
axiom eq_trans (a b c : A) (H1 : a = b) (H2 : b = c) : a = c
axiom eq_refl (a : A) : a = a
constant le : A → A → bool
infixl ` ≤ `:50 :... |
edc967d8ac0d9b10bd4fd76271b664b386674959 | 737dc4b96c97368cb66b925eeea3ab633ec3d702 | /src/Lean/Util/CollectFVars.lean | 296d1fd92775ffb217a506d8f8c31218bf78733e | [
"Apache-2.0"
] | permissive | Bioye97/lean4 | 1ace34638efd9913dc5991443777b01a08983289 | bc3900cbb9adda83eed7e6affeaade7cfd07716d | refs/heads/master | 1,690,589,820,211 | 1,631,051,000,000 | 1,631,067,598,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,155 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Expr
namespace Lean.CollectFVars
structure State where
visitedExpr : ExprSet := {}
fvarSet : FVarIdSet := {}
deriving Inhabited
... |
73d00e68952cf7d211e66e4b41fcad5604b7854d | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/algebra/field.lean | c6b71c078fd6742d05a12cefd769b130c821b8c4 | [
"Apache-2.0"
] | permissive | anthony2698/mathlib | 03cd69fe5c280b0916f6df2d07c614c8e1efe890 | 407615e05814e98b24b2ff322b14e8e3eb5e5d67 | refs/heads/master | 1,678,792,774,873 | 1,614,371,563,000 | 1,614,371,563,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,746 | lean | /-
Copyright (c) 2014 Robert Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Lewis, Leonardo de Moura, Johannes Hölzl, Mario Carneiro
-/
import algebra.ring.basic
import algebra.group_with_zero
/-!
# Fields and division rings
This file introduces fields ... |
d2387e1be2126c82b179af36665df3378ca8ff99 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/local_homeomorph.lean | 0e632d97b7f51509e7b631d15c9beee76b7e796c | [
"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 | 55,586 | 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 logic.equiv.local_equiv
import topology.sets.opens
/-!
# Local homeomorphisms
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file req... |
5b42742e6d78a230b639ae1f786054141c62a7c8 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/1889.lean | 61d873f98f5475b89e8661639ad4f217be936077 | [
"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 | 218 | lean | def f (x : ℕ) := x
example : f 1 = 1 :=
let y := 2 in
begin
dsimp [f] at *,
guard_target 1 = 1,
refl
end
example (α : Type) [has_add α] : f 1 = 1 :=
begin
dsimp [f] at *,
guard_target 1 = 1,
refl
end
|
c486947254ce04e29060a8b34a5e25e3cb12e36e | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/linear_algebra/dual.lean | 6a10af3faca991d06b5d8d6e44eb2aa724baae14 | [
"Apache-2.0"
] | permissive | JLimperg/aesop3 | 306cc6570c556568897ed2e508c8869667252e8a | a4a116f650cc7403428e72bd2e2c4cda300fe03f | refs/heads/master | 1,682,884,916,368 | 1,620,320,033,000 | 1,620,320,033,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 24,416 | lean | /-
Copyright (c) 2019 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Fabian Glöckle
-/
import linear_algebra.finite_dimensional
import linear_algebra.projection
/-!
# Dual vector spaces
The dual space of an R-module M is the R-module o... |
1010211ec5e3c6d44cd69c15044665bf6a6dee49 | 4767244035cdd124e1ce3d0c81128f8929df6163 | /data/nat/enat.lean | 9ae86ddd9d6dfbc7b46f5d47f1a1a9a05a4f4156 | [
"Apache-2.0"
] | permissive | 5HT/mathlib | b941fecacd31a9c5dd0abad58770084b8a1e56b1 | 40fa9ade2f5649569639608db5e621e5fad0cc02 | refs/heads/master | 1,586,978,681,358 | 1,546,681,764,000 | 1,546,681,764,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,306 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
Natural numbers with infinity, represented as roption ℕ.
-/
import data.pfun algebra.ordered_group
open roption lattice
def enat : Type := roption ℕ
namespace enat
inst... |
d6909528787bb4aab9772522f51e7c697f3aa079 | 49bd2218ae088932d847f9030c8dbff1c5607bb7 | /src/data/set/intervals/basic.lean | 2ec03e71cfdcb06c663329f92fa22c595e9feacc | [
"Apache-2.0"
] | permissive | FredericLeRoux/mathlib | e8f696421dd3e4edc8c7edb3369421c8463d7bac | 3645bf8fb426757e0a20af110d1fdded281d286e | refs/heads/master | 1,607,062,870,732 | 1,578,513,186,000 | 1,578,513,186,000 | 231,653,181 | 0 | 0 | Apache-2.0 | 1,578,080,327,000 | 1,578,080,326,000 | null | UTF-8 | Lean | false | false | 28,170 | 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, Patrick Massot
-/
import order.lattice algebra.order_functions algebra.ordered_field tactic.tauto
/-!
# Intervals
In any preorder `α`, we define inte... |
274a63f396d73d739499eb213204a6234392f6ba | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /library/algebra/ring.lean | a07e3072488572ab2a1bda44e733c2b978452f03 | [
"Apache-2.0"
] | permissive | tjiaqi/lean | 4634d729795c164664d10d093f3545287c76628f | d0ce4cf62f4246b0600c07e074d86e51f2195e30 | refs/heads/master | 1,622,323,796,480 | 1,422,643,069,000 | 1,422,643,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,653 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: algebra.ring
Authors: Jeremy Avigad, Leonardo de Moura
Structures with multiplicative and additive components, including semirings, rings, and fields.
The development is modeled after ... |
890c032aa00b63a9ff20f68d745500ab645ca7ef | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/topology/algebra/group_with_zero.lean | a3011202baf1bfacc61d69e5e989bdebb0cfa0cf | [
"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 | 9,640 | lean | /-
Copyright (c) 2020 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov
-/
import topology.algebra.monoid
import algebra.group.pi
import algebra.group_with_zero.power
import topology.homeomorph
/-!
# Topological group with zero
In ... |
5aa241e20d30dd11b8176a06d9d843da854228bc | 6329dd15b8fd567a4737f2dacd02bd0e8c4b3ae4 | /src/game/world1/level5.lean | 224bf84f250cd73d04bb26bc6b628a3082e265a6 | [
"Apache-2.0"
] | permissive | agusakov/mathematics_in_lean_game | 76e455a688a8826b05160c16c0490b9e3d39f071 | ad45fd42148f2203b973537adec7e8a48677ba2a | refs/heads/master | 1,666,147,402,274 | 1,592,119,137,000 | 1,592,119,137,000 | 272,111,226 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 489 | lean | import data.real.basic --imports the real numbers
import tactic.maths_in_lean_game -- hide
namespace calculating -- hide
/-
#Calculating
## Level 5: `rw` with no arguments
Try doing this example without
providing any arguments at all.
-/
/- Lemma : no-side-bar
For all natural numbers $a$, we have
$$a + \operatornam... |
42f71dbcc8d377beaae6c654f5be0caa5387750f | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/pi.lean | 4febb2daca853159b27129587cdc37adb5a7259d | [
"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 | 7,541 | lean | /-
Copyright (c) 2020 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon, Patrick Massot, Eric Wieser
-/
import tactic.split_ifs
import tactic.simpa
import tactic.congr
import algebra.group.to_additive
/-!
# Instances and theorems on pi types
This... |
84d1ee2183d7f8577422c6e1cf34c356fa5344de | 8b9f17008684d796c8022dab552e42f0cb6fb347 | /library/data/encodable.lean | 6699560f9a2816d9fa4a7a4f2761fbf1fc64ed38 | [
"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 | 9,375 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: data.encodable
Author: Leonardo de Moura
Type class for encodable types.
Note that every encodable type is countable.
-/
import data.fintype data.list data.sum data.nat data.su... |
dad7325168e1c93429dc363af030a634ad533717 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/geometry/manifold/cont_mdiff_mfderiv.lean | 22ca9dc12747be87c6c5b542c4311399dfb15f26 | [
"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 | 30,918 | 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 geometry.manifold.cont_mdiff
import geometry.manifold.mfderiv
/-!
### Interactions between differentiability, smoothness and manifold derivatives
We gi... |
ad524aa4f2367d39c31c49417760c8fca93e7465 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /tests/lean/run/matchEqs.lean | 2f638242049ea9d60047db6398bbb04b07455fd9 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | cipher1024/lean4 | 6e1f98bb58e7a92b28f5364eb38a14c8d0aae393 | 69114d3b50806264ef35b57394391c3e738a9822 | refs/heads/master | 1,642,227,983,603 | 1,642,011,696,000 | 1,642,011,696,000 | 228,607,691 | 0 | 0 | Apache-2.0 | 1,576,584,269,000 | 1,576,584,268,000 | null | UTF-8 | Lean | false | false | 615 | lean | import Lean
syntax (name := test) "test%" ident : command
open Lean.Elab
open Lean.Elab.Command
@[commandElab test] def elabTest : CommandElab := fun stx => do
let id ← resolveGlobalConstNoOverloadWithInfo stx[1]
liftTermElabM none do
IO.println (repr (← Lean.Meta.Match.getEquationsFor id))
return ()
def f... |
ca65b6fdc5acef1826b06410b0cdfc4719d04996 | 4f643cce24b2d005aeeb5004c2316a8d6cc7f3b1 | /src/for_mathlib/fin.lean | 45b360b06cdf13dd48a5490430c7c6c42b104f92 | [] | no_license | rwbarton/lean-omin | da209ed061d64db65a8f7f71f198064986f30eb9 | fd733c6d95ef6f4743aae97de5e15df79877c00e | refs/heads/master | 1,674,408,673,325 | 1,607,343,535,000 | 1,607,343,535,000 | 285,150,399 | 9 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 706 | lean | import data.equiv.fin
lemma fin.cast_id {n : ℕ} {h : n = n} : fin.cast h = id :=
by { ext, refl }
@[simp] lemma fin.nat_add_val {n m : ℕ} (i : fin n) : (i.nat_add m).val = m + i.val :=
rfl
lemma fin.nat_add_zero {n : ℕ} : fin.nat_add 0 = fin.cast (zero_add n).symm :=
by { ext, apply zero_add }
lemma fin.nat_add_add... |
a93a5a3af94bea2ea113bbda859cdb289675da9e | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Init/Data/Fin.lean | 82be0e017ff164f8fec05f9776d3fb3b124d2990 | [
"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 | 224 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import Init.Data.Fin.Basic
import Init.Data.Fin.Log2
|
f3500c56b80d20329cc2d57153acdff92d595fa5 | b00eb947a9c4141624aa8919e94ce6dcd249ed70 | /src/Init/Core.lean | 976cd26cd5b4de98ed2d57271ae458be8710ee89 | [
"Apache-2.0"
] | permissive | gebner/lean4-old | a4129a041af2d4d12afb3a8d4deedabde727719b | ee51cdfaf63ee313c914d83264f91f414a0e3b6e | refs/heads/master | 1,683,628,606,745 | 1,622,651,300,000 | 1,622,654,405,000 | 142,608,821 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 34,952 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
notation, basic datatypes and type classes
-/
prelude
import Init.Prelude
import Init.SizeOf
universes u v w
def inline {α : Sort u} (a : α) : α := a
@[inl... |
6816a4414502b2870caeaec74c900ee3f0665096 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/preadditive/additive_functor.lean | 34347aa14e68c1e24ff6adef940045b9a5b34c27 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 8,840 | lean | /-
Copyright (c) 2021 Adam Topaz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam Topaz, Scott Morrison
-/
import category_theory.limits.exact_functor
import category_theory.limits.preserves.finite
import category_theory.preadditive.biproducts
import category_theor... |
00645d85aa72931cece4b561358ccbb40255a351 | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /tests/lean/arith7.lean | a24d198bee5456a86652f1bba0b99616ec001bc0 | [
"Apache-2.0"
] | permissive | codyroux/lean0.1 | 1ce92751d664aacff0529e139083304a7bbc8a71 | 0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef | refs/heads/master | 1,610,830,535,062 | 1,402,150,480,000 | 1,402,150,480,000 | 19,588,851 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 413 | lean | import Int.
check | -2 |
-- Unfortunately, we can't write |-2|, because |- is considered a single token.
-- It is not wise to change that since the symbol |- can be used as the notation for
-- entailment relation in Lean.
eval |3|
definition x : Int := -3
check |x + 1|
check |x + 1| > 0
variable y : Int
check |x + y|
... |
1047c687ff567be093c91fed741cb1391ab2eef0 | 9b9a16fa2cb737daee6b2785474678b6fa91d6d4 | /src/data/padics/hensel.lean | dfde56fbf0675f817710e62da051e15f798720ee | [
"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 | 20,871 | lean | /-
Copyright (c) 2018 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Y. Lewis
A proof of Hensel's lemma on ℤ_p, roughly following Keith Conrad's writeup:
http://www.math.uconn.edu/~kconrad/blurbs/gradnumthy/hensel.pdf
-/
import data.padics.pad... |
eafccc44bee9630e2bc543da5e37e49880573e82 | 367134ba5a65885e863bdc4507601606690974c1 | /src/data/real/ennreal.lean | 0218eee623461a18fcd25f28692930f701f3cf02 | [
"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 | 59,223 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Johannes Hölzl, Yury Kudryashov
-/
import data.real.nnreal
import data.set.intervals
/-!
# Extended non-negative reals
We define `ennreal = ℝ≥0∞ := with_no ℝ≥0` to be the type of exte... |
b3781d9521092bbc643b83c0373dc470b6b0dcde | a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7 | /src/measure_theory/measure_space.lean | 622468f1865194a2f8b06cdeb4efc4ed44ef7571 | [
"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 | 37,682 | 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.outer_measure
import order.filter.countable_Inter
/-!
# Measure spaces
Given a measurable space `α`, a measure on `α` is a fun... |
c3afd31e3029aa5e4aad2b6034ae67405eaab368 | dcc3c513a25e2b4e2c76e032c578574676371620 | /src/weighted.lean | 9226a97b359c2e323041d50b98964ea8a0390f3a | [] | no_license | golikov-nik/lean-matroids | 6e2c5f8b8362878837ba1514f9a6a162db06c101 | 17473282c48f4cbc309a80ee2955d44a32ef70ef | refs/heads/main | 1,683,481,223,235 | 1,622,464,187,000 | 1,622,464,187,000 | 372,430,330 | 0 | 0 | null | 1,622,448,454,000 | 1,622,448,453,000 | null | UTF-8 | Lean | false | false | 7,659 | lean | import data.fintype.basic
import data.fintype.sort
import matroid
import finset
import base_of
import data.real.basic
variables {α : Type*} [fintype α] [decidable_eq α] {m : matroid α} {A B X : finset α} {w : α → ℝ} {order : list α}
open finset
namespace matroid
instance : decidable_pred m.ind := m.ind_dec
@[simp]... |
4d26a3161445f6fa2da643a45ceae66c3e62b0a7 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /tests/lean/run/typeclass_coerce.lean | a3ce37dbae820876ba5a8870f2a4961a7ab86242 | [
"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 | 3,862 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Daniel Selsam, Leonardo de Moura
Declare new, simpler coercion class without the special support for transitivity.
Test that new tabled typeclass resolution deals with loops an... |
0fd220fe0ee8c9907f1bcfb4f1b3cc255233deff | 08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4 | /tests/lean/1007.lean | 9e03b0d2b6c90749d0f5d0de37ad772b1ad11667 | [
"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",
"Apache-2.0",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | gebner/lean4 | d51c4922640a52a6f7426536ea669ef18a1d9af5 | 8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f | refs/heads/master | 1,685,732,780,391 | 1,672,962,627,000 | 1,673,459,398,000 | 373,307,283 | 0 | 0 | Apache-2.0 | 1,691,316,730,000 | 1,622,669,271,000 | Lean | UTF-8 | Lean | false | false | 1,867 | lean | class Vec (X : Type u)
class IsLin {X Y} [Vec X] [Vec Y] (f : X → Y)
structure ℝ where
value : Float
instance instFoo1 {X : Type u} {Y : Type v} [Vec X] [Vec Y] : Vec (X × Y) := sorry
instance instProblem {α : Type u} {X : Type v} [Vec X] : Vec (α → X) := sorry
instance (priority := default+1) instFoo2 : Vec ℝ :=... |
9d051a5347415d3118be2303e2fecdc790e7f18a | 217bb195841a8be2d1b4edd2084d6b69ccd62f50 | /library/init/data/list/basic.lean | e658d5c24a29647bb620a48ca9d7be57254179a0 | [
"Apache-2.0"
] | permissive | frank-lesser/lean4 | 717f56c9bacd5bf3a67542d2f5cea721d4743a30 | 79e2abe33f73162f773ea731265e456dbfe822f9 | refs/heads/master | 1,589,741,267,933 | 1,556,424,200,000 | 1,556,424,281,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,989 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import init.core init.data.nat.basic
open Decidable List
universes u v w
instance (α : Type u) : Inhabited (List α) :=
⟨List.nil⟩
variables {α : T... |
23405e6b060c5f37dead60c09c63bf87384fd387 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/logic/function/basic.lean | beb9d534798ad2d54709986fec79946428540a5e | [
"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 | 35,650 | lean | /-
Copyright (c) 2016 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.option.defs
import logic.nonempty
import tactic.cache
/-!
# Miscellaneous function constructions and lemmas
> THIS FILE IS SYNCHRONIZED ... |
81cfc3f6dd56844d87a5c2079387916fc532942e | 556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e | /src/starkware/cairo/common/bitwise_spec.lean | 419406db900461841125c4a19f6b94e3011ba5d4 | [] | permissive | starkware-libs/formal-proofs | d6b731604461bf99e6ba820e68acca62a21709e8 | f5fa4ba6a471357fd171175183203d0b437f6527 | refs/heads/master | 1,691,085,444,753 | 1,690,507,386,000 | 1,690,507,386,000 | 410,476,629 | 32 | 9 | Apache-2.0 | 1,690,506,773,000 | 1,632,639,790,000 | Lean | UTF-8 | Lean | false | false | 562 | lean | /-
File: bitwise_spec.lean
Use this file to write specifications for functions, and prove that the compiler-generated
specifications imply them.
User input should be between comment lines that begin USER_INPUT and USER_END.
-/
import .verification.bitwise_prelude
namespace starkware.cairo.common.bitwise
variables... |
c43bdc95d473fb78459f0ddfb9be7e8bd1f856f8 | 54d7e71c3616d331b2ec3845d31deb08f3ff1dea | /library/init/meta/mk_inhabited_instance.lean | 9687e05c9f5616593af9b52c461bd55934453e5a | [
"Apache-2.0"
] | permissive | pachugupta/lean | 6f3305c4292288311cc4ab4550060b17d49ffb1d | 0d02136a09ac4cf27b5c88361750e38e1f485a1a | refs/heads/master | 1,611,110,653,606 | 1,493,130,117,000 | 1,493,167,649,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,684 | 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
Helper tactic for showing that a type has decidable equality.
-/
prelude
import init.meta.contradiction_tactic init.meta.constructor_tactic
import init.meta.i... |
cdc2bcda48456f3afa7f4507ebfe8940d15f27f3 | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/data/equiv/basic.lean | 14dbf1bbabd4c7f669e7df80e43c1de39436db20 | [
"Apache-2.0"
] | permissive | anthony2698/mathlib | 03cd69fe5c280b0916f6df2d07c614c8e1efe890 | 407615e05814e98b24b2ff322b14e8e3eb5e5d67 | refs/heads/master | 1,678,792,774,873 | 1,614,371,563,000 | 1,614,371,563,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 93,406 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Mario Carneiro
-/
import data.set.function
/-!
# Equivalence between types
In this file we define two types:
* `equiv α β` a.k.a. `α ≃ β`: a bijective map ... |
cdc6a418023a34ddf39ab8f49c4b032363156c02 | b147e1312077cdcfea8e6756207b3fa538982e12 | /data/multiset.lean | b7f0e7a74c3bd67dcd8991e41e4f5f4b2c22abfb | [
"Apache-2.0"
] | permissive | SzJS/mathlib | 07836ee708ca27cd18347e1e11ce7dd5afb3e926 | 23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29 | refs/heads/master | 1,584,980,332,064 | 1,532,063,841,000 | 1,532,063,841,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 109,886 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Multisets.
-/
import logic.function order.boolean_algebra
data.list.basic data.list.perm data.list.sort data.quot data.string
algebra.order_functions algebra.... |
59fdf94652e685424e9b5ff0b7cb4ec85232683c | 6dc0c8ce7a76229dd81e73ed4474f15f88a9e294 | /src/Init/Data/Nat/Bitwise.lean | 3ffe5e8be8a4e429b8e7c67f62e6ba65631e30cc | [
"Apache-2.0"
] | permissive | williamdemeo/lean4 | 72161c58fe65c3ad955d6a3050bb7d37c04c0d54 | 6d00fcf1d6d873e195f9220c668ef9c58e9c4a35 | refs/heads/master | 1,678,305,356,877 | 1,614,708,995,000 | 1,614,708,995,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 767 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Data.Nat.Basic
import Init.Data.Nat.Div
import Init.Coe
namespace Nat
partial def bitwise (f : Bool → Bool → Bool) (n m : Nat) : Nat :... |
899ece00443b9564ed4d86b96f7bd02a76bc4c23 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/local_extr.lean | ed73d7aeb1c31eb7e980efdb97c0c56528100ebd | [
"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 | 19,818 | lean | /-
Copyright (c) 2019 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import order.filter.extr
import topology.continuous_on
/-!
# Local extrema of functions on topological spaces
## Main definitions
This file defines special versi... |
d9a9746b0657e40c52389d0658fd8dd062c39cf6 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Data/Trie.lean | 848284eb2266dad5bace7eb699703cf968ccf092 | [
"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,247 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Sebastian Ullrich, Leonardo de Moura
Trie for tokenizing the Lean language
-/
import Lean.Data.Format
namespace Lean
namespace Parser
inductive Trie (α : Type) where
| Node ... |
6d57d73d5416c8b455f7ae04ebf11e8e3b2f3b10 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/tactic/has_variable_names.lean | 19ada9a64fd9ac5a18a958bd3235a62845de97ec | [
"Apache-2.0"
] | permissive | jjgarzella/mathlib | 96a345378c4e0bf26cf604aed84f90329e4896a2 | 395d8716c3ad03747059d482090e2bb97db612c8 | refs/heads/master | 1,686,480,124,379 | 1,625,163,323,000 | 1,625,163,323,000 | 281,190,421 | 2 | 0 | Apache-2.0 | 1,595,268,170,000 | 1,595,268,169,000 | null | UTF-8 | Lean | false | false | 4,944 | lean | /-
Copyright (c) 2020 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
import tactic.core
/-!
# A tactic for type-based naming of variables
When we name hypotheses or variables, we often do so in a type-directed fashion:
a hypothesis ... |
de04b1bab796e34906ce888aebe76774251a9d01 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/category_theory/limits/final.lean | 058c9d6e88d703473ec6bfb27869949066b4dd51 | [
"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 | 20,696 | 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.punit
import category_theory.structured_arrow
import category_theory.is_connected
import category_theory.limits.yoneda
import category_theory.l... |
7cdb3ca0ceadbe81252bc404c1b75186d761c502 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/logic/basic.lean | 6ad7e7a1345884ee53158a78b546a84a9646b052 | [
"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 | 35,333 | 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
-/
import tactic.doc_commands
/-!
# Basic logic properties
This file is one of the earliest imports in mathlib.
## Implementation notes
Theorems th... |
8dbebb579721f2c9963f7baceab5ef396b5247aa | abd85493667895c57a7507870867b28124b3998f | /src/group_theory/congruence.lean | 6cf2bb125b15528401b83a0662c021e601cad6b3 | [
"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 | 42,774 | lean | /-
Copyright (c) 2019 Amelia Livingston. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Amelia Livingston
-/
import data.setoid.basic
import algebra.pi_instances
/-!
# Congruence relations
This file defines congruence relations: equivalence relations that preserve a ... |
21b075400fbfc1b038db84ed1fe6da19e1eda595 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /tests/lean/run/matchNoPostponing.lean | 39c3da469da693530a32550e57070e48ca8679cf | [
"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 | 635 | lean | #lang lean4
/- In the following example, type of `x` and `y` could be any type `α` s.t. `[OfNat α]`.
It relies on `SyntheticMVarKind.withDefault` to set `α := Nat`.
Moreover, we must commit to `α := Nat` before we try to build de `matcher` since
`mkMatcher` assumes `matchType` does not contain metavariables.
... |
f7dec126ef9380181df8c07163d9132615ea8762 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/rquote.lean | f2cca2bf068e14cf94ce82b59bfab4b15ef197be | [
"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 | 368 | lean | --
constant nat.gcd : nat → nat → nat
namespace foo
constant f : nat → nat
constant g : nat → nat
end foo
namespace boo
constant f : nat → nat
end boo
open foo boo
check ``f
check ``g
open nat
check ``add
check ``gcd
check `f
check `foo.f
namespace bla
section
parameter A : Type
definition ID : A → A :=... |
518028702fc8ab7da28b2f90163db203b2646809 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/data/polynomial/field_division.lean | 2062f9a51da4c9b1c7d8008755216914fa342f53 | [
"Apache-2.0"
] | permissive | lacker/mathlib | f2439c743c4f8eb413ec589430c82d0f73b2d539 | ddf7563ac69d42cfa4a1bfe41db1fed521bd795f | refs/heads/master | 1,671,948,326,773 | 1,601,479,268,000 | 1,601,479,268,000 | 298,686,743 | 0 | 0 | Apache-2.0 | 1,601,070,794,000 | 1,601,070,794,000 | null | UTF-8 | Lean | false | false | 14,544 | 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.ring_division
import data.polynomial.derivative
import algebra.gcd_monoid
/-!
# Theory of univari... |
a27f9641c4a3bf55ebe8086a221b89b2c5d97aec | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/group_theory/free_abelian_group_finsupp.lean | 4eaefccabea1f4c19c723e38208b30a3dbdd1d5e | [
"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 | 7,031 | 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 algebra.hom.equiv.type_tags
import algebra.module.equiv
import data.finsupp.defs
import group_theory.free_abelian_group
import group_theory.is_free_group
impo... |
2319206d10a3281c9c02a840770bb82899bf0b53 | c9e78e68dc955b2325401aec3a6d3240cd8b83f4 | /src/fcs.lean | 7f73fde215474036457d75085fb10b4c653eb696 | [] | no_license | loganrjmurphy/lean-strategies | 4b8dd54771bb421c929a8bcb93a528ce6c1a70f1 | 832ea28077701b977b4fc59ed9a8ce6911654e59 | refs/heads/master | 1,682,732,168,860 | 1,621,444,295,000 | 1,621,444,295,000 | 278,458,841 | 3 | 0 | null | 1,613,755,728,000 | 1,594,324,763,000 | Lean | UTF-8 | Lean | false | false | 1,411 | lean | import LTS
inductive S
| Clean_Non_hazardous_No_object
| Clean_Non_hazardous_Has_object
| Grimy_Non_hazardous_No_object
| Grimy_Non_hazardous_Has_object
| Damaged
open S
inductive A
| Add_object_2
| Dirty_tile
| Vacuum_object_2
| Clean_tile_1
| Add_object_1
| Vacuum_object_1
| Clean_tile_4
| Clean_tile_2
| Clean_tile... |
4503e8c5f816c5dee294aad7ab495b7dd1de4d95 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/dynamics/ergodic/add_circle.lean | 18955e864bfe824eed62f8e935d4d76931a30dd3 | [
"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 | 7,635 | lean | /-
Copyright (c) 2022 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import measure_theory.group.add_circle
import dynamics.ergodic.ergodic
import measure_theory.covering.density_theorem
import data.set.pointwise.iterate
/-!
# Ergodic maps ... |
45254ab6cd81a10e844cecc2cdb6382ae93ee495 | b04370a335fa89c708a3d43678d79c1f61aa24c7 | /library/init/data/set.lean | 257b5af43fadfc0464549fea9068e65e22ed2de3 | [
"Apache-2.0"
] | permissive | jalex-stark/lean | 9b97cd8b0eb970ab0d4cdbc7b4dd57645f33a92c | 85ba44431d77c8222342c7616f0bfa98fba88368 | refs/heads/master | 1,664,328,815,754 | 1,590,514,885,000 | 1,590,514,885,000 | 267,196,280 | 0 | 0 | null | 1,590,544,752,000 | 1,590,544,752,000 | null | UTF-8 | Lean | false | false | 2,520 | 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.interactive
import init.control.lawful
universes u v
def set (α : Type u) := α → Prop
def set_of {α : Type u} (p : α → Prop) : se... |
3e849e38f95db5827a1e9d3b64e53857d8ea69dc | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/field_theory/finite/basic.lean | dd09f1d309fab353b8e0f37c93e5ccbf7faa8868 | [
"Apache-2.0"
] | permissive | anthony2698/mathlib | 03cd69fe5c280b0916f6df2d07c614c8e1efe890 | 407615e05814e98b24b2ff322b14e8e3eb5e5d67 | refs/heads/master | 1,678,792,774,873 | 1,614,371,563,000 | 1,614,371,563,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,473 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Joey van Langen, Casper Putz
-/
import tactic.apply_fun
import data.equiv.ring
import data.zmod.basic
import linear_algebra.basis
import ring_theory.integral_domain
import ... |
bca5fe7a93340a5723d2070c77ea853d9b3e466c | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /test/mllist.lean | fddc094e01824270f891c13fc3686e9e70781480 | [
"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,565 | 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 data.mllist
@[reducible] def S (α : Type) := state_t (list nat) option α
def append (x : nat) : S unit :=
{ run := λ s, some ((), x :: s) }
def F : nat → S n... |
c5161e3f937b431b8bfe5a402324daed72ef6820 | 367134ba5a65885e863bdc4507601606690974c1 | /src/topology/compacts.lean | 6d2010737a0520d483f8437fb7225f3488d3e961 | [
"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,452 | 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 topology.homeomorph
/-!
# Compact sets
## Summary
We define the subtype of compact sets in a topological space.
## Main Definitions
- `closeds α` is th... |
b0091df83dfb8f8e5de37f19a6b2040ff1178b50 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/data/int/basic.lean | 8e28bae5088a356d01c39f2e44540347ab8767e6 | [] | 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 | 13,505 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.data.nat.lemmas
import Mathlib.Lean3Lib.init.data.nat... |
0b74743518990e3dd8499bf29e0aeabe8b420518 | fe84e287c662151bb313504482b218a503b972f3 | /src/algebraic_topology/homotopy_theory/stable_homotopy/spectra.lean | 96c1b92aa3b2c6a900cdd4eacb42a8f1bd29ec1c | [] | no_license | NeilStrickland/lean_lib | 91e163f514b829c42fe75636407138b5c75cba83 | 6a9563de93748ace509d9db4302db6cd77d8f92c | refs/heads/master | 1,653,408,198,261 | 1,652,996,419,000 | 1,652,996,419,000 | 181,006,067 | 4 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 425 | lean | import category_theory.category.basic
import category_theory.limits.shapes.products
open category_theory
namespace algebraic_topology
namespace homotopy_theory
namespace stable_homotopy
structure AXIOMATIC_Spectra :=
(objects : Type)
(category : category.{1} objects)
(sphere : ℤ → objects)
/- Many more fields -/
c... |
d23a8a93a3804ba73f125cc8636534b05559ed1d | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/algebra/associated.lean | 28425555c122b6795fdd5d9e97434d9c92ddb6a8 | [
"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 | 28,837 | 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, Jens Wagemaker
-/
import data.multiset.basic
import algebra.divisibility
import algebra.invertible
/-!
# Associated, prime, and irreducible elements.
-/
variables {α ... |
a50e01294a4a705b4cedcb6a273f1cda7a27d1ef | ba306bac106b8f27befb2a800f4357237f86c760 | /lean/love13_rational_and_real_numbers_demo.lean | c69bff86cf94b0a7d7614433c22e4ab261599391 | [] | no_license | qyqnl/logical_verification_2020 | 406aa4cc47797501275ea07de5d6f59f01e977d0 | 17dff35b56336acb671ddfb36871f98475bc0b96 | refs/heads/master | 1,672,501,336,112 | 1,603,724,260,000 | 1,603,724,260,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 13,977 | lean | import .lovelib
/- # LoVe Demo 13: Rational and Real Numbers
We review the construction of `ℚ` and `ℝ` as quotient types.
A procedure to construct types with specific properties:
1. Create a new type that can represent all elements, but not necessarily in a
unique manner.
2. Quotient this representation, equat... |
541cd033c5d5185dbe3c5ba14ac83aeb9d6153d6 | 5bf112cf7101c6c6303dc3fd0b3179c860e61e56 | /design/transition_systems.lean | a943e57787e1de86bf9357b56a6bc265a4794b39 | [
"Apache-2.0"
] | permissive | fredfeng/formal-encoding | 7ab645f49a553dfad2af03fcb4289e40fc679759 | 024efcf58672ac6b817caa10dfe8cd9708b07f1b | refs/heads/master | 1,597,236,551,123 | 1,568,832,149,000 | 1,568,832,149,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,931 | lean | /-
Design challenge: how to represent problems about transition systems.
---------------------------------------------------------------------
[IMO 2019, Problem 3] involves a discrete-time transition system that
is non-deterministic, and the question asks whether there exists a
sequence of transitions with a particul... |
8d9097242acd7d4bb5d3dce0ddf40630b8cef1a5 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Linter/MissingDocs.lean | 672f896cdffcce3e46ec05b1151fb24c69402e33 | [
"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 | 10,310 | lean | /-
Copyright (c) 2022 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import Lean.Meta.Tactic.Simp.SimpTheorems
import Lean.Elab.Command
import Lean.Elab.SetOption
import Lean.Linter.Util
namespace Lean.Linter
open Elab.Command Parser... |
992fd34da2dd03f8ac6208b28d8b1c77df48e641 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/finset/nat_antidiagonal.lean | 71d3d61abebd2d1af272a3c39016698888b5e149 | [] | 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,580 | lean | /-
Copyright (c) 2019 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.finset.basic
import Mathlib.data.multiset.nat_antidiagonal
import Mathlib.PostPort
na... |
266c5f1420b5fcc7aaf82c73ed9dabcbbb1e72d6 | 6b2d795ffb2bd5090156ce3a22ed770709328526 | /Untitled-2.lean | 0f79749bf237d519babcd56233ec0d4798373254 | [] | no_license | sb7297/lean-exercises | e870fcd83a82d680fca92604238d89d9a797bd5b | d68a90b8db7fb3917c5526ddd001975b206c9a8c | refs/heads/master | 1,584,492,072,270 | 1,526,775,357,000 | 1,526,775,357,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,459 | lean | variables p q r s : Prop
theorem allah : ¬p ∨ ¬q → ¬(p ∧ q) :=
assume h₁ : ¬p ∨ ¬q,
h₁.elim
(assume hnp : ¬p,
assume hpq : p ∧ q,
absurd hpq.left hnp)
(assume hnq : ¬q,
assume hpq : p ∧ q,
absurd hpq.right hnq)
theorem yhwh : ¬(p ∧ ¬p) :=
assume hpnp : p ∧ ¬p,
absurd hpnp.left hpnp.right
theo... |
b5f1e88a1c6685be6968bdb3d98789f2826a31f0 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/linear_algebra/linear_pmap.lean | e4e6ed7758d76ae818a6e5d1269726e63adf0bba | [] | 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 | 16,909 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.linear_algebra.basic
import Mathlib.PostPort
universes u v w l u_1 u_2 u_3 u_4
namespac... |
efb8af515e5dc19b89b2356501af0d2e1a844cc8 | 690889011852559ee5ac4dfea77092de8c832e7e | /src/topology/metric_space/hausdorff_distance.lean | 0f3317958198809ab015dd8739ce89cd2be4ead6 | [
"Apache-2.0"
] | permissive | williamdemeo/mathlib | f6df180148f8acc91de9ba5e558976ab40a872c7 | 1fa03c29f9f273203bbffb79d10d31f696b3d317 | refs/heads/master | 1,584,785,260,929 | 1,572,195,914,000 | 1,572,195,913,000 | 138,435,193 | 0 | 0 | Apache-2.0 | 1,529,789,739,000 | 1,529,789,739,000 | null | UTF-8 | Lean | false | false | 32,239 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Sébastien Gouëzel
The Hausdorff distance on subsets of a metric (or emetric) space.
Given two subsets `s` and `t` of a metric space, their Hausdorff distance is the smallest `d`
such... |
ada3c07e4343221d41bfbc8c477ad134c95d5459 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/inductive_nonrec_after_rec.lean | 3136f1f0875c985c063c662ffe2ce3e8da8b0955 | [
"Apache-2.0"
] | permissive | bre7k30/lean | de893411bcfa7b3c5572e61b9e1c52951b310aa4 | 5a924699d076dab1bd5af23a8f910b433e598d7a | refs/heads/master | 1,610,900,145,817 | 1,488,006,845,000 | 1,488,006,845,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,011 | lean | universe variables u
inductive tree (α : Type u)
| leaf {} : tree
| node : tree → α → tree → tree
open tree
def tree.size {α : Type u} : tree α → nat
| leaf := 0
| (node l a r) := tree.size l + tree.size r + 1
vm_eval tree.size (@leaf nat)
vm_eval tree.size (tree.node leaf 1 leaf)
vm_eval tree.size (tree.node (t... |
5fdc0f6356d4f386079e4cd3c4af8823d606ec9d | 137c667471a40116a7afd7261f030b30180468c2 | /src/algebra/algebra/basic.lean | 99d6d20dab004c8259673efd8d31c3349abb677a | [
"Apache-2.0"
] | permissive | bragadeesh153/mathlib | 46bf814cfb1eecb34b5d1549b9117dc60f657792 | b577bb2cd1f96eb47031878256856020b76f73cd | refs/heads/master | 1,687,435,188,334 | 1,626,384,207,000 | 1,626,384,207,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 61,501 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Yury Kudryashov
-/
import tactic.nth_rewrite
import data.matrix.basic
import data.equiv.ring_aut
import linear_algebra.tensor_product
import ring_theory.subring
import deprecated... |
035e029835ae51fd46b2045f1fd6227e1d79cef8 | 2bafba05c98c1107866b39609d15e849a4ca2bb8 | /src/week_5/solutions/Part_B_topology.lean | 8fa03a68710643e60b436da97b01792c9699d7ff | [
"Apache-2.0"
] | permissive | ImperialCollegeLondon/formalising-mathematics | b54c83c94b5c315024ff09997fcd6b303892a749 | 7cf1d51c27e2038d2804561d63c74711924044a1 | refs/heads/master | 1,651,267,046,302 | 1,638,888,459,000 | 1,638,888,459,000 | 331,592,375 | 284 | 24 | Apache-2.0 | 1,669,593,705,000 | 1,611,224,849,000 | Lean | UTF-8 | Lean | false | false | 7,487 | lean | import topology.subset_properties
variables (X Y : Type) [topological_space X] [topological_space Y] (f : X → Y)
open filter set
open_locale filter -- for 𝓟
open_locale topological_space -- for 𝓝
/-
## Neighbourhood filters
If `α` is a topological space and `a : α` then `𝓝 a` is the following
filter on `α`: `... |
fc033bba77959b727b3ba54d664b8a9a89a82269 | d7189ea2ef694124821b033e533f18905b5e87ef | /galois/data/tree.lean | edecaa2a7ea8ea61301eceb27a2429105eb66706 | [
"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 | 2,163 | lean | import galois.list
namespace tree
inductive tree (α : Type ) : Type
| node : α → list tree → tree
open tree
def isLeaf {α : Type} : tree α -> bool
| (tree.node _ [] ) := true
| _ := false
def rootitem {a : Type } : tree a -> a
| (tree.node i _) := i
def childitems {a : Type} : tree a -> list a
| (tree.node i cs) :... |
5f6392418e5b322a42a5c2b5d9455e49f2ff2c52 | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /tests/lean/run/eq14.lean | 11552c6a3619ac3eb9d81b97e1a1feec98e0ecbd | [
"Apache-2.0"
] | permissive | tjiaqi/lean | 4634d729795c164664d10d093f3545287c76628f | d0ce4cf62f4246b0600c07e074d86e51f2195e30 | refs/heads/master | 1,622,323,796,480 | 1,422,643,069,000 | 1,422,643,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 464 | lean | open nat decidable
definition has_decidable_eq : ∀ a b : nat, decidable (a = b),
has_decidable_eq 0 0 := inl rfl,
has_decidable_eq (a+1) 0 := inr (λ h, nat.no_confusion h),
has_decidable_eq 0 (b+1) := inr (λ h, nat.no_confusion h),
has_decidable_eq (a+1) (b+1) :=
if H : a = b
then inl (eq.rec_on H ... |
c47083937e96b5cbdb702e2a1881597a58cf9077 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Meta/Tactic/SplitIf.lean | 0bba1d84d03634b9e0e950148f2f866de8ccdaba | [
"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 | 4,484 | lean | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.LazyInitExtension
import Lean.Meta.Tactic.Cases
import Lean.Meta.Tactic.Simp.Main
namespace Lean.Meta
namespace SplitIf
builtin_initialize ext... |
1a163300818c76c87c6136f09f7ea823d8b0d325 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/topology/algebra/module/finite_dimension.lean | 9506339c031a1b6b72e30e69dc8734e6b35ac4bf | [
"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 | 18,356 | lean | /-
Copyright (c) 2022 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Anatole Dedecker
-/
import analysis.locally_convex.balanced_core_hull
/-!
# Finite dimensional topological vector spaces over complete fields
Let `𝕜` be a nondi... |
1f6376ac88c00b0e9b87bcb209877cb3305983ff | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/measure_theory/hausdorff_measure.lean | 2f9e3f925978cac9c166c6352a6b8bafa380aaa4 | [
"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 | 27,567 | 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 topology.metric_space.metric_separated
import measure_theory.borel_space
import analysis.special_functions.pow
/-!
# Hausdorff measure and metric (outer) me... |
aa4b4befe64dcdd7c04226c58489cd2e6ee8116d | bab2ace2b909818f20ac125499a8dd88ce812721 | /src/2020/relations/equiv_partition2.lean | 1d8ba4a222f8d097b5e38a4fe29ebb7f9daf1430 | [] | no_license | LaplaceKorea/M40001_lean | 8a3cd411fb821a7665132c09e436f02f674cc666 | 116e9ed1fadf59dc2e78376fca92026859a03bf2 | refs/heads/master | 1,693,347,195,820 | 1,635,517,507,000 | 1,635,517,507,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,792 | lean | import data.equiv.basic
import tactic
/-
data.equiv.basic is the import which gives you the type `equiv X Y`, the type o
f
bijections from X to Y.
Here's the definition of equiv from that file.
structure equiv (α : Sort*) (β : Sort*) :=
(to_fun : α → β)
(inv_fun : β → α)
(left_inv : left_inverse inv_fun to_... |
d41851873bd61f56f9dafa87650324232096a284 | acc85b4be2c618b11fc7cb3005521ae6858a8d07 | /data/list/perm.lean | 94ea50610456f555fe119d2dd4db9a9f5b3e8983 | [
"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 | 18,149 | 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
List permutations.
-/
import data.list.basic
namespace list
universe variables uu vv
variables {α : Type uu} {β : Type vv}
in... |
474b668ea7a2bd14c4738797eb0221ed85a87f93 | 82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7 | /stage0/src/Lean/Meta/Match/CaseValues.lean | 82bcca4affbb1fa8e98cc656d8707a025dc63315 | [
"Apache-2.0"
] | permissive | banksonian/lean4 | 3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc | 78da6b3aa2840693eea354a41e89fc5b212a5011 | refs/heads/master | 1,673,703,624,165 | 1,605,123,551,000 | 1,605,123,551,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,522 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Meta.Tactic.Subst
import Lean.Meta.Tactic.Clear
namespace Lean.Meta
structure CaseValueSubgoal :=
(mvarId : MVarId)
(newH : FVarId)
(s... |
e72bf992d4ff14dedaff4f6e9867ce89fcaf650e | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/lazySeq.lean | 98ba052ed0e91ca5c7fd0ca23d4ab691ba9bf1f2 | [
"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 | 300 | lean | partial def loop (x : Nat) : Nat :=
dbg_trace x
loop (x+1) + 1
def act1 : IO Unit :=
throw (IO.userError "act1 failed")
def act2 : IO Unit :=
act1 *> IO.println (loop 0) -- `loop 0` should not be executed
def act3 : IO Unit :=
try act2 catch ex => IO.println s!"error: {ex}"
#eval act3
|
45da651cf3fcd188fe26a367b9cbfc18ad760679 | de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41 | /old/override/luminousIntensityOverride.lean | 7c94a745fcb6706240d637b369551454389fdb9b | [] | no_license | kevinsullivan/lang | d3e526ba363dc1ddf5ff1c2f36607d7f891806a7 | e9d869bff94fb13ad9262222a6f3c4aafba82d5e | refs/heads/master | 1,687,840,064,795 | 1,628,047,969,000 | 1,628,047,969,000 | 282,210,749 | 0 | 1 | null | 1,608,153,830,000 | 1,595,592,637,000 | Lean | UTF-8 | Lean | false | false | 852 | lean | import ..imperative_DSL.environment
import ..eval.luminousIntensityEval
open lang.classicalLuminousIntensity
def assignLuminousIntensitySpace : environment.env → lang.classicalLuminousIntensity.spaceVar → lang.classicalLuminousIntensity.spaceExpr → environment.env
| i v e :=
{
li:={sp := (λ r,
... |
e2eed02e2266bc62ba141546af6feb1ff3bc3868 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/geometry/euclidean/angle/unoriented/conformal.lean | d19eca5cf0dd6ae3e666216a7a19512281aefac2 | [
"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 | 1,180 | lean | /-
Copyright (c) 2021 Yourong Zang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yourong Zang
-/
import analysis.calculus.conformal.normed_space
import geometry.euclidean.angle.unoriented.basic
/-!
# Angles and conformal maps
This file proves that conformal maps pr... |
a656db0acfbe794c2cbc047cd94cc2628825911b | 61ccc57f9d72048e493dd6969b56ebd7f0a8f9e8 | /src/data/zmod/basic.lean | 4fc70758abc23e7d33b4470d6626e80fd699a994 | [
"Apache-2.0"
] | permissive | jtristan/mathlib | 375b3c8682975df28f79f53efcb7c88840118467 | 8fa8f175271320d675277a672f59ec53abd62f10 | refs/heads/master | 1,651,072,765,551 | 1,588,255,641,000 | 1,588,255,641,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 24,737 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Chris Hughes
-/
import data.int.modeq
import algebra.char_p
import data.nat.totient
/-!
# Integers mod `n`
Definition of the integers mod n, and the field structure on the integers mod... |
1f627fe085c405050f90b652334cce346bc1f97a | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/instances/sign.lean | 5ed4798f7a5bb295fb5768419d2ccbb89b006504 | [
"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,553 | lean | /-
Copyright (c) 2022 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers
-/
import data.sign
import topology.algebra.order.basic
/-!
# Topology on `sign_type`
This file gives `sign_type` the discrete topology, and proves continuity results for ... |
4fe827520b7338e02177d659fe03527915ebaa02 | f5f7e6fae601a5fe3cac7cc3ed353ed781d62419 | /src/category_theory/discrete_category.lean | a138d114b06b29db913bb8825ec83a702697a56f | [
"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 | 1,711 | 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 data.ulift
import category_theory.natural_transformation
import category_theory.isomorphism
import category_theory.functor_category
namesp... |
30aa861a7ebd76463d8890a23e1c9fb6e659dec2 | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/field_theory/finite/polynomial.lean | 1373a281dc8847b5538db9fea7a9515a2edf4faf | [
"Apache-2.0"
] | permissive | hamdysalah1/mathlib | b915f86b2503feeae268de369f1b16932321f097 | 95454452f6b3569bf967d35aab8d852b1ddf8017 | refs/heads/master | 1,677,154,116,545 | 1,611,797,994,000 | 1,611,797,994,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,506 | lean | /-
Copyright (c) 2020 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import field_theory.finite.basic
import field_theory.mv_polynomial
import data.mv_polynomial.expand
import linear_algebra.basic
/-!
## Polynomials over finite field... |
5bd418eff38fb71bd95228395d2f742a8fb1d6bd | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/analysis/convex/combination.lean | 9955898d66203c369f83f85cc43aa58f8420bbda | [
"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 | 21,247 | lean | /-
Copyright (c) 2019 Yury Kudriashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudriashov
-/
import algebra.big_operators.order
import analysis.convex.hull
import linear_algebra.affine_space.basis
/-!
# Convex combinations
This file defines convex combina... |
be449c1e4433b6bb2231a436220ecd2d97c55076 | 969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb | /src/geometry/manifold/times_cont_mdiff_map.lean | dc917d17e3ce4ca407c2549cb693638058ee594d | [
"Apache-2.0"
] | permissive | SAAluthwela/mathlib | 62044349d72dd63983a8500214736aa7779634d3 | 83a4b8b990907291421de54a78988c024dc8a552 | refs/heads/master | 1,679,433,873,417 | 1,615,998,031,000 | 1,615,998,031,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,682 | lean | /-
Copyright © 2020 Nicolò Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Nicolò Cavalleri.
-/
import geometry.manifold.times_cont_mdiff
import topology.continuous_map
/-!
# Smooth bundled map
In this file we define the type `times_cont_mdiff_map` of `n` t... |
8457ae1aebc6adc99e7700d9f700b6c7c025ccb1 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/norm.lean | 5a8687eeb9bad788c4202e3389c664271d9a7a8a | [
"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 | 15,259 | 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 field_theory.primitive_element
import linear_algebra.determinant
import linear_algebra.finite_dimensional
import linear_algebra.matrix.charpoly.minpoly
import linea... |
8df95e58d9fb7dda0ccf4acc469cf9f7758ca366 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/number_theory/legendre_symbol/jacobi_symbol.lean | 3f0528362dc0d365b4e334c8b79c7ed53861bafa | [
"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 | 17,579 | 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 number_theory.legendre_symbol.quadratic_reciprocity
import data.zmod.coprime
/-!
# The Jacobi Symbol
We define the Jacobi symbol and prove its main properties.... |
b658278a33fb989acf5c0b5c3be8b97fe8cb8508 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/limits/is_limit.lean | ddf48549dac02a8158f462688a7ee0975df672fe | [
"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 | 38,314 | 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.adjunction.basic
import category_theory.limits.cones
/-!
# Limits and colimits
> THIS FILE IS ... |
2d73a3d613782edc76b1f3b986ed0473983cfef9 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/fintype/vector.lean | ab666e810558305e7c72ffa01402fda0fc800def | [
"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 | 745 | 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.fintype.pi
import data.sym.basic
/-!
# `vector α n` and `sym α n` are fintypes when `α` is.
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to ... |
420987101006acb5d844e4ef7733e9df72cf02ee | 94e33a31faa76775069b071adea97e86e218a8ee | /src/algebra/order/smul.lean | fb28df08941edc5f178596dd6de11280e29d52be | [
"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 | 8,394 | 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 algebra.order.field
import algebra.smul_with_zero
import group_theory.group_action.group
/-!
# Ordered scalar product
In this file we define
* `ordered_s... |
e7d0d7e6083ea49e8a59bb6b648c6f2dc2ebbf2c | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/analysis/calculus/times_cont_diff.lean | 65a66882f2213ebb6969050a5c9e4f4f5ff7823a | [
"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 | 143,056 | 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.normed_space.multilinear
/-!
# Higher differentiability
A function is `C^1` on a domain if it is different... |
b1ba64e82e412e7d31095d6d44d79b4ffab8ff2e | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/measure_theory/measure/haar_lebesgue.lean | 6134d647b3f9051c2c88c3b4aaf2f3da84804ce0 | [
"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 | 43,899 | lean | /-
Copyright (c) 2021 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Sébastien Gouëzel
-/
import measure_theory.measure.lebesgue
import measure_theory.measure.haar
import linear_algebra.finite_dimensional
import analysis.normed_space... |
b6f96eba8d6ca4f3385121f2e5153207a83e7687 | 85a51a7a118db552510ddb311e53e7a8bba7b477 | /src/complements/filter_product.lean | 2635d6278e867fa85a6b8de72c231aad56d8e73b | [] | no_license | ADedecker/nonstandard | f0c1cac7482bb0dd48d2f2eb092f5262ff0fa2dc | c32f5e1d87cc9e6410d66cf3080fd8c4a47cf5e4 | refs/heads/master | 1,686,549,196,023 | 1,626,129,788,000 | 1,626,129,788,000 | 382,594,533 | 3 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,925 | lean | import order.filter.filter_product
import complements.germ
/-! # Complements on filter products -/
open ultrafilter filter function
namespace filter.germ
variables {ι α β : Type*} (l : ultrafilter ι)
local notation `∀*` binders `, ` r:(scoped p, filter.eventually p l) := r
local notation `α*` := (l : filter ι).ger... |
5e931eefd133a6a81be2a6fb4bd2d5698a9bf81a | 437dc96105f48409c3981d46fb48e57c9ac3a3e4 | /src/data/real/pi.lean | 18886a0c2dc472c8295c071fb83bcaade6fff513 | [
"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 | 10,597 | 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 analysis.special_functions.trigonometric
namespace real
variable (x : ℝ)
/-- the series `sqrt_two_add_series x n` is `sqrt(2 + sqrt(2 + ... ))` with `n` ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.