src/HOL/TPTP/mash_export.ML
changeset 57005 33f3d2ea803d
parent 55212 5832470d956e
child 57055 df3a26987a8d
--- a/src/HOL/TPTP/mash_export.ML	Mon May 19 19:17:15 2014 +0200
+++ b/src/HOL/TPTP/mash_export.ML	Mon May 19 23:43:53 2014 +0200
@@ -75,7 +75,7 @@
         val name = nickname_of_thm th
         val feats =
           features_of ctxt (theory_of_thm th) 0 Symtab.empty stature false [prop_of th] |> map fst
-        val s = encode_str name ^ ": " ^ encode_plain_features (sort_wrt hd feats) ^ "\n"
+        val s = encode_str name ^ ": " ^ encode_unweighted_features (sort_wrt hd feats) ^ "\n"
       in File.append path s end
   in List.app do_fact facts end
 
@@ -194,8 +194,7 @@
             |> map fst |> sort_wrt hd
           val update =
             "! " ^ encode_str name ^ ": " ^ encode_strs parents ^ "; " ^
-            encode_plain_features nongoal_feats ^ "; " ^ marker ^ " " ^
-            encode_strs deps ^ "\n"
+            encode_unweighted_features nongoal_feats ^ "; " ^ marker ^ " " ^ encode_strs deps ^ "\n"
         in query ^ update end
       else
         ""