\input amstex \operatorname{nzs}\left(\frac{a}{b},\frac{c}{d}\right) = \frac{\operatorname{nzs}(a,c)}{\operatorname{nzd}(b,d)}