rewriting formal.tex ...