07 - Rules of Inference
07 - Rules of Inference
Rules of Inference
Rules of Inference
Proofs in mathematics are valid arguments that establish
the truth of mathematical statements.
By an argument, we mean a sequence of statements that
end with a conclusion.
By valid, we mean that the conclusion, or final statement
of the argument, must follow from the truth of the
preceding statements, or premises, of the argument. That
is, an argument is valid if and only if it is impossible for
all the premises to be true and the conclusion to be false.
Rules of inference are our basic tools for establishing the
truth of statements.
Valid Arguments in Propositional
Logic
“If
you have a current password, then
you can log onto the network.”
“You have a current password.”
Therefore,
“You can log onto the network.”
An argument in propositional logic is a sequence of
propositions.
All but the final proposition in the argument are called
premises and the final proposition is called the
conclusion.
An argument is valid if the truth of all its premises
implies that the conclusion is true.
From the definition of a valid argument form we see that
the argument form with premises p1, p2, . . . , pn and
conclusion q is valid,
when (p1 ∧ p2 ∧ · · · ∧ pn) → q is a tautology.
Rules of Inference for Propositional Logic
State which rule of inference is the basis of the following
argument:
“It is below freezing now.
Therefore, it is either below freezing or raining now.”
Solution: Let p be the proposition “It is below freezing
now”
and q the proposition “It is raining now.”
Then this argument is of the form
p
∴p∨q
This is an argument that uses the addition rule.
State which rule of inference is the basis of the
following argument: “It is below freezing and
raining now. Therefore, it is below freezing now.”
Solution: Let p be the proposition “It is below
freezing now,” and let q be the proposition “It is
raining now.” This argument is of the form
p∧q
∴p
This argument uses the simplification rule.
State which rule of inference is used in the argument:
If it rains today, then we will not have a barbecue today.
If we do not have a barbecue today, then we will have a barbecue
tomorrow.
Therefore, if it rains today, then we will have a barbecue tomorrow.
Solution: Let p be the proposition “It is raining today,” let q be the
proposition “We will not have a barbecue today,” and let r be the
proposition “We will have a barbecue tomorrow.”
Then this argument is of the form
p→q
q→r
∴p→r
Hence, this argument is a hypothetical syllogism.
Using Rules of Inference to Build
Arguments
Show that the premises “If you send me an e-mail
message, then I will finish writing the program,”
“If you do not send me an e-mail message, then I
will go to sleep early,”
and “If I go to sleep early, then I will wake up
feeling refreshed”
lead to the conclusion “If I do not finish writing
the program, then I will wake up feeling
refreshed.”
Let p be the proposition “You send me an e-mail
message,”
q the proposition “I will finish writing the program,”
r the proposition “I will go to sleep early,”
and s the proposition “I will wake up feeling
refreshed.”
Then the premises are p → q, ¬ p → r, and r → s.
The desired conclusion is ¬ q → s.
We need to give a valid argument with premises
p → q, ¬ p → r, and r → s and conclusion ¬ q → s.
Resolution
Use resolution to show that the hypotheses
“Jasmine is reading or it is not snowing”
and “It is snowing or Bart is playing
hockey” imply that “Jasmine is reading or
Bart is playing hockey.”