How do I prove this propositional logic

In summary, the student is trying to find a way to use propositional logic to prove that if \(p\) is true, then \(q\) must be true, and if \(q\) is true, then \(r\) must be true. The student is unsuccessful, and ends the essay with a warning about using TeX in the forum.
  • #1
millani
3
0
How do I prove this? (propositional logic)

Homework Statement


How to prove this
[itex](p \rightarrow (q \vee p)) \rightarrow r \vdash \neg p \vee (q \vee r)[/itex]
using only the natural deduction rules in propositional logic?

Homework Equations


http://en.wikipedia.org/wiki/Propositional_logic
(natural deduction rules only)

The Attempt at a Solution


[itex]1: (p \rightarrow (q \vee p)) \rightarrow r[/itex] premise
<start of hypothesis 0> ; I tried to make a box here but failed miserably
[itex]2: \neg (\neg p \vee (q \vee r))[/itex] hypothesis
<start of hypothesis 1>
[itex]3: \neg p[/itex] hypothesis
[itex]4: \neg p \vee (q \vee r)[/itex] conjunction introduction 3
[itex]5: \bot[/itex] negation introduction 2,4
<end of hypothesis 1>
[itex]6: \neg \neg p[/itex] negation introduction 3-5
[itex]7: p[/itex] double negative elimination 6
[itex]8: ?[/itex]
<end of hypothesis 0>

As you can see, I don't exactly know how to use TeX.

PS: How do I put a box around the hypothesis in TeX?
 
Last edited:
Physics news on Phys.org
  • #2
There are many many latex guides easily googlable. However, it is not guaranteed that the code will work in the forum. Still. Searching is you r best bet if you really want to put a box round something. (Though I'd say there was no need to do that at all.)
 
  • #3
let's try conditional proof:
1.(p->(qvp))->r premise
2. p hypothesis
3. qvp 2addition
4. p->(qvp) 2-3conditional proof
5. r 1,4 modes ponens
6.?
7.?
now i leave you to fill 6 and 7. (hint: look at 3).
 
  • #4
Thanks for the help, loop quantum gravity!

1. [itex](p \rightarrow (q \vee p)) \rightarrow r[/itex] premise
2. [itex]p[/itex] hypothesis
3. [itex]q \vee p[/itex] 2addition
4. [itex]p \rightarrow (q \vee p)[/itex] 2-3conditional proof
5. [itex]r[/itex] 1,4 modes ponens
6. [itex]q \vee r[/itex] disjunction introduction 5
7. [itex]\neg p \vee (q \vee r)[/itex] disjunction introduction 6
 
  • #5
another method which doesn't employ having an extra hypothesis is:
use material conditional on the premise as far as you get to ~qvr, and afterwards use addition or disjunctive intro, to get ~qvrvq which is r and then the same as in the first approach.
the differnece is that we trully have (p->(qvp))->r |- ~pvqvr
while in the first approach we have (p->(qvp))->r,p|- ~pvqvr
which by the deudction theorem is the sam as: (p->(qvp))->|-p->(~pvqvr) but by the mc it's again the same result.
so here you have both methods to prove this.
and even more..(-:
 

Related to How do I prove this propositional logic

What is propositional logic?

Propositional logic, also known as sentential logic, is a type of formal logic that deals with propositions or statements that are either true or false. It involves using logical symbols and rules to analyze and manipulate these propositions in order to determine their logical relationships.

What is a proof in propositional logic?

A proof in propositional logic is a sequence of logical deductions that demonstrate the validity of a given proposition or argument. It involves using established rules of inference and laws of logic to show that a proposition is true based on the given premises.

How do I start a proof in propositional logic?

The first step in starting a proof in propositional logic is to clearly state the proposition or argument you wish to prove. Then, identify the premises or assumptions that are given and use them to construct a logical framework for your proof, applying relevant rules and laws to reach a valid conclusion.

What are some common rules and laws used in proofs of propositional logic?

Some common rules and laws used in proofs of propositional logic include the law of detachment, which states that if a conditional proposition is true and its antecedent is true, then its consequent must also be true. Other common rules include the law of contraposition, the law of syllogism, and the law of double negation.

How can I check if my proof in propositional logic is valid?

To check if your proof in propositional logic is valid, you can use truth tables or proof by contradiction. A truth table allows you to systematically evaluate all possible truth value combinations for a given set of propositions and determine if they support the conclusion. Proof by contradiction involves assuming the negation of the conclusion and showing that it leads to a contradiction, thereby proving the original proposition to be true.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
2K
Replies
1
Views
809
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
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
20
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top