N-Nitroso-4,5-dihydropyrazoles obtained from ethyl(methyl) 5-aryl-4,6-dioxo-1,3a,4,5,6,6a-hexahydropyrrolo[3,4-c]pyrazole-3-carboxylates and ethyl(methyl) 7-aryl-6,8-dioxo-1,2,7-triazaspiro[4.4]non-2-ene-3-carboxylates eliminate nitrogen molecule on heating to afford the corresponding 4,5-dihydroisoxazole derivatives.