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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
223c08e555526824b61aa8ceec2844a35d426db1 | b19a1b7dc79c802247fdce4c04708e070863b4d2 | /existential-quantifier.lean | 2505da50527e79355fcab62d8dd3d82eec14de12 | [] | no_license | utanapishtim/promethazine | 99a1e80311fb20251a54ba78a534b23852b88c40 | 08a6f9bd6dd08feb3df8d4697e19ffc8d333b249 | refs/heads/master | 1,653,595,504,487 | 1,480,129,933,000 | 1,480,129,933,000 | 74,801,596 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,060 | lean | /-
1. exists x : A, p x
2. ∃ x : A, p x
3. Exists (λ x : A, p x)
(1-3) are all equivalent.
-/
import data.nat
open nat algebra
example : ∃ x : ℕ , x > 0 :=
have H : 1 > 0, from succ_pos 0,
exists.intro 1 H
example (x : ℕ ) (H : x > 0) : ∃ y, y < x :=
exists.intro 0 H
example (x y z : ℕ ) (Hxy : x < y) (Hyz... |
07d74ab1c5d2942fbc83cc8a7668d8e3b4cecf5a | 2fbe653e4bc441efde5e5d250566e65538709888 | /src/topology/metric_space/baire.lean | 3d3b0ec15303fc91bc17efbfdd4640fd24bc865b | [
"Apache-2.0"
] | permissive | aceg00/mathlib | 5e15e79a8af87ff7eb8c17e2629c442ef24e746b | 8786ea6d6d46d6969ac9a869eb818bf100802882 | refs/heads/master | 1,649,202,698,930 | 1,580,924,783,000 | 1,580,924,783,000 | 149,197,272 | 0 | 0 | Apache-2.0 | 1,537,224,208,000 | 1,537,224,207,000 | null | UTF-8 | Lean | false | false | 15,214 | 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 topology.metric_space.basic analysis.specific_limits
/-!
# Baire theorem
In a complete metric space, a countable intersection of dense open subsets is... |
c17a46a88d69813746c2fc8ab6ec407e4c155833 | 1dd482be3f611941db7801003235dc84147ec60a | /test/tidy.lean | 221e1f07299ed1dfa3350390a4bc32b1599da056 | [
"Apache-2.0"
] | permissive | sanderdahmen/mathlib | 479039302bd66434bb5672c2a4cecf8d69981458 | 8f0eae75cd2d8b7a083cf935666fcce4565df076 | refs/heads/master | 1,587,491,322,775 | 1,549,672,060,000 | 1,549,672,060,000 | 169,748,224 | 0 | 0 | Apache-2.0 | 1,549,636,694,000 | 1,549,636,694,000 | null | UTF-8 | Lean | false | false | 1,154 | lean | -- Copyright (c) 2018 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Scott Morrison
import tactic.tidy
open tactic
namespace tidy.test
meta def interactive_simp := `[simp]
def tidy_test_0 : ∀ x : unit, x = unit.star :=
begin
success_if_fai... |
8931490d1f3c019ca370090cf5b46d98ac0923f7 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/yury_coe_sort_bug.lean | 7d106c6a7fbd724112ba71dc3994e1dedcb18348 | [
"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 | 146 | lean | universe u
instance {α : Type u} : has_coe_to_sort (set α) (Type u) := ⟨λ s, {x // x ∈ s}⟩
example : ↥({0} : set ℕ) := ⟨0, rfl⟩ |
9f2720a0a222d9743897a7519724bee602be08a0 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/char_p/basic_auto.lean | ccd7d02fce3a2cb7b3a8886ed2d91f4823776433 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,567 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Kenny Lau, Joey van Langen, Casper Putz
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.fintype.basic
import Mathlib.data.nat.choose.default
import Mathlib... |
3dfb2cabe1cb004287e12b438b016e4fffc26a52 | e151e9053bfd6d71740066474fc500a087837323 | /src/hott/init/path0.lean | bcef1451fcdc14e4d50afb1b08e7f77d717efcf7 | [
"Apache-2.0"
] | permissive | daniel-carranza/hott3 | 15bac2d90589dbb952ef15e74b2837722491963d | 913811e8a1371d3a5751d7d32ff9dec8aa6815d9 | refs/heads/master | 1,610,091,349,670 | 1,596,222,336,000 | 1,596,222,336,000 | 241,957,822 | 0 | 0 | Apache-2.0 | 1,582,222,839,000 | 1,582,222,838,000 | null | UTF-8 | Lean | false | false | 533 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Jakob von Raumer, Floris van Doorn
Ported from Coq HoTT
-/
import .meta.support
universes u v w
hott_theory
namespace hott
open function
/- Path equality -/
... |
1d17552e3e367547cb79ba908ab00ca6bee76f1a | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /tests/compiler/closure_bug6.lean | b06232e3b0b84f3beeeb30fdd4a63d77e7448737 | [
"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 | 511 | lean | def f (x : Nat) : Nat × (Nat → String) :=
let x1 := x + 1;
let x2 := x + 2;
let x3 := x + 3;
let x4 := x + 4;
let x5 := x + 5;
let x6 := x + 6;
let x7 := x + 7;
let x8 := x + 8;
let x9 := x + 9;
let x10 := x + 10;
let x11 := x + 11;
let x12 := x + 12;
let x13 := x + 13;
let x14 := x + 14;
let x15 := x + 15;
let x16 := ... |
487f60d61b155b8049af3dd125af0e66af5c8f36 | ce6917c5bacabee346655160b74a307b4a5ab620 | /src/ch5/ex0710.lean | 7ba25056d3c9f1fa73be0938f65ff4de9e8a4436 | [] | 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 | 232 | lean | example (u w x y z : ℕ) (h₁ : x = y + z) (h₂ : w = u + x) :
w = z + y + u :=
by simp [add_comm, *]
-- lean 3.6 removes simp attributes from add_comm
-- i.e., now it is required to provide that lemma to solve this example.
|
abc23c94f05a34ad129ed90af5df1905ad311a3c | fcf3ffa92a3847189ca669cb18b34ef6b2ec2859 | /src/world5/level9.lean | 64b4cf44ffe7c64b253304327e3334c3187eb782 | [
"Apache-2.0"
] | permissive | nomoid/lean-proofs | 4a80a97888699dee42b092b7b959b22d9aa0c066 | b9f03a24623d1a1d111d6c2bbf53c617e2596d6a | refs/heads/master | 1,674,955,317,080 | 1,607,475,706,000 | 1,607,475,706,000 | 314,104,281 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 421 | lean | example (A B C D E F G H I J K L : Type)
(f1 : A → B) (f2 : B → E) (f3 : E → D) (f4 : D → A) (f5 : E → F)
(f6 : F → C) (f7 : B → C) (f8 : F → G) (f9 : G → J) (f10 : I → J)
(f11 : J → I) (f12 : I → H) (f13 : E → H) (f14 : H → K) (f15 : I → L)
: A → L :=
begin
intro a,
apply f15,
apply f11,
apply f9,
... |
05bcad6a1bb76cceae02ac04dae0111339e4b8ef | 43390109ab88557e6090f3245c47479c123ee500 | /src/Euclid_old/tarski_2.lean | 029912439375e647d1b5e74273a98889237ea242 | [
"Apache-2.0"
] | permissive | Ja1941/xena-UROP-2018 | 41f0956519f94d56b8bf6834a8d39473f4923200 | b111fb87f343cf79eca3b886f99ee15c1dd9884b | refs/heads/master | 1,662,355,955,139 | 1,590,577,325,000 | 1,590,577,325,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 22,537 | lean | import Euclid.tarski_1
open classical set
namespace Euclidean_plane
variables {point : Type} [Euclidean_plane point]
local attribute [instance] prop_decidable
theorem six9 {a b p : point} : b ∈ ray p a → ray p a = ray p b :=
begin
intro h,
ext,
split,
intro h1,
cases h with h h2,
cases h2 with h2 h3,
cases h1... |
c7f51dfb81ed641bffb5d080faf8b6c2f9a90530 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/hom/open.lean | 9225e3976caf1b0e9a075e9b1f356e405ec3db69 | [
"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 | 4,459 | 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
/-!
# Continuous open maps
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to... |
7cec1c74d639ee0c686390365b4519123a7aa4e4 | 367134ba5a65885e863bdc4507601606690974c1 | /test/generalizes.lean | 3040e595ef555ad0e746e9e03a0b2f33f970fdb1 | [
"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 | 3,531 | lean | /-
Copyright (c) 2020 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jannis Limperg
-/
import tactic.generalizes
universes u
lemma example_from_docs₁ (P : ∀ n, fin n → Prop) (n : ℕ) (f : fin n)
(p : ∀ n xs, P n xs) : P (nat.succ n) (fin.succ f) :=
b... |
46e63571a3a70065dc2ca3707a2d911cb5e32390 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/limits/constructions/over/products.lean | d6f9073a3ab12d7a309f00739437bfcf47691a09 | [
"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,366 | lean | /-
Copyright (c) 2018 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Reid Barton, Bhavik Mehta
-/
import category_theory.over
import category_theory.limits.shapes.pullbacks
import category_theory.limits.shapes.wide_pullbacks
import categ... |
62757dcaaf74fbe025717f753d832085b7a9aa8a | 302c785c90d40ad3d6be43d33bc6a558354cc2cf | /src/order/filter/at_top_bot.lean | b4dd76b9093c2eb4782bbd53dfe049b90bc4b83f | [
"Apache-2.0"
] | permissive | ilitzroth/mathlib | ea647e67f1fdfd19a0f7bdc5504e8acec6180011 | 5254ef14e3465f6504306132fe3ba9cec9ffff16 | refs/heads/master | 1,680,086,661,182 | 1,617,715,647,000 | 1,617,715,647,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 56,845 | 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, Yury Kudryashov, Patrick Massot
-/
import order.filter.bases
import data.finset.preimage
/-!
# `at_top` and `at_bot` filters on preorded sets, monoids a... |
2fc1da501cf9ecd61a405d167b9e30762fef665c | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/data/ordmap/ordset.lean | f3a2d52782cb10130a8b205160c0c9947fc3dca1 | [
"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 | 69,255 | 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.ordmap.ordnode
import algebra.order.ring
import data.nat.dist
import tactic.linarith
/-!
# Verification of the `ordnode α` datatype
This file proves the... |
3bc22c2e798a304e55f198e82a76588e77d02aa8 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/mergeSortCPDT.lean | d7a7ccca4a91fef289da38bddf5931e415e2be91 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 1,709 | lean | def List.insert (p : α → α → Bool) (a : α) (bs : List α) : List α :=
match bs with
| [] => [a]
| b :: bs' => if p a b then a :: bs else b :: bs'.insert p a
def List.merge (p : α → α → Bool) (as bs : List α) : List α :=
match as with
| [] => bs
| a :: as' => insert p a (merge p as' bs)
def List.split (as :... |
39b0264e1c06257cfcdd323b7476ce44c3c3518f | fffbc47930dc6615e66ece42324ce57a21d5b64b | /src/group_theory/subgroup.lean | 85a8e4d3697c529282cc2da7c6136abc3a7eebde | [
"Apache-2.0"
] | permissive | skbaek/mathlib | 3caae8ae413c66862293a95fd2fbada3647b1228 | f25340175631cdc85ad768a262433f968d0d6450 | refs/heads/master | 1,588,130,123,636 | 1,558,287,609,000 | 1,558,287,609,000 | 160,935,713 | 0 | 0 | Apache-2.0 | 1,544,271,146,000 | 1,544,271,146,000 | null | UTF-8 | Lean | false | false | 30,885 | 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, Mitchell Rowett, Scott Morrison, Johan Commelin, Mario Carneiro
-/
import group_theory.submonoid
open set function
variables {α : Type*} {β : Type*} {a a₁ a₂ b c: α}
... |
8ffdf046b3f1e2d1ea001fca9d29a8e6ea36ff6a | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /stage0/src/Init/Data/Nat/Linear.lean | 9115fbf3923351c56e8f82855937624082e1e903 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | EdAyers/lean4 | 57ac632d6b0789cb91fab2170e8c9e40441221bd | 37ba0df5841bde51dbc2329da81ac23d4f6a4de4 | refs/heads/master | 1,676,463,245,298 | 1,660,619,433,000 | 1,660,619,433,000 | 183,433,437 | 1 | 0 | Apache-2.0 | 1,657,612,672,000 | 1,556,196,574,000 | Lean | UTF-8 | Lean | false | false | 30,043 | lean | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Coe
import Init.Classical
import Init.SimpLemmas
import Init.Data.Nat.Basic
import Init.Data.List.Basic
import Init.Data.Prod
namespace... |
0c7ccda8d94bf79e16a8a6b3d51a29ce69eebba3 | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/topology/omega_complete_partial_order.lean | 5fb806afeed53e00e31e340780acea151512ce09 | [
"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 | 5,254 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import topology.basic
import order.omega_complete_partial_order
/-!
# Scott Topological Spaces
A type of topological spaces whose notion
of continuity is equivalent to co... |
fa09b45f36938ccd5d3bc42b371c1ec9f2043032 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/ring_theory/polynomial/basic.lean | e52467169c4c4c366a0da1a007855ce0632044e3 | [] | 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 | 20,234 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
# Ring-theoretic supplement of data.polynomial.
## Main results
* `mv_polynomial.integral_domain`:
If a ring is an integral domain, then so is its polynomial ring over finitel... |
981c3c09be8864fcb0b7d056b76a1686bc03a618 | 367134ba5a65885e863bdc4507601606690974c1 | /src/geometry/manifold/times_cont_mdiff.lean | 2e9edabc88ad875f4726988e0e2bd2932a65a9c6 | [
"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 | 79,989 | 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.mfderiv
import geometry.manifold.local_invariant_properties
/-!
# Smooth functions between smooth manifolds
We define `Cⁿ` functions... |
1b5b41f09636e8c553116b12471f6c4454698961 | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /tests/lean/run/blast_ematch1.lean | e95ead910c040efbb029833eebb5556fc727aec0 | [
"Apache-2.0"
] | permissive | YHVHvx/lean | 732bf0fb7a298cd7fe0f15d82f8e248c11db49e9 | 038369533e0136dd395dc252084d3c1853accbf2 | refs/heads/master | 1,610,701,080,210 | 1,449,128,595,000 | 1,449,128,595,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 341 | lean | import data.nat
open nat
constant f : nat → nat
constant g : nat → nat
definition lemma1 [forward] : ∀ x, (:g (f x):) = x :=
sorry
set_option blast.init_depth 10
set_option blast.inc_depth 1000
set_option blast.subst false
set_option blast.ematch true
example (a b c : nat) : a = f b → a = f c → g a ≠ b → false :=
by... |
7654c1dda0faf9a88c36151fbd9c05abecf27dbd | 80d0f8071ea62262937ab36f5887a61735adea09 | /src/certigrad/aevb/transformations.lean | a62c94cbaf5e74f0a7e3bc818b297f132fac8551 | [
"Apache-2.0"
] | permissive | wudcscheme/certigrad | 94805fa6a61f993c69a824429a103c9613a65a48 | c9a06e93f1ec58196d6d3b8563b29868d916727f | refs/heads/master | 1,679,386,475,077 | 1,551,651,022,000 | 1,551,651,022,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,578 | lean | /-
Copyright (c) 2017 Daniel Selsam. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Daniel Selsam
Proofs that integrating out the KL and reparametizing are sound when
applied to the naive variational encoder.
-/
import .util .prog .graph ..prove_model_ok ..kl
namespac... |
c3536dbbdd4d52e60410ddb0297ea2ec437f63b1 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /counterexamples/phillips.lean | 95067c8ce8e4114634ca3a4b38221291d9fb5d21 | [
"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 | 28,990 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import analysis.normed_space.hahn_banach.extension
import measure_theory.measure.lebesgue
/-!
# A counterexample on Pettis integrability
There are several the... |
4019d959af02878663e227030fca9cd6daae2ff3 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/topology/semicontinuous.lean | 6b4887f926a4ad17a74ac052813f2a43f565826f | [
"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 | 43,522 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.continuous_on
import algebra.indicator_function
import topology.algebra.group
import topology.algebra.ordered.liminf_limsup
import topology.inst... |
9c387fbd3aa2c45b0ed9a47c7aadd14a16ffc644 | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/ring_theory/henselian.lean | 4136ed06e7e2e595cf6c53b8e895127981739f07 | [
"Apache-2.0"
] | permissive | dexmagic/mathlib | ff48eefc56e2412429b31d4fddd41a976eb287ce | 7a5d15a955a92a90e1d398b2281916b9c41270b2 | refs/heads/master | 1,693,481,322,046 | 1,633,360,193,000 | 1,633,360,193,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,821 | 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 data.polynomial.taylor
import ring_theory.ideal.local_ring
import linear_algebra.adic_completion
/-!
# Henselian rings
In this file we set up the basic theo... |
8b12bcb8340b52a9f6a60c040833baa705ff4078 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /library/data/equiv.lean | 509d0ac7eba6a8dab4659264fd2602df49cabd23 | [
"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 | 16,469 | 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
In the standard library we cannot assume the univalence axiom.
We say two types are equivalent if they are isomorphic.
Two equivalent types have the same car... |
b2d454148864689b92029c7f156b11abda080a4c | 71ee8429ef01e62a6317ad385210fc1ce73da17e | /src/UROP.lean | 9f18a13a4eb323b93848cdfc649898a3df25e42d | [] | no_license | qsmy41/ICL-UROP---LeanProver | 03207ac6b64b00fbb9039a6fa48abf847e91533f | 20aa66d479c5edd0706819d641d2f642432e6adb | refs/heads/master | 1,669,959,783,081 | 1,598,028,742,000 | 1,598,028,742,000 | 285,318,189 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,126 | lean | import topology.algebra.infinite_sum
import data.real.basic
import data.real.nnreal
import algebra.geom_sum
open_locale big_operators
open_locale classical
open finset
notation `|`x`|` := abs x
def seq_limit (u : ℕ → ℝ) (l : ℝ) : Prop :=
∀ ε > 0, ∃ N, ∀ n ≥ N, |u n - l| ≤ ε
def non_decreasing (u : ℕ → ℝ) :=
∀ n m,... |
57de5ad1358491f6a182750159a4c1ff8f93d98e | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/convex/partition_of_unity.lean | 1518123f8863671210ba99bb333351a8e7a0c528 | [
"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 | 3,738 | lean | /-
Copyright (c) 2022 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import topology.partition_of_unity
import analysis.convex.combination
/-!
# Partition of unity and convex sets
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any ch... |
b98bd8afb40069eea64e74926ebb7ba57798abc2 | 9b9a16fa2cb737daee6b2785474678b6fa91d6d4 | /src/category_theory/limits/preserves.lean | 9069f97ed5ba77f57901cba6aeda883855343c5c | [
"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 | 10,235 | lean | -- Copyright (c) 2018 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Scott Morrison, Reid Barton
-- Preservation and reflection of (co)limits.
import category_theory.whiskering
import category_theory.limits.limits
open category_theory
namespac... |
f11709f571df547407272b606ab88462fbe61d73 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/measure_theory/measure/haar.lean | 0883a2c3ba646b3bbbdc18c9d8912ffd94f6e1f4 | [
"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 | 38,932 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import measure_theory.measure.content
import measure_theory.group.prod
import group_theory.divisible
import topology.algebra.group.compact
/-!
# Haar measure
In... |
c0436d1f769984ebffa37e610d0f059742ea9098 | 26ac254ecb57ffcb886ff709cf018390161a9225 | /src/algebra/group/units.lean | 53a89033992994f69ecc6ee21bb6a435dfb48b6c | [
"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 | 11,576 | lean | /-
Copyright (c) 2017 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Mario Carneiro, Johannes Hölzl, Chris Hughes, Jens Wagemaker
-/
import algebra.group.basic
/-!
# Units (i.e., invertible elements) of a multiplicative monoid
-/
universe u
vari... |
bc95300f9a2755f9567619ea1b2057a873a731d4 | 54deab7025df5d2df4573383df7e1e5497b7a2c2 | /data/rat.lean | 4e62dd74d1cfddae34725eff688497d4381528b7 | [
"Apache-2.0"
] | permissive | HGldJ1966/mathlib | f8daac93a5b4ae805cfb0ecebac21a9ce9469009 | c5c5b504b918a6c5e91e372ee29ed754b0513e85 | refs/heads/master | 1,611,340,395,683 | 1,503,040,489,000 | 1,503,040,489,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 23,843 | 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
Introduces the rational numbers as discrete, linear ordered field.
-/
import data.nat.gcd data.pnat data.int.basic pending
/- linorder -/
section linear_order_cases_... |
bca4ad00989b9e3bdffc06989bf1bd8d16e152c1 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/data/finite/defs.lean | 3ca11998c357743d6f13a01119edbde001799f1f | [
"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 | 2,952 | lean | /-
Copyright (c) 2022 Kyle Miller. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
import logic.equiv.basic
/-!
# Definition of the `finite` typeclass
This file defines a typeclass `finite` saying that `α : Sort*` is finite. A type is `finite` if it
is ... |
850fc6f3dbf194f1cbeb41aabd842cf73ea086ba | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/topology/instances/real.lean | 1a611bc66cbe67e4599f0697dcd8f325a6928332 | [
"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 | 16,412 | 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
The real numbers ℝ.
They are constructed as the topological completion of ℚ. With the following steps:
(1) prove that ℚ forms a uniform space.
(2) subt... |
f51eac249d67409ee452251441771e29e8a3db56 | ebbdcbd7ddc89a9ef7c3b397b301d5f5272a918f | /qp/p1_categories/c3_wtypes/s6_inductive.lean | 71b3978447ca4c83ad8da9f80f72f0ee6e77bb16 | [] | 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 | 7,337 | lean | /- -----------------------------------------------------------------------
Inductive types.
----------------------------------------------------------------------- -/
import .s5_wtypes
namespace qp
open stdaux
universe variables ℓobj ℓhom
/- -----------------------------------------------------------------------... |
51864083a837fcc238f967448dec0c7b593906c1 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/analysis/calculus/fderiv_symmetric.lean | 34f00e42edab502fb09a34fca3aa78f0fa5b86ca | [
"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 | 19,022 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import analysis.calculus.deriv
import analysis.calculus.mean_value
import analysis.convex.topology
/-!
# Symmetry of the second derivative
We show that, over ... |
74c43e39aae082a4d6f2a92e9a31d38c3a18a6a4 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/noindexAnnotation.lean | f6578f118ee0427ed38415fca30991016b91ec03 | [
"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 | 320 | lean | structure Fin2 (n : Nat) :=
(val : Nat)
(isLt : val < n)
protected def Fin2.ofNat {n : Nat} (a : Nat) : Fin2 (Nat.succ n) :=
⟨a % Nat.succ n, Nat.mod_lt _ (Nat.zero_lt_succ _)⟩
instance : OfNat (Fin2 (no_index (n+1))) i where
ofNat := Fin2.ofNat i
def ex1 : Fin2 (9 + 1) :=
0
def ex2 : Fin2 10 :=
0
|
a44ec8c6a5c772d09a6c9e82b70a35a64a0cfc78 | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/algebra/ordered_monoid.lean | de6ead14e17fc813f2dc0b1669e73ebacaa4fc9d | [
"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 | 42,850 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl
-/
import algebra.group.with_one
import algebra.group.type_tags
import algebra.group.prod
import algebra.order_functions... |
25e7b2a17f52d367adfe1799b60b98bec3a3c8e6 | 4a092885406df4e441e9bb9065d9405dacb94cd8 | /src/valuation/topology.lean | 3a05ade7adc9242dabc9edd99a8361216f3ea5c0 | [
"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 | 3,086 | lean | /-
In this file, we define the topology induced by a valuation on a ring
valuation.topology {Γ : Type*} [linear_ordered_comm_group Γ] {R : Type*} [ring R] :
valuation R Γ → topological_space R
-/
import for_mathlib.nonarchimedean.basic
import valuation.basic
local attribute [instance] classical.prop_decidable
non... |
824d47c5d43b8dcbc17a369c306a3ade3687f0c5 | c9ba4946202cfd1e2586e71960dfed00503dcdf4 | /src/meta_k/meta_var.lean | a076f0ae0c74461124b800bbf2cde14c65e44785 | [] | no_license | ammkrn/learning_semantics_of_k | f55f669b369e32ef8407c16521b21ac5c106dc4d | c1487b538e1decc0f1fd389cd36bc36d2da012ab | refs/heads/master | 1,588,081,593,954 | 1,552,449,093,000 | 1,552,449,093,000 | 175,315,800 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,801 | lean | import .meta_sort
-- #############################################
-- ##### meta_variable ###################
@[derive decidable_eq]
inductive meta_variable : Type
| mk : #String → #Sort → meta_variable
instance : inhabited meta_variable :=
inhabited.mk (meta_variable.mk ("default_#Variable") (%Sort))
n... |
76c7cb014bec8ba6e700816adaf3638ce82f25db | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/calculus/taylor.lean | f7040ff75e28c8c41a5b9d8a16f1e465f000db3f | [
"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 | 18,606 | lean | /-
Copyright (c) 2022 Moritz Doll. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Moritz Doll
-/
import analysis.calculus.iterated_deriv
import analysis.calculus.mean_value
import data.polynomial.module
/-!
# Taylor's theorem
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4... |
e0b23c88714ad0b4b11d5bc5efaae8cacf9ad78e | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /src/Init/Lean/Compiler/IR/EmitC.lean | b73803fbb31c3ed0f27d81d30351e4c6036bdea2 | [
"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 | 24,506 | 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.Control.Conditional
import Init.Lean.Runtime
import Init.Lean.Compiler.NameMangling
import Init.Lean.Compiler.ExportAttr
import Init.Lea... |
7e3aa214a28bc3d4d40ccdb46e7c3a3571193370 | ad3e8f15221a986da27c99f371922c0b3f5792b6 | /src/week05/e01_matroids.lean | 925b7493516acd4035ef265e8fbf2ec6a83f94e2 | [] | no_license | VArtem/lean-itmo | a0e1424c8cc4c2de2ac85ab6fd4a12d80e9b85f1 | dc44cd06f9f5b984d051831b3aaa7364e64c2dc4 | refs/heads/main | 1,683,761,214,467 | 1,622,821,295,000 | 1,622,821,295,000 | 357,236,048 | 12 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,048 | lean | import data.finset
import data.fintype.basic
import tactic
import week05.solutions.e00_intro
open finset
structure matroid (α : Type*) [fintype α] [decidable_eq α] :=
(ind : set (finset α))
(ind_empty : ind ∅)
(ind_subset : ∀ ⦃A B⦄, A ⊆ B → ind B → ind A)
(ind_exchange : ∀ (A B : finset α), ind A → ind B → A.... |
f73c9a69441964bc53360eb06473ac7f9a947a28 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/ring_theory/witt_vector/verschiebung.lean | d4062f4d140d29fea189259ed8ea606c16dc063e | [
"Apache-2.0"
] | permissive | AntoineChambert-Loir/mathlib | 64aabb896129885f12296a799818061bc90da1ff | 07be904260ab6e36a5769680b6012f03a4727134 | refs/heads/master | 1,693,187,631,771 | 1,636,719,886,000 | 1,636,719,886,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,950 | 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 ring_theory.witt_vector.basic
import ring_theory.witt_vector.is_poly
/-!
## The Verschiebung operator
## References
* [Hazewinkel, *Witt Vectors*][Haze09]... |
9fb57e48d9eaa856924b9b32b5a0abe28d9da5a8 | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /library/standard/data/bool.lean | 9ed4ceeaeb634ae5d56ae946519a21a0c0538a07 | [
"Apache-2.0"
] | permissive | codyroux/lean | 7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3 | 0cca265db19f7296531e339192e9b9bae4a31f8b | refs/heads/master | 1,610,909,964,159 | 1,407,084,399,000 | 1,416,857,075,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,589 | lean | ------------------------------------------------------------------------------------------------------ Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Leonardo de Moura
------------------------------------------------------... |
ebaf842d6a735fab6c819d9bfe7eae02a116fa75 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/analysis/box_integral/box/subbox_induction.lean | c1925670044133e245a44f6e11c602a2651d6354 | [
"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 | 7,996 | 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.box_integral.box.basic
import analysis.specific_limits
/-!
# Induction on subboxes
In this file we prove the following induction principle for `bo... |
b6a169cd7853dff44cf3e8db520ee72dd5a90473 | 2fbe653e4bc441efde5e5d250566e65538709888 | /src/topology/separation.lean | 7fe4cfbdfe5f43b822edcd2a49fd11e350a47d8f | [
"Apache-2.0"
] | permissive | aceg00/mathlib | 5e15e79a8af87ff7eb8c17e2629c442ef24e746b | 8786ea6d6d46d6969ac9a869eb818bf100802882 | refs/heads/master | 1,649,202,698,930 | 1,580,924,783,000 | 1,580,924,783,000 | 149,197,272 | 0 | 0 | Apache-2.0 | 1,537,224,208,000 | 1,537,224,207,000 | null | UTF-8 | Lean | false | false | 16,753 | 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
Separation properties of topological spaces.
-/
import topology.subset_properties
open set filter lattice
open_locale topological_space
local attribut... |
9d0cf1b2c4aea7dad04f11507793494f575d116e | 5ae26df177f810c5006841e9c73dc56e01b978d7 | /src/category_theory/Cat.lean | 2dd3f9faf508c403aca55021d06d4b55ee44d51c | [
"Apache-2.0"
] | permissive | ChrisHughes24/mathlib | 98322577c460bc6b1fe5c21f42ce33ad1c3e5558 | a2a867e827c2a6702beb9efc2b9282bd801d5f9a | refs/heads/master | 1,583,848,251,477 | 1,565,164,247,000 | 1,565,164,247,000 | 129,409,993 | 0 | 1 | Apache-2.0 | 1,565,164,817,000 | 1,523,628,059,000 | Lean | UTF-8 | Lean | false | false | 1,296 | lean | import category_theory.concrete_category
/-!
Copyright (c) 2019 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
# Category of categories
This file contains definition of category `Cat` of all categories. In
this category objects are ... |
fd50d1e7b880f7aa3b0470219566b28be6456c0c | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/algebra/lie/basic.lean | e6b6f86a052d8bd7fd89a5f29ff1dc23f0e34e83 | [
"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 | 25,665 | lean | /-
Copyright (c) 2019 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import data.bracket
import algebra.algebra.basic
import tactic.noncomm_ring
/-!
# Lie algebras
This file defines Lie rings and Lie algebras over a commutative ring togeth... |
477225f06fb61f74eb569f4293b1915fb3f9a8dc | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/category_theory/category/Cat.lean | 7dece7b014a0f8541d5934da5fb87ef2ea11fffc | [
"Apache-2.0"
] | permissive | jjgarzella/mathlib | 96a345378c4e0bf26cf604aed84f90329e4896a2 | 395d8716c3ad03747059d482090e2bb97db612c8 | refs/heads/master | 1,686,480,124,379 | 1,625,163,323,000 | 1,625,163,323,000 | 281,190,421 | 2 | 0 | Apache-2.0 | 1,595,268,170,000 | 1,595,268,169,000 | null | UTF-8 | Lean | false | false | 2,430 | 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 category_theory.concrete_category
import category_theory.discrete_category
import category_theory.eq_to_hom
/-!
# Category of categories
This file contains... |
11e0dfe4311c6cbcd96cf7a20f69f6569d26c35f | e0f9ba56b7fedc16ef8697f6caeef5898b435143 | /src/algebra/char_zero.lean | 178cd0e9180b56cb89d6a3bc32ad6c0b597b2302 | [
"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 | 3,284 | lean | /-
Copyright (c) 2014 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
Natural homomorphism from the natural numbers into a monoid with one.
-/
import algebra.field
import tactic.wlog
/-- Typeclass for monoids with characteristic zero.
... |
19223dfa9e31ae3a7d3b1c13a1effab1e8d05b37 | 618003631150032a5676f229d13a079ac875ff77 | /src/analysis/normed_space/hahn_banach.lean | 834d7cc545c2a11e36cf2511f6d72126a33cf77f | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 1,406 | 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 analysis.normed_space.operator_norm
import analysis.convex.cone
/-!
# Hahn-Banach theorem
In this file we prove a version of Hahn-Banach theorem for continu... |
dc3eb9ebf579cf77f74aabe60c56fe49a670257a | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/analysis/convex/cone.lean | e3502abb3577f0093ddd5025660012a47abf4dcb | [
"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 | 29,366 | lean | /-
Copyright (c) 2020 Yury Kudryashov All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Frédéric Dupuis
-/
import analysis.convex.hull
import analysis.inner_product_space.basic
/-!
# Convex cones
In a `𝕜`-module `E`, we define a convex cone as a set `s... |
38c08e00be00d7e661eb2abc43ff3f079ab05513 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/bracket.lean | c0b544c455aedfab4ccb64b02f61ff04c932e4ab | [
"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,567 | lean | /-
Copyright (c) 2021 Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Lutz, Oliver Nash
-/
/-!
# Bracket Notation
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to mathlib4.
This file provides no... |
41644d23a361aabda19b5319f3510c4e86a668f2 | 4b4a91d762ac3b6ef8f164899a6a26fc125eddd6 | /src/level_3_another_perspective_on_actions.lean | 4a430fe88167bbd0fafcee181819250ebbf76dd8 | [
"Apache-2.0"
] | permissive | ImperialCollegeLondon/group-action-exercises | 955ceba8edb7eba7b8916690083829d321909aee | 197b1a0e53ec8d84bf3903c9ab5cddf615a44816 | refs/heads/master | 1,686,020,547,415 | 1,625,354,242,000 | 1,625,354,242,000 | 382,577,731 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,632 | lean | /-
Apache 2, because everyone else is doing it
Written by Kevin Buzzard summer 2021 in his shed.
Powered by `mathlib`, the leanprover-community, without which nothing
would have happened.
Thanks to Leo and everyone at Microsoft Research for Lean.
-/
-- This imports all user tactics and a whole bunch of basic mathemati... |
fa84e37078e5eda5b97a72df890f11b409bec885 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/analysis/normed_space/linear_isometry.lean | 6db54d679028d8cc40ca35b0c4d18eaa102102f2 | [
"Apache-2.0"
] | permissive | robertylewis/mathlib | 3d16e3e6daf5ddde182473e03a1b601d2810952c | 1d13f5b932f5e40a8308e3840f96fc882fae01f0 | refs/heads/master | 1,651,379,945,369 | 1,644,276,960,000 | 1,644,276,960,000 | 98,875,504 | 0 | 0 | Apache-2.0 | 1,644,253,514,000 | 1,501,495,700,000 | Lean | UTF-8 | Lean | false | false | 25,128 | lean | /-
Copyright (c) 2021 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Frédéric Dupuis, Heather Macbeth
-/
import analysis.normed.group.basic
import topology.algebra.module.basic
import linear_algebra.basis
/-!
# (Semi-)linear isometrie... |
eb314d11a927d05119008b46b5765da282215869 | 12ba6fe891179eac82e287c24c8812a046221563 | /src/compressions/ij.lean | abddb39fa556f99ee8567b87061aad90b22840d1 | [] | no_license | b-mehta/combinatorics | eca586b4cb7b5e1fd22ec3288f5a2cb4ed6ce4dd | 2a8b30709d35f124f3fc9baa5652d231389e9f63 | refs/heads/master | 1,653,708,057,336 | 1,626,885,184,000 | 1,626,885,184,000 | 228,850,404 | 19 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,299 | lean | /-
ij compressions
-/
import data.finset
import shadows
open finset
variable {α : Type*}
variables [decidable_eq α]
namespace ij
def compress (i j : α) (A : finset α) : finset α :=
if j ∈ A ∧ i ∉ A
then insert i (A.erase j)
else A
lemma compressed_set (i j : α) {A : finset α} : ¬ (j ∈ compress i j A... |
e491f108bca7710b96ad47c4411d48a41bd3f992 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/structuralEqns.lean | 4bcb423ec99ed4444cc24e3609ef7759f1c6be5f | [
"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 | 528 | lean | import Lean
open Lean
open Lean.Meta
def tst (declName : Name) : MetaM Unit := do
IO.println (← getUnfoldEqnFor? declName)
def foo (xs ys zs : List Nat) : List Nat :=
match (xs, ys) with
| (xs', ys') =>
match zs with
| z::zs => foo xs ys zs
| _ => match ys' with
| [] => [1]
| _ => [2]
... |
cb7cd9f93b89d53239bd8ea5769d949de9031eb9 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /src/Lean/Elab/Macro.lean | cc72665f1e7f559734af79fb17031723d7c78a96 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | EdAyers/lean4 | 57ac632d6b0789cb91fab2170e8c9e40441221bd | 37ba0df5841bde51dbc2329da81ac23d4f6a4de4 | refs/heads/master | 1,676,463,245,298 | 1,660,619,433,000 | 1,660,619,433,000 | 183,433,437 | 1 | 0 | Apache-2.0 | 1,657,612,672,000 | 1,556,196,574,000 | Lean | UTF-8 | Lean | false | false | 1,950 | 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.MacroArgUtil
namespace Lean.Elab.Command
open Lean.Syntax
open Lean.Parser.Term hiding macroArg
open Lean.Parser.Command
@[builtinCommand... |
0a2f7df9b5cf86fd965fff6faca02ac622c65e44 | f4bff2062c030df03d65e8b69c88f79b63a359d8 | /src/game/sets/sets_level04.lean | 17367803d21cad16cadd3cf8ff33091af433c3d8 | [
"Apache-2.0"
] | permissive | adastra7470/real-number-game | 776606961f52db0eb824555ed2f8e16f92216ea3 | f9dcb7d9255a79b57e62038228a23346c2dc301b | refs/heads/master | 1,669,221,575,893 | 1,594,669,800,000 | 1,594,669,800,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,402 | lean | import game.sets.sets_level03 -- hide
namespace xena -- hide
open_locale classical -- hide
variable X : Type --hide
/-
# Chapter 1 : Sets
## Level 4
-/
/- Axiom : ext_iff :
A = B ↔ ∀ x : X, x ∈ A ↔ x ∈ B
-/
/-
To prove that two sets are equal, one needs to use the axiom
of extensionality: two sets are equal if ... |
2b316563e7237fd0d94b1675f77827120df4b20b | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/pkg/misc/lakefile.lean | c4010eb6bb19b1bd98ac1e955b4a5f810a62b192 | [
"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 | 79 | lean | import Lake
open System Lake DSL
package misc
@[default_target] lean_lib Misc
|
c650e43388868dc7a7b611f93481629149da985b | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/ring_theory/integral_closure.lean | 3f30bcd8746081e7ac49ccab96bcc33ad5ac97e8 | [
"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 | 21,769 | 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 ring_theory.algebra_tower
import ring_theory.polynomial.scale_roots
/-!
# Integral closure of a subring.
If A is an R-algebra then `a : A` is integral over R if it is ... |
4cb6bcc252fe666f5f71d0425036b446c1c3e7f0 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/tactic/omega/nat/sub_elim.lean | 6922491a6d38c3f7a2e97f9fbb2c5ed77c90ac3c | [
"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 | 5,710 | lean | /-
Copyright (c) 2019 Seul Baek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Seul Baek
-/
/-
Subtraction elimination for linear natural number arithmetic.
Works by repeatedly rewriting goals of the preform `P[t-s]` into
`P[x] ∧ (t = s + x ∨ (t ≤ s ∧ x = 0))`, where... |
8e8a953327cc75d6ecbc0bfeb027ba64e186fe2e | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/int/cast.lean | d736bd02e8c47f6763a422e34a2790d00b09cb78 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,042 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.int.basic
import Mathlib.data.nat.cast
import Mathlib.PostPort
universes u_1 u_2
na... |
acbc0310a4d74c8834baa253d47b172884c186a3 | a45212b1526d532e6e83c44ddca6a05795113ddc | /src/topology/metric_space/lipschitz.lean | 072e502ec9da9cb6bc9f77580b614c54d41c3fcc | [
"Apache-2.0"
] | permissive | fpvandoorn/mathlib | b21ab4068db079cbb8590b58fda9cc4bc1f35df4 | b3433a51ea8bc07c4159c1073838fc0ee9b8f227 | refs/heads/master | 1,624,791,089,608 | 1,556,715,231,000 | 1,556,715,231,000 | 165,722,980 | 5 | 0 | Apache-2.0 | 1,552,657,455,000 | 1,547,494,646,000 | Lean | UTF-8 | Lean | false | false | 5,507 | lean | /-
Copyright (c) 2018 Rohan Mitta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Rohan Mitta, Kevin Buzzard, Alistair Tucker, Johannes Hölzl
Lipschitz functions and the Banach fixed-point theorem
-/
import topology.metric_space.basic analysis.specific_limits
open fil... |
6a24b995563f9208a2338a429779d62bc71da5e1 | 316671bfe98dfae2abac483407a5ae2daca54b1b | /04_Disjunction/00_intro.lean | 4e8623eeba468f19fa06566b4c083ad101b9fa12 | [] | no_license | chasedawson/cs-dm | 9b38bd7b0bd411a9f7713f5d613b8a0b2fdcd28b | ac3cca3eadc56a6355c8e9a56a39ed7eb1db55cb | refs/heads/master | 1,585,360,471,246 | 1,536,097,455,000 | 1,536,097,455,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 114 | lean | -- UNDER CONSTRUCTION
/-
P
----- (∨-intro-left)
P ∨ Q
Q
----- (∨-intro-right)
P ∨ Q
-/ |
acde7599d003738d4084bf35b58fa1659449c757 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/multiplicity.lean | e48057423a0f9fc7f2eb65d9a039f8aa846ee350 | [
"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 | 22,676 | 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, Chris Hughes
-/
import algebra.associated
import algebra.big_operators.basic
import ring_theory.valuation.basic
/-!
# Multiplicity of a divisor
For a commutative mo... |
ace8306a248d90e5148dc1c07a274cc9abf802a3 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/eq23.lean | e82fde3542e54bebf9a37618f2f8b012ca86eba7 | [
"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 | 594 | lean | open nat
inductive tree (A : Type) :=
| leaf : A → tree A
| node : tree_list A → tree A
with tree_list :=
| nil : tree_list A
| cons : tree A → tree_list A → tree_list A
namespace tree_list
definition len {A : Type} : tree_list A → nat
| len (nil _) := 0
| len (cons t l) := len l + 1
theorem len_nil {A : Type} ... |
ff0c624464a594b463575207e65db4f531c361bc | 05b503addd423dd68145d68b8cde5cd595d74365 | /src/data/polynomial.lean | b989c57a3cbd7b39bcbe7b27e53ec8e8b6e75853 | [
"Apache-2.0"
] | permissive | aestriplex/mathlib | 77513ff2b176d74a3bec114f33b519069788811d | e2fa8b2b1b732d7c25119229e3cdfba8370cb00f | refs/heads/master | 1,621,969,960,692 | 1,586,279,279,000 | 1,586,279,279,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 105,460 | 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
Theory of univariate polynomials, represented as `add_monoid_algebra α ℕ`, where α is a commutative semiring.
-/
import data... |
4c96e9e693cca0f0c05854ca7e1faaf18c12870d | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/simpperf/simp3000.lean | 23be90708761d22b0e6036bec8beea7931bf606e | [
"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 | 262,598 | lean | axiom f (x : Prop) : Prop
axiom g0 (x : Prop) : Prop
axiom g1 (x : Prop) : Prop
axiom g2 (x : Prop) : Prop
axiom g3 (x : Prop) : Prop
axiom g4 (x : Prop) : Prop
axiom g5 (x : Prop) : Prop
axiom g6 (x : Prop) : Prop
axiom g7 (x : Prop) : Prop
axiom g8 (x : Prop) : Prop
axiom g9 (x : Prop) : Prop
axiom g10 (x : Prop) : P... |
88a2cca2688173853232897ed54964eb2fec86e1 | 9a0b1b3a653ea926b03d1495fef64da1d14b3174 | /tidy/rewrite_search/core/types.lean | cd54805c0f60bef98796c23bab8da2671abd92be | [
"Apache-2.0"
] | permissive | khoek/mathlib-tidy | 8623b27b4e04e7d598164e7eaf248610d58f768b | 866afa6ab597c47f1b72e8fe2b82b97fff5b980f | refs/heads/master | 1,585,598,975,772 | 1,538,659,544,000 | 1,538,659,544,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,373 | lean | import tidy.lib
import data.rat
import tidy.rewrite_search.discovery.shared
import .shared
import .hook
universe u
namespace tidy.rewrite_search
meta inductive search_result
| success (proof : expr) (steps : list how) : search_result
| failure (message : string) : search_result
inductive bound_progress (β : Type ... |
b8a08c7f85101e34bc5463917edc847cd211728e | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/group_theory/specific_groups/cyclic.lean | 34b0ae2eec603e8fd66125b638c526e33cfea782 | [
"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 | 19,206 | 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
-/
import algebra.big_operators.order
import data.nat.totient
import group_theory.order_of_element
import tactic.group
/-!
# Cyclic groups
A group `G` is called cycli... |
8f26dc363be15f27b2a0f821bea2ed85230c270d | de44c57911f8f2292d4105ccefe4372f3880a7b7 | /src/hol.lean | e45755d92f89c47058e7589e71002c746c1373f0 | [] | no_license | nyuichi/LeanHOL | 108b1df4daab61b60b0160a7f56cf6b7dd8f57fe | 8190f2d4234f0f39c9e7b5612e552e72ab002798 | refs/heads/master | 1,587,207,990,491 | 1,569,724,629,000 | 1,569,724,629,000 | 167,488,678 | 22 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,062 | lean | -- 3. higher order logic
import moromoro
import logic.basic
namespace hol
inductive type : Type
| base : type
| prop : type
| arrow : type → type → type
open type
variable ν : type → Type
inductive term : type → Type
| var : Π {t}, ν t → term t
| lam : Π {t₁ t₂}, (ν t₁ → term t₂) → term (arrow t₁ t₂)
| app : Π {t₁... |
b3cc0f882e5496744f1e9185cfdbaa91ea0c6f5b | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/matrix/reflection.lean | 690bed1a0d04abf12e7ae5b0a74d2d57ee71b5a7 | [
"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,519 | 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 data.matrix.notation
import data.matrix.basic
import data.fin.tuple.reflection
/-!
# Lemmas for concrete matrices `matrix (fin m) (fin n) α`
> THIS FILE IS SYNCHRO... |
01724525c0b5d7a6c15a7c689bd4000411e240e8 | ff5230333a701471f46c57e8c115a073ebaaa448 | /library/data/rbtree/min_max.lean | 9077bbadee9bc74749a24ba6ca4c05ba8e453cb8 | [
"Apache-2.0"
] | permissive | stanford-cs242/lean | f81721d2b5d00bc175f2e58c57b710d465e6c858 | 7bd861261f4a37326dcf8d7a17f1f1f330e4548c | refs/heads/master | 1,600,957,431,849 | 1,576,465,093,000 | 1,576,465,093,000 | 225,779,423 | 0 | 3 | Apache-2.0 | 1,575,433,936,000 | 1,575,433,935,000 | null | UTF-8 | Lean | false | false | 3,668 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import data.rbtree.basic
universe u
namespace rbnode
variables {α : Type u} {lt : α → α → Prop}
lemma mem_of_min_eq (lt : α → α → Prop) [is_irrefl α lt] {... |
b86497a0f03a962071021475426257cd0214ffef | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /test/ext.lean | 5b0779fe89d77e290f2775a4208832b876bb4607 | [
"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 | 3,736 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import tactic.ext
import tactic.solve_by_elim
import data.stream.basic
import data.finset.basic
import tactic.rcases
section ext_trace_test
setup_tactic_parser
namespace... |
755f0229a01775603f67351dde7b079ac8b9b2d3 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/group_theory/perm/fin.lean | a80671f99906bac1a7c1708d875d6be9d260bcbe | [
"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 | 10,757 | lean | /-
Copyright (c) 2021 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import group_theory.perm.cycle.type
import group_theory.perm.option
import logic.equiv.fin
import logic.equiv.fintype
/-!
# Permutations of `fin n`
-/
open equiv
/-- Perm... |
2d279565d0878f51c7442cf879d7a78a47fbf194 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/enriched/basic.lean | d7cd99921aebb62ed449496a7d85bcef7359c80f | [
"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 | 17,239 | 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 category_theory.monoidal.types
import category_theory.monoidal.center
import tactic.apply_fun
/-!
# Enriched categories
We set up the basic theory of `V`-enr... |
3deff4216cf00dde1f3cb8839e4d92b40010ae4d | f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58 | /analysis/topology/uniform_space.lean | 6fd88f0b6852b2ce98040183f9ea3feb44361efb | [
"Apache-2.0"
] | permissive | semorrison/mathlib | 1be6f11086e0d24180fec4b9696d3ec58b439d10 | 20b4143976dad48e664c4847b75a85237dca0a89 | refs/heads/master | 1,583,799,212,170 | 1,535,634,130,000 | 1,535,730,505,000 | 129,076,205 | 0 | 0 | Apache-2.0 | 1,551,697,998,000 | 1,523,442,265,000 | Lean | UTF-8 | Lean | false | false | 83,199 | 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 uniform spaces.
Uniform spaces are a generalization of metric spaces and topological groups. Many concepts directly
generaliz... |
2375d0f17251dd29a64bb66c8e2eb40d75789199 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/control/uliftable.lean | 6b96c5ccae147118ff0f9470450abff397bfd0d7 | [
"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 | 5,580 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import control.monad.basic
import control.monad.cont
import control.monad.writer
import data.equiv.basic
import tactic.interactive
/-!
# Universe lifting for type families... |
a6cf2d1de06ce472111d5ba2127c69e05dd15aac | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /src/Init/Lean/Elab/DeclModifiers.lean | 6c102acb791546a9e73eae604da3143281bd27ce | [
"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 | 4,631 | 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
-/
prelude
import Init.Lean.Elab.Command
namespace Lean
namespace Elab
namespace Command
structure Attribute :=
(name : Name) (args : Synt... |
3741d275576cec4d5b0d194a8652f914ee38ddc9 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/algebra/category/Module/adjunctions.lean | 3b7e874686270ac1b5e7cd6807d9c68d7146b111 | [
"Apache-2.0"
] | permissive | waynemunro/mathlib | e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552 | 065a70810b5480d584033f7bbf8e0409480c2118 | refs/heads/master | 1,693,417,182,397 | 1,634,644,781,000 | 1,634,644,781,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,234 | lean | /-
Copyright (c) 2021 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Johan Commelin
-/
import algebra.category.Module.monoidal
import category_theory.monoidal.functorial
import category_theory.monoidal.types
import linear_algebra.direct_... |
93df5bf8754922506b7f6217174b7c10ebc7a0af | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /library/standard/logic/axioms/hilbert.lean | f45e15c0005f4fa708ce84ee2f223ecbd24c3d75 | [
"Apache-2.0"
] | permissive | codyroux/lean | 7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3 | 0cca265db19f7296531e339192e9b9bae4a31f8b | refs/heads/master | 1,610,909,964,159 | 1,407,084,399,000 | 1,416,857,075,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,322 | lean | ----------------------------------------------------------------------------------------------------
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Leonardo de Moura
-----------------------------------------------------... |
8dbb1d349909946eb973f1b3c7e90af674ba0fb2 | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /library/logic/eq.lean | 75d0942766c1099ece5727ea791d273be65e1046 | [
"Apache-2.0"
] | permissive | codyroux/lean | 7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3 | 0cca265db19f7296531e339192e9b9bae4a31f8b | refs/heads/master | 1,610,909,964,159 | 1,407,084,399,000 | 1,416,857,075,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,153 | 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, Jeremy Avigad, Floris van Doorn
import general_notation logic.prop data.unit.decl
-- logic.eq
-- ====================
-- Equality.
-- eq
-- --
induc... |
32d798cd0f422cd057f8853022ab03b3440787e5 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Elab/Declaration.lean | fc17f88ef98d65bb7c8ed202dc0c84677f7ffd6f | [
"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,231 | 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.CollectLevelParams
import Lean.Elab.DeclUtil
import Lean.Elab.DefView
import Lean.Elab.Inductive
import Lean.Elab.Struct... |
7c95f6d718456d16d576d42ab71726a8361df7fa | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/set_like/fintype.lean | d1bb48f11a7834c72d8f4d8badf5e98d4202bfed | [
"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,024 | lean | /-
Copyright (c) 2021 . All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import data.set_like.basic
import data.fintype.powerset
/-!
# Set-like fintype
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corresponding PR to ma... |
f75a5a16ae0052ff8e3860af264420932150318d | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/data/complex/module.lean | de44dd1a81360b80f995c4c281fbff1c51a448b6 | [
"Apache-2.0"
] | permissive | waynemunro/mathlib | e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552 | 065a70810b5480d584033f7bbf8e0409480c2118 | refs/heads/master | 1,693,417,182,397 | 1,634,644,781,000 | 1,634,644,781,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 10,480 | lean | /-
Copyright (c) 2020 Alexander Bentkamp, Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander Bentkamp, Sébastien Gouëzel, Eric Wieser
-/
import algebra.module.ordered
import data.complex.basic
import data.matrix.notation
import field_theory.tow... |
606e8f204dccccf45accf5acdb8902928d788d04 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/analysis/calculus/fderiv.lean | f254914e4ec078160301fb73afb84d019d014f94 | [
"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 | 135,587 | lean | /-
Copyright (c) 2019 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov
-/
import analysis.asymptotics.asymptotic_equivalent
import analysis.calculus.tangent_cone
import analysis.normed_space.bounded_linear_... |
6e565def64d67f3a354f2cd963d012580a9d8f0c | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/adjunction/limits.lean | 1820e2cc84d6670276fdc20bfdd5946833cd55cc | [
"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 | 13,269 | lean | /-
Copyright (c) 2019 Reid Barton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton, Johan Commelin
-/
import category_theory.adjunction.basic
import category_theory.limits.creates
/-!
# Adjunctions and limits
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> An... |
f01e9fec0a0bcf04952e3667681bfbe1f6548dbf | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/tc_out_param_deps.lean | 974ac53b1b4697e7904493d3afc8ee45f8e2f977 | [
"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 | 817 | lean | prelude
import init.core
class semiring (G : Type*) := (one : G)
instance : semiring nat := ⟨1⟩
class add_monoid_hom_class (F : Type*) (H : out_param Type*) [semiring H] :=
(coe : F → nat → H)
(ext_nat : ∀ (f g : F), coe f 1 = coe g 1 → f = g)
open add_monoid_hom_class
class semiring_hom_class (F : Type*) (H : out... |
90e4d3fbc38135b221c3d91113504431adffa0b2 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/data/real/pi/leibniz.lean | be7ce817b362d890e4a14b9f9971356910eec26c | [
"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,647 | lean | /-
Copyright (c) 2020 Benjamin Davidson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Benjamin Davidson
-/
import analysis.special_functions.trigonometric.arctan_deriv
/-! ### Leibniz's Series for Pi -/
namespace real
open filter set
open_locale classical big_oper... |
9ba63da085c22428d738e64939a265c9616e9f01 | 43390109ab88557e6090f3245c47479c123ee500 | /src/classical_logic/proposional_lemmas.lean | 55c136f9e4529cb430783da84c193098488cf97f | [
"Apache-2.0"
] | permissive | Ja1941/xena-UROP-2018 | 41f0956519f94d56b8bf6834a8d39473f4923200 | b111fb87f343cf79eca3b886f99ee15c1dd9884b | refs/heads/master | 1,662,355,955,139 | 1,590,577,325,000 | 1,590,577,325,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 952 | lean | open classical
variables { p q r : Prop }
theorem not_not_iff : ¬¬p ↔ p :=
⟨by_contradiction ∘ flip absurd, not_not_intro⟩
theorem imp_classical : p → q ↔ ¬ p ∨ q :=
⟨λh, by_cases (or.inr ∘ h) or.inl, λh h1, h.elim (absurd h1) id⟩
theorem not_and_iff_neg_or : ¬ (p ∧ q) ↔ (¬ p ∨ ¬ q) :=
by { split; intro h,
{ ... |
1d39fcf5243b7bdcb99f25dffdf950ce7cceba3f | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/tactic/omega/clause.lean | 96e6f9469eae793b8ab8afa0835f04e2e8d147dd | [
"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 | 2,028 | lean | /-
Copyright (c) 2019 Seul Baek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Seul Baek
-/
/-
Definition of linear constrain clauses.
-/
import data.list.basic
import tactic.omega.term
namespace omega
/-- (([t₁,...tₘ],[s₁,...,sₙ]) : clause) encodes the constraint... |
f0713b47250182b1179581fff64e56ef1f4d94f5 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Elab/Deriving/Repr.lean | 461d21036acf27d82bc6472ad018a02681834b46 | [
"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 | 5,207 | 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.Transform
import Lean.Meta.Inductive
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
namespace Lean.Elab.Deriving.Repr
open... |
1e084f1425a99c9da48d079030fdbb6755140b7e | e514e8b939af519a1d5e9b30a850769d058df4e9 | /src/tactic/rewrite_search/command/suggestion.lean | b3283ac847a316a9001815829ed6c001496be8cb | [] | no_license | semorrison/lean-rewrite-search | dca317c5a52e170fb6ffc87c5ab767afb5e3e51a | e804b8f2753366b8957be839908230ee73f9e89f | refs/heads/master | 1,624,051,754,485 | 1,614,160,817,000 | 1,614,160,817,000 | 162,660,605 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 676 | lean | import tactic.where
-- Import the `@[suggest]` attribute definition, since we emit code which uses it.
import tactic.rewrite_search.discovery.suggest
open lean.parser interactive
open tactic.rewrite_search.discovery
@[user_command]
meta def suggestion_cmd (d : decl_meta_info) (_ : parse $ tk "suggestion") : lean.pa... |
53a622d78dd87f6592fde159e2aefe73087e11d8 | 5749d8999a76f3a8fddceca1f6941981e33aaa96 | /src/linear_algebra/tensor_product.lean | 39b4d34db06cd202031128bc768a418544e43f5b | [
"Apache-2.0"
] | permissive | jdsalchow/mathlib | 13ab43ef0d0515a17e550b16d09bd14b76125276 | 497e692b946d93906900bb33a51fd243e7649406 | refs/heads/master | 1,585,819,143,348 | 1,580,072,892,000 | 1,580,072,892,000 | 154,287,128 | 0 | 0 | Apache-2.0 | 1,540,281,610,000 | 1,540,281,609,000 | null | UTF-8 | Lean | false | false | 15,953 | 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
Tensor product of modules over commutative rings.
-/
import group_theory.free_abelian_group
import linear_algebra.direct_sum_module
variables {R : Type*} [comm... |
633db1161456cabffc9c7bdef732f3d2a8c87451 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/algebra/big_operators/finprod.lean | 4e54d6ce17006b8362f141f0217c1aa9a65a134b | [
"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 | 35,604 | lean | /-
Copyright (c) 2020 Kexing Ying and Kevin Buzzard. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying, Kevin Buzzard, Yury Kudryashov
-/
import data.set.finite
import data.set.disjointed
import algebra.big_operators
import algebra.indicator_function
/-!
# F... |
fd141d97d88d4479a82ff3257330d9b1ccb3344f | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/group_theory/free_group.lean | 49bb030f01cbd46cc2d52eefe6a62bd28ed3adb3 | [
"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 | 32,613 | 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 data.fintype.basic
import group_theory.subgroup.basic
/-!
# Free groups
This file defines free groups over a type. Furthermore, it is shown that the free group constru... |
881cb6f16d1756f64d360c52783e8a81995d0f94 | 54deab7025df5d2df4573383df7e1e5497b7a2c2 | /topology/continuity.lean | 5f0d6e5699b3b6ebfad5cf91e7a27475c5e927e7 | [
"Apache-2.0"
] | permissive | HGldJ1966/mathlib | f8daac93a5b4ae805cfb0ecebac21a9ce9469009 | c5c5b504b918a6c5e91e372ee29ed754b0513e85 | refs/heads/master | 1,611,340,395,683 | 1,503,040,489,000 | 1,503,040,489,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 32,860 | 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
Continuous functions.
Parts of the formalization is based on the books:
N. Bourbaki: General Topology
I. M. James: Topologies and Uniformities
A major difference i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.