hcompU eta rule in conversion checker loses solution #6632
Labels
conversion
Conversion checking for terms, types; Subtyping; Size solving
cubical
Cubical Agda paraphernalia: Paths, Glue, partial elements, hcomp, transp
type: bug
Issues and pull requests about actual bugs
Milestone
Agda.TypeChecking.Conversion
has a rule to eta-expand applications ofhcomp
.agda/src/full/Agda/TypeChecking/Conversion.hs
Lines 442 to 451 in 4ffbfd7
However, currently this does not trigger as we look up
SUBIN
as a primitive rather than a builtin, so it's always treated as undefined:agda/src/full/Agda/TypeChecking/Conversion.hs
Line 403 in 4ffbfd7
However, this rule may be too over-eager and when active can cause failures, as such as seen in this test run (in the defition of
lCancelP
). @plt-amy informs we we probably need some guards here to avoid over-eagerly applying this rule.The text was updated successfully, but these errors were encountered: