Skip to content

Potential fix for #3027 modulo regressions - #4439

Closed
vlopezj wants to merge 1 commit into
masterfrom
issue3027
Closed

vlopezj wants to merge 1 commit into
masterfrom
issue3027

Conversation

@vlopezj

@vlopezj vlopezj commented Feb 11, 2020

Copy link
Copy Markdown
Collaborator

This is a potential fix for issue #3027. The current rule for comparing the types of two binders (i.e. two domains) will introduce a variable whose type is a blocked constant when comparing the codomains. This prevents some potential issues (such as the variable being wrongly η-expanded) but still leads to fundamentally ill-typed terms that can lead, f.ex. to ill-typed metavariable instantiations which cause of the titular issue.

We propose to instead replace the variable by a blocked constant on one side of the constraint.
When applied (#4392), this fix causes some regressions (#4408) because the blocked variable is not a variable, and thus hinders f.ex. the constructor headedness check. In view of this regression, the fix was reverted (#4409).

TL;DR: This fix breaks things so do not merge it. For now this is just for the record.

@andreasabel andreasabel added the status: do-not-merge So please don't merge label Feb 11, 2020
@vlopezj vlopezj mentioned this pull request Apr 17, 2020
11 of 19 tasks
@vlopezj
vlopezj marked this pull request as draft July 8, 2020 07:21
@UlfNorell UlfNorell closed this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: do-not-merge So please don't merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants