def le_subst_r
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/ineq.bend as Ineqimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as Lg
13def le_subst_r(+a: Nat, +b: Nat, +c: Nat, +e: {b == c : Nat}, +h: {Nat.is_le(a, b) == True{} : Bool}) -> {Nat.is_le(a, c) == True{} : Bool}:
14 Lg.subst(Nat, z => {Nat.is_le(a, z) == True{} : Bool}, b, c, e, h)
Uses (4)
Used by (18)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/fieldops:small_r
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/consts:shift_le_k
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/fieldops:small_val
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/ineq:le_add_l
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/consts:cp_cc
- …