src/HOL/Tools/ATP/atp_translate.ML
changeset 45520 2b1dde0b1c30
parent 45519 cd6e78cb6ee8
child 45551 a62c7a21f4ab
--- a/src/HOL/Tools/ATP/atp_translate.ML	Wed Nov 16 13:22:36 2011 +0100
+++ b/src/HOL/Tools/ATP/atp_translate.ML	Wed Nov 16 16:35:19 2011 +0100
@@ -37,7 +37,6 @@
   val combinatorsN : string
   val hybrid_lamsN : string
   val keep_lamsN : string
-  val smartN : string
   val schematic_var_prefix : string
   val fixed_var_prefix : string
   val tvar_prefix : string
@@ -127,7 +126,6 @@
 val combinatorsN = "combinators"
 val hybrid_lamsN = "hybrid_lams"
 val keep_lamsN = "keep_lams"
-val smartN = "smart"
 
 (* TFF1 is still in development, and it is still unclear whether symbols will be
    allowed to have types like "$tType > $o" (i.e., "![A : $tType] : $o"), with
@@ -2344,10 +2342,8 @@
       else
         SOME false
     val lam_trans =
-      if lam_trans = smartN then
-        if is_type_enc_higher_order type_enc then keep_lamsN else combinatorsN
-      else if lam_trans = keep_lamsN andalso
-              not (is_type_enc_higher_order type_enc) then
+      if lam_trans = keep_lamsN andalso
+         not (is_type_enc_higher_order type_enc) then
         error ("Lambda translation scheme incompatible with first-order \
                \encoding.")
       else