\begin{definition}
A \emph{decimal lexeme} records an optional lexical sign (true means minus and
false means plus); a list of digits before
the decimal point; an optional list of digits after a present decimal point;
and an optional exponent.  An exponent records whether its marker is uppercase,
an optional sign (true means minus and false means plus), and its digit list.
The lists contain digit values rather than ASCII codes.  This representation
deliberately permits invalid records; validity is imposed by the concrete goal
vocabulary.
\end{definition}
\begin{preservation}
\begin{claim}
Decimal lexemes retain every syntactic distinction in the GOAL numeric grammar:
the leading sign, digits on either side of an optional point, marker case, an
optional exponent sign, and all exponent digits.
\end{claim}
\begin{proof}
The four fields are a direct product decomposition of those grammar choices.
Using an option for the fraction distinguishes an absent point from a present
point with no following digits, and the nested exponent options independently
distinguish absence, marker case, and absence or polarity of its sign.  No
source computation is changed by this mathematical record.
\end{proof}
\begin{goalproof}{parser_totality}The record only specifies inputs and does not alter execution or normal-return observations.\end{goalproof}
\begin{goalproof}{parser_numeric_acceptance}Every numeric grammar witness, including its lexical sign, is represented.\end{goalproof}
\begin{goalproof}{parser_invalid_rejection}All grammar choices are exposed, so being outside the grammar is not weakened.\end{goalproof}
\begin{goalproof}{parser_nan_acceptance}NaN is handled separately and this numeric record adds no NaN case.\end{goalproof}
\begin{goalproof}{parser_infinity}Infinity is handled separately and this numeric record adds no infinity case.\end{goalproof}
\begin{goalproof}{parser_non_nan_results}Numeric and special syntax remain disjoint in the vocabulary.\end{goalproof}
\begin{goalproof}{parser_numeric_sign}The leading lexical sign is an explicit field, including for zero and infinity results.\end{goalproof}
\begin{goalproof}{parser_signed_zero}The leading lexical sign and all zero digits are retained.\end{goalproof}
\begin{goalproof}{parser_exact_rounding}All significand and exponent digits needed for the exact decimal value are retained.\end{goalproof}
\begin{goalproof}{parser_selected_exponent}The record does not constrain the dispatcher's raw-pair trace.\end{goalproof}
\begin{goalproof}{parser_selected_magnitude_sign}The record retains the lexical sign separately from the selected magnitude.\end{goalproof}
\begin{goalproof}{dispatch_abstract_composition}The lexical contract can carry the complete parsed content through every tier.\end{goalproof}
\begin{goalproof}{dispatch_component_compliance}Actual component inputs have a lossless grammar witness.\end{goalproof}
\begin{goalproof}{parser_accumulated_rounding}All exponent digits needed by bounded accumulation are retained.\end{goalproof}
\begin{goalproof}{parser_equal_target_rounding}Both exact and accumulated values are computed from the same lossless witness.\end{goalproof}
\begin{goalproof}{number_helper_acceptance}Unsigned witnesses are exactly those whose optional leading-sign field is absent.\end{goalproof}
\begin{goalproof}{number_helper_rejection}The full unsigned numeric grammar remains available to state rejection.\end{goalproof}
\begin{goalproof}{number_helper_record_bounds}Parsed content is kept distinct from the bounded source record.\end{goalproof}
\begin{goalproof}{number_helper_accumulated_value}Every significand and exponent digit needed for the diagnostic value is retained.\end{goalproof}
\begin{goalproof}{special_helper_infinity}Special keywords are modeled separately, so this record is noninterfering.\end{goalproof}
\begin{goalproof}{special_helper_nan}Special keywords are modeled separately, so this record is noninterfering.\end{goalproof}
\begin{goalproof}{special_helper_rejection}This record does not add a special-keyword spelling.\end{goalproof}
\begin{goalproof}{native_correct_or_defer}Native-path records are related to exact powers of ten without losing syntax.\end{goalproof}
\begin{goalproof}{integer_correct_or_defer}The integer helper's numeric arguments are independent of this syntax carrier.\end{goalproof}
\begin{goalproof}{slow_accumulated_rounding}The full significand remains available to the slow-path statement.\end{goalproof}
\begin{goalproof}{assembly_correspondence}Raw-pair assembly is independent of this syntax carrier.\end{goalproof}
\begin{goalproof}{classification_totality}Every finite byte list can be compared with a fully represented numeric witness.\end{goalproof}
\begin{goalproof}{classification_determinism}Parsed numeric content means equality of these complete records.\end{goalproof}
\begin{goalproof}{classification_significand_digit}Both digit lists are explicit, so the required significand digit can be stated without approximation.\end{goalproof}
\begin{goalproof}{rounding_totality}Pure rounding is independent of lexical representation.\end{goalproof}
\begin{goalproof}{rounding_determinism}Pure rounding is independent of lexical representation.\end{goalproof}
\begin{goalproof}{exponent_value_agreement}The same exponent digit list supplies both exponent interpretations.\end{goalproof}
\end{preservation}
