congruence fails to specialize #14651
Labels
kind: bug
An error, flaw, fault or unintended behaviour.
part: congruence
The congruence tactic.
part: ltac
Issues and PRs related to the Ltac tactic language.
Milestone
Description of the problem
As per documentation of
congruence
the following goal is solved using hypothesis specialization.However, unfolding
ap
results in a very similar goal which fails:This is because the former pattern
p ?f = ap ?f 0
can be used bycongruence
whereas thep ?f = ?f 0
cannot.Specifically, the variable
?f
cannot appear as the head of an application in?f 0
.See zulip discussion.
Coq Version
8.13.2
The text was updated successfully, but these errors were encountered: