is nonzero on affinely independent quadruples
ProvedNearEnemy.circPoly_ne_zero_of_affineIndependentLet be points in EuclideanSpace ℝ ι that are affinely independent (the hypothesis hind : AffineIndependent ℝ ![a,b,c,e]). Then the circumsphere-detecting polynomial is nonzero on this quadruple:
Affine independence of the four points — full -dimensional span of the difference vectors — is enough to keep circPoly from vanishing. Only this direction is proved here; the converse, that vanishing of circPoly forces a cospherical or degenerate quadruple, is not part of this development. Note that affine independence of four points requires ambient dimension at least , so in the plane the hypothesis has no instances. This is the highest-codimension nonvanishing input to the polynomial method that builds a generic projection avoiding cospherical quadruples; the coplanar and no-three-collinear cases are handled by their own lemmas.
import Mathlib
import Definitions.Def_NearEnemyDefs
universe u_1
open scoped RealInnerProductSpace
open scoped Classical
open MvPolynomial
variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V]
variable {ι : Type*} [Fintype ι]
open NearEnemy
theorem NearEnemy.circPoly_ne_zero_of_affineIndependent {a b c e : EuclideanSpace ℝ ι}
(hind : AffineIndependent ℝ ![a, b, c, e]) :
circPoly a b c e ≠ 0 := by sorry