Skip to content

Worthwhile reports Z3 timeout although Z3 is still running #19

@tbormer

Description

@tbormer

Steps to reproduce:

  1. Set Z3 timeout for the WW-project to 60s
  2. Try to prove the following program correct:
Integer x
Integer y
Integer z := 0
Integer oldX := x
Integer oldY := y

while (y != 0) 
  _invariant y >= 0 && oldX * oldY = x * y + z
{
      if (y / 2 * 2 != y) {
          z := x + z
          y := y / 2
          x := 2 * x
      }

      if (y / 2 * 2 = y) {
          y := y / 2
          x := 2 * x
      }
}
_assert z = oldX * oldY

WW immediately reports that Z3 has reached the timeout but Z3 is still running in the background.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions