Encyclopedia Foundation Foundation Primitive Recognition Calculus Multi Distinction Geometry Multi Disti
ARTICLE 3 claims 3 theorems
Foundation Primitive Recognition Calculus Multi Distinction Geometry Multi Disti
A machine-checked proof shows that the geometry of a square, and of higher-dimensional cubes, follows from the algebra of making independent binary distinctions.
Geometry from distinctions
Geometry is the study of space, and space is often described by coordinates. The declaration multi_distinction_geometry proves a starting point for that description: the geometry of a square, and of higher-dimensional cubes, follows from the algebra of making independent binary distinctions. A binary distinction is a choice between two sides, like on or off, true or false, left or right. A configuration of n independent distinctions is just a list of n such choices. The declaration shows that the difference operator of one channel, which compares the two sides of that distinction while holding all others fixed, commutes with the difference operator of any other channel. Making distinction i then distinction j gives the same result as making j then i.
The second part of the declaration assembles these distinctions into an oriented cell complex, a standard way to build a space from vertices, edges, and faces. For two channels, the four configurations form the vertices of a square. The declaration defines the boundary of the square's face as a chain of its four oriented edges, and the boundary of each edge as its two endpoints. The central theorem is that the boundary of the boundary is zero: the oriented edges around the face cancel at every vertex. This is the algebraic identity ∂² = 0, the fundamental property that makes a cell complex a valid model of a space. The declaration proves this cancellation first for the explicit square, then for every oriented 2-face in any ambient n-channel cube, where the face is spanned by any two selected channels.
In Recognition Science, the framework models reality as a ledger, a discrete record of recognition events, and the cost of recognition is forced. This declaration is a step in that framework's derivation of geometry from the primitive act of making distinctions. The framework's library, a machine-checked collection of formal theorems, proves that the two load-bearing pieces of geometry, the independence of coordinate directions and the closure of boundaries, are consequences of the algebra of several independent distinctions, not extra assumptions added to the theory. The declaration is a theorem, meaning it is proved in the library with no unproven axioms beyond the standard logical ones.
What the declaration does not claim is as important as what it proves. It does not claim that the physical space we inhabit is a cube, or that it has a particular number of dimensions. It establishes a structural fact about the algebra of distinctions, not a claim about the actual geometry of the universe. The number of dimensions in physical space, and the bridge from this algebraic structure to the physical world, remain separate questions. The declaration is a piece of pure mathematics: a proof that a certain algebraic structure has the properties we associate with geometry.
THEOREM diff_comm · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean
/-- **Independent channels commute.** The mixed second difference is symmetric in
the two channels: making distinction `i` then `j` equals making `j` then `i`. The
channels are genuinely independent coordinate directions. -/
theorem diff_comm {n : ℕ} (i j : Fin n) (f : Config n → ℤ) :
diff i (diff j f) = diff j (diff i f) := by
rcases eq_or_ne i j with h | h
· subst h; rfl
· funext v
simp only [diff]
rw [Function.update_comm h true true v, Function.update_comm h true false v,
Function.update_comm h false true v, Function.update_comm h false false v]
ring
THEOREM boundary_squared_zero · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean
/-- **∂² = 0 on the square.** The boundary of the boundary of the face is the zero
0-chain. Closed boundaries are forced by the two-channel cell structure: the
oriented edges around the face cancel at every vertex. -/
theorem boundary_squared_zero (c : ℤ) : d1 (d2 c) = fun _ => 0 := by
funext v
cases v <;> simp [d1, d2]
THEOREM face_boundary_squared_zero_general · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean
/-- **General ambient-n `∂² = 0` for 2-faces.** In any `n`-channel cube, for any
two selected channels and any base configuration, the boundary of the boundary of
the corresponding oriented square is the zero 0-chain. The proof is pure
cancellation of the four vertices. -/
theorem face_boundary_squared_zero_general {n : ℕ} (base : Config n) (i j : Fin n) (c : ℤ) :
faceBoundaryBoundary base i j c = fun _ => 0 := by
funext w
simp [faceBoundaryBoundary]
ring
What this page does not claim
The declaration does not claim that physical space is a cube or has a specific number of dimensions. The declaration does not derive the metric or topological properties of the physical universe. The declaration does not provide a physical interpretation of the algebraic structure it proves.
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/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.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:
- How does the commutation of distinction channels relate to the continuity of physical space?
- What additional structure is needed to derive the metric properties of space from the algebra of distinctions?
- Does the boundary-squared-zero property for 2-faces extend to higher-dimensional faces in the same framework?
- How does this algebraic geometry connect to the framework's derivation of three spatial dimensions?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
THEOREM diff_comm · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean
/-- **Independent channels commute.** The mixed second difference is symmetric in the two channels: making distinction `i` then `j` equals making `j` then `i`. The channels are genuinely independent coordinate directions. -/ theorem diff_comm {n : ℕ} (i j : Fin n) (f : Config n → ℤ) : diff i (diff j f) = diff j (diff i f) := by rcases eq_or_ne i j with h | h · subst h; rfl · funext v simp only [diff] rw [Function.update_comm h true true v, Function.update_comm h true false v, Function.update_comm h false true v, Function.update_comm h false false v] ringThe difference operator of one channel commutes with the difference operator of any other channel. diff_comm · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.leanTHEOREM boundary_squared_zero · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean
/-- **∂² = 0 on the square.** The boundary of the boundary of the face is the zero 0-chain. Closed boundaries are forced by the two-channel cell structure: the oriented edges around the face cancel at every vertex. -/ theorem boundary_squared_zero (c : ℤ) : d1 (d2 c) = fun _ => 0 := by funext v cases v <;> simp [d1, d2]The boundary of the boundary is zero: the oriented edges around the face cancel at every vertex. boundary_squared_zero · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.leanTHEOREM face_boundary_squared_zero_general · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean
/-- **General ambient-n `∂² = 0` for 2-faces.** In any `n`-channel cube, for any two selected channels and any base configuration, the boundary of the boundary of the corresponding oriented square is the zero 0-chain. The proof is pure cancellation of the four vertices. -/ theorem face_boundary_squared_zero_general {n : ℕ} (base : Config n) (i j : Fin n) (c : ℤ) : faceBoundaryBoundary base i j c = fun _ => 0 := by funext w simp [faceBoundaryBoundary] ringThe declaration proves this cancellation first for the explicit square, then for every oriented 2-face in any ambient n-channel cube. face_boundary_squared_zero_general · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/MultiDistinctionGeometry.lean