Charlie is red. Dave is not green. Dave is smart. Gary is green. Gary is white. Harry is not nice. Harry is white. If someone is white and big then they are nice. If Harry is nice and Harry is not red then Harry is white. If Gary is white and Gary is nice then Gary is not smart.
Charlie is red.
("Charlie" "is" "red" "+")
Dave is not green.
("Dave" "is" "green" "-")
Dave is smart.
("Dave" "is" "smart" "+")
Gary is green.
("Gary" "is" "green" "+")
Gary is white.
("Gary" "is" "white" "+")
Harry is not nice.
("Harry" "is" "nice" "-")
Harry is white.
("Harry" "is" "white" "+")
If someone is white and big then they are nice.
((("someone" "is" "white" "+") ("someone" "is" "big" "+")) -> ("someone" "is" "nice" "+"))
If Harry is nice and Harry is not red then Harry is white.
((("Harry" "is" "nice" "+") ("Harry" "is" "red" "~")) -> ("Harry" "is" "white" "+"))
If Gary is white and Gary is nice then Gary is not smart.
((("Gary" "is" "white" "+") ("Gary" "is" "nice" "+")) -> ("Gary" "is" "smart" "-"))
Charlie is red.
True
1
proof
[(triple1)]
("Charlie" "is" "red" "+")
triple1
Gary is not green.
False
1
inv-proof
[(triple4)]
("Gary" "is" "green" "-")
triple4
Gary is not nice.
Unknown
inv-rconc
[@1: Gary is nice.[CWA. Example of deepest failure = (rule1 <- FAIL)]]
("Gary" "is" "nice" "-")
Gary is big.
Unknown
random
[@0: Gary is big.[CWA. Example of deepest failure = (FAIL)]]
("Gary" "is" "big" "+")
@0: Charlie is red.[(triple1)] Dave is not green.[(triple2)] Dave is smart.[(triple3)] Gary is green.[(triple4)] Gary is white.[(triple5)] Harry is not nice.[(triple6)] Harry is white.[(triple7)]
Charlie is red.
("Charlie" "is" "red" "+")
triple1
Dave is not green.
("Dave" "is" "green" "-")
triple2
Dave is smart.
("Dave" "is" "smart" "+")
triple3
Gary is green.
("Gary" "is" "green" "+")
triple4
Gary is white.
("Gary" "is" "white" "+")
triple5
Harry is not nice.
("Harry" "is" "nice" "-")
triple6
Harry is white.
("Harry" "is" "white" "+")
triple7