C([C:3](=[C:9]([O:15][CH2:16][CH3:17])[CH:10]=[CH:11][N:12](C)[CH3:13])[C:4]([O:6][CH2:7][CH3:8])=[O:5])#N.CC(O)=[O:20]>>[CH2:16]([O:15][C:9]1[CH:10]=[CH:11][NH:12][C:13](=[O:20])[C:3]=1[C:4]([O:6][CH2:7][CH3:8])=[O:5])[CH3:17]A mixture of ethyl 2-cyano-5-(dimethylamino)-3-ethoxypenta-2,4-dienoate (150 g, 0.63 mol) and HOAc (600 mL) was refluxed overnight. The mixture was concentrated to dryness under high vacuum, treated with water (300 mL) and washed with EtOAc (2×250 mL) to remove the impurities. The pH of the aqueous was adjusted with NaHCO3 to pH˜9-10. The mixture was extracted with DCM (3×300 mL). The combined organics were washed with brine, dried over Na2SO4 and concentrated. The residue was purified by silica gel chromatography to afford ethyl 4-ethoxy-2-oxo-1,2-dihydropyridine-3-carboxylate (90 g, 66.6% yield).