Last active
July 30, 2019 15:16
-
-
Save jpm61704/3d43fad5db08974162242d16ccdaa2b0 to your computer and use it in GitHub Desktop.
Π-Syn Contexts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
infix 5 _,_∶_ | |
data Context : Set where | |
∅ : Context | |
_,_∶_ : Context → Id → Expr → Context | |
infix 4 _∋_∶_ | |
data _∋_∶_ : Context → Id → Expr → Set where | |
here : ∀ {Γ x A} | |
----------------- | |
→ Γ , x ∶ A ∋ x ∶ A | |
there : ∀ {Γ x y A B} | |
→ x ≢ y | |
→ Γ ∋ x ∶ A | |
----------------- | |
→ Γ , y ∶ B ∋ x ∶ A | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment