DISCRETE MATH: Use rules of inference to show that

So the whole thing becomes$$\neg R\to P$$Which is what we wanted.In summary, by manipulating the premises using DeMorgan’s law and the rules of implication, we can show that if ##P\vee Q## and ##(\neg P\wedge Q)\to R## are true, then ##\neg R\to P## is true.
  • #1
VinnyCee
489
0

Homework Statement



Use rules of inference to show that if [tex]\forall\,x\,(P(x)\,\vee\,Q(x))[/tex] and [tex]\forall\,x\,((\neg\,P(x)\,\wedge\,Q(x))\,\longrightarrow\,R(x))[/tex] are true, then [tex]\forall\,x\,(\neg\,R(x)\,\longrightarrow\,P(x))[/tex] is true.


Homework Equations



Universal instantiation, Disjunctive syllogism, Conjunction.



The Attempt at a Solution



1) [tex]\forall\,x\,(P(x)\,\vee\,Q(x))[/tex] Premise

2) [tex]P(a)\,\vee\,Q(a)[/tex] Universal instantiation of (1)

3) [tex]\neg\,P(a)[/tex] Disjunctive syllogism of (2)

4) [tex]\forall\,x\,((\neg\,P(x)\,\wedge\,Q(x))\,\longrightarrow\,R(x))[/tex] Premise

5) [tex](\neg\,P(a)\,\wedge\,Q(a))\,\longrightarrow\,R(a)[/tex] Universal instantiation of (4)

6) [tex]R(a)[/tex] Modus Ponens of (5)

Here I am stuck, any suggestions?
 
Physics news on Phys.org
  • #2
The exact derivation will depend on which inference rules are allowed, but there are several errors in the attempt above.
VinnyCee said:
3) ¬P(a) Disjunctive syllogism of (2)
This is an incorrect use of disjunctive syllogism, which is properly:
$$A\vee B,\neg A\vdash B$$
The above step invalidly concluded ##\neg A## from ##A\vee B##.
VinnyCee said:
6) R(a) Modus Ponens of (5)
This is incorrect use of modus ponens, which is:
$$A\to B,A\vdash B$$
The above step incorrectly concluded ##B## from ##A\to B##.

If youre working in predicate calculus and there’s nothing actually involving the quantifiers, it’s probably easiest to do instantiation on everything at the beginning and generalization on everything at the end. Then you can do the rest of the derivation in propositional calculus.

With this in mind, the premises become
$$P\vee Q$$
$$(\neg P\wedge Q)\to R$$
And the conclusion is
$$\neg R \to P$$
If I were to try to solve this, I would probably proceed as follows:

Taking the contrapositive of premise 2 gives:
$$\neg R \to \neg(\neg P\wedge Q)$$. Distributing the negation over the conjunction using DeMorgan’s law gives:
$$\neg R \to (P\vee \neg Q)$$
Up to this point, we’ve been mechanically manipulating premise 2 to get it as close to the conclusion as we can. There are a few ways to proceed from here, but the key is to see that we have two cases. if ##P## is true, then we’re done. If ##P## is false (equivalently, ##\neg P## is true), then ##\neg Q## has to be true. But ##\neg P## and ##\neg Q## together give ##\neg (P\vee Q)##, which contradicts premise 1. So ##P## must be true.

Probably the most straightforward way to show this using rules of inference is to rewrite premise 1 as a conditional:
$$\neg Q \to P$$
And note that this means that if you substitute ##P## for ##\neg Q## in any valid expression, the expression remains valid. So
$$\neg R \to (P\vee \neg Q)$$
becomes
$$\neg R \to (P\vee P)$$
And ##P\vee P## can be replaced by ##P##.
 
Last edited:

Related to DISCRETE MATH: Use rules of inference to show that

What is discrete math?

Discrete math is a branch of mathematics that deals with discrete objects and structures, as opposed to continuous ones. It involves the study of mathematical structures such as graphs, trees, and networks, and their applications in computer science, engineering, and other fields.

What are rules of inference in discrete math?

Rules of inference are logical rules that are used to make conclusions based on given premises. In discrete math, these rules are used to prove the validity of mathematical statements and to construct proofs.

What is the importance of using rules of inference in discrete math?

Rules of inference allow us to systematically and logically derive new knowledge from existing information. In discrete math, they help us to prove the truth of mathematical statements and to construct rigorous arguments and proofs.

Can you provide an example of using rules of inference in discrete math?

One example of using rules of inference in discrete math is the modus ponens rule, which states that if p implies q and p is true, then q must also be true. This can be written as p → q and p ⊢ q. Using this rule, we can prove that if it is raining (p) then the ground is wet (q): p → q and p are both true, therefore q must also be true.

How do you use rules of inference to show that a statement is valid?

To show that a statement is valid using rules of inference, we must construct a logical proof that follows the given premises and uses the rules of inference to reach the desired conclusion. If we are able to construct such a proof, then the statement is considered valid.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
986
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
20
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
11K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
Replies
1
Views
1K
Back
Top