publication vs treatise

publication

noun
  • The communication of information to the general public etc. 

  • The act of publishing printed or other matter. 

  • An issue of printed or other matter, offered for sale or distribution. 

treatise

noun
  • A formal, usually lengthy, systematic discourse on some subject. 

How often have the words publication and treatise occurred in a corpus of books? (source: Google Ngram Viewer )