A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Conversion to Clausal Form

Graduate Depth 96 in the knowledge graph I know this Set as goal
2topics build on this
586prerequisites beneath it
See this on the map →
Conjunctive and Disjunctive Normal FormsPrenex Normal Form+3 moreGround Instances and Variable Instantiation
first-order-logic normal-forms automated-reasoning

Core Idea

Any first-order formula can be converted to clausal form (a conjunction of disjunctions of literals), which is the canonical input format for resolution-based theorem provers. The conversion process involves converting to prenex normal form, Skolemization, and distribution of conjunction over disjunction—understanding this process is essential for using automated reasoning tools.

Explainer

You know how to convert a propositional formula to conjunctive normal form (CNF) — a conjunction (AND) of clauses, where each clause is a disjunction (OR) of literals (atomic formulas or their negations). For propositional logic, CNF is the end state. For first-order logic, the analogous goal is clausal form: a set of clauses where each clause is a disjunction of first-order literals, with all variables implicitly universally quantified. Resolution-based theorem provers like Prolog's underlying engine and ATP systems (Vampire, E, SPASS) require their input in clausal form, so learning the conversion pipeline is essential for applying automated reasoning.

The pipeline has three stages. First, convert to prenex normal form (PNF): push all quantifiers to the front of the formula so that the quantifier block (the prefix) precedes a quantifier-free matrix. You know how to do this: push negations inward using De Morgan's laws and the rules ¬∀x φ ≡ ∃x ¬φ and ¬∃x φ ≡ ∀x ¬φ, then pull quantifiers outward using the rules for conjunction and disjunction. The result is a formula like ∀x ∃y ∀z M(x, y, z) where M is quantifier-free. Second, apply Skolemization: replace each existential quantifier with a Skolem function whose arguments are all universally quantified variables that have been introduced earlier. If ∃y appears after ∀x, replace every occurrence of y with a fresh function symbol f(x). After Skolemization you have a universally quantified formula — all quantifiers are ∀ — so you can drop the universal prefix entirely, since all remaining variables are understood to be universally quantified. The Skolemized formula is equisatisfiable with the original: it has a model if and only if the original does, though the two formulas are not logically equivalent.

Third, distribute the matrix into CNF. The Skolemized matrix is a quantifier-free first-order formula — you can apply the same propositional CNF conversion to it, treating atomic formulas as propositional atoms. Use distribution of ∨ over ∧ (or equivalently the TSEITIN transformation for efficiency) to produce a conjunction of clauses. Each clause becomes a member of the clause set. The entire process converts any first-order formula into a finite set of clauses that is equisatisfiable with the original. The clause set `{C₁, C₂, ..., Cₙ}` is treated as their conjunction, and each variable in each clause is universally quantified.

A worked example clarifies the pipeline. Start with ∀x (P(x) → ∃y Q(x,y)). Expand the implication: ∀x (¬P(x) ∨ ∃y Q(x,y)). Pull the existential quantifier outward: ∀x ∃y (¬P(x) ∨ Q(x,y)). Skolemize: replace y with f(x), giving ∀x (¬P(x) ∨ Q(x,f(x))). Drop the universal quantifier (variables implicitly ∀). The result is the single clause {¬P(x), Q(x,f(x))} — a clause set with one clause and one Skolem function. Resolution can now operate on this clause set directly, deriving consequences by combining and canceling complementary literals across clauses.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesBoolean AlgebraIntroduction to Propositional LogicIntroduction to Predicate Logic (First-Order Logic)First-Order Logic SyntaxTerms and Atomic Formulas in FOLVariable Binding and ScopeOpen and Closed Formulas in First-Order LogicVariable Substitution and Capture-Avoidance in First-Order LogicQuantifier Instantiation Rules in First-Order Proof SystemsUniversal Quantification: Meaning and ScopeFree Variables and Bound VariablesSubstitution and Instantiation in Predicate LogicTerms and Atomic FormulasFormulas and Well-Formed ExpressionsStructures and InterpretationsModel Interpretation and SatisfactionInterpretation, Truth, and Satisfaction of FormulasLogical Consequence and EntailmentSatisfiability and UnsatisfiabilityConsistency and Inconsistency of TheoriesConsistency and InconsistencyBasic Model TheoryCompactness Theorem in Model TheoryLöwenheim-Skolem Theorems: Overview and UnificationUpward Löwenheim-Skolem TheoremDownward Löwenheim-Skolem TheoremSkolem Functions and Witness FunctionsSkolemization and Witness FunctionsConversion to Clausal Form

Longest path: 97 steps · 586 total prerequisite topics

Prerequisites (5)

Leads To (1)