plfa.github.io
plfa.github.io copied to clipboard
Bug in appendix Substitution
Section The σ algebra equations contains the equation
(sub-abs) ⟪ σ ⟫ (ƛ N) ≡ ƛ ⟪ σ ⟫ N
This is wrong, as is the subsequent discussion ("The equations sub-app and sub-abs says that substitution is a congruence for the lambda calculus. ") Later, the correct equation is stated and proved.
sub-abs : ∀{Γ Δ} {σ : Subst Γ Δ} {N : Γ , ★ ⊢ ★}
→ ⟪ σ ⟫ (ƛ N) ≡ ƛ ⟪ (` Z) • (σ ⨟ ↑) ⟫ N
Thanks for noticing this! I've made a pull request to fix it.
It seems this issue can be closed.