\begin{theorem}
For every Rust byte slice spelling unsigned \texttt{inf} or \texttt{infinity} ASCII case-insensitively, and either separate sign argument, the specialized \texttt{parse_inf_nan} returns normally with \texttt{Some} of infinity having that sign.
\end{theorem}
\begin{proof}
Fix a slice $s$, a Boolean \texttt{negative}, and the stated special-literal
hypothesis.  Unfold \noderef{DecimalGoalVocabularyDefault}.  For sign
\texttt{none}, the sign-byte prefix is empty, and for kind \texttt{false} the
body is related case-insensitively either to $[105,110,102]$ or to
$[105,110,102,105,110,105,116,121]$.  The equality with the empty prefix makes
that body the complete list of unsigned values of the bytes of $s$.  The
\texttt{bytes} field maps each underlying slice element to its unsigned value
once and in order, so this mapping preserves length.  Since
\texttt{List.Forall2} also forces its two lists to have equal lengths, there
are exactly two cases: the slice has length three and spells \texttt{inf}, or
it has length eight and spells \texttt{infinity}, in each case ASCII
case-insensitively.  More explicitly, at a position whose required lowercase
byte is $l$, the component condition is $x=l$ or $x+32=l$.  For the letters
here this says that $x$ is the lowercase code $l$ or the uppercase code
$l-32$.

Unfold \noderef{num_imp_dec2flt_parse_parse_inf_nan} at the supplied binary64
trait instance.  First suppose the eight-letter alternative holds.  The
initial comparison with eight is true.  In
\noderef{SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64},
\texttt{Array.repeat} constructs a destination of exactly eight bytes and
the lifted pure result of \texttt{Array.to\_slice\_mut} succeeds and exposes
that whole destination.  The source range request \texttt{self[..8]} is in
bounds because the established source length is exactly eight.  Its result
also has length eight, so the source and destination lengths required by
\texttt{copy\_from\_slice} agree.  Hence the range and copy binds both
succeed; the back function restores the copied array, and the total
\texttt{from\_le\_bytes} operation returns
\[
 r=\sum_{j=0}^{7}b_j2^{8j},
\]
where $b_j$ is the unsigned value of byte $j$.  No read failure is possible in
this branch.

The next bind ANDs $r$ with
$M=16131858542891098079=\mathtt{0xdfdfdfdfdfdfdfdf}$.  By
\noderef{ModelU64BitAnd}, the operation succeeds and is the exact bounded
bitwise conjunction.  Each byte of $M$ is \texttt{0xdf}, which has every bit
set except \texttt{0x20}, the ASCII case bit.  Thus byte $j$ of
$r\mathbin{\mathtt{\&}}M$ is $b_j\mathbin{\mathtt{\&}}\mathtt{0xdf}$.
For the two admitted codes $l$ and $l-32$ at each position, this value is in
both cases $l-32$.  Reading the resulting uppercase bytes in their original
little-endian order gives
\[
 \begin{split}
 r\mathbin{\mathtt{\&}}M
  &=\mathtt{0x49}+\mathtt{0x4e}2^8+\mathtt{0x46}2^{16}
    +\mathtt{0x49}2^{24}+\mathtt{0x4e}2^{32}\\
  &\quad+\mathtt{0x49}2^{40}+\mathtt{0x54}2^{48}
    +\mathtt{0x59}2^{56}\\
  &=\mathtt{0x5954494e49464e49}=6436850368004902473.
 \end{split}
\]
This is exactly the successful eight-byte match displayed in the extracted
definition, so execution enters its infinity branch rather than either
rejection or default branch.

Now suppose the three-letter alternative holds.  The comparison with eight is
false and the following comparison with three is true.  Call the three byte
values $a,b,c$ in input order.  Their case alternatives are
\[
 a\in\{105,73\},\qquad b\in\{110,78\},\qquad
 c\in\{102,70\}.
\]
The indices $0$, $1$, and $2$ are each strictly below the established length
$3$, so all three \texttt{Slice.index\_usize} binds succeed and return exactly
those bytes.  Each value lies in $0,\ldots,255$.  The three displayed
\texttt{lift (UScalar.cast .U64 ...)} binds use Aeneas's total unsigned cast,
which zero-extends or truncates before \texttt{lift} returns it in \texttt{ok}.
Here the conversion widens from eight to 64 bits, so there is no truncation:
all three lifts succeed and preserve the values exactly.

The next binds are specifically the Aeneas operations
\texttt{c <<< 16\#i32} and \texttt{b <<< 8\#i32}; their counts are signed
\texttt{i32}, not unsigned shift operands.  Directly from the extracted
\texttt{UScalar}-by-\texttt{IScalar} semantics, each operation first checks
that its signed count is nonnegative, converts that count to its natural
value, and checks that value is strictly below the unsigned left operand's
bit width, failing with integer overflow if either check fails.  Here $16$
and $8$ are nonnegative, their natural values are still $16$ and $8$, and
both are below the \texttt{u64} width $64$.  Both shifts therefore succeed.
Moreover, byte bounds give
\[
 c2^{16}\leq255\,2^{16}<2^{24}<2^{64},\qquad
 b2^8\leq255\,2^8<2^{16}<2^{64},
\]
so the bounded shift results are exactly $c2^{16}$ and $b2^8$, with no
discarded high bit.  Their possible occupied ranges, bits $16$--$23$ and
$8$--$15$, are disjoint from each other and from the widened $a$ in bits
$0$--$7$.  Each of the two OR binds therefore succeeds by
\noderef{ModelU64BitOr}, and exact disjoint-range bitwise assembly gives
\[
 r=(c2^{16})\mathbin{\mathtt{|}}(b2^8)\mathbin{\mathtt{|}}a
  =a+b2^8+c2^{16}<2^{24}.
\]
The following AND bind succeeds by \noderef{ModelU64BitAnd}.  Its low three
mask bytes again clear only the ASCII case bit, and its five high bytes leave
the five high zero bytes unchanged.  Consequently
\[
 r\mathbin{\mathtt{\&}}M
  =\mathtt{0x49}+\mathtt{0x4e}2^8+\mathtt{0x46}2^{16}
  =\mathtt{0x464e49}=4607561.
\]
This is exactly the first successful three-byte match, so this execution also
enters the infinity branch rather than either rejection, NaN, or default
branch.

It remains to evaluate that common infinity branch and its sign conditional.
Unfolding the trait record
\noderef{F64_Insts_Dec2flt_modelNumImpTraitsFloatU64}, its \texttt{INFINITY}
field is the constant operation whose direct paired semantics is
\noderef{ModelF64Infinity}.  It succeeds with the raw word
\[
 p=\mathtt{0x7ff0000000000000}=2047\,2^{52}.
\]
Thus the constant lookup cannot fail.  If \texttt{negative} is false, the
conditional performs no negation and returns \texttt{ok (some p)}.  If
\texttt{negative} is true, the selected extracted negation operation has the
direct paired semantics \noderef{ModelF64Neg}: it succeeds and toggles exactly
raw bit $63$.  Since $p<2^{63}$, that bit is initially zero, and the returned
word is
\[
 p'=p+2^{63}=\mathtt{0xfff0000000000000}.
\]
The true branch therefore returns \texttt{ok (some p')}.

Finally unfold the \texttt{isInfinity} field of
\noderef{DecimalGoalVocabularyDefault}.  Its required equation is
\[
 f.\mathit{val}=2047\,2^{52}+
   \begin{cases}2^{63},&\texttt{negative}=\texttt{true},\\
                 0,&\texttt{negative}=\texttt{false}.
   \end{cases}
\]
For the false branch, the returned \texttt{F64} word has value
$p=2047\,2^{52}+0$, which proves this equation.  For the true branch, the
returned word has value $p'=2047\,2^{52}+2^{63}$, which proves it.  Taking the
respective returned \texttt{F64} word as $f$ supplies the existential witness.
The two grammar alternatives and the two Boolean sign values are exhaustive,
so the claimed normal return and exactly signed infinity hold in every case.
\end{proof}
