Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changeWith is not implemented #5116

Open
3 tasks done
Tantalus13A98B5F opened this issue Aug 21, 2024 · 0 comments · May be fixed by #6018
Open
3 tasks done

changeWith is not implemented #5116

Tantalus13A98B5F opened this issue Aug 21, 2024 · 0 comments · May be fixed by #6018
Labels
bug Something isn't working P-medium We may work on this issue if we find the time

Comments

@Tantalus13A98B5F
Copy link

Prerequisites

Please put an X between the brackets as you perform the following steps:

Description

The change ... with ... tactic is not implemented

Context

Previously reported at #1745, where change has been addressed but not changeWith.

Steps to Reproduce

theorem test: 1 = 2 := by
  change 1 with 2  -- Error: tactic 'Lean.Parser.Tactic.changeWith' has not been implemented

Versions

Additional Information

NA

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

@Tantalus13A98B5F Tantalus13A98B5F added the bug Something isn't working label Aug 21, 2024
@leanprover-bot leanprover-bot added the P-medium We may work on this issue if we find the time label Aug 23, 2024
kmill added a commit to kmill/lean4 that referenced this issue Nov 9, 2024
This PR implements the `change ... with` tactic. Doing `change p with r` is essentially equivalent to `rewrite [show p = r by rfl]`.

Closes leanprover#5116
@kmill kmill linked a pull request Nov 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P-medium We may work on this issue if we find the time
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants