Let ℓD,ℓE,ℓF be the Simson lines of D,E,F with respect to triangle ABC and let X=ℓE∩ℓF, Y=ℓF∩ℓD and Z=ℓD∩ℓE. Let D′,E′,F′ be the midpoints of HD,HE,HF, respectively, and let H′ be the orthocentre of △.
Note that ℓD passes through D′. This is a well-known fact about Simson lines. For the sake of completeness we provide a proof: Let DB and DC be the reflections of D in AB and AC, respectively. As the quadrangles AHBDB and AHCDC are both cyclic, ∠AHDB+∠AHDC=∠ABDB+∠ACDC=∠ABD+∠ACD=180∘, so DB,H,DC are collinear. A factor 21 homothety from D settles the case.
Claim 1. The quadrangles HE′XF′,HF′YD′,HD′ZE′ are cyclic.
Proof. Let rE and rF be the rays from A isogonal in ∠BAC to rays AE and AF, respectively. Note that rE⊥ℓE and rF⊥ℓF to write ∠E′XF′=∠(rE,rF)=180∘−∠EAF=∠EDF=180∘−∠E′HF′. Hence HE′XF′ is cyclic. Similarly, HF′YD′ and HD′ZE′ are both cyclic.
Claim 2. H is the circumcentre of △.
Proof. As H is also the orthocentre of triangle D′E′F′, it follows that ∠HYZ=∠HF′D′=∠HE′D′=∠HZY, so HY=HZ. Similarly, HX=HY and the claim follows.
As D′,E′,F′ lie on the nine-point circle of triangle DEF, the midpoint O′ of OH is the circumcentre of triangle D′E′F′. Proving that H′ lies on the circle on diameter OH is equivalent to proving O′H′=O′H. The conclusion is then a consequence of Claim 3 below applied to △ and points D′,E′,F′.
Claim 3. Let ABC be a triangle with orthocentre H and circumcentre O=H. Let X,Y,Z be points on the sides BC,CA,AB, respectively, such that circles AYZ,BZX,CXY are concurrent at O. Then the circumcentre of triangle XYZ lies on the perpendicular bisectrix of OH.
Proof. Note that triangles YOZ and BHC are similar and the like. Then so are XYZO and ABCH. Letting O′ be the circumcentre of triangle XYZ, it follows that XYZOO′ and ABCHO are also similar. In particular, triangles XOO′ and AHO are similar. Varying X along the line BC shows that O′ is the image of X under a spiral-similarity from O. Consequently, O′ lies on some fixed line ℓ.
As AH and BC are perpendicular, the angle formed by ℓ and OH is equal to the angle formed by OH and the image of BC under a rotation through ∠AHO=90∘. Letting X,Y,Z be the midpoints of BC,CA,AB, respectively, it follows that ℓ passes through the midpoint of OH. Combining these two observations, it follows that ℓ is perpendicular bisectrix of OH, as desired. This ends the proof and completes the solution.