Inference
Inference means using what you already know to work out something new.
To use this notation, the inference must be shown as a proof, otherwise it will be entailment
Inference Rules
Common Notation
A rule is written as a fraction:
- The top (premises) are the facts we already know to be true.
- The bottom (conclusion) is what we can infer from them.
- Read it as: "If the premises hold, then the conclusion holds."
1. Modus Ponens - use an implication
This notation tells given the numerator segments are True, we can infer denominator In this case, If implies and is true, We can infer is true.
2. And Elimination - take apart a conjunction
If we know (both and are true), we can infer each part on its own — either or .
3. Bidirectional Elimination - split an equivalence
A bidirectional () means both directions hold. So if is true, we can infer and also .
Resolution and Refutation
Resolution is a single, powerful inference rule that combines two clauses to produce a new one:
If one clause contains and the other contains , they cancel out, and we combine what's left.
Refutation (aka proof by contradiction): to prove a statement is true, assume its negation , then use resolution repeatedly until we reach a contradiction (empty clause ).
Refutation Algorithm
- Convert the knowledge base into CNF (clauses).
- Invert the claim α — add ¬α to the KB. This negation is what creates the contradiction, so don't forget to flip it.
- Apply resolution to pairs of clauses to produce new clauses (resolvents).
- Add each resolvent back to the clause set.
- If resolution produces the empty clause → contradiction found, so is false and is proven.
- If no new resolvents can be produced and no appeared → cannot be proven.
Key idea: resolution works on clauses (disjunctions of literals), so formulas are first converted to Conjunctive Normal Form (CNF).