discourse vs treatise

discourse

noun
  • A formal lengthy exposition of some subject, either spoken or written. 

  • Expression in words, either speech or writing. 

  • An institutionalized way of thinking, a social boundary defining what can be said about a specific topic (after Michel Foucault). 

  • Any rational expression, reason. 

verb
  • To exercise reason; to employ the mind in judging and inferring; to reason. 

  • To engage in discussion or conversation; to converse. 

  • To write or speak formally and at length. 

treatise

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

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