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.Sublocale

48 declarations. Mathlib docs · Source

Sublocale

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.

TODO

Create separate definitions for sInf_mem and HImpClosed (also useful for CompleteSublattice)

References

  • [J. Picada A. Pultr, Frames and Locales][picado2012]
  • https://ncatlab.org/nlab/show/sublocale
  • https://ncatlab.org/nlab/show/nucleus

def Sublocale.ctorIdx E1 #

{X : Type u_2} → {inst : Order.Frame X} → Sublocale X → ℕ

theorem Sublocale.mk.inj E1 #

∀ {X : Type u_2} {inst : Order.Frame X} {carrier : Set X} {sInf_mem' : ∀ s ⊆ carrier, sInf s ∈ carrier}
  {himp_mem' : ∀ (a b : X), b ∈ carrier → a ⇨ b ∈ carrier} {carrier_1 : Set X}
  {sInf_mem'_1 : ∀ s ⊆ carrier_1, sInf s ∈ carrier_1} {himp_mem'_1 : ∀ (a b : X), b ∈ carrier_1 → a ⇨ b ∈ carrier_1},
  { carrier := carrier, sInf_mem' := sInf_mem', himp_mem' := himp_mem' } =
      { carrier := carrier_1, sInf_mem' := sInf_mem'_1, himp_mem' := himp_mem'_1 } →
    carrier = carrier_1

theorem Sublocale.mk.injEq E0 #

∀ {X : Type u_2} [inst : Order.Frame X] (carrier : Set X) (sInf_mem' : ∀ s ⊆ carrier, sInf s ∈ carrier)
  (himp_mem' : ∀ (a b : X), b ∈ carrier → a ⇨ b ∈ carrier) (carrier_1 : Set X)
  (sInf_mem'_1 : ∀ s ⊆ carrier_1, sInf s ∈ carrier_1) (himp_mem'_1 : ∀ (a b : X), b ∈ carrier_1 → a ⇨ b ∈ carrier_1),
  ({ carrier := carrier, sInf_mem' := sInf_mem', himp_mem' := himp_mem' } =
      { carrier := carrier_1, sInf_mem' := sInf_mem'_1, himp_mem' := himp_mem'_1 }) =
    (carrier = carrier_1)

structure Sublocale E1 #

(X : Type u_2) → [Order.Frame X] → Type u_2

A sublocale of a locale X is a set S which is closed under all meets and such that x ⇨ s ∈ S for all x : X and s ∈ S.

Note that locales are the same thing as frames, but with reverse morphisms, which is why we assume Frame X. We only need to define locales categorically. See Locale.

ctor Sublocale.mk E0 #

{X : Type u_2} →
  [inst : Order.Frame X] →
    (carrier : Set X) → (∀ s ⊆ carrier, sInf s ∈ carrier) → (∀ (a b : X), b ∈ carrier → a ⇨ b ∈ carrier) → Sublocale X

abbrev Sublocale.carrier E1 #

{X : Type u_2} → [inst : Order.Frame X] → Sublocale X → Set X

The set corresponding to the sublocale.

theorem Sublocale.sInf_mem' E1 #

∀ {X : Type u_2} [inst : Order.Frame X] (self : Sublocale X), ∀ s ⊆ self.carrier, sInf s ∈ self.carrier

A sublocale is closed under all meets.

Do NOT use directly. Use Sublocale.sInf_mem instead.

theorem Sublocale.himp_mem' E1 #

∀ {X : Type u_2} [inst : Order.Frame X] (self : Sublocale X) (a b : X), b ∈ self.carrier → a ⇨ b ∈ self.carrier

A sublocale is closed under heyting implication.

Do NOT use directly. Use Sublocale.himp_mem instead.

instance Sublocale.instSetLike E0 #

{X : Type u_1} → [inst : Order.Frame X] → SetLike (Sublocale X) X

instance Sublocale.instPartialOrder E0 #

{X : Type u_1} → [inst : Order.Frame X] → PartialOrder (Sublocale X)

theorem Sublocale.mem_carrier E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} {a : X}, a ∈ S.carrier ↔ a ∈ S

theorem Sublocale.mem_mk E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {a : X} (carrier : Set X) (sInf_mem' : ∀ s ⊆ carrier, sInf s ∈ carrier)
  (himp_mem' : ∀ (a b : X), b ∈ carrier → a ⇨ b ∈ carrier),
  a ∈ { carrier := carrier, sInf_mem' := sInf_mem', himp_mem' := himp_mem' } ↔ a ∈ carrier

theorem Sublocale.mk_le_mk E0 #

∀ {X : Type u_1} [inst : Order.Frame X] (carrier₁ carrier₂ : Set X) (sInf_mem'₁ : ∀ s ⊆ carrier₁, sInf s ∈ carrier₁)
  (sInf_mem'₂ : ∀ s ⊆ carrier₂, sInf s ∈ carrier₂) (himp_mem'₁ : ∀ (a b : X), b ∈ carrier₁ → a ⇨ b ∈ carrier₁)
  (himp_mem'₂ : ∀ (a b : X), b ∈ carrier₂ → a ⇨ b ∈ carrier₂),
  { carrier := carrier₁, sInf_mem' := sInf_mem'₁, himp_mem' := himp_mem'₁ } ≤
      { carrier := carrier₂, sInf_mem' := sInf_mem'₂, himp_mem' := himp_mem'₂ } ↔
    carrier₁ ⊆ carrier₂

theorem Sublocale.ext E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {S T : Sublocale X}, (∀ (x : X), x ∈ S ↔ x ∈ T) → S = T

theorem Sublocale.ext_iff E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S T : Sublocale X}, S = T ↔ ∀ (x : X), x ∈ S ↔ x ∈ T

theorem Sublocale.sInf_mem E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} {s : Set X}, s ⊆ ↑S → sInf s ∈ S

theorem Sublocale.iInf_mem E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {ι : Sort u_2} {S : Sublocale X} {f : ι → X},
  (∀ (i : ι), f i ∈ S) → ⨅ i, f i ∈ S

theorem Sublocale.infClosed E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X}, InfClosed ↑S

theorem Sublocale.inf_mem E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} {a b : X}, a ∈ S → b ∈ S → a ⊓ b ∈ S

theorem Sublocale.top_mem E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X}, ⊤ ∈ S

theorem Sublocale.himp_mem E1 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} {a b : X}, b ∈ S → a ⇨ b ∈ S

instance Sublocale.carrier.instSemilatticeInf E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → SemilatticeInf ↥S

instance Sublocale.carrier.instOrderTop E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → OrderTop ↥S

instance Sublocale.carrier.instHImp E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → HImp ↥S

instance Sublocale.carrier.instInfSet E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → InfSet ↥S

theorem Sublocale.coe_inf E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} (a b : ↥S), ↑(a ⊓ b) = ↑a ⊓ ↑b

theorem Sublocale.coe_sInf E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} (s : Set ↥S), ↑(sInf s) = sInf (Subtype.val '' s)

theorem Sublocale.coe_iInf E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {ι : Sort u_2} {S : Sublocale X} (f : ι → ↥S), ↑(⨅ i, f i) = ⨅ i, ↑(f i)

instance Sublocale.carrier.instCompleteLattice E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → CompleteLattice ↥S

theorem Sublocale.coe_himp E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} (a b : ↥S), ↑(a ⇨ b) = ↑a ⇨ ↑b

instance Sublocale.carrier.instHeytingAlgebra E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → HeytingAlgebra ↥S

instance Sublocale.carrier.instFrame E0 #

{X : Type u_1} → [inst : Order.Frame X] → {S : Sublocale X} → Order.Frame ↥S

def Sublocale.restrict E1 #

{X : Type u_1} → [inst : Order.Frame X] → (S : Sublocale X) → FrameHom X ↥S

The restriction from a locale X into the sublocale S.

def Sublocale.giRestrict E1 #

{X : Type u_1} → [inst : Order.Frame X] → (S : Sublocale X) → GaloisInsertion (⇑S.restrict) Subtype.val

The restriction corresponding to a sublocale forms a Galois insertion with the forgetful map from the sublocale to the original locale.

theorem Sublocale.restrict_of_mem E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X} {a : X} (ha : a ∈ S), S.restrict a = ⟨a, ha⟩

def Sublocale.toNucleus E1 #

{X : Type u_1} → [inst : Order.Frame X] → Sublocale X → Nucleus X

The restriction from the locale X into a sublocale is a nucleus.

theorem Sublocale.toNucleus_apply E0 #

∀ {X : Type u_1} [inst : Order.Frame X] (S : Sublocale X) (x : X), S.toNucleus x = ↑(S.restrict x)

theorem Sublocale.range_toNucleus E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S : Sublocale X}, Set.range ⇑S.toNucleus = ↑S

theorem Sublocale.toNucleus_le_toNucleus E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {S T : Sublocale X}, S.toNucleus ≤ T.toNucleus ↔ T ≤ S

def Nucleus.toSublocale E1 #

{X : Type u_1} → [inst : Order.Frame X] → Nucleus X → Sublocale X

The range of a nucleus is a sublocale.

theorem Nucleus.coe_toSublocale E0 #

∀ {X : Type u_1} [inst : Order.Frame X] (n : Nucleus X), ↑n.toSublocale = Set.range ⇑n

theorem Nucleus.mem_toSublocale E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {n : Nucleus X} {x : X}, x ∈ n.toSublocale ↔ ∃ y, n y = x

theorem Nucleus.toSublocale_le_toSublocale E0 #

∀ {X : Type u_1} [inst : Order.Frame X] {m n : Nucleus X}, m.toSublocale ≤ n.toSublocale ↔ n ≤ m

theorem Nucleus.restrict_toSublocale E0 #

∀ {X : Type u_1} [inst : Order.Frame X] (n : Nucleus X) (x : X), n.toSublocale.restrict x = ⟨n x, ⋯⟩

def nucleusIsoSublocale E1 #

{X : Type u_1} → [inst : Order.Frame X] → (Nucleus X)ᵒᵈ ≃o Sublocale X

The nuclei on a frame corresponds exactly to the sublocales on this frame. The sublocales are ordered dually to the nuclei.

theorem nucleusIsoSublocale.symm_eq_toNucleus E1 #

∀ {X : Type u_1} [inst : Order.Frame X], Sublocale.toNucleus = ⇑nucleusIsoSublocale.symm

instance Sublocale.instCompleteLattice E0 #

{X : Type u_1} → [inst : Order.Frame X] → CompleteLattice (Sublocale X)

instance Sublocale.instCoframe E0 #

{X : Type u_1} → [inst : Order.Frame X] → Order.Coframe (Sublocale X)