diff options
Diffstat (limited to 'contrib/firstorder')
| -rw-r--r-- | contrib/firstorder/g_ground.ml4 | 2 | ||||
| -rw-r--r-- | contrib/firstorder/rules.ml | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/contrib/firstorder/g_ground.ml4 b/contrib/firstorder/g_ground.ml4 index 3ee1db14c9..d7c5b66ae7 100644 --- a/contrib/firstorder/g_ground.ml4 +++ b/contrib/firstorder/g_ground.ml4 @@ -89,7 +89,7 @@ let defined_connectives=lazy [],EvalConstRef (destConst (constant "iff"))] let normalize_evaluables= - onAllClauses + onAllHypsAndConcl (function None->unfold_in_concl (Lazy.force defined_connectives) | Some id-> diff --git a/contrib/firstorder/rules.ml b/contrib/firstorder/rules.ml index 91607ec40f..fc31ee6fc7 100644 --- a/contrib/firstorder/rules.ml +++ b/contrib/firstorder/rules.ml @@ -208,9 +208,8 @@ let defined_connectives=lazy all_occurrences,EvalConstRef (destConst (constant "iff"))] let normalize_evaluables= - onAllClauses + onAllHypsAndConcl (function None->unfold_in_concl (Lazy.force defined_connectives) - | Some ((_,id),_)-> - unfold_in_hyp (Lazy.force defined_connectives) - ((Rawterm.all_occurrences_expr,id),InHypTypeOnly)) + | Some id -> + unfold_in_hyp (Lazy.force defined_connectives) (id,InHypTypeOnly)) |
