Definition
Krom Formula
Tractability
Krom formulas form a sub-class of SAT that is efficiently solvable.
Computing
Given a Krom formula . As every clause only consists of two literals, every clause can be expressed as an implication:
Implications are directed edges, meaning we can construct an implication graph based on .
Indirection Graph
If some and lie in the same strongly connected component, i.e. there exists some implication path s.t. they imply each other, we output a NO-instance. Otherwise, we output a YES-instance.
So if there is a path , then if is true, must also be true. means there’s a contradiction (law of excluded middle), and the formula is unsatisfiable.
Implication Graph: Strongly Connected Components
Trivially, every vertex is a singleton in its own strongly connected component:
Therefore, there are no contradictory paths, meaning concludes in a YES-instance.