<< Chapter < Page
  Intro to logic   Page 1 / 1
Chapter >> Page >

Reasoning with inference rules

For proofs on this homework, remember that each step must be justified by one of the following:

  • a premise,
  • a WaterWorld axioms ,
  • a listed inference rule with the referenced line numbers (and, if ambiguous, substitutions for the inference rule's meta-variables),or
  • a subproof shown inline, or equivalently, a theorem/lemma shown previously.
Except where otherwise directed, you may use any theorem shown in the text or by a previous exercise, even if that exercise was notassigned.

Fill in the blank reasons in the following proof that ∨ commutes, that is, χ υ υ χ .

1 χ υ Premise
2 subproof: χ υ χ
2.a χ Premise for subproof
2.b υ χ ∨Intro, line 2.a
3 subproof: υ υ χ
3.a υ Premise for subproof
3.b υ χ ____________________
4 υ χ ____________________
Got questions? Get instant answers now!

Show that φ ψ , φ θ , ψ δ θ δ .

It should take around 8 steps.

Got questions? Get instant answers now!

Show what is often called the implication chain rule: φ ψ , ψ θ φ θ .

Got questions? Get instant answers now!

[Practice problem solution provided.]

Show what is often called negated-or-elimination (left): φ ψ φ .

Think backwards. How can we end with φ ? One way is to end with RAA, under the premise φ . Using that premise φ and the starting premise φ ψ can you derive the contradiction?

1 φ ψ Premise
2 subproof: φ
2.a φ Premise for subproof
2.b φ ψ ∨Intro, line 2a
2.c Intro, lines 1,2b
3 φ RAA, line 2
Got questions? Get instant answers now!

Using the inference rule RAA, prove φ φ ψ .

Got questions? Get instant answers now!

Show that W-safe Y-unsafe W-unsafe Y-safe .

The proof is a bit longer than you might expect. Use the ∨Elim inference rule to get the final result.

Got questions? Get instant answers now!

In our inference rules, unlike our equivalences, we chose to not include any corresponding to distributivity.

  1. Prove a left-hand version of one direction of distributivity: φ ψ θ φ ψ φ θ .

  2. Use the previous part's result, plus ∧'s commutativity to prove the corresponding right-hand version: ψ θ φ ψ φ θ φ .

Got questions? Get instant answers now!

In our inference rules, unlike our equivalences, we chose to not include any corresponding to DeMorgan's Law.Show that each of the following versions is still provable.

  1. φ ψ φ ψ
  2. φ ψ φ ψ
  3. φ ψ φ ψ
  4. φ ψ φ ψ
Got questions? Get instant answers now!

The above exercise suggests that it would be useful to have an inference rule or theorem that says given θ δ , then θ δ . Or, equivalently, because of ⇒Intro and ⇒Elim, θ δ θ δ . Why don't we?

Got questions? Get instant answers now!

In our inference rules, unlike our equivalences, we have nothing that directly equates φ ψ and φ ψ . Prove each of the following.

  1. φ ψ φ ψ
  2. φ ψ φ ψ
Got questions? Get instant answers now!

Prove the following: φ ψ , ψ φ φ ψ φ ψ

Got questions? Get instant answers now!

Prove what is commonly called the Law of Excluded Middle : χ χ .

  1. Give a short proof citing our previous proof of χ χ and the relevant version of DeMorgan's Law from above .

  2. Give a direct version without using previous theorems.

    Use RAA two or three times.

Got questions? Get instant answers now!

Prove the missing steps and reasons in the following WaterWorld proof of X-has-1 W-unsafe Y-unsafe .

1 X-has-1 ____________________
2 ____________________ WaterWorld axiom
3 ____________________ ⇒Elim, lines 1,2
4 subproof: W-safe Y-unsafe W-unsafe Y-unsafe
4.a W-safe Y-unsafe Premise for subproof
4.b Y-unsafe ____________________
4.c W-unsafe Y-unsafe ____________________
5 subproof: W-safe Y-unsafe W-unsafe Y-unsafe
5.a W-safe Y-unsafe Premise for subproof
5.b W-unsafe Y-safe CaseElim (left), lines ____________________ where φ ____________________ , and ψ ____________________
5.c ____________________ ____________________
5.d W-unsafe Y-unsafe ____________________
6 W-safe Y-unsafe W-safe Y-unsafe Theorem: Excluded Middle, where χ ____________________
7 W-unsafe Y-unsafe ____________________
Got questions? Get instant answers now!

[Practice problem solution provided.]

A sample WaterWorld board

Given the above figure , and using any of the immediately obvious facts as premises, prove that location P is safe by using our proof system and the WaterWorld axioms.

While this proof is longer (over two dozen steps), it's not too bad when sub-proofs are used appropriately.To make life easier, you may use the following theorem: Q-has-1 P-safe R-safe P-safe W-safe R-safe W-safe , along with any proven previously. When looking at the given board, you can use premises like Y-safe as well as Y-unsafe .

1 Q-has-1 Premise
2 X-has-1 Premise
3 Y-unsafe Premise
4 W-unsafe Y-unsafe Theorem: above problem , line 2
5 Y-unsafe W-unsafe Theorem: ∨ commutes, line 4
6 W-unsafe CaseElim, lines 3,5
7 subproof: P-safe W-safe
7.a P-safe W-safe Premise for subproof
7.b P-safe W-safe ¬Elim, line 7.a
7.c W-safe ∧Elim, line 7.b
7.d W-safe W-unsafe WaterWorld axiom
7.e W-unsafe ⇒Elim, lines 7.c,7.d
7.f Intro, lines 6,7.e
8 P-safe W-safe RAA, line 7
9 subproof: R-safe W-safe
9.a R-safe W-safe Premise for subproof
9.b R-safe W-safe ¬Elim, line 9.a
9.c W-safe ∧Elim, line 9.b
9.d W-safe W-unsafe WaterWorld axiom
9.e W-unsafe ⇒Elim, lines 9.c,9.d
9.f Intro, lines 6,9.e
10 R-safe W-safe RAA, line 9
11 Q-has-1 P-safe R-safe P-safe W-safe R-safe W-safe Theorem: Allowed by problem statement
12 P-safe R-safe P-safe W-safe R-safe W-safe ⇒Elim, lines 1,11
13 R-safe W-safe P-safe R-safe P-safe W-safe Theorem: ∨ commutes, line 12
14 P-safe R-safe P-safe W-safe CaseElim, lines 8,13
15 P-safe W-safe P-safe R-safe Theorem: ∨ commutes, line 14
16 P-safe R-safe CaseElim, lines 10,15
17 P-safe ∧Elim, line 16

Alternatively, the subproofs could easily have been pulled out into lemmas. Just like using subroutines in a program, that wouldmake the proof somewhat clearer, even though in this case each lemma would be used only once.

Observe how the two subproofs have some identical lines (7.c-7.f and 9.c-9.f).It would be incorrect to replace those lines in the second subproof with a citation of the results of the first subproof.First, because the previous subproof had been completed, and moreover, the two subproofs have different premises.This is analogous to two subroutines that happen to have some identical code lines, even through they are called separately and havedifferent parameters.

Interestingly, we didn't need to use R-safe as a premise. (In fact, we nearly proved that R-safe would have been inconsistent with the other premises.)

Got questions? Get instant answers now!

Starting from the WaterWorld axiom Q-has-1 P-safe R-safe W-unsafe P-safe R-unsafe W-safe P-unsafe R-safe W-safe , we could prove the following theorem cited in the previous problem : Q-has-1 P-safe R-safe P-safe W-safe R-safe W-safe .

Prove the following theorem which is slightly simpler: φ ψ θ δ ε φ ψ δ .

If you have trouble, first prove an even simpler version: φ ψ θ φ ψ .
Got questions? Get instant answers now!

[Practice problem solution provided.]

Show that the ¬Elim inference rule is redundant in our system. In other words, without using ¬Elim, prove that φ φ .

1 φ Premise
2 subproof: φ
2.a φ Premise for subproof
2.b Intro, lines 1,2.a
3 φ RAA, line 2
Got questions? Get instant answers now!

Show that the ¬Intro inference rule is redundant in our system. In other words, without using ¬Intro, prove that φ φ . To make sure that you're not hiding any uses of ¬Intro,also do not use any previous theorems.

Got questions? Get instant answers now!

Show that the CaseElim inference rule is redundant in our system. For brevity, we'll just consider the left-hand version.In other words, without using CaseElim, prove that φ ψ , φ ψ . To make sure that you're not hiding any uses of CaseElim,also do not use any previous theorems.

Got questions? Get instant answers now!
  • State where on a board pirates could be positioned, so that: P-has-1 U-has-1 W-has-1 , but X-safe .
  • Compare this with a previous theorem , B-has-1 G-has-1 J-has-1 K-unsafe , the same idea shifted down a couple of rows.Suppose we try to translate this theorem's proof so as to conclude X-safe (clearly untrue, by the above). What is the first step of the modified proof which doesn't holdwhen B , G , J , K are mindlessly replaced with P , U , W , X , respectively?(Just give a line number; no explanation needed. Your answer will be of the form
    Lemma A line 1
    or
    main proof line 2
    .)
  • We've just seen that the mindless changing of location-names introduces false steps. But we can be a little smarter,and modify the false step to get a formula which is true, and is also still in the spirit of the original proof. We can thus patch the problem from the previous part,and continue on modifying the original proof for several more steps. But clearly we can't translate the entire original proof; we eventuallyhit a more fundamental snag: a formula which isn't true, yet can't be patched up, either.What is the first line that can't be patched? (Again, just give a line number; no explanation needed.Your answer will be of the form
    Lemma A line 1
    or
    main proof line 2
    .)
Got questions? Get instant answers now!

Which is worse, having an unsound (but complete) inference system or an incomplete (but sound) one? Why?

Got questions? Get instant answers now!

Questions & Answers

what does the ideal gas law states
Joy Reply
Three charges q_{1}=+3\mu C, q_{2}=+6\mu C and q_{3}=+8\mu C are located at (2,0)m (0,0)m and (0,3) coordinates respectively. Find the magnitude and direction acted upon q_{2} by the two other charges.Draw the correct graphical illustration of the problem above showing the direction of all forces.
Kate Reply
To solve this problem, we need to first find the net force acting on charge q_{2}. The magnitude of the force exerted by q_{1} on q_{2} is given by F=\frac{kq_{1}q_{2}}{r^{2}} where k is the Coulomb constant, q_{1} and q_{2} are the charges of the particles, and r is the distance between them.
Muhammed
What is the direction and net electric force on q_{1}= 5µC located at (0,4)r due to charges q_{2}=7mu located at (0,0)m and q_{3}=3\mu C located at (4,0)m?
Kate Reply
what is the change in momentum of a body?
Eunice Reply
what is a capacitor?
Raymond Reply
Capacitor is a separation of opposite charges using an insulator of very small dimension between them. Capacitor is used for allowing an AC (alternating current) to pass while a DC (direct current) is blocked.
Gautam
A motor travelling at 72km/m on sighting a stop sign applying the breaks such that under constant deaccelerate in the meters of 50 metres what is the magnitude of the accelerate
Maria Reply
please solve
Sharon
8m/s²
Aishat
What is Thermodynamics
Muordit
velocity can be 72 km/h in question. 72 km/h=20 m/s, v^2=2.a.x , 20^2=2.a.50, a=4 m/s^2.
Mehmet
A boat travels due east at a speed of 40meter per seconds across a river flowing due south at 30meter per seconds. what is the resultant speed of the boat
Saheed Reply
50 m/s due south east
Someone
which has a higher temperature, 1cup of boiling water or 1teapot of boiling water which can transfer more heat 1cup of boiling water or 1 teapot of boiling water explain your . answer
Ramon Reply
I believe temperature being an intensive property does not change for any amount of boiling water whereas heat being an extensive property changes with amount/size of the system.
Someone
Scratch that
Someone
temperature for any amount of water to boil at ntp is 100⁰C (it is a state function and and intensive property) and it depends both will give same amount of heat because the surface available for heat transfer is greater in case of the kettle as well as the heat stored in it but if you talk.....
Someone
about the amount of heat stored in the system then in that case since the mass of water in the kettle is greater so more energy is required to raise the temperature b/c more molecules of water are present in the kettle
Someone
definitely of physics
Haryormhidey Reply
how many start and codon
Esrael Reply
what is field
Felix Reply
physics, biology and chemistry this is my Field
ALIYU
field is a region of space under the influence of some physical properties
Collete
what is ogarnic chemistry
WISDOM Reply
determine the slope giving that 3y+ 2x-14=0
WISDOM
Another formula for Acceleration
Belty Reply
a=v/t. a=f/m a
IHUMA
innocent
Adah
pratica A on solution of hydro chloric acid,B is a solution containing 0.5000 mole ofsodium chlorid per dm³,put A in the burret and titrate 20.00 or 25.00cm³ portion of B using melting orange as the indicator. record the deside of your burret tabulate the burret reading and calculate the average volume of acid used?
Nassze Reply
how do lnternal energy measures
Esrael
Two bodies attract each other electrically. Do they both have to be charged? Answer the same question if the bodies repel one another.
JALLAH Reply
No. According to Isac Newtons law. this two bodies maybe you and the wall beside you. Attracting depends on the mass och each body and distance between them.
Dlovan
Are you really asking if two bodies have to be charged to be influenced by Coulombs Law?
Robert
like charges repel while unlike charges atttact
Raymond
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Intro to logic. OpenStax CNX. Jan 29, 2008 Download for free at http://cnx.org/content/col10154/1.20
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Intro to logic' conversation and receive update notifications?

Ask