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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ee7d5f5d01881852ab13beb6fc0a11bad01ae5a | 5df84495ec6c281df6d26411cc20aac5c941e745 | /src/formal_ml/random_variable_independent_pair.lean | 0067aad5c173902d425990657738f3b40f3f30c1 | [
"Apache-2.0"
] | permissive | eric-wieser/formal-ml | e278df5a8df78aa3947bc8376650419e1b2b0a14 | 630011d19fdd9539c8d6493a69fe70af5d193590 | refs/heads/master | 1,681,491,589,256 | 1,612,642,743,000 | 1,612,642,743,000 | 360,114,136 | 0 | 0 | Apache-2.0 | 1,618,998,189,000 | 1,618,998,188,000 | null | UTF-8 | Lean | false | false | 14,677 | lean | /-
Copyright 2021 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... |
7c30a18ad0173510a9b21c811b8f663754d7f362 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/noequations.lean | 4aa7e93d5fdea0f6129d77b31cf5e5d4f4fc7b61 | [
"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 | 166 | lean | example : empty → false.
def f := empty → false
example : f.
def g := ∀ (a : nat) (h : a = a), @eq.rec nat a (λ x, Prop) (empty → false) a h
example : g.
|
ef44e244e9bec46f668286c9f85eedeb34655df2 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/algebra/category/Group/adjunctions.lean | 9727ba280d744ea4aba11c6112a0bf4893da768b | [
"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 | 4,037 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Johannes Hölzl
-/
import algebra.category.Group.basic
import group_theory.free_abelian_group
/-!
# Adjunctions regarding the category of (abelian) groups
This file co... |
9db542170cee67611844ea63e2f25ae8a3da451c | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Elab/BuiltinTerm.lean | 49b1c420e75069daa0c260f23527812cd8ebbe8f | [
"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 | 11,079 | 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.Elab.Term
namespace Lean.Elab.Term
open Meta
/-- The universe of propositions. `Prop ≡ Sort 0`. -/
@[builtinTermElab «prop»] def elabProp : Te... |
c49b2e3d758ca9ed2a0d7ec0ad2bb8bb0f9498d4 | 842b7df4a999c5c50bbd215b8617dd705e43c2e1 | /lean_test/src/test2.lean | b6e5ef4e097cc07190f1834aa9125220ab46a371 | [] | no_license | Samyak-Surti/LeanCode | 1c245631f74b00057d20483c8ac75916e8643b14 | 944eac3e5f43e2614ed246083b97fbdf24181d83 | refs/heads/master | 1,669,023,730,828 | 1,595,534,784,000 | 1,595,534,784,000 | 282,037,186 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 107 | lean | variables P Q : Prop
example : (P → Q) → (¬Q → ¬P) :=
begin
intro HPQ,
intro HnQ,
end |
b85c49186d089f35fe256e69574d92f7d6bd9f79 | 2a70b774d16dbdf5a533432ee0ebab6838df0948 | /_target/deps/mathlib/src/group_theory/solvable.lean | 21472fe2096ea39d4c2692a960b660d82cfc43d3 | [
"Apache-2.0"
] | permissive | hjvromen/lewis | 40b035973df7c77ebf927afab7878c76d05ff758 | 105b675f73630f028ad5d890897a51b3c1146fb0 | refs/heads/master | 1,677,944,636,343 | 1,676,555,301,000 | 1,676,555,301,000 | 327,553,599 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,930 | lean | /-
Copyright (c) 2021 Jordan Brown, Thomas Browning and Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jordan Brown, Thomas Browning and Patrick Lutz
-/
import group_theory.abelianization
import data.bracket
/-!
# Solvable Groups
In this file we introd... |
decc95eb981f70fc53774c7eef157319e02b7481 | 22e97a5d648fc451e25a06c668dc03ac7ed7bc25 | /src/measure_theory/measure_space.lean | 8bf40013e686c0388a03eae8f356c83610e3102d | [
"Apache-2.0"
] | permissive | keeferrowan/mathlib | f2818da875dbc7780830d09bd4c526b0764a4e50 | aad2dfc40e8e6a7e258287a7c1580318e865817e | refs/heads/master | 1,661,736,426,952 | 1,590,438,032,000 | 1,590,438,032,000 | 266,892,663 | 0 | 0 | Apache-2.0 | 1,590,445,835,000 | 1,590,445,835,000 | null | UTF-8 | Lean | false | false | 37,951 | 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
/-!
# Measure spaces
Measures are restricted to a measurable space (associated by the type class `measurable_spa... |
ad633969ddf00f2accda3e8938b13adeecde2cf5 | 5a6ff5f8d173cbfe51967eb4c96837e3a791fe3d | /mm0-lean/mm0/meta/basic.lean | 1adf041d23648c88b4badf46382db3f45bd08c19 | [
"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 | 1,201 | lean | namespace mm0
@[derive has_reflect]
structure sort_data := (pure strict provable free : bool := ff)
@[reducible] def ident := string
def dep_type := ident × list ident
@[derive has_reflect]
inductive sexpr : Type
| var : ident → sexpr
| const : ident → sexpr
| app : sexpr → sexpr → sexpr
def sexpr.apps' : sexpr → l... |
40788f86e0d7baadad7a13744db59f28cb95e4ac | b2fe74b11b57d362c13326bc5651244f111fa6f4 | /src/data/equiv/basic.lean | 5f4c8578b09abed6df758d56740df5a2e86d9e8a | [
"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 | 84,580 | 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 ... |
a502d18a328059842f8a41142d1ab168ff7ed4f5 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/run/class3.lean | ac7801fbdb82c4db20084e317e50f1bc61f03ee2 | [
"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 | 228 | lean | open tactic
section
variable {A : Type}
variable {B : Type}
variable Ha : inhabited A
variable Hb : inhabited B
include Ha Hb
theorem tst : inhabited (Prop × A × B) := by apply_instance
end
reveal tst
print tst
|
ed1644a591726b2083888037938be7b6dfa03e8c | 976d2334b51721ddc405deb2e1754016d454286e | /lean_at_mc2020_source/source/solutions/qquiz_2012_1.lean | 38bb18ed675b65aa7370fc042bc6ccb6d9bd5bc3 | [] | no_license | kbuzzard/lean-at-MC2020 | 11bb6ac9ec38a6caace9d5d9a1705d6794d9f477 | 1f7ca65a7ba5cc17eb49f525c02dc6b0e65d6543 | refs/heads/master | 1,668,496,422,317 | 1,594,131,838,000 | 1,594,131,838,000 | 277,877,735 | 0 | 0 | null | 1,594,142,006,000 | 1,594,142,005,000 | null | UTF-8 | Lean | false | false | 1,558 | lean | import data.nat.basic
import data.nat.parity
import data.int.basic
import tactic
@[ext]
structure frog :=
-- A frog hangs out on the natural number line of lily pads
(location : ℕ → ℕ)
-- At time 0, it sits on location 0
(location_zero : location 0 = 0)
-- For some fixed step size,
(step_size : ℕ)
-- t... |
41d9f59169074cfc10ffdd00ee533542a35c5f91 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/goals1.lean | a10ddda2b25ecd2ae4fb0f11645fc8cb579b48a4 | [
"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 | 180 | lean | prelude import logic.eq
open tactic
set_option pp.notation false
theorem foo (A : Type) (a b c : A) (Hab : a = b) (Hbc : b = c) : a = c :=
begin
apply eq.trans,
apply Hab
end
|
2218b73a093a432640064e6c1d0fc140d7054a64 | f57749ca63d6416f807b770f67559503fdb21001 | /library/theories/combinatorics/choose.lean | 263fd294104f21ae7090337a65b2c30fc167e8cf | [
"Apache-2.0"
] | permissive | aliassaf/lean | bd54e85bed07b1ff6f01396551867b2677cbc6ac | f9b069b6a50756588b309b3d716c447004203152 | refs/heads/master | 1,610,982,152,948 | 1,438,916,029,000 | 1,438,916,029,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,525 | lean | /-
Copyright (c) 2015 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
Binomial coefficients, "n choose k".
-/
import data.nat.div data.nat.fact data.finset
open decidable
namespace nat
/- choose -/
definition choose : ℕ → ℕ → ℕ
| 0 0 ... |
04eb05785cbb723b59798ec958247f02efdaee78 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/balanced.lean | 2053a3ef7ff26e220704e6b6e88b51edb5842e65 | [
"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,551 | lean | /-
Copyright (c) 2022 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel
-/
import category_theory.epi_mono
/-!
# Balanced categories
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to mathlib4... |
f360611cedfc0003e136f2833b53d0b4e48c700d | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/data/polynomial/ring_division.lean | c71ca2c76f280f9b343c2e8bd92e8a2a408b5722 | [
"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,969 | 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, Johan Commelin
-/
import data.polynomial.basic
import data.polynomial.div
import data.polynomial.algebra_map
import data.se... |
f93ad8598e16517577d01f7fbba9a5cd1337a77d | 9c1ad797ec8a5eddb37d34806c543602d9a6bf70 | /adjunction.1.lean | 8619edded4eba497f9cb18f19d0aebaaedabd9a5 | [] | 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,394 | 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 .adjunction
open tqft.categories
open tqft.categories.functor
open tqft.categories.natural_transformation
open tqft.categories.products
op... |
0392425dcfbc398b6fa9a9f5c52ba929fa047232 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/order/category/LinearOrder_auto.lean | 7395598a8be6a43e58fa496a498b39b956748c50 | [] | 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,372 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.order.category.PartialOrder
import Mathlib.PostPort
universes u_1
namespace Mathlib
/-!... |
0c679c9b58ea3d255ebab1bc3c5bf5ccf34b8ba4 | 5ae26df177f810c5006841e9c73dc56e01b978d7 | /src/data/holor.lean | 32678e8c85a209269266217607c3b632e0942a0e | [
"Apache-2.0"
] | permissive | ChrisHughes24/mathlib | 98322577c460bc6b1fe5c21f42ce33ad1c3e5558 | a2a867e827c2a6702beb9efc2b9282bd801d5f9a | refs/heads/master | 1,583,848,251,477 | 1,565,164,247,000 | 1,565,164,247,000 | 129,409,993 | 0 | 1 | Apache-2.0 | 1,565,164,817,000 | 1,523,628,059,000 | Lean | UTF-8 | Lean | false | false | 13,308 | lean | /-
Copyright (c) 2018 Alexander Bentkamp. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander Bentkamp
Basic properties of holors.
Holors are indexed collections of tensor coefficients. Confusingly,
they are often called tensors in physics and in the neural netw... |
6738d158df116ad2d30d6ce247a3da65635d185e | 94e33a31faa76775069b071adea97e86e218a8ee | /src/field_theory/intermediate_field.lean | 040923f34d75152fd68da2a240bef64decf0399c | [
"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 | 19,809 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import field_theory.subfield
import field_theory.tower
import ring_theory.algebraic
/-!
# Intermediate fields
Let `L / K` be a field extension, given as an instance `alg... |
d09fd8a6cdc7504cff4780b147044eb95f9484fe | a692b04bb3c0b87bd6a288cef6b9aa743f282a4e | /src/example_maze/definition.lean | fbefeda2649eaf2b5cf2b34e9c921c6ea1655610 | [] | no_license | jcommelin/maze-game | 7ae36abca3e06a1d5b4b66f487535f2af48ee239 | ac6457f205709b07cdac493b27da7d24895fd471 | refs/heads/master | 1,670,423,475,741 | 1,598,534,044,000 | 1,598,534,044,000 | 290,783,075 | 0 | 0 | null | 1,598,534,978,000 | 1,598,534,977,000 | null | UTF-8 | Lean | false | false | 2,321 | lean | /-
Ideas about a maze game, from the Xena Discord.
-/
import tactic -- I don't even know if I need this
/-
This is an example level of a puzzle game.
AB
CD
E
01
23
4
Can people write computer programs in Lean which solve
levels like this?
Can people write computer programs in Python which design
levels like this... |
7644e3932ffaa6681db5cd09d1f0e5ff1d846934 | 92b50235facfbc08dfe7f334827d47281471333b | /tests/lean/run/finset.lean | c2f9e74aeb1a582027b38be420f343360aa7761d | [
"Apache-2.0"
] | permissive | htzh/lean | 24f6ed7510ab637379ec31af406d12584d31792c | d70c79f4e30aafecdfc4a60b5d3512199200ab6e | refs/heads/master | 1,607,677,731,270 | 1,437,089,952,000 | 1,437,089,952,000 | 37,078,816 | 0 | 0 | null | 1,433,780,956,000 | 1,433,780,955,000 | null | UTF-8 | Lean | false | false | 7,487 | lean | import data.list
open list setoid quot decidable nat
namespace finset
definition eqv {A : Type} (l₁ l₂ : list A) :=
∀ a, a ∈ l₁ ↔ a ∈ l₂
infix `~` := eqv
theorem eqv.refl {A : Type} (l : list A) : l ~ l :=
λ a, !iff.refl
theorem eqv.symm {A : Type} {l₁ l₂ : list A} : l₁ ~ l₂ → l₂ ~ l₁ :=
λ H a, iff.s... |
b9c7a7ba721e245b6f180b2f5e789bd98330e23e | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/probability/martingale/centering.lean | f5ddff3bd5b355ee5f7dca2d3006e80d4538cd38 | [
"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 | 9,264 | lean | /-
Copyright (c) 2022 Rémy Degenne. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Rémy Degenne
-/
import probability.martingale.basic
/-!
# Centering lemma for stochastic processes
Any `ℕ`-indexed stochastic process which is adapted and integrable can be written as... |
6196da724708dabee8532e31e683f73a4ff35c33 | 367134ba5a65885e863bdc4507601606690974c1 | /src/ring_theory/localization.lean | 3557ae498d9df781509e92531484ed5d74502446 | [
"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 | 69,516 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston
-/
import data.equiv.ring
import group_theory.monoid_localization
import ring_theory.ideal.operations
import ring_theory.algebr... |
82e590037461fd8ca5bf8d539c18047cb2a8ae12 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/representation_theory/Rep.lean | b0cf5eea56fbe9abe36f12894aef08db33b3caae | [
"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 | 22,253 | 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 representation_theory.basic
import representation_theory.Action
import algebra.category.Module.abelian
import algebra.category.Module.colimits
import algebra.c... |
10a94279155203e9f3c343b40346cea812029e1a | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /tests/lean/run/typeclass_metas_internal_goals2.lean | cfb2f2fc4a27f0d41512746623868514918504fe | [
"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 | 376 | lean | class Foo (α β : Type) : Type := (u : Unit := ())
class Bar (α β : Type) : Type := (u : Unit := ())
class Top : Type := (u : Unit := ())
instance FooNatA (β : Type) : Foo Nat β := {u:=()}
instance BarANat (α : Type) : Bar α Nat := {u:=()}
instance FooBarToTop (α β : Type) [Foo α β] [Bar α β] : Top := {u:=()}
new_fro... |
38b375900d4830c21611a5e75db0ae0f7b582ed4 | 54c9ed381c63410c9b6af3b0a1722c41152f037f | /Lib4/Examples/Geometry.lean | c6d564e66cda779c0c48001c0c86ccc0c63ee713 | [
"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 | 1,808 | lean | import Mathlib.analysis.normed_space.inner_product
import Mathlib.algebra.quadratic_discriminant
import Mathlib.analysis.normed_space.add_torsor
import Mathlib.data.matrix.notation
import Mathlib.linear_algebra.affine_space.finite_dimensional
import Mathlib.tactic.fin_cases
import Mathlib.data.real.basic
namespace Mat... |
05301c7c53ab41e598e3477f769c55c3d3b654e1 | f3be49eddff7edf577d3d3666e314d995f7a6357 | /TBA/While/Com.lean | 04543f7e0286899a091108ffcac1857d1add623c | [] | no_license | IPDSnelting/tba-2021 | 8b930bcd2f4aae44a2ddc86e72b77f84e6d46e82 | b6390e55b768423d3266969e81d19290129c5914 | refs/heads/master | 1,686,754,693,583 | 1,625,135,602,000 | 1,625,136,365,000 | 355,124,341 | 50 | 7 | null | 1,625,133,762,000 | 1,617,699,824,000 | Lean | UTF-8 | Lean | false | false | 3,382 | lean | /- The com Language -/
namespace While
/- Variables and Values -/
/-- names for variables -/
abbrev VName := String
inductive Val where
| bool (b : Bool)
| int (i : Int)
deriving DecidableEq
-- lets us use a `Bool/Int` where a `Val` is expected
instance : Coe Bool Val := ⟨Val.bool⟩
instance : Coe Int Val :=... |
cdd3111b04706ce173ac38f4b39ae488dc13d825 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/order/filter/pointwise.lean | 3be0570d3318ae024343c6dcedfa4278d5ebe1c2 | [
"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 | 6,616 | lean | /-
Copyright (c) 2019 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou
-/
import algebra.pointwise
import order.filter.basic
/-!
# Pointwise operations on filters.
The pointwise operations on filters have nice properties, such as
• `map m ... |
ae4f263f51370b008c56976202ac86b0e296fcaa | 0e175f34f8dca5ea099671777e8d7446d7d74227 | /tests/lean/run/400.lean | c108e3b871b819d02d5f34bcb291ad470d96fb35 | [
"Apache-2.0"
] | permissive | utensil-contrib/lean | b31266738071c654d96dac8b35d9ccffc8172fda | a28b9c8f78d982a4e82b1e4f7ce7988d87183ae8 | refs/heads/master | 1,670,045,564,075 | 1,597,397,599,000 | 1,597,397,599,000 | 287,528,503 | 0 | 0 | Apache-2.0 | 1,597,408,338,000 | 1,597,408,337,000 | null | UTF-8 | Lean | false | false | 261 | lean | example (n m k : ℕ) (h : n + 1 = m + 1) : m = k → n = k :=
begin
injection h with x y z,
guard_hyp n := ℕ,
guard_hyp m := ℕ,
guard_hyp k := ℕ,
guard_hyp h := n + 1 = m + 1,
guard_hyp x := n = m,
guard_target m = k → n = k,
admit
end
|
d31252f7d54f665c952eb7571ffda588472dd91e | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/uniform_space/matrix.lean | a39badbdaf63a27e03fb181c56d911a8d575aa66 | [
"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 | 1,235 | lean | /-
Copyright (c) 2022 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser, Heather Macbeth
-/
import topology.uniform_space.pi
import data.matrix.basic
/-!
# Uniform space structure on matrices
-/
open_locale uniformity topological_space
variable... |
a2a7adeb530e06c8d9e2a45e427e64c587f1ea6b | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/geometry/manifold/bump_function.lean | 4311d30e9d3050007d9bf21729b984fb26c4af4c | [
"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 | 14,473 | lean | /-
Copyright (c) 2021 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import analysis.calculus.specific_functions
import geometry.manifold.diffeomorph
import geometry.manifold.instances.real
/-!
# Smooth bump functions on a smooth ma... |
fb16d4f6b71d08cd07b642c4396425e097fe4277 | 94096349332b0a0e223a22a3917c8f253cd39235 | /src/game/function_world/level3.lean | 2f3bdde784de00c7896d88dc17a4e80c90db87a9 | [] | no_license | robertylewis/natural_number_game | 26156e10ef7b45248549915cc4d1ab3d8c3afc85 | b210c05cd627242f791db1ee3f365ee7829674c9 | refs/heads/master | 1,598,964,725,038 | 1,572,602,236,000 | 1,572,602,236,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 982 | lean | /- Tactic : intro
If your goal is a function `⊢ P → Q` then `intro` is often the
tactic you will use to proceed. `intro p,` is Lean's way
of saying "let $p ∈ P$ be arbitrary". `intro p` changes
```
⊢ P → Q
```
into
```
p : P
⊢ Q
```
So `p` is an arbitrary element of `P` about which nothing is known,
and our task is... |
614b73bcf7da0c5fb08872f07242c8c898a0f8fc | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/univ_elab_issue.lean | 528ff5fade94c56a0e21610727b59843730f7c95 | [
"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 | 85 | lean | meta def foo (ex_lst : list name) (e : expr) : list name :=
e^.fold [] (λ c _ l, l)
|
11760bdaf56d79db3118e4be28062ff5488e9b2a | c777c32c8e484e195053731103c5e52af26a25d1 | /src/ring_theory/polynomial/selmer.lean | 4d449cb563af72dea38a81f07103bd122ea7995f | [
"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 | 3,483 | lean | /-
Copyright (c) 2022 Thomas Browning. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Browning
-/
import data.polynomial.unit_trinomial
import ring_theory.polynomial.gauss_lemma
import tactic.linear_combination
/-!
# Irreducibility of Selmer Polynomials
This ... |
cadfa1786641a74ee4614e631d519ebd5cc62360 | dd0f5513e11c52db157d2fcc8456d9401a6cd9da | /06_Inductive_Types.org.53.lean | 20565df80a2107fa4541a5e6be984e47a82a4219 | [] | no_license | cjmazey/lean-tutorial | ba559a49f82aa6c5848b9bf17b7389bf7f4ba645 | 381f61c9fcac56d01d959ae0fa6e376f2c4e3b34 | refs/heads/master | 1,610,286,098,832 | 1,447,124,923,000 | 1,447,124,923,000 | 43,082,433 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 319 | lean | /- page 95 -/
import standard
open nat
-- BEGIN
variable C : Type
variables a b : nat
eval nat.no_confusion_type C zero (succ a)
-- C
eval nat.no_confusion_type C (succ a) zero
-- C
eval nat.no_confusion_type C zero zero
-- C → C
eval nat.no_confusion_type C (succ a) (succ b)
-- (a = b → C) → C
-- END
|
6cffcb0f180d94590cf3f367c4ca9c953d13d263 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/topology/separation.lean | fe0a50d740e26b1b5da2ea621b66ebac1336d4da | [
"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 | 81,598 | 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 topology.subset_properties
import topology.connected
import topology.nhds_set
import topology.inseparable
/-!
# Separation properties of topol... |
cd03232a59b86246a4f6faf0fcbd1bbcd2e39059 | 30b012bb72d640ec30c8fdd4c45fdfa67beb012c | /order/filter.lean | b4316544e3fcb9e9216b40fa65d74106d30ef465 | [
"Apache-2.0"
] | permissive | kckennylau/mathlib | 21fb810b701b10d6606d9002a4004f7672262e83 | 47b3477e20ffb5a06588dd3abb01fe0fe3205646 | refs/heads/master | 1,634,976,409,281 | 1,542,042,832,000 | 1,542,319,733,000 | 109,560,458 | 0 | 0 | Apache-2.0 | 1,542,369,208,000 | 1,509,867,494,000 | Lean | UTF-8 | Lean | false | false | 93,976 | 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 filters on sets.
-/
import order.galois_connection order.zorn
import data.set.finite data.list
import category.applicative
open lattice set
universes u v w x... |
fc34c52a0b8e32b31f3bc736f272289b4d051145 | e9dbaaae490bc072444e3021634bf73664003760 | /src/Geo/Core.lean | 02e061cadbf9c1e38dc7f42dd75b14f605fc6f27 | [
"Apache-2.0"
] | permissive | liaofei1128/geometry | 566d8bfe095ce0c0113d36df90635306c60e975b | 3dd128e4eec8008764bb94e18b932f9ffd66e6b3 | refs/heads/master | 1,678,996,510,399 | 1,581,454,543,000 | 1,583,337,839,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 15,394 | lean | import Geo.Background.Real
import Geo.Background.List
import Geo.Background.Vec
import Geo.Background.Set
import Geo.Background.Tuple
import Geo.Geo.Analytic
/-
Currently, we do not require NDGs in the constructions.
We will experiment with requiring them only for the theorems about the constructions,
and perhaps auto... |
46c6b1491127b47d9715dbebfa4d9c6eb59bf9f8 | 626e312b5c1cb2d88fca108f5933076012633192 | /src/measure_theory/measure/content.lean | 131097c23d88bca14cf22efe962b5f5dcde5b7f8 | [
"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 | 16,934 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import measure_theory.measure.measure_space
import measure_theory.measure.regular
import topology.opens
import topology.compacts
/-!
# Contents
In this file we ... |
cd96b8198714666caa4a50cecb441da5e8b1ffcf | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/set_theory/game/domineering.lean | 3190d0fa99854d116387033f51452ed42f70a0fe | [
"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,540 | 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 set_theory.game.state
/-!
# Domineering as a combinatorial game.
We define the game of Domineering, played on a chessboard of arbitrary shape
(possibly even ... |
cc74b99be3394306e698f325be00c59c453a7680 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/order/complete_boolean_algebra.lean | 9f1b44bde58fd857c23e13850bbc9a8ef2c04695 | [
"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 | 4,811 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
Theory of complete Boolean algebras.
-/
import order.complete_lattice order.boolean_algebra data.set.basic
set_option old_structure_cmd true
universes u v w
variables... |
095c6f5252cdba4e2324f7c701c73f312c546f1d | d9ed0fce1c218297bcba93e046cb4e79c83c3af8 | /library/tools/super/datatypes.lean | f475057859fe7fbb747b2e1a6f44e4db1d6cab1f | [
"Apache-2.0"
] | permissive | leodemoura/lean_clone | 005c63aa892a6492f2d4741ee3c2cb07a6be9d7f | cc077554b584d39bab55c360bc12a6fe7957afe6 | refs/heads/master | 1,610,506,475,484 | 1,482,348,354,000 | 1,482,348,543,000 | 77,091,586 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,549 | lean | /-
Copyright (c) 2016 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
import .clause_ops .prover_state data.monad.transformers
open expr tactic monad
namespace super
meta def has_diff_constr_eq_l (c : clause) : tactic bool := do
env ← g... |
a7e28473fe158557459faaccb83ff1f7d5020039 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/continued_fractions/computation/translations.lean | 59c53e9b5afe3b0414899999fefe435f6aeb44e7 | [
"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 | 10,824 | lean | /-
Copyright (c) 2020 Kevin Kappelmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Kappelmann
-/
import algebra.continued_fractions.computation.basic
import algebra.continued_fractions.translations
/-!
# Basic Translation Lemmas Between Structures Defined for... |
8f8f0f7f9ad588eab65d69c9d01a32f77947c1c0 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/field_theory/perfect_closure.lean | 0075ee42ab94a5fa3719b1e42f5a719a5608279b | [] | 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 | 14,720 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.char_p.basic
import Mathlib.data.equiv.ring
import Mathlib.algebra.group_wit... |
62b488e54f706f26b499095f968a0bc49d44d7bb | c777c32c8e484e195053731103c5e52af26a25d1 | /src/data/finsupp/order.lean | 889ee49238192859fc55ee9f5c68cf4607b36dbf | [
"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,504 | lean | /-
Copyright (c) 2021 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Aaron Anderson
-/
import data.finsupp.defs
/-!
# Pointwise order on finitely supported functions
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file... |
cd717dde6f3803c96c2911809eeae2734cc5365e | 853df553b1d6ca524e3f0a79aedd32dde5d27ec3 | /src/topology/algebra/ordered.lean | 063f33bad8d7a475f706d5cec64244b8554021bd | [
"Apache-2.0"
] | permissive | DanielFabian/mathlib | efc3a50b5dde303c59eeb6353ef4c35a345d7112 | f520d07eba0c852e96fe26da71d85bf6d40fcc2a | refs/heads/master | 1,668,739,922,971 | 1,595,201,756,000 | 1,595,201,756,000 | 279,469,476 | 0 | 0 | null | 1,594,696,604,000 | 1,594,696,604,000 | null | UTF-8 | Lean | false | false | 93,065 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov
-/
import tactic.tfae
import order.liminf_limsup
import data.set.intervals
import topology.algebra.group
/-!
# Theory of topology on or... |
83dc1178061d95dc6b09203260cb87ff917a6838 | b5d813b41740060da28e55b77c69760b7c52760d | /Quad.lean | 3a4ba53bb79d49dd0ab05e64146083b69fc52eb3 | [] | no_license | ImperialCollegeLondon/SF-solns-zak | 4e85518c5cd4093b995a7593eee8295887e8727e | 7edc4424938e01a6ef4bb518fa8ec1757a2226b1 | refs/heads/master | 1,584,849,829,155 | 1,533,216,269,000 | 1,533,216,269,000 | 139,470,368 | 3 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,959 | lean | import tactic.ring
-- intermediate lemmas, many of which probably already existed
-- always made inputs of type k explicit for clarity
-- naming very random
theorem mul_eq_implies_mul_mul {k : Type} [field k] (a b c : k):
a=b → a*c = b*c := begin
intro H, rw H
end
theorem add_eq_implies_add_add {k : Type} [field k]... |
31fa0d31298225f3fbe0abc35bceead55a824355 | fecda8e6b848337561d6467a1e30cf23176d6ad0 | /src/measure_theory/measure_space.lean | 3748195dcd0b7f7a53c2072f8e6eabf1adf1466a | [
"Apache-2.0"
] | permissive | spolu/mathlib | bacf18c3d2a561d00ecdc9413187729dd1f705ed | 480c92cdfe1cf3c2d083abded87e82162e8814f4 | refs/heads/master | 1,671,684,094,325 | 1,600,736,045,000 | 1,600,736,045,000 | 297,564,749 | 1 | 0 | null | 1,600,758,368,000 | 1,600,758,367,000 | null | UTF-8 | Lean | false | false | 70,600 | 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... |
7f295911ff28ee99a32200b254539636cfb1e965 | ac49064e8a9a038e07cf5574b4fccd8a70d115c8 | /hott/init/equiv.hlean | 5f3dca2467eb20409abf043ac050fbce91f05ae4 | [
"Apache-2.0"
] | permissive | Bolt64/lean2 | 7c75016729569e04a3f403c7a4fc7c1de4377c9d | 75fd8162488214a959dbe3303a185cbbb83f60f9 | refs/heads/master | 1,611,290,445,156 | 1,493,763,922,000 | 1,493,763,922,000 | 81,566,307 | 0 | 0 | null | 1,486,732,167,000 | 1,486,732,167,000 | null | UTF-8 | Lean | false | false | 18,523 | hlean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad, Jakob von Raumer, Floris van Doorn
Ported from Coq HoTT
-/
prelude
import .path .function
open eq function lift
/- Equivalences -/
-- This is our definition of... |
4399edd498677ea34348b36923fdb892f243763a | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/linear_algebra/free_module/finite/rank.lean | d7d0349d93e9c6f21bb43f99314af580f652c700 | [
"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,343 | lean | /-
Copyright (c) 2021 Riccardo Brasca. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Riccardo Brasca
-/
import linear_algebra.finrank
import linear_algebra.free_module.rank
import linear_algebra.free_module.finite.basic
/-!
# Rank of finite free modules
This is a ... |
14fa8636abc4559b9a8c5509d7a89252a1a7582f | 46125763b4dbf50619e8846a1371029346f4c3db | /src/logic/function.lean | 8876f57180d030ab304a4421e07a5df339e7388a | [
"Apache-2.0"
] | permissive | thjread/mathlib | a9d97612cedc2c3101060737233df15abcdb9eb1 | 7cffe2520a5518bba19227a107078d83fa725ddc | refs/heads/master | 1,615,637,696,376 | 1,583,953,063,000 | 1,583,953,063,000 | 246,680,271 | 0 | 0 | Apache-2.0 | 1,583,960,875,000 | 1,583,960,875,000 | null | UTF-8 | Lean | false | false | 12,450 | 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
Miscellaneous function constructions and lemmas.
-/
import logic.basic data.option.defs
universes u v w
namespace function
section
variables {α : Sor... |
6c746b6a14529d5e1c90308d9e3e186e979a1cd7 | 32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7 | /tests/lean/bytearray.lean | 668cebddad01b2ce2e36c47bc7f5216b793d887b | [
"Apache-2.0"
] | permissive | walterhu1015/lean4 | b2c71b688975177402758924eaa513475ed6ce72 | 2214d81e84646a905d0b20b032c89caf89c737ad | refs/heads/master | 1,671,342,096,906 | 1,599,695,985,000 | 1,599,695,985,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 283 | lean | def tst : IO Unit :=
do
let bs := [1, 2, 3].toByteArray;
IO.println bs;
let bs := bs.push 4;
let bs := bs.set! 1 20;
IO.println bs;
let bs₁ := bs.set! 2 30;
IO.println bs₁;
IO.println bs;
IO.println bs.size;
IO.println (bs ++ bs);
IO.println (bs.extract 1 3);
pure ()
#eval tst
|
c608ca07f771a68050255da7ee397c869c501679 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/data/matrix/hadamard.lean | 60d731fce4ae6e3860b1e555c4a924d44e3c2980 | [
"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 | 3,383 | lean | /-
Copyright (c) 2021 Lu-Ming Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lu-Ming Zhang
-/
import linear_algebra.matrix.trace
/-!
# Hadamard product of matrices
This file defines the Hadamard product `matrix.hadamard`
and contains basic properties about the... |
fd66925c83cce4b6d328ec49c2c876d6fcea58dc | dd0f5513e11c52db157d2fcc8456d9401a6cd9da | /11_Tactic-Style_Proofs.org.50.lean | 6d0a6dad73fcbe5fbf4381da7c020fbde6aa9d95 | [] | no_license | cjmazey/lean-tutorial | ba559a49f82aa6c5848b9bf17b7389bf7f4ba645 | 381f61c9fcac56d01d959ae0fa6e376f2c4e3b34 | refs/heads/master | 1,610,286,098,832 | 1,447,124,923,000 | 1,447,124,923,000 | 43,082,433 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 162 | lean | import standard
open nat
definition foo [irreducible] (x : nat) := x + 1
example (a b : nat) (H : foo a = b) : a + 1 = b :=
begin
rewrite ↓foo a,
exact H
end
|
80b9fca2df79490d9b378ed90402807b443710a9 | 2a70b774d16dbdf5a533432ee0ebab6838df0948 | /_target/deps/mathlib/src/analysis/analytic/composition.lean | ea04177a68182359302bf1c2fdd9b0216be44cf7 | [
"Apache-2.0"
] | permissive | hjvromen/lewis | 40b035973df7c77ebf927afab7878c76d05ff758 | 105b675f73630f028ad5d890897a51b3c1146fb0 | refs/heads/master | 1,677,944,636,343 | 1,676,555,301,000 | 1,676,555,301,000 | 327,553,599 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 54,218 | 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... |
983fdddf1159836354681964eca8bae5101cb787 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/measure_theory/lp_space.lean | 18d54bc1461c18e56648f750340ff5248537075f | [] | 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 | 30,379 | lean | /-
Copyright (c) 2020 Rémy Degenne. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Rémy Degenne.
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.measure_theory.ess_sup
import Mathlib.measure_theory.l1_space
import Mathlib.analysis.mean_ineq... |
69ffa6a829f641fcef16f053885ca63a74f21533 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Elab/Tactic/Basic.lean | 030b0f5a6dc790edfad8a0bae42e46fd0c1ad2f8 | [
"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 | 14,387 | 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, Sebastian Ullrich
-/
import Lean.Util.CollectMVars
import Lean.Parser.Command
import Lean.Meta.PPGoal
import Lean.Meta.Tactic.Assumption
import Lean.Meta.Tact... |
d535fbb23cc7eba4a44dfb2dd01a1db5485e3ab8 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/category_theory/limits/opposites.lean | f6c1818f1c6655e114d23f4b3b1e379cf34e62df | [
"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 | 3,440 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Floris van Doorn
-/
import category_theory.limits.limits category_theory.discrete_category
universes v u
open category_theory
open category_theory.functor
open opposi... |
1bb7490e3b5609c917509ca482a8212088620e59 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/metric_space/closeds.lean | fa1cdd15b9b8d73d626bd24484cba29de7c75dc9 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 21,339 | 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.specific_limits.basic
import topology.metric_space.hausdorff_distance
import topology.sets.compacts
/-!
# Closed subsets
> THIS FILE IS SYNCHR... |
636611bbf23b43bff86009c367210fb2c333585e | ebf7140a9ea507409ff4c994124fa36e79b4ae35 | /src/exercises_sources/friday/manifolds.lean | 3d863e1db69cb018b75a0e74d4ae9c0aaa98e97e | [] | no_license | fundou/lftcm2020 | 3e88d58a92755ea5dd49f19c36239c35286ecf5e | 99d11bf3bcd71ffeaef0250caa08ecc46e69b55b | refs/heads/master | 1,685,610,799,304 | 1,624,070,416,000 | 1,624,070,416,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 32,582 | lean | import ...for_mathlib.manifolds
noncomputable theory
open_locale manifold classical big_operators
open set
universe u
/-!
## Reminder on updating the exercises
These instructions are now available at:
https://leanprover-community.github.io/lftcm2020/exercises.html
To get a new copy of the exercises,
run the foll... |
1ed22ace529ce19c097d4958d442af921a4598dd | bdb33f8b7ea65f7705fc342a178508e2722eb851 | /data/fintype.lean | 63a282c4c6bbdc516635036c9e3ac1b2724399b8 | [
"Apache-2.0"
] | permissive | rwbarton/mathlib | 939ae09bf8d6eb1331fc2f7e067d39567e10e33d | c13c5ea701bb1eec057e0a242d9f480a079105e9 | refs/heads/master | 1,584,015,335,862 | 1,524,142,167,000 | 1,524,142,167,000 | 130,614,171 | 0 | 0 | Apache-2.0 | 1,548,902,667,000 | 1,524,437,371,000 | Lean | UTF-8 | Lean | false | false | 9,821 | 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 data.equiv algebra.big_operators
universes u v
variables {α : Type*} {β : Type*} {γ : Type*}
/-- `fintype α` means that `α` is fini... |
33e4256d38fc317e5fbdd7f932334f082d7e179c | 1f6fe2f89976b14a4567ab298c35792b21f2e50b | /move_to_lib.hlean | c7ab7ff00e9a4be09eaebe219d2b8c283d4fca25 | [
"Apache-2.0"
] | permissive | jonas-frey/Spectral | e5c1c2f7bcac26aa55f7b1e041a81272a146198d | 72d521091525a4bc9a31cac859840efe9461cf66 | refs/heads/master | 1,610,235,743,345 | 1,505,417,795,000 | 1,505,417,795,000 | 102,653,342 | 0 | 0 | null | 1,504,728,483,000 | 1,504,728,483,000 | null | UTF-8 | Lean | false | false | 33,296 | hlean | -- definitions, theorems and attributes which should be moved to files in the HoTT library
import homotopy.sphere2 homotopy.cofiber homotopy.wedge hit.prop_trunc hit.set_quotient eq2 types.pointed2
open eq nat int susp pointed sigma is_equiv equiv fiber algebra trunc pi group
is_trunc function unit prod bool
at... |
efa2b5c8616da9c32de5f27bf226dc5edd1f3349 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/topology/separation.lean | 6d6a0f96087f01882e315d1e302ad5eca4bb01c1 | [
"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 | 82,475 | 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 topology.subset_properties
import topology.connected
import topology.nhds_set
import topology.inseparable
/-!
# Separation properties of topol... |
262662b71bc3981c07271434a034613853317214 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/topology/homotopy/product.lean | c72fbf13f1a001367ff238af0063f68fb830a24d | [
"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 | 16,393 | lean | /-
Copyright (c) 2021 Praneeth Kolichala. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Praneeth Kolichala
-/
import topology.homotopy.basic
import topology.constructions
import topology.homotopy.path
import category_theory.groupoid
import topology.homotopy.fundamenta... |
9199b1c61778814c0c7e1a7ce93a48820923998f | b5d813b41740060da28e55b77c69760b7c52760d | /lean_answers.lean | e29d7570c1882fcf98580c16566703809dab9fd3 | [] | no_license | ImperialCollegeLondon/SF-solns-zak | 4e85518c5cd4093b995a7593eee8295887e8727e | 7edc4424938e01a6ef4bb518fa8ec1757a2226b1 | refs/heads/master | 1,584,849,829,155 | 1,533,216,269,000 | 1,533,216,269,000 | 139,470,368 | 3 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,078 | lean | -- 1
def nandb : bool → bool → bool
| tt tt := ff
| a b := tt
def is_correct : (bool → bool → bool) → bool :=
λ a, (a (ff) (ff) = tt) && (a (ff) (tt) = tt) && (a (tt) (ff) = tt) &&(a (tt) (tt) = ff)
inductive naat: Type
| zro : naat
| suc : naat → naat
def is_even : naat → bool
| naat.zro := tt
| (naat.suc naat.zro... |
fb385d99241f79a2bc80467bb6959255d5297f2d | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/ideal/operations.lean | 34eef05efe7f29af37d5b73ee796d31479713cbe | [
"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 | 97,480 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.operations
import algebra.ring.equiv
import data.nat.choose.sum
import ring_theory.coprime.lemmas
import ring_theory.ideal.quotient
import ring_theory.no... |
074543f87e73f4c878032803cdeeccf30e3577ba | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/field_theory/splitting_field.lean | a5d907486d2dd5ce5e985f09b4420ce5b121dbad | [
"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 | 35,980 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
Definition of splitting fields, and definition of homomorphism into any field that splits
-/
import ring_theory.adjoin_root
import ring_theory.algebra_tower
import ring_the... |
50e58972d74f4518dcf67a2e87a922d152b97f73 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/analysis/asymptotics/theta.lean | 43117658076ceb5bb4719220530ee6c3a3e3a915 | [
"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 | 8,992 | 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 analysis.asymptotics.asymptotics
/-!
# Asymptotic equivalence up to a constant
In this file we define `asymptotics.is_Theta l f g` (notation: `f =Θ[l... |
df96f097de990c1c1b255fa79ec0f0fbb3c36890 | 4a092885406df4e441e9bb9065d9405dacb94cd8 | /src/for_mathlib/group.lean | e02c624833d334a13837137e96d826a7465c879b | [
"Apache-2.0"
] | permissive | semorrison/lean-perfectoid-spaces | 78c1572cedbfae9c3e460d8aaf91de38616904d8 | bb4311dff45791170bcb1b6a983e2591bee88a19 | refs/heads/master | 1,588,841,765,494 | 1,554,805,620,000 | 1,554,805,620,000 | 180,353,546 | 0 | 1 | null | 1,554,809,880,000 | 1,554,809,880,000 | null | UTF-8 | Lean | false | false | 2,108 | lean | -- first lemma PR'ed, second one not yet.
import algebra.group data.equiv.basic
import group_theory.subgroup
import group_theory.quotient_group
import for_mathlib.equiv
variables {G : Type*} [group G]
open quotient_group
-- This one lemma in in PR #790
@[simp] lemma quotient_group.ker (N : set G) [normal_subgroup N]... |
afdcf4bda588374e6eeb601aca899da65875a360 | 26ac254ecb57ffcb886ff709cf018390161a9225 | /src/topology/metric_space/completion.lean | d3905f9990e722421eb9779c5c14a983f7c1ca3b | [
"Apache-2.0"
] | permissive | eric-wieser/mathlib | 42842584f584359bbe1fc8b88b3ff937c8acd72d | d0df6b81cd0920ad569158c06a3fd5abb9e63301 | refs/heads/master | 1,669,546,404,255 | 1,595,254,668,000 | 1,595,254,668,000 | 281,173,504 | 0 | 0 | Apache-2.0 | 1,595,263,582,000 | 1,595,263,581,000 | null | UTF-8 | Lean | false | false | 8,723 | 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
-/
import topology.uniform_space.completion
import topology.metric_space.isometry
/-!
# The completion of a metric space
Completion of uniform spaces are already ... |
0d762c5cf1e2479bb91f2e0923cfcb35428db231 | d436468d80b739ba7e06843c4d0d2070e43448e5 | /src/topology/algebra/group.lean | 97fea31e23ebd23ca2feecc7dcd75db1e52b06d4 | [
"Apache-2.0"
] | permissive | roro47/mathlib | 761fdc002aef92f77818f3fef06bf6ec6fc1a28e | 80aa7d52537571a2ca62a3fdf71c9533a09422cf | refs/heads/master | 1,599,656,410,625 | 1,573,649,488,000 | 1,573,649,488,000 | 221,452,951 | 0 | 0 | Apache-2.0 | 1,573,647,693,000 | 1,573,647,692,000 | null | UTF-8 | Lean | false | false | 16,515 | 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
Theory of topological groups.
-/
import data.equiv.algebra
import algebra.pointwise order.filter.pointwise
import group_theory.quotient... |
a8f23ff8c352ad86bdd8b080ff68aec6cfa35347 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/data/sym/sym2.lean | d31ec392e4dc0c58883c230204400326fdcd6430 | [
"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,754 | lean | /-
Copyright (c) 2020 Kyle Miller All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
import data.sym.basic
import tactic.linarith
/-!
# The symmetric square
This file defines the symmetric square, which is `α × α` modulo
swapping. This is also known as th... |
9e5c02c17d456a2db952d23f725dd38c64dd645e | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/linear_algebra/finite_dimensional.lean | e0abb0eb030155be7b15aa20b2924c641ac0ae67 | [
"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 | 62,326 | lean | /-
Copyright (c) 2019 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import linear_algebra.dimension
import ring_theory.principal_ideal_domain
import algebra.algebra.subalgebra
/-!
# Finite dimensional vector spaces
Definition and basic ... |
8f7871e3ef0d02cd573a90db301e5ad5db4468b9 | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/order/basic.lean | f7390f8539ec2b02108f0700bf07dfe70671a105 | [
"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 | 25,312 | 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 data.subtype
import data.prod
/-!
# Basic definitions about `≤` and `<`
## Definitions
### Predicates on functions
- `monotone f`: A function... |
21fa4e65a4795cfaa02965faca0bd3d179799a16 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/tactic/converter/binders.lean | 72a87c8867da21fa45d1e8569f4b95ab28cf863a | [
"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 | 7,440 | 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
Binder elimination
-/
import order
namespace old_conv
open tactic monad
meta instance : monad_fail old_conv :=
{ fail := λ α s, (λr e, tactic.fail (to_fmt s) : old_co... |
7aa7fd35a712a0843347c4390d803272aa821274 | 8930e38ac0fae2e5e55c28d0577a8e44e2639a6d | /algebra/ring.lean | ff0a0833ac62e1b172ed6017336d858e1c3abb17 | [
"Apache-2.0"
] | permissive | SG4316/mathlib | 3d64035d02a97f8556ad9ff249a81a0a51a3321a | a7846022507b531a8ab53b8af8a91953fceafd3a | refs/heads/master | 1,584,869,960,527 | 1,530,718,645,000 | 1,530,724,110,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,173 | 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
-/
import algebra.group tactic data.set.basic
universes u v
variable {α : Type u}
section
variable [semiring α]
theorem mul_two... |
ec79d183fac7492f6e9830bec85f8c92597d5cf8 | 82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7 | /tests/compiler/foreign/main.lean | bc559a5d606e61c9f19a08ba1f709f52e940e1cc | [
"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 | 966 | lean | #lang lean4
constant SPointed : PointedType
def S : Type := SPointed.type
instance : Inhabited S := ⟨SPointed.val⟩
@[extern "lean_mk_S"] constant mkS (x y : UInt32) (s : @& String) : S := arbitrary _
@[extern "lean_S_add_x_y"] constant S.addXY (s : @& S) : UInt32 := arbitrary _
@[extern "lean_S_string"] constant S.str... |
87a663fbac4f7870e113837fc2e66c4c87071468 | b2fe74b11b57d362c13326bc5651244f111fa6f4 | /src/ring_theory/witt_vector/is_poly.lean | 63ed1adffa55c4279ff830815e1536c033c4037b | [
"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 | 24,419 | lean | /-
Copyright (c) 2020 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Robert Y. Lewis
-/
import algebra.ring.ulift
import ring_theory.witt_vector.basic
import data.mv_polynomial.funext
/-!
# The `is_poly` predicate
`witt_vector.is_poly... |
b041ab29924ee061af8cdeb21733e20041a21fbf | 7d5ad87afb17e514aee234fcf0a24412eed6384f | /src/completion.lean | 15c3a35c85d77715b7d0942d77ad7802bff7e8f1 | [] | no_license | digama0/flypitch | 764f849eaef59c045dfbeca142a0f827973e70c1 | 2ec14b8da6a3964f09521d17e51f363d255b030f | refs/heads/master | 1,586,980,069,651 | 1,547,078,141,000 | 1,547,078,283,000 | 164,965,135 | 1 | 0 | null | 1,547,082,858,000 | 1,547,082,857,000 | null | UTF-8 | Lean | false | false | 17,938 | lean | /- Show that every theory can be extended to a complete theory -/
import .fol .compactness order.zorn tactic.tidy
local attribute [instance, priority 0] classical.prop_decidable
open fol set
universe variables u v
section
parameter L : Language.{u}
open classical zorn
lemma inconsis_not_of_provable {L} {T : Theo... |
4765bf9936fbc9ae5667beb7750020933a6687f9 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/countable/small.lean | 6b2280e7188fb79495a19e1095b912d57772ad3c | [
"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 | 603 | 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 logic.small.basic
import data.countable.defs
/-!
# All countable types are small.
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file requi... |
dce17dddd0ac60c36383f4c6b128dc967d939e39 | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/topology/continuous_function/bounded.lean | cd6da9abf6513445dc1d3ce19672f5115f3b0d99 | [
"Apache-2.0"
] | permissive | ayush1801/mathlib | 78949b9f789f488148142221606bf15c02b960d2 | ce164e28f262acbb3de6281b3b03660a9f744e3c | refs/heads/master | 1,692,886,907,941 | 1,635,270,866,000 | 1,635,270,866,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 42,605 | lean | /-
Copyright (c) 2018 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth
-/
import analysis.normed_space.operator_norm
import topology.continuous_function.algebra
/-!
# Bounded continuo... |
03a60e641438f25ff7cfc2d437a90aacc65d754e | ce6917c5bacabee346655160b74a307b4a5ab620 | /src/ch5/ex0209.lean | 6586a2c4d8b6bde2d5bd9c900008db33ae084722 | [] | 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 | 133 | lean | example : ∀ a b c : ℕ, a = b → a = c → c = b :=
begin
intros,
transitivity a,
symmetry,
assumption,
assumption
end
|
53fe1639ab8463976d592c256431dcf3cf1e8789 | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/ring_theory/polynomial/basic.lean | c7df3a94b1bae7bc6046d8acfebb25c6250da723 | [
"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 | 39,473 | 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.char_p.basic
import data.mv_polynomial.comm_ring
import data.mv_polynomial.equiv
import data.polynomial.field_division
import ring_theory.principal_ideal_domain... |
6882a7c8075408b66d5d15273333be0544f9df29 | 367134ba5a65885e863bdc4507601606690974c1 | /src/measure_theory/prod.lean | 426fdec76ed12dfc8eb39d8d3e20c3b0206e485f | [
"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 | 46,280 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import measure_theory.giry_monad
import measure_theory.set_integral
/-!
# The product measure
In this file we define and prove properties about the binary produ... |
e0f3b1cbf75924454979fb4c6a98064d0005c774 | 6b2a480f27775cba4f3ae191b1c1387a29de586e | /group_rep_2/schur_theorem/schur.lean | 1c2992e56abe66494abc8586a7937d36f282c6a0 | [] | no_license | Or7ando/group_representation | a681de2e19d1930a1e1be573d6735a2f0b8356cb | 9b576984f17764ebf26c8caa2a542d248f1b50d2 | refs/heads/master | 1,662,413,107,324 | 1,590,302,389,000 | 1,590,302,389,000 | 258,130,829 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 4,483 | lean | import tactic.push_neg
import basic_definitions.kernel_range
import basic_definitions.equiv
import basic_definitions.sub_module
import Reynold_operator.reynold
open Kernel range morphism
open stability open submodule linear_map
universe variables u v w w'
namespace morphism.from_irreductible
open linear_map
vari... |
4a454200922c4d54bb6341164be149546582cc3e | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/module/basic.lean | 59cf5d032cb7894f5536fec02ab6c23faa3e0ed1 | [
"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 | 23,641 | lean | /-
Copyright (c) 2015 Nathaniel Thomas. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro
-/
import algebra.big_operators.basic
import algebra.smul_with_zero
import group_theory.group_action.group
import tact... |
74d71e4cf73384be18a6f871be4acaf48e26c5fa | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/data/list/comb.lean | 2ead2aa322fbcdd7f2649e79b0e5b650b55691e5 | [
"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 | 25,451 | lean | /-
Copyright (c) 2015 Leonardo de Moura. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Haitao Zhang, Floris van Doorn
List combinators.
-/
-- TODO(Leo): uncomment data.equiv after refactoring
import data.list.basic -- data.equiv
open nat prod decid... |
20b468413e30ce46e08a0df904cbcda6d4e7b3cb | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/algebra/quadratic_discriminant.lean | 1216ef0e7632ec104f5f5ce7803cfd074ff0a4fe | [
"Apache-2.0"
] | permissive | Lix0120/mathlib | 0020745240315ed0e517cbf32e738d8f9811dd80 | e14c37827456fc6707f31b4d1d16f1f3a3205e91 | refs/heads/master | 1,673,102,855,024 | 1,604,151,044,000 | 1,604,151,044,000 | 308,930,245 | 0 | 0 | Apache-2.0 | 1,604,164,710,000 | 1,604,163,547,000 | null | UTF-8 | Lean | false | false | 6,250 | lean | /-
Copyright (c) 2019 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou
-/
import algebra.invertible
import tactic.linarith
/-!
# Quadratic discriminants and roots of a quadratic
This file defines the discriminant of a quadratic and gives th... |
83ce93b9c4a666e85b08816694e252a2b45d29ce | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/695d.lean | 9a12f51ea3e4dede05a1a9006da327abae48546c | [
"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 | 115 | lean | import data.nat
open nat
example (a b : nat) : 0 + a + 0 = a :=
begin
rewrite [nat.add_zero, nat.zero_add,]
end
|
41cc7e648fc2e78345e43bd258168ef686f00ace | d31b9f832ff922a603f76cf32e0f3aa822640508 | /src/hott/init/pathover.lean | bc409cb7da8127a27c108a70c1363773df889808 | [
"Apache-2.0"
] | permissive | javra/hott3 | 6e7a9e72a991a2fae32e5764982e521dca617b16 | cd51f2ab2aa48c1246a188f9b525b30f76c3d651 | refs/heads/master | 1,585,819,679,148 | 1,531,232,382,000 | 1,536,682,965,000 | 154,294,022 | 0 | 0 | Apache-2.0 | 1,540,284,376,000 | 1,540,284,375,000 | null | UTF-8 | Lean | false | false | 20,166 | lean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Basic theorems about pathovers
-/
import .path .equiv
universes u v l
hott_theory
namespace hott
open hott.equiv hott.is_equiv function
variables {A : Type _} {A'... |
28aa9197108184beca51e6e7ee86aece92c372a9 | e0f9ba56b7fedc16ef8697f6caeef5898b435143 | /src/data/nat/multiplicity.lean | edd3cdfd86e678fb60b481b14a5af65e5b934db9 | [
"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 | 9,495 | lean | /-
Copyright (c) 2019 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import data.nat.choose
import ring_theory.multiplicity
import data.nat.modeq
import algebra.gcd_domain
/-!
# Natural number multiplicity
This file contains lemmas about... |
ab24596d4f72a70e829f44bcd687e663752c5db7 | 30b012bb72d640ec30c8fdd4c45fdfa67beb012c | /analysis/topology/infinite_sum.lean | 6728b5cf2e1cbd553e0fd81669912ad57be65121 | [
"Apache-2.0"
] | permissive | kckennylau/mathlib | 21fb810b701b10d6606d9002a4004f7672262e83 | 47b3477e20ffb5a06588dd3abb01fe0fe3205646 | refs/heads/master | 1,634,976,409,281 | 1,542,042,832,000 | 1,542,319,733,000 | 109,560,458 | 0 | 0 | Apache-2.0 | 1,542,369,208,000 | 1,509,867,494,000 | Lean | UTF-8 | Lean | false | false | 21,333 | 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
Infinite sum over a topological monoid
This sum is known as unconditionally convergent, as it sums to the same value under all possible
permutations. For Euclidean spa... |
4b94afa9194ff05303af09dc01ab6002b8a9a715 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/algebra/uniform_field.lean | c074b36ce0502b25e81eea5688ce7a7863a76c56 | [
"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,020 | lean | /-
Copyright (c) 2019 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
import topology.algebra.uniform_ring
import topology.algebra.field
import field_theory.subfield
/-!
# Completion of topological fields
> THIS FILE IS SYNCHRONIZED W... |
17618454a37e40aaf8ef835da7a43be0bf684789 | 5c7fe6c4a9d4079b5457ffa5f061797d42a1cd65 | /src/exercises/src_11_lem_reductio.lean | cb3404d574831ae249194b805042bdbc24d27b67 | [] | no_license | gihanmarasingha/mth1001_tutorial | 8e0817feeb96e7c1bb3bac49b63e3c9a3a329061 | bb277eebd5013766e1418365b91416b406275130 | refs/heads/master | 1,675,008,746,310 | 1,607,993,443,000 | 1,607,993,443,000 | 321,511,270 | 3 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,694 | lean | import .src_10_false_and_negation
variables p q r : Prop
namespace mth1001
section lem
/-
The law of the excluded middle asserts `p ∨ ¬p`, for any proposition `p`. Together with
or elimination, this leads to a proof method called 'proof by cases' or 'proof by exhaustion'.
Suppose we wish to prove `q`. By the law... |
35073edabd88b742fb8a28ba54567488329cff10 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/spectral/hom.lean | 45962b21f805247923b21b9bdd56f5039b244738 | [
"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,208 | lean | /-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
import topology.continuous_function.basic
/-!
# Spectral maps
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to mathli... |
14b8f37f1956e0e8b8561df6d89a7fdba215f76f | c777c32c8e484e195053731103c5e52af26a25d1 | /src/ring_theory/etale.lean | 09b4302def2a3488f7e658d84e412b49fd6be435 | [
"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 | 22,946 | 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 ring_theory.quotient_nilpotent
import ring_theory.kaehler
/-!
# Formally étale morphisms
An `R`-algebra `A` is formally étale (resp. unramified, smooth) if for ev... |
c0f07e16a8a29b201fb7678dacaf0bd89a6097f7 | ac2987d8c7832fb4a87edb6bee26141facbb6fa0 | /Mathlib/Data/Nat/Gcd.lean | eeee04b914eb814137bfeda7a845fab98c973560 | [
"Apache-2.0"
] | permissive | AurelienSaue/mathlib4 | 52204b9bd9d207c922fe0cf3397166728bb6c2e2 | 84271fe0875bafdaa88ac41f1b5a7c18151bd0d5 | refs/heads/master | 1,689,156,096,545 | 1,629,378,840,000 | 1,629,378,840,000 | 389,648,603 | 0 | 0 | Apache-2.0 | 1,627,307,284,000 | 1,627,307,284,000 | null | UTF-8 | Lean | false | false | 24,231 | 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 Mathlib.Data.Nat.Basic
import Mathlib.Dvd
/-!
# Definitions and properties of `gcd`, `lcm`, and `coprime`
-/
namespace Nat
--- TODO all of... |
48b0ca16e25168759ec993741b22c943623fc82d | 785b41b0993f39cbfa9b02fe0940ce3f2f51a57d | /conf/r4s.lean | a6e8ec966d9ff4d59522db1053f846a952efecac | [
"MIT"
] | permissive | loso3000/OpenWrt-DIY-1 | 75b0d70314d703203508218a29acefc3b914d32d | 5858be81ee44199908cbaa1a752b17505c9834e8 | refs/heads/main | 1,690,532,461,283 | 1,631,008,241,000 | 1,631,008,241,000 | 354,817,508 | 1 | 0 | MIT | 1,617,623,493,000 | 1,617,623,492,000 | null | UTF-8 | Lean | false | false | 7,899 | lean | # 设置固件大小:
CONFIG_TARGET_KERNEL_PARTSIZE=60
CONFIG_TARGET_ROOTFS_PARTSIZE=1516
CONFIG_TARGET_rockchip=y
CONFIG_TARGET_rockchip_armv8=y
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r4s=y
CONFIG_TARGET_ROOTFS_EXT4FS=y
# 不压缩efi
# CONFIG_TARGET_IMAGES_GZIP is not set
CONFIG_EFI_IMAGES=y
CONFIG_TARGET_ROOTFS_TARGZ... |
7a8c87d64dcebebdb8adcc55f4d79ac4a94c72ef | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/order/filter/basic.lean | dc9869f35898da008fbecce1709ebce875387e62 | [] | 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 | 102,473 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Jeremy Avigad
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.order.zorn
import Mathlib.order.copy
import Mathlib.data.set.finite
import M... |
c60d8f767db64d33eef80fdb440f9a23856db967 | 7cdf3413c097e5d36492d12cdd07030eb991d394 | /src/game/world6/level4.lean | 3e202357bf5e6f14e44dce78b29c739179931b9e | [] | no_license | alreadydone/natural_number_game | 3135b9385a9f43e74cfbf79513fc37e69b99e0b3 | 1a39e693df4f4e871eb449890d3c7715a25c2ec9 | refs/heads/master | 1,599,387,390,105 | 1,573,200,587,000 | 1,573,200,691,000 | 220,397,084 | 0 | 0 | null | 1,573,192,734,000 | 1,573,192,733,000 | null | UTF-8 | Lean | false | false | 1,205 | lean | /-
# Proposition world.
## Level 4 : `apply`.
Let's do the same level again:

We are given a proof $p$ of $P$ and our goal is to find a proof of $U$, or
in other words to find a path through the maze that links $P$ to $U$.
In level 3 we solved this by using `have`s to move forward, fr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.