ArticleslgStudy

mathematics

Planar SAT

Planar SAT is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Planar SAT rather than just read about it. In short: In computer science, the planar 3-satisfiability problem (abbreviated PLANAR 3SAT or PL3SAT) is an extension of the classical Boolean 3-satisfiability problem to a planar incidence graph. In other words, it asks whether the variables of a given Boolean formula—whose incidence graph consisting of variables and clauses can be embedded on a plane—can be consistently replaced by the values TRUE or FALSE in such a way th…

Planar SAT — main illustration
Planar SAT — illustration

Key takeaways

  • Planar SAT belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Planar SAT to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Planar SAT from memory before moving on to harder problems.

Reference excerpt

In computer science, the planar 3-satisfiability problem (abbreviated PLANAR 3SAT or PL3SAT) is an extension of the classical Boolean 3-satisfiability problem to a planar incidence graph. In other words, it asks whether the variables of a given Boolean formula—whose incidence graph consisting of variables and clauses can be embedded on a plane—can be consistently replaced by the values TRUE or FALSE in such a way that the formula evaluates to TRUE. If this is the case, the formula is called satisfiable. On the other hand, if no such assignment exists, the function expressed by the formula is FALSE for all possible variable assignments and the formula is unsatisfiable. For example, the formula "a AND NOT b" is satisfiable because one can find the values a = TRUE and b = FALSE, which make (a AND NOT b) = TRUE. In contrast, "a AND NOT a" is unsatisfiable. Like 3SAT, PLANAR-SAT is NP-complete, and is commonly used in reductions.

Definition Every 3SAT problem can be converted to an incidence graph in the following manner: For every variable vi, the graph has one corresponding node vi, and for every clause cj, the graph has one corresponding node cj. An edge (vi,cj) is created between variable vi and clause cj whenever vi or ¬vi is in cj. Positive and negative literals are distinguished using edge colorings. The formula is satisfiable if and only if there is a way to assign TRUE or FALSE to each variable node such that every clause node is connected to at least one TRUE by a positive edge or FALSE by a negative edge. A planar graph is a graph that can be drawn on the plane in a way such that no two of its edges cross each other. Planar 3SAT is a subset of 3SAT in which the incidence graph of the variables and clauses of a Boolean formula is planar. It is important because it is a restricted variant, and is still NP-complete. Many problems (for example games and puzzles) cannot represent non-planar graphs. Hence, Planar 3SAT provides a way to prove those problems to be NP-hard.

Proof of NP-completeness

The following proof sketch follows the proof of D. Lichtenstein. Trivially, PLANAR 3SAT is in NP. It is thus sufficient to show that it is NP-hard via reduction from 3SAT. This proof makes use of the fact that (¬a∨¬b∨c)∧(a∨¬c)∧(b∨¬c) is equivalent to (a∧b)↔c and that (a∨¬b)∧(¬a∨b) is equivalent to a↔b. First, draw the incidence graph of the 3SAT formula. Since no two variables or clauses are connected, the resulting graph will be bipartite. Suppose the resulting graph is not planar. For every crossing of edges (a, c1) and (b, c2), introduce nine new variables a1, b1, α, β, γ, δ, ξ, a2, b2, and replace every crossing of edges with a crossover gadget shown in the diagram. It consists of the following new clauses: (¬a2∨¬b2∨α)∧(a2∨¬α)∧(b2∨¬α),i.e.,a2∧b2↔α(¬a2∨b1∨β)∧(a2∨¬β)∧(¬b1∨¬β),i.e.,a2∧¬b1↔β(a1∨b1∨γ)∧(¬a1∨¬γ)∧(¬b1∨¬γ),i.e.,¬a1∧¬b1↔γ(a1∨¬b2∨δ)∧(¬a1∨¬δ)∧(b2∨¬δ),i.e.,¬a1∧b2↔δ(α∨β∨ξ)∧(γ∨δ∨¬ξ),i.e.,α∨β∨γ∨δ(¬α∨¬β)∧(¬β∨¬γ)∧(¬γ∨¬δ)∧(¬δ∨¬α),(a2∨¬a)∧(a∨¬a2)∧(b2∨¬b)∧(b∨¬b2),i.e.,a↔a2, b↔b2 If the edge (a, c1) is inverted in the original graph, (a1, c1) should be inverted in the crossover gadget. Similarly if the edge (b, c2) is inverted in the original, (b1, c2) should be inverted. One can easily show that these clauses are satisfiable if and only if a↔a1 and b↔b1. This algorithm shows that it is possible to convert each crossing into its planar equivalent using only a constant amount of new additions. Since the number of crossings is polynomial in terms of the number of clauses and variables, the reduction is polynomial.

Variants and related problems Planar 3SAT with a variable-cycle: Here, in addition to the incidence-graph, the graph also includes a cycle going through all the variables, and each clause is either inside or outside this cycle. The resulting graph must still be planar. This problem is NP-complete. However, if the problem is further restricted such that all clauses are inside the variable-cycle, or all clauses are outside it, then the problem can be solved in polynomial time using dynamic programming. Planar 3SAT with literals: The bipartite incidence graph of the literals and clauses is planar too. This problem is NP-complete. Planar rectilinear 3SAT: Vertices of the graph are represented as horizontal segments. Each variable lies on the x-axis while each clause lies above/below the x-axis. Every connection between a variable and a clause must be a vertical segment. Each clause may only have up to 3 connections with variables and are either all-positive or all-negative. This problem is NP-complete. Planar monotone rectilinear 3SAT: This is a variant of planar rectilinear 3SAT where the clauses above the x-axis are all-positive and the clauses below the x-axis are all-negative. This problem is NP-complete and remains NP-complete when each clause containing three variables has two neighboring variables that are adjacent on the x-axis (i.e., no other variable appears horizontally between the neighboring variables). Planar 1-in-3SAT: This is the planar equivalent of 1-in-3SAT. It is NP-complete. Planar positive rectilinear 1-in-3SAT: This is the planar equivalent of positive 1-in-3SAT. It is NP-complete. Planar NAE 3SAT: This problem is the planar equivalent of NAE 3SAT. Unlike the other variants, this problem can be solved in polynomial time. The proof is by reduction to planar maximum cut. Planar circuit SAT: This is a variant of circuit SAT in which the circuit, computing the SAT formula, is a planar directed acyclic graph. Note that this is a different graph than the adjacency graph of the formula. This problem is NP-complete.

Reductions

Logic puzzles Reduction from Planar SAT is a commonly used method in NP-completeness proofs of logic puzzles. Examples of these include Fillomino, Nurikabe, Shakashaka, Tatamibari, and Tentai Show. These proofs involve constructing gadgets that can simulate wires carrying signals (Boolean values), input and output gates, signal splitters, NOT gates and AND (or OR) gates in order to represent the planar embedding of any Boolean circuit. Since the circuits are planar, crossover of wires do not need to be considered.

Flat folding of fixed-angle chains This is the problem of deciding whether a polygonal chain with fixed edge lengths and angles has a planar configuration without crossings. It has been proven to be strongly NP-hard via a reduction from planar monotone rectilinear 3SAT.

… excerpt ends here. Continue reading the full article.

Illustrations

Planar SAT: Example of a planar SAT problem. The black edges correspond to non-inverted variables and the red edges correspond to inverted variables.
Example of a planar SAT problem. The black edges correspond to non-inverted variables and the red edges correspond to inverted variables.
Planar SAT: Left side is a crossing; right side is the crossover gadget. The small dots represent clauses. The black and red edges correspond to non-inverted and inverted variables respectively.
Left side is a crossing; right side is the crossover gadget. The small dots represent clauses. The black and red edges correspond to non-inverted and inverted variables respectively.

Worked examples

Example 1 — a first encounter with Planar SAT

Start with the simplest possible case. Write down what Planar SAT claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Planar SAT before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Planar SAT ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Planar SAT

In research
Planar SAT appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Planar SAT in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Planar SAT is common in secondary-school and first-year university syllabi. It links to neighbouring topics Boolean algebra, Electronic design automation, NP-complete problems, so understanding it makes those chapters shorter.
In everyday life
Look for Planar SAT outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Planar SAT” →

How to study Planar SAT in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Planar SAT means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Planar SAT out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Planar SAT in simple terms?

In computer science, the planar 3-satisfiability problem (abbreviated PLANAR 3SAT or PL3SAT) is an extension of the classical Boolean 3-satisfiability problem to a planar incidence graph. In other words, it asks whether the variables of a given Boolean formula—whose incidence graph consisting of va…

Why does Planar SAT matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Planar SAT?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Planar SAT.

Tags

  • Boolean algebra
  • Electronic design automation
  • NP-complete problems
  • Satisfiability problems

Keep exploring