Bob is nice. Charlie is green. Gary is smart. Harry is red. If someone is nice then they are smart. All rough people are nice. Quiet, smart people are red.
Bob is nice.
("Bob" "is" "nice" "+")
Charlie is green.
("Charlie" "is" "green" "+")
Gary is smart.
("Gary" "is" "smart" "+")
Harry is red.
("Harry" "is" "red" "+")
If someone is nice then they are smart.
((("someone" "is" "nice" "+")) -> ("someone" "is" "smart" "+"))
All rough people are nice.
((("someone" "is" "rough" "+")) -> ("someone" "is" "nice" "+"))
Quiet, smart people are red.
((("someone" "is" "quiet" "+") ("someone" "is" "smart" "+")) -> ("someone" "is" "red" "+"))
Charlie is green.
True
1
proof
[(triple2)]
("Charlie" "is" "green" "+")
triple2
Harry is not red.
False
1
inv-proof
[(triple4)]
("Harry" "is" "red" "-")
triple4
Gary is not red.
Unknown
inv-rconc
[@1: Gary is red.[CWA. Example of deepest failure = (rule3 <- FAIL)]]
("Gary" "is" "red" "-")
Gary is green.
Unknown
random
[@0: Gary is green.[CWA. Example of deepest failure = (FAIL)]]
("Gary" "is" "green" "+")
@0: Bob is nice.[(triple1)] Charlie is green.[(triple2)] Gary is smart.[(triple3)] Harry is red.[(triple4)] @1: Bob is smart.[(((triple1) -> rule1))]
Bob is nice.
("Bob" "is" "nice" "+")
triple1
Charlie is green.
("Charlie" "is" "green" "+")
triple2
Gary is smart.
("Gary" "is" "smart" "+")
triple3
Harry is red.
("Harry" "is" "red" "+")
triple4
Bob is smart.
("Bob" "is" "smart" "+")
((triple1) -> (rule1 % int1))
Bob is smart.
("Bob" "is" "smart" "+")
int1