Clausal Normal Form - Conversion To Clausal Normal Form

Conversion To Clausal Normal Form

The procedure to convert a formula into clausal form can destroy the structure of the formula, and naive translations often causes exponential blowup in the size of the resulting formula.

The procedure begins with any formula of classical first-order logic:

  1. Put the formula into negation normal form.
  2. Standardize variables
    • becomes, where is new
  3. Skolemize -- replace existential variables with Skolem constants or Skolem functions of universal variables, from the outside inward. Make the following replacements:
    • becomes, where is new
  4. Discard the universal quantifiers (which are implicit in CNF).
  5. Put the formula into conjunctive normal form.
  6. Replace with . Each conjunct is of the form, which is equivalent to .

When n ≤ 1 for all clauses, the logic is called Horn clause logic and is equivalent in computational power to a universal Turing machine. Horn logic is the basis of Prolog, the most widely used logic programming language.

Often it is sufficient to generate an equisatisfiable (not an equivalent) CNF for a formula. In this case, the worst-case exponential blow-up can be avoided by introducing definitions and using them to rename parts of the formula.

Read more about this topic:  Clausal Normal Form

Famous quotes containing the words conversion, normal and/or form:

    The conversion of a savage to Christianity is the conversion of Christianity to savagery.
    George Bernard Shaw (1856–1950)

    We have been weakened in our resistance to the professional anti-Communists because we know in our hearts that our so-called democracy has excluded millions of citizens from a normal life and the normal American privileges of health, housing and education.
    Agnes E. Meyer (1887–1970)

    Nothing comes to pass in nature, which can be set down to a flaw therein; for nature is always the same and everywhere one and the same in her efficiency and power of action; that is, nature’s laws and ordinances whereby all things come to pass and change from one form to another, are everywhere and always; so that there should be one and the same method of understanding the nature of all things whatsoever, namely, through nature’s universal laws and rules.
    Baruch (Benedict)