Reusable layer: geometry #
Stable names for two classical geometry results of the archive. Each theorem is proved by the archive theorem it re-exposes (no proof is copied), so the provenance is the archive module.
Main results #
Formalizations.Reusable.pappus_hexagon: Pappus's hexagon theorem in homogeneous coordinates over any commutative ring (archive:Pappus.pappus).Formalizations.Reusable.wolstenholme_defect_eq_sq_add_sq: the defect of Wolstenholme's triangle inequality is a sum of two squares (archive:WolstenholmeInequality.sub_eq_sq_add_sq).
Pappus's hexagon theorem (homogeneous coordinates, any commutative ring).
Points of the projective plane are vectors of R³; three points are collinear when their triple
product A ⬝ᵥ (B ⨯₃ C) vanishes, and the meet of the lines PQ and RS is
(P ⨯₃ Q) ⨯₃ (R ⨯₃ S). If A, B, C are collinear and a, b, c are collinear, then the three meets
Ab ∩ aB, Ac ∩ aC, Bc ∩ bC are collinear. No non-degeneracy hypothesis is needed: the
conclusion is an ideal-membership identity.
- Archive:
Pappus.pappus(Formalizations.Geometry.Projective.Pappus); no research paper. - Classical reference: Pappus of Alexandria, Collection, Book VII (c. 320 AD); R. Whitty, Theorem of the Day, «Pappus' Theorem».
- Example: over
ℤ, fromh₁ : A ⬝ᵥ (B ⨯₃ C) = 0andh₂ : a ⬝ᵥ (b ⨯₃ c) = 0,pappus_hexagon A B C a b c h₁ h₂gives the collinearity of the three meets.
Wolstenholme's inequality, defect form. If A + B + C = π then for all real x, y, z,
x² + y² + z² − (2yz cos A + 2zx cos B + 2xy cos C) = (x − z cos B − y cos C)² + (z sin B − y sin C)².
In particular 2yz cos A + 2zx cos B + 2xy cos C ≤ x² + y² + z² (Wolstenholme's inequality,
archive WolstenholmeInequality.cos_le). No sign condition on the angles is needed.
- Archive:
WolstenholmeInequality.sub_eq_sq_add_sq(Formalizations.Geometry.Euclidean.WolstenholmeInequality); no research paper. - Classical reference: J. Wolstenholme, A Book of Mathematical Problems, Macmillan, 1867.
- Example:
wolstenholme_defect_eq_sq_add_sq 1 1 1 (π/3) (π/3) (π/3) hfor the equilateral triangle, withh : π/3 + π/3 + π/3 = π.