def nmul
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int.bend as U32intimport Base
655def nmul(+a: Nat, +b: Nat, +na: Nat, +nb: Nat, +ha: {a == na : Nat}, +hb: {b == nb : Nat}) -> {Nat.mul(a, b) == Nat.mul(na, nb) : Nat}:
656 Equal.trans(Nat, Nat.mul(a, b), Nat.mul(na, b), Nat.mul(na, nb), Equal.cong(Nat, Nat, t => Nat.mul(t, b), a, na, ha), Equal.cong(Nat, Nat, t => Nat.mul(na, t), b, nb, hb))
Uses (4)
Used by (8)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:combsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:factsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:ilsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:ms_fits
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:ms_fv
- …