Bob is red. Fiona is kind. Gary is smart. Harry is nice. If Gary is blue then Gary is nice. All nice, round people are smart. If Harry is kind and Harry is red then Harry is smart. If someone is blue and round then they are quiet. If Fiona is nice then Fiona is quiet. If someone is quiet and nice then they are red.
Bob is red.
("Bob" "is" "red" "+")
Fiona is kind.
("Fiona" "is" "kind" "+")
Gary is smart.
("Gary" "is" "smart" "+")
Harry is nice.
("Harry" "is" "nice" "+")
If Gary is blue then Gary is nice.
((("Gary" "is" "blue" "+")) -> ("Gary" "is" "nice" "+"))
All nice, round people are smart.
((("someone" "is" "nice" "+") ("someone" "is" "round" "+")) -> ("someone" "is" "smart" "+"))
If Harry is kind and Harry is red then Harry is smart.
((("Harry" "is" "kind" "+") ("Harry" "is" "red" "+")) -> ("Harry" "is" "smart" "+"))
If someone is blue and round then they are quiet.
((("someone" "is" "blue" "+") ("someone" "is" "round" "+")) -> ("someone" "is" "quiet" "+"))
If Fiona is nice then Fiona is quiet.
((("Fiona" "is" "nice" "+")) -> ("Fiona" "is" "quiet" "+"))
If someone is quiet and nice then they are red.
((("someone" "is" "quiet" "+") ("someone" "is" "nice" "+")) -> ("someone" "is" "red" "+"))
Bob is red.
True
1
proof
[(triple1)]
("Bob" "is" "red" "+")
triple1
Gary is not smart.
False
1
inv-proof
[(triple3)]
("Gary" "is" "smart" "-")
triple3
Bob is not smart.
Unknown
inv-rconc
[@1: Bob is smart.[CWA. Example of deepest failure = (rule2 <- FAIL)]]
("Bob" "is" "smart" "-")
Fiona is nice.
Unknown
random
[@0: Fiona is nice.[CWA. Example of deepest failure = (FAIL)]]
("Fiona" "is" "nice" "+")
@0: Bob is red.[(triple1)] Fiona is kind.[(triple2)] Gary is smart.[(triple3)] Harry is nice.[(triple4)]
Bob is red.
("Bob" "is" "red" "+")
triple1
Fiona is kind.
("Fiona" "is" "kind" "+")
triple2
Gary is smart.
("Gary" "is" "smart" "+")
triple3
Harry is nice.
("Harry" "is" "nice" "+")
triple4