Conversation

Is there something—maybe in dependent-types land—for making contexts explicit in types? Say, in a lambda rule: Γ, x:A ⊢ y : B ⇒ Γ ⊢ (λx:A. y) : A → B The premise could be thought of as: Γ ⊢ y : {x:A} ⊦ B Where ‘Δ ⊦ T’ = “‘T’ with free variables ‘Δ’”. Feels coeffecty…
3
6
Indeed it is. Pfenning&Davies' s modal type theory lets you drop *all* of your current environment inside `box`, and CMTT which was pioneered by Nanevski et. al. (if I'm not mistaken) lets you specify which part of the environment you get to keep.
4