09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

On efficient algorithms for SAT<br />

Note that in this paper we do not try to make minimal DFAs to accept the<br />

examined languages. Our result is more theoretical than practical. However we<br />

note here that in practice automata with high number (over some milli<strong>on</strong>s) of<br />

states are used. Sometimes the so-called lazy evaluati<strong>on</strong> mode is used [10], especially,<br />

in natural language processing. From our point of view it means the<br />

following. For a particular problem <strong>on</strong>e do not need all the states of the automat<strong>on</strong>,<br />

<strong>on</strong>ly the reached states are used. Therefore, in some cases <strong>on</strong>ly those<br />

states are stored which are already reached from the initial state. Using this<br />

method large memory can be saved. Moreover processing a word at most as<br />

many states are needed as the length of the word (plus 1). The disadvantage of<br />

this method that the computati<strong>on</strong> must compute the automat<strong>on</strong> as well, establishing<br />

the possible new states which can take much time. This hard computati<strong>on</strong><br />

was used as a pre-computati<strong>on</strong> at the c<strong>on</strong>structi<strong>on</strong> of our DFAs (similarly to the<br />

pre-computati<strong>on</strong> is used in [31]).<br />

4 The SAT over Unbounded Set of Variables<br />

In [8] seven circumstances are given when the power of c<strong>on</strong>text-free languages is<br />

not enough to describe some phenomena of the world. One of them is a logical<br />

example: the language of tautologies is not c<strong>on</strong>text free, as it is shown in [30].<br />

The complexity of the decisi<strong>on</strong> whether a Boolean formula is tautology is<br />

closely c<strong>on</strong>nected to the complexity of SAT as we already described.<br />

Let a Boolean formula be given. It is a tautology if and <strong>on</strong>ly if its negati<strong>on</strong><br />

is unsatisfiable. The formula is satisfiable if and <strong>on</strong>ly if its negati<strong>on</strong> is not a<br />

tautology.<br />

In [8, 30] the authors use the tautologies over arbitrarily many variables (coding<br />

their names by finite letters) and using the c<strong>on</strong>nectives negati<strong>on</strong>, c<strong>on</strong>juncti<strong>on</strong>,<br />

disjuncti<strong>on</strong> and implicati<strong>on</strong>. It is easy to show that the languages of tautologies<br />

in arbitrary form cannot be regular, because we use brackets. (Using a homomorphism<br />

to substitute all symbols except the brackets by the empty word, we<br />

get the DYCK language, which is not regular, but it is c<strong>on</strong>text-free. Since the<br />

regular languages are closed under homomorphism, the original language cannot<br />

be regular.) Note that we can avoid using the brackets by prefix notati<strong>on</strong> of<br />

formulae, but the language cannot be regular, because a counter is needed to<br />

know how many operands have to follow the operators.<br />

In [23] it is proved that the language of Boolean tautologies over an infinite<br />

alphabet (using coding to a finite alphabet) is not regular and not c<strong>on</strong>text-free,<br />

but it is a c<strong>on</strong>text-sensitive language, even if <strong>on</strong>ly formulae in DNF is used.<br />

It is not a surprising fact, since the membership problem of c<strong>on</strong>text-sensitive<br />

languages is a P-SPACE complete problem ([12, 15]), while the word problem<br />

for c<strong>on</strong>text-free languages is in P. Therefore, this language can be accepted by<br />

a linear bounded Turing-machine. The dual problems of the SAT and n-SAT<br />

are hard with unbounded number of variables. Knowing that the dual problems<br />

have similarly large complexities, we can say that over arbitrary many variables<br />

335

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!