\begin{lemma}[Normal significand scans and exact source counts through A]
Let $s$ have length at most $A=3458764513820540928$, and let $I,F,T$
be byte lists and $p$ a Boolean. Suppose
$s.\mathit{val}=I++([46]++F++T)$ when $p$ is true and $s.\mathit{val}=I++T$
otherwise. Require $F=[]$ when $p$ is false, digit ranges $[48,57]$
for $I,F$, a nondigit head for $T$ if nonempty, and additionally a
head different from 46 for $T$ when $p$ is false.
There exist slices $s_1,s_2$, U64 words $m_0,m$, Isize counts $i,f,D$,
and an I64 base exponent $e$ satisfying all of the following:
the actual first digit scan from $(s,0)$ returns normally $(s_1,m_0)$;
$s_1$ contains $[46]++F++T$ if $p$, and $T$ otherwise;
the actual offset of $s_1$ from $s$ returns $i$ with $i.\mathit{val}=|I|$;
and the source's split-first/optional-fraction block, starting at
$(s_1,m_0)$, returns normally $(s_2,m,f,e)$.
Here that block leaves the slice and word unchanged with zero count
and exponent unless split-first finds 46; on 46 it scans the remainder,
measures its fractional offset, negates it, and checked-casts it to I64,
exactly as in the Lean statement.
Finally $s_2.\mathit{val}=T$, $f.\mathit{val}=|F|$,
$e.\mathit{val}=-|F|$, and the checked Isize sum $i+f$ returns normally
$D$ with $D.\mathit{val}=|I|+|F|$. No nonemptiness, numerical mantissa
bound, normal partial-parser result, or UTF-8 premise is required.
\end{lemma}
\begin{proof}
The tail following $I$ is nondigit-headed: it starts with 46 when $p$
and otherwise is $T$. Apply \noderef{NumberHelperDigitScanSourceLength}
to $s$, initial word zero and this decomposition. Its source-length
bound holds because $A<2^{63}-1$. It gives the first normal scan and
the exact contents of $s_1$, without assuming the scan word is an
ordinary nonwrapping fold. Its residual length is at most $|s|$.
Apply \noderef{P364_T1_NumberHelperOffsetSourceLength} to $s,s_1$.
Subtracting the lengths in the displayed decomposition gives $i=|I|$.

If $p$ is false, \noderef{ModelSliceSplitFirst} either returns None
on empty $T$ or exposes its head. The head is not 46 by hypothesis,
so in both cases the source block returns $(s_1,m_0,0,0)$ normally.
Set $s_2=s_1$, $m=m_0$, $f=e=0$. The checked sum with $i$ has value
$|I|$, between zero and $A$, and so lies in Isize's range.

If $p$ is true, \noderef{ModelSliceSplitFirst} removes exactly its
46 head. The resulting slice with contents $F++T$ is legitimate:
its length is at most $|s|$, hence at most the original carrier's
Usize bound. The digit scan theorem applied at initial word $m_0$
returns normally a slice $s_2$ with contents $T$ and word $m$.
Apply the offset theorem to that fractional slice and $s_2$.
It gives the exact count $f=|F|$ since $(|F|+|T|)-|T|=|F|$.
The selected-target width assumption imported by the offset theorem
makes Isize's range $[-2^{63},2^{63}-1]$. Because $0\le |F|\le A$,
$f$ is not its minimum; checked negation is normal and gives $-|F|$.
This integer also belongs to I64's identical signed range, so the
checked cast succeeds and preserves its value. This establishes the
claimed source-block equation with $e=-|F|$.

In this case $0\le |I|+|F|\le |s|\le A$, by the source decomposition.
Thus the checked Isize sum is also in bounds and has the ordinary sum
as value. These signed arithmetic steps use the selected 64-bit
binding in \noderef{Assumptions} and the background checked-scalar
semantics, not an additional parser invariant. Substituting the normal
split, scan, offset, negation and cast results into the source block
proves its monadic equation and all stated fields in both cases.
\end{proof}
