Skip to content

Commit

Permalink
Fix hint locality for 8.17
Browse files Browse the repository at this point in the history
  • Loading branch information
wjbs committed Jan 21, 2025
1 parent d23b369 commit 380837c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CoreData/Proportional.v
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,16 @@ Create HintDb zx_prop_by_db discriminated.
colorswap_prop_by_compat : zx_prop_by_db.

(* For concrete examples with bad sizes *)
#[export]
Hint Extern 0 (?x ⟷ ?y ∝[?c] ?x ⟷ ?z) =>
apply (compose_prop_by_compat_r x y z) : zx_prop_by_db.
#[export]
Hint Extern 0 (?x ⟷ ?y ∝[?c] ?z ⟷ ?y) =>
apply (compose_prop_by_compat_l x z y) : zx_prop_by_db.
#[export]
Hint Extern 0 (?x ↕ ?y ∝[?c] ?x ↕ ?z) =>
apply (stack_prop_by_compat_r x y z) : zx_prop_by_db.
#[export]
Hint Extern 0 (?x ↕ ?y ∝[?c] ?z ↕ ?y) =>
apply (stack_prop_by_compat_l x z y) : zx_prop_by_db.

Expand Down

0 comments on commit 380837c

Please sign in to comment.