Exact witness geometry and the projection problem · Chapter 17 of 24

16. Worked SAT and UNSAT examples

Take

x=(z1∨z2)∧(¬z1∨z3)∧(¬z2∨¬z3).(45)x=(z_1\lor z_2)\land(\neg z_1\lor z_3)\land(\neg z_2\lor\neg z_3). \tag{45}

Eliminating z3z_3 resolves its positive and negative clauses to obtain

D2=(z1∨z2)∧(¬z1∨¬z2).(46)D_2=(z_1\lor z_2)\land(\neg z_1\lor\neg z_2). \tag{46}

Eliminating z2z_2 produces z1∨¬z1z_1\lor\neg z_1, which is a tautology, so D1=1D_1=1. Eliminating z1z_1 gives D0=1D_0=1.

Recovery stage Test Choice
t=1t=1 D1(0)=1D_1(0)=1 y1=0y_1=0
t=2t=2 D2(0,0)=0D_2(0,0)=0, while D2(0,1)=1D_2(0,1)=1 y2=1y_2=1
t=3t=3 D3(0,1,0)=1D_3(0,1,0)=1 y3=0y_3=0

The returned assignment is y=(0,1,0)y=(0,1,0), and direct evaluation verifies all three clauses. Every choice was computed from the formula and its projections.

For the unsatisfiable formula in (17), elimination of vv produces the two units uu and ¬u\neg u, after tautology removal. Elimination of uu produces the empty clause. Therefore D0=0D_0=0 and the algorithm correctly returns UNSAT without attempting witness recovery.