Skip to content

eassumption does not try reduction when unifying #21341

@yannl35133

Description

@yannl35133

Description of the problem

According to the manual,

Behaves like assumption but is able to process goals and hypotheses with existential variables.

Yet assumption has no issues reducing (even eassumption can reduce, but only when the hypothesis' type and the goals have no evars).

Small Rocq / Coq file to reproduce the bug

Goal forall (H : (fun _ => 2=1) 0), exists n, n = 1.
  intros H.
  eexists.
  eassumption.
Abort.

Version of Rocq / Coq where this bug occurs

No response

Interface of Rocq / Coq where this bug occurs

No response

Last version of Rocq / Coq where the bug did not occur

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugAn error, flaw, fault or unintended behaviour.needs: triageThe validity of this issue needs to be checked, or the issue itself updated.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions