Book VIII · Proposition 15

VIII.15

If a cube number measure a cube number, the side will also measure the side; and, if the side measure the side, the cube will also measure the cube.Heath, 1908

Every step, checked

What it needs, and what needs it

Needs: nothing earlier.

Used by: VIII.17

Depth: 0 steps of argument above the first principles. Parallel postulate: not needed.

What it takes on trust

Nothing. It draws no intersections and reads nothing off the picture.

The proposition as code

@proposition(
    "VIII.15",
    THEOREM,
    sample=lambda rng: (rng.randint(2, 10), rng.randint(2, 10)),
)
def prop_VIII_15(a: int, b: int) -> Out:
    hypothesis("the sides are genuine numbers", a > 1 and b > 1, guard=True)
    claim("if the cube measures the cube, the side measures the side", "VIII.15",
          measures(a ** 3, b ** 3) == measures(a, b))
    return Out()