Source context

Program Rust

ONE

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

50 51             impl Int for $ty {52                 const ZERO: Self = 0;53                 const ONE: Self = 1;54             }55         )+56     }

Aeneas declaration

The Lean below was mechanically extracted by Aeneas from Rust.

@[global_simps, irreducible]
def U32.Insts.Dec2flt_modelNumImpTraitsInt.ONE : Std.U32 := 1#u32
Other extracted objects at this span

U16.Insts.Dec2flt_modelNumImpTraitsInt.ONE

U64.Insts.Dec2flt_modelNumImpTraitsInt.ONE

Source details
DeclarationU32.Insts.Dec2flt_modelNumImpTraitsInt.ONE
Filenum/imp/../../traits.rs
Lines53:16–53:36
Program versionPreparation 1