Skip to content

Commit

Permalink
Merge pull request #88 from SkySkimmer/revertcast
Browse files Browse the repository at this point in the history
Adapt to coq/coq#14773 (convert_concl has a ~cast argument)
  • Loading branch information
SkySkimmer committed Oct 9, 2021
2 parents e3ed8f9 + 71b20b3 commit cba7dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aac_rewrite.ml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ let by_aac_reflexivity zero
(* This convert is required to deal with evars in a proper
way *)
let convert_to = mkApp (r, [| mkApp (eval,[| t |]); mkApp (eval, [|t'|])|]) in
let convert = Tactics.convert_concl ~check:true convert_to Constr.VMcast in
let convert = Tactics.convert_concl ~cast:true ~check:true convert_to Constr.VMcast in
let apply_tac = Tactics.apply decision_thm in
let open Proofview in
Coq.tclRETYPE decision_thm
Expand Down Expand Up @@ -167,7 +167,7 @@ let by_aac_normalise zero lift ir t t' =
(* This convert is required to deal with evars in a proper
way *)
let convert_to = mkApp (rlt.Coq.Relation.r, [| mkApp (eval,[| t |]); mkApp (eval, [|t'|])|]) in
let convert = Tactics.convert_concl ~check:true convert_to Constr.VMcast in
let convert = Tactics.convert_concl ~cast:true ~check:true convert_to Constr.VMcast in
let apply_tac = Tactics.apply normalise_thm in
Tacticals.New.tclTHENLIST
[ Coq.tclRETYPE normalise_thm; Coq.tclRETYPE convert_to;
Expand Down

0 comments on commit cba7dba

Please sign in to comment.