Correction to: Nature https://doi.org/10.1038/s41586-019-1183-6, published online 15 May 2019.

In this Letter, two of the authors (S.E.M. and E.G.) noticed errors in Extended Data Fig. 5, the legend of Fig. 2, the legend of Extended Data Fig. 7 and reference 41. In the key of Extended Data Fig. 5 the pink (carbonated eclogite experiments) and yellow (carbonated peridotite experiments) star symbols have been swapped. In the legend of Fig. 2c, “and eclogite” has been deleted from the text “with experimental data from melting carbonated peridotite and eclogite”. In the first two sentences of the legend of Extended Data Fig. 7, “silica-undersaturated” has been replaced with “silica-saturated” twice. Reference 41, which is cited in the Methods section ‘Bulk rock sample preparation’, should read: “41. He, Z. et al. A flux-free fusion technique for rapid determination of major and trace elements in silicate rocks by LA-ICP-MS. Geostand. Geoanal. Res. 40, 5–21 (2016).” instead of “41. He, Y. et al. High-precision iron isotope analysis of geological reference materials by high-resolution MC-ICP-MS. Geostand. Geoanal. Res. 39, 341–356 (2015).” . These errors have been corrected in the online version of the Letter.