Integer Potentials on Nondeterministic Runs
Abstract
Backward and forward path induction turn edge inequalities into bounds for every accepted input.
Definition 1.1 (Integer charge of a run).
Formalization. D5/S1/Words/Palindromes/PeriodDoubling/AutomatonPotential.pathCharge (✓ std3).
Source. Repository-derived.
Commentary.
Charge is defined on the existing NFA.Path proof object. The empty run has charge zero, and a cons run adds the first edge charge to the tail charge. The equations retain every carrier and all constructor arguments.
Theorem 1.2 (Total potentials control every accepting run).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/AutomatonPotential.accepted_path_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
Start potentials are nonnegative. Each transition dominates its predecessor potential plus the edge charge. Accepted states have a bounded potential plus terminal offset. Induction on the actual run proves the bound at arbitrary length.
Theorem 1.3 (Partial potentials control every accepting run).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/AutomatonPotential.accepted_path_bound_partial (✓ std3). ∎
Source. Repository-derived.
Commentary.
A present potential at a successor propagates backwards to a present predecessor with the edge inequality. Every accepted state has a present bounded potential. Backwards path induction reaches the source and bounds the entire charge.
References
- Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/AutomatonPotential.accepted_path_bound - Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/AutomatonPotential.accepted_path_bound_partial - Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/AutomatonPotential.pathCharge