Skip to content

CDCL produces model values for popped symbols #1243

@Halbaroth

Description

@Halbaroth

The SAT solver CDCL still produces model values for symbols that have been popped of the context. For instance this input file:

(set-option :produce-models true)
(set-logic ALL)
(declare-const x Int)
(push 1)
(declare-fun f (Int) Int)
(assert (= (f 0) 1))
(pop 1)
; The function `f` isn't declared anymore in the current context and we must
; not produce a model value for it.
(check-sat)
(get-model)

produces a value for f with CDCL but does not it with CDCL-Tableaux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmodelsThis issue is related to model generation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions