geometor.nicomachus.ten_means_and_cube¶
Ten Nicomachean Proportions & the Cube Harmony 6 : 8 :: 9 : 12 (Book II, Chs. 21–29).
Formalizes the culminating chapters of Nicomachus of Gerasa’s Introduction to Arithmetic:
All Ten Means (δέκα μεσότητες, II.21–28):
The three classical archetypes from Pythagoras, Archytas, Plato, and Aristotle: 1. Arithmetic, 2. Geometric, 3. Harmonic.
The three subcontrary proportions (ὑπεναντίαι): 4. Subcontrary to Harmonic, 5. First Subcontrary to Geometric, 6. Second Subcontrary to Geometric.
The four later Neo-Pythagorean proportions (τέσσαρες ἕτεραι, Myonides & Euphranor): 7th, 8th, 9th, and 10th — where the 10th Mean (\((z - x)/(z - m) = m/x\)) reduces for \(m \ne x\) to the Fibonacci additive law \(x + m = z\) (canonical example \(3, 5, 8\)).
Semicircle Construction of the Three Classical Means (cf. Pappus Synagoge III): Exact
Modelconstruction proving visually \(A \ge G \ge H\) and \(A \cdot H = G^2\).The Most Perfect Proportion (*Τελειοτάτη Ἀναλογία*, II.29): \(6 : 8 :: 9 : 12\), uniting the topology of the Cube (
6faces,8vertices,12edges — Philolaus’s “geometric harmony”), Arithmetic (9), Harmonic (8), and Geometric (\(6 \cdot 12 = 8 \cdot 9 = 72\)) symmetry, projective harmonic cross-ratio \((6, 12; 8, 0) = -1\), and all Pythagorean musical consonances.
Attributes¶
Classes¶
Specification and canonical witness for one of Nicomachus's ten means (II.23–28). |
|
Result bundle for Nicomachus's Teleiotatē Analogia |
Functions¶
|
Compute the exact |
|
Compute all ten Nicomachean means between |
|
Build an exact semicircle |
|
Build and verify Nicomachus's Teleiotatē Analogia |
|
Verify symbolically all ten Nicomachean means on Hoche's synoptic table & general symbols. |
|
Verify all arithmetic, musical, topological, and projective laws of |
Module Contents¶
- geometor.nicomachus.ten_means_and_cube.CUBE_PROPORTION_TERMS: tuple[sympy.Integer, sympy.Integer, sympy.Integer, sympy.Integer]¶
- class geometor.nicomachus.ten_means_and_cube.MeanSpec¶
Specification and canonical witness for one of Nicomachus’s ten means (II.23–28).
- Variables:
index – Nicomachean ordinal
1..10(Hoche p. 144; D’Ooge p. 284).name – Scholarly English title.
greek_name – Greek designation in Nicomachus II.22–28.
group – Historical stratum (
"classical","subcontrary", or"neopythagorean").proportion_latex – Defining difference-to-term proportion for ascending
x < m < z.closed_form_latex – Explicit algebraic formula for
min terms of(x, z).canonical_triple – Nicomachus’s synoptic integer witness from the Decad (II.28.11).
greek_numerals – Greek alphabetic numerals printed in Hoche 1866, p. 144.
- index: int¶
- name: str¶
- greek_name: str¶
- group: str¶
- proportion_latex: str¶
- closed_form_latex: str¶
- canonical_triple: tuple[int, int, int]¶
- greek_numerals: str¶
- class geometor.nicomachus.ten_means_and_cube.CubeHarmonicResult¶
Result bundle for Nicomachus’s Teleiotatē Analogia
6 : 8 :: 9 : 12(II.29).- Variables:
terms – Exact 4-tuple
(6, 8, 9, 12).cube_counts – Topological invariants of the hexahedron
{"faces": 6, "vertices": 8, "edges": 12}.arithmetic_mean – Exact arithmetic mean
9of(6, 12).harmonic_mean – Exact harmonic mean
8of(6, 12).geometric_product – Shared product
6 * 12 == 8 * 9 == 72.consonances – Exact
sympy.Rationalmusical intervals generated by(6, 8, 9, 12).projective_cross_ratio – Exact cross-ratio
(T6, T12; T8, Z) == -1.model – Verified
ModelconstructingT9by Euclidean bisection andT8by complete-quadrilateral harmonic conjugation.
- terms: tuple[sympy.Integer, sympy.Integer, sympy.Integer, sympy.Integer]¶
- cube_counts: dict[str, int]¶
- arithmetic_mean: sympy.Integer¶
- harmonic_mean: sympy.Integer¶
- geometric_product: sympy.Integer¶
- consonances: dict[str, sympy.Rational]¶
- projective_cross_ratio: sympy.Expr¶
- model: geometor.model.Model¶
- geometor.nicomachus.ten_means_and_cube.compute_nicomachean_mean(index: int, x: int | sympy.Expr, z: int | sympy.Expr) sympy.Expr¶
Compute the exact
index-th Nicomachean meanmbetween0 < x < z(II.23–28).Note on the 10th Mean: its defining equation \((z - x)/(z - m) = m/x\) factors as \((m - x)(m - (z - x)) = 0\); hence a strict interior mean \(x < m < z\) exists if and only if the diorismos \(z > 2x\) holds, in which case \(m = z - x\) (\(x + m = z\)).
- Parameters:
index – Nicomachean proportion ordinal
1..10.x – Lesser positive extreme (concrete number or positive symbolic expression).
z – Greater positive extreme satisfying
z > x(andz > 2*xwhenindex == 10for concrete numerical inputs).
- Returns:
Exact simplified
sympy.Exprform.- Raises:
ValueError – If
indexis outside1..10or concrete bounds violate0 < x < z(orz <= 2*xforindex == 10).
- geometor.nicomachus.ten_means_and_cube.compute_all_ten_means(x: int | sympy.Expr = 4, z: int | sympy.Expr = 12) list[dict[str, Any]]¶
Compute all ten Nicomachean means between
xandz(whenz > 2*x).- Parameters:
x – Lesser positive extreme (default
4).z – Greater positive extreme satisfying
z > 2*xso all ten means including the 10th exist strictly inside(x, z)(default12).
- Returns:
List of 10 dictionaries containing
spec,x,mean,z, andcanonical_witness.
- geometor.nicomachus.ten_means_and_cube.construct_three_classical_means_model(a_len: int | sympy.Expr = 6, c_len: int | sympy.Expr = 12) geometor.model.Model¶
Build an exact semicircle
Modelof Arithmetic, Geometric, and Harmonic means.Defaults to
a_len = 6, c_len = 12(the Cube extremes of Book II, Ch. 29), whereOS = 9(Arithmetic),QS = 6*sqrt(2)(Geometric), andSF = 8(Harmonic), all in \(\mathbb{Q}(\sqrt{2})\) withQ(MeanA) * Q(MeanH) == Q(MeanG)**2 == 5184.- Parameters:
a_len – First positive segment length
a.c_len – Second positive segment length
c.
- Returns:
Verified exact symbolic
Model.- Raises:
ValueError – If concrete inputs are non-positive.
- geometor.nicomachus.ten_means_and_cube.construct_cube_proportion_model() CubeHarmonicResult¶
Build and verify Nicomachus’s Teleiotatē Analogia
6 : 8 :: 9 : 12(Book II, Ch. 29).Constructs
T9(9, 0)by Euclidean bisection andT8(8, 0)by a pure straightedge complete quadrilateral fromZ(0, 0), T6(6, 0), T12(12, 0), then verifies:Topological Cube witness:
6faces,8vertices,12edges (Euler6 + 8 - 12 = 2).Projective harmonic range
(T6, T12; T8, Z) == -1.Musical consonances: octave
12:6 = 2:1, fifth9:6 = 12:8 = 3:2, fourth8:6 = 12:9 = 4:3, and whole tone9:8.
- Returns:
Verified
CubeHarmonicResult.
- geometor.nicomachus.ten_means_and_cube.verify_ten_means_identities() dict[str, Any]¶
Verify symbolically all ten Nicomachean means on Hoche’s synoptic table & general symbols.
- Returns:
Summary dictionary of verified canonical witnesses, symbolic proportions, and Fibonacci tenth-mean identities.
- Raises:
AssertionError – If any of the ten proportions fails exact SymPy verification.
- geometor.nicomachus.ten_means_and_cube.verify_cube_proportion_identities() dict[str, Any]¶
Verify all arithmetic, musical, topological, and projective laws of
6 : 8 :: 9 : 12.- Returns:
Summary dictionary of verified Book II, Ch. 29 identities.