def Egcd.gcd

bend-collections-laws-math@1.0.0.0 · spec/math/number.bend:38

import bend-collections-laws-math@1.0.0.0/spec/math/number.bend as Number
import Base
import bend-collections-laws-math@1.0.0.0/src/math/natural.bend as M
import bend-collections-laws-math@1.0.0.0/src/math/number.bend as NB

38def Egcd.gcd(+a: Nat, +b: Nat) -> Type:
39  {eg_gcd(NB.egcd(a, b)) == M.gcd(a, b) : Nat}

Uses (4)

Used by (2)