1 / 2

Conversion to CNF

Conversion to CNF. Everyone who loves all animals is loved by someone x [y Animal(y)  Love(x,y)]  y Love(y,x) x ¬[ y Animal(y)  Love(x,y)]  y Love(y,x) x y ¬[ Animal(y)  Love(x,y)]  y Love(y,x) x y[ ¬ Animal(y)  ¬ Love(x,y)]  y Love(y,x)

adli
Download Presentation

Conversion to CNF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Conversion to CNF • Everyone who loves all animals is loved by someone • x [y Animal(y)  Love(x,y)]  y Love(y,x) • x ¬[y Animal(y)  Love(x,y)]  y Love(y,x) • x y ¬[Animal(y)  Love(x,y)]  y Love(y,x)x y[¬Animal(y) ¬Love(x,y)] y Love(y,x) • x y ¬Animal(y) ¬Love(x,y)  z Love(z,x) • x ¬Animal(C1) ¬Love(x,C1)  Love(C2,x) • ¬Animal(C1) ¬Love(x,C1)  Love(C2,x) ECE457 Applied Artificial Intelligence R. Khoury (2007) Page 1

  2. Conversion to CNF • There is a book which everyone buys only if there is a class that requires it • x Book(x)  {[y Buy(y,x)]  [y Class(y)  Requires(y,x)]} • x Book(x)  {[y Buy(y,x)]  [y Class(y)  Requires(y,x)]}  {[y Class(y)  Requires(y,x)] [y Buy(y,x)]} • x Book(x)  {¬[y Buy(y,x)]  [y Class(y)  Requires(y,x)]}  {¬[y Class(y)  Requires(y,x)]  [y Buy(y,x)]} • x Book(x)  {[y ¬Buy(y,x)]  [y Class(y)  Requires(y,x)]}  {[y ¬Class(y) ¬Requires(y,x)]  [y Buy(y,x)]} • x Book(x)  {y ¬Buy(y,x)  [z Class(z)  Requires(z,x)]}  {[z ¬Class(z) ¬Requires(z,x)]  y Buy(y,x)} • Book(C1)  {¬Buy(C2,C1)  [Class(C3)  Requires(C3,C1)]}  {[z ¬Class(z) ¬Requires(z,C1)]  y Buy(y,C1)} • Book(C1)  {¬Buy(C2,C1)  [Class(C3)  Requires(C3,C1)]}  {¬Class(z) ¬Requires(z,C1)  Buy(y,C1)} • Book(C1)  [¬Buy(C2,C1)  Class(C3)]  [¬Buy(C2,C1)  Requires(C3,C1)]  [¬Class(z) ¬Requires(z,C1)  Buy(y,C1)] ECE457 Applied Artificial Intelligence R. Khoury (2007) Page 2

More Related