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 / V04. Order and lattices

Mathlib.Order.SetNotation

28 declarations. Mathlib docs · Source

Notation classes for set supremum and infimum

In this file we introduce notation for indexed suprema, infima, unions, and intersections.

Main definitions

  • iSup f, iInf f: supremum and infimum of an indexed family of elements, defined as sSup (Set.range f) and sInf (Set.range f), respectively;
  • Set.sUnion s, Set.sInter s: same as sSup s and sInf s, but works only for sets of sets;
  • Set.iUnion s, Set.iInter s: same as iSup s and iInf s, but works only for indexed families of sets.

Notation

  • ⨆ i, f i, ⨅ i, f i: supremum and infimum of an indexed family, respectively;
  • ⋃₀ s, ⋂₀ s: union and intersection of a set of sets;
  • ⋃ i, s i, ⋂ i, s i: union and intersection of an indexed family of sets.

def iSup E1 #

{α : Type u} → {ι : Sort v} → [SupSet α] → (ι → α) → α

Indexed supremum

def iInf E1 #

{α : Type u} → {ι : Sort v} → [InfSet α] → (ι → α) → α

Indexed infimum

instance infSet_to_nonempty E0 #

∀ (α : Type u_1) [InfSet α], Nonempty α

instance supSet_to_nonempty E0 #

∀ (α : Type u_1) [SupSet α], Nonempty α

def «term⨆_,_» E1 #

Lean.ParserDescr

Indexed supremum.

def «term⨅_,_» E1 #

Lean.ParserDescr

Indexed infimum.

def iSup_delab E1 #

Lean.PrettyPrinter.Delaborator.Delab

Delaborator for indexed supremum.

def iInf_delab E1 #

Lean.PrettyPrinter.Delaborator.Delab

Delaborator for indexed infimum.

instance Set.instInfSet E0 #

{α : Type u} → InfSet (Set α)

instance Set.instSupSet E0 #

{α : Type u} → SupSet (Set α)

def Set.sInter E1 #

{α : Type u} → Set (Set α) → Set α

Intersection of a set of sets.

def Set.«term⋂₀_» E1 #

Lean.ParserDescr

Notation for Set.sInter Intersection of a set of sets.

def Set.sUnion E1 #

{α : Type u} → Set (Set α) → Set α

Union of a set of sets.

def Set.«term⋃₀_» E1 #

Lean.ParserDescr

Notation for Set.sUnion. Union of a set of sets.

theorem Set.mem_sInter E0 #

∀ {α : Type u} {x : α} {S : Set (Set α)}, x ∈ ⋂₀ S ↔ ∀ t ∈ S, x ∈ t

theorem Set.mem_sUnion E0 #

∀ {α : Type u} {x : α} {S : Set (Set α)}, x ∈ ⋃₀ S ↔ ∃ t ∈ S, x ∈ t

def Set.iUnion E1 #

{α : Type u} → {ι : Sort v} → (ι → Set α) → Set α

Indexed union of a family of sets

def Set.iInter E1 #

{α : Type u} → {ι : Sort v} → (ι → Set α) → Set α

Indexed intersection of a family of sets

def Set.«term⋃_,_» E1 #

Lean.ParserDescr

Notation for Set.iUnion. Indexed union of a family of sets

def Set.«term⋂_,_» E1 #

Lean.ParserDescr

Notation for Set.iInter. Indexed intersection of a family of sets

def Set.iUnion_delab E1 #

Lean.PrettyPrinter.Delaborator.Delab

Delaborator for indexed unions.

def Set.sInter_delab E1 #

Lean.PrettyPrinter.Delaborator.Delab

Delaborator for indexed intersections.

theorem Set.mem_iUnion E0 #

∀ {α : Type u} {ι : Sort v} {x : α} {s : ι → Set α}, x ∈ ⋃ i, s i ↔ ∃ i, x ∈ s i

theorem Set.mem_iInter E0 #

∀ {α : Type u} {ι : Sort v} {x : α} {s : ι → Set α}, x ∈ ⋂ i, s i ↔ ∀ (i : ι), x ∈ s i

theorem Set.sSup_eq_sUnion E0 #

∀ {α : Type u} (S : Set (Set α)), sSup S = ⋃₀ S

theorem Set.sInf_eq_sInter E0 #

∀ {α : Type u} (S : Set (Set α)), sInf S = ⋂₀ S

theorem Set.iSup_eq_iUnion E0 #

∀ {α : Type u} {ι : Sort v} (s : ι → Set α), iSup s = Set.iUnion s

theorem Set.iInf_eq_iInter E0 #

∀ {α : Type u} {ι : Sort v} (s : ι → Set α), iInf s = Set.iInter s