Current mirror: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>DavidLeighEllis
m Reverted edits by 175.110.86.40 (talk) to last version by Sv1xv
 
Line 1: Line 1:
In [[mathematical logic]], a formula is in '''negation normal form''' if the [[negation]] operator (<math>\lnot</math>, {{smallcaps|not}}) is only applied to variables and the only other allowed [[Boolean algebra|Boolean operators]] are [[logical conjunction|conjunction]] (<math>\land</math>, {{smallcaps|and}}) and [[logical disjunction|disjunction]] (<math>\lor</math>, {{smallcaps|or}}).  
Anybody who wrote the blog is called Eusebio. South Carolina is michael's birth place. The most beloved hobby for him and as well his kids is up to fish and he's been really doing it for a while. Filing has been his profession although. Go to his website to identify a out more: http://prometeu.net<br><br>My web-site; [http://prometeu.net clash of clans unlimited gems]
 
Negation normal form is not a canonical form: for example, <math>a \land (b\lor \lnot c)</math> and <math>(a \land b) \lor (a \land \lnot c)</math> are equivalent, and are both in negation normal form.
 
In classical logic and many [[modal logic]]s, every formula can be brought into this form by replacing implications and equivalences by their definitions, using [[De Morgan's laws]] to push negation inwards, and eliminating double negations. This process can be represented using the following [[rewrite rule]]s:
 
:<math>\lnot (\forall x. G) \to \exists x. \lnot G</math>
:<math>\lnot (\exists x. G) \to \forall x. \lnot G</math>
:<math>\lnot \lnot G \to G</math>
:<math>\lnot (G_1 \land G_2) \to (\lnot G_1) \lor (\lnot G_2)</math>
:<math>\lnot (G_1 \lor G_2) \to (\lnot G_1) \land (\lnot G_2)</math>
 
A formula in negation normal form can be put into the stronger [[conjunctive normal form]] or [[disjunctive normal form]] by applying [[Distributive property|distributivity]].
 
==Examples and counterexamples==
The following formulae are all in negation normal form:
:<math>(A \vee B) \wedge C</math>
:<math>(A \wedge (\lnot B \vee C) \wedge \lnot C) \vee D</math>
:<math>A \vee \lnot B</math>
:<math>A \wedge \lnot B</math>
 
The first example is also in [[conjunctive normal form]] and the last two are in both [[conjunctive normal form]] and [[disjunctive normal form]], but the second example is in neither.
 
The following formulae are not in negation normal form:
:<math>A \Rightarrow B</math>
:<math>\lnot (A \vee B)</math>
:<math>\lnot (A \wedge B)</math>
:<math>\lnot (A \vee \lnot C)</math>
 
They are however respectively equivalent to the following formulae in negation normal form:
:<math>\lnot A \vee B</math>
:<math>\lnot A \wedge \lnot B</math>
:<math>\lnot A \vee \lnot B</math>
:<math>\lnot A \wedge C</math>
 
==References==
 
* Alan J.A. Robinson and Andrei Voronkov, ''Handbook of Automated Reasoning'' '''1''':203''ff''  (2001) ISBN 0444829490.
 
==External links==
* [http://www.izyt.com/BooleanLogic/applet.php Java applet for converting logical formula to Negation Normal Form, showing laws used]
 
[[Category:Propositional calculus]]
[[Category:Normal forms (logic)]]

Latest revision as of 03:45, 9 January 2015

Anybody who wrote the blog is called Eusebio. South Carolina is michael's birth place. The most beloved hobby for him and as well his kids is up to fish and he's been really doing it for a while. Filing has been his profession although. Go to his website to identify a out more: http://prometeu.net

My web-site; clash of clans unlimited gems