Summary
Coordinate geometry proofs often define circles from determinants or other constructions that yield a scaled equation
where the quadruple is only defined up to a nonzero scalar factor.
To support formal tangency checks (e.g. in the main configuration of [ajc59j]), it is helpful to:
- package the associated center and radius (when ), and
- state tangency to a line in a denominator-free way that is invariant under scaling.
This note provides a Lean formalization of these ideas.
Definitions
A line is represented as
A scaled circle equation is represented as
Point membership is the obvious evaluation to .
The denominator-free tangency condition of a line to a scaled circle is:
When , this is equivalent to the usual distance-to-center tangency equality.
Main lemmas
isTangent_iff_center_radius: if , the denominator-free tangency condition is equivalent to the usual tangency condition written with the (dividing) formulas for center and radius.isTangent_smul_iff: scaling by a nonzero scalar does not change tangency.
These lemmas are purely algebraic.
Lean file
Attached: CircleEqScaled.lean.
Compilation
$ lake env lean CircleEqScaled.lean
(success, no sorry)