Book X · Proposition 6
If two magnitudes have to one another the ratio which a number has to a number, the magnitudes will be commensurable.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(
"X.6",
THEOREM,
sample=_in_the_ratio_of_two_numbers,
)
def prop_X_6(a, b, numerator: int, denominator: int) -> Out:
"""The converse of X.5."""
hypothesis("the magnitudes are positive", sign(a) > 0 and sign(b) > 0, guard=True)
hypothesis("the numbers are genuine", numerator > 0 and denominator > 0, guard=True)
# Both magnitudes are given. Built as multiples of one base, the ratio below
# came out as commutativity and held whatever the numbers were, so the
# hypothesis of the proposition was never tested against anything.
hypothesis("the two stand in the ratio of the given numbers",
a * denominator == b * numerator)
claim("so they are commensurable", "X.6", commensurable(a, b))
return Out(measure=a / numerator)