[OH:1][C:2]1[CH:3]=[C:4]([CH:7]=[CH:8][C:9]=1[OH:10])[CH:5]=[O:6].Br[C:12](Br)([C:18]([O:20][CH2:21][CH3:22])=[O:19])[C:13]([O:15][CH2:16][CH3:17])=[O:14].C(=O)([O-])[O-].[K+].[K+]>C(#N)C>[CH:5]([C:4]1[CH:7]=[CH:8][C:9]2[O:10][C:12]([C:13]([O:15][CH2:16][CH3:17])=[O:14])([C:18]([O:20][CH2:21][CH3:22])=[O:19])[O:1][C:2]=2[CH:3]=1)=[O:6]One equivalent of 3,4-dihydroxybenzaldehyde, 1.1 equivalents of diethyl dibromomalonate and powdered potassium carbonate is stirred in acetonitrile at room temperature for 18 hours. The reaction mixture is filtered, evaporated in vacuo, and distilled to give diethyl 5-formyl-1,3-benzodioxole-2,2-dicarboxylate.