Many of the functions in the DB structure return answers that involve
the class type, which is declared as
   datatype class = Thm | Axm | Def