Xmonad from Coq: Programming a Window Manager with a Proof Assistant (2012) [pdf]
staff.science.uu.nl
staff.science.uu.nl
PDF: https://web.cs.dal.ca/~nzeh/xmonad/Navigation2D.pdf
Module: https://hackage.haskell.org/package/xmonad-contrib-0.13/docs...
And while I agree that a formally verified X window manager seems a bit silly, a formally verified Wayland compositor would be a great idea given their broad scope of responsibilities.