Zulip Chat Archive

Stream: new members

Topic: Prove problem


lexuan (Sep 30 2024 at 04:32):

In Lean4, how to prove that -↑n1 - ↑n1 * ↑n2 = -↑(n1 + n1 * n2 - 1) - 1

Asei Inoue (Sep 30 2024 at 04:41):

try omega

lexuan (Sep 30 2024 at 04:46):

Thank you, this nicely solves the goal.

Notification Bot (Sep 30 2024 at 05:11):

This topic was moved here from #lean4 > Prove problem by Yury G. Kudryashov.

Yury G. Kudryashov (Sep 30 2024 at 05:12):

@lexuan I moved your question here. Next time please post a #mwe E.g., one has to guess what types are involved in the formula you've posted.

lexuan (Sep 30 2024 at 06:32):

"Understood, the types in Lean 4 are very crucial, and I will pay attention next time."


Last updated: May 02 2025 at 03:31 UTC