Skip to content

Number and repetition of properties #9094

Description

@rod-chapman

This example:

https://github.com/rod-chapman/cbmc-examples/tree/main/arrays

doing “make TARGET=assign_st1”

generates 303 properties for just 8 lines of code!

There seems to a lot of repetition on those
  Checking that pointers are not NULL over and over again
  Checking that dst[0] is valid
  and so on...

While most of these properties are trivial in isolation, I am concerned that the sheer number of them is leading to explosion on the SAT engine inside Z3.  Reducing the repetion might have a big impact on overall performance.

  1. Why does this repetition exist in the first place? Is it really necessary?
  2. Can some/all of the repetition be removed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions