简体   繁体   中英

Complexity for converting any propositional formula to CNF format

What is the complexity for converting any propositional formula to CNF format? Is it an NP-complete problem?

The standard algorithm to transform a general Well-Formed Formula to an equivalent CNF has an exponential run time , since in the worst case a n-clauses WFF is equivalento to a 2^n-clauses CNF .

However, you can transform in polynomial time an arbitrary boolean formula into a CNF that is not stricty equivalent, but satisfable only if the boolean formula is satisfable . This is the standard reduction used to prove that 3CNF is NP-complete, givent that the more general SAT is NP-complete. See here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM