Professional Documents
Culture Documents
Notes On Mathematical and Algorithmic Problems: 1 1in3SAT (Updated Mar. 3, 2014)
Notes On Mathematical and Algorithmic Problems: 1 1in3SAT (Updated Mar. 3, 2014)
Notes On Mathematical and Algorithmic Problems: 1 1in3SAT (Updated Mar. 3, 2014)
Problems
Chao Wang
March 3, 2014
1.2 Proof
We prove this by reducing 3SAT to 1in3SAT .
The transformation is: for each of the ci = {xi1 , xi2 , xi3 }, we add 4 new
variables ai , bi , ci , di and produce three new clauses:
1
Suppose in the original instance clause ci , xi1 , xi2 , xi3 are all set to false.
This means that in the second clause we produce, either bi or ci (but not
both) must be true, otherwise it’s a contradiction to exactly one literal has
to be true. So either in the first or the third transformed clause, there will
be at least two variables set to true (either x̄i1 and bi or x̄i3 and ci , but
not both). This is a contradiction to our 1in3SAT condition. Thus, in the
original clause ci , at least one of three literals has to be true. Therefore, the
original instance must have a solution under 3SAT condition.
Suppose in clause ci ,
(a) xi2 is set to true, we can set bi and ci to false in the second transformed
clause and set ai = xi1 and di = xi3 .
(b) xi2 is set to false and both xi1 and xi3 are set to true, we can set ai to
true, bi to false, ci to true, and di to false.
(c) only xi1 is set to true, we can set bi to true, and ai , ci and di to false.
(d) only xi3 is set to true, we can set ci to true, and ai , bi and di to false.
2.2 Proof
A more strict representation will be proved that
xn = 2n−2 · F2n+1
2
The basic idea is induction for n.
When n = 2,
√
x2 = 3 · x1 + [ 5 · x1 ]
√
= 3 · 1 + [ 5 · 1]
= 5
x2 = 22−2 · F2n+1
√ √
1 1+ 5 5 1 1− 5 5
= √ ( ) −√ ( )
5 2 5 2
√ √ √
1 1 + 10 · 5 + 5 · 52 + 52 5 + 10 · 5 5 + 5 · 5
= √ ·
5 32
2 2
√ √ √
1 1 + 10 · 5 + 5 · 5 − 5 5 − 10 · 5 5 − 5 · 5
− √ ·
5 32
2
√ √ √
2 5 5 + 10 · 5 5 + 5 · 5
= √ ·
5 32
= 5
3
√
k−1 1 − 5 2k+1
+ 2 ·( )
2 √
√ k−1 1 − 5 2k+1
= 3xk + 5xk + 2 ·( )
√ 2
√ 5−1 1 √
= 3xk + 5xk − · · (3 − 5)k
√ 2 2
= 3xk + [ 5xk ]
= xk+1
The equality holds when n = k + 1, also.
Under mathematical inductive principle, xn = 2n−2 ·F2n+1 holds for all n ≥ 2.
If we formally multiply out this product and collect all the x2 terms, we can
see
1 1 X ∞
1
− =− 2
6 π n=1 n2
yet
X
∞
1 π2
=
n=1 n2 6
Further more, if we collect all the x4 terms, we can see
1 1 1 1 1 1 1
= {(− 2 − 2 − 2 − . . .)2 − [(− 2 )2 + (− 2 )2 + (− 2 )2 + . . .]}/2
5! π 4π 9π π 4π 9π
4
yet
1 1 1 1 1
= ( )2 − 4 (1 + 4 + 4 + . . .)
60 6 π 2 3
4
Now we get the sum of the x series,
X
∞
1 π4
= ≈ 1.082323234
n=1 n4 90
Further more, how to calculate the exact value of the xk series when k is
an odd number based upon the fact that when k > 1,
X
∞
1
n=1 nk
is convergent?