IndisputableMonolith.LedgerPostingAdjacency
LedgerPostingAdjacency supplies the minimal data carrier for a d-account ledger in the Recognition framework, setting recognition relations aside. It introduces LedgerState together with phiVec, parity, Side, post, and PostingStep to represent atomic updates. Ledger parity and adjacency work depends on these carriers to track single-coordinate changes. The module consists entirely of definitions with no proofs or theorems.
claimThe module declares types and functions for a minimal $d$-account ledger carrier: LedgerState as the state type, phiVec mapping states to vectors on the phi-ladder, parity as the mod-2 pattern, Side as debit or credit, post as the atomic update operation, and PostingStep as the one-step transition.
background
The module operates in the ledger layer of Recognition Science, importing the core Recognition axioms (T1: nothing cannot recognize itself), the J-cost machinery from Cost.Jlog, and the parity-adjacency bridge from LedgerParityAdjacency. It defines AccountRS as the account identifier, phiVec as the coordinate representation on the phi-ladder, and parity as the odd-even signature of the state vector. LedgerState serves as the minimal carrier that records these coordinates without embedding recognition relations.
proof idea
This is a definition module, no proofs.
why it matters in Recognition Science
The module supplies the state representation required by the parity-adjacency bridge in LedgerParityAdjacency, which converts single atomic postings into one-bit parity flips. It thereby supports the forcing-chain steps that link ledger updates to the eight-tick octave and spatial dimension count. No downstream theorems are yet recorded.
scope and limits
- Does not embed recognition relations or J-cost evaluations.
- Does not prove any theorems or lemmas.
- Does not model multi-step or multi-account interactions beyond single postings.
- Does not assign numerical values to phi or other constants.
depends on (3)
declarations in this module (43)
-
def
AccountRS -
instance
accountRS_atomicTick -
abbrev
LedgerState -
abbrev
phiVec -
abbrev
parity -
inductive
Side -
def
post -
lemma
phiVec_post_debit -
lemma
phiVec_post_credit -
lemma
phiVec_coordAtomicStep_of_post -
theorem
parity_oneBitDiff_of_post -
def
PostingStep -
theorem
postingStep_oneBitDiff -
def
ledgerL1Cost -
def
MonotoneLedger -
def
LegalAtomicTick -
def
ledgerJlogCost -
theorem
ledgerJlogCost_nonneg -
lemma
ledgerJlogCost_post -
lemma
intCast_ne_zero_of_ne_zero -
lemma
jlog_lt_jlog_of_one_lt -
theorem
postingStep_of_monotone_and_ledgerJlogCost_le_Jlog1 -
theorem
ledgerL1Cost_eq_zero_iff -
lemma
post_monotone -
lemma
ledgerL1Cost_post -
theorem
legalAtomicTick_of_post -
theorem
postingStep_implies_legalAtomicTick -
lemma
int_natAbs_eq_one_of_nonneg -
lemma
int_eq_of_natAbs_eq_zero -
lemma
exists_unique_of_sum_univ_eq_one -
theorem
legalAtomicTick_implies_PostingStep -
theorem
postingStep_iff_legalAtomicTick -
theorem
minCost_monotoneStep_implies_postingStep -
theorem
minJlogCost_monotoneStep_implies_postingStep -
theorem
legalAtomicTick_oneBitDiff -
def
accountAt -
lemma
postedAt_accountAt -
def
stepAt -
lemma
stepAt_isPostingStep -
theorem
stepAt_oneBitDiff -
abbrev
PostInstr -
def
run -
theorem
run_step_oneBitDiff