Skip to content

Mismatch between haskell code and deduction rule#1248

Merged
Gabriella439 merged 2 commits intodhall-lang:masterfrom
hagl:substitution_typo
Dec 10, 2021
Merged

Mismatch between haskell code and deduction rule#1248
Gabriella439 merged 2 commits intodhall-lang:masterfrom
hagl:substitution_typo

Conversation

@hagl
Copy link
Copy Markdown
Contributor

@hagl hagl commented Dec 3, 2021

Probably copy paste bug from the other Forall pattern, since the variables are named differently.
This is the deduction rule:

    A₀[x@n ≔ e₀] = A₁   ↑(1, y, 0, e₀) = e₁   B₀[x@n ≔ e₁] = B₁
    ───────────────────────────────────────────────────────────  ; x ≠ y
    (∀(y : A₀) → B₀)[x@n ≔ e₀] = ∀(y : A₁) → B₁

This would be caught by the alpha-normalizatifon/success/unit/FunctionTypeNestedBindingX test, when the complete testsuite is run.

@Gabriella439 Gabriella439 merged commit fda762a into dhall-lang:master Dec 10, 2021
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

Successfully merging this pull request may close these issues.

3 participants