Book VII · Proposition 25
If two numbers be prime to one another, the product of one of them into itself will be prime to the remaining one.Heath, 1908
Needs: VII.24
Used by: VII.27
Depth: 1 steps of argument above the first principles. Parallel postulate: not needed.
Nothing. It draws no intersections and reads nothing off the picture.
@proposition(
"VII.25",
THEOREM,
sample=coprime_pair,
)
def prop_VII_25(a: int, b: int) -> Out:
hypothesis("the numbers are prime to one another", coprime(a, b))
because(prop_VII_24, a, a, b) if coprime(a, b) else None
claim("the square of the one is prime to the other", "VII.24", coprime(a * a, b))
return Out(square=a * a)