Literal (mathematical logic)

In mathematical logic, a literal is an atomic formula (atom) or its negation. The definition mostly appears in proof theory (of classical logic), e.g. in conjunctive normal form and the method of resolution.

Literals can be divided into two types:

• A positive literal is just an atom.
• A negative literal is the negation of an atom.

For a literal ${\displaystyle l}$, the complementary literal is a literal corresponding to the negation of ${\displaystyle l}$, we can write ${\displaystyle {\bar {l}}}$ to denote the complementary literal of ${\displaystyle l}$. More precisely, if ${\displaystyle l\equiv x}$ then ${\displaystyle {\bar {l}}}$ is ${\displaystyle \lnot x}$ and if ${\displaystyle l\equiv \lnot x}$ then ${\displaystyle {\bar {l}}}$ is ${\displaystyle x}$.

In the context of a formula in the conjunctive normal form, a literal is pure if the literal's complement does not appear in the formula.

In Boolean functions, the variables that appear either in complemented or uncompleted form is a literal. For example, if ${\displaystyle A}$, ${\displaystyle B}$ and ${\displaystyle C}$are variables then the expressions ${\displaystyle {\bar {A}}BC}$contains three literal and ${\displaystyle {\bar {A}}C+{\bar {B}}{\bar {C}}}$contains three literals.[1]

Examples

In propositional calculus a literal is simply a propositional variable or its negation.

In predicate calculus a literal is an atomic formula or its negation, where an atomic formula is a predicate symbol applied to some terms, ${\displaystyle P(t_{1},\ldots ,t_{n})}$ with the terms recursively defined starting from constant symbols, variable symbols, and function symbols. For example, ${\displaystyle \neg Q(f(g(x),y,2),x)}$ is a negative literal with the constant symbol 2, the variable symbols x, y, the function symbols f, g, and the predicate symbol Q.

References

• Samuel R. Buss (1998). "An introduction to proof theory". In Samuel R. Buss. Handbook of proof theory. Elsevier. pp. 1–78. ISBN 0-444-89840-9.

1. ^ A.P.Godse, D. A. Godse (2008). Digital Logic Circuits. Technical Publications. ISBN 9788184314250.