def u32_cmp
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32.bend as U32import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/proofs/word_comparison.bend as WC
280def u32_cmp(+a: U32, +b: U32) -> {U32.cmp(a, b) == Nat.cmp(U32.to_nat(a), U32.to_nat(b)) : Cmp}:
281 WC.u32_refines(a, b)
Uses (6)
Used by (8)
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32alg:eq_of
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64sqrt:is_le_nat
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/canon:u32_iz
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32alg:eq_refl
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/pcodec:u32_eq_nat
- …