Skip to content

Commit

Permalink
Merge pull request #134 from SkySkimmer/no-vm
Browse files Browse the repository at this point in the history
Don't use vmcast to convert the reified goal and actual goal
  • Loading branch information
palmskog authored Feb 27, 2024
2 parents 3fc2fb1 + 61126b5 commit fcd4c3f
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 ~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

0 comments on commit fcd4c3f

Please sign in to comment.