The areas / V04. Order and lattices
Mathlib.Order.Nucleus
61 declarations. Mathlib docs · Source
Nucleus
Locales are the dual concept to frames. Locale theory is a branch of point-free topology, where intuitively locales are like topological spaces which may or may not have enough points. Sublocales of a locale generalize the concept of subspaces in topology to the point-free setting.
A nucleus is an endomorphism of a frame which corresponds to a sublocale.
References
https://ncatlab.org/nlab/show/sublocale https://ncatlab.org/nlab/show/nucleus
def Nucleus.ctorIdx E1 #
{X : Type u_2} → {inst : SemilatticeInf X} → Nucleus X → ℕ
theorem Nucleus.mk.injEq E0 #
∀ {X : Type u_2} [inst : SemilatticeInf X] (toInfHom : InfHom X X)
(idempotent' : ∀ (x : X), toInfHom.toFun (toInfHom.toFun x) ≤ toInfHom.toFun x)
(le_apply' : ∀ (x : X), x ≤ toInfHom.toFun x) (toInfHom_1 : InfHom X X)
(idempotent'_1 : ∀ (x : X), toInfHom_1.toFun (toInfHom_1.toFun x) ≤ toInfHom_1.toFun x)
(le_apply'_1 : ∀ (x : X), x ≤ toInfHom_1.toFun x),
({ toInfHom := toInfHom, idempotent' := idempotent', le_apply' := le_apply' } =
{ toInfHom := toInfHom_1, idempotent' := idempotent'_1, le_apply' := le_apply'_1 }) =
(toInfHom = toInfHom_1)
theorem Nucleus.mk.inj E1 #
∀ {X : Type u_2} {inst : SemilatticeInf X} {toInfHom : InfHom X X}
{idempotent' : ∀ (x : X), toInfHom.toFun (toInfHom.toFun x) ≤ toInfHom.toFun x}
{le_apply' : ∀ (x : X), x ≤ toInfHom.toFun x} {toInfHom_1 : InfHom X X}
{idempotent'_1 : ∀ (x : X), toInfHom_1.toFun (toInfHom_1.toFun x) ≤ toInfHom_1.toFun x}
{le_apply'_1 : ∀ (x : X), x ≤ toInfHom_1.toFun x},
{ toInfHom := toInfHom, idempotent' := idempotent', le_apply' := le_apply' } =
{ toInfHom := toInfHom_1, idempotent' := idempotent'_1, le_apply' := le_apply'_1 } →
toInfHom = toInfHom_1
structure Nucleus E1 #
(X : Type u_2) → [SemilatticeInf X] → Type u_2
A nucleus is an inflationary idempotent inf-preserving endomorphism of a semilattice.
In a frame, nuclei correspond to sublocales. See nucleusIsoSublocale.
ctor Nucleus.mk E0 #
{X : Type u_2} →
[inst : SemilatticeInf X] →
(toInfHom : InfHom X X) →
(∀ (x : X), toInfHom.toFun (toInfHom.toFun x) ≤ toInfHom.toFun x) → (∀ (x : X), x ≤ toInfHom.toFun x) → Nucleus X
abbrev Nucleus.toInfHom E1 #
{X : Type u_2} → [inst : SemilatticeInf X] → Nucleus X → InfHom X X
theorem Nucleus.idempotent' E1 #
∀ {X : Type u_2} [inst : SemilatticeInf X] (self : Nucleus X) (x : X), self.toFun (self.toFun x) ≤ self.toFun x
A nucleus is idempotent.
Do not use this directly. Instead use NucleusClass.idempotent.
theorem Nucleus.le_apply' E1 #
∀ {X : Type u_2} [inst : SemilatticeInf X] (self : Nucleus X) (x : X), x ≤ self.toFun x
A nucleus is increasing.
Do not use this directly. Instead use NucleusClass.le_apply.
class NucleusClass E1 #
(F : Type u_2) → (X : Type u_3) → [SemilatticeInf X] → [FunLike F X X] → Prop
NucleusClass F X states that F is a type of nuclei.
instance NucleusClass.toInfHomClass E0 #
∀ {F : Type u_2} {X : Type u_3} {inst : SemilatticeInf X} {inst_1 : FunLike F X X} [self : NucleusClass F X],
InfHomClass F X X
ctor NucleusClass.mk E0 #
∀ {F : Type u_2} {X : Type u_3} [inst : SemilatticeInf X] [inst_1 : FunLike F X X] [toInfHomClass : InfHomClass F X X],
(∀ (x : X) (f : F), f (f x) ≤ f x) → (∀ (x : X) (f : F), x ≤ f x) → NucleusClass F X
theorem NucleusClass.idempotent E1 #
∀ {F : Type u_2} {X : Type u_3} {inst : SemilatticeInf X} {inst_1 : FunLike F X X} [self : NucleusClass F X] (x : X)
(f : F), f (f x) ≤ f x
A nucleus is idempotent.
theorem NucleusClass.le_apply E0 #
∀ {F : Type u_2} {X : Type u_3} {inst : SemilatticeInf X} {inst_1 : FunLike F X X} [self : NucleusClass F X] (x : X)
(f : F), x ≤ f x
A nucleus is inflationary.
instance Nucleus.instFunLike E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → FunLike (Nucleus X) X X
def Nucleus.Simps.apply E1 #
{X : Type u_1} → [inst : SemilatticeInf X] → Nucleus X → X → X
See Note [custom simps projection]
theorem Nucleus.toFun_eq_coe E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (n : Nucleus X), n.toFun = ⇑n
theorem Nucleus.coe_toInfHom E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (n : Nucleus X), ⇑n.toInfHom = ⇑n
theorem Nucleus.coe_mk E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (f : InfHom X X) (h1 : ∀ (x : X), f.toFun (f.toFun x) ≤ f.toFun x)
(h2 : ∀ (x : X), x ≤ f.toFun x), ⇑{ toInfHom := f, idempotent' := h1, le_apply' := h2 } = ⇑f
instance Nucleus.instNucleusClass E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X], NucleusClass (Nucleus X) X
def Nucleus.toClosureOperator E1 #
{X : Type u_1} → [inst : SemilatticeInf X] → Nucleus X → ClosureOperator X
Every nucleus is a ClosureOperator.
theorem Nucleus.idempotent E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {n : Nucleus X} (x : X), n (n x) = n x
theorem Nucleus.le_apply E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {n : Nucleus X} {x : X}, x ≤ n x
theorem Nucleus.monotone E1 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {n : Nucleus X}, Monotone ⇑n
theorem Nucleus.map_inf E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {n : Nucleus X} {x y : X}, n (x ⊓ y) = n x ⊓ n y
theorem Nucleus.ext_iff E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {m n : Nucleus X}, m = n ↔ ∀ (a : X), m a = n a
theorem Nucleus.ext E1 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {m n : Nucleus X}, (∀ (a : X), m a = n a) → m = n
instance Nucleus.instPartialOrder E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → PartialOrder (Nucleus X)
theorem Nucleus.coe_le_coe E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {n m : Nucleus X}, ⇑m ≤ ⇑n ↔ m ≤ n
theorem Nucleus.coe_lt_coe E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] {n m : Nucleus X}, ⇑m < ⇑n ↔ m < n
theorem Nucleus.mk_le_mk E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (toInfHom₁ toInfHom₂ : InfHom X X)
(le_apply₁ : ∀ (x : X), toInfHom₁.toFun (toInfHom₁.toFun x) ≤ toInfHom₁.toFun x)
(le_apply₂ : ∀ (x : X), toInfHom₂.toFun (toInfHom₂.toFun x) ≤ toInfHom₂.toFun x)
(idempotent₁ : ∀ (x : X), x ≤ toInfHom₁.toFun x) (idempotent₂ : ∀ (x : X), x ≤ toInfHom₂.toFun x),
{ toInfHom := toInfHom₁, idempotent' := le_apply₁, le_apply' := idempotent₁ } ≤
{ toInfHom := toInfHom₂, idempotent' := le_apply₂, le_apply' := idempotent₂ } ↔
toInfHom₁ ≤ toInfHom₂
instance Nucleus.instMin E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → Min (Nucleus X)
theorem Nucleus.coe_inf E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (m n : Nucleus X), ⇑(m ⊓ n) = ⇑m ⊓ ⇑n
theorem Nucleus.inf_apply E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (m n : Nucleus X) (x : X), (m ⊓ n) x = m x ⊓ n x
instance Nucleus.instSemilatticeInf E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → SemilatticeInf (Nucleus X)
instance Nucleus.instBot E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → OrderBot (Nucleus X)
The smallest nucleus is the identity.
theorem Nucleus.coe_bot E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X], ⇑⊥ = id
theorem Nucleus.bot_apply E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] (x : X), ⊥ x = x
instance Nucleus.instTopHomClass E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] [inst_1 : OrderTop X], TopHomClass (Nucleus X) X X
A nucleus preserves ⊤.
instance Nucleus.instTop E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → [OrderTop X] → Top (Nucleus X)
The largest nucleus sends everything to ⊤.
theorem Nucleus.coe_top E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] [inst_1 : OrderTop X], ⇑⊤ = ⊤
theorem Nucleus.top_apply E0 #
∀ {X : Type u_1} [inst : SemilatticeInf X] [inst_1 : OrderTop X] (x : X), ⊤ x = ⊤
instance Nucleus.instBoundedOrder E0 #
{X : Type u_1} → [inst : SemilatticeInf X] → [OrderTop X] → BoundedOrder (Nucleus X)
instance Nucleus.instInfSet E0 #
{X : Type u_1} → [inst : CompleteLattice X] → InfSet (Nucleus X)
theorem Nucleus.sInf_apply E0 #
∀ {X : Type u_1} [inst : CompleteLattice X] (s : Set (Nucleus X)) (x : X), (sInf s) x = ⨅ j ∈ s, j x
theorem Nucleus.iInf_apply E0 #
∀ {X : Type u_1} [inst : CompleteLattice X] {ι : Type u_2} (f : ι → Nucleus X) (x : X), (iInf f) x = ⨅ j, (f j) x
instance Nucleus.instCompleteSemilatticeInf E0 #
{X : Type u_1} → [inst : CompleteLattice X] → CompleteSemilatticeInf (Nucleus X)
instance Nucleus.instCompleteLattice E0 #
{X : Type u_1} → [inst : CompleteLattice X] → CompleteLattice (Nucleus X)
theorem Nucleus.map_himp_le E0 #
∀ {X : Type u_1} [inst : Order.Frame X] {n : Nucleus X} {x y : X}, n (x ⇨ y) ≤ x ⇨ n y
theorem Nucleus.map_himp_apply E0 #
∀ {X : Type u_1} [inst : Order.Frame X] (n : Nucleus X) (x y : X), n (x ⇨ n y) = x ⇨ n y
instance Nucleus.instHImp E0 #
{X : Type u_1} → [inst : Order.Frame X] → HImp (Nucleus X)
theorem Nucleus.himp_apply E0 #
∀ {X : Type u_1} [inst : Order.Frame X] (m n : Nucleus X) (x : X), (m ⇨ n) x = ⨅ y, ⨅ (_ : y ≥ x), m y ⇨ n y
instance Nucleus.instHeytingAlgebra E0 #
{X : Type u_1} → [inst : Order.Frame X] → HeytingAlgebra (Nucleus X)
instance Nucleus.instFrame E0 #
{X : Type u_1} → [inst : Order.Frame X] → Order.Frame (Nucleus X)
theorem Nucleus.mem_range E0 #
∀ {X : Type u_1} [inst : Order.Frame X] {n : Nucleus X} {x : X}, x ∈ Set.range ⇑n ↔ n x = x
instance Nucleus.instCompleteLatticeElemRangeCoe E0 #
{X : Type u_1} → [inst : Order.Frame X] → {n : Nucleus X} → CompleteLattice ↑(Set.range ⇑n)
instance Nucleus.instFrameElemRangeCoe E0 #
{X : Type u_1} → [inst : Order.Frame X] → {n : Nucleus X} → Order.Frame ↑(Set.range ⇑n)
def Nucleus.restrict E1 #
{X : Type u_1} → [inst : Order.Frame X] → (n : Nucleus X) → FrameHom X ↑(Set.range ⇑n)
Restrict a nucleus to its range.
theorem Nucleus.restrict_toFun E0 #
∀ {X : Type u_1} [inst : Order.Frame X] (n : Nucleus X) (a : X), n.restrict a = Set.rangeFactorization (⇑n) a
def Nucleus.giRestrict E1 #
{X : Type u_1} → [inst : Order.Frame X] → (n : Nucleus X) → GaloisInsertion (⇑n.restrict) Subtype.val
The restriction of a nucleus to its range forms a Galois insertion with the forgetful map from the range to the original frame.
theorem Nucleus.comp_eq_right_iff_le E1 #
∀ {X : Type u_1} [inst : Order.Frame X] {n m : Nucleus X}, ⇑n ∘ ⇑m = ⇑m ↔ n ≤ m
theorem Nucleus.range_subset_range E0 #
∀ {X : Type u_1} [inst : Order.Frame X] {n m : Nucleus X}, Set.range ⇑m ⊆ Set.range ⇑n ↔ n ≤ m