src/HOL/Codatatype/Tools/bnf_fp_util.ML
changeset 49141 aca966dc18f6
parent 49134 846264f80f16
child 49156 2a361e09101b
--- a/src/HOL/Codatatype/Tools/bnf_fp_util.ML	Wed Sep 05 09:54:20 2012 +0200
+++ b/src/HOL/Codatatype/Tools/bnf_fp_util.ML	Wed Sep 05 09:58:37 2012 +0200
@@ -254,6 +254,8 @@
 fun mk_tactics mid mcomp mcong snat bdco bdinf sbd inbd wpull =
   [mid, mcomp, mcong] @ snat @ [bdco, bdinf] @ sbd @ [inbd, wpull];
 
+(* FIXME: because of "@ lhss", the output could contain type variables that are not in the input;
+   also, "fp_sort" should put the "resBs" first and in the order in which they appear *)
 fun fp_sort lhss Ass = Library.sort (Term_Ord.typ_ord o pairself TFree)
   (subtract (op =) lhss (fold (fold (insert (op =))) Ass [])) @ lhss;