Skip to main content

Module policy

Module policy 

Source
Expand description

Serving policy shared by every place that decides whether a cached answer may be used: the shim when it serves, the daemon when it reads the shared tier, and sail cache publish when it exports entries.

Functionsยง

is_unknown
Whether reply is a check-sat answer of unknown.
unknown_servable
Whether a cached check-sat answer of unknown with this recorded effort may be served (ADR 0009, owner decision 2026-10-08): only when the solver gave up for a reason other than resource exhaustion, and used at most half of a non-zero limit. Anything near the limit, cancelled, or without recorded effort is re-solved.