]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_tactics/nTacStatus.ml
Inductive definitions are now interpreted (but records are not interpreted yet).
[helm.git] / helm / software / components / ng_tactics / nTacStatus.ml
index f0b00e561dbc7d26c21ebc4d469becb5faa0349e..eeca351c228f01462ce591e70569109d7c2642c4 100644 (file)
@@ -352,6 +352,14 @@ let apply_subst_obj subst =
      NCic.Constant
       (relev,name,HExtlib.map_option (apply_subst subst []) bo,
         apply_subst subst [] ty,attrs)
+  | NCic.Fixpoint (ind,fl,attrs) ->
+     let fl =
+      List.map
+       (function (relevance,name,recno,ty,bo) ->
+         relevance,name,recno,apply_subst subst [] ty,apply_subst subst [] bo
+       ) fl
+     in
+      NCic.Fixpoint (ind,fl,attrs)
   | _ -> assert false (* not implemented yet *)
 ;;