Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in appendix Substitution #1013

Open
wadler opened this issue Jul 12, 2024 · 1 comment
Open

Bug in appendix Substitution #1013

wadler opened this issue Jul 12, 2024 · 1 comment
Assignees

Comments

@wadler
Copy link
Member

wadler commented Jul 12, 2024

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
@jsiek
Copy link
Collaborator

jsiek commented Jul 14, 2024

Thanks for noticing this! I've made a pull request to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants