Գրեք սա: A systematic derivation of the STG machine verified in Coq