§2, (1.10) — the equidistant locus is a sphere having as its axis
ProvedRelaxationMethod.LowDim.axisSphere_eqLet be a nonempty flat of with direction space , and let . Let be the orthogonal projection of onto and the locus (1.10). Then:
- is the sphere, inside the flat through normal to , with centre passing through :
- is exactly the set of points equidistant from all points of :
This is the claim of §2 that justifies calling a spherical surface with axis ; it identifies the set on which Theorem 2, Case 2 places the tail of a reflexion sequence.
Formalization Note The flat is an arbitrary nonempty AffineSubspace ℝ (EuclideanSpace ℝ (Fin n)); the paper's follows from . The orthogonal projection is Mathlib's EuclideanGeometry.orthogonalProjection, and "the -flat normal to at " is written as . The dimension count of the sphere is not part of the statement.
import Mathlib import Definitions.Def_RelaxationMethod_LowDim_AxisSphere
namespace RelaxationMethod.LowDim
/-- §2, p. 395: for a flat `L` and a point `p ∉ L`, with `b` the orthogonal projection of `p`
onto `L`, the locus (1.10) is the sphere of the flat through `b` normal to `L`, centred at `b`
and passing through `p`; and `L` is exactly the set of points equidistant from all points of
that sphere. -/
theorem axisSphere_eq {n : ℕ} (L : AffineSubspace ℝ (EuclideanSpace ℝ (Fin n))) [Nonempty L]
(p : EuclideanSpace ℝ (Fin n)) (hp : p ∉ L) :
axisSphere L p =
{x | x -ᵥ (EuclideanGeometry.orthogonalProjection L p : EuclideanSpace ℝ (Fin n)) ∈
L.directionᗮ ∧
dist x (EuclideanGeometry.orthogonalProjection L p : EuclideanSpace ℝ (Fin n)) =
dist p (EuclideanGeometry.orthogonalProjection L p : EuclideanSpace ℝ (Fin n))} ∧
(L : Set (EuclideanSpace ℝ (Fin n))) =
{a | ∀ x ∈ axisSphere L p, dist x a = dist p a} := by sorry
end RelaxationMethod.LowDim
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Work in with Euclidean distance.
- is a nonempty affine subspace of , with direction (linear subspace) .
- is a point with .
- is the orthogonal projection of onto .
- For any affine subspace and point , write
Claim. Both of the following hold.
- The locus is a sphere in the normal flat through :
This is the set of points such that is orthogonal to every direction vector of , and is at the same distance from as is. 2. can be recovered from the locus:
Degenerate cases:
- is impossible. The hypothesis rules it out, so in particular .
- empty is excluded by hypothesis.
- a single point . Then and , so the right side of part 1 is the full sphere of radius about .
- a hyperplane. is a line, so the right side of part 1 consists of exactly two points.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.