-
Notifications
You must be signed in to change notification settings - Fork 716
Open
Labels
kind: bugAn error, flaw, fault or unintended behaviour.An error, flaw, fault or unintended behaviour.needs: triageThe validity of this issue needs to be checked, or the issue itself updated.The validity of this issue needs to be checked, or the issue itself updated.
Description
Description of the problem
If the tactic used with progress yields a new goal that has the same conclusion as the old one, up to an evar, and the evar in the old goal is defined to the evar in the new goal in the new environment.
Small Rocq / Coq file to reproduce the bug
Goal True.
eassert ?[T].
(* test when aliasing (thanks to unification) *)
Fail progress (eassert ?[T'] as H; [|let _ := constr:(eq_refl _ :> ?T = ?T') in exact H]).
(* test when not aliasing *)
Fail progress (eassert ?[T'] as H; [|instantiate (T := ?T'); exact H]).
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: bugAn error, flaw, fault or unintended behaviour.An error, flaw, fault or unintended behaviour.needs: triageThe validity of this issue needs to be checked, or the issue itself updated.The validity of this issue needs to be checked, or the issue itself updated.