def divides_both
import bend-collections-laws-crypto@1.0.0.0/proofs/math/natural/gcd.bend as Gcdimport Base
65def divides_both(+a: Nat, +b: Nat, +g: Nat, w: Wit) -> Type:
66 {a == Nat.mul(wl(w), g) : Nat} & {b == Nat.mul(wr(w), g) : Nat}
Uses (6)
Used by (5)
- bend-collections-laws-crypto@1.0.0.0/proofs/math/natural/gcd:gcd_both
- bend-collections-laws-crypto@1.0.0.0/proofs/math/natural/gcd:both_l
- bend-collections-laws-crypto@1.0.0.0/proofs/math/natural/gcd:both_r
- bend-collections-laws-crypto@1.0.0.0/proofs/math/natural/gcd:step_both
- bend-collections-laws-crypto@1.0.0.0/proofs/math/natural/inverse:inv_dvd_a2