C[O:2][C:3]1[CH:8]=[C:7]([C:9]([F:12])([F:11])[F:10])[O:6]C(=O)[CH:4]=1.[CH3:14][O-:15].[Mg+2].[CH3:17][O-:18].Cl>>[F:10][C:9]([F:12])([F:11])[C:7](=[O:6])[CH2:8][C:3](=[O:2])[CH2:4][C:14]([O:18][CH3:17])=[O:15]A solution of 4-methoxy-6-trifluoromethylpyran-2-one (10 g, 52 mmol) in a methanolic magnesium methanolate solution (8.5% Mg(OMe)2, 62.8 g, 61 mmol) was heated under reflux for 2 hours. Concentrated aqueous HCl (25.5 g, 250 mmol) was added to the reaction solution, and the mixture was heated under reflux for a further 2 hours, then cooled and concentrated in vacuo to about 20% of the initial volume. The residue was mixed with 10 mL each of methylene chloride and water. The organic phase was separated off, washed with water, dried over sodium sulfate and concentrated. Kugelrohr distillation at 0.04 mbar and about 160° C. afforded methyl 6,6,6-trifluoro-3,5-dioxohexanoate (2.8 g, 13 mmol, 26%) as a pale yellow oil.