3.5. One scan per generated parser
The former generated implementation first decided Decimal.IsValid, then called
Decimal.computeValue. Both operations could scan the same input. The current parser scans
once, checks every constraint against that capture map, and computes the result from those same
captures:
#print Decimal.parse
The generated Decimal.parse_eq_gated theorem proves that this implementation is
extensionally equal to the old, readable gated presentation:
#check @Decimal.parse_eq_gated
#check @Triptych.scannerParseMap_eq_gatedParseOfSpec
Soundness, completeness, exact rejection, typed-view equations, printer roundtrips, and external
parser equivalence are therefore unchanged. They now depend on the implementation only through
Decimal.parse_eq_gated.