Zulip Chat Archive

Stream: new members

Topic: Make rel justify a substitution defined by many constraints


Michael Bucko (Nov 18 2024 at 15:27):

I wrote a proof from The Mechanics.. (calc + add_le_add_left-add_le_add_right or linarith), but I hoped I can solve it using rel or something similar, given H : a ≤ 1 ∧ a + b ≤ 3 and LHS = a + (a + b). Rel, however, was not able to justify a substitution.

Proof with calc + add_le_add_left-add_le_add_right

Proof with linarith

Michael Bucko (Nov 18 2024 at 15:46):

I guess I have to look at the actual code of linarith/ nlinarith. They are solving a bunch of other proofs from The Mechanics .

More proofs

, and so on.


Last updated: May 02 2025 at 03:31 UTC