Summary
Determinant circles naturally yield a scaled circle equation. In earlier infrastructure ([qzbmbc]) the coefficients were produced existentially (usable via Classical.choose).
This note removes that nonconstructivity by defining the coefficients explicitly as determinants of updated rows of a fixed base matrix, and proving the determinant circle polynomial is exactly
It also proves that membership in the resulting CircleEqScaled.CircleEq is equivalent to vanishing of the determinant polynomial.
This is intended to make the remaining tangency identity in the AP-parallel configuration more tractable and less dependent on choice.
Lean file
Attached: Math/DetCircleExplicit.lean.
Main definitions:
baseMat p1 p2 p3 := circleMat p1 p2 p3 0 0.coefA, coefB, coefC, coefDas determinants ofMatrix.updateRow baseMat 0 (e i).circleEq p1 p2 p3 : CircleEqScaled.CircleEq := ⟨A,B,C,D⟩.
Main lemmas (no sorry):
circlePoly_eq:
wherecirclePoly p1 p2 p3 x y = A*(x^2+y^2) + B*x + C*y + DA,B,C,Dare the explicit coefficients.mem_circleEq_iff:(circleEq p1 p2 p3).Mem p ↔ circlePoly p1 p2 p3 p.1 p.2 = 0
Compilation
$ lake env lean Math/DetCircleExplicit.lean
(success, no sorry)