added mk_conj, mk_disj, mk_imp;
authorwenzelm
Mon, 04 Oct 1999 21:35:26 +0200
changeset 7692 89bbce6f5c17
parent 7691 b7e8277fa088
child 7693 c3e0c26e7d6f
added mk_conj, mk_disj, mk_imp;
src/FOL/fologic.ML
--- 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]);