Skip to content

Investigate best setting for Z3 parameter smt.qi.eager_threshold #3558

@atomb

Description

@atomb

Summary

A different setting of the Z3 parameter smt.qi.eager_threshold may perform better, on average, than the current one.

Background and Motivation

Dafny has set the Z3 parameter smt.qi.eager_threshold to 100 for its entire GitHub history, but has a comment saying "TODO: try lowering". Several tests have required lower values to go through. With the upgrade to Z3 4.12.1, more tests require custom settings for this parameter, though there doesn't seem to be a single value that works well for all of them.

Proposed Feature

Is there a value that would be generally better than 100, even if not for these few tricky tests? Let's do some experiments to find out. And, if there is a better value, let's use that instead.

Alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: performancePerformance issueskind: enhancementEnhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafnypart: z3Issue is in Z3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions