Merge pull request #524 from mdimjasevic/debruijn-subst-indent

De Bruijn: changes the indentation of function arguments for consistency
This commit is contained in:
Philip Wadler 2020-10-02 15:34:50 +01:00 committed by GitHub
commit 47d08d71fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -692,10 +692,10 @@ variables it is easy to define the special case of
substitution for one free variable:
```
_[_] : ∀ {Γ A B}
→ Γ , B ⊢ A
→ Γ ⊢ B
---------
→ Γ ⊢ A
→ Γ , B ⊢ A
→ Γ ⊢ B
---------
→ Γ ⊢ A
_[_] {Γ} {A} {B} N M = subst {Γ , B} {Γ} σ {A} N
where
σ : ∀ {A} → Γ , B ∋ A → Γ ⊢ A