canndrew / malk-agda

Attempt at a formalised implementation of a dependent type theory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weakening rules are broken.

canndrew opened this issue · comments

Currently there's no way to weaken an eliminator. This means it's (eg.) impossible to apply a function variable f to an argument unless f is the inner variable in the context.

Also, being able to weaken arbitrary types and terms means that some equivalent types/terms can be constructed in multiple ways depending on where we put TWeaken.