Skip to content

Commit

Permalink
Merge pull request #723 from PrincetonUniversity/issue772
Browse files Browse the repository at this point in the history
don't clear in quick_typecheck3; closes #772
  • Loading branch information
andrew-appel authored Sep 26, 2023
2 parents e5419da + cdb8339 commit 876df2b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions floyd/sc_set_load_store.v
Original file line number Diff line number Diff line change
Expand Up @@ -1783,16 +1783,12 @@ intros. eapply derives_trans; try eassumption; auto.
Qed.

Ltac quick_typecheck3 :=
clear;
repeat match goal with
| H := _ |- _ => clear H
| H : _ |- _ => clear H
end;
apply quick_derives_right; clear; go_lowerx; intros;
clear; repeat apply andp_right; auto; fail.
(* do not clear hyps anymore! See issue #772 *)
apply quick_derives_right; go_lowerx; intros;
repeat apply andp_right; auto; fail.

Ltac default_entailer_for_load_store :=
repeat match goal with H := _ |- _ => clear H end;
(* Don't clear! See issue #772 repeat match goal with H := _ |- _ => clear H end; *)
try quick_typecheck3;
unfold tc_efield, tc_LR, tc_LR_strong; simpl typeof;
try solve [entailer!].
Expand Down

0 comments on commit 876df2b

Please sign in to comment.