A non-obtuse inscribed triangle places the center on the apex side
ProvedProblem97.center_same_side_as_apex_of_nonobtusecircumcenterconvex-geometryerdos-97-96-countinghalf-planelean-formalizationnon-obtuse-triangle
Let lie on a circle with center and radius . If the angle at is non-obtuse, expressed by , then
Thus the circumcenter and the apex lie in the same closed half-plane determined by the chord , a fact used to orient the three caps.
Preamble
/- Generated theorem stub from Erdos9796Proof.P97.CircumcenterSide by Stage 2 proof cut; source SHA-256 29ad9a32acf8129d66c4663579b3568047794eff971aa9120aac73db7971f861 -/
import Definitions.Def_Erdos9796Counting_Adapter
import Definitions.Def_Erdos9796Counting_Foundation
import Mathlib.Analysis.InnerProductSpace.Basic
open Problem97
/-!
# Circumcenter-side characterization for non-obtuse inscribed triangles
Three points `a, b, c` on a Euclidean sphere of center `O` form a non-obtuse
triangle iff the smallest enclosing disk of `{a, b, c}` is the sphere itself.
Geometrically this puts the circumcenter `O` inside (or on the boundary of)
the triangle, which downstream consumers use through the signed-area form:
for each chord (say `ab`), the third vertex `c` and the center `O` lie on
the same closed half-plane.
The forward direction is captured by `center_same_side_as_apex_of_nonobtuse`:
if the interior angle of the triangle at `c` is non-obtuse — i.e.,
`⟪a - c, b - c⟫_ℝ ≥ 0` — then `signedArea2 O a b * signedArea2 c a b ≥ 0`.
The proof reduces to a single algebraic identity. With
`m := midpoint ℝ a b` and assuming the perpendicular-bisector condition
`‖a - O‖ = ‖b - O‖` (automatic from the sphere hypothesis):
`signedArea2 O a b * signedArea2 c a b
= ⟪m - O, m - c⟫_ℝ * ‖a - b‖²`.
The right-hand side is the product of a sphere-shaped quantity that the
inscribed-angle lemma `inner_chord_eq_two_mul_inner_midpoint` converts to
`(1/2) · ⟪a - c, b - c⟫_ℝ`, and a manifestly non-negative scalar `‖a - b‖²`.
Together with the hypothesis `⟪a - c, b - c⟫_ℝ ≥ 0`, this gives the result.
The companion `signedArea_prod_eq_inner_mul_dist_sq` is the abstract identity
without the inner-product hypothesis on `c`; it depends only on the
perpendicular-bisector condition on `O`. We also expose a `‖·‖²` form
(`signedArea_prod_eq_inner_mul_dist_sq`) that is more convenient for direct
algebraic chaining than re-deriving it from scratch.
-/
open scoped EuclideanGeometry InnerProductSpaceFormal statement
theorem Problem97.center_same_side_as_apex_of_nonobtuse
{O a b c : ℝ²} {r : ℝ}
(haO : ‖a - O‖ = r) (hbO : ‖b - O‖ = r) (hcO : ‖c - O‖ = r)
(hacuteC : ⟪a - c, b - c⟫_ℝ ≥ 0) :
signedArea2 O a b * signedArea2 c a b ≥ 0 := by sorrySource