Source context

Program Rust

from_u64

This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.

249     // the fast-path algorithm, its range proof obligation, and all calls stay250     // visible in the extracted model.251     #[charon::opaque]252     fn from_u64(v: u64) -> Self {253         debug_assert!(v <= Self::MAX_MANTISSA_FAST_PATH);254         v as _255     }256 }257 258 #[inline]

Aeneas declaration

The Lean below was mechanically extracted by Aeneas from Rust.

axiom F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64.from_u64
  : Std.U64 → Result F64
Source details
DeclarationF64.Insts.Dec2flt_modelNumImpDec2fltLemireU64.from_u64
Filenum/imp/../../dec2flt/mod.rs
Lines252:4–255:5
Program versionPreparation 1