Program Rust
CoreCmpPartialEqBiasedFp
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
48 // Debug output is not an accepted public or trace observation. Removing only49 // that implementation preserves the fields, computational derives, and every50 // algorithm operation independently of GOAL truth.51 #[derive(Copy, Clone, PartialEq, Eq, Default)]52 pub struct BiasedFp {53 /// The significant digits.54 pub m: u64,Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[reducible]
def num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp :
core.cmp.PartialEq num.imp.dec2flt.common.BiasedFp
num.imp.dec2flt.common.BiasedFp := {
eq := num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp.eq
}Other extracted objects at this span
num.imp.dec2flt.common.BiasedFp.Insts.CoreMarkerStructuralPartialEq
num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp.eq
Source details
| Declaration | num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp |
|---|---|
| File | num/imp/../../dec2flt/common.rs |
| Lines | 51:22–51:31 |
| Program version | Original program |