Horn formulas and intersection closure #
Horn clauses have at most one positive literal occurrence. Models of Horn formulas are closed
under coordinatewise AND. Conversely, every AND-closed Boolean relation on finitely many
coordinates has a Horn definition without auxiliary variables. Empty and nullary relations are
included. The finite-extension proof is original; the characterization is [Bod26],
Lemma 6.31, pp. 75–76 (September 14, 2026 version), with finite coordinate types replacing
numbered variables and false/true replacing 0/1. See [Che06], Section 4, for the
corresponding Boolean CSP tractability cases.
Flipping every literal polarity gives the dual Horn characterization for coordinatewise OR. These are semantic normal-form theorems; no efficient construction of the normal form is claimed.
Main results #
Cslib.Logic.PL.isPolymorphism_and_iff_exists_hornCNF: AND preservation iff Horn definability.Cslib.Logic.PL.isPolymorphism_or_iff_exists_dualHornCNF: the dual OR characterization.
At most one positive literal occurrence, counting repetitions.
Instances For
Every clause has at most one positive literal occurrence.
Instances For
A Horn clause cannot have two different positive literals. Repetition still counts in
IsHorn, so this necessary condition is not a characterization.
A Horn clause is preserved by coordinatewise conjunction, including negative-only and empty clauses, repeated negative literals and tautologies.
Finite intersections of extensions of a tuple recover that tuple when every false coordinate can be made false by such an extension. Nonemptiness handles nullary relations.
A tuple outside a finite AND-closed relation is separated by a Horn clause over the same variables.
Finite Boolean AND-preserved relations are exactly Horn CNF relations, with no auxiliaries. Empty relations and empty coordinate types are included.
Complement the polarity of every literal, without changing variables or occurrences.
Instances For
Complement every literal polarity in a formula.
Instances For
A dual Horn clause has at most one negative literal occurrence.
Instances For
A formula is dual Horn when all its clauses are dual Horn.
Instances For
The polarity-flipping definition counts exactly the negative literal occurrences.
Dual Horn syntax can be checked one clause at a time.
Complementing all variables preserves satisfiability.
Coordinatewise OR preservation becomes AND preservation under complementation.
Finite OR-preserved Boolean relations are exactly dual Horn CNF relations, without auxiliary variables.