Exchange Rule
In logic and type theory, the exchange rule is a
Structural
Rule that lets you permute elements of the context.
For systems based off of Natural
Deduction, exchange rules take the form of
For Sequent
Calculi, we need to add both Left and Right Rules,
ala
|
|
|
|
|
|
An equivalent presentation involves adding in Permutations to
the calculus of Substitutions,
which makes the resulting Category of
Contexts a Symmetric
Monoidal Category.
Note that exchange is a bit tricky in the presence of Dependent
Types, as applying an exchange rule can make things
ill-typed.