The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V01. The language of Mathlib

Mathlib.Logic.Small.Basic

12 declarations. Mathlib docs · Source

instance small_subtype E0 #

∀ (α : Type v) [Small.{w, v} α] (P : α → Prop), Small.{w, v} { x // P x }

theorem small_of_injective E1 #

∀ {α : Type v} {β : Type w} [Small.{u, w} β] {f : α → β}, Function.Injective f → Small.{u, v} α

theorem small_of_surjective E1 #

∀ {α : Type v} {β : Type w} [Small.{u, v} α] {f : α → β}, Function.Surjective f → Small.{u, w} β

instance small_subsingleton E0 #

∀ (α : Type v) [Subsingleton α], Small.{w, v} α

theorem small_of_injective_of_exists E1 #

∀ {α : Type v} {β : Type w} {γ : Type v'} [Small.{u, v} α] (f : α → γ) {g : β → γ},
  Function.Injective g → (∀ (b : β), ∃ a, f a = g b) → Small.{u, w} β

This can be seen as a version of small_of_surjective in which the function f doesn't actually land in β but in some larger type γ related to β via an injective function g.

instance small_Pi E0 #

∀ {α : Type u_2} (β : α → Type u_1) [Small.{w, u_2} α] [∀ (a : α), Small.{w, u_1} (β a)],
  Small.{w, max u_1 u_2} ((a : α) → β a)

instance small_prod E0 #

∀ {α : Type u_1} {β : Type u_2} [Small.{w, u_1} α] [Small.{w, u_2} β], Small.{w, max u_2 u_1} (α × β)

instance small_sum E0 #

∀ {α : Type u_1} {β : Type u_2} [Small.{w, u_1} α] [Small.{w, u_2} β], Small.{w, max u_2 u_1} (α ⊕ β)

instance small_set E0 #

∀ {α : Type u_1} [Small.{w, u_1} α], Small.{w, u_1} (Set α)

instance small_quot E0 #

∀ {α : Type u} [Small.{v, u} α] (r : α → α → Prop), Small.{v, u} (Quot r)

instance small_quotient E0 #

∀ {α : Type u} [Small.{v, u} α] (s : Setoid α), Small.{v, u} (Quotient s)

instance small_orderDual E0 #

∀ {α : Type u_1} [h : Small.{v, u_1} α], Small.{v, u_1} αᵒᵈ