two definitionally equal terms are not equal #3466
Labels
copatterns
Definitions by copattern matching: projections on the LHS
exact split
Exact splitting
pattern matching
Top-level pattern matching definitions, pattern matching in lets
regression in 2.5.4
Regression that first appeared in Agda 2.5.4
status: duplicate
Duplicate issue (not in changelog)
Milestone
Consider the excerpt coming from this
The context does not matter that much to understand the problem. A record
C
of typeMyS State Operation Change
is defined. The definition ofC
requires definingMyS.comp C
andMyS.comp' C
.MyS.comp C
is accepted by Agda butMyS.comp'
is not because of the following problem:I think it is a bug since the problem can be reformulated as:
but the definition of
MyS.comp C
says:The problem seems related to using records since an alternative .agda without record does not trigger it (Agda fails but because the definition of
MyS.comp'
is not complete, as expected).The problem is present in Agda 2.6.0.
The text was updated successfully, but these errors were encountered: