in
if l = [] then t' else C.Appl (t'::l)
and reduceaux_exp_named_subst context l =
- List.map (function uri,t -> uri,reduceaux context l t)
+ List.map (function uri,t -> uri,reduceaux context [] t)
in
reduceaux context []
;;
if l = [] then t' else C.Appl (t'::l)
end
| C.Constant (_,None,_,_) ->
- let exp_named_subst' =
- reduceaux_exp_named_subst context l exp_named_subst
- in
- let t' = C.Const (uri,exp_named_subst') in
- if l = [] then t' else C.Appl (t'::l)
+ let t' = C.Const (uri,exp_named_subst') in
+ if l = [] then t' else C.Appl (t'::l)
| C.Variable _ -> raise ReferenceToVariable
| C.CurrentProof (_,_,body,_,_) -> reduceaux context l body
| C.InductiveDefinition _ -> raise ReferenceToInductiveDefinition
in
if l = [] then t' else C.Appl (t'::l)
and reduceaux_exp_named_subst context l =
- List.map (function uri,t -> uri,reduceaux context l t)
+ List.map (function uri,t -> uri,reduceaux context [] t)
in
reduceaux context []
;;