This is a question I met in some notes. I need some help here.
Let $ABC$ be an acute triangle and let $AA_1, BB_1, CC_1$ be its altitudes. Segments $AA_1$ and $B_1C_1$ meet at $K$. The perpendicular bisector of segment $A_1K$ intersects sides $AB$ and $AC$ at $L$ and $M$ respectively. Prove that points $A, A_1, L$ and $M$ lie on a circle.
Can anyone help?

For reasons of (parallel lines, angles in the same segment, and properties of orthic triangle), all the blue marked angles are equal. In particular $\phi = \phi’$.
Let LM meet $BB_1$ at N’, and $CC_1$ at N. Since LN’NM is the perpendicular bisector of $KA_1$, a circle can be drawn through K, L, $A_1$ with its diameter being part of LM. $\angle LC_1N = 90^{\circ}$ confirms that LN is its diameter.
Added: A circle passing through $K, L, A_1$ can definitely be formed. Note that LM is the perpendicular bisector of $KA_1$. This means the center of that circle is somewhere on LM. This also means the diameter of that circle lies on LM. By converse of "angles in semi-circle", if $\angle LC_1N = 90^{\circ}$, then LN is the diameter of that circle.
This means N, K, $C_1$, L, $A_1$ are con-cyclic. Therefore, $\phi’’ = \phi = \phi’$.
Required result follows.