Simplify the syntax by combining proj1 and proj2

This commit is contained in:
Yiyun Liu 2024-12-22 10:38:58 -05:00
parent e8ec23a3e7
commit ccbb9a1395
3 changed files with 109 additions and 145 deletions

View file

@ -1,8 +1,9 @@
Tm(VarTm) : Type
-- nat : Type
PTag : Type
PL : PTag
PR : PTag
Abs : (bind Tm in Tm) -> Tm
App : Tm -> Tm -> Tm
Pair : Tm -> Tm -> Tm
Proj1 : Tm -> Tm
Proj2 : Tm -> Tm
Proj : PTag -> Tm -> Tm