Skip to content

Commit

Permalink
Add aux def for notation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailrun committed Jan 21, 2024
1 parent 7622a6c commit bb7c87c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions theories/Core/Semantic/PER.v
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
From Coq Require Import Lia PeanoNat Relations.
From Mcltt Require Import Base Domain Evaluate Readback Syntax System.

Notation "'Dom' a ≈ b ∈ R" := (R a b) (in custom judg at level 90, a custom domain, b custom domain, R constr, only parsing).
Notation "'Exp' a ≈ b ∈ R" := (R a b) (in custom judg at level 90, a custom exp, b custom exp, R constr, only parsing).
Definition in_rel {A} (R : relation A) := R.

Notation "'Dom' a ≈ b ∈ R" := (in_rel R a b) (in custom judg at level 90, a custom domain, b custom domain, R constr).
Notation "'Exp' a ≈ b ∈ R" := (in_rel R a b) (in custom judg at level 90, a custom exp, b custom exp, R constr).

Generalizable All Variables.

Expand Down

0 comments on commit bb7c87c

Please sign in to comment.