You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:exact? finds the proof exact IsAnti.isSubsingleton h.
Actual behavior:exact? cannot close the goal. apply? finds the lemma but fails to find the matching hypothesis. exact? using h and apply? using h both do not find anything. When changing LinearO to IsTri in the example, exact? succeeds.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
The
exact?
tactic fails to solve the following goal:Context
Minimized from this Zulip message
Steps to Reproduce
Expected behavior:
exact?
finds the proofexact IsAnti.isSubsingleton h
.Actual behavior:
exact?
cannot close the goal.apply?
finds the lemma but fails to find the matching hypothesis.exact? using h
andapply? using h
both do not find anything. When changingLinearO
toIsTri
in the example,exact?
succeeds.Versions
4.16.0-nightly-2025-01-15
on live.lean-lang.orgImpact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: