The areas / V01. The language of Mathlib
Mathlib.Logic.Small.Defs
25 declarations. Mathlib docs · Source
theorem Shrink.congr_simp E1 #
∀ (α α_1 : Type v) (e_α : α = α_1) [inst : Small.{w, v} α], Shrink.{w, v} α = Shrink.{w, v} α_1
class Small E1 #
Type v → Prop
A type is Small.{w} if there exists an equivalence to some S : Type w.
theorem small_iff E0 #
∀ (α : Type v), Small.{w, v} α ↔ ∃ S, Nonempty (α ≃ S)
ctor Small.mk E0 #
∀ {α : Type v}, (∃ S, Nonempty (α ≃ S)) → Small.{w, v} α
theorem Small.equiv_small E1 #
∀ {α : Type v} [self : Small.{w, v} α], ∃ S, Nonempty (α ≃ S)
If a type is Small.{w}, then there exists an equivalence with some S : Type w
theorem Small.mk' E1 #
∀ {α : Type v} {S : Type w} (e : α ≃ S), Small.{w, v} α
Constructor for Small α from an explicit witness type and equivalence.
def Shrink E1 #
(α : Type v) → [Small.{w, v} α] → Type w
An arbitrarily chosen model in Type w for a w-small type.
def equivShrink E1 #
(α : Type v) → [inst : Small.{w, v} α] → α ≃ Shrink.{w, v} α
The noncomputable equivalence between a w-small type and a model.
theorem Shrink.ext_iff E0 #
∀ {α : Type v} [inst : Small.{w, v} α] {x y : Shrink.{w, v} α}, x = y ↔ (equivShrink α).symm x = (equivShrink α).symm y
theorem Shrink.ext E1 #
∀ {α : Type v} [inst : Small.{w, v} α] {x y : Shrink.{w, v} α}, (equivShrink α).symm x = (equivShrink α).symm y → x = y
def Shrink.rec E1 #
{α : Type u_1} →
[inst : Small.{w, u_1} α] →
{F : Shrink.{w, u_1} α → Sort v} → ((X : α) → F ((equivShrink α) X)) → (X : Shrink.{w, u_1} α) → F X
theorem Shrink.rec_equivShrink E0 #
∀ {α : Type u_1} [inst : Small.{w, u_1} α] {F : Shrink.{w, u_1} α → Sort v} {f : (a : α) → F ((equivShrink α) a)}
(a : α), Shrink.rec f ((equivShrink α) a) = f a
instance small_self E0 #
∀ (α : Type v), Small.{v, v} α
theorem small_map E1 #
∀ {α : Type u_1} {β : Type u_2} [hβ : Small.{w, u_2} β] (e : α ≃ β), Small.{w, u_1} α
theorem small_lift E1 #
∀ (α : Type u) [hα : Small.{v, u} α], Small.{max v w, u} α
theorem small_max E1 #
∀ (α : Type v), Small.{max w v, v} α
Due to https://github.com/leanprover/lean4/issues/2297, this is useless as an instance.
See however Logic.UnivLE, whose API is able to indirectly provide this instance.
instance small_zero E0 #
∀ (α : Type), Small.{w, 0} α
instance small_succ E0 #
∀ (α : Type v), Small.{v + 1, v} α
instance small_ulift E0 #
∀ (α : Type u) [Small.{v, u} α], Small.{v, max w u} (ULift.{w, u} α)
instance small_plift E0 #
∀ (α : Type u) [Small.{v, u} α], Small.{v, u + 1} (PLift α)
theorem small_type E1 #
Small.{max (u + 1) v, u + 1} (Type u)
instance instNontrivialShrink E0 #
∀ {α : Type u} [inst : Small.{v, u} α] [Nontrivial α], Nontrivial (Shrink.{v, u} α)
theorem small_congr E1 #
∀ {α : Type u_1} {β : Type u_2} (e : α ≃ β), Small.{w, u_1} α ↔ Small.{w, u_2} β
instance small_sigma 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)
theorem not_small_type E1 #
¬Small.{u, max (u + 1) (v + 1)} (Type (max u v))