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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82b1b7df4f8e82cb86248eb475fa1169bd313ed0 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/tactic/norm_fin.lean | 2136b060c2eabe85c017ff723647945d48f85afa | [
"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 | 25,490 | 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 data.fin.basic
import tactic.norm_num
/-!
# `norm_fin`
This file defines functions for dealing with `fin n` numbers as expressions.
## Mai... |
e8defee098251ea0093fb283a6e1c40bed426afc | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/sites/cover_lifting.lean | e395e67985e3d77a5dc657a0b396c112d9db9315 | [
"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,356 | lean | /-
Copyright (c) 2021 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import category_theory.sites.sheaf
import category_theory.limits.kan_extension
import category_theory.sites.cover_preserving
/-!
# Cover-lifting functors between sites.
>... |
9173e11d0623db77a224c6f29475972abe8c3fea | 6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1 | /notes/10.1.19.Polymorphism/option.lean | 1df734dffbf2c8e534efe953696b0b6b9b797bfd | [] | no_license | derekjohnsonva/CS2102 | 8ed45daa6658e6121bac0f6691eac6147d08246d | b3f507d4be824a2511838a1054d04fc9aef3304c | refs/heads/master | 1,648,529,162,527 | 1,578,851,859,000 | 1,578,851,859,000 | 233,433,207 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 505 | lean | namespace option
inductive moption (T : Type) : Type
| some : T → moption
| none : moption
def o1 := moption.some 3
def o2 := moption.none nat
def option_value {T :Type} : moption T → T → T
| (moption.some t) d := t
| (moption.none T) d := d
def just_zero : ℕ → moption nat
| 0 := moption.some 0
| _ := moption.non... |
e4098c9b40044672ace5f4f15d4d1bf370820a5b | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/number_theory/dioph.lean | a9cf52e60e9013339711f480df5e929699961523 | [
"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 | 28,074 | 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.fin.fin2
import data.pfun
import data.vector3
import number_theory.pell
/-!
# Diophantine functions and Matiyasevic's theorem
Hilbert's tenth problem as... |
4352d87820a2150119653a2114e15e90295b0bc9 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/combinatorics/simple_graph/regularity/increment.lean | b19bae79f86d982aa5c6cc579f25c34581e1ce77 | [
"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 | 9,538 | lean | /-
Copyright (c) 2022 Yaël Dillies, Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies, Bhavik Mehta
-/
import combinatorics.simple_graph.regularity.chunk
import combinatorics.simple_graph.regularity.energy
/-!
# Increment partition for Szemeréd... |
588723657918a875215deea31e24a228e26c1068 | 7282d49021d38dacd06c4ce45a48d09627687fe0 | /tests/lean/exists3.lean | 6630b6b056fe028a343455fe7685ccdecfb02c07 | [
"Apache-2.0"
] | permissive | steveluc/lean | 5a0b4431acefaf77f15b25bbb49294c2449923ad | 92ba4e8b2d040a799eda7deb8d2a7cdd3e69c496 | refs/heads/master | 1,611,332,256,930 | 1,391,013,244,000 | 1,391,013,244,000 | 16,361,079 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,061 | lean | import Int.
variable P : Int -> Int -> Bool
set_opaque exists false.
theorem T1 (R1 : not (exists x y, P x y)) : forall x y, not (P x y) :=
fun a b,
not_not_elim (not_not_elim R1 a) b
axiom Ax : forall x, exists y, P x y
theorem T2 : exists x y, P x y :=
refute (fun R : not (exists x y, P x y),
... |
54673dfacd5d4fed247a39b20368a28445c93dde | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/topology/uniform_space/uniform_embedding.lean | 02fe5f8840471ec1ab13d00d50741d8b98c1a795 | [
"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 | 25,931 | 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
-/
import topology.uniform_space.cauchy
import topology.uniform_space.separation
import topology.dense_embedding
/-!
# Uniform embedd... |
c45e60bf752e55a567f37ceb833cab975579da8d | 4efff1f47634ff19e2f786deadd394270a59ecd2 | /src/computability/partrec_code.lean | 899f0587de429ad2059b011d1a298a76aad489b4 | [
"Apache-2.0"
] | permissive | agjftucker/mathlib | d634cd0d5256b6325e3c55bb7fb2403548371707 | 87fe50de17b00af533f72a102d0adefe4a2285e8 | refs/heads/master | 1,625,378,131,941 | 1,599,166,526,000 | 1,599,166,526,000 | 160,748,509 | 0 | 0 | Apache-2.0 | 1,544,141,789,000 | 1,544,141,789,000 | null | UTF-8 | Lean | false | false | 38,597 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Godel numbering for partial recursive functions.
-/
import computability.partrec
open encodable denumerable
namespace nat.partrec
open nat (mkpair)
theorem rfind' {f}... |
d4d2a710563dd9104adabf122b818e9e7686a179 | 626e312b5c1cb2d88fca108f5933076012633192 | /src/topology/order.lean | 7c36fac26ecb3dc3d6228c4549eb535ee7007268 | [
"Apache-2.0"
] | permissive | Bioye97/mathlib | 9db2f9ee54418d29dd06996279ba9dc874fd6beb | 782a20a27ee83b523f801ff34efb1a9557085019 | refs/heads/master | 1,690,305,956,488 | 1,631,067,774,000 | 1,631,067,774,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 29,886 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Mario Carneiro
-/
import topology.tactic
/-!
# Ordering on topologies and (co)induced topologies
Topologies on a fixed type `α` are ordered, by reverse inclusion.
Tha... |
e1c4c4cad3739c9b7a263bbaa35af104d101978a | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/PrettyPrinter/Delaborator.lean | d4fa0a3e51b0931f2eb1f2c2d936eebc186bd92e | [
"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 | 396 | lean | /-
Copyright (c) 2020 Sebastian Ullrich. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
-/
import Lean.PrettyPrinter.Delaborator.Options
import Lean.PrettyPrinter.Delaborator.SubExpr
import Lean.PrettyPrinter.Delaborator.TopDownAnalyze
import Lean.Pre... |
231fd9f690b6ae968b07ec6c769274e054f8ee95 | 22e97a5d648fc451e25a06c668dc03ac7ed7bc25 | /src/field_theory/mv_polynomial.lean | ce923cb6c1ff12ba771af54301463430223efeba | [
"Apache-2.0"
] | permissive | keeferrowan/mathlib | f2818da875dbc7780830d09bd4c526b0764a4e50 | aad2dfc40e8e6a7e258287a7c1580318e865817e | refs/heads/master | 1,661,736,426,952 | 1,590,438,032,000 | 1,590,438,032,000 | 266,892,663 | 0 | 0 | Apache-2.0 | 1,590,445,835,000 | 1,590,445,835,000 | null | UTF-8 | Lean | false | false | 9,239 | 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
Multivariate functions of the form `α^n → α` are isomorphic to multivariate polynomials in
`n` variables.
-/
import linear_algebra.finsupp_vector_space
import field_theo... |
65c1ae9ecec69d69be515f11d4b19cd6e57d5ac5 | 31f556cdeb9239ffc2fad8f905e33987ff4feab9 | /stage0/src/Init/System/Promise.lean | 83be4056efabe96c12d819835e7cee7f6c0328be | [
"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 | 1,861 | lean | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
prelude
import Init.System.IO
namespace IO
/-- Internally, a `Promise` is just a `Task` that is in the "Promised" or "Finished" state. -/
private opaque Promi... |
4a73b0565354fe909fa0a0c02b532de5e2806bd4 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/init/meta/rewrite_tactic.lean | da8b725b34b001f1f912c699dfb36a4de3013548 | [
"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 | 869 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.relation_tactics init.meta.occurrences
namespace tactic
/- (rewrite_core m use_instances occs symm H) -/
meta_constant rewrite_cor... |
5a267bd0c08dcf3829cef7bfa112077d2806fcdf | f3849be5d845a1cb97680f0bbbe03b85518312f0 | /library/tools/mini_crush/default.lean | 9a25fa4ef3cdf315dae0d90c230057493b790491 | [
"Apache-2.0"
] | permissive | bjoeris/lean | 0ed95125d762b17bfcb54dad1f9721f953f92eeb | 4e496b78d5e73545fa4f9a807155113d8e6b0561 | refs/heads/master | 1,611,251,218,281 | 1,495,337,658,000 | 1,495,337,658,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,633 | 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
We implement a crush-like strategy using simplifier,
SMT gadgets, and robust simplifier.
This is just a demo.
-/
declare_trace mini_crush
namespace mini_cru... |
e0c470eec99871e2668c8144c2aec0699ec93e5e | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/measure_theory/covering/besicovitch_vector_space.lean | f2def55f6245d81195832ffa52c4465f93e03114 | [
"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 | 26,212 | 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.measure.haar_lebesgue
import measure_theory.covering.besicovitch
/-!
# Satellite configurations for Besicovitch covering lemma in vector... |
93f21df6becc895a8760d4a80646979ecdc39c45 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/let_elim_issue.lean | dcf6e53c379607a9c9c71f9bead16582ffba1aff | [
"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 | 125 | lean | import system.io
open io
def tst : io unit :=
put_str "hello\n"
>> put_str "world\n"
>> put_str "from Lean\n"
#eval tst
|
fdfe293fe2eb2af5deac07795592f032e1dd5bb0 | ac2987d8c7832fb4a87edb6bee26141facbb6fa0 | /Mathlib/Tactic/Coe.lean | ad2e01641f10d84295c009d10c1c57e60ecbe989 | [
"Apache-2.0"
] | permissive | AurelienSaue/mathlib4 | 52204b9bd9d207c922fe0cf3397166728bb6c2e2 | 84271fe0875bafdaa88ac41f1b5a7c18151bd0d5 | refs/heads/master | 1,689,156,096,545 | 1,629,378,840,000 | 1,629,378,840,000 | 389,648,603 | 0 | 0 | Apache-2.0 | 1,627,307,284,000 | 1,627,307,284,000 | null | UTF-8 | Lean | false | false | 570 | lean | /-
Copyright (c) 2021 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Gabriel Ebner
-/
import Lean
open Lean Elab Term
/-!
Redefine the ↑-notation to elaborate in the same way as type annotations
(i.e., unfolding the coercion instance).
-/
namespace Lea... |
c263108926362772122b3d9580bc7f1e66d153d4 | 3aad12fe82645d2d3173fbedc2e5c2ba945a4d75 | /src/data/nat/nursery.lean | dd70d76f3b7ac12c86c92d5ddde593f0c9a3e66b | [] | no_license | seanpm2001/LeanProver-Community_MathLIB-Nursery | 4f88d539cb18d73a94af983092896b851e6640b5 | 0479b31fa5b4d39f41e89b8584c9f5bf5271e8ec | refs/heads/master | 1,688,730,786,645 | 1,572,070,026,000 | 1,572,070,026,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 314 | lean |
namespace nat
variables {x y z : ℕ}
lemma le_add_of_le_right (h : x ≤ y) :
x ≤ y + z :=
by transitivity;
[apply nat.le_add_right, apply nat.add_le_add_right h]
lemma le_add_of_le_left (h : x ≤ z) :
x ≤ y + z :=
by transitivity;
[apply nat.le_add_left, apply nat.add_le_add_left h]
end nat
|
1f38a63654274f2df6001784dd64f61a0cbfbc91 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/category_theory/bicategory/strict.lean | 57001ac2288f596ba6f876061250cbfce0432f75 | [
"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 | 3,035 | lean | /-
Copyright (c) 2022 Yuma Mizuno. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yuma Mizuno
-/
import category_theory.eq_to_hom
import category_theory.bicategory.basic
/-!
# Strict bicategories
A bicategory is called `strict` if the left unitors, the right unitors,... |
37c673792e328413af92b7e6de35d520dc818f6e | 94e33a31faa76775069b071adea97e86e218a8ee | /src/group_theory/sylow.lean | 94fe9ebc00ff8ad57269bc25b097d203a9ad3f41 | [
"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 | 33,078 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Thomas Browning
-/
import data.nat.factorization.basic
import data.set_like.fintype
import group_theory.group_action.conj_act
import group_theory.p_group
import group_theo... |
f1b38a5f1ea42ce411e8f04af32768f87364d175 | a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7 | /src/field_theory/finite.lean | 203578d2e82b3cdc599e827ff2c85ada150c7734 | [
"Apache-2.0"
] | permissive | kmill/mathlib | ea5a007b67ae4e9e18dd50d31d8aa60f650425ee | 1a419a9fea7b959317eddd556e1bb9639f4dcc05 | refs/heads/master | 1,668,578,197,719 | 1,593,629,163,000 | 1,593,629,163,000 | 276,482,939 | 0 | 0 | null | 1,593,637,960,000 | 1,593,637,959,000 | null | UTF-8 | Lean | false | false | 10,060 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Joey van Langen, Casper Putz
-/
import data.equiv.ring
import data.zmod.basic
import linear_algebra.basis
import ring_theory.integral_domain
/-!
# Finite fields
This fil... |
1396acdec59073381f3a58376d1262ad5bcc85c5 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/algebra/operations.lean | bfb8859ebe1069cb0d0ece28b2ead8a110892d94 | [
"Apache-2.0"
] | permissive | AntoineChambert-Loir/mathlib | 64aabb896129885f12296a799818061bc90da1ff | 07be904260ab6e36a5769680b6012f03a4727134 | refs/heads/master | 1,693,187,631,771 | 1,636,719,886,000 | 1,636,719,886,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,504 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.bilinear
import algebra.module.submodule_pointwise
/-!
# Multiplication and division of submodules of an algebra.
An interface for multiplication and d... |
d256d70e2ea0cf84a9c09635c5d39bb7f14cf3b5 | 367134ba5a65885e863bdc4507601606690974c1 | /src/field_theory/subfield.lean | e9f99c84ee1839f301bc3b8f9896ea7595db3c6a | [
"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 | 24,759 | 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 algebra.algebra.basic
/-!
# Subfields
Let `K` be a field. This file defines the "bundled" subfield type `subfield K`, a type
whose terms correspond to subfields ... |
d866c386f0c6d7f46b7e07580518e9fd14d0db13 | 6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1 | /notes/2019.10.14.prop_logic/prop_logic_test.lean | 97b902598d3f9deccc00d932ae458204a258f42b | [] | no_license | derekjohnsonva/CS2102 | 8ed45daa6658e6121bac0f6691eac6147d08246d | b3f507d4be824a2511838a1054d04fc9aef3304c | refs/heads/master | 1,648,529,162,527 | 1,578,851,859,000 | 1,578,851,859,000 | 233,433,207 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 13,904 | lean | import .prop_logic
/-
A logic is a "formal language" with
a mathematically defined syntax and a
mathematically defined semantics. The
syntax of a language defines the set
of legal expressions in the language
(sometimes called formula, well-formed
formula, sentences, etc). The semantics
then explains how to give a mean... |
dee956f24abdf9010e0d31028d19d814e2ad6fd7 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Init/Data/String.lean | 43c77de90786601523fd60aeef7f01ce051305b1 | [
"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 | 232 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Data.String.Basic
import Init.Data.String.Extra
|
b85efa2c714f4621f1d42cfc51f5a987247de737 | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /library/hott/fibrant.lean | 7dfa1f2de185a7559119863c6d12a9c7652a40b6 | [
"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,129 | lean | -- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Jeremy Avigad
import data.unit data.bool data.nat
import data.prod data.sum data.sigma
open unit bool nat prod sum sigma
inductive fibrant [class] (T : Type) : Type :=
f... |
deb5434a6b4352feba7033251e9122da3a5f6df4 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/category_theory/limits/shapes/products.lean | cbd88144356731c3ee86ac56dba4a3ba86b770b7 | [
"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 | 7,934 | lean | /-
Copyright (c) 2018 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Bhavik Mehta
-/
import category_theory.limits.has_limits
import category_theory.discrete_category
/-!
# Categorical (co)products
This file defines (co)products as spe... |
5d8bdce0442d312874db4fd1916cd140f0682e01 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/ring_theory/noetherian.lean | 43223edd1ce9d4879ef8f9ad95102894a14fddbd | [
"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 | 21,673 | lean | /-
Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Kevin Buzzard
-/
import data.equiv.algebra
import linear_algebra.finsupp
import ring_theory.ideal_operations
import ring_theory.subring
import linear... |
eb2a0d65b31d9e1638ac64107e9f3c6a4d781ba9 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/measure_theory/integral/fund_thm_calculus.lean | 43b4c4da776a4de4d9e5248a448669e7b1f40fd6 | [
"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 | 83,081 | 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, Patrick Massot, Sébastien Gouëzel
-/
import analysis.calculus.fderiv_measurable
import analysis.normed_space.dual
import measure_theory.integral.interval_integr... |
802389d03849c693e54932ccc6e649b6e6186dee | d1a52c3f208fa42c41df8278c3d280f075eb020c | /tests/lean/run/305.lean | 970a6430a98856e27adc5da839370e858c587ba5 | [
"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 | 2,318 | lean | def Unit.longName (f : Unit) : String := ""
inductive Cmd
| init
(name : String)
(subCmds : Array Cmd)
(flags : Array Unit)
open Inhabited in
instance : Inhabited Cmd where
default := Cmd.init default default default
namespace Cmd
def name : Cmd → String | init v _ _ => v
def subCm... |
afdef9ecdc3c9f06fdd743ebcd243a00d9aab707 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/category_theory/groupoid.lean | 9fc449faf434d70c7bcb97302573e614067f5fbd | [
"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 | 2,865 | lean | /-
Copyright (c) 2018 Reid Barton All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton, Scott Morrison, David Wärn
-/
import category_theory.full_subcategory
/-!
# Groupoids
We define `groupoid` as a typeclass extending `category`,
asserting that all morphisms ... |
cfc1447f9915c97fd326fe0d018d840580ffc642 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Level.lean | 74868ff82767498dd985a4d8181161db4cadad5d | [
"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 | 22,055 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Data.HashMap
import Lean.Data.HashSet
import Lean.Data.PersistentHashMap
import Lean.Data.PersistentHashSet
import Lean.Hygiene
import Lean.Data... |
f89daaac824ad9ee8d1c57608c94f10cbe04a185 | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/analysis/calculus/times_cont_diff.lean | 05a74bd51699fabd585a30d3c7031c709d6b4215 | [
"Apache-2.0"
] | permissive | hamdysalah1/mathlib | b915f86b2503feeae268de369f1b16932321f097 | 95454452f6b3569bf967d35aab8d852b1ddf8017 | refs/heads/master | 1,677,154,116,545 | 1,611,797,994,000 | 1,611,797,994,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 132,236 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import analysis.calculus.mean_value
import analysis.calculus.formal_multilinear_series
/-!
# Higher differentiability
A function is `C^1` on a domain if it is... |
72edfbcb60ec345dc3c29f26aa54f39ad1a37e41 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/order/rel_iso.lean | fcac368ca004abc59f3ec10453ca2dc58a1721de | [
"Apache-2.0"
] | permissive | hikari0108/mathlib | b7ea2b7350497ab1a0b87a09d093ecc025a50dfa | a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901 | refs/heads/master | 1,690,483,608,260 | 1,631,541,580,000 | 1,631,541,580,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 34,576 | 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 algebra.group.defs
import logic.embedding
import order.rel_classes
/-!
# Relation homomorphisms, embeddings, isomorphisms
This file defines relation homomorp... |
0a91467321f9932eeb922db33b111a140e17f399 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/ring_theory/integral_closure.lean | cf3235e4d921472210cf302937dcdaeec592929c | [
"Apache-2.0"
] | permissive | gebner/mathlib | eab0150cc4f79ec45d2016a8c21750244a2e7ff0 | cc6a6edc397c55118df62831e23bfbd6e6c6b4ab | refs/heads/master | 1,625,574,853,976 | 1,586,712,827,000 | 1,586,712,827,000 | 99,101,412 | 1 | 0 | Apache-2.0 | 1,586,716,389,000 | 1,501,667,958,000 | Lean | UTF-8 | Lean | false | false | 17,070 | 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.adjoin linear_algebra.finsupp
/-!
# Integral closure of a subring.
-/
universes u v
open_locale classical
open polynomial submodule
section
variables (R ... |
d663a8cbac10dd5eb69881d59e913b5f764b7b2b | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/lake/Lake/CLI/Main.lean | 6696356632eed7ee7222b379cd7dce527222cd9b | [
"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 | 13,754 | lean | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
import Lake.Load
import Lake.Build.Imports
import Lake.Util.Error
import Lake.Util.MainM
import Lake.Util.Cli
import Lake.CLI.Init
import Lake.CLI.Help
import Lake.CLI.Build
... |
b03a24b90dd4e372b653c1b8f84166aaf0ad60c8 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /src/Lean/Data/KVMap.lean | b86c5e753404ea6821dcf73acda6a7ed3eccf851 | [
"Apache-2.0"
] | permissive | dupuisf/lean4 | d082d13b01243e1de29ae680eefb476961221eef | 6a39c65bd28eb0e28c3870188f348c8914502718 | refs/heads/master | 1,676,948,755,391 | 1,610,665,114,000 | 1,610,665,114,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,613 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Data.Name
namespace Lean
inductive DataValue where
| ofString (v : String)
| ofBool (v : Bool)
| ofName (v : Name)
| ofNat (v :... |
5d447bb520cad843d9a08f7014c119ed9a0a97d1 | 097294e9b80f0d9893ac160b9c7219aa135b51b9 | /instructor/propositional_logic/satisfiability/validity_test.lean | 27d41c5a95cd7a11f7c7c22f07390b0f6b17d73a | [] | no_license | AbigailCastro17/CS2102-Discrete-Math | cf296251be9418ce90206f5e66bde9163e21abf9 | d741e4d2d6a9b2e0c8380e51706218b8f608cee4 | refs/heads/main | 1,682,891,087,358 | 1,621,401,341,000 | 1,621,401,341,000 | 368,749,959 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 708 | lean | import .satisfiability
#eval is_valid true_intro
#eval is_valid false_elim
#eval is_valid and_intro
#eval is_valid and_elim_left
#eval is_valid and_elim_right
#eval is_valid or_intro_left
#eval is_valid or_intro_right
#eval is_valid or_elim
#eval is_valid iff_intro
#eval is_valid iff_intro'
#eval is_... |
9b349f4e884826f580009cf9759902962486eea7 | 969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb | /src/topology/metric_space/emetric_space.lean | 7cdf68819cd907da47e827c30021bd71379db670 | [
"Apache-2.0"
] | permissive | SAAluthwela/mathlib | 62044349d72dd63983a8500214736aa7779634d3 | 83a4b8b990907291421de54a78988c024dc8a552 | refs/heads/master | 1,679,433,873,417 | 1,615,998,031,000 | 1,615,998,031,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 52,009 | lean | /-
Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel
-/
import data.real.ennreal
import data.finset.intervals
import topology.uniform_space.uniform_em... |
9951d922cf9bbb17ce266ab6d16850f3907cda71 | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/data/multiset/fold.lean | fdd74592c4d0ad905786be56c629c7e7fe662d76 | [
"Apache-2.0"
] | permissive | troyjlee/mathlib | e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5 | 45e7eb8447555247246e3fe91c87066506c14875 | refs/heads/master | 1,689,248,035,046 | 1,629,470,528,000 | 1,629,470,528,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,257 | 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.multiset.erase_dup
import data.list.min_max
/-!
# The fold operation for a commutative associative operation over a multiset.
-/
namespace multiset
vari... |
95a06b8746e86dd73ee71fda810e47da15ee5a25 | d29d82a0af640c937e499f6be79fc552eae0aa13 | /src/analysis/normed_space/normed_group_quotient.lean | 706e39f72af99b961e7fdc259b53159852d07b02 | [
"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 | 22,012 | lean | /-
Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Riccardo Brasca
-/
import analysis.normed_space.normed_group_hom
/-!
# Quotients of seminormed groups
For any `semi_normed_group M` and any `S : add_subgroup M`, we p... |
14e6b7958e939f3c37e48b42b69b225b64413307 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/order/filter/archimedean.lean | 37aa5b2f669d5323b18009089864372e89f85e6f | [
"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,202 | lean | /-
Copyright (c) 2019 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Yury Kudryashov
-/
import algebra.order.archimedean
import order.filter.at_top_bot
/-!
# `at_top` filter and archimedean (semi)rings/fields
In this file we prove that... |
982c4a119f67d499127e51a83204b2198264af00 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/meta/widget/basic.lean | 799f971381d3d9124adb051d69912ae38f2488f3 | [] | 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 | 7,930 | lean | /-
Copyright (c) E.W.Ayers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: E.W.Ayers
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.function
import Mathlib.Lean3Lib.init.data.option.basic
import Mathlib.Lean3Lib.init.util
import Mathlib.Lean3Lib.init.meta.tacti... |
776fec4cbd6986e7c55066543c6c5f0287d413d2 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/order/monotone/extension.lean | 4336bfbe6b93978bd8f0e7869f020233ba737dc0 | [
"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,556 | lean | /-
Copyright (c) 2022 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Yury Kudryashov
-/
import order.conditionally_complete_lattice.basic
/-!
# Extension of a monotone function from a set to the whole space
> THIS FILE IS SYNCHRO... |
da1126cd4b7b28f441f9d84e2eaaa8897e2b96b7 | 592ee40978ac7604005a4e0d35bbc4b467389241 | /Library/generated/mathscheme-lean/Loop.lean | 69bd185bed80f95b3b07f88eead3a52535c550a5 | [] | no_license | ysharoda/Deriving-Definitions | 3e149e6641fae440badd35ac110a0bd705a49ad2 | dfecb27572022de3d4aa702cae8db19957523a59 | refs/heads/master | 1,679,127,857,700 | 1,615,939,007,000 | 1,615,939,007,000 | 229,785,731 | 4 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,510 | lean | import init.data.nat.basic
import init.data.fin.basic
import data.vector
import .Prelude
open Staged
open nat
open fin
open vector
section Loop
structure Loop (A : Type) : Type :=
(op : (A → (A → A)))
(e : A)
(lunit_e : (∀ {x : A} , (op e x) = x))
(runit_e : (∀ {x : A} , (op x e) = x)... |
05b13f0a122e368c81bd4e29ab9aadf950962cf5 | 54deab7025df5d2df4573383df7e1e5497b7a2c2 | /data/fin.lean | b5f253cfc105c9c84ae7f7c76e21aea6a63a95fa | [
"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 | 1,489 | lean | import data.nat.basic
open fin nat
def raise_fin {n : ℕ} (k : fin n) : fin (n + 1) := ⟨val k, lt_succ_of_lt (is_lt k)⟩
theorem eq_of_lt_succ_of_not_lt {a b : ℕ} (h1 : a < b + 1) (h2 : ¬ a < b) : a = b :=
have h3 : a ≤ b, from le_of_lt_succ h1,
or.elim (eq_or_lt_of_not_lt h2) (λ h, h) (λ h, absurd h (not_lt_of_ge h3)... |
dace67e05a4f08de89ec6939dfa69c5058efc3f9 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/model_theory/substructures.lean | c1cc4014958098d4e59c7e187c76f68a3db1232b | [
"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 | 29,592 | lean | /-
Copyright (c) 2021 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
import order.closure
import model_theory.semantics
import model_theory.encoding
/-!
# First-Order Substructures
This file defines substructures of first-order struc... |
3227f415d2dc656aa15be192280ae6ef663c90b1 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/data/polynomial/module.lean | cb7062752b9df02fa55e5b9041efba0124acb04c | [
"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 | 11,000 | lean | /-
Copyright (c) 2022 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import ring_theory.finiteness
/-!
# Polynomial module
In this file, we define the polynomial module for an `R`-module `M`, i.e. the `R[X]`-module `M[X]`.
This is define... |
a96d406e6f9893eef16c5bae4f1c72b51166e8b6 | 7e15b782f874bcc4192c668a12db901081a9248e | /theorem-proving-in-lean/src/ch_2.lean | 81f20113011cb4e135e71048e618087e8dca5761 | [] | no_license | Javran/Thinking-dumps | 5e392fe4a5c0580dc9b0c40ab9e5a09dad381863 | bfb0639c81078602e4b57d9dd89abd17fce0491f | refs/heads/master | 1,621,682,942,579 | 1,618,941,860,000 | 1,618,941,860,000 | 7,418,999 | 19 | 4 | null | null | null | null | UTF-8 | Lean | false | false | 2,104 | lean | namespace ch_2
namespace ex_1
def double (x : nat) := x + x
def square (x : nat) := x * x
def do_twice (f : nat -> nat) (x : nat) := f (f x)
def Do_Twice
(f : (nat -> nat) -> (nat -> nat))
(g : nat -> nat) : nat -> nat
:= f (f g)
#eval Do_Twice do_twice double 2
end ex_1
namespace ex_2
def curry
(α β γ ... |
bc2d5a58d6f3f23af06f625df76a19a9fb4f643f | f4bff2062c030df03d65e8b69c88f79b63a359d8 | /src/game/max/level07.lean | 2d43ca96cf3d0041d7b76f1f171ee18a0aaa571a | [
"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 | 548 | lean | import game.max.level06 -- hide
open_locale classical -- hide
noncomputable theory -- hide
namespace xena -- hide
/-
# Chapter ? : Max and abs
## Level 7
`max_lt` and `max_lt_iff` are equally useful. Let's knock them off
using the same techniques.
-/
/- Lemma
If $a$, $b$, $c$ are real numbers with $a<c$ and $b<c... |
30c6ebf2d326d26c9ec3fbbf720303aeb53478ce | c31182a012eec69da0a1f6c05f42b0f0717d212d | /src/facts/int.lean | b7a9b2433d9e0ba9b7e414b762e16556cc3db7cf | [] | 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 | 248 | lean | import data.int.basic
instance fact_le_of_add_one_le (q : ℤ) (m : ℤ) [h : fact (q + 1 ≤ m)] : fact (q ≤ m) :=
⟨(int.le_add_one le_rfl).trans h.out⟩
instance fact_two_pow_pos (N : ℕ) : fact (0 < 2 ^ N) :=
⟨pow_pos zero_lt_two _⟩
|
f3934a860871318495fdcbba6aad34a97bf3d52e | f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58 | /algebra/group_power.lean | fd15d893890a84e0cb3c6851024908963858b4a9 | [
"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 | 17,461 | lean | /-
Copyright (c) 2015 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Robert Y. Lewis
The power operation on monoids and groups. We separate this from group, because it depends on
nat, which in turn depends on other parts of algebra.
We h... |
17d554afc0856597fa7f3f5e8839b6618a280879 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/data/set/bool.lean | 166a6d8ad07bb619d81994725dcf8ae135b7bd47 | [
"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 | 581 | lean | /-
Copyright (c) 2021 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov
-/
import data.set.basic
import data.bool
/-!
# Booleans and set operations
This file contains two trivial lemmas about `bool`, `set.univ`, and `set.range`.
-/... |
b3420f85debde965617451246b6babd6d9f1d451 | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /tests/lean/run/univ_bug2.lean | d4ce5c812b92fcc0ae065de296328fec3336e0c2 | [
"Apache-2.0"
] | permissive | tjiaqi/lean | 4634d729795c164664d10d093f3545287c76628f | d0ce4cf62f4246b0600c07e074d86e51f2195e30 | refs/heads/master | 1,622,323,796,480 | 1,422,643,069,000 | 1,422,643,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,255 | lean | ----------------------------------------------------------------------------------------------------
--- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
--- Released under Apache 2.0 license as described in the file LICENSE.
--- Author: Jeremy Avigad
------------------------------------------------------... |
a452eb6e77aafbb340b719da52f16d10965b8120 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/data/dfinsupp/basic.lean | e69a8c4f99efe4a4acc67dabed8916bdd6385f59 | [
"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 | 83,341 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Kenny Lau
-/
import algebra.module.linear_map
import algebra.big_operators.basic
import data.set.finite
import group_theory.submonoid.membership
import group_theory.group_ac... |
b5dce58e0429940cd6fb03a186f642327f9ac41d | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /hott/pointed.hlean | 8c0c0818dfa6312736cf18bec434b7670a3b6665 | [
"Apache-2.0"
] | permissive | tjiaqi/lean | 4634d729795c164664d10d093f3545287c76628f | d0ce4cf62f4246b0600c07e074d86e51f2195e30 | refs/heads/master | 1,622,323,796,480 | 1,422,643,069,000 | 1,422,643,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,195 | hlean | -- Copyright (c) 2014 Jakob von Raumer. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Jakob von Raumer
-- Ported from Coq HoTT
import init.trunc
open eq prod truncation
structure is_pointed [class] (A : Type) :=
(point : A)
namespace is_pointed
variables {A... |
0f7ddd95ebac4d41e3f2dafcf04509b85fcfec88 | 31f556cdeb9239ffc2fad8f905e33987ff4feab9 | /src/Lean/Server/Requests.lean | 86b3f749cb7519f340a999fa9cf7c1e65a27874d | [
"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 | 10,076 | lean | /-
Copyright (c) 2021 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Marc Huisinga
-/
import Lean.DeclarationRange
import Lean.Data.Json
import Lean.Data.Lsp
import Lean.Elab.Command
import Lean.Server.FileSource
import Lean.Ser... |
5b7951f07b41420b384b103ba617c12d9e2af255 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/algebra/quaternion.lean | 3231b55637756fb1e27cc9b851490a144b38763d | [
"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 | 22,332 | 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 tactic.ring_exp
import algebra.algebra.basic
import algebra.opposites
import data.equiv.ring
/-!
# Quaternions
In this file we define quaternions `ℍ[R]` ov... |
45ffb8c32c9a97a22d4a732162b3770b6de4ca90 | febba19712b2aefe4d6c7fb0230b8d7e272c98c4 | /src/types.lean | ec03d99c2aef5e1c8f0584535e16d17c1a4cc1ac | [] | no_license | hcheval/formalized-proof-mining | e6eb980feb644ae269f43d9af93ac584b7a47a17 | 216cc73fccd84900a1ba7eaae5f73732496d6afe | refs/heads/master | 1,689,621,410,792 | 1,629,912,272,000 | 1,629,912,272,000 | 399,855,572 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,666 | lean | import tactic
import utils
structure ground_interpretation (ι : Type) :=
(interpretation : ι → Type)
(inh : Π i : ι, interpretation i)
instance (ι : Type) : has_coe_to_fun (ground_interpretation ι) :=
⟨_, (λ gri, gri.interpretation)⟩
-- @[derive decidable_eq]
inductive type (ι : Type) (gri : ground_interpretatio... |
1e971c5268c738ad418011e7662c4a5b4a10175a | 1e7164e9c5aacccd114777e0ea8f8201177f1289 | /src/simplicial_sets/degeneracy_face.lean | 7b9232bcdac1cb4693491a7fabe16f0bda332873 | [] | no_license | floriscnossen/simplicial_sets_in_lean | e7cb1780474407668208ec5b8f19de7eb5936701 | c260d8196964bb288331bff7a3bfe24266792f0c | refs/heads/master | 1,685,636,159,913 | 1,624,118,064,000 | 1,624,118,064,000 | 352,801,219 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 13,853 | lean | import algebraic_topology.simplex_category
import set_theory.cardinal
open category_theory
namespace simplex_category
open_locale simplicial
/- Face maps are compositions of δ maps. -/
class inductive face {n : ℕ} : Π {m : ℕ}, ([n] ⟶ [m]) → Sort*
| id : face (𝟙 [n])
| comp {m} (g: [n] ⟶ [m])... |
360c570139f1f15ff45c73df13b7e94ea5e37074 | 4b846d8dabdc64e7ea03552bad8f7fa74763fc67 | /library/tools/super/clause_ops.lean | 21a51825546d41fb19f99ae76faf1210bdfc2f21 | [
"Apache-2.0"
] | permissive | pacchiano/lean | 9324b33f3ac3b5c5647285160f9f6ea8d0d767dc | fdadada3a970377a6df8afcd629a6f2eab6e84e8 | refs/heads/master | 1,611,357,380,399 | 1,489,870,101,000 | 1,489,870,101,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,429 | lean | /-
Copyright (c) 2016 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
import .clause
open monad tactic expr
namespace super
local attribute [instance] has_monad_lift_to_has_coe
meta def on_left_at {m} [monad m] (c : clause) (i : ℕ)
... |
1cca18a3e8aed6d9785d4f12f13bf85d2b2160b6 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/ring/pi.lean | 380d0d8d4b040e2a8e14a23fcb899d5f826afcff | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 7,647 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon, Patrick Massot
-/
import tactic.pi_instances
import algebra.group.pi
import algebra.hom.ring
/-!
# Pi instances for ring
This file defines instances for ring, semiring and ... |
2183066b94401f688edcb7bfef0dc0475ebbc353 | cf39355caa609c0f33405126beee2739aa3cb77e | /library/init/meta/well_founded_tactics.lean | f3faa179debd1a0b7d45994add3fb878074885c6 | [
"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 | 7,617 | 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
-/
prelude
import init.meta init.data.sigma.lex init.data.nat.lemmas init.data.list.instances
import init.data.list.qsort
/- TODO(Leo): move this lemma, or de... |
64dacc71bddc8222599f1d8f09a92b19162cf549 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/data/nat/pow.lean | b328ba11ff4a282ba974ab94202a89728518787e | [
"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 | 11,636 | lean | /-
Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro
-/
import data.nat.basic
import algebra.group_power.order
/-! # `nat.pow`
Results ... |
5c633b0364370f6295afe055e7b5cb51c558c117 | 32da3d0f92cab08875472ef6cacc1931c2b3eafa | /src/measure_theory/borel_space.lean | ef3c2696741c47d3a9008da04b72e19d512cf36c | [
"Apache-2.0"
] | permissive | karthiknadig/mathlib | b6073c3748860bfc9a3e55da86afcddba62dc913 | 33a86cfff12d7f200d0010cd03b95e9b69a6c1a5 | refs/heads/master | 1,676,389,371,851 | 1,610,061,127,000 | 1,610,061,127,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 54,028 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Yury Kudryashov
-/
import measure_theory.measure_space
import analysis.complex.basic
import analysis.normed_space.finite_dimension
import topology.G_delta
/-!
# Borel ... |
fd4eecd69f791903a995844251ccc50c609db37c | 37da0369b6c03e380e057bf680d81e6c9fdf9219 | /hott/types/unit.hlean | 1ab63bc8eecbb77a447265402b24f3656fb42d89 | [
"Apache-2.0"
] | permissive | kodyvajjha/lean2 | 72b120d95c3a1d77f54433fa90c9810e14a931a4 | 227fcad22ab2bc27bb7471be7911075d101ba3f9 | refs/heads/master | 1,627,157,512,295 | 1,501,855,676,000 | 1,504,809,427,000 | 109,317,326 | 0 | 0 | null | 1,509,839,253,000 | 1,509,655,713,000 | C++ | UTF-8 | Lean | false | false | 1,465 | 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
Theorems about the unit type
-/
open is_equiv equiv option eq pointed is_trunc function
namespace unit
protected definition eta : Π(u : unit), ⋆ = u
| eta ⋆ ... |
e02c4e64ad198ffe72f391eb882280e9cd1b1777 | 97c8e5d8aca4afeebb5b335f26a492c53680efc8 | /ground_zero/theorems/ua.lean | def022845b8ddbd97368da71260412fc74e9f52f | [] | no_license | jfrancese/lean | cf32f0d8d5520b6f0e9d3987deb95841c553c53c | 06e7efaecce4093d97fb5ecc75479df2ef1dbbdb | refs/heads/master | 1,587,915,151,351 | 1,551,012,140,000 | 1,551,012,140,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,116 | lean | import ground_zero.types.product
open ground_zero.types.equiv (idtoeqv homotopy)
open ground_zero.types.equiv (renaming id -> ideqv)
open ground_zero.types.eq (renaming refl -> idp)
open ground_zero.structures ground_zero.types.not
/-
Univalence axiom formulated using equivalence J-rule.
ua, idtoeqv, comp_rule, p... |
9c776657ae0d91ab8356d52437d2a10af0e5d15b | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/algebra/category/Mon/colimits.lean | 5444d08e96a226ae57174ef3b8eda98ae21204be | [
"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 | 6,505 | 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 algebra.category.Mon.basic
import category_theory.limits.limits
/-!
# The category of monoids has all colimits.
We do this construction knowing nothing about... |
97270fbe09a520d98f364b8affc28d57a04c16c3 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/big_operators/intervals_auto.lean | d96c30eff1ca44ec0bf27b6824550b21af24ded5 | [] | 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,336 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.big_operators.basic
import Mathlib.data.finset.intervals
import Mathlib.PostPort
u... |
dfd730eed512c092b4ca0dbde4ff27ad054f9bdf | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/computability/encoding.lean | f161ff7a6237cd7ebab8d8cccd923156d4aa51f6 | [
"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 | 7,367 | lean | /-
Copyright (c) 2020 Pim Spelier, Daan van Gent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Pim Spelier, Daan van Gent
-/
import data.fintype.basic
import data.num.lemmas
import set_theory.cardinal.ordinal
import tactic.derive_fintype
/-!
# Encodings
> THIS FIL... |
d8242eb6d8b57bd3b2d9ae6f624e9eb26cb2c2fc | 9cba98daa30c0804090f963f9024147a50292fa0 | /time_series/geom3d_test.lean | c14095db0b6e7ae4c95cd31cd4d906e0fabb87cc | [] | no_license | kevinsullivan/phys | dcb192f7b3033797541b980f0b4a7e75d84cea1a | ebc2df3779d3605ff7a9b47eeda25c2a551e011f | refs/heads/master | 1,637,490,575,500 | 1,629,899,064,000 | 1,629,899,064,000 | 168,012,884 | 0 | 3 | null | 1,629,644,436,000 | 1,548,699,832,000 | Lean | UTF-8 | Lean | false | false | 5,145 | lean | import .geom3d
import tactic.linarith
def world_fr := geom3d_std_frame
def world := geom3d_std_space
def target_fr :=
let origin := mk_position3d world 1.000000 2.000000 3.000000 in
let basis0 := mk_displacement3d world 4.000000 3.000000 2.000000 in
let basis1 := mk_displacement3d world 1.000000 2.000000 3.000000... |
b7f597aa8bc7130368272fb8f9d62bd24589b5ba | efa51dd2edbbbbd6c34bd0ce436415eb405832e7 | /20161026_ICTAC_Tutorial/ex45.lean | 11aa2b72775423b3303c0ad2e1d18f167ce5e0cf | [
"Apache-2.0"
] | permissive | leanprover/presentations | dd031a05bcb12c8855676c77e52ed84246bd889a | 3ce2d132d299409f1de269fa8e95afa1333d644e | refs/heads/master | 1,688,703,388,796 | 1,686,838,383,000 | 1,687,465,742,000 | 29,750,158 | 12 | 9 | Apache-2.0 | 1,540,211,670,000 | 1,422,042,683,000 | Lean | UTF-8 | Lean | false | false | 242 | lean | /- Leibniz equality
Replacing equals with equals. -/
example (A : Type) (a b : A) (P : A → Prop) (h1 : a = b) (h2 : P a) : P b :=
eq.subst h1 h2
example (A : Type) (a b : A) (P : A → Prop) (h1 : a = b) (h2 : P a) : P b :=
h1 ▸ h2
|
5453f08c1a92fe0515b6f2ec86e63b34725a266d | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /stage0/src/Leanpkg/Resolve.lean | 6afc734be1697883d4c0a92d4541f4b679ea781a | [
"Apache-2.0"
] | permissive | collares/lean4 | 861a9269c4592bce49b71059e232ff0bfe4594cc | 52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee | refs/heads/master | 1,691,419,031,324 | 1,618,678,138,000 | 1,618,678,138,000 | 358,989,750 | 0 | 0 | Apache-2.0 | 1,618,696,333,000 | 1,618,696,333,000 | null | UTF-8 | Lean | false | false | 3,333 | 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.Manifest
import Leanpkg.Proc
import Leanpkg.Git
namespace Leanpkg
def Assignment := List (String × String)
namespace Assign... |
9583f10e697d59a606d55c875f8b03898d3f3f5a | 592ee40978ac7604005a4e0d35bbc4b467389241 | /Library/generated/mathscheme-lean/FixedPoint.lean | 4d2e86225aa7cb4b24d5d12a583144363cac448b | [] | no_license | ysharoda/Deriving-Definitions | 3e149e6641fae440badd35ac110a0bd705a49ad2 | dfecb27572022de3d4aa702cae8db19957523a59 | refs/heads/master | 1,679,127,857,700 | 1,615,939,007,000 | 1,615,939,007,000 | 229,785,731 | 4 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,087 | lean | import init.data.nat.basic
import init.data.fin.basic
import data.vector
import .Prelude
open Staged
open nat
open fin
open vector
section FixedPoint
structure FixedPoint (A : Type) : Type :=
(prim : (A → A))
(e : A)
(fixes_prim_e : (prim e) = e)
open FixedPoint
structure Sig (AS : ... |
30612d8fa11dc4956297057a89e54b1f415d14e5 | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /tests/lean/run/nat_coe.lean | 2696d21612a3626e216c6e1e2d8f32b28de38964 | [
"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 | 435 | lean | import logic
namespace experiment
constant nat : Type.{1}
constant int : Type.{1}
constant nat_add : nat → nat → nat
infixl `+` := nat_add
constant int_add : int → int → int
infixl `+` := int_add
constant of_nat : nat → int
coercion of_nat
constants a b : nat
constants i j : int
definition c1 := a + b
theorem T1 ... |
0bd524fa92eef8de02ee8294f8724d087b903b05 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/multiset/fold.lean | 9b2bb6f01ddfee8fe75fffb2f6f88cd960212ebc | [
"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,267 | 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.multiset.erase_dup
import data.list.min_max
/-!
# The fold operation for a commutative associative operation over a multiset.
-/
namespace multiset
vari... |
69a0129f9657986edd04663e69f87822e7de1a68 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/representation_theory/maschke.lean | bfb22ddc631d99ba394b7bfba99fc8461a33706f | [
"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 | 6,324 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.monoid_algebra
import algebra.char_p.invertible
import algebra.regular
import linear_algebra.basis
/-!
# Maschke's theorem
We prove **Maschke's theor... |
846e878000c82eb39601d83ba2a03e8f571a7e25 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/measure_theory/integral/circle_transform.lean | e721eca6870d0be940472ef6a8fd9d093fef548a | [
"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,858 | lean | /-
Copyright (c) 2022 Chris Birkbeck. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Birkbeck
-/
import data.complex.basic
import measure_theory.integral.circle_integral
/-!
# Circle integral transform
In this file we define the circle integral transform of a fu... |
a1a0f66cf4c0d89521ebce756ee86d9d15db5add | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/monoidal/internal/Module.lean | 0b5fc52a0a1e33a143eeca5ae1fbb6125d81bfde | [
"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 | 6,157 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.category.Module.monoidal
import algebra.category.Algebra.basic
import category_theory.monoidal.Mon_
/-!
# `Mon_ (Module R) ≌ Algebra R`
The category... |
8bef6c425bcfa39130f3bdb1016f344964c63636 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/set_theory/surreal/basic.lean | 81cd1cd193329e44c2765f513f7ed155b7c486d9 | [
"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 | 13,545 | lean | /-
Copyright (c) 2019 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Scott Morrison
-/
import algebra.order.hom.monoid
import set_theory.game.ordinal
/-!
# Surreal numbers
The basic theory of surreal numbers, built on top of the theor... |
db61943774b7001895c58b9cb1a60ebdc15016b5 | 9338c56dfd6ceacc3e5e63e32a7918cfec5d5c69 | /src/sheaves/presheaf_maps.lean | 7a2faa4854e2a3e35952341215bf72b19618cd31 | [] | no_license | Project-Reykjavik/lean-scheme | 7322eefce504898ba33737970be89dc751108e2b | 6d3ec18fecfd174b79d0ce5c85a783f326dd50f6 | refs/heads/master | 1,669,426,172,632 | 1,578,284,588,000 | 1,578,284,588,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,525 | lean | /-
Continuous maps and presheaves.
https://stacks.math.columbia.edu/tag/008C
-/
import to_mathlib.opens
import sheaves.presheaf
import sheaves.stalk
universes u v w
open topological_space
variables {α : Type u} [topological_space α]
variables {β : Type v} [topological_space β]
variables {f : α → β} (Hf : conti... |
ca281c5dd691a1df7d0af6df72f1d1b633d179f8 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/partial.lean | 82cbe064b1c9c982b7c3dd47e14c335eb3c2bae4 | [
"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,715 | lean | /-
Copyright (c) 2018 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
-/
import topology.continuous_on
import order.filter.partial
/-!
# Partial functions and topological spaces
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to t... |
267fd6ffbc638f0dc4f3e1475b509f84fe6400c9 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/linear_algebra/invariant_basis_number.lean | bacf56a067270950412fbc5daae41b36886627ab | [
"Apache-2.0"
] | permissive | hikari0108/mathlib | b7ea2b7350497ab1a0b87a09d093ecc025a50dfa | a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901 | refs/heads/master | 1,690,483,608,260 | 1,631,541,580,000 | 1,631,541,580,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,392 | lean | /-
Copyright (c) 2020 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel, Scott Morrison
-/
import ring_theory.principal_ideal_domain
import ring_theory.ideal.basic
/-!
# Invariant basis number property
We say that a ring `R` satisfies the in... |
3b6c19d8ead8ccf9da127753171856f7fa59a86f | 1fbca480c1574e809ae95a3eda58188ff42a5e41 | /src/util/data/countable.lean | 85487a04ff5662fc9edb4757e8fe715708cd7d7c | [] | no_license | unitb/lean-lib | 560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e | 439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9 | refs/heads/master | 1,610,706,025,400 | 1,570,144,245,000 | 1,570,144,245,000 | 99,579,229 | 5 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,772 | lean |
import data.stream
import util.logic
import util.data.nat
import util.data.stream
open nat function
open stream
def rounds : ℕ → ℕ → stream ℕ := curry $ coinduct rounds.f
lemma rounds_zero (m : ℕ) :
rounds m 0 = 0 :: rounds (succ m) (succ m) :=
begin
unfold rounds curry coinduct,
apply stream.corec_eq
end
lem... |
073dfecb26590fccc524f571fc69447cc796468d | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /stage0/src/Lean/Meta/WHNF.lean | 478be6121b56dddfb0a69a7ea0c95a38956e52e2 | [
"Apache-2.0"
] | permissive | collares/lean4 | 861a9269c4592bce49b71059e232ff0bfe4594cc | 52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee | refs/heads/master | 1,691,419,031,324 | 1,618,678,138,000 | 1,618,678,138,000 | 358,989,750 | 0 | 0 | Apache-2.0 | 1,618,696,333,000 | 1,618,696,333,000 | null | UTF-8 | Lean | false | false | 23,318 | 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.ToExpr
import Lean.AuxRecursor
import Lean.ProjFns
import Lean.Meta.Basic
import Lean.Meta.LevelDefEq
import Lean.Meta.GetConst
import Lean.Meta... |
982bfa9707342f859a0e5746ccb5ab3e2f9c8ac4 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/analysis/inner_product_space/l2_space.lean | 1dba544d0c8302feb8dc80c3c7cdf8ebd4cb069b | [
"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 | 25,270 | lean | /-
Copyright (c) 2022 Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth
-/
import analysis.inner_product_space.projection
import analysis.normed_space.lp_space
import analysis.inner_product_space.pi_L2
/-!
# Hilbert sum of a family of inn... |
8a74c0b3973aef6ac63b49f7f6584fe02d86845f | 957a80ea22c5abb4f4670b250d55534d9db99108 | /library/init/data/string/default.lean | fda4acd37e7841b198be9fbba8749b7f76a525fb | [
"Apache-2.0"
] | permissive | GaloisInc/lean | aa1e64d604051e602fcf4610061314b9a37ab8cd | f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0 | refs/heads/master | 1,592,202,909,807 | 1,504,624,387,000 | 1,504,624,387,000 | 75,319,626 | 2 | 1 | Apache-2.0 | 1,539,290,164,000 | 1,480,616,104,000 | C++ | UTF-8 | Lean | false | false | 226 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.data.string.basic init.data.string.lemmas
|
3fc2414e674779c2c02525f1045c600c5709853f | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/analysis/seminorm.lean | 4ef4cfc9d83c389746d426b845889715f11eb4e5 | [
"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 | 8,091 | lean | /-
Copyright (c) 2019 Jean Lo. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jean Lo
-/
import algebra.pointwise
import analysis.normed_space.basic
/-!
# Seminorms and Local Convexity
This file introduces the following notions, defined for a vector space
over a nor... |
bd7e689ecb67d0b825d44eea1c5b63cf8ead214e | 246309748072bf9f8da313401699689ebbecd94d | /src/data/polynomial/degree.lean | c6d7bdd01e7dfe941f6da057b27d382dc75d3fc5 | [
"Apache-2.0"
] | permissive | YJMD/mathlib | b703a641e5f32a996f7842f7c0043bab2b462ee2 | 7310eab9fa8c1b1229dca42682f1fa6bfb7dbbf9 | refs/heads/master | 1,670,714,479,314 | 1,599,035,445,000 | 1,599,035,445,000 | 292,279,930 | 0 | 0 | null | 1,599,050,561,000 | 1,599,050,560,000 | null | UTF-8 | Lean | false | false | 4,386 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker
-/
import data.polynomial.eval
/-!
# Theory of degrees of polynomials
Some of the main results include
- `nat_degree_comp_l... |
303c023902ff0562273764b7efddf8185a3fcad8 | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/category_theory/elements.lean | 15191b96f4736cecf84d9637dd41f8f2172ff334 | [
"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 | 3,615 | 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.equivalence
import category_theory.comma
import category_theory.punit
import category_theory.eq_to_hom
/-!
# The category of elements
This fi... |
20b8759eca6ad9d5d62b737e60bab0834246444c | a6f55abce20abcd06e718cb3e5fba7bf8a230fa1 | /topic/food.lean | 7696474475365d08bb4d2b409853cb0c1d445290 | [] | no_license | sonna0909/abc | b8a53e906d4d000d1f2347173a1cd4221757fabf | ff7b4c621cdf6d53937f2d1b6def28de2085a2aa | refs/heads/master | 1,599,114,664,248 | 1,573,634,309,000 | 1,573,634,309,000 | 219,406,484 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,718 | lean | [
{
"key": "cake",
"title": "Cake",
"spelling": "/keik/",
"subs": [
{
"key": "cake1",
"title": "This cake is delicious",
"spelling": ""
}
]
},
{
"key": "biscuit",
"title": "Biscuit",
"spelling": "/'biskit/",
"subs": [
{
"key": "... |
dd9c3480a15912ba617fe29c59ee9beea6952094 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/group_theory/specific_groups/dihedral.lean | 3ab5aedac3eb7423503a88784b01e9c25fcbedbb | [
"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,841 | lean | /-
Copyright (c) 2020 Shing Tak Lam. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Shing Tak Lam
-/
import data.fintype.card
import data.zmod.basic
import group_theory.exponent
import data.int.parity
/-!
# Dihedral Groups
We define the dihedral groups `dihedral_grou... |
035189f94de51228be5a27f390cda2b3a5fffe24 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/analysis/convex/integral.lean | bcef36ed9e9f8bed9a330d18c4ddf164bfc61bb2 | [
"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 | 21,783 | 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 analysis.convex.function
import analysis.convex.strict_convex_space
import measure_theory.function.ae_eq_of_integral
import measure_theory.integral.ave... |
a66d078cc8de3626a6d79160ae96023561fb8fcf | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/group_ring_action/invariant.lean | 3e10bde74ee2b9356f22fd4039865631c9cf4d93 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 1,069 | 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 ring_theory.subring.pointwise
/-! # Subrings invariant under an action -/
section ring
variables (M R : Type*) [monoid M] [ring R] [mul_semiring_action M R]
variab... |
8ae1316186d124a22568aba8b918bac1e638179e | 22e97a5d648fc451e25a06c668dc03ac7ed7bc25 | /src/data/padics/padic_integers.lean | e526a7730e1f02ab26572bd699a8b0894746f50c | [
"Apache-2.0"
] | permissive | keeferrowan/mathlib | f2818da875dbc7780830d09bd4c526b0764a4e50 | aad2dfc40e8e6a7e258287a7c1580318e865817e | refs/heads/master | 1,661,736,426,952 | 1,590,438,032,000 | 1,590,438,032,000 | 266,892,663 | 0 | 0 | Apache-2.0 | 1,590,445,835,000 | 1,590,445,835,000 | null | UTF-8 | Lean | false | false | 10,664 | 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, Mario Carneiro
-/
import data.int.modeq
import data.padics.padic_numbers
/-!
# p-adic integers
This file defines the p-adic integers ℤ_p as the subtype of ℚ_p with ... |
f22a313fb942638773101b2a5d5f285c29121a9e | 4727251e0cd73359b15b664c3170e5d754078599 | /src/combinatorics/derangements/basic.lean | 81abc44a5891bbad9586043d1a20b9de47bd9e19 | [
"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,322 | lean | /-
Copyright (c) 2021 Henry Swanson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Henry Swanson
-/
import dynamics.fixed_points.basic
import group_theory.perm.option
import logic.equiv.basic
import logic.equiv.option
/-!
# Derangements on types
In this file we defi... |
734d8530529181493d65aab1b4acefd0e1e91699 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/limits/preserves/shapes/pullbacks.lean | b6478e24bab23f1c86b27acc180d87e34e92ff77 | [
"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,982 | lean | /-
Copyright (c) 2020 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Andrew Yang
-/
import category_theory.limits.shapes.pullbacks
import category_theory.limits.preserves.basic
/-!
# Preserving pullbacks
Constructions to relate the notions... |
37a92332f061efcf9be3218ef072b4146ae86381 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/id.lean | c9239c67afcbec1d7e9c8d6181e08e16acc49a6a | [
"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 | 162 | lean | import logic
check id id
set_option pp.universes true
check id id
check id Prop
check id num
check @id.{0}
check @id.{1}
check id num.zero
check @eq
check eq eq
|
c58932cb4476dfd2e1bc7e0a6fd1f22e0ea4f0c1 | 1abd1ed12aa68b375cdef28959f39531c6e95b84 | /src/analysis/convex/function.lean | a185af1e107340a61e6b8edc70fd274c76b314ea | [
"Apache-2.0"
] | permissive | jumpy4/mathlib | d3829e75173012833e9f15ac16e481e17596de0f | af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13 | refs/heads/master | 1,693,508,842,818 | 1,636,203,271,000 | 1,636,203,271,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 37,409 | lean | /-
Copyright (c) 2019 Alexander Bentkamp. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander Bentkamp, François Dupuis
-/
import analysis.convex.basic
import order.order_dual
import tactic.field_simp
import tactic.linarith
import tactic.ring
/-!
# Convex and con... |
c3a3b4ce369b2ad20696e9837029d121bab3126a | e0b0b1648286e442507eb62344760d5cd8d13f2d | /stage0/src/Init/NotationExtra.lean | 773dcba8eb93545401eef8dbcac0f9ee79898061 | [
"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 | 7,689 | 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
Extra notation that depends on Init/Meta
-/
prelude
import Init.Meta
import Init.Data.Array.Subarray
import Init.Data.ToString
namespace Lean
syntax "Macro.t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.