src/HOL/Tools/ATP/atp_problem.ML
changeset 74153 46f66e821f5c
parent 74075 a5bab59d580b
child 74162 304f22435bc7
--- a/src/HOL/Tools/ATP/atp_problem.ML	Sun Aug 15 15:26:09 2021 +0200
+++ b/src/HOL/Tools/ATP/atp_problem.ML	Mon Aug 16 13:00:55 2021 +0200
@@ -501,6 +501,10 @@
             s ^ "(" ^ declaration ^ ", " ^ definition ^ ", " ^ usage ^ ")"
             end
         | _ => app ())
+      else if s = tptp_ite then
+        (case ts of
+          [t1, t2, t3] => s ^ "(" ^ of_term t1 ^ ", " ^ of_term t2 ^ ", " ^ of_term t3 ^ ")"
+        | _ => app ())
       else if s = tptp_choice then
         (case ts of
           [AAbs (((s', ty), tm), args)] =>