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 U64.Insts.Dec2flt_modelNumImpTraitsInt.ONE : Std.U64 := 1#u64
Source details
DeclarationU64.Insts.Dec2flt_modelNumImpTraitsInt.ONE
Filenum/imp/../../traits.rs
Lines53:16–53:36
Program versionOriginal program