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 clear in quick_typecheck3; closes #722 #723

Merged
merged 1 commit into from
Sep 26, 2023
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
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
Loading