structure
definition
LedgerEntry
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.QFT.CPTInvariance on GitHub at line 60.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
-
of -
tick -
Charge -
tick -
Time -
of -
A -
balanced -
cost -
cost -
cost_nonneg -
is -
of -
LedgerEntry -
is -
of -
is -
Position -
Phase -
of -
A -
is -
Cost -
A -
Phase
used by
-
entry_cost_nonneg -
entry_cost_zero_iff_unity -
entryPhase -
Ledger -
LedgerEntry -
LedgerUpdate -
mkEntry -
quantum_ledger_fundamentals -
applyC -
applyCPT -
applyP -
applyPT -
applyT -
c_preserves_cost -
cpt_involutive -
cpt_lifetime_equality -
cpt_mass_equality -
cpt_preserves_balance -
cpt_preserves_cost -
Ledger -
p_preserves_cost -
pt_involutive -
t_preserves_cost
formal source
57/-! ## Ledger Structure and Symmetries -/
58
59/-- A ledger entry representing a recognition event. -/
60structure LedgerEntry where
61 /-- Position in 3D space. -/
62 position : Fin 3 → ℝ
63 /-- Time (tick number). -/
64 tick : Phase
65 /-- Charge/type indicator. -/
66 charge : ℤ
67 /-- Cost of this entry. -/
68 cost : ℝ
69 /-- Cost is non-negative. -/
70 cost_nonneg : cost ≥ 0
71
72/-- A ledger is a collection of balanced entries. -/
73structure Ledger where
74 /-- The entries. -/
75 entries : List LedgerEntry
76 /-- Double-entry balance: charges sum to zero. -/
77 balanced : (entries.map LedgerEntry.charge).sum = 0
78
79/-! ## C Symmetry: Charge Conjugation from J(x) = J(1/x) -/
80
81/-- Apply charge conjugation to a ledger entry. -/
82def applyC (e : LedgerEntry) : LedgerEntry :=
83 { e with charge := -e.charge }
84
85/-- **THEOREM**: Charge conjugation preserves cost.
86 This is the J(x) = J(1/x) symmetry at the ledger level. -/
87theorem c_preserves_cost (e : LedgerEntry) :
88 (applyC e).cost = e.cost := rfl
89
90/-! ## P Symmetry: Parity from Voxel Reflection -/