Internal error triggered by missing check for irrelevant meta dependencies #4134
Labels
irrelevance
Issues to do with irrelevance annotations
meta
Metavariables, insertion of implicit arguments, etc
occurs check
Problems with checking that metavariable solutions aren't loopy
type: bug
Issues and pull requests about actual bugs
Milestone
(discovered while working on a solution for #2170)
Analysis of the problem:
X (x true) == f x
x
since it occurs unguardedly on the LHSinverseSubst
cannot find a way to bindx
in the solution ofX
, falling back to putting__IMPOSSIBLE__
X
is\ _ -> f __IMPOSSIBLE__
, which goes boomPossible solutions: either we make the criterion for using irrelevant variables in the occurs check more strict, or we do a separate check that
inverseSubst
actually did bind all the variables that are used in the solution. @andreasabel ?The text was updated successfully, but these errors were encountered: