Math 2.0

Mathematical logic and foundations Definition

Horn clause

Builds on Conjunctive normal form

Definition

A literal is an atomic formula or the negation of an atomic formula; it is positive in the first case and negative in the second. A clause is a finite disjunction L1∨⋯∨LkL_1 \vee \cdots \vee L_k of literals, as in a conjunctive normal form. A Horn clause is a clause in which at most one literal is positive.

Remarks

A Horn clause with exactly one positive literal is a definite clause; one with no positive literal is a goal clause. A definite clause ¬p1∨⋯∨¬pn∨q\neg p_1 \vee \cdots \vee \neg p_n \vee q is equivalent to the implication p1∧⋯∧pn→qp_1 \wedge \cdots \wedge p_n \rightarrow q; for n=0n = 0 it is the fact qq.

Example: ¬p∨¬q∨r\neg p \vee \neg q \vee r is a Horn clause, since only rr is positive.

Non-example: p∨qp \vee q is not a Horn clause, since it has two positive literals. No conjunction of Horn clauses is equivalent to it. The satisfying assignments of a conjunction of Horn clauses are closed under the coordinatewise "and". But (1,0)(1, 0) and (0,1)(0, 1) satisfy p∨qp \vee q, while (0,0)(0, 0) does not.

In first-order logic, the atoms may be any atomic formulas, and the clause is read as universally quantified over its variables.

Reading path

To understand this page from the ground up, read these 2 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Conjunctive normal form concept
  2. Horn clause definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Horn_clause
About this page
TagZS5TMX4G8P
URIm2://ZS5TMX4G8P
Kinddefinition
WritingW0 stub
MSC03B05, 03B70, 08C15
DefinesHorn clause
UsesConjunctive normal form
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.