Skip to content

Commit

Permalink
Specify the #[local] hint locality
Browse files Browse the repository at this point in the history
  • Loading branch information
pi8027 committed Jun 7, 2024
1 parent 03bb7e4 commit f72c903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/usual_stable.v
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Definition eqr {T} (r : rel T) : rel T := [rel x y | r x y && r y x].

Lemma eqr_sym {T} (r : rel T) : symmetric (eqr r).
Proof. by move=> x y; apply/andP/andP => -[]. Qed.
Hint Resolve eqr_sym : core.
#[local] Hint Resolve eqr_sym : core.

Lemma eqrW {T} (r : rel T) : subrel (eqr r) r.
Proof. by move=> x y /andP[]. Qed.
Expand Down

0 comments on commit f72c903

Please sign in to comment.