Documentation

CslibFrontier.Logics.SecondOrder.Horn.GuardElimination

Guard elimination for SO∃-Horn sentences on successor structures #

On canonical ordered structures with a primitive successor relation and endpoint constants 0 and max, every SO∃-Horn sentence with arbitrary first-order guards is equivalent to one whose guards are quantifier-free (Sentence.IsQF).

For each subformula ψ of a clause guard, elimGuards introduces positive and negative auxiliary relation variables whose intended extensions are the tuples satisfying ψ and ¬ ψ. Atomic subformulas are opened into quantifier-free guards directly; implications split into positive and negative Horn rules with guard ⊤; existential negation ¬ ∀ y, ψ(v, y) projects neg_ψ(v, y) to neg(v); and universal quantification ∀ y, ψ(v, y) accumulates ∀ z ≤ y, ψ(v, z) in an extra relation variable along succ from 0 up to max. Each original clause then replaces its guard by ⊤ and prepends the positive root atom of its guard to its body.

Main definitions #

Main results #

References #

Variable lifting and formula opening #

Auxiliary relation variables and clauses per guard subformula #

Soundness and completeness of the auxiliary clauses #

Sentence-level guard elimination #

Eliminate quantifiers from all guards of an SO∃-Horn sentence over language (succLanguage L), introducing finitely many auxiliary relation variables and iterating universal quantifiers along succ from 0 to max.

Guard elimination preserves truth on canonical ordered successor structures Fin n with 2 ≤ n.