Source context

Program Rust

ZERO

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

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

Aeneas declaration

The Lean below was mechanically extracted by Aeneas from Rust.

@[global_simps, irreducible]
def U16.Insts.Dec2flt_modelNumImpTraitsInt.ZERO : Std.U16 := 0#u16
Other extracted objects at this span

U32.Insts.Dec2flt_modelNumImpTraitsInt.ZERO

U64.Insts.Dec2flt_modelNumImpTraitsInt.ZERO

Source details
DeclarationU16.Insts.Dec2flt_modelNumImpTraitsInt.ZERO
Filenum/imp/../../traits.rs
Lines52:16–52:37
Program versionPreparation 1