Formal and systematic written discourse on some subject
A treatise is a formal and systematic written discourse on some subject concerned with investigating or exposing the principles of the subject and its conclusions. A monograph is a treatise on a specialized topic. Wikipedia