In a previous homework we had a problem in which there were
two sessions for talks and a number of potential speakers.
We had to express some constraints on how speakers were
scheduled for sessions. One of these constraints was:
"Nobody can be scheduled for both sessions."
One way to write this is
(a1 => ~a2) & (b1 => ~b2) & (c1 => ~c2) & ...
... where "a1" meant that Alice was scheduled for session 1,
"a2" meant alice was scheduled for session 2, and so on.
With first-order logic we can express this with one simple
rule!
Our objects are the speakers, and we will have predicate
in1(·), which is true when the argument
speaker is scheduled for session 1, and
in2(·), which is true when the argument
speaker is scheduled for session 2. So here's the rule:
∀p[in1(p) => ~in2(p)]
Your job: Given the above rule, and given that Anuj is in
session 2 or Ben is in session 2, and given that Anuj is in
session 1, prove that Ben is not in session 1.