Book VII · Proposition 22
The least numbers of those which have the same ratio with them are prime to one another.Heath, 1908
Needs: nothing earlier.
Depth: 0 steps of argument above the first principles. Parallel postulate: not needed.
Nothing. It draws no intersections and reads nothing off the picture.
@proposition(
"VII.22",
THEOREM,
sample=lambda rng: (rng.randint(2, 200), rng.randint(2, 200)),
)
def prop_VII_22(a: int, b: int) -> Out:
hypothesis("both are numbers", a > 1 and b > 1, guard=True)
least = least_terms(a, b)
claim("the least of the ratio are prime to one another", "VII.22",
coprime(*least))
return Out(least=least)