Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use vmcast to convert the reified goal and actual goal #134

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ~cast:true ~check:true convert_to Constr.VMcast in
let convert = Tactics.convert_concl ~cast:true ~check:true convert_to Constr.DEFAULTcast 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 ~cast:true ~check:true convert_to Constr.VMcast in
let convert = Tactics.convert_concl ~cast:true ~check:true convert_to Constr.DEFAULTcast in
let apply_tac = Tactics.apply normalise_thm in
Tacticals.tclTHENLIST
[ Coq.tclRETYPE normalise_thm; Coq.tclRETYPE convert_to;
Expand Down
Loading