Skip to content

Commit

Permalink
Allow prove_eq_by_Proper to prove Proper instances recursively and by…
Browse files Browse the repository at this point in the history
… assumption

For mit-plv/fiat-crypto#1778
  • Loading branch information
JasonGross committed Dec 23, 2023
1 parent 604362b commit 83e5c7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Rewriter/Rewriter/ProofsCommonTactics.v
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,10 @@ Module Compilers.
[ now
let H := fresh in
cbv [Proper respectful] in *;
intro H; eapply H; intros; subst; eauto
intro H; eapply H; intros; subst; eauto;
prove_eq_by_Proper
| first [ now typeclasses eauto
| now cbv [Proper respectful] in *; typeclasses eauto with core
| idtac "WARNING: Could not find Proper instance";
clear;
print_context_and_goal ();
Expand Down

0 comments on commit 83e5c7e

Please sign in to comment.