In logic, Horn clauses are a class of logical formulas that take the form of an implication of a conjunction of positive literals.
Definition
Fix a family of primitive predicates for all .
For any set , an atom over is given by an index and a function
It denotes the proposition-valued predicate
So an atom over is a predicate on obtained by pulling back one of the primitive predicates along a map .
Then a generalized Horn clause over (relative to )is either
where each is an atom over , or
In the case that is finite, then we have a Horn clause over (in a non-generalized sense).
Remarks
A classical Horn clause is typically written as a disjunction with at most one positive variable, however the implication form and the disjunction form diverge outside of classical settings. The simplest case is given below. The right hand side is a tautology