IndisputableMonolith.Patterns.GrayCycle
The GrayCycle module defines one-bit adjacency for binary patterns, where two states differ in exactly one coordinate. It supplies the predicates and structures for Gray covers and cycles that support single-update transitions in ledger models and recursive constructions in higher dimensions. The module is definitional, exporting these notions from the base Patterns import without theorems or proofs.
claimOneBitDiff$(p, q)$ holds when patterns $p$ and $q$ differ in precisely one coordinate. A Gray cycle in dimension $d$ is a cyclic sequence of $2^d$ distinct patterns in which every consecutive pair (including the wrap-around) satisfies OneBitDiff.
background
This module belongs to the Patterns domain, which models discrete state transitions on binary strings. It introduces OneBitDiff as the predicate capturing Hamming distance exactly 1, corresponding to a single atomic coordinate change. GrayCycle and GrayCover are then built as sequences or coverings closed under this adjacency relation, relying on the upstream Patterns module for the underlying pattern space and coordinate structure.
proof idea
This is a definition module, no proofs.
why it matters in Recognition Science
The module supplies the adjacency core imported by LedgerParityAdjacency to link single atomic ledger updates to one-bit parity flips, forming the mathematical center of Workstream B2. It is also used by GrayCycleBRGC and GrayCycleGeneral to construct explicit Gray cycles via BRGC recursion, supporting the eight-tick octave and general-dimension pattern arguments in the forcing chain.
scope and limits
- Does not prove existence or minimality of Gray cycles.
- Does not connect patterns to physical constants or mass ladders.
- Does not contain recursive BRGC constructions or general-D theorems.
- Does not address continuous limits or forcing-chain steps T0-T8.
used by (3)
depends on (1)
declarations in this module (20)
-
def
OneBitDiff -
lemma
OneBitDiff_symm -
structure
GrayCycle -
structure
GrayCover -
theorem
grayCover_min_ticks -
theorem
grayCover_eight_tick_min -
def
pattern3 -
def
gray8At -
def
grayCycle3Path -
theorem
gray8At_injective -
def
toNat3 -
lemma
toNat3_pattern3 -
theorem
pattern3_injective -
theorem
grayCycle3_injective -
theorem
grayCycle3_bijective -
theorem
grayCycle3_surjective -
theorem
grayCycle3_oneBit_step -
def
grayCycle3 -
theorem
grayCycle3_period -
def
grayCover3