The construction angle is well defined (Section 5)
ProvedExactKMeans.ProductReduction.alpha_specThis lemma shows that the angle fixed in the Section 5 construction is well defined.
Let be integers with , let be odd, and put and . The construction chooses a positive angle with
and then sets . The lemma asserts that such an angle exists. Consequently the chosen satisfies all of the displayed conditions, and moreover
The later quantitative statements of Section 5 involve , and and rely on these defining relations and on positivity. This lemma isolates that fact so that it can be imported once instead of being re-derived in each proof.
Formalization Note In the published definition, is a choice (Classical.epsilon) of a real number satisfying the displayed conditions; without an existence proof it would be an unconstrained real number. The conclusion lists, in order, , , , the defining equation, and .
import Definitions.Def_ExactKMeans_ProductReduction_Selector open scoped BigOperators Classical open Finset open ExactKMeans.ProductReduction
namespace ExactKMeans.ProductReduction
theorem alpha_spec (p : Parameters) :
0 < p.alpha ∧ (1 / 2 : ℝ) < p.alpha * p.lam ∧ p.alpha * p.lam < 1 ∧
(p.lam : ℝ) * Real.sin p.alpha = Real.cos (((p.t : ℝ) - 1) * p.alpha) ∧
0 < Real.sin p.alpha ∧ 0 < p.r := by sorry
end ExactKMeans.ProductReduction