working on implementing instance of FirstOrderTheory