Towards Mathematical AI via a Model of the Content and Process of Mathematical Question and Answer Dialogues