Problem

Source: https://artofproblemsolving.com/community/c6h1740077p11309077

Tags: geometry, circumcircle, Concyclic, equal angles



Given $\vartriangle ABC$ with circumcenter $O$. Let $D$ be a point satisfying $\angle ABD = \angle DCA$ and $M$ be the midpoint of $AD$. Suppose that $BM,CM$ intersect circle $(O)$ at another points $E, F$, respectively. Let $P$ be a point on $EF$ so that $AP$ is tangent to circle $(O)$. Prove that $A, P,M,O$ are concyclic.