IndisputableMonolith.Geometry.PeriodicFreudenthalTorus4D
Defines the typed 4D periodic Freudenthal torus: vertices as 4-tuples of ZMod N, one-step bit translations along each coordinate, and cancellation/injectivity lemmas for those steps. Gravity and seven-gaps authors cite it as the 4D carrier skeleton for period-doubling maps. Content is mostly definitions plus short algebraic lemmas on modular bit flips.
claimThe module introduces the 4D periodic Freudenthal carrier: vertices $V_4(N) = (\mathbb{Z}/N\mathbb{Z})^4$, coordinate bit values in $\{0,1\}$, and one-step translations $\mathrm{addBit}_i$ that add a bit along the $i$-th axis mod $N$. It proves cancellation and injectivity facts for these steps when $1 < N$, including that agreeing one-step images force equal bits.
background
Recognition Science uses discrete toroidal carriers to stage metric refinement and period-doubling between successive lattice levels. The 3D Freudenthal torus already supports the Gap-2 period-doubling track; this module is the matching 4D typed carrier.
Vertices are 4-tuples over $\mathbb{Z}/N\mathbb{Z}$. A bit is a boolean treated as $0$ or $1$ in the ring. The primitive move is adding a bit to one coordinate (mod $N$). Sibling lemmas record how true/false bits compose, that a true step is never the identity when $1 < N$, and that two-step bit paths are nontrivial.
The local cancellation fact (if two one-step bit translations of the same coordinate agree, the bits agree for $1 < N$) is the 4D copy of the corresponding 3D lemma. Together these give a clean skeleton for level-to-level maps without continuum geometry.
proof idea
This is primarily a definition-and-lemmas module, not a single deep theorem. It fixes Vertex4 and the bit/addBit API, then proves a cluster of short facts by modular arithmetic and case splits on booleans: false is a no-op, true is $v \mapsto v+1$ on one axis, true steps are injective and not the identity for $N > 1$, and two successive bit steps cannot be the identity. The cancellation lemma is the 4D analogue of the 3D one-step uniqueness argument: equal images after adding bits on the same coordinate force the bits equal when $1 < N$.
why it matters in Recognition Science
Downstream, Gravity.SevenGaps.Gap2FreudenthalPeriodDoubling4D imports this module as the typed 4D carrier for the Gap-2 period-doubling track. That file is the 4D mirror of the 3D Gap-2 construction and supplies level-to-level maps (including the mod-$N$ vertex projection) that a 4D MetricRefinementFamily needs at the typed skeleton.
In the broader RS geometry stack, the Freudenthal torus is the discrete stage on which octave/period structure and refinement between rungs are made rigorous before continuum limits. The 4D copy keeps the same bit-step algebra while matching the spacetime dimension forced elsewhere in the forcing chain ($D = 3$ spatial plus time, or the 4D carrier used by the gravity gaps). Without these injectivity and cancellation facts, period-doubling maps on vertices would not be well-defined or invertible at the skeleton level.
scope and limits
- Does not construct continuum metrics or Riemannian structure on the 4-torus.
- Does not prove the full Gap-2 period-doubling theorem; only the carrier API.
- Does not force $N$ or identify physical lattice spacing with $\phi$-rungs.
- Does not treat dimensions other than 4; 3D lives in a sibling module.
- Does not define the MetricRefinementFamily; downstream modules consume this skeleton.
used by (1)
declarations in this module (69)
-
def
bit -
def
addBit -
theorem
addBit_false -
theorem
addBit_true_eq_mk -
theorem
addBit_false_after_true -
theorem
addBit_true_after_false -
theorem
addBit_true_ne_self -
theorem
addBit_true_injective -
theorem
addBit_injective -
theorem
addBit4_cancel -
theorem
two_bit_steps_ne_id -
abbrev
Vertex4 -
def
addBits4 -
theorem
addBits4_injective -
theorem
addBits4_cancel_offsets -
def
dispBits4 -
theorem
dispBits4_ne_zero -
theorem
dispBits4_injective -
theorem
displacement_classes_are_fifteen -
def
vertexBits4 -
theorem
vertexBits4_injective -
def
addVertexBits4 -
theorem
addVertexBits4_injective -
structure
PeriodicEdge4 -
theorem
card_vertex4 -
def
periodicEdge4EquivProd -
theorem
card_periodicEdge4 -
def
kuhnVerts -
def
edgeSlotPair -
def
kuhnEdgeBase -
def
kuhnEdgeDisp -
abbrev
PeriodicSimplex4 -
theorem
card_periodicSimplex4 -
theorem
kuhn_simplex_count_per_cube -
theorem
kuhnVerts_zero -
theorem
kuhnVerts_four -
theorem
kuhnVerts_label_injective -
def
localEdgeOf4 -
def
kuhnCornerAt -
theorem
localEdgeOf4_endpoints_match_kuhnVerts -
theorem
kuhn_corners_injective -
def
pairSlot4 -
theorem
pairSlot4_spec -
def
vertexFinEquiv4 -
def
edgeFinEquiv4 -
def
simplexFinEquiv4 -
def
canonicalEdgeVerts4 -
def
canonicalSimplexVerts4 -
def
sameUnorderedPair4 -
structure
Carrier4D -
def
IsSimplicial4D -
def
canonicalCarrier4D -
theorem
canonicalCarrier4D_nV -
theorem
canonicalCarrier4D_nE -
theorem
canonicalCarrier4D_nS -
theorem
canonicalCarrier4D_no_loops -
theorem
endpoints_injective4 -
theorem
reverse_impossible4 -
theorem
canonicalCarrier4D_no_multiedges -
theorem
canonicalCarrier4D_simplex_injective -
theorem
canonicalCarrier4D_skeleton -
theorem
canonicalCarrier4D_isSimplicial -
def
dispWeight4 -
def
periodicDispSqEdge4 -
theorem
dispWeight4_le_four -
theorem
periodicDispSqEdge4_le_four -
def
meshVal4D -
theorem
meshVal4D_pos -
theorem
meshVal4D_attained