def ns.dmk

bend-osdev-word64@0.1.1.0 · proof_shift.bend:202

import bend-osdev-word64@0.1.1.0/proof_shift.bend as ProofShift
import Base
import bend-osdev-u32@0.1.0.0/u32.bend as U
import bend-osdev-u32@0.1.0.0/LAWS.bend as UL

202def ns.dmk(+n: Nat, +k: Nat, +x: Nat, h: {Nat.is_le(k, n) == True{} : Bool}) -> {U.U32Nat.dbl(Nat.sub(n, k), U.U32Nat.dbl(k, x)) == U.U32Nat.dbl(n, x) : Nat}:
203  Equal.trans(Nat, U.U32Nat.dbl(Nat.sub(n, k), U.U32Nat.dbl(k, x)), U.U32Nat.dbl(k, U.U32Nat.dbl(Nat.sub(n, k), x)), U.U32Nat.dbl(n, x), UL.dbl_comm(Nat.sub(n, k), k, x), ns.dkm(n, k, x, h))

Uses (8)

Used by (1)