Problem

Source: Mathematics Regional Olympiad of Mexico Southeast 2023 P2

Tags: geometry, collinear



Let $ABC$ be an acute-angled triangle, $D$ be the foot of the altitude from $A$, the circle with diameter $AD$ intersect $AB$ at $F$ and $AC$ at $E$. Let $P$ be the orthocenter of triangle $AEF$ and $O$ be the circumcenter of $ABC$. Prove that $A, P,$ and $O$ are collinear.