[NH:1]1[CH2:6][CH2:5][CH2:4][CH2:3][C:2]1=[CH:7][C:8]([O:10][CH3:11])=[O:9].C(C1(C)[O:19][C:18](=O)[CH:17]=[C:16]([CH3:21])O1)C>C1(C)C(C)=CC=CC=1>[CH3:21][C:16]1[N:1]2[C:2]([CH2:3][CH2:4][CH2:5][CH2:6]2)=[C:7]([C:8]([O:10][CH3:11])=[O:9])[C:18](=[O:19])[CH:17]=1A mixture of 3.10 g of methyl α-(hexahydro-2-pyridinylidene)acetate and 10 ml of xylene was gently refluxed, to which a solution of 7.81 g of 2-ethyl-2,6-dimethyl-4H-1,3-dioxin-4-one in 10 ml of xylene was dropwise added, taking 20 minutes. The mixture was further refluxed for 2 hours, removing the by-product a methyl ethyl ketone through Dean-Stark apparatus. The reaction mixture was cooled to room temperature. The resultant crystals were filtered, washed and dried under reduced pressure to obtain 4.11 g (Yield 93%) of methyl 6,7,8,9-tetrahydro-4-methyl-2-oxo-2H-quinolizine-1-carboxylate.