سوال ۹۷ کنکور ارشد علوم کامپیوتر ۱۳۹۷
چه تعداد از استنتاجهای زیر معتبر است؟
پاسخ صحیح: گزینهٔ B — ۲
An inference is valid iff every truth assignment that makes all premises in true also makes true. To refute one, find a single row where the premises hold but the conclusion fails.
Inference 1 — (valid). This is the disjunctive syllogism. If is true then is false, so can only be true when is true. There is no assignment making both premises true and false, so the entailment holds.
Inference 2 — (valid). This is exactly the resolution rule on the literal . Try to refute it: a counterexample needs false, i.e. and .
- forces to keep true.
- forces , i.e. , to keep true.
These demand and simultaneously — impossible. No counterexample exists, so the entailment is valid.
Inference 3 — (invalid). Look for a refuting row. Take Then both premises hold: and . But the conclusion fails: so . Premises true, conclusion false not valid.
Valid inferences: numbers 1 and 2 only exactly 2 valid inferences, matching option 2.
Exam trick: To kill a conditional conclusion , you only need one assignment with true and false. Here splitting the work between the two independent implication-premises ( via the -branch, via the -branch) lets collapse even though both premises stay true.