(fun acc goal ->
match simplify_goal env goal ~passive active with
| _, g -> if find g acc then acc else g::acc)
- [] active_goals
+ active_goals active_goals
in
if List.length active_goals <> List.length simplified then
prerr_endline "SEMPLIFICANDO HO SCARTATO...";
~newmetasenv:metasenv ~oldmetasenv:proof_menv)
in
let goal_proof, side_effects_t =
- let initial = newproof in
+ let initial = Equality.add_subst subsumption_subst newproof in
Equality.build_goal_proof goalproof initial type_of_goal side_effects
in
(*prerr_endline (CicPp.pp goal_proof names);*)
- let goal_proof = Subst.apply_subst subsumption_subst goal_proof in
+ (* ?? *)
+ let goal_proof = (* Subst.apply_subst subsumption_subst *) goal_proof in
let side_effects_t =
List.map (Subst.apply_subst subsumption_subst) side_effects_t
in