Semantic preservation for bounded path witnesses #
This module connects the path-action specifications to the ranked finite-graph
invariants used by the inductive-counting proof. It is kept separate from
ProtocolSemantics.lean so the declarative invariant layer does not depend on the
action-by-action preservation proof.
Starting a witness #
Starting an ordinary witness copies the round transcript, resets fuel to zero, and places the path at the ranked source vertex.
The final all-nonfinal scan starts the same bounded witness at the source vertex.
Extending a witness #
One accepted ordinary path action advances fuel by one and preserves bounded reachability of the path rank.
One accepted final-scan path action has the same ranked reachability effect.
Completing a witness #
Completing an ordinary witness inserts the current inner rank into the selected transcript and advances the canonical inner enumeration.
Completing a final-scan witness additionally records that the inserted reachable rank is nonfinal.