All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Implication graph?

Definition 24.22 University Computer Science — Year 2 · Chapter 24 — Predicate Logic and Formal Proofs

The implication graph of a 2-CNF formula over x1,…,xnx_1, \dots, x_n is the directed graph whose 2n2n vertices are the literals xkx_k and ¬xk\neg x_k, with two edges ¬a→b\neg a \to b and ¬b→a\neg b \to a for each clause a∨ba \vee b (where ¬¬x\neg\neg x is xx).

The implication graph of the four clauses on x_1, x_2: each clause a b gives the edges a b and b a. All four literals are in one strongly connected component, so x_1 implies x_1 and x_1 implies x_1.
The implication graph of the four clauses on x1,x2x_1, x_2: each clause a∨ba \vee b gives the edges ¬a→b\neg a \to b and ¬b→a\neg b \to a. All four literals are in one strongly connected component, so x1x_1 implies ¬x1\neg x_1 and ¬x1\neg x_1 implies x1x_1.
Read in context →