This file defines a signed 64-bit integer datatype similar to Rust's i64
by adding checked arithmetic operations to Lean's Int64 datatype.
Equations
- Int64.ofIntChecked i x✝ = Int64.ofInt i
Instances For
Equations
- Int64.ofInt? i = if h : Int64.MIN ≤ i ∧ i ≤ Int64.MAX then some (Int64.ofIntChecked i h) else none
Instances For
Equations
- i₁.neg? = Int64.ofInt? (-i₁.toInt)
Instances For
Equations
- Int64.instRepr_cedar = { reprPrec := Int64.instRepr_cedar.repr }
Equations
- One or more equations did not get rendered due to their size.