Bellow we follow basic technique developed in
http://kpolyakov.spb.ru/download/mea18bit.pdf
*************************************************************
Find the smallest A so that for all positive integers "x"
(x&24 != 0)⊕(x&9 != 0) => (x&A != 0)*(x&8 =0)
Sign of ⊕ means XOR
*************************************************************
Per link mentioned above (quoting Helen A. Mironchick)
Let Et (x) be a predicate whose truth set is all x for which x & t ≠ 0.
If t is a power of two, then such a predicate will be called basic.
The basic predicate describes (fixes) a single unit in the binary notation.
Further, for brevity, the predicate Et (x) will be denoted by E(t);
we will also denote the truth set of this predicate.
(quoting ends)
Keeping in mind
¬A + A*B = (¬A + A)*(¬A + B) = ¬A + B
A + A*B = A
Proceed as follows
(E(24)*¬E(9) + ¬E(24)*E(9)) => E(A)*¬E(8) = 1
¬(E(24)*¬E(9) + ¬E(24)*E(9)) + E(A)*¬E(8) = 1
(¬E(24) + E(9))*(E(24) + ¬E(9)) + E(A)*¬E(8) = 1
¬E(9)*¬E(24) + E(9)*E(24) + E(A)*¬E(8) = 1
Suppress the double occurrence of ¬E (8) in the first term
¬E(16)*¬E(8)*¬E(1) + E(9)*E(24) + E(A)*¬E(8) = 1
E(9)*E(24)= (E(8) + E(1))*(E(16) + E(8)) =
= E(8) + E(8)*E(16) + E(1)*E(16) + E(1)*E(8)
Apply the principle of absorption
¬E(16)*¬E(8)*¬E(1) + (E(8) + E(1)*E(16)) + E(A)*¬E(8) = 1
((¬E(16)*¬E(1) + E(A))*¬E(8) + E(8) + E(1)*E(16) = 1
(¬E(17) + E(A)) + E(8) + E(1)*E(16) = 1
Thus A(min)=17
************************
Bitwise2 Solution
************************
¬Z(24)⊕¬Z(9) => ¬A*Z(8) = 1
¬Z(24)¬Z(9) + Z(24)*Z(9) + ¬A*Z(8) = 1
¬(Z(24) + Z(9)) + Z(25) + ¬A*Z(8) = 1
¬Z(24&9) + Z(17)*Z(8) + ¬A*Z(8) = 1
Notice that
24 = 11000
& - per bit conjunction
9 = 01001
===========
8 = 01000
Z(24)*Z(9) = Z(25) = Z(17)*Z(8)
17= 10001
"v" - per bit disjunction
08= 01000
=============
25 = 11001
Now continue
¬Z(8) + Z(17)*Z(8) + ¬A*Z(8) = 1
¬Z(8) + Z(17) + ¬A = 1
(A=> Z(17)) + (A=> ¬Z(8)) = 1
Thus A(min) = 17
Another sample
***********************************************
Technique of calculation predicates
per Helen Mironchick
***********************************************
E(56)⊕E(25) => E(A)*¬E(24) = 1
¬E(56)*¬E(25) + E(56)*E(25) + E(A)*¬E(24) = 1
¬E(32)*¬E(16)*¬E(8)*¬E(1) +
+ (E(32) + E(16) + E(8))*(E(16) + E(8) + E(1)) + E(A)*¬E(24) = 1
¬E(32)*¬E(16)*¬E(8)*¬E(1) + E(32)*(E(16) + E(8) + E(1)) + E(16) + E(8) +
+ E(A)*¬E(16)*¬E(8) = 1
¬E(32)*¬E(1) + E(32)*(E(16) + E(8) + E(1)) + E(16) + E(8) + E(A) = 1
¬E(33) + E(32)*(E(16) + E(8) + E(1)) + E(16) + E(8) + E(A) = 1
Thus A(min) = 33
**************************
Bitwise2 Solution
**************************
¬Z(56)⊕¬Z(25) => ¬A*Z(24) = 1
¬Z(56)¬Z(25) + Z(56)*Z(25) + ¬A*Z(24) = 1
¬(Z(56) + Z(25)) + Z(57) + ¬A*Z(24) = 1
¬Z(56&25) + Z(33)*Z(24) + ¬A*Z(24) = 1
56 = 111000
& - per bit conjunction
25 = 011001
===========
24 = 011000
33 = 100001
v - per bit disjunction
24 = 011000
============
57 = 111001
56 = 111000
v - per bit disjunction
25 = 011001
===========
57 = 111000
So, we get:-
Z(56)*Z(25) = Z(57) = Z(33)*Z(24)
Proceed as folows :
¬Z(24) + Z(33)*Z(24) + ¬A*Z(24) = 1
¬Z(24) + Z(33) + ¬A = 1
(A => Z(33)) + (A => ¬Z(24)) = 1
(A => Z(33)) + (A => ¬Z(24)) = 1
Thus A(min) = 33
http://kpolyakov.spb.ru/download/mea18bit.pdf
*************************************************************
Find the smallest A so that for all positive integers "x"
(x&24 != 0)⊕(x&9 != 0) => (x&A != 0)*(x&8 =0)
Sign of ⊕ means XOR
*************************************************************
Per link mentioned above (quoting Helen A. Mironchick)
Let Et (x) be a predicate whose truth set is all x for which x & t ≠ 0.
If t is a power of two, then such a predicate will be called basic.
The basic predicate describes (fixes) a single unit in the binary notation.
Further, for brevity, the predicate Et (x) will be denoted by E(t);
we will also denote the truth set of this predicate.
(quoting ends)
Keeping in mind
¬A + A*B = (¬A + A)*(¬A + B) = ¬A + B
A + A*B = A
Proceed as follows
(E(24)*¬E(9) + ¬E(24)*E(9)) => E(A)*¬E(8) = 1
¬(E(24)*¬E(9) + ¬E(24)*E(9)) + E(A)*¬E(8) = 1
(¬E(24) + E(9))*(E(24) + ¬E(9)) + E(A)*¬E(8) = 1
¬E(9)*¬E(24) + E(9)*E(24) + E(A)*¬E(8) = 1
Suppress the double occurrence of ¬E (8) in the first term
¬E(16)*¬E(8)*¬E(1) + E(9)*E(24) + E(A)*¬E(8) = 1
E(9)*E(24)= (E(8) + E(1))*(E(16) + E(8)) =
= E(8) + E(8)*E(16) + E(1)*E(16) + E(1)*E(8)
Apply the principle of absorption
¬E(16)*¬E(8)*¬E(1) + (E(8) + E(1)*E(16)) + E(A)*¬E(8) = 1
((¬E(16)*¬E(1) + E(A))*¬E(8) + E(8) + E(1)*E(16) = 1
(¬E(17) + E(A)) + E(8) + E(1)*E(16) = 1
Thus A(min)=17
************************
Bitwise2 Solution
************************
¬Z(24)⊕¬Z(9) => ¬A*Z(8) = 1
¬Z(24)¬Z(9) + Z(24)*Z(9) + ¬A*Z(8) = 1
¬(Z(24) + Z(9)) + Z(25) + ¬A*Z(8) = 1
¬Z(24&9) + Z(17)*Z(8) + ¬A*Z(8) = 1
Notice that
24 = 11000
& - per bit conjunction
9 = 01001
===========
8 = 01000
Z(24)*Z(9) = Z(25) = Z(17)*Z(8)
17= 10001
"v" - per bit disjunction
08= 01000
=============
25 = 11001
Now continue
¬Z(8) + Z(17)*Z(8) + ¬A*Z(8) = 1
¬Z(8) + Z(17) + ¬A = 1
(A=> Z(17)) + (A=> ¬Z(8)) = 1
Thus A(min) = 17
Another sample
***********************************************
Technique of calculation predicates
per Helen Mironchick
***********************************************
E(56)⊕E(25) => E(A)*¬E(24) = 1
¬E(56)*¬E(25) + E(56)*E(25) + E(A)*¬E(24) = 1
¬E(32)*¬E(16)*¬E(8)*¬E(1) +
+ (E(32) + E(16) + E(8))*(E(16) + E(8) + E(1)) + E(A)*¬E(24) = 1
¬E(32)*¬E(16)*¬E(8)*¬E(1) + E(32)*(E(16) + E(8) + E(1)) + E(16) + E(8) +
+ E(A)*¬E(16)*¬E(8) = 1
¬E(32)*¬E(1) + E(32)*(E(16) + E(8) + E(1)) + E(16) + E(8) + E(A) = 1
¬E(33) + E(32)*(E(16) + E(8) + E(1)) + E(16) + E(8) + E(A) = 1
Thus A(min) = 33
**************************
Bitwise2 Solution
**************************
¬Z(56)⊕¬Z(25) => ¬A*Z(24) = 1
¬Z(56)¬Z(25) + Z(56)*Z(25) + ¬A*Z(24) = 1
¬(Z(56) + Z(25)) + Z(57) + ¬A*Z(24) = 1
¬Z(56&25) + Z(33)*Z(24) + ¬A*Z(24) = 1
56 = 111000
& - per bit conjunction
25 = 011001
===========
24 = 011000
33 = 100001
v - per bit disjunction
24 = 011000
============
57 = 111001
56 = 111000
v - per bit disjunction
25 = 011001
===========
57 = 111000
So, we get:-
Z(56)*Z(25) = Z(57) = Z(33)*Z(24)
Proceed as folows :
¬Z(24) + Z(33)*Z(24) + ¬A*Z(24) = 1
¬Z(24) + Z(33) + ¬A = 1
(A => Z(33)) + (A => ¬Z(24)) = 1
(A => Z(33)) + (A => ¬Z(24)) = 1
Thus A(min) = 33






















