Implication graph

From testwiki
Jump to navigation Jump to search

Template:Short description

An implication graph representing the Template:Nowrap instance (x0x2)(x0¬x3)(x1¬x3)(x1¬x4)(x2¬x4)(x0¬x5)(x1¬x5)(x2¬x5)(x3x6)(x4x6)(x5x6).

In mathematical logic and graph theory, an implication graph is a skew-symmetric, directed graph Template:Math composed of vertex set Template:Mvar and directed edge set Template:Mvar. Each vertex in Template:Mvar represents the truth status of a Boolean literal, and each directed edge from vertex Template:Mvar to vertex Template:Mvar represents the material implication "If the literal Template:Mvar is true then the literal Template:Mvar is also true". Implication graphs were originally used for analyzing complex Boolean expressions.

Applications

A 2-satisfiability instance in conjunctive normal form can be transformed into an implication graph by replacing each of its disjunctions by a pair of implications. For example, the statement (x0x1) can be rewritten as the pair (¬x0x1),(¬x1x0). An instance is satisfiable if and only if no literal and its negation belong to the same strongly connected component of its implication graph; this characterization can be used to solve Template:Nowrap instances in linear time.[1]

In CDCL SAT-solvers, unit propagation can be naturally associated with an implication graph that captures all possible ways of deriving all implied literals from decision literals,[2] which is then used for clause learning.

References