Zulip Chat Archive

Stream: lean4

Topic: omega regression


David Renshaw (Aug 05 2024 at 13:02):

example (a b c : Nat) (h : a + b = c * 1) : a + b = c := by omega

This succeeded on lean v4.10.0, and now fails on lean v4.11.0-rc1 with the error:

omega could not prove the goal:
a possible counterexample may satisfy the constraints
  f  0
  e  0
  e - f  -1
  d  0
  d - e  0
where
 d := b
 e := (c * 1)
 f := c

David Renshaw (Aug 05 2024 at 13:02):

I've reported this as lean4#4916.

Damiano Testa (Aug 05 2024 at 13:06):

I do not know if it is the same regression, but this also fails:

example (a : Nat) : a * 1 = a := by omega

Kim Morrison (Aug 11 2024 at 23:30):

Sorry, this is a regression from lean#4695

Kim Morrison (Aug 12 2024 at 00:10):

And fixed properly, or at least better, at lean#4989. I'll roll this into v4.11.0-rc2, which is coming shortly in any case.


Last updated: May 02 2025 at 03:31 UTC