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

linarith Cannot Handle 2⁻¹ #7732

Closed
yangky11 opened this issue Oct 17, 2023 · 0 comments
Closed

linarith Cannot Handle 2⁻¹ #7732

yangky11 opened this issue Oct 17, 2023 · 0 comments

Comments

@yangky11
Copy link
Collaborator

Hi,

I just found that linarith can solve

x: ℝ
h₀: x * (1 / 2 + 2 / 3) = 1
⊢ x = 6 / 7

but cannot solve

x: ℝ
h₀: x * (2⁻¹ + 2 / 3) = 1
⊢ x = 6 / 7

Would it be possible/desirable for linarith to recognize that 2⁻¹ is also in the linear arithmetic fragment?

More context: This behavior has prevented aesop from proving some theorems (see leanprover-community/aesop#76). The second goal is the result of applying simp_all to the first goal, and simp_all is used extensively in aesop for normalizing proof goals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant