[C-:1]#[N:2].[K+].CO.Cl.CN([CH2:10][CH:11]1[CH2:16][S:15][C:14]2[S:17][CH:18]=[CH:19][C:13]=2[C:12]1=[O:20])C>O>[O:20]=[C:12]1[CH:11]([CH2:10][C:1]#[N:2])[CH2:16][S:15][C:14]2[S:17][CH:18]=[CH:19][C:13]1=2To a solution of 25.3 g of potassium cyanide in 100 ml of water is added 400 ml of methanol and to the solution is added 41 g of 5-dimethylaminomethyl-5,6-dihydro-4H-thieno[2,3-b]thiopyran-4-one hydrochloride with stirring. The mixture is stirred for 3 hours at 45°-50° C. and then concentrated under reduced pressure. To the residue is added water and the mixture is extracted with chloroform. The extract is washed with water, dried over magnesium sulfate and the chloroform is distilled off. The residue is subjected to chromatography on silica gel and eluted with chloroform to give 28 g of 4-oxo-5,6-dihydro-4H-thieno[2,3-b]thiopyran-5-acetonitrile as pale brown oil.