Bob is smart. Gary is nice. Harry is white. If someone is nice and green then they are young. If someone is young and white then they are red. All green, nice people are white. White, red people are green. If someone is smart then they are nice. All kind people are nice.
Bob is smart.
("Bob" "is" "smart" "+")
Gary is nice.
("Gary" "is" "nice" "+")
Harry is white.
("Harry" "is" "white" "+")
If someone is nice and green then they are young.
((("someone" "is" "nice" "+") ("someone" "is" "green" "+")) -> ("someone" "is" "young" "+"))
If someone is young and white then they are red.
((("someone" "is" "young" "+") ("someone" "is" "white" "+")) -> ("someone" "is" "red" "+"))
All green, nice people are white.
((("someone" "is" "green" "+") ("someone" "is" "nice" "+")) -> ("someone" "is" "white" "+"))
White, red people are green.
((("someone" "is" "white" "+") ("someone" "is" "red" "+")) -> ("someone" "is" "green" "+"))
If someone is smart then they are nice.
((("someone" "is" "smart" "+")) -> ("someone" "is" "nice" "+"))
All kind people are nice.
((("someone" "is" "kind" "+")) -> ("someone" "is" "nice" "+"))
Harry is white.
True
1
proof
[(triple3)]
("Harry" "is" "white" "+")
triple3
Bob is not smart.
False
1
inv-proof
[(triple1)]
("Bob" "is" "smart" "-")
triple1
Gary is not white.
Unknown
inv-rconc
[@2: Gary is white.[CWA. Example of deepest failure = (rule3 <- rule4 <- FAIL)]]
("Gary" "is" "white" "-")
Harry is smart.
Unknown
random
[@0: Harry is smart.[CWA. Example of deepest failure = (FAIL)]]
("Harry" "is" "smart" "+")
@0: Bob is smart.[(triple1)] Gary is nice.[(triple2)] Harry is white.[(triple3)] @1: Bob is nice.[(((triple1) -> rule5))]
Bob is smart.
("Bob" "is" "smart" "+")
triple1
Gary is nice.
("Gary" "is" "nice" "+")
triple2
Harry is white.
("Harry" "is" "white" "+")
triple3
Bob is nice.
("Bob" "is" "nice" "+")
((triple1) -> (rule5 % int1))
Bob is nice.
("Bob" "is" "nice" "+")
int1