Skip to content

Commit 83e5c7e

Browse files
committed
Allow prove_eq_by_Proper to prove Proper instances recursively and by assumption
For mit-plv/fiat-crypto#1778
1 parent 604362b commit 83e5c7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Rewriter/Rewriter/ProofsCommonTactics.v

+3-1
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,10 @@ Module Compilers.
490490
[ now
491491
let H := fresh in
492492
cbv [Proper respectful] in *;
493-
intro H; eapply H; intros; subst; eauto
493+
intro H; eapply H; intros; subst; eauto;
494+
prove_eq_by_Proper
494495
| first [ now typeclasses eauto
496+
| now cbv [Proper respectful] in *; typeclasses eauto with core
495497
| idtac "WARNING: Could not find Proper instance";
496498
clear;
497499
print_context_and_goal ();

0 commit comments

Comments
 (0)