MATHLIBANNEX / CANONICAL DECLARATION CARD

Pairwise linked subsets of a closure space

GSS Companion · Research Project · Source-bound exposition export

Card revision 1 · Exposition revision 1 · Version 1

Card identity

lfh:lfh-declaration-card:sha256:52e5d62f7053b8306fdbbac8b721e9ef0475b7afaf156c739fd2ab9294273625

Native Card SHA-256: 47fe06c79c7142605328ba71b49874f284d817485363590d00e8c5b78721dda9
Exposition SHA-256: 74af612d52d19918f4bd3fb2ba6fbbe05c93721eb5e6f642ba929a20a909c88b
Original exposition text SHA-256: c1870d932256720edc702561c08b2909ceb7cbf858487e2194239a90e47b48b5

Source-bound exposition export (Markdown)
Export SHA-256: 3aaefc2b19ef050a380ab16a2f00afaa6f4f5853b09657301dac509099f1cc89

ClosureSpace.IsLinkedSet

def

Defines subsets whose every pair of points is linked in the ambient closure space.

Statement

Let be a closure space and let . The linked-set predicate requires every two points of to be linked with respect to the ambient closure . It includes the empty set and singletons.

Definition

A set is closed when . The ambient linked relation is

Thus the linked-set condition is

Both points are chosen from the same set , while the closure of their pair is taken in the given ambient space . Distinct points must form a nonclosed two-point set. When the two points coincide, the equality alternative already makes them linked.

This is a direct pairwise condition. The separate relation of belonging to the same component is generated by finite chains of linked pairs. A chain may pass through intermediate points; it does not replace the pairwise test in this definition.

Assumptions

The inputs are the closure space and an arbitrary subset . Nonemptiness, two or more elements, closedness and maximality are not required. No finite-character or finite-union property is imposed on the closure.

Conclusion

The definition returns a proposition about all pairs in , with their membership conditions explicitly quantified. It neither chooses a distinguished point nor asserts that is a whole component or a maximal linked subset.

The cited empty-set and singleton lemmas are separate consequences, not extra clauses of the definition. For the empty set there is no to test. For , any two members both equal , so the equality alternative of the linked relation applies. These two arguments explain why the definition admits these cases without a nonemptiness convention.

Main citations

Lean source signature (exact)

Exact declaration. The complete defining right-hand side is shown below.

def IsLinkedSet (c : ClosureSpace α) (S : Set α) : Prop :=
  ∀ x ∈ S, ∀ y ∈ S, c.Linked x y
In the source Mathematical meaning
Exact declaration{α : Type u} in the surrounding scope The arbitrary ambient carrier . The nearby carrier β and universe v are unused by this declaration.
Exact declaration(c : ClosureSpace α) The given ambient closure; the pair is not tested in a newly chosen topology or subspace closure.
Exact declaration(S : Set α) The one subset whose pairs are tested.
Exact declaration∀ x ∈ S, ∀ y ∈ S For every with , and every with ; equal points are included. No nonemptiness or distinctness condition is inserted.
Exact declarationc.Linked x y The equality-or-nonclosed-pair condition in the separate complete Linked definition below.
Exact declaration: Prop := and the whole right-hand side A predicate asserting this condition for all pairs, not a data structure choosing points, a maximal set or a component.
Exact surrounding scope and supporting definitions

The following source excerpts are separate from the declaration above. Their line ranges are not concatenated into a synthetic signature.

Source LinkedSet.lean, lines 23–27:

universe u v

namespace ClosureSpace

variable {α : Type u} {β : Type v}

Source Components.lean, lines 23–32:

universe u v

namespace ClosureSpace

variable {α : Type u} {β : Type v}

/-- Equality or a nonclosed two-point set. -/
def Linked (c : ClosureSpace α) (x y : α) : Prop := x = y ∨ ¬ c.IsClosed {x, y}

theorem linked_refl (c : ClosureSpace α) (x : α) : c.Linked x x := Or.inl rfl

Source LinkedSet.lean, lines 34–41:

theorem isLinkedSet_empty (c : ClosureSpace α) : c.IsLinkedSet ∅ := by
  intro x hx
  exact hx.elim

/-- Reflexivity of `Linked` makes every singleton an R-set. -/
theorem isLinkedSet_singleton (c : ClosureSpace α) (x : α) : c.IsLinkedSet {x} := by
  rintro y rfl z rfl
  exact c.linked_refl _

Source Basic.lean, lines 60–61:

theorem isClosed_iff (c : ClosureSpace α) (s : Set α) :
    c.IsClosed s ↔ c.closure s = s := c.toClosureOperator.isClosed_iff

Source Components.lean, lines 48–52:

/-- The equivalence relation generated by linked pairs. -/
def componentSetoid (c : ClosureSpace α) : Setoid α := Relation.EqvGen.setoid c.Linked

/-- Belonging to the same finite-chain component. -/
abbrev Related (c : ClosureSpace α) (x y : α) : Prop := (c.componentSetoid).r x y

Source Components.lean, lines 67–68:

/-- The equivalence class as an ambient subset. -/
def component (c : ClosureSpace α) (x : α) : Set α := {y | c.Related x y}