4.17.1 Subset Sum

Definition

Given natural numbers w1,,wn and an integer W, is there a subset that adds up to exactly W?

Polynomial Certifier

Given natural numbers w1,,wn and an integer W, is there a subset that adds up to exactly W?

Reduction from 3-SAT from simple case to general case

Given an instance Φ of 3-SAT, we construct an instance of Subset Sum as following:

Claim 4.17.1.1. 3-SAT p Subset Sum (This construction of 3-SAT leads to a special case of Subset Sum)
Φ is satisfiable if and only if there exists a subset that sums to W.

Φ is satisfiable there exists a subset that sums to W.

Proof. __

There exists a subset that sums to W Φ is satisfiable.

Proof. __