def eq_nat
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32laws.bend as U32lawsimport Base
99def eq_nat(+x: U32, +y: U32) -> {U32.is_eq(x, y) == Nat.is_eq(v(x), v(y)) : Bool}:
100 eq_c(x, y, U32.is_eq(x, y), {==}, Nat.is_eq(v(x), v(y)), {==})
Uses (6)
Used by (9)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64add:lt_value
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64add:eq_value
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32laws:tests_odd
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64cmp:eq_gen
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64cmp:hw
- …