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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f94b93998a87ce70cdf07b6e246363538c90cbab | c777c32c8e484e195053731103c5e52af26a25d1 | /src/algebra/lie/nilpotent.lean | 3f7c43ddd61d17697028803a5d79dec8b2b909fd | [
"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 | 27,727 | lean | /-
Copyright (c) 2021 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import algebra.lie.solvable
import algebra.lie.quotient
import algebra.lie.normalizer
import linear_algebra.eigenspace
import ring_theory.nilpotent
/-!
# Nilpotent Lie alg... |
333443b04a629054be402227115f7eff7ee0cf7d | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/set_theory/cardinal.lean | bf404e2c1a542091a7850aa28bbe9aad112726c5 | [
"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 | 58,566 | 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, Floris van Doorn
-/
import data.set.countable
import set_theory.schroeder_bernstein
import data.fintype.card
import data.nat.enat
/-!
# Cardinal Number... |
37fdd5c11a09ab8fd7be5d7dd2a632cc4c1338de | 38bf3fd2bb651ab70511408fcf70e2029e2ba310 | /src/topology/uniform_space/uniform_embedding.lean | c2e9dc738ff7140ebb76cdde0ebb7b0567ae9bd5 | [
"Apache-2.0"
] | permissive | JaredCorduan/mathlib | 130392594844f15dad65a9308c242551bae6cd2e | d5de80376088954d592a59326c14404f538050a1 | refs/heads/master | 1,595,862,206,333 | 1,570,816,457,000 | 1,570,816,457,000 | 209,134,499 | 0 | 0 | Apache-2.0 | 1,568,746,811,000 | 1,568,746,811,000 | null | UTF-8 | Lean | false | false | 19,007 | 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, Sébastien Gouëzel, Patrick Massot
Uniform embeddings of uniform spaces. Extension of uniform continuous functions.
-/
import topology.uniform_space.cauchy topology.uni... |
5e19096e6d6ae7a4dd1bf054e8fa430092c1ec9d | cc060cf567f81c404a13ee79bf21f2e720fa6db0 | /lean/20170309-inherited-fields-lose-attributes.lean | 16f8a5d0e77020093f62545c5be3ceff4da88330 | [
"Apache-2.0"
] | permissive | semorrison/proof | cf0a8c6957153bdb206fd5d5a762a75958a82bca | 5ee398aa239a379a431190edbb6022b1a0aa2c70 | refs/heads/master | 1,610,414,502,842 | 1,518,696,851,000 | 1,518,696,851,000 | 78,375,937 | 2 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 82 | lean | structure X :=
(a : unit)
attribute [ematch] X.a
structure Y extends X
print Y.a |
be1e70fe34d828c20f607522debf2abd76e2f500 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/analysis/normed_space/linear_isometry.lean | 862806468477f59fb18fa1f1fe79014b30f7a349 | [
"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 | 36,659 | 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... |
02e18f9e4fb8393a5a80e4e47c0cfc24e8053df3 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/topology/algebra/floor_ring.lean | 683cf5f27df8a9a020972b517fa574e1c21c1ffe | [
"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 | 9,287 | lean | /-
Copyright (c) 2020 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anatole Dedecker
Basic topological facts (limits and continuity) about `floor`,
`ceil` and `fract` in a `floor_ring`.
-/
import topology.algebra.ordered.basic
import algebra.floor
... |
8e2e52040e9949691fdad3641ec5e9d54da3074f | 79cc757e5e5b09c7a522f717a6c490d321d36469 | /src/mywork/hw4.lean | 5d509a14befc7a0bf9a70b1213fdef1349b4d3bf | [] | no_license | LukeMathe/cs2120f21 | 534c3b8868dcfdea98a9d22513180c8a062794c6 | d51940b174569a8782e62ae027b108b5f099a9aa | refs/heads/main | 1,693,418,664,935 | 1,634,585,653,000 | 1,634,585,653,000 | 403,762,076 | 0 | 0 | null | 1,630,963,485,000 | 1,630,963,485,000 | null | UTF-8 | Lean | false | false | 6,292 | lean | /-Luke Mathe, lkm6eka-/
-- 1
example : 0 ≠ 1 :=
begin
-- ¬ (0 = 1)
-- (0 = 1) → false
assume h,
cases h,
end
-- 2
example : 0 ≠ 0 → 2 = 3 :=
begin
assume h,
have f : false := h (eq.refl 0),
exact false.elim (f),
end
-- 3
example : ∀ (P : Prop), P → ¬¬P :=
begin
assume P,
assume (p : P),
-- ¬¬P
... |
10f32505f5445d5289169886d7a1caafb35a5be1 | 60bf3fa4185ec5075eaea4384181bfbc7e1dc319 | /src/game/series/tempLevel01.lean | b3c69a3f7d7e0ffa2ef66b6f13d8c3975b0e6a86 | [
"Apache-2.0"
] | permissive | anrddh/real-number-game | 660f1127d03a78fd35986c771d65c3132c5f4025 | c708c4e02ec306c657e1ea67862177490db041b0 | refs/heads/master | 1,668,214,277,092 | 1,593,105,075,000 | 1,593,105,075,000 | 264,269,218 | 0 | 0 | null | 1,589,567,264,000 | 1,589,567,264,000 | null | UTF-8 | Lean | false | false | 294 | lean | import game.series.L01defs
/-
Temporary level 01: If $\sum a_n$ converges, then $a_n \to 0$.
-/
/- Lemma
If partial sum sequence of $a_n$ convergent, $a_n → 0$.
-/
lemma sum_converges (a : ℕ → ℝ) :
is_convergent (partial_sum_sequence a) → is_limit a 0 :=
begin
sorry,
end
|
1c10c80670abe9cb2d54dfd4ff6423b655657a45 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/blast_ematch1.lean | 901de7d4e70db7fc9c3ab545567d619ab8d9ec28 | [
"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 | 255 | 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.strategy "ematch"
example (a b c : nat) : a = f b → a = f c → g a ≠ b → false :=
by blast
|
f928401bf8e96c8b8681c79b4cb817d116f9495a | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /test/simp_rw.lean | a4194e91e106bf8f628d50652b58b4525c60dd2f | [
"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,611 | 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 data.nat.basic
import data.set.image
import tactic.simp_rw
/-!
# Tests for `simp_rw` extensions
-/
-- `simp_rw` can perform rewrites under binders:
example : (λ (x... |
8005629300f5477c36631c39b43e5a99e5345652 | 4bddde0d06fbd53be6f23d7f5899998e8f63410b | /src/tactic/iconfig/tactic.lean | 1b10e9714f7db65934625a2cd5c4d86aeb5ed926 | [] | no_license | khoek/libiconfig | 4816290a5862af14b07683b3d2663e8e62832ef4 | 6f55c50bc5d852d26ee5ee4c5b52b2cda2a852e5 | refs/heads/master | 1,586,109,683,212 | 1,559,567,916,000 | 1,559,567,916,000 | 157,085,466 | 0 | 1 | null | 1,559,567,917,000 | 1,541,945,134,000 | Lean | UTF-8 | Lean | false | false | 2,782 | lean | import .types
import .monad
import .env
namespace iparam
namespace handler
open lean.parser interactive interactive.types
open iconfig cfgopt
meta def bool (n : name) (v : parse (letval pbool)) : tactic unit :=
publish n $ value.bool v
meta def nat (n : name) (v : parse (letval small_nat)) : tactic unit :=
pub... |
5f120879b0c47f6629b0173c342a84ea7c0c3cb7 | 3dd1b66af77106badae6edb1c4dea91a146ead30 | /tests/lean/run/tactic28.lean | d3d3b77428607b0677d6483cbd7512b005f53243 | [
"Apache-2.0"
] | permissive | silky/lean | 79c20c15c93feef47bb659a2cc139b26f3614642 | df8b88dca2f8da1a422cb618cd476ef5be730546 | refs/heads/master | 1,610,737,587,697 | 1,406,574,534,000 | 1,406,574,534,000 | 22,362,176 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 787 | lean | import standard
using tactic
inductive sum (A : Type) (B : Type) : Type :=
| inl : A → sum A B
| inr : B → sum A B
theorem inl_inhabited {A : Type} (B : Type) (H : inhabited A) : inhabited (sum A B)
:= inhabited_elim H (λ a, inhabited_intro (inl B a))
theorem inr_inhabited (A : Type) {B : Type} (H : inhabited B) :... |
dbcaa4802af667b712f423b21ca640737ab7fc19 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/multiset/lattice.lean | 12cf487ef99d97e384c3fbe12cbcdab65f94ec26 | [
"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 | 4,073 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import data.multiset.finset_ops
import data.multiset.fold
/-!
# Lattice operations on multisets
-/
namespace multiset
variables {α : Type*}
/-! ### sup -/
section ... |
84db5c451c7dc3073bbfe396a5d9836e99f1149e | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/funExpected.lean | 1b49d75a3b0640e74038aa42f52cff1892e0e1c3 | [
"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 | 70 | lean | --
def f (xs : List Nat) : List Nat :=
xs.map (fun x => x + 1) [1]
|
118e1520d1a9c530eed491bec7dc98cfc3653bd8 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/char_p/default_auto.lean | 14cc3353c35ebcbef22fa72f7173023cd66b7e86 | [] | 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 | 261 | lean | import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.char_p.basic
import Mathlib.algebra.char_p.pi
import Mathlib.algebra.char_p.quotient
import Mathlib.algebra.char_p.subring
import Mathlib.PostPort
namespace Mathlib
end Mathlib |
0a6135b73d0bbdeb26fc5af1b6d2e6eba4286bdb | 3863d2564418bccb1859e057bf5a4ef240e75fd7 | /hott/types/trunc.hlean | 048defcca61b9d485207b47daa3e60feaffcf3a3 | [
"Apache-2.0"
] | permissive | JacobGross/lean | 118bbb067ff4d4af48a266face2c7eb9868fa91c | eb26087df940c54337cb807b4bc6d345d1fc1085 | refs/heads/master | 1,582,735,011,532 | 1,462,557,826,000 | 1,462,557,826,000 | 46,451,196 | 0 | 0 | null | 1,462,557,826,000 | 1,447,885,161,000 | C++ | UTF-8 | Lean | false | false | 24,728 | hlean | /-
Copyright (c) 2015 Jakob von Raumer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
Properties of trunc_index, is_trunc, trunctype, trunc, and the pointed versions of these
-/
-- NOTE: the fact that (is_trunc n A) is a mere proposition is proved i... |
7bf25f4e7dc00509a6bdf2d5ad4860b81c71db92 | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/measure_theory/integration.lean | c5f079bf4ca64a8ee7cdde954a5cf65558a261cd | [
"Apache-2.0"
] | permissive | dupuisf/mathlib | 62de4ec6544bf3b79086afd27b6529acfaf2c1bb | 8582b06b0a5d06c33ee07d0bdf7c646cae22cf36 | refs/heads/master | 1,669,494,854,016 | 1,595,692,409,000 | 1,595,692,409,000 | 272,046,630 | 0 | 0 | Apache-2.0 | 1,592,066,143,000 | 1,592,066,142,000 | null | UTF-8 | Lean | false | false | 62,683 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Johannes Hölzl
-/
import measure_theory.measure_space
import measure_theory.borel_space
import data.indicator_function
import data.support
/-!
# Lebesgue integral for ... |
25fdd42d05453d8e6ca0320d13006d6e08c7b43b | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/data/lazy_list.lean | 3ea6ec0b50f07ba19157546d0d66ee31e81a9a21 | [
"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 | 3,817 | 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 tactic.lint
/-!
# Lazy lists
The type `lazy_list α` is a lazy list with elements of type `α`.
In the VM, these are potentially infinite lists
where... |
e96d61421cb1754e198ce1f677aab03f5f6303a9 | 3446e92e64a5de7ed1f2109cfb024f83cd904c34 | /src/game/world5/level4.lean | e96181dfd3b52737f8d46118113772fa9f493cc9 | [] | no_license | kckennylau/natural_number_game | 019f4a5f419c9681e65234ecd124c564f9a0a246 | ad8c0adaa725975be8a9f978c8494a39311029be | refs/heads/master | 1,598,784,137,722 | 1,571,905,156,000 | 1,571,905,156,000 | 218,354,686 | 0 | 0 | null | 1,572,373,319,000 | 1,572,373,318,000 | null | UTF-8 | Lean | false | false | 1,036 | lean | import game.world5.level3 -- hide
import game.world2.level14 -- add_right_eq_zero
namespace mynat -- hide
/-
# World 5 : Inequality world
## Level 4 : `le_zero`
To do a level like this, you'll need to know that
if `a + c = 0` then `a = 0`. You could launch into
a proof of this e.g. via a case split on `a` (`cases a... |
c840ff554a2fdc55a6b4871ffdfb886b48a24ea8 | dd0f5513e11c52db157d2fcc8456d9401a6cd9da | /11_Tactic-Style_Proofs.org.42.lean | 37402070f157b30ff78ff9e01345fac9d19bad62 | [] | 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 | 199 | lean | import standard
import data.nat
open nat
-- BEGIN
variables (a b : nat)
example (H₁ : a + 0 = 0) (H₂ : b + 0 = 0) : a + b + 0 = 0 :=
begin
rewrite add_zero at *,
rewrite [H₁, H₂]
end
-- END
|
e7612c621b3922d410289849a2bcfd99f7cf42ba | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/data/int/lemmas.lean | e5effced31ce86064dea9e7e160a3fba67514c75 | [
"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 | 3,265 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
-/
import data.set.function
import data.int.order.lemmas
import data.int.bitwise
import data.nat.cast.basic
import data.nat.order.lemmas
/-!
# Miscellaneous lemmas about ... |
d20372f1a01993ba3286d64c9e5b021660624572 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/field_theory/normal.lean | 83528a1b1ac33d3255da643a43554d181f9d0e2d | [
"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 | 1,997 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import field_theory.minimal_polynomial
import field_theory.splitting_field
import linear_algebra.finite_dimensional
/-!
# Normal field extensions
In this file we define norm... |
bbb4f7e4514794716a2a3f1208d46e065c4a3dea | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/testing/slim_check/gen.lean | 0a516e4cfba5344b7f9daaaf8f2fe7f7a56d4438 | [
"Apache-2.0"
] | permissive | lacker/mathlib | f2439c743c4f8eb413ec589430c82d0f73b2d539 | ddf7563ac69d42cfa4a1bfe41db1fed521bd795f | refs/heads/master | 1,671,948,326,773 | 1,601,479,268,000 | 1,601,479,268,000 | 298,686,743 | 0 | 0 | Apache-2.0 | 1,601,070,794,000 | 1,601,070,794,000 | null | UTF-8 | Lean | false | false | 3,634 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author(s): Simon Hudon
-/
import control.uliftable
import system.random
import system.random.basic
/-!
# `gen` Monad
This monad is used to formulate randomized computations with a parameter
to ... |
065b893664e64f9fb7b45ba6b3aea3d34e5f3e16 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/algebra/category/Group/injective.lean | 730283712ca5586c0c9cbf342b60e77d8218780f | [
"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,213 | lean | /-
Copyright (c) 2022 Jujian Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jujian Zhang
-/
import algebra.category.Group.epi_mono
import algebra.category.Module.epi_mono
import algebra.module.injective
import category_theory.preadditive.injective
import group_t... |
ca7178d966f6dbc2ad56c66d9e89938e0c7fed17 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/data/int/order/basic.lean | 2bbabc6993ae030f543c0c772939a9da14dbd1f7 | [
"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 | 25,098 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
-/
import data.int.basic
import algebra.ring.divisibility
import algebra.order.group.abs
import algebra.order.ring.char_zero
import tactic.assert_exists
/-!
# Order insta... |
2456c5e636b3d929aa0ccad3df20d944861bdc3a | e0b0b1648286e442507eb62344760d5cd8d13f2d | /tests/lean/interactive/haveInfo.lean | 8b55c3af90602dcec1f655e83a73c98df5430132 | [
"Apache-2.0"
] | permissive | MULXCODE/lean4 | 743ed389e05e26e09c6a11d24607ad5a697db39b | 4675817a9e89824eca37192364cd47a4027c6437 | refs/heads/master | 1,682,231,879,857 | 1,620,423,501,000 | 1,620,423,501,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 362 | lean | example : False := by
have True by
skip
--^ $/lean/plainGoal
skip
admit
example : False := by
have True by
--^ $/lean/plainGoal
skip
skip
admit
example : False := by
have True by
--^ $/lean/plainGoal
skip
skip
admit
example : False := by
have True by
s... |
a9b4f6d9ec70c45a4bcb8c7db0979d20f1335cbe | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/category_theory/limits/creates.lean | 95f3488e9cddc4e204bff309ed7c62496f39e184 | [] | 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 | 27,502 | lean | /-
Copyright (c) 2020 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.category_theory.limits.preserves.basic
import Mathlib.PostPort
universes v u₁ u₂ l u₃
namesp... |
530114ea719dbe21678edd5628908a895db73874 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/metric_space/kuratowski.lean | b0b5f91c9889c83f6b7a5a058ecd84f8def93478 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 5,217 | 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
-/
import analysis.normed_space.lp_space
import topology.sets.compacts
/-!
# The Kuratowski embedding
Any separable metric space can be embedded isometrically in... |
f0b481b0f57d3cf5eb24451826440d34bcb274b1 | 0a6b214fd60b822ae708d58655b7d2f36091d8f8 | /src/tactics.lean | 1624830107fd396992253a4a17e63dcfcaba9101 | [
"MIT"
] | permissive | Naomij1/lean-homotopie | de0bf067bc77254deac02aab0184511ce7aaafe7 | 21bd6be53449c61088234ceab7ec63c18628521a | refs/heads/master | 1,613,216,666,817 | 1,591,786,776,000 | 1,591,786,776,000 | 244,693,557 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,114 | lean | import tactic.interactive
import data.set.intervals.basic
import data.real.basic
import topology.instances.real
import tactic.suggest
import topology.basic
import topology.algebra.continuous_functions
import topology.continuous_on
import topology.algebra.ordered
import topology.constructions
import topology.algebra.ord... |
8ded66bc9319b8af31954b8b5faa81ef58478e2c | 6e41ee3ac9b96e8980a16295cc21f131e731884f | /hott/init/nat.hlean | 7fd2a6d89324c847b557e7ca122d0099cc38b6b8 | [
"Apache-2.0"
] | permissive | EgbertRijke/lean | 3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3 | 4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183 | refs/heads/master | 1,610,834,871,476 | 1,422,159,801,000 | 1,422,159,801,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,506 | hlean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Leonardo de Moura
-/
prelude
import init.wf init.tactic init.hedberg init.util init.types.sum
open eq.ops decidable sum
namespace nat
open lift
notation ... |
83b24c12e17a7332f00e16f543b5a9b0d7f2f84e | c777c32c8e484e195053731103c5e52af26a25d1 | /src/measure_theory/covering/differentiation.lean | 8dd8cd38b8c53e4e46ee658c6cdcce43ad4527cc | [
"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 | 51,314 | 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 measure_theory.covering.vitali_family
import measure_theory.measure.regular
import measure_theory.function.ae_measurable_order
import measure_theory.inte... |
475864f28eec3a4cb7750eecf1c0f0f65aa316b7 | 5ae26df177f810c5006841e9c73dc56e01b978d7 | /src/category_theory/monad/algebra.lean | f29bf1660d10dbb346cefdc206305c7adf01fea4 | [
"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 | 3,837 | 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 category_theory.monad.basic
import category_theory.adjunction.basic
/-!
# Eilenberg-Moore algebras for a monad
This file defines Eilenberg-Moore algebras for... |
3b7dada17d02d712336628d2e92256a8bcb7adf9 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/analysis/special_functions/trigonometric/arctan_deriv.lean | 48990ebb7bde6468971a2e90b4a1dc28c777b107 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 7,626 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson
-/
import analysis.special_functions.trigonometric.arctan
import analysis.special_functions.trigonometric.... |
004f15286c0b0b0525df16ac8b10e96904e1856b | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/topology/continuous_on.lean | f595de0b5d37530c81a7657381d970b16f03cd80 | [
"Apache-2.0"
] | permissive | vaibhavkarve/mathlib | a574aaf68c0a431a47fa82ce0637f0f769826bfe | 17f8340912468f49bdc30acdb9a9fa02eeb0473a | refs/heads/master | 1,621,263,802,637 | 1,585,399,588,000 | 1,585,399,588,000 | 250,833,447 | 0 | 0 | Apache-2.0 | 1,585,410,341,000 | 1,585,410,341,000 | null | UTF-8 | Lean | false | false | 24,099 | lean | /-
Copyright (c) 2019 Reid Barton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.constructions
/-!
# Neighborhoods and continuity relative to a subset
This file defines relative versions
`nhds_within` of `nhds`
`contin... |
620c0f03942c595777d09a7cd2119dc1397e10a3 | 5ae26df177f810c5006841e9c73dc56e01b978d7 | /src/category_theory/monoidal/category.lean | fa306eeabf765ef310166794066b05749d82a2d4 | [
"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 | 14,797 | lean | /-
Copyright (c) 2018 Michael Jendrusch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michael Jendrusch, Scott Morrison
-/
import category_theory.monoidal.category_aux
import category_theory.natural_isomorphism
import tactic.basic
import tactic.slice
open category_t... |
5030fc6801490f254783a9fc8c0198c8bd99598c | 94e33a31faa76775069b071adea97e86e218a8ee | /src/category_theory/subterminal.lean | ddf8015a321e3661a46a53a263767d72e3605c31 | [
"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 | 6,042 | lean | /-
Copyright (c) 2020 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
import category_theory.limits.shapes.binary_products
import category_theory.limits.shapes.terminal
import category_theory.subobject.mono_over
/-!
# Subterminal objects
... |
a4807568fd78bc84a933a666b86877d0f79c84b5 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/list/count.lean | 176ea1fe16385823671c92b5a633b8483273fc6b | [
"Apache-2.0"
] | permissive | robertylewis/mathlib | 3d16e3e6daf5ddde182473e03a1b601d2810952c | 1d13f5b932f5e40a8308e3840f96fc882fae01f0 | refs/heads/master | 1,651,379,945,369 | 1,644,276,960,000 | 1,644,276,960,000 | 98,875,504 | 0 | 0 | Apache-2.0 | 1,644,253,514,000 | 1,501,495,700,000 | Lean | UTF-8 | Lean | false | false | 7,423 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro
-/
import data.list.big_operators
/-!
# Counting in lists
This file proves basic properties of ... |
e3b30a80869f26c14497eb332cb77ef987c93e56 | fe25de614feb5587799621c41487aaee0d083b08 | /stage0/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean | 85422acf4b6a6920374c4a0f5e9052fba7f38ad4 | [
"Apache-2.0"
] | permissive | pollend/lean4 | e8469c2f5fb8779b773618c3267883cf21fb9fac | c913886938c4b3b83238a3f99673c6c5a9cec270 | refs/heads/master | 1,687,973,251,481 | 1,628,039,739,000 | 1,628,039,739,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 24,564 | lean | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Daniel Selsam
-/
/-!
The top-down analyzer is an optional preprocessor to the delaborator that aims
to determine the minimal annotations necessary to ensure that the delaborate... |
c2ff5f52ab3db0fa46d391fd2d2fd87cdcb0c552 | 1dd0001f48991684032999e18f88be3ece4261d7 | /src/submissions/practice_1.lean | 9080614a3a22b2531d7b87c3c5419287cc699d20 | [] | no_license | rayouness/cs2120f21 | e0a3fa89a6ac50c8a83e85bd7795a2710aceb7e2 | 5dfa57f111ec7f322474be1c87992fe1fedd6610 | refs/heads/main | 1,690,957,987,242 | 1,632,333,173,000 | 1,632,333,173,000 | 399,947,440 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,142 | lean | /-
clarksters
cru8jn; https://github.com/rayouness/cs2120f21.git (should end with .git).
-/
/-
EQUALITY
-/
/- #1
Suppose that x, y, z, and w are arbitrary objects of some type,
T; and suppose further that we know (have proofs of the facts)
that x = y, y = z, and w = z. Give a very, very short English
proof of th... |
cce8e85acf4a061cf42370b3c79f95ac0eb3ab2b | a4673261e60b025e2c8c825dfa4ab9108246c32e | /src/Lean/Parser/Term.lean | 1141564ade849b191324fcb5cd52fae9a5ca8b0b | [
"Apache-2.0"
] | permissive | jcommelin/lean4 | c02dec0cc32c4bccab009285475f265f17d73228 | 2909313475588cc20ac0436e55548a4502050d0a | refs/heads/master | 1,674,129,550,893 | 1,606,415,348,000 | 1,606,415,348,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 13,888 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Sebastian Ullrich
-/
import Lean.Parser.Basic
import Lean.Parser.Level
namespace Lean
namespace Parser
builtin_initialize
registerBuiltinParserAttribute `... |
8a433b98439a7200a138c35db4129c7e13ee9ee8 | a4673261e60b025e2c8c825dfa4ab9108246c32e | /tests/compiler/t4.lean | 7b9885a928d1ffba3e2f672f6d3143280fead1cf | [
"Apache-2.0"
] | permissive | jcommelin/lean4 | c02dec0cc32c4bccab009285475f265f17d73228 | 2909313475588cc20ac0436e55548a4502050d0a | refs/heads/master | 1,674,129,550,893 | 1,606,415,348,000 | 1,606,415,348,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,475 | lean | #lang lean4
/- Benchmark for new code generator -/
inductive Expr
| Val : Int → Expr
| Var : String → Expr
| Add : Expr → Expr → Expr
| Mul : Expr → Expr → Expr
| Pow : Expr → Expr → Expr
| Ln : Expr → Expr
namespace Expr
protected def Expr.toString : Expr → String
| Val n => toString n
| Var x => x
| Add f g ... |
50cc73612e78c6e152d814435eb6d83efc662ec2 | 43390109ab88557e6090f3245c47479c123ee500 | /src/M3P14/Arithmetic_functions/sum_over_divisors.lean | 297be548cdfbcd81247f9c44882e323261533663 | [
"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 | 1,992 | lean | import algebra.big_operators algebra.group_power data.pnat M3P14.Arithmetic_functions.phi
-- positive naturals
-- todo: add all the properties of dirichlet conv
namespace nat
open list
/-- returns the finset of divisors of a positive natural -/
definition factors_new (d : ℕ+) : list ℕ :=
filter (λ e, e ∣ d) (ran... |
e068ea58587eb74fd6b15cf9a3fa5f05746e27ee | 9bf90df35bb15a2f76571e35c48192142a328c40 | /src/ch8.lean | 8483a3a5379c84e12554bf400e44b83b27f374e7 | [] | no_license | ehaskell1/set_theory | ed0726520e84990d5f3180bafa0a3674ed31fb5e | e6c829c4dd953d98c9cba08f9f79784cd91794fb | refs/heads/master | 1,693,282,405,362 | 1,636,928,916,000 | 1,636,928,916,000 | 428,055,746 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 195,675 | lean | import ch7_cont
universe u
namespace Set
local attribute [irreducible] mem
noncomputable def con_fun (G : Set → Set) (α : Set) : Set := trans_rec α α.eps_order G
lemma con_fun_fun {G : Set → Set} {α : Set} (αord : α.is_ordinal) : (con_fun G α).is_function := trans_rec_fun (ordinal_well_ordered αord)
lemma con_fun_dom... |
bc0a7a1e8e90dae54aca3f4c5214ca8caff5e03a | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/data/list/set.lean | f0755c661275c28ca08136da635ed6ff671b414d | [
"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 | 37,983 | 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
Set-like operations on lists
-/
import data.list.basic data.list.comb
open nat function decidable
namespace list
section erase
variable {A : Type}
variable [H : ... |
7f50de22b08d31e3b23e22231e118f0a22d7f2ac | 618003631150032a5676f229d13a079ac875ff77 | /src/tactic/clear.lean | b2a3eded9d7abb3198a813dfb482e5ed45c34af4 | [
"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 | 3,482 | 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.core
/-!
# Better `clear` tactics
We define two variants of the standard `clear` tactic:
* `clear'` works like `clear` but the hypotheses that should ... |
5b7189c76a90b4a3f8b61982c6d7ae4ea1d260f1 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/pp_char_bug.lean | c3cddd6935f6996304ab7f8c4b38f44cf16ea09a | [
"Apache-2.0"
] | permissive | bre7k30/lean | de893411bcfa7b3c5572e61b9e1c52951b310aa4 | 5a924699d076dab1bd5af23a8f910b433e598d7a | refs/heads/master | 1,610,900,145,817 | 1,488,006,845,000 | 1,488,006,845,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 424 | lean | check (fin.mk 2 dec_trivial : fin 5)
check (fin.mk 1 dec_trivial : fin 3)
check #"a"
check to_string #"a"
vm_eval to_string #"a"
vm_eval #"a"
vm_eval char.of_nat 1
vm_eval char.of_nat 1
vm_eval char.of_nat 20
check char.of_nat 1
check char.of_nat 20
check char.of_nat 15
check char.of_nat 16
vm_eval char.of_nat 15
vm_... |
a799660d32f23f8d2b8152feece7dad6ce461c8c | c8af905dcd8475f414868d303b2eb0e9d3eb32f9 | /src/data/cpi/transition/equivalence.lean | ab8e71bf6cf0817c5f499fd781586d3eb262b397 | [
"BSD-3-Clause"
] | permissive | continuouspi/lean-cpi | 81480a13842d67ff5f3698643210d8ed5dd08de4 | 443bf2cb236feadc45a01387099c236ab2b78237 | refs/heads/master | 1,650,307,316,582 | 1,587,033,364,000 | 1,587,033,364,000 | 207,499,661 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 27,350 | lean | import data.cpi.transition.basic
namespace cpi
namespace transition
variables {ℍ : Type} {ω : context}
open_locale congruence
open species.equiv
private def no_rename_zero {Γ} {n} {p : upair (fin n)} {q : upair (name Γ)}
: upair.map name.extend q ≠ upair.map name.zero p
:= upair.rec_on q
(λ a b eql, begin
... |
66cfa1cf78cb8d3890a5be4a5f8dd83e23bdd76c | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /test/library_search/basic.lean | d29e225e2da46352f8ef8e707c5fcbb86f8cff06 | [
"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 | 5,634 | 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.suggest -- No other imports, for fast testing
/- Turn off trace messages so they don't pollute the test build: -/
set_option trace.silence_library_sear... |
248821ff84cc17374492b2134555bc2208a4f80d | c31182a012eec69da0a1f6c05f42b0f0717d212d | /src/pseudo_normed_group/Tinv.lean | 5000d6296235dde0fb3530e8dcd640dbfb8993f5 | [] | no_license | Ja1941/lean-liquid | fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc | 8e80ed0cbdf5145d6814e833a674eaf05a1495c1 | refs/heads/master | 1,689,437,983,362 | 1,628,362,719,000 | 1,628,362,719,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 29,743 | lean | import pseudo_normed_group.CLC
/-!
# V-hat((M_c)^n)^{T⁻¹}
This file defines a fundamental construction defined just above Definition 9.3
in `analytic.pdf`: the subspac of V-hat(M_c^n) where the two actions of T⁻¹ coincide.
## Main definition
Here `M` is a profinitely filtered pseudo-normed group with `T⁻¹` scaling ... |
03da6bb5fb89e7a0627bc54ff0993a75d5ad1c45 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/analysis/convex/caratheodory.lean | e1065174b651e10ed3681f509c93e2690b13f3b9 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,252 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Scott Morrison
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.analysis.convex.basic
import Mathlib.linear_algebra.finite_dimensional
impo... |
dea8f041dba3ae9263795e2b2ae95e5d9bed3e57 | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/tactic/omega/coeffs.lean | dd94f2f7fef5093fb1115d775262f6542db08e18 | [
"Apache-2.0"
] | permissive | vaibhavkarve/mathlib | a574aaf68c0a431a47fa82ce0637f0f769826bfe | 17f8340912468f49bdc30acdb9a9fa02eeb0473a | refs/heads/master | 1,621,263,802,637 | 1,585,399,588,000 | 1,585,399,588,000 | 250,833,447 | 0 | 0 | Apache-2.0 | 1,585,410,341,000 | 1,585,410,341,000 | null | UTF-8 | Lean | false | false | 10,601 | lean | /- Copyright (c) 2019 Seul Baek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Seul Baek
Non-constant terms of linear constraints are represented
by storing their coefficients in integer lists. -/
import data.list.defs
import tactic.ring
import tactic.omega.misc
nam... |
86291614b815f8d4fa188a0e5ad6a5e1e05e5bcd | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/special_functions/arsinh.lean | 9611925d171fdb6546a5b1e4ed21119e6c09a061 | [
"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,843 | lean | /-
Copyright (c) 2020 James Arthur. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: James Arthur, Chris Hughes, Shing Tak Lam
-/
import analysis.special_functions.trigonometric.deriv
import analysis.special_functions.log.basic
/-!
# Inverse of the sinh function
> THIS... |
be525ca09f63b3c062d9f2952f6a69b55392e25d | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Compiler/IR/Checker.lean | 6652e7d1fb05c3deb088b796d688a64a18cb8674 | [
"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 | 7,085 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Compiler.IR.CompilerM
import Lean.Compiler.IR.Format
namespace Lean.IR.Checker
@[extern c inline "lean_box(LEAN_MAX_CTOR_FIELDS)"]
constant ge... |
05564248e14ac1179186a14dd2f05de8f93b919b | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /src/Lean/Util/ReplaceExpr.lean | bf503aa2cbe91e541c1cdf389c8d88fbfc12cce7 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | EdAyers/lean4 | 57ac632d6b0789cb91fab2170e8c9e40441221bd | 37ba0df5841bde51dbc2329da81ac23d4f6a4de4 | refs/heads/master | 1,676,463,245,298 | 1,660,619,433,000 | 1,660,619,433,000 | 183,433,437 | 1 | 0 | Apache-2.0 | 1,657,612,672,000 | 1,556,196,574,000 | Lean | UTF-8 | Lean | false | false | 2,972 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Expr
namespace Lean
namespace Expr
namespace ReplaceImpl
abbrev cacheSize : USize := 8192
structure State where
keys : Array Expr -- Re... |
866b40e2d0cdc070289435ec9b08af0a0b557e5e | 4727251e0cd73359b15b664c3170e5d754078599 | /src/control/bitraversable/instances.lean | 851bc71c60b8a152a76f7e1ed286432412e3c9e9 | [
"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 | 4,813 | lean | /-
Copyright (c) 2019 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import control.bitraversable.lemmas
import control.traversable.lemmas
/-!
# Bitraversable instances
This file provides `bitraversable` instances for concrete bifunctors:
... |
3cdfc5e3bc6b5810105baa0ae08d7e1fb797ee2a | 90edd5cdcf93124fe15627f7304069fdce3442dd | /stage0/src/Init/Data/String/Basic.lean | 303823c3c905b0bd1e1d43926729ef8242b1b650 | [
"Apache-2.0"
] | permissive | JLimperg/lean4-aesop | 8a9d9cd3ee484a8e67fda2dd9822d76708098712 | 5c4b9a3e05c32f69a4357c3047c274f4b94f9c71 | refs/heads/master | 1,689,415,944,104 | 1,627,383,284,000 | 1,627,383,284,000 | 377,536,770 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 17,147 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import Init.Data.List.Basic
import Init.Data.Char.Basic
import Init.Data.Option.Basic
universe u
def List.asString (s : List Char) : String :=
⟨s⟩... |
ba98b87a75419bc3ee5b37460971ec42785ba099 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /stage0/src/Leanpkg/Manifest.lean | 50caaafe4ed798b1cc0e497d1bd04d755deaed48 | [
"Apache-2.0"
] | permissive | WojciechKarpiel/lean4 | 7f89706b8e3c1f942b83a2c91a3a00b05da0e65b | f6e1314fa08293dea66a329e05b6c196a0189163 | refs/heads/master | 1,686,633,402,214 | 1,625,821,189,000 | 1,625,821,258,000 | 384,640,886 | 0 | 0 | Apache-2.0 | 1,625,903,617,000 | 1,625,903,026,000 | null | UTF-8 | Lean | false | false | 2,847 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich
-/
import Leanpkg.Toml
import Leanpkg.LeanVersion
open System
namespace Leanpkg
inductive Source where
| path (dir : System.FilePath) : Sou... |
0e6cae3b6fa17f47467a20e0eaea25bb9f7b6bb5 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/tactic/norm_fin.lean | b2a2013719555e779ab0bbec19727ab76a702cca | [
"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 | 25,241 | lean | /-
Copyright (c) 2021 Yakov Pechersky All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yakov Pechersky, Mario Carneiro
-/
import tactic.norm_num
/-!
# `norm_fin`
This file defines functions for dealing with `fin n` numbers as expressions.
## Main definitions
* `tact... |
84a082e8fb71202379148b1c2f96d37844cfc38a | 38bf3fd2bb651ab70511408fcf70e2029e2ba310 | /src/data/mv_polynomial.lean | 701c2f98ca12a11e03e525a9930badcdee05fc17 | [
"Apache-2.0"
] | permissive | JaredCorduan/mathlib | 130392594844f15dad65a9308c242551bae6cd2e | d5de80376088954d592a59326c14404f538050a1 | refs/heads/master | 1,595,862,206,333 | 1,570,816,457,000 | 1,570,816,457,000 | 209,134,499 | 0 | 0 | Apache-2.0 | 1,568,746,811,000 | 1,568,746,811,000 | null | UTF-8 | Lean | false | false | 42,379 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro
Multivariate Polynomial
-/
import algebra.ring
import data.finsupp data.polynomial data.equiv.algebra
noncomputable theory
local attrib... |
fb969629803a9ad789af0231ba448373c1b4c8b4 | 82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7 | /stage0/src/Init.lean | f60bed246fb2006d6062b4ca311e692500db9bd4 | [
"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 | 357 | 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
-/
prelude
import Init.Core
import Init.Control
import Init.Data.Basic
import Init.WF
import Init.Data
import Init.System
import Init.Util
import Init.Fix
impo... |
56fa8ef755233c2a3b089531870c344b32804d8d | 97f752b44fd85ec3f635078a2dd125ddae7a82b6 | /hott/hit/trunc.hlean | ea7b3d345c20074fbbdd7436d0612ddb95b7636f | [
"Apache-2.0"
] | permissive | tectronics/lean | ab977ba6be0fcd46047ddbb3c8e16e7c26710701 | f38af35e0616f89c6e9d7e3eb1d48e47ee666efe | refs/heads/master | 1,532,358,526,384 | 1,456,276,623,000 | 1,456,276,623,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,358 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
n-truncation of types.
Ported from Coq HoTT
-/
/- The hit n-truncation is primitive, declared in init.hit. -/
import types.sigma types.pointed
open is_trunc eq ... |
dd9129a4c2830c187cd0fd529ef7eed99eb2e7c4 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/topology/partition_of_unity.lean | 111cbe44a922b72a3598f5857ef4ae427620a6ed | [
"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 | 20,366 | 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 algebra.big_operators.finprod
import topology.urysohns_lemma
import topology.paracompact
import topology.shrinking_lemma
import topology.continuous_function.... |
6065c06957257b385996699bf90f69470571a3ae | e2fc96178628c7451e998a0db2b73877d0648be5 | /src/classes/context_free/closure_properties/bijection.lean | d6e0cee8dfe9c11d9129133c7705bf87c67ecbbf | [
"BSD-2-Clause"
] | permissive | madvorak/grammars | cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2 | 1447343a45fcb7821070f1e20b57288d437323a6 | refs/heads/main | 1,692,383,644,884 | 1,692,032,429,000 | 1,692,032,429,000 | 453,948,141 | 7 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,358 | lean | import classes.context_free.basics.toolbox
import utilities.language_operations
variables {T₁ T₂ N : Type}
private def sT₂_of_sT₁ (π : equiv T₁ T₂) : (symbol T₁ N) → (symbol T₂ N)
| (symbol.terminal t) := symbol.terminal (π.to_fun t)
| (symbol.nonterminal n) := symbol.nonterminal n
private def sT₁_of_sT₂ (π : equiv... |
f0677397fc9562e08f42e4741cac32c31837df84 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/combinatorics/set_family/kleitman.lean | 4d1edd2943526ae9b4f2719aa795dd86d2ba9fc3 | [
"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,882 | 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 combinatorics.set_family.harris_kleitman
import combinatorics.set_family.intersecting
/-!
# Kleitman's bound on the size of intersecting families
> THIS FILE IS ... |
55963d05d873cef9576cf92fac2ad9bae4e2775b | 9b9a16fa2cb737daee6b2785474678b6fa91d6d4 | /src/category_theory/adjunction.lean | 028217dae91b4a61d3e7fbefb63c675d24960fc2 | [
"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 | 14,354 | 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.limits.preserves
import category_theory.whiskering
import category_theory.equivalence
namespace category_theory
open category
open ... |
7b0d1db47ecc9f447585d4ecc0df26800b704a9d | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/algebra/lie/abelian.lean | c46fe3f98503a2bdb9f11a193e227d61f43a6114 | [
"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 | 10,946 | lean | /-
Copyright (c) 2021 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import algebra.lie.of_associative
import algebra.lie.ideal_operations
/-!
# Trivial Lie modules and Abelian Lie algebras
The action of a Lie algebra `L` on a module `M` i... |
b7a5933920b855a3c64fa5de540ef1f35a1a48d0 | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/order/filter/basic.lean | 313e134593b15d3f051626cd2d6bfb66fc82baa3 | [
"Apache-2.0"
] | permissive | dupuisf/mathlib | 62de4ec6544bf3b79086afd27b6529acfaf2c1bb | 8582b06b0a5d06c33ee07d0bdf7c646cae22cf36 | refs/heads/master | 1,669,494,854,016 | 1,595,692,409,000 | 1,595,692,409,000 | 272,046,630 | 0 | 0 | Apache-2.0 | 1,592,066,143,000 | 1,592,066,142,000 | null | UTF-8 | Lean | false | false | 96,930 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Jeremy Avigad
-/
import order.zorn
import order.copy
import data.set.finite
import tactic.monotonicity
/-!
# Theory of filters on sets
## Main definitions
* `filter`... |
2c017c8a90d3d5ec8df0b24ed5f80457d9bb1943 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/geometry/manifold/diffeomorph.lean | f3f29504c097343be21bc06b90e7eb4b9a3ed525 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 19,003 | lean | /-
Copyright © 2020 Nicolò Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nicolò Cavalleri, Yury Kudryashov
-/
import geometry.manifold.cont_mdiff_map
/-!
# Diffeomorphisms
This file implements diffeomorphisms.
## Definitions
* `diffeomorph I I' M M' n`:... |
ca7f6d2a8bfb32a90eea306cc74c05271abe3e38 | e38d5e91d30731bef617cc9b6de7f79c34cdce9a | /src/examples/diagonal.lean | 8b0d67935752d98bd9f982a48c52e07f8f6a3873 | [
"Apache-2.0"
] | permissive | bbentzen/cubicalean | 55e979c303fbf55a81ac46b1000c944b2498be7a | 3b94cd2aefdfc2163c263bd3fc6f2086fef814b5 | refs/heads/master | 1,588,314,875,258 | 1,554,412,699,000 | 1,554,412,699,000 | 177,333,390 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 383 | lean | /-
Copyright (c) 2019 Bruno Bentzen. All rights reserved.
Released under the Apache License 2.0 (see "License");
Author: Bruno Bentzen
-/
import ..core.interval
open interval
-- diagonal maps (contraction) for types and terms
example {A : I → I → Type} : I → Type := λ i, A i i
example {A : I → I → Ty... |
be06cffe87f1e05716e821301abffd539c10fc9f | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/algebra/direct_sum/algebra.lean | c9c7d6813e910751e654f1c43329cd4b096de27f | [
"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 | 7,012 | 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 algebra.direct_sum.ring
import algebra.direct_sum.module
/-! # Additively-graded algebra structures on `⨁ i, A i`
This file provides `R`-algebra structures on exte... |
31c3409142e6dca2f048ee25ca71d255a6ab5c36 | 92e157ec9825b5e4597a6d715a8928703bc8e3b2 | /src/mywork/practice_1 solution.lean | c7e00595bf922e9d3b7125ead1a124fc8e5dd320 | [] | no_license | exb3dg/cs2120f21 | 9e566bc508762573c023d3e70f83cb839c199ec8 | 319b8bf0d63bf96437bf17970ce0198d0b3525cd | refs/heads/main | 1,692,970,909,568 | 1,634,584,540,000 | 1,634,584,540,000 | 399,947,025 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,648 | lean | /-
chameleon
exb3dg; https://github.com/exb3dg/cs2120f21.git
-/
/-
EQUALITY
-/
/- #1
Suppose that x, y, z, and w are arbitrary objects of some type,
T; and suppose further that we know (have proofs of the facts)
that x = y, y = z, and w = z. Give a very, very short English
proof of the conjecture that z = w. Yo... |
87ebb730aa777af6b3cc578e358e3ef98c957649 | 6e41ee3ac9b96e8980a16295cc21f131e731884f | /hott/algebra/precategory/basic.hlean | 25276915358cf68379952979cc3500939040cbf5 | [
"Apache-2.0"
] | permissive | EgbertRijke/lean | 3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3 | 4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183 | refs/heads/master | 1,610,834,871,476 | 1,422,159,801,000 | 1,422,159,801,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,223 | hlean | -- Copyright (c) 2014 Floris van Doorn. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Floris van Doorn
open eq truncation
structure precategory [class] (ob : Type) : Type :=
(hom : ob → ob → Type)
(homH : Π {a b : ob}, is_hset (hom a b))
(comp : Π⦃a b c :... |
dcdde13934e446cc7c663f276196b35b22bc7df9 | eb586f8ae80b7045ba4ff08f1c7ba69403d61081 | /src/algebraic_countable_over_Q.lean | 9cbb806878770d1478f9918607a69b4f9745e55f | [] | no_license | bryangingechen/transcendental | 926584f58c47d766b304d39d1aa6814284535394 | 3692ac5ebe85e49c5f65bc7f2ea4f873a973bac2 | refs/heads/master | 1,668,733,660,442 | 1,594,269,161,000 | 1,594,269,161,000 | 278,266,099 | 0 | 0 | null | 1,594,270,314,000 | 1,594,270,313,000 | null | UTF-8 | Lean | false | false | 32,841 | lean | import data.set.basic set_theory.schroeder_bernstein
import data.set.countable
import ring_theory.algebraic
import data.polynomial
import data.rat.default
import data.real.basic data.real.cardinality
import tactic
noncomputable theory
open_locale classical
namespace project
def algebraic_set : set real := {x | is_al... |
e2693a72d25e005ac35ac6231e05581097f6dcbe | 31f556cdeb9239ffc2fad8f905e33987ff4feab9 | /src/Lean/Elab/MutualDef.lean | fac8407b6c4577ca6dbfef50acf710aaeaeaf9b6 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | tobiasgrosser/lean4 | ce0fd9cca0feba1100656679bf41f0bffdbabb71 | ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f | refs/heads/master | 1,673,103,412,948 | 1,664,930,501,000 | 1,664,930,501,000 | 186,870,185 | 0 | 0 | Apache-2.0 | 1,665,129,237,000 | 1,557,939,901,000 | Lean | UTF-8 | Lean | false | false | 39,539 | 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.Parser.Term
import Lean.Meta.Closure
import Lean.Meta.Check
import Lean.Meta.Transform
import Lean.PrettyPrinter.Delaborator.Options
import Lean... |
b9f286dc4a12265b6644c543304a154faf2de216 | da2388aff16df48b4a928b575bcec678b8e7f2cf | /src/asymptotics2.lean | 73baa6793b66926efa26b4e5bb46d80c4543582e | [] | no_license | ADedecker/series | 1d0d282d4333c7599f07cc705a35cf5edfb87a3b | 12fbcdd16b3cdeda4476165a4645fcccc0fb3234 | refs/heads/master | 1,674,828,739,868 | 1,607,618,619,000 | 1,607,618,619,000 | 304,379,894 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,060 | lean | import analysis.calculus.deriv
import algebra.group.pi
import analysis.normed_space.ordered
namespace asymptotics
open filter
open_locale topological_space
lemma is_o.tendsto_of_tendsto_const {α E 𝕜 : Type*} [normed_group E] [normed_field 𝕜] {u : α → E}
{v : α → 𝕜} {l : filter α} {y : 𝕜} (huv : is_o u v l) (h... |
6df13e300320aa3ff45c312ec80881f5ccb06ef1 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/algebra/nonarchimedean/basic.lean | 8ba60f2a088a79c99414276d34848f8c293466fa | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 5,829 | lean | /-
Copyright (c) 2021 Ashwin Iyengar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Buzzard, Johan Commelin, Ashwin Iyengar, Patrick Massot
-/
import group_theory.subgroup.basic
import topology.algebra.open_subgroup
import topology.algebra.ring
/-!
# Nonarchime... |
64e8d4c472324b2dd0126c1bc8193629d7f1a4a2 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/linear_algebra/matrix.lean | 22668e65a8328e750a5f2d40ae0f8eeb670ee094 | [
"Apache-2.0"
] | permissive | lacker/mathlib | f2439c743c4f8eb413ec589430c82d0f73b2d539 | ddf7563ac69d42cfa4a1bfe41db1fed521bd795f | refs/heads/master | 1,671,948,326,773 | 1,601,479,268,000 | 1,601,479,268,000 | 298,686,743 | 0 | 0 | Apache-2.0 | 1,601,070,794,000 | 1,601,070,794,000 | null | UTF-8 | Lean | false | false | 34,393 | lean | /-
Copyright (c) 2019 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Johannes Hölzl, Patrick Massot, Casper Putz
-/
import linear_algebra.finite_dimensional
import linear_algebra.nonsingular_inverse
import linear_algebra.multilinear
/-!
# Linear maps an... |
06fb216b5dd7754afb42a35c13827d692638b215 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/number_theory/ramification_inertia.lean | 5a54db5a86d19c74e17d56f048d88844546f39b3 | [
"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 | 39,248 | lean | /-
Copyright (c) 2022 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import algebra.is_prime_pow
import field_theory.separable
import linear_algebra.free_module.finite.rank
import linear_algebra.free_module.pid
import linear_algebra.matrix.... |
a064f7842aba4be5b3269ed117cb7e23d1b73da0 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/data/nat/factorial/basic.lean | 972a734c9b4adfabe7de7d1aed5ecc4e7109e476 | [
"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 | 14,930 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Chris Hughes, Floris van Doorn, Yaël Dillies
-/
import data.nat.basic
import data.nat.pow
/-!
# Factorial and variants
This file defines the factorial, along with the... |
d47bc747c2b7fd05a0e5fd26c650d74860002c6e | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/hinst_lemmas1.lean | e5c637ddb015c46093b257c94f037cfa0d5c6401 | [
"Apache-2.0"
] | permissive | bre7k30/lean | de893411bcfa7b3c5572e61b9e1c52951b310aa4 | 5a924699d076dab1bd5af23a8f910b433e598d7a | refs/heads/master | 1,610,900,145,817 | 1,488,006,845,000 | 1,488,006,845,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 479 | lean | axiom foo1 : ∀ (a b c : nat), b > a → b < c → a < c
axiom foo2 : ∀ (a b c : nat), b > a → b < c → a < c
axiom foo3 : ∀ (a b c : nat), b > a → b < c + c → a < c + c
run_command
do
hs ← return $ hinst_lemmas.mk,
h₁ ← hinst_lemma.mk_from_decl `foo1,
h₂ ← hinst_lemma.mk_from_decl_core tactic.transparency.none `foo... |
f48b8d2a69e69d5bb445fb0fe0abcefd7b34c39c | 2a70b774d16dbdf5a533432ee0ebab6838df0948 | /_target/deps/mathlib/src/order/complete_lattice.lean | 33637a49c576be2dc70487ab2c69051ac1a77e6b | [
"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 | 39,628 | 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
-/
import order.bounds
/-!
# Theory of complete lattices
## Main definitions
* `Sup` and `Inf` are the supremum and the infimum of a set;
* `supr (f : ι → α)` and `in... |
9d17ed47552a449d2a95412c10f6424e8a74cb28 | 437dc96105f48409c3981d46fb48e57c9ac3a3e4 | /src/data/set/countable.lean | 39f3733e5a2c64406ef22874077433fa272bfc0d | [
"Apache-2.0"
] | permissive | dan-c-k/mathlib | 08efec79bd7481ee6da9cc44c24a653bff4fbe0d | 96efc220f6225bc7a5ed8349900391a33a38cc56 | refs/heads/master | 1,658,082,847,093 | 1,589,013,201,000 | 1,589,013,201,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,358 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Johannes Hölzl
-/
import data.equiv.list
import data.set.finite
/-!
# Countable sets
-/
noncomputable theory
open function set encodable
open classical (hiding some)
open_locale clas... |
633d4b2f48190d6bb9a4c2d5e90665d68685e22f | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /hott/hit/colimit.hlean | 9b500367463fe885c489e3c006df8e8ba4222937 | [
"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 | 6,855 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
Definition of general colimits and sequential colimits.
-/
/- definition of a general colimit -/
open eq nat quotient sigma equiv equiv.ops
namespace colimit
sect... |
48c126c1137001e42ff1255d08ebdb1aa5dbdfd5 | 8e6cad62ec62c6c348e5faaa3c3f2079012bdd69 | /src/topology/basic.lean | 10e5280b9426e1642a27dc98017568324e9814c7 | [
"Apache-2.0"
] | permissive | benjamindavidson/mathlib | 8cc81c865aa8e7cf4462245f58d35ae9a56b150d | fad44b9f670670d87c8e25ff9cdf63af87ad731e | refs/heads/master | 1,679,545,578,362 | 1,615,343,014,000 | 1,615,343,014,000 | 312,926,983 | 0 | 0 | Apache-2.0 | 1,615,360,301,000 | 1,605,399,418,000 | Lean | UTF-8 | Lean | false | false | 53,676 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Mario Carneiro, Jeremy Avigad
-/
import order.filter.ultrafilter
import order.filter.partial
noncomputable theory
/-!
# Basic theory of topological spaces.
The main ... |
3d573ffd22adde58ef04fc63cc0df7b67604e1c2 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /tests/lean/run/pickle1.lean | b2916d846955db8a3ca495947f4fd6c670bf1e79 | [
"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 | 204 | lean | import data.encodable
open encodable decidable bool prod list nat option
variable l : list (nat × bool)
check encode l
eval encode [2, 1]
example : decode (list nat) (encode [1, 1]) = some [1, 1] :=
rfl
|
01f4dd3cfa56e1ee602b33d186a04c688089fa64 | d29d82a0af640c937e499f6be79fc552eae0aa13 | /src/ring_theory/roots_of_unity.lean | e0322a9cd66c8f67adf0a80b22b5c7bc108c4829 | [
"Apache-2.0"
] | permissive | AbdulMajeedkhurasani/mathlib | 835f8a5c5cf3075b250b3737172043ab4fa1edf6 | 79bc7323b164aebd000524ebafd198eb0e17f956 | refs/heads/master | 1,688,003,895,660 | 1,627,788,521,000 | 1,627,788,521,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 40,422 | 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 data.nat.parity
import data.polynomial.ring_division
import group_theory.specific_groups.cyclic
import ring_theory.integral_domain
import number_theory.diviso... |
3866ab3fddf93740276bec4ee0f952fa50e266af | 8b8ab1eba67c5c35b51ab27fcf8151aab660e44d | /src/invariant_norms.lean | 495e8ea1dece0148c5aa7d6af19034d8c3ed2380 | [] | no_license | PatrickMassot/lean-scratchpad | ab5e89b69034cc699bf234852822acf74b50f2b9 | 03eec3bfabfc218b79dcbe7c7712bfa024a02625 | refs/heads/master | 1,626,995,046,509 | 1,538,577,853,000 | 1,538,577,853,000 | 115,135,779 | 1 | 2 | null | 1,522,993,992,000 | 1,513,962,994,000 | Lean | UTF-8 | Lean | false | false | 6,098 | lean | import tactic.finish
import algebra.group algebra.big_operators
noncomputable theory
local attribute [instance] classical.prop_decidable
local attribute [simp] mul_assoc
open list
variables {α β : Type} [group α] [group β] {a b g h : α}
-- Conjuguation in a group
--------------------------
def conj (a b : α) := a... |
2a03f537471c8337ace760626ac57d6433a1cf65 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/data/list/basic.lean | fd4bf289c81f9a2735469527587dba4cd41745f2 | [
"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 | 195,101 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro
-/
import control.monad.basic
import data.nat.basic
import order.rel_classes
import algebra.group... |
3b3d0051ba8b6ab989c3783db4ba9eb4f95378c7 | 3f1a1d97c03bb24b55a1b9969bb4b3c619491d5a | /library/data/rbmap/default.lean | 5c9fdd76cd3596b5506a58ddcec8b262910a69ee | [
"Apache-2.0"
] | permissive | praveenmunagapati/lean | 00c3b4496cef8e758396005013b9776bb82c4f56 | fc760f57d20e0a486d14bc8a08d89147b60f530c | refs/heads/master | 1,630,692,342,183 | 1,515,626,222,000 | 1,515,626,222,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 15,015 | 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
universes u v
namespace rbmap
variables {α : Type u} {β : Type v} {lt : α → α → Prop}
/- Auxiliary instances -/
private def rbmap_lt_i... |
eb8e37b87f46cf38c5974c35208e2360c50a1295 | ad0c7d243dc1bd563419e2767ed42fb323d7beea | /algebra/big_operators.lean | a963297c0641d202078863d48e229c5cc7042e01 | [
"Apache-2.0"
] | permissive | sebzim4500/mathlib | e0b5a63b1655f910dee30badf09bd7e191d3cf30 | 6997cafbd3a7325af5cb318561768c316ceb7757 | refs/heads/master | 1,585,549,958,618 | 1,538,221,723,000 | 1,538,221,723,000 | 150,869,076 | 0 | 0 | Apache-2.0 | 1,538,229,323,000 | 1,538,229,323,000 | null | UTF-8 | Lean | false | false | 19,579 | 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
Some big operators for lists and finite sets.
-/
import data.list.basic data.list.perm data.finset
algebra.group algebra.ordered_group algebra.group_power
universes ... |
30dd76f0c3313cd5331ada56c6d976be3ccda18f | 8b8ab1eba67c5c35b51ab27fcf8151aab660e44d | /src/support.lean | a7cdf21c9263b28eb5c2cd2551d9b497729189d7 | [] | no_license | PatrickMassot/lean-scratchpad | ab5e89b69034cc699bf234852822acf74b50f2b9 | 03eec3bfabfc218b79dcbe7c7712bfa024a02625 | refs/heads/master | 1,626,995,046,509 | 1,538,577,853,000 | 1,538,577,853,000 | 115,135,779 | 1 | 2 | null | 1,522,993,992,000 | 1,513,962,994,000 | Lean | UTF-8 | Lean | false | false | 7,908 | lean | import analysis.topology.topological_space
import data.set
import data.fin
import tactic.find
import tactic.ring
import algebra.group
import homeos
import invariant_norms
import bigop
noncomputable theory
local attribute [instance] classical.prop_decidable
set_option pp.coercions false
open set function equiv list
... |
2d0208f886dccd80b532386c0a5382e66471882c | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /src/Lean/Meta/Tactic/Generalize.lean | 2483524dc884e648cac56b873b2af8c663307eea | [
"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 | 3,333 | 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.KAbstract
import Lean.Meta.Tactic.Util
import Lean.Meta.Tactic.Intro
namespace Lean.Meta
/-- The `generalize` tactic takes arguments of t... |
f6543cead04cd47d520e32cbf693709b52d40101 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/algebra/algebra/basic.lean | b04697f5de8a4aadb1c7a2eb13bc6a7257c0c460 | [
"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 | 64,275 | 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 algebra.module.basic
import algebra.ring.aut
import algebra.ring.ulift
import algebra.module.ulift
import linear_algebra.span
import tactic.abel
/-!
# ... |
1c17880e3b10d418e72bc2bf3a6a1c3a702fdedc | 4727251e0cd73359b15b664c3170e5d754078599 | /src/order/filter/countable_Inter.lean | 48c7dc690b1761107478efc98431417b94bd6256 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 8,471 | lean | /-
Copyright (c) 2020 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov
-/
import order.filter.basic
import data.set.countable
/-!
# Filters with countable intersection property
In this file we define `countable_Inter_filter` to be... |
192650fdde4837a99fe295ecaa9f79e8294e144d | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/data/nat/multiplicity.lean | d5b072a69172107cd23fce5f3a5d25e0454a0be7 | [
"Apache-2.0"
] | permissive | lacker/mathlib | f2439c743c4f8eb413ec589430c82d0f73b2d539 | ddf7563ac69d42cfa4a1bfe41db1fed521bd795f | refs/heads/master | 1,671,948,326,773 | 1,601,479,268,000 | 1,601,479,268,000 | 298,686,743 | 0 | 0 | Apache-2.0 | 1,601,070,794,000 | 1,601,070,794,000 | null | UTF-8 | Lean | false | false | 9,426 | 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.dvd
import ring_theory.multiplicity
import data.nat.modeq
import algebra.gcd_monoid
import data.finset.intervals
/-!
# Natural number multiplicit... |
32b60efd912d4c5d6e80e6531c238ba8de49b845 | b3fced0f3ff82d577384fe81653e47df68bb2fa1 | /src/ring_theory/ideals.lean | ccede65329501978c4736f23ae2c643e4413032e | [
"Apache-2.0"
] | permissive | ratmice/mathlib | 93b251ef5df08b6fd55074650ff47fdcc41a4c75 | 3a948a6a4cd5968d60e15ed914b1ad2f4423af8d | refs/heads/master | 1,599,240,104,318 | 1,572,981,183,000 | 1,572,981,183,000 | 219,830,178 | 0 | 0 | Apache-2.0 | 1,572,980,897,000 | 1,572,980,896,000 | null | UTF-8 | Lean | false | false | 18,923 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Chris Hughes, Mario Carneiro
-/
import algebra.associated linear_algebra.basic order.zorn
universes u v
variables {α : Type u} {β : Type v} {a b : α}
open set function lattice
... |
d21f4c4941ce6eacfb5571b77158ec9423944af1 | 01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab | /categories/projects.lean | 24300de44074633250e3a61c6c276deb1ca47063 | [] | no_license | PatrickMassot/lean-category-theory | 0f56a83464396a253c28a42dece16c93baf8ad74 | ef239978e91f2e1c3b8e88b6e9c64c155dc56c99 | refs/heads/master | 1,629,739,187,316 | 1,512,422,659,000 | 1,512,422,659,000 | 113,098,786 | 0 | 0 | null | 1,512,424,022,000 | 1,512,424,022,000 | null | UTF-8 | Lean | false | false | 718 | lean | -- PROJECTS
-- equivalences can be turned into adjoint equivalences
-- Idempotent completion as a left adjoint to the forgetful 2-functor from categories to semicategories??
-- IDEAS for Lean:
-- extract a goal as a lemma
-- VSCode bugs:
-- "extension-output-#4" not found
-- file /settings not found
-- settings.json... |
a4d825d1e79fd3965e244a14aecb6de810df788b | 5a5e1bb8063d7934afac91f30aa17c715821040b | /lean3SOS/src/to_mathlib/matrix.lean | 68f41f701fd7d3d88b375abaaf8941abfdcda476 | [] | no_license | ramonfmir/leanSOS | 1883392d73710db5c6e291a2abd03a6c5b44a42b | 14b50713dc887f6d408b7b2bce1f8af5bb619958 | refs/heads/main | 1,683,348,826,105 | 1,622,056,982,000 | 1,622,056,982,000 | 341,232,766 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,709 | lean | import data.matrix.basic
import linear_algebra.matrix
import linear_algebra.eigenspace
variables {γ : Type*} [fintype γ] [decidable_eq γ]
variables {μ : Type*} [fintype μ] [decidable_eq μ]
variables {R : Type*}
open_locale big_operators
open_locale matrix
namespace matrix
-- Properties of symmetric matrices.
de... |
dcedfb5372be9a7e5a0ea4dad03bb7f51e073ce7 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /src/Lean/PrettyPrinter/Parenthesizer.lean | b7de8dd704c0282b37e3f4d3f6746f132c39af6e | [
"Apache-2.0"
] | permissive | WojciechKarpiel/lean4 | 7f89706b8e3c1f942b83a2c91a3a00b05da0e65b | f6e1314fa08293dea66a329e05b6c196a0189163 | refs/heads/master | 1,686,633,402,214 | 1,625,821,189,000 | 1,625,821,258,000 | 384,640,886 | 0 | 0 | Apache-2.0 | 1,625,903,617,000 | 1,625,903,026,000 | null | UTF-8 | Lean | false | false | 29,857 | lean | /-
Copyright (c) 2020 Sebastian Ullrich. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
-/
/-!
The parenthesizer inserts parentheses into a `Syntax` object where syntactically necessary, usually as an intermediary
step between the delaborator and the... |
d53687a765d57c863f1b5542640609344ce1cfb1 | 46125763b4dbf50619e8846a1371029346f4c3db | /src/order/galois_connection.lean | 9398c0977338a27ff5b4fec79a564080a42523b6 | [
"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 | 13,579 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Johannes Hölzl
Galois connections - order theoretic adjoints.
-/
import order.complete_lattice order.bounds order.order_iso
open function set lattice
universes u v w x
variables {α : ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.