Encyclopedia Cosmology Cosmology Foam Topology Euler Char2 D Filled Box

ARTICLE 4 claims 4 theorems

Cosmology Foam Topology Euler Char2 D Filled Box

A solid rectangle, however large, is topologically a point: its Euler characteristic is always 1, a fact the framework proves without fitting any scale.

The filled box

The Euler characteristic is a number that describes a shape's overall structure, counting how many pieces it has, how many holes, and how many enclosed voids. For a grid of cells, it is computed as an alternating sum: the number of vertices, minus the number of edges, plus the number of squares, and so on through higher dimensions. The framework's theorem eulerChar2D_filledBox proves that for any filled rectangle of lattice points, this sum always equals 1, no matter how large the rectangle is. The identity is (a+1)(b+1) − [a(b+1) + (a+1)b] + ab = 1, where the first term counts vertices, the second counts edges, and the third counts unit squares.

This size-independence is the signature of a topological invariant. A solid rectangle, however large, can be continuously deformed into a single point, and the Euler characteristic records that fact. The theorem is a formal result in the framework's machine-checked library of formal theorems, proved with no unverified assumptions. It is the two-dimensional case of a general principle: a filled box in any dimension has Euler characteristic 1. The same library proves the one-dimensional segment and the three-dimensional cube cases.

In Recognition Science, this normalization is the reference point for reading cosmic-web topology. The framework models the large-scale structure of the universe as a foam of separate domains, and its numeric readout computes the Euler characteristic of the assembled structure. A value of 1 means the region is a single solid blob with no holes or voids. A value of 0 signals a tunnel, like the hole in a donut. A value of 2 signals an enclosed void, like the inside of a hollow ball. These three primitive topologies are pinned by the filled-box theorem and its companion hole and void detectors, so any deviation from 1 in the readout measures genuine topology, never mere size.

The theorem also underpins a result about how the foam evolves. The framework proves that a closed relaxation process, which drives any coupled world toward consensus, erases all topology: a sponge fed to this dynamics decays to the vacuum, with Euler characteristic 0. Sustained cosmic-web structure requires an open driven law instead. The filled-box normalization is what makes the readout meaningful: it is the baseline against which holes and voids are measured.

THEOREM eulerChar2D_filledBox · IndisputableMonolith/Cosmology/FoamTopology.lean
/-- **THEOREM (2-D normalization).** A filled rectangle of `(a+1)×(b+1)` lattice points
has Euler characteristic `N₀ − N₁ + N₂ = 1`, INDEPENDENT of `a, b`. Here
`N₀ = (a+1)(b+1)` vertices, `N₁ = a(b+1) + (a+1)b` unit edges (horizontal then vertical),
and `N₂ = a·b` unit squares. A solid rectangle, however large, is topologically a
point. -/
theorem eulerChar2D_filledBox (a b : ℤ) :
    (a + 1) * (b + 1) - (a * (b + 1) + (a + 1) * b) + a * b = 1 := by ring
THEOREM eulerChar2D_filledBox · IndisputableMonolith/Cosmology/FoamTopology.lean
/-- **THEOREM (2-D normalization).** A filled rectangle of `(a+1)×(b+1)` lattice points
has Euler characteristic `N₀ − N₁ + N₂ = 1`, INDEPENDENT of `a, b`. Here
`N₀ = (a+1)(b+1)` vertices, `N₁ = a(b+1) + (a+1)b` unit edges (horizontal then vertical),
and `N₂ = a·b` unit squares. A solid rectangle, however large, is topologically a
point. -/
theorem eulerChar2D_filledBox (a b : ℤ) :
    (a + 1) * (b + 1) - (a * (b + 1) + (a + 1) * b) + a * b = 1 := by ring
THEOREM eulerChar1D_filledBox · eulerChar3D_filledBox · IndisputableMonolith/Cosmology/FoamTopology.lean
/-- **THEOREM (1-D normalization).** A filled segment of `a + 1` lattice points (so `a`
unit edges) has Euler characteristic `N₀ − N₁ = (a+1) − a = 1`: one contractible
component, independent of length. -/
theorem eulerChar1D_filledBox (a : ℤ) : (a + 1) - a = 1 := by ring
/-- **THEOREM (3-D normalization).** A filled box of `(a+1)×(b+1)×(c+1)` lattice points
has Euler characteristic `N₀ − N₁ + N₂ − N₃ = 1`, INDEPENDENT of `a, b, c`. The cell
counts are `N₀ = (a+1)(b+1)(c+1)`; `N₁ = a(b+1)(c+1) + (a+1)b(c+1) + (a+1)(b+1)c` (edges
along the three axes); `N₂ = ab(c+1) + a(b+1)c + (a+1)bc` (squares in the three coordinate
planes); `N₃ = abc` (unit cubes). A solid box, however large, is topologically a point,
so in the numeric readout any deviation of `χ` from `1` measures genuine topology, never
size. -/
theorem eulerChar3D_filledBox (a b c : ℤ) :
    (a + 1) * (b + 1) * (c + 1)
      - (a * (b + 1) * (c + 1) + (a + 1) * b * (c + 1) + (a + 1) * (b + 1) * c)
      + (a * b * (c + 1) + a * (b + 1) * c + (a + 1) * b * c)
      - a * b * c = 1 := by ring
THEOREM eulerChar_excursion_empty · IndisputableMonolith/Cosmology/FoamTopology.lean
eulerChar_excursion_empty · IndisputableMonolith/Cosmology/FoamTopology.lean:204
/-- **THEOREM (vacuum endpoint).** If no cell of `K` is over-dense (`¬ p c` for every `c ∈ K`, the
`σ = 0` consensus `f ≡ 0` under `p c := 0 < f c`), the positive excursion set `K.filter p` is empty
and its Euler characteristic is `0`. The closed forced relaxation erases the structure to the
vacuum. -/
theorem eulerChar_excursion_empty {α : Type*} (dim : α → ℕ) (p : α → Prop) [DecidablePred p]
    (K : Finset α) (h : ∀ c ∈ K, ¬ p c) :
    eulerChar dim (K.filter p) = 0 := by
  rw [Finset.filter_false_of_mem h, eulerChar_empty]

What this page does not claim

The theorem does not claim anything about the physical shape of the universe. The theorem does not claim that the Euler characteristic is the only topological invariant that matters. The theorem does not claim that the closed relaxation process is how the actual universe evolves.

Verify this page

Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:

$ lake env lean IndisputableMonolith/Cosmology/FoamTopology.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)

A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.

Derived articles

This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:

MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND