[[⊥]](v) = i
⊥
[[⊤]](v) = i
⊤
[[x]](v) = v(x) if x ∈ P S
[[(F ◦ G)]](v) = i
◦
([[F]](v), [[G]](v))
if F, G ∈ QBF and ◦ ∈ O
[[¬F]](v) = i
¬
([[F]](v)) if F ∈ QBF
[[(∃x F)]](v) =
i
∨
([[F]](v[x := t]), [[F]](v[x := f]))
if F ∈ QBF
[[(∀x F)]](v) =
i
∧
([[F]](v[x := t]), [[F]](v[x := f]))
if F ∈ QBF
A closed QBF F is valid if [[F]](v) = t for every
valuation v. For example the QBF ∃a∃b∀c((a∨ b) ↔
c) is not valid while the QBF ∀c∃a∃b((a ∨ b) ↔ c)
is. This example shows that the order of quantifiers is
crucial to decide the validity of a QBF.
As in the propositional case, an equivalence re-
lation denoted ≡ is defined for the QBF by F ≡ G
if [[F]](v) = [[G]](v) for every valuation v. In con-
nection with the above example, ∃x∃yF ≡ ∃y∃xF,
∀x∀yF ≡ ∀y∀xF, ¬∃xF ≡ ∀x¬F and ¬∀xF ≡ ∃x¬F
but ∃a∃b∀c((a∨ b) ↔ c) 6≡ ∀c∃a∃b((a∨ b) ↔ c).
The decision semantics of QBF is extended to a
functional semantics of prenex QBF thanks to the
notion of functional valuation: a partial function
sk of the set of propositional symbols to the set of
the Boolean functions is a functional valuation for
a prenex QBF if for every existentially quantified
propositional symbol x there exists a unique pair (x 7→
ˆx) ∈ sk such that the Boolean function ˆx has for ar-
ity the number of universally quantified propositional
symbols which precede x in the binder
4
. The set of
functional valuations is denoted VAL
FONC. The
decision semantics of QBF is extended to a func-
tional semantics [[.]] : VAL
PROP× VAL FONC →
BOOL for prenex QBF:
[[F]](v, sk) = v
∗
(F) if F ∈ PROP
[[(∃x F)]](v, sk) = [[F]](v[x := ˆx], sk)
if (x 7→ ˆx) ∈ sk and F ∈ QBF
[[(∃x F)]](v, sk) =
i
∨
([[F]](v[x := t], sk), [[F]](v[x := f], sk))
if (x 7→ ˆx) 6∈ sk and F ∈ QBF
[[(∀x F)]](v, sk)
= i
∧
([[F]](v[x := t], sk(t)),
[[F]](v[x := f], sk(f)))
if F ∈ QBF.
A functional valuation sk is a QBF model for a
prenex closed QBF F if [[F]](v, sk) = t, for any valu-
ation v. A closed prenex QBF is valid if and only if it
admits (at least) a QBF model.
We recall that the decision problem of the satis-
fiability of a Boolean formula (SAT) is NP-complete
4
A functional valuation is a set of Skolem functions.
while the decision problem of the validity of a QBF is
PSPACE-complete (Stockmeyer, 1977).
3 NON-PRENEX QBF
SEMANTICS
The introduction shows that a functional semantics
for non-prenex QBF is useful for QBF designer in or-
der to preserve the expected meaning of quantifiers
and locality of knowledge. In what follows we give a
more technical presentation of our issue on an exam-
ple (§ 3.1), then our proposition about a non-prenex
QBF semantics (§ 3.2).
3.1 Motivations
Let ρ = (∀t (t ↔ ((∃x φ(x, t)) ∨ ¬(∃y ψ(y, t))))) be a
QBF with φ(x, t) and ψ(y, t) also two QBF.
If we linearize this QBF (minimizing the depen-
dencies), we obtain the following prenex QBF:
ρ ≡ ∀t((t → ((∃x φ(x, t)) ∨ ¬(∃y ψ(y, t))))
∧(((∃x
′
φ(x
′
, t)) ∨ ¬(∃y
′
ψ(y
′
, t))) → t))
≡ ∀t∃x∃y
′
∀x
′
∀y((t → (φ(x, t) ∨ ¬ψ(y, t)))
∧((φ(x
′
, t) ∨ ¬ψ(y
′
, t)) → t))
The designer of the QBF who chooses to model
its problem by ¬(∃y ψ(y, t)) and not by (∀y ¬ψ(y, t))
waits for the existentially quantified propositional
symbols x and y Skolem functions with parameter
t. But the propositional symbol y is now univer-
sally quantified and is one of the parameters of the
model associated to ψ(y, t). Moreover, a new existen-
tially quantified propositional symbol y
′
has appeared
which has no meaning for the designer.
We have developped a QCSP search-based solver
which is validity oriented: validity check QF ≡ ⊤ is
treated unchanged but non validity check QF ≡ ⊥ is
replaced by the equivalent check
Q¬F ≡ ⊤. If we
look at the execution of a constraint-based validity-
oriented solver, for the check (ρ ≡ ⊤) we obtain the
following propagations:
• If t is substituted by ⊤, then necessarily
((∃x φ(x, ⊤)) ∨ ¬(∃y ψ(y, ⊤))) ≡ ⊤ and then ei-
ther (∃x φ(x, ⊤)) ≡ ⊤ or (∃y ψ(y, ⊤)) ≡ ⊥.
• If t is substituted by ⊥, then necessar-
ily ((∃x φ(x, ⊥)) ∨ ¬(∃y ψ(y, ⊥))) ≡ ⊥ and then
(∃x φ(x, ⊥)) ≡ ⊥ and (∃y ψ(y, ⊥)) ≡ ⊤.
For a validity-oriented solver, (∃y ψ(y, ⊤)) ≡ ⊥ is
treated as (∀y ¬ψ(y, ⊤)) ≡ ⊤ and (∃x φ(x, ⊥)) ≡ ⊥
is treated as (∀x ¬φ(x, ⊥)) ≡ ⊤.
A model for a non-prenex QBF will have the fol-
lowing shape (if (∃y ψ(y, ⊤)) ≡ ⊥):
ICAART2014-InternationalConferenceonAgentsandArtificialIntelligence
360