Quantifier elimination basics.
Function or value | Description |
Full Usage:
cnnf lfn fm
Parameters:
formula<fol> -> formula<fol>
-
The literal modification function.
fm : formula<fol>
-
The input formula.
Returns: formula<fol>
A formula in disjunctive normal form equivalent to the input formula
and with literals modified based on the literal modification function.
|
Example
Evaluates to `(s < t \/ t < s) /\ (s = t \/ t < s)` .
|
Full Usage:
lift_qelim afn nfn qfn fm
Parameters:
string list -> formula<fol> -> formula<fol>
-
A function to convert inequalities not included in the core language.
nfn : formula<fol> -> formula<fol>
-
A disjunctive normal form function.
qfn : string list -> formula<fol> -> formula<fol>
-
The core quantifier elimination function.
fm : formula<fol>
-
The input formula.
Returns: formula<fol>
|
|
Full Usage:
qelim bfn x p
Parameters:
formula<fol> -> formula<fol>
-
The core quantifier elimination procedure.
x : string
-
The existentially quantified variable.
p : formula<fol>
-
The body of the existential formula.
Returns: formula<fol>
The equivalent formula of \(\exists x.\ p\) with the existential
quantifier applied only to the conjuncts in \(p\) that involve \(x\).
|
Function or value | Description |
Full Usage:
afn_dlo vars fm
Parameters:
'a
-
Unused params required by Qelim.lift_qelim signature.
fm : formula<fol>
-
The input literal.
Returns: formula<fol>
A formula equivalent to the input literal with inequality relations not
included in the language converted into admitted ones.
|
Example
Evaluates to `~t < s` .
|
|
|
|
Example
Evaluates to `s = t \/ t < s` .
Example
Evaluates to `s < t \/ t < s` .
Example
Evaluates to `~s = t /\ ~s < t` .
|
|
Example
Evaluates to `true` .
Example
Evaluates to `true` .
Example
Evaluates to `x < y` .
Example
Evaluates to `~(b < a \/ b < a)` .
|