Methyl vinyl ketone and ethyl acetoacetate undergo aldol cyclization in the presence of catalytic pyrrolidinum acetate or Triton B or sodium ethoxide to produce Hagemann's ester. This variant is a type of Robinson annulation.