diff options
Diffstat (limited to 'proofs')
| -rw-r--r-- | proofs/goal.ml | 2 | ||||
| -rw-r--r-- | proofs/logic.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proofs/goal.ml b/proofs/goal.ml index c076cd676c..6b672d2cbb 100644 --- a/proofs/goal.ml +++ b/proofs/goal.ml @@ -385,7 +385,7 @@ let convert_hyp check (id,b,bt as d) env rdefs gl info = (fun _ (_,c,ct) _ -> if check && not (Reductionops.is_conv env sigma bt ct) then Errors.error ("Incorrect change of the type of "^(Names.string_of_id id)); - if check && not (Option.Misc.compare (Reductionops.is_conv env sigma) b c) then + if check && not (Option.equal (Reductionops.is_conv env sigma) b c) then Errors.error ("Incorrect change of the body of "^(Names.string_of_id id)); d) in diff --git a/proofs/logic.ml b/proofs/logic.ml index 725f16b8ef..b8341f1aad 100644 --- a/proofs/logic.ml +++ b/proofs/logic.ml @@ -472,7 +472,7 @@ let convert_hyp sign sigma (id,b,bt as d) = let env = Global.env_of_context sign in if !check && not (is_conv env sigma bt ct) then error ("Incorrect change of the type of "^(string_of_id id)^"."); - if !check && not (Option.Misc.compare (is_conv env sigma) b c) then + if !check && not (Option.equal (is_conv env sigma) b c) then error ("Incorrect change of the body of "^(string_of_id id)^"."); if !check then reorder := check_decl_position env sign d; d) in |
