Source context

Program Rust

CoreCmpPartialEqBiasedFp

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

52 // Debug output is not a scoped public or trace observation. Removing only53 // that implementation preserves the fields, computational derives, and every54 // algorithm operation independently of GOAL truth.55 #[derive(Copy, Clone, PartialEq, Eq, Default)]56 pub struct BiasedFp {57     /// The significant digits.58     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
Lines55:22–55:31
Program versionRevised program