File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,13 @@ let tac_solve : popt -> proof_state -> proof_state = fun pos ps ->
89
89
fatal pos " Unification goals are unsatisfiable." ;
90
90
(* compute the new list of goals by preserving the order of initial goals
91
91
and adding the new goals at the end *)
92
- let non_instantiated = function
93
- | Typ gt -> ! (gt.goal_meta.meta_value) = None
94
- | _ -> assert false
92
+ let non_instantiated g =
93
+ match g with
94
+ | Typ gt when ! (gt.goal_meta.meta_value) = None ->
95
+ Some (Goal. simpl Eval. simplify g)
96
+ | _ -> None
95
97
in
96
- let gs_typ = List. filter non_instantiated gs_typ in
98
+ let gs_typ = List. filter_map non_instantiated gs_typ in
97
99
let is_eq_goal_meta m = function
98
100
| Typ gt -> m == gt.goal_meta
99
101
| _ -> assert false
You can’t perform that action at this time.
0 commit comments