From: Claudio Sacerdoti Coen Date: Sat, 25 Apr 2009 20:29:06 +0000 (+0000) Subject: Apply subst implemented also for Fixpoints. X-Git-Tag: make_still_working~4051 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=dc83d986afedb519551b2509faa9f58e5baf022c;p=helm.git Apply subst implemented also for Fixpoints. --- diff --git a/helm/software/components/ng_tactics/nTacStatus.ml b/helm/software/components/ng_tactics/nTacStatus.ml index f0b00e561..eeca351c2 100644 --- a/helm/software/components/ng_tactics/nTacStatus.ml +++ b/helm/software/components/ng_tactics/nTacStatus.ml @@ -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 *) ;;