Book IX · Proposition 6
If a number by multiplying itself make a cube number, it will itself also be cube.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(
"IX.6",
THEOREM,
sample=lambda rng: (rng.randint(2, 8) ** 3,),
)
def prop_IX_6(a: int) -> Out:
hypothesis("the number is genuine", a > 1, guard=True)
hypothesis("its square is cube", is_cube(a * a))
claim("the number itself is cube", "IX.6", is_cube(a))
claim("and no number whose square is cube fails to be one", "IX.6",
all(is_cube(n) for n in range(2, 300) if is_cube(n * n)))
return Out()