Source context

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
}
Operations used here

BiasedFp · Program Rust

eq · Program Rust

Other extracted objects at this span

num.imp.dec2flt.common.BiasedFp.Insts.CoreMarkerStructuralPartialEq

num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp.eq

Source details
Declarationnum.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp
Filenum/imp/../../dec2flt/common.rs
Lines51:22–51:31
Program versionOriginal program