Knowledge

Talk:Conjunctive normal form

Source 📝

84: 74: 53: 22: 672:
I have also reverted the change from -(A v B) to -(A & B); IMO, since A v B is more obvious to be in CNF than A&B (even if the second still is), then it's clear that the negation (rather than the binary connective) is the problem there. I have also added an explanation for A&B to be in
418:
A formula in CNF is a conjunction of clauses. There is in general no obligation for a clause to contain all variables, which is a special case. Can you provide a source for the statement that every clause must contain all variables? Clearly, in some cases this is necessary, but is not part of the
407:
I have been studying boolean algebra in my class "Fundamentals of Logic Design", and we are taught that CNF is more than just product of sums. We are taught that every sum (clause) must contain every literal. *This* is what makes the form useful for comparing functions and performing automatic
593:
is, in the definitions I am used to, both in CNF and DNF. It is in CNF because it is the conjunction of two disjunctions of literals (the disjunctions being 'A' and 'B'). It is in DNF because it is the disjunction of a conjunction of literals (there is only one disjunct, and it is
162:
Bah. Conjunctive normal form is not a method. There is a method to construct a conjunctive normal form of a logical function, but the CNF, the result of this method is not the method. A method is not the same as the result of this. Be exact, please :-)) (a mathematician).
826:
Shouldn't the complexity of converting a formula into CNF, preserving validity, be coNP-hard? Because the validity problem for a DNF is coNP-hard and it can be decided by converting the DNF into CNF (the validity of a CNF can be decided in linear time)?
359: 768:
Conjunctive normal form and clausal normal form are indeed the same thing. See, for example, Melvin Fitting, First order logic and automated theorem proving, second edition, page 28. Thus I vote to merge
231:
These transformations are based on creating new variables that represent the truth value of a subformula (should the fact that new variables are necessary be mentioned in the article?). For example,
688:
Shouldn't it be "distribute ORs over ANDs"? Where i am interpreting "distribute ANDs over ORs" to mean the act of converting things like "A AND (B OR C)" into things like "(A AND B) OR (A AND C)".
551: 140: 267: 591: 483: 647: 618: 205:(rather than equivalence) and introducing new variables exist. These transformations are interesting because they are guaranteed not to produce an exponential blow-up. 385: 855: 130: 850: 106: 272: 177:
If 4-SAT is defined like 3-SAT (all clauses have at most 4 literals), the problem is NP-complete, like any other k-SAT problem with k: -->
828: 770: 209:
I am curious as to the source of this statement. I am particularly interested in reading what these transformations are specifically. --
97: 58: 434: 202: 178:
2. The recent edit stating that 4-SAT is linear is incorrect unless a different definition of 4-SAT is considered. Source? -
723: 33: 488: 424: 392: 183: 21: 774: 832: 420: 388: 179: 758: 693: 442: 39: 754: 719: 83: 234: 711: 707:
It appears that a step is missing. While converting, the second step should be to move ¬ inward.
558: 715: 105:
on Knowledge. If you would like to participate, please visit the project page, where you can join
793: 744: 89: 73: 52: 812: 689: 570: 462: 438: 626: 597: 433:
In circuit design it seems common to use a different definition than the one used in logic:
409: 674: 408:
analysis. Please comment, i'm interested to know how this is formally defined and used.
364: 223: 554: 844: 789: 740: 660: 553:). Can someone provide a counterexample if this is false or change the page if not? 485:
is actually in DNF, and not CNF, because it is a single literal (i.e. equivalent to
836: 816: 808: 797: 778: 762: 748: 727: 697: 677: 665: 562: 446: 437:. I'm no expert though. However, somebody should mention this fact on this page. -- 428: 412: 396: 213: 187: 167: 164: 753:
I think it can be merged, over various internet sources both are treated same..
102: 79: 210: 656: 354:{\displaystyle (new\vee c)\wedge (\neg new\vee a)\wedge (\neg new\vee b)} 623:
An illuminating question to ask in your logic class would be - if
807:
The method of converting a formula into a CNF is not introduced.
459:
I'm not quite sure, but in my Logic class I've been told that
15: 224:
The Optimality of a Fast CNF Conversion and its Use with SAT
629: 600: 573: 491: 465: 367: 275: 237: 703:
Converting from first-order logic - missing 2nd step
673:
CNF since this might not be obvious at first sight.
101:, a collaborative effort to improve the coverage of 201:Transformations of formulae in CNF form preserving 788:Regarding the word "redices" -- is that a word? -- 641: 612: 585: 545: 477: 379: 353: 261: 546:{\displaystyle (A\wedge B)\vee (True\wedge True)} 8: 19: 47: 628: 599: 572: 490: 464: 366: 274: 236: 739:I don't believe this should be merged. 49: 7: 653:its conjunctive normal form? — Carl 95:This article is within the scope of 38:It is of interest to the following 330: 303: 14: 856:Low-priority mathematics articles 262:{\displaystyle (a\wedge b)\vee c} 115:Knowledge:WikiProject Mathematics 851:Start-Class mathematics articles 435:Canonical_form_(Boolean_algebra) 118:Template:WikiProject Mathematics 82: 72: 51: 20: 135:This article has been rated as 749:16:48, 29 September 2011 (UTC) 540: 510: 504: 492: 348: 327: 321: 300: 294: 276: 250: 238: 197:Regarding the following line: 1: 779:19:56, 28 December 2012 (UTC) 728:07:31, 10 November 2010 (UTC) 678:12:58, 14 February 2008 (UTC) 666:12:53, 13 February 2008 (UTC) 563:11:36, 13 February 2008 (UTC) 188:15:25, 16 December 2005 (UTC) 109:and see a list of open tasks. 837:18:07, 19 January 2024 (UTC) 763:17:01, 6 December 2011 (UTC) 698:10:23, 24 January 2010 (UTC) 447:20:23, 29 January 2011 (UTC) 429:21:21, 6 February 2006 (UTC) 413:21:05, 6 February 2006 (UTC) 397:13:50, 2 January 2006 (UTC) 214:06:48, 2 January 2006 (UTC) 872: 817:16:05, 9 March 2019 (UTC) 684:Distribute ANDs over ORs? 649:is not in CNF, then what 586:{\displaystyle A\wedge B} 478:{\displaystyle A\wedge B} 134: 67: 46: 798:13:47, 16 May 2017 (UTC) 642:{\displaystyle A\land B} 613:{\displaystyle A\land B} 269:can be transformed into 168:20:44, 28 May 2005 (UTC) 141:project's priority scale 98:WikiProject Mathematics 803:Method remains unclear 643: 614: 587: 547: 479: 403:incomplete definition? 381: 355: 263: 207: 28:This article is rated 644: 615: 588: 548: 480: 419:definition of CNF. - 387:is a new variable. - 382: 356: 264: 199: 627: 598: 571: 489: 463: 365: 273: 235: 121:mathematics articles 822:converting into CNF 380:{\displaystyle new} 639: 610: 583: 543: 475: 377: 351: 259: 90:Mathematics portal 34:content assessment 731: 714:comment added by 664: 222:Daniel Sheridan. 155: 154: 151: 150: 147: 146: 863: 730: 708: 654: 648: 646: 645: 640: 619: 617: 616: 611: 592: 590: 589: 584: 552: 550: 549: 544: 484: 482: 481: 476: 386: 384: 383: 378: 360: 358: 357: 352: 268: 266: 265: 260: 219:See for example 123: 122: 119: 116: 113: 92: 87: 86: 76: 69: 68: 63: 55: 48: 31: 25: 24: 16: 871: 870: 866: 865: 864: 862: 861: 860: 841: 840: 824: 805: 786: 737: 709: 705: 686: 625: 624: 596: 595: 569: 568: 487: 486: 461: 460: 457: 455:Single clauses. 405: 363: 362: 271: 270: 233: 232: 195: 175: 160: 120: 117: 114: 111: 110: 88: 81: 61: 32:on Knowledge's 29: 12: 11: 5: 869: 867: 859: 858: 853: 843: 842: 823: 820: 804: 801: 785: 782: 767: 736: 733: 704: 701: 685: 682: 681: 680: 669: 668: 638: 635: 632: 621: 609: 606: 603: 582: 579: 576: 542: 539: 536: 533: 530: 527: 524: 521: 518: 515: 512: 509: 506: 503: 500: 497: 494: 474: 471: 468: 456: 453: 452: 451: 450: 449: 404: 401: 400: 399: 376: 373: 370: 350: 347: 344: 341: 338: 335: 332: 329: 326: 323: 320: 317: 314: 311: 308: 305: 302: 299: 296: 293: 290: 287: 284: 281: 278: 258: 255: 252: 249: 246: 243: 240: 229: 228: 227: 203:satisfiability 194: 191: 174: 171: 159: 156: 153: 152: 149: 148: 145: 144: 133: 127: 126: 124: 107:the discussion 94: 93: 77: 65: 64: 56: 44: 43: 37: 26: 13: 10: 9: 6: 4: 3: 2: 868: 857: 854: 852: 849: 848: 846: 839: 838: 834: 830: 829:94.103.211.82 821: 819: 818: 814: 810: 802: 800: 799: 795: 791: 783: 781: 780: 776: 772: 771:82.24.239.152 765: 764: 760: 756: 751: 750: 746: 742: 734: 732: 729: 725: 721: 717: 713: 702: 700: 699: 695: 691: 683: 679: 676: 671: 670: 667: 662: 658: 652: 636: 633: 630: 622: 607: 604: 601: 580: 577: 574: 567: 566: 565: 564: 560: 556: 537: 534: 531: 528: 525: 522: 519: 516: 513: 507: 501: 498: 495: 472: 469: 466: 454: 448: 444: 440: 436: 432: 431: 430: 426: 422: 417: 416: 415: 414: 411: 402: 398: 394: 390: 374: 371: 368: 345: 342: 339: 336: 333: 324: 318: 315: 312: 309: 306: 297: 291: 288: 285: 282: 279: 256: 253: 247: 244: 241: 230: 225: 221: 220: 218: 217: 216: 215: 212: 206: 204: 198: 192: 190: 189: 185: 181: 172: 170: 169: 166: 157: 142: 138: 132: 129: 128: 125: 108: 104: 100: 99: 91: 85: 80: 78: 75: 71: 70: 66: 60: 57: 54: 50: 45: 41: 35: 27: 23: 18: 17: 825: 806: 787: 766: 755:AshutoshJuve 752: 738: 706: 690:Bayle Shanks 687: 650: 458: 439:Blaisorblade 406: 208: 200: 196: 176: 161: 158:Not a method 137:Low-priority 136: 96: 62:Low‑priority 40:WikiProjects 710:—Preceding 410:Fresheneesz 112:Mathematics 103:mathematics 59:Mathematics 30:Start-class 845:Categories 421:Liberatore 389:Liberatore 180:Liberatore 555:Poromenos 226:.SAT 2004 790:LilHelpa 741:Olleicua 724:contribs 712:unsigned 361:, where 809:Wxhtxdy 716:Loki411 193:Inquiry 165:Gubbubu 139:on the 36:scale. 784:Typo? 735:Merge 675:Tizio 173:4-SAT 833:talk 813:talk 794:talk 775:talk 759:talk 745:talk 720:talk 694:talk 661:talk 559:talk 443:talk 211:Stux 657:CBM 131:Low 847:: 835:) 815:) 796:) 777:) 761:) 747:) 726:) 722:• 696:) 659:· 651:is 634:∧ 620:). 605:∧ 578:∧ 561:) 526:∧ 508:∨ 499:∧ 470:∧ 445:) 427:) 395:) 343:∨ 331:¬ 325:∧ 316:∨ 304:¬ 298:∧ 289:∨ 254:∨ 245:∧ 186:) 831:( 811:( 792:( 773:( 757:( 743:( 718:( 692:( 663:) 655:( 637:B 631:A 608:B 602:A 581:B 575:A 557:( 541:) 538:e 535:u 532:r 529:T 523:e 520:u 517:r 514:T 511:( 505:) 502:B 496:A 493:( 473:B 467:A 441:( 425:T 423:( 393:T 391:( 375:w 372:e 369:n 349:) 346:b 340:w 337:e 334:n 328:( 322:) 319:a 313:w 310:e 307:n 301:( 295:) 292:c 286:w 283:e 280:n 277:( 257:c 251:) 248:b 242:a 239:( 184:T 182:( 143:. 42::

Index


content assessment
WikiProjects
WikiProject icon
Mathematics
WikiProject icon
icon
Mathematics portal
WikiProject Mathematics
mathematics
the discussion
Low
project's priority scale
Gubbubu
20:44, 28 May 2005 (UTC)
Liberatore
T
15:25, 16 December 2005 (UTC)
satisfiability
Stux
06:48, 2 January 2006 (UTC)
The Optimality of a Fast CNF Conversion and its Use with SAT
Liberatore
T
13:50, 2 January 2006 (UTC)
Fresheneesz
21:05, 6 February 2006 (UTC)
Liberatore
T
21:21, 6 February 2006 (UTC)

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.