Book X · Proposition 67
A straight line commensurable in length with a bimedial straight line is itself also bimedial and the same in order.Heath, 1908
Needs: X.12
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(ref, THEOREM,
sample=lambda rng, _k=kind: _terms_for(_k)
+ (Fraction(rng.randint(1, 5), rng.randint(1, 4)),))
def _same_kind(a, b, scale, _k=kind, _sub=subtractive) -> Out:
hypothesis("the scale is a genuine ratio", sign(scale) > 0, guard=True)
compound = (a - b) if _sub else (a + b)
hypothesis("the compound is positive", sign(compound) > 0)
wanted = (SUBTRACTED_NAMES if _sub else ADDED_NAMES)[_k]
named = classify(compound)
hypothesis("the line is of the kind in question",
named.name == wanted or named.family == wanted)
other = compound * scale
because(prop_X_12, compound, compound, scale)
claim("the second line is commensurable with the first", "X.12",
commensurable(compound, other))
other_named = classify(other)
claim("and it is a line of the very same kind", ref,
other_named.name == named.name
or other_named.family == named.family)
return Out(other=other)