src/FOL/fologic.ML
changeset 7692 89bbce6f5c17
parent 6140 af32e2c3f77a
child 9473 7d13a5ace928
--- a/src/FOL/fologic.ML	Mon Oct 04 21:34:20 1999 +0200
+++ b/src/FOL/fologic.ML	Mon Oct 04 21:35:26 1999 +0200
@@ -13,6 +13,9 @@
   val conj		: term
   val disj		: term
   val imp		: term
+  val mk_conj		: term * term -> term
+  val mk_disj		: term * term -> term
+  val mk_imp		: term * term -> term
   val dest_imp	       	: term -> term*term
   val all_const		: typ -> term
   val mk_all		: term * term -> term
@@ -42,6 +45,10 @@
 and disj = Const("op |", [oT,oT]--->oT)
 and imp = Const("op -->", [oT,oT]--->oT);
 
+fun mk_conj (t1, t2) = conj $ t1 $ t2
+and mk_disj (t1, t2) = disj $ t1 $ t2
+and mk_imp (t1, t2) = imp $ t1 $ t2;
+
 fun dest_imp (Const("op -->",_) $ A $ B) = (A, B)
   | dest_imp  t = raise TERM ("dest_imp", [t]);