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

pp.analyze should imply pp.proofs #6216

Open
3 tasks done
JLimperg opened this issue Nov 25, 2024 · 0 comments
Open
3 tasks done

pp.analyze should imply pp.proofs #6216

JLimperg opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JLimperg
Copy link
Contributor

Prerequisites

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

Description

MWE:

/--
error: unsolved goals
α : Prop
P : α → Prop
a : α
⊢ P ⋯
-/
#guard_msgs in
set_option pp.analyze true in
example (α : Prop) (P : α → Prop) (a : α) : P (id a) := by {}

/--
error: unsolved goals
α : Prop
P : α → Prop
a : α
⊢ P (id a)
-/
#guard_msgs in
set_option pp.analyze true in
set_option pp.proofs true in
example (α : Prop) (P : α → Prop) (a : α) : P (id a) := by {}

Expected behavior: Both versions output ... ⊢ P (id a).

Context

I hit this bug in aesop?, where I use pp.analyze to output tactic scripts that can be read back by Lean.

Versions

"4.15.0-nightly-2024-11-25"

Impact

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

@JLimperg JLimperg added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant