Conjunctive normal form

Author: www.NiNa.Az
Feb 08, 2025 / 12:20

In Boolean logic a formula is in conjunctive normal form CNF or clausal normal form if it is a conjunction of one or mor

Conjunctive normal form
Conjunctive normal form
Conjunctive normal form

In Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is a product of sums or an AND of ORs.

In automated theorem proving, the notion "clausal normal form" is often used in a narrower sense, meaning a particular representation of a CNF formula as a set of sets of literals.

Definition

A logical formula is considered to be in CNF if it is a conjunction of one or more disjunctions of one or more literals. As in disjunctive normal form (DNF), the only propositional operators in CNF are or (image), and (image), and not (image). The not operator can only be used as part of a literal, which means that it can only precede a propositional variable.

The following is a context-free grammar for CNF:

  1. CNF → (Disjunction) image CNF
  2. CNF → (Disjunction)
  3. DisjunctionLiteral image Disjunction
  4. DisjunctionLiteral
  5. LiteralimageVariable
  6. LiteralVariable

Where Variable is any variable.

All of the following formulas in the variables image, and image are in conjunctive normal form:

  • image
  • image
  • image
  • image

The following formulas are not in conjunctive normal form:

  • image, since an AND is nested within a NOT
  • image, since an OR is nested within a NOT
  • image, since an AND is nested within an OR

Conversion to CNF

In classical logic each propositional formula can be converted to an equivalent formula that is in CNF. This transformation is based on rules about logical equivalences: double negation elimination, De Morgan's laws, and the distributive law.

Basic algorithm

The algorithm to compute a CNF-equivalent of a given propositional formula image builds upon image in disjunctive normal form (DNF): step 1.
Then image is converted to image by swapping ANDs with ORs and vice versa while negating all the literals. Remove all image.

Conversion by syntactic means

Convert to CNF the propositional formula image.

Step 1: Convert its negation to disjunctive normal form.

image,

where each image is a conjunction of literals image.

Step 2: Negate image. Then shift image inwards by applying the (generalized) De Morgan's equivalences until no longer possible. image whereimage

Step 3: Remove all double negations.

Example

Convert to CNF the propositional formula image.

The (full) DNF equivalent of its negation is
image

image

Conversion by semantic means

A CNF equivalent of a formula can be derived from its truth table. Again, consider the formula image.

The corresponding truth table is

image image image image image image image image image image image image image
T T T F T F F T F
T T F F T F T T F
T F T T F T F T T
T F F T F F T F T
F T T T F T F T T
F T F T F F T F T
F F T T F T F T F
F F F T F T T T F

A CNF equivalent of image is image

Each disjunction reflects an assignment of variables for which image evaluates to F(alse).
If in such an assignment a variable image

  • is T(rue), then the literal is set to image in the disjunction,
  • is F(alse), then the literal is set to image in the disjunction.

Other approaches

Since all propositional formulas can be converted into an equivalent formula in conjunctive normal form, proofs are often based on the assumption that all formulae are CNF. However, in some cases this conversion to CNF can lead to an exponential explosion of the formula. For example, translating the non-CNF formula

image

into CNF produces a formula with image clauses:

image

Each clause contains either image or image for each image.

There exist transformations into CNF that avoid an exponential increase in size by preserving satisfiability rather than equivalence. These transformations are guaranteed to only linearly increase the size of the formula, but introduce new variables. For example, the above formula can be transformed into CNF by adding variables image as follows:

image

An interpretation satisfies this formula only if at least one of the new variables is true. If this variable is image, then both image and image are true as well. This means that every model that satisfies this formula also satisfies the original one. On the other hand, only some of the models of the original formula satisfy this one: since the image are not mentioned in the original formula, their values are irrelevant to satisfaction of it, which is not the case in the last formula. This means that the original formula and the result of the translation are equisatisfiable but not equivalent.

An alternative translation, the Tseitin transformation, includes also the clauses image. With these clauses, the formula implies image; this formula is often regarded to "define" image to be a name for image.

Maximum number of disjunctions

Consider a propositional formula with image variables, image.

There are image possible literals: image.

image has image non-empty subsets.

This is the maximum number of disjunctions a CNF can have.

All truth-functional combinations can be expressed with image disjunctions, one for each row of the truth table.
In the example below they are underlined.

Example

Consider a formula with two variables image and image.

The longest possible CNF has image disjunctions:image

This formula is a contradiction.

Computational complexity

An important set of problems in computational complexity involves finding assignments to the variables of a Boolean formula expressed in conjunctive normal form, such that the formula is true. The k-SAT problem is the problem of finding a satisfying assignment to a Boolean formula expressed in CNF in which each disjunction contains at most k variables. 3-SAT is NP-complete (like any other k-SAT problem with k>2) while 2-SAT is known to have solutions in polynomial time. As a consequence, the task of converting a formula into a DNF, preserving satisfiability, is NP-hard; dually, converting into CNF, preserving validity, is also NP-hard; hence equivalence-preserving conversion into DNF or CNF is again NP-hard.

Typical problems in this case involve formulas in "3CNF": conjunctive normal form with no more than three variables per conjunct. Examples of such formulas encountered in practice can be very large, for example with 100,000 variables and 1,000,000 conjuncts.

A formula in CNF can be converted into an equisatisfiable formula in "kCNF" (for k≥3) by replacing each conjunct with more than k variables image by two conjuncts image and image with Z a new variable, and repeating as often as necessary.

First-order logic

In first order logic, conjunctive normal form can be taken further to yield the clausal normal form of a logical formula, which can be then used to perform first-order resolution. In resolution-based automated theorem-proving, a CNF formula

image image image image image image image image image image image image image image image image image , is commonly represented as a set of sets
image image image image image image image image image image image image image image image image image image image .

See below for an example.

Converting from first-order logic

To convert first-order logic to CNF:

  1. Convert to negation normal form.
    1. Eliminate implications and equivalences: repeatedly replace image with image; replace image with image. Eventually, this will eliminate all occurrences of image and image.
    2. Move NOTs inwards by repeatedly applying De Morgan's law. Specifically, replace image with image; replace image with image; and replace image with image; replace image with image; image with image. After that, a image may occur only immediately before a predicate symbol.
  2. Standardize variables
    1. For sentences like image which use the same variable name twice, change the name of one of the variables. This avoids confusion later when dropping quantifiers. For example, image is renamed to image.
  3. Skolemize the statement
    1. Move quantifiers outwards: repeatedly replace image with image; replace image with image; replace image with image; replace image with image. These replacements preserve equivalence, since the previous variable standardization step ensured that image doesn't occur in image. After these replacements, a quantifier may occur only in the initial prefix of the formula, but never inside a image, image, or image.
    2. Repeatedly replace image with image, where image is a new image-ary function symbol, a so-called "Skolem function". This is the only step that preserves only satisfiability rather than equivalence. It eliminates all existential quantifiers.
  4. Drop all universal quantifiers.
  5. Distribute ORs inwards over ANDs: repeatedly replace image with image.

Example

As an example, the formula saying "Anyone who loves all animals, is in turn loved by someone" is converted into CNF (and subsequently into clause form in the last line) as follows (highlighting replacement rule redexes in image):

image image image image image image image image image image image image image image image image image image image
image image image image image image image image image image image image image image image image image image image image by 1.1
image image image image image image image image image image image image image image image image image image image image image by 1.1
image image image image image image image image image image image image image image image image image image image image image image image by 1.2
image image image image image image image image image image image image image image image image image image image image image image by 1.2
image image image image image image image image image image image image image image image image image image image image by 1.2
image image image image image image image image image image image image image image image image image image image image by 2
image image image image image image image image image image image image image image image image image by 3.1
image image image image image image image image image image image image image image image image image by 3.1
image image image image image image image image image image image image image image image image by 3.2
image image image image image image image image image image image image image image by 4
image image image image image image image image image image image image image image image by 5
image image image image image image image image image image image image image image image image image (clause representation)

Informally, the Skolem function image can be thought of as yielding the person by whom image is loved, while image yields the animal (if any) that image doesn't love. The 3rd last line from below then reads as "image doesn't love the animal image, or else

In Boolean logic a formula is in conjunctive normal form CNF or clausal normal form if it is a conjunction of one or more clauses where a clause is a disjunction of literals otherwise put it is a product of sums or an AND of ORs In automated theorem proving the notion clausal normal form is often used in a narrower sense meaning a particular representation of a CNF formula as a set of sets of literals DefinitionA logical formula is considered to be in CNF if it is a conjunction of one or more disjunctions of one or more literals As in disjunctive normal form DNF the only propositional operators in CNF are or displaystyle vee and displaystyle wedge and not displaystyle neg The not operator can only be used as part of a literal which means that it can only precede a propositional variable The following is a context free grammar for CNF CNF Disjunction displaystyle land CNF CNF Disjunction Disjunction Literal displaystyle lor Disjunction Disjunction Literal Literal displaystyle neg Variable Literal Variable Where Variable is any variable All of the following formulas in the variables A B C D E displaystyle A B C D E and F displaystyle F are in conjunctive normal form A B C D E F D F displaystyle A lor neg B lor neg C land neg D lor E lor F lor D lor F A B C displaystyle A lor B land C A B displaystyle A lor B A displaystyle A The following formulas are not in conjunctive normal form A B displaystyle neg A land B since an AND is nested within a NOT A B C displaystyle neg A lor B land C since an OR is nested within a NOT A B D E displaystyle A land B lor D land E since an AND is nested within an ORConversion to CNFIn classical logic each propositional formula can be converted to an equivalent formula that is in CNF This transformation is based on rules about logical equivalences double negation elimination De Morgan s laws and the distributive law Basic algorithm The algorithm to compute a CNF equivalent of a given propositional formula ϕ displaystyle phi builds upon ϕ displaystyle lnot phi in disjunctive normal form DNF step 1 Then ϕDNF displaystyle lnot phi DNF is converted to ϕCNF displaystyle phi CNF by swapping ANDs with ORs and vice versa while negating all the literals Remove all displaystyle lnot lnot Conversion by syntactic means Convert to CNF the propositional formula ϕ displaystyle phi Step 1 Convert its negation to disjunctive normal form ϕDNF C1 C2 Ci Cm displaystyle lnot phi DNF C 1 lor C 2 lor ldots lor C i lor ldots lor C m where each Ci displaystyle C i is a conjunction of literals li1 li2 lini displaystyle l i1 land l i2 land ldots land l in i Step 2 Negate ϕDNF displaystyle lnot phi DNF Then shift displaystyle lnot inwards by applying the generalized De Morgan s equivalences until no longer possible ϕ ϕDNF C1 C2 Ci Cm C1 C2 Ci Cm generalized D M displaystyle begin aligned phi amp leftrightarrow lnot lnot phi DNF amp lnot C 1 lor C 2 lor ldots lor C i lor ldots lor C m amp leftrightarrow lnot C 1 land lnot C 2 land ldots land lnot C i land ldots land lnot C m amp amp text generalized D M end aligned where Ci li1 li2 lini li1 li2 lini generalized D M displaystyle begin aligned lnot C i amp lnot l i1 land l i2 land ldots land l in i amp leftrightarrow lnot l i1 lor lnot l i2 lor ldots lor lnot l in i amp amp text generalized D M end aligned Step 3 Remove all double negations Example Convert to CNF the propositional formula ϕ p q r p q displaystyle phi lnot p land q leftrightarrow lnot r uparrow p oplus q The full DNF equivalent of its negation is ϕDNF p q r p q r p q r p q r displaystyle lnot phi DNF p land q land r lor p land q land lnot r lor p land lnot q land lnot r lor lnot p land q land lnot r ϕ ϕDNF p q r p q r p q r p q r p q r p q r p q r p q r generalized D M p q r p q r p q r p q r generalized D M 4 p q r p q r p q r p q r remove all ϕCNF displaystyle begin aligned phi amp leftrightarrow lnot lnot phi DNF amp lnot p land q land r lor p land q land lnot r lor p land lnot q land lnot r lor lnot p land q land lnot r amp leftrightarrow underline lnot p land q land r land underline lnot p land q land lnot r land underline lnot p land lnot q land lnot r land underline lnot lnot p land q land lnot r amp amp text generalized D M amp leftrightarrow lnot p lor lnot q lor lnot r land lnot p lor lnot q lor lnot lnot r land lnot p lor lnot lnot q lor lnot lnot r land lnot lnot p lor lnot q lor lnot lnot r amp amp text generalized D M 4 times amp leftrightarrow lnot p lor lnot q lor lnot r land lnot p lor lnot q lor r land lnot p lor q lor r land p lor lnot q lor r amp amp text remove all lnot lnot amp phi CNF end aligned Conversion by semantic means A CNF equivalent of a formula can be derived from its truth table Again consider the formula ϕ p q r p q displaystyle phi lnot p land q leftrightarrow lnot r uparrow p oplus q The corresponding truth table is p displaystyle p q displaystyle q r displaystyle r displaystyle displaystyle lnot p q displaystyle p land q displaystyle displaystyle leftrightarrow displaystyle r displaystyle lnot r displaystyle uparrow p q displaystyle p oplus q displaystyle T T T F T F F T FT T F F T F T T FT F T T F T F T TT F F T F F T F TF T T T F T F T TF T F T F F T F TF F T T F T F T FF F F T F T T T F A CNF equivalent of ϕ displaystyle phi is p q r p q r p q r p q r displaystyle lnot p lor lnot q lor lnot r land lnot p lor lnot q lor r land lnot p lor q lor r land p lor lnot q lor r Each disjunction reflects an assignment of variables for which ϕ displaystyle phi evaluates to F alse If in such an assignment a variable V displaystyle V is T rue then the literal is set to V displaystyle lnot V in the disjunction is F alse then the literal is set to V displaystyle V in the disjunction Other approaches Since all propositional formulas can be converted into an equivalent formula in conjunctive normal form proofs are often based on the assumption that all formulae are CNF However in some cases this conversion to CNF can lead to an exponential explosion of the formula For example translating the non CNF formula X1 Y1 X2 Y2 Xn Yn displaystyle X 1 wedge Y 1 vee X 2 wedge Y 2 vee ldots vee X n wedge Y n into CNF produces a formula with 2n displaystyle 2 n clauses X1 X2 Xn Y1 X2 Xn X1 Y2 Xn Y1 Y2 Xn Y1 Y2 Yn displaystyle X 1 vee X 2 vee ldots vee X n wedge Y 1 vee X 2 vee ldots vee X n wedge X 1 vee Y 2 vee ldots vee X n wedge Y 1 vee Y 2 vee ldots vee X n wedge ldots wedge Y 1 vee Y 2 vee ldots vee Y n Each clause contains either Xi displaystyle X i or Yi displaystyle Y i for each i displaystyle i There exist transformations into CNF that avoid an exponential increase in size by preserving satisfiability rather than equivalence These transformations are guaranteed to only linearly increase the size of the formula but introduce new variables For example the above formula can be transformed into CNF by adding variables Z1 Zn displaystyle Z 1 ldots Z n as follows Z1 Zn Z1 X1 Z1 Y1 Zn Xn Zn Yn displaystyle Z 1 vee ldots vee Z n wedge neg Z 1 vee X 1 wedge neg Z 1 vee Y 1 wedge ldots wedge neg Z n vee X n wedge neg Z n vee Y n An interpretation satisfies this formula only if at least one of the new variables is true If this variable is Zi displaystyle Z i then both Xi displaystyle X i and Yi displaystyle Y i are true as well This means that every model that satisfies this formula also satisfies the original one On the other hand only some of the models of the original formula satisfy this one since the Zi displaystyle Z i are not mentioned in the original formula their values are irrelevant to satisfaction of it which is not the case in the last formula This means that the original formula and the result of the translation are equisatisfiable but not equivalent An alternative translation the Tseitin transformation includes also the clauses Zi Xi Yi displaystyle Z i vee neg X i vee neg Y i With these clauses the formula implies Zi Xi Yi displaystyle Z i equiv X i wedge Y i this formula is often regarded to define Zi displaystyle Z i to be a name for Xi Yi displaystyle X i wedge Y i Maximum number of disjunctionsConsider a propositional formula with n displaystyle n variables n 1 displaystyle n geq 1 There are 2n displaystyle 2n possible literals L p1 p1 p2 p2 pn pn displaystyle L p 1 lnot p 1 p 2 lnot p 2 ldots p n lnot p n L displaystyle L has 22n 1 displaystyle 2 2n 1 non empty subsets This is the maximum number of disjunctions a CNF can have All truth functional combinations can be expressed with 2n displaystyle 2 n disjunctions one for each row of the truth table In the example below they are underlined Example Consider a formula with two variables p displaystyle p and q displaystyle q The longest possible CNF has 2 2 2 1 15 displaystyle 2 2 times 2 1 15 disjunctions p p q q p p p q p q p q p q q q p p q p p q p q q p q q p p q q displaystyle begin array lcl lnot p land p land lnot q land q land lnot p lor p land underline lnot p lor lnot q land underline lnot p lor q land underline p lor lnot q land underline p lor q land lnot q lor q land lnot p lor p lor lnot q land lnot p lor p lor q land lnot p lor lnot q lor q land p lor lnot q lor q land lnot p lor p lor lnot q lor q end array This formula is a contradiction Computational complexityAn important set of problems in computational complexity involves finding assignments to the variables of a Boolean formula expressed in conjunctive normal form such that the formula is true The k SAT problem is the problem of finding a satisfying assignment to a Boolean formula expressed in CNF in which each disjunction contains at most k variables 3 SAT is NP complete like any other k SAT problem with k gt 2 while 2 SAT is known to have solutions in polynomial time As a consequence the task of converting a formula into a DNF preserving satisfiability is NP hard dually converting into CNF preserving validity is also NP hard hence equivalence preserving conversion into DNF or CNF is again NP hard Typical problems in this case involve formulas in 3CNF conjunctive normal form with no more than three variables per conjunct Examples of such formulas encountered in practice can be very large for example with 100 000 variables and 1 000 000 conjuncts A formula in CNF can be converted into an equisatisfiable formula in kCNF for k 3 by replacing each conjunct with more than k variables X1 Xk Xn displaystyle X 1 vee ldots vee X k vee ldots vee X n by two conjuncts X1 Xk 1 Z displaystyle X 1 vee ldots vee X k 1 vee Z and Z Xk Xn displaystyle neg Z vee X k lor ldots vee X n with Z a new variable and repeating as often as necessary First order logicIn first order logic conjunctive normal form can be taken further to yield the clausal normal form of a logical formula which can be then used to perform first order resolution In resolution based automated theorem proving a CNF formula displaystyle l11 displaystyle l 11 displaystyle lor displaystyle ldots displaystyle lor l1n1 displaystyle l 1n 1 displaystyle displaystyle land displaystyle ldots displaystyle land displaystyle lm1 displaystyle l m1 displaystyle lor displaystyle ldots displaystyle lor lmnm displaystyle l mn m displaystyle is commonly represented as a set of sets displaystyle displaystyle l11 displaystyle l 11 displaystyle displaystyle ldots displaystyle l1n1 displaystyle l 1n 1 displaystyle displaystyle displaystyle ldots displaystyle displaystyle lm1 displaystyle l m1 displaystyle displaystyle ldots displaystyle lmnm displaystyle l mn m displaystyle displaystyle See below for an example Converting from first order logic To convert first order logic to CNF Convert to negation normal form Eliminate implications and equivalences repeatedly replace P Q displaystyle P rightarrow Q with P Q displaystyle lnot P lor Q replace P Q displaystyle P leftrightarrow Q with P Q P Q displaystyle P lor lnot Q land lnot P lor Q Eventually this will eliminate all occurrences of displaystyle rightarrow and displaystyle leftrightarrow Move NOTs inwards by repeatedly applying De Morgan s law Specifically replace P Q displaystyle lnot P lor Q with P Q displaystyle lnot P land lnot Q replace P Q displaystyle lnot P land Q with P Q displaystyle lnot P lor lnot Q and replace P displaystyle lnot lnot P with P displaystyle P replace xP x displaystyle lnot forall xP x with x P x displaystyle exists x lnot P x xP x displaystyle lnot exists xP x with x P x displaystyle forall x lnot P x After that a displaystyle lnot may occur only immediately before a predicate symbol Standardize variables For sentences like xP x xQ x displaystyle forall xP x lor exists xQ x which use the same variable name twice change the name of one of the variables This avoids confusion later when dropping quantifiers For example x yAnimal y Loves x y yLoves y x displaystyle forall x exists y mathrm Animal y land lnot mathrm Loves x y lor exists y mathrm Loves y x is renamed to x yAnimal y Loves x y zLoves z x displaystyle forall x exists y mathrm Animal y land lnot mathrm Loves x y lor exists z mathrm Loves z x Skolemize the statement Move quantifiers outwards repeatedly replace P xQ x displaystyle P land forall xQ x with x P Q x displaystyle forall x P land Q x replace P xQ x displaystyle P lor forall xQ x with x P Q x displaystyle forall x P lor Q x replace P xQ x displaystyle P land exists xQ x with x P Q x displaystyle exists x P land Q x replace P xQ x displaystyle P lor exists xQ x with x P Q x displaystyle exists x P lor Q x These replacements preserve equivalence since the previous variable standardization step ensured that x displaystyle x doesn t occur in P displaystyle P After these replacements a quantifier may occur only in the initial prefix of the formula but never inside a displaystyle lnot displaystyle land or displaystyle lor Repeatedly replace x1 xn yP y displaystyle forall x 1 ldots forall x n exists y P y with x1 xnP f x1 xn displaystyle forall x 1 ldots forall x n P f x 1 ldots x n where f displaystyle f is a new n displaystyle n ary function symbol a so called Skolem function This is the only step that preserves only satisfiability rather than equivalence It eliminates all existential quantifiers Drop all universal quantifiers Distribute ORs inwards over ANDs repeatedly replace P Q R displaystyle P lor Q land R with P Q P R displaystyle P lor Q land P lor R Example As an example the formula saying Anyone who loves all animals is in turn loved by someone is converted into CNF and subsequently into clause form in the last line as follows highlighting replacement rule redexes in red displaystyle color red text red x displaystyle forall x displaystyle y displaystyle forall y Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle color red rightarrow Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle rightarrow displaystyle displaystyle exists y displaystyle y Loves displaystyle mathrm Loves y displaystyle y x displaystyle x displaystyle x displaystyle forall x displaystyle y displaystyle forall y displaystyle lnot Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle lor Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle color red rightarrow displaystyle displaystyle exists y displaystyle y Loves displaystyle mathrm Loves y displaystyle y x displaystyle x displaystyle by 1 1 x displaystyle forall x displaystyle color red lnot displaystyle y displaystyle color red forall y displaystyle lnot Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle lor Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle lor displaystyle displaystyle exists y displaystyle y Loves displaystyle mathrm Loves y displaystyle y x displaystyle x displaystyle by 1 1 x displaystyle forall x displaystyle y displaystyle exists y displaystyle color red lnot displaystyle displaystyle lnot Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle color red lor Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle displaystyle lor displaystyle displaystyle exists y displaystyle y Loves displaystyle mathrm Loves y displaystyle y x displaystyle x displaystyle by 1 2 x displaystyle forall x displaystyle y displaystyle exists y displaystyle color red lnot displaystyle color red lnot Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle land displaystyle lnot Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle lor displaystyle displaystyle exists y displaystyle y Loves displaystyle mathrm Loves y displaystyle y x displaystyle x displaystyle by 1 2 x displaystyle forall x displaystyle y displaystyle color red exists y Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle land displaystyle lnot Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle lor displaystyle displaystyle color red exists y displaystyle color red y Loves displaystyle mathrm Loves y displaystyle y x displaystyle x displaystyle by 1 2 x displaystyle forall x displaystyle y displaystyle exists y Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle land displaystyle lnot Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle color red lor displaystyle displaystyle color red exists z displaystyle color red z Loves displaystyle mathrm Loves z displaystyle z x displaystyle x displaystyle by 2 x displaystyle forall x z displaystyle exists z displaystyle y displaystyle color red exists y Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle land displaystyle lnot Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle color red lor Loves displaystyle mathrm Loves z displaystyle z x displaystyle x by 3 1 x displaystyle forall x z displaystyle color red exists z y displaystyle exists y displaystyle Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle land displaystyle lnot Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle lor Loves displaystyle mathrm Loves z displaystyle z x displaystyle x by 3 1 x displaystyle forall x y displaystyle color red exists y displaystyle Animal displaystyle mathrm Animal y displaystyle y displaystyle displaystyle land displaystyle lnot Loves x displaystyle mathrm Loves x y displaystyle y displaystyle displaystyle displaystyle lor Loves displaystyle mathrm Loves g x displaystyle g x x displaystyle x by 3 2 displaystyle Animal displaystyle mathrm Animal f x displaystyle f x displaystyle displaystyle color red land displaystyle lnot Loves x displaystyle mathrm Loves x f x displaystyle f x displaystyle displaystyle displaystyle color red lor Loves displaystyle mathrm Loves g x displaystyle g x x displaystyle x by 4 displaystyle Animal displaystyle mathrm Animal f x displaystyle f x displaystyle displaystyle color red lor Loves displaystyle mathrm Loves g x displaystyle g x x displaystyle x displaystyle displaystyle color red land displaystyle Loves x f x displaystyle lnot mathrm Loves x f x displaystyle color red lor Loves g x x displaystyle mathrm Loves g x x displaystyle by 5 displaystyle displaystyle Animal displaystyle mathrm Animal f x displaystyle f x displaystyle displaystyle Loves displaystyle mathrm Loves g x displaystyle g x x displaystyle x displaystyle displaystyle displaystyle Loves x f x displaystyle lnot mathrm Loves x f x displaystyle Loves g x x displaystyle mathrm Loves g x x displaystyle displaystyle clause representation Informally the Skolem function g x displaystyle g x can be thought of as yielding the person by whom x displaystyle x is loved while f x displaystyle f x yields the animal if any that x displaystyle x doesn t love The 3rd last line from below then reads as x displaystyle x doesn t love the animal f x displaystyle f x or else x

rec-icon Recommended Topics
Share this article
Read the free encyclopedia and learn everything...
See more
Read the free encyclopedia. All information in Wikipedia is available. No payment required.
Share this article on
Share
XXX 0C
Thursday, 27 March, 2025
Follow Us On