many improvements (theorem-proof-structure for constant function; corrected errors)