Product of sums

Product of sums

Als konjunktive Normalform (kurz KNF) wird in der Aussagenlogik eine bestimmte Form von Formeln bezeichnet.

Inhaltsverzeichnis

Definition

Eine Formel der Aussagenlogik ist in konjunktiver Normalform, wenn sie eine Konjunktion von Disjunktionstermen ist. Disjunktionsterme sind dabei Disjunktionen von Literalen. Literale sind nichtnegierte oder negierte Variablen. Eine Formel in KNF hat also die Form

\bigwedge_i \bigvee_j (\neg)x_{ij}.

Beispiel:

(A \vee B \vee C ) \wedge (\bar{A} \vee B \vee C)

Kanonische konjunktive Normalform

Eine kanonische konjunktive Normalform (KKNF) ist eine KNF, die nur Maxterme enthält, in denen alle Variablen vorhanden sind, jede Variable genau einmal vorkommt und deren Maxterme alle von einander verschieden sind.[1] Jede Boolesche Funktion besitzt genau eine KKNF. Die KKNF wird auch vollständige kanonische Normalform genannt.

Bildung

Jede Formel der Aussagenlogik lässt sich in konjunktive Normalform umwandeln, da sich auch jede boolesche Funktion mit einer KNF darstellen lässt. Dazu genügt es, die Zeilen ihrer Wahrheitstabelle abzulesen. Für jede Zeile, die als Resultat eine 0 liefert, wird eine Klausel gebildet, die alle Variablen der Funktion disjunktiv mit der invertierten Belegung verknüpft. Die entstehenden Terme sind Maxterme. Deren konjunktive Verknüpfung liefert die kanonische konjunktive Normalform.

Diese ist in der Regel keine minimale Formel, das heißt eine Formel mit möglichst wenig Klauseln. Will man eine minimale Formel bilden, so kann man dies etwa mit Hilfe von Karnaugh-Veitch-Diagrammen (kurz KV-Diagrammen) tun.

Beispiel für die Bildung der KNF

Gesucht sei eine Formel in KNF für die boolesche Funktion mit drei Variablen x2, x1 und x0, die genau dann den Wahrheitswert 1 (wahr) annimmt, wenn die Dualzahl [x2x1x0]2 eine Primzahl ist.

Die Wahrheitstafel für diese Funktion hat folgende Gestalt:

Bild:KNF+DNF.png

Anmerkung: Die einzelnen Klauseln sind als Maxterme notiert. Außerdem kann man gut sehen, dass jede KNF eine äquivalente DNF besitzt.

Entscheidbarkeit

Die Frage, ob die Variablen einer aussagenlogischen Formel so belegt werden können, dass die Aussage wahr wird, wird Erfüllbarkeitsproblem (kurz SAT) genannt. SAT gehört zur Klasse der NP-vollständigen Probleme und gilt damit im Allgemeinen als schwierig lösbar. Dies gilt auch für Formeln, die in KNF vorliegen; eine Ausnahme bilden allerdings Horn-Formeln, die einen Spezialfall der KNF-Formeln darstellen und in Polynomialzeit auf Erfüllbarkeit getestet werden können. Es gibt im Grunde zwei Ansätze, wie ein aussagenlogischer Ausdruck auf seine Erfüllbarkeit überprüft werden kann: durch Testen aller möglichen Belegungen seiner Variablen (semantische Herangehensweise) oder durch den Resolutionskalkül (rein syntaktisch).

Weitere Normalformen

Neben der konjunktiven Normalform gibt es in der Aussagenlogik weitere Normalformen, etwa die disjunktive Normalform oder die Negationsnormalform.

Referenzen

  1. In manchen Quellen (z.B. Klaus Beuth: Digitaltechnik, ISBN 9783802319587, auf S. 78) versteht man unter KNF genau diese kanonische KNF.

Weblinks


Wikimedia Foundation.

Игры ⚽ Нужно решить контрольную?

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Cauchy product — In mathematics, the Cauchy product, named after Augustin Louis Cauchy, of two sequences , , is the discrete convolution of the two sequences, the sequence whose general term is given by In other words, it is the sequence whose associated formal… …   Wikipedia

  • Proofs of Fermat's theorem on sums of two squares — Fermat s theorem on sums of two squares asserts that an odd prime number p can be expressed as: p = x^2 + y^2with integer x and y if and only if p is congruent to 1 (mod 4). The statement was announced by Fermat in 1640, but he supplied no proof …   Wikipedia

  • Infinite product — In mathematics, for a sequence of numbers a 1, a 2, a 3, ... the infinite product :prod {n=1}^{infty} a n = a 1 ; a 2 ; a 3 cdotsis defined to be the limit of the partial products a 1 a 2... a n as n increases without bound. The product is said… …   Wikipedia

  • Fermat's theorem on sums of two squares — In number theory, Pierre de Fermat s theorem on sums of two squares states that an odd prime p is expressible as:p = x^2 + y^2,,with x and y integers, if and only if:p equiv 1 pmod{4}.The theorem is also known as Thue s Lemma, after Axel Thue.For …   Wikipedia

  • Inner product space — In mathematics, an inner product space is a vector space with the additional structure of inner product. This additional structure associates each pair of vectors in the space with a scalar quantity known as the inner product of the vectors.… …   Wikipedia

  • Direct product of groups — Concepts in group theory category of groups subgroups, normal subgroups group homomorphisms, kernel, image, quotient direct product, direct sum semidirect product, wreath product …   Wikipedia

  • Gross domestic product — GDP redirects here. For other uses, see GDP (disambiguation). Not to be confused with Gross national product or Gross domestic income. CIA World Factbook 2005 figures of total nominal GDP (top) compared to PPP adjusted GDP (bottom) …   Wikipedia

  • National Income and Product Accounts — The National Income and Product Accounts (NIPA) are part of the national accounts of the United States. They are produced by the Bureau of Economic Analysis of the Department of Commerce. They are one of the main sources of data on general… …   Wikipedia

  • Topological tensor product — In mathematics, there are usually many different ways to construct a topological tensor product of two topological vector spaces. For Hilbert spaces or nuclear spaces there is a simple well behaved theory of tensor products (see Tensor product of …   Wikipedia

  • Moyal product — In mathematics, the Moyal product, named after José Enrique Moyal, is perhaps the best known example of a phase space star product: an associative, non commutative product, ∗, on the functions on ℝ2n, equipped with its Poisson bracket (with a… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”