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 U64.Insts.Dec2flt_modelNumImpTraitsInt.ZERO : Std.U64 := 0#u64
Source details
DeclarationU64.Insts.Dec2flt_modelNumImpTraitsInt.ZERO
Filenum/imp/../../traits.rs
Lines52:16–52:37
Program versionOriginal program