/-
Copyright (c) 2022 Yaël Dillies, Sara Rousta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
module
public import Mathlib.Order.Hom.CompleteLattice
public import Mathlib.Order.UpperLower.Principal
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# `UpperSet.Ici` etc. as `Sup`/`sSup`/`Inf`/`sInf`-homomorphisms
In this file we define `UpperSet.iciSupHom` etc. These functions are `UpperSet.Ici` and
`LowerSet.Iic` bundled as `SupHom`s, `InfHom`s, `sSupHom`s, or `sInfHom`s.
-/
@[expose] public section
variable {α : Type*}
namespace UpperSet
section SemilatticeSup
variable [SemilatticeSup α]
/-- `UpperSet.Ici` as a `SupHom`. -/
def iciSupHom : SupHom α (UpperSet α) :=
⟨Ici, Ici_sup⟩
@[simp]
theorem coe_iciSupHom : (iciSupHom : α → UpperSet α) = Ici :=
rfl
@[simp]
theorem iciSupHom_apply (a : α) : iciSupHom a = Ici a :=
rfl
end SemilatticeSup
variable [CompleteLattice α]
/-- `UpperSet.Ici` as a `sSupHom`. -/
def icisSupHom : sSupHom α (UpperSet α) :=
⟨Ici, fun s => (Ici_sSup s).trans sSup_image.symm⟩
@[simp]
theorem coe_icisSupHom : (icisSupHom : α → UpperSet α) = Ici :=
rfl
@[simp]
theorem icisSupHom_apply (a : α) : icisSupHom a = Ici a :=
rfl
end UpperSet
namespace LowerSet
section SemilatticeInf
variable [SemilatticeInf α]
/-- `LowerSet.Iic` as an `InfHom`. -/
def iicInfHom : InfHom α (LowerSet α) :=
⟨Iic, Iic_inf⟩
@[simp]
theorem coe_iicInfHom : (iicInfHom : α → LowerSet α) = Iic :=
rfl
@[simp]
theorem iicInfHom_apply (a : α) : iicInfHom a = Iic a :=
rfl
end SemilatticeInf
variable [CompleteLattice α]
/-- `LowerSet.Iic` as an `sInfHom`. -/
def iicsInfHom : sInfHom α (LowerSet α) :=
⟨Iic, fun s => (Iic_sInf s).trans sInf_image.symm⟩
@[simp]
theorem coe_iicsInfHom : (iicsInfHom : α → LowerSet α) = Iic :=
rfl
@[simp]
theorem iicsInfHom_apply (a : α) : iicsInfHom a = Iic a :=
rfl
end LowerSet
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland