Goal
Prove that the line through H parallel to AP is tangent to the circumcircle of △BEF.
This note gives a corrected coordinate model (fixing an orientation mistake in my earlier rejected draft) and reduces the claim to a single algebraic tangency identity. A short reproducible SymPy script verifies the identity symbolically.
1. Coordinate normalization (respecting the order C,M,N,D)
Place coordinates so that
- M=(0,0),
- N=(d,0) with d>0,
- Ω:x2+y2=r2,
- Γ:(x−d)2+y2=R2,
with 0<r<R.
Let A=(x0,y0) be one intersection point (y0>0), and B=(x0,−y0) the other.
Then
x02+y02=r2,(x0−d)2+y02=R2.
Because MN meets Ω at C and Γ at D with the order C,M,N,D, we must take
C=(−r,0),D=(d+R,0).
(This was the error in the earlier draft: taking C=(r,0) contradicts the given order and changes the configuration.)
2. Circumcenter P of △ACD
Since C and D lie on the x-axis, the perpendicular bisector of CD is the vertical line through its midpoint, hence
P=(u,v),u=2(−r)+(d+R)=2d+R−r.
Impose PA=PC:
(u−x0)2+(v−y0)2=(u+r)2+v2.
Rearranging yields
2vy0=(u−x0)2−(u+r)2+y02.
Using x02+y02=r2, one simplifies
(u−x0)2−(u+r)2+y02=−2u(x0+r).
Therefore
v=−y0u(x0+r).
So
P=(2d+R−r,−2y0(d+R−r)(x0+r)).
3. Points E,F as second intersections on the line AP
Let w=P−A.
For a circle centered at the origin and a point A on it, the second intersection of the line A+tw with the circle is obtained from
∥A+tw∥2=r2,
and since ∥A∥2=r2 this gives
t=−⟨w,w⟩2⟨A,w⟩.
Thus we set
- E=A+tEw,tE=−⟨w,w⟩2⟨A,w⟩,
- F=A+tFw,tF=−⟨w,w⟩2⟨A−N,w⟩.
4. Orthocenter H of △PMN
Since MN is horizontal, the altitude from P=(u,v) is the vertical line x=u, hence H=(u,h).
The line PN has slope u−dv, so the altitude from M has slope −vu−d and equation
y=−vu−dx.
Intersecting with x=u gives
H=(u,−vu(u−d)).
Let ℓ be the line through H parallel to AP (i.e. with direction w).
5. Tangency criterion in coordinates
Let the circumcircle of △BEF be written as
x2+y2+αx+βy+γ=0.
Its center is (−2α,−2β) and radius squared is 4α2+β2−γ.
If ℓ has equation ax+by+c=0, then ℓ is tangent to the circle iff
(a(−2α)+b(−2β)+c)2=(a2+b2)(4α2+β2−γ).
In our situation, (α,β,γ) are the unique solution of the linear system obtained by plugging in B,E,F.
Substituting the explicit coordinates of B,E,F,H and w, and using only
x02+y02=r2,(x0−d)2+y02=R2,
the tangency condition simplifies to the identity 0=0.
6. Reproducible symbolic verification (SymPy)
The attached script sympy_check_corrected.py performs the elimination exactly as described:
- computes A,B,C,D,P,E,F,H in terms of (r,R,d),
- solves for the circle through B,E,F in the form x2+y2+αx+βy+γ=0,
- checks the cleared-denominator tangency equation.
It prints 0, i.e. the tangency identity holds.
7. Lean4 / mathlib skeleton
The attached Lean file ApTangent.lean:
- encodes the coordinate model with the corrected C=(−r,0),
- defines P,E,F,H algebraically,
- states the coordinate-form tangency goal as an existence statement of a circle equation through B,E,F tangent to the relevant line.
The main theorem is left as sorry (pure algebra), but the statement is now the correct goal, not True.
Compilation
$ lake env lean ApTangent.lean
ApTangent.lean:233:8: warning: declaration uses 'sorry'
Next formalization step
Replace the existential circle equation by an explicit construction (solve the 3×3 linear system in Lean using determinants / Cramer's rule) and then close the tangency identity with ring_nf + field_simp + nlinarith.