def is_eq_refl
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
234def is_eq_refl(+a: Nat) -> {Nat.is_eq(a, a) == True{} : Bool}:
235 match a:
236 case 0n:
237 {==}
238 case 1n+p:
239 is_eq_refl(p)
Uses (3)
Used by (12)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixgen:sat_fit
- bend-collections-laws-math@1.0.0.0/proofs/lib/u32alg:eq_refl
- bend-collections-laws-math@1.0.0.0/proofs/math/random/lemire:fin_eq
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64sqa:sc_x_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:spow
- …