Complexity Theory: Efficient Reductions Between Discrete Mathematics Problems, Slides of Discrete Mathematics

The relationship between graph coloring problems, specifically 2-colorability and 3-colorability, and circuit satisfiability. It discusses algorithms for deciding graph colorability and the existence of reductions between these problems. The document also touches upon the concept of cosmetically different but substantially similar problems.

Typology: Slides

2012/2013

Uploaded on 04/27/2013

emee
emee 🇮🇳

4.3

(30)

134 documents

1 / 64

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Introduction to Discrete
Mathematics
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40

Partial preview of the text

Download Complexity Theory: Efficient Reductions Between Discrete Mathematics Problems and more Slides Discrete Mathematics in PDF only on Docsity!

Introduction to Discrete

Mathematics

Complexity Theory: Efficient

Reductions Between Computational

Problems

K-Coloring

We define a k-coloring of a graph:

Each node gets colored with one color At most k different colors are used

If two nodes have an edge between them they must have different colors

A graph is called k-colorable if and only if it has a k-coloring

A 2-CRAYOLA Question!

Is Gadget 2-colorable? No, it contains a triangle

Else, output an odd cycle

Alternate coloring algorithm:

To 2-color a connected graph G, pick an arbitrary node v, and color it white Color all v’s neighbors black Color all their uncolored neighbors white, and so on If the algorithm terminates without a color conflict, output the 2-coloring

Theorem: G contains an odd cycle if and only if G is not 2-colorable

A 2-CRAYOLA Question!

Theorem: G contains an odd cycle if and only if G is not 2-colorable

A 3-CRAYOLA Question!

3-Coloring Is Decidable

by Brute Force

Try out all 3 n^ colorings until you determine if G has a 3-coloring

3-Colorability Search Oracle

NO, or

YES here is how: gives 3-coloring of the nodes

Better 3-CRAYOLA Oracle

3-Colorability Decision Oracle

3-Colorability Search Oracle

How do I turn a mere decision oracle into a search oracle? GIVEN: 3-Colorability Decision Oracle

Christmas Present

What if I gave the oracle partial colorings of G? For each partial coloring of G, I could pick an uncolored node and try different colors on it until the oracle says “YES”

Beanie’s Fix

GIVEN:

3-Colorability Decision Oracle

Let’s now look at two

other problems:

  1. K-Clique
  2. K-Independent

Set