<< Chapter < Page Chapter >> Page >

Another use of subproofs is to organize proofs' presentations. Many proofs naturally break down into larger subparts, each withits own intermediate conclusion. These steps between these subparts are big enough to correspond to our intuition, but too bigto correspond to individual inference rules. This gives additional useful structure to a proof, aidingour understanding.

Previously, we showed that ∧ (AND) commutes . However, that conclusion is only directly applicablewhen the ∧ is at the

top-level
, i.e. , not nested inside some other connective. Here, we'll show that ∧ commutes inside ¬, or more formally, α β β α .
When doing inference-style proofs, we will not use the Boolean algebra laws nor replace subformulas with equivalentformulas. Conversely, when doing algebraic proofs, don't use inference rules!While theoretically it's acceptable to mix the two methods, for homeworks we want to make sure you can do the problemsusing either method alone, so keep the two approaches separate!

We'll do two proofs of this to illustrate that there's always more than one way to prove something!

In our first proof, we'll use RAA. Why? Looking at our desired conclusion, what could be the last inference rule used in the proof toreach the conclusion? By the shape of the formula, the last step can't use any of the

introduction
inference rules (∧Intro, ∨Intro, ⇒Intro, Intro, or ¬Intro). We could potentially use any of the
elimination
inference rules. But, for ∧Elim, ∨Elim, ⇒Elim, ¬Elim, or CaseElim, we would first have to prove somemore complicated formula to obtain our desired conclusion. Thatseems somewhat unlikely or unnecessary. For Elim, we'd have to first prove , i.e. , obtain a contradiction, but our only premise isn't self-contradictory.The only remaining option is RAA.

1 α β Premise
2 subproof: β α
2.a β α Premise for subproof
2.b α β Theorem: ∧ commutes , line 2a
2.c Intro, lines 1,2.b
3 α β RAA, line 2

The proof above uses a subproof because it is necessary for the use of RAA. In contrast, the proof below uses two subproofssimply for organization.

For our second proof, let's not use RAA directly. Our plan is as follows:

  • Assume the premise α β .
  • Again, use commutativity to show that β α α β
  • Use modus tollens to obtain the conclusion.
We can organize the proof into corresponding subparts:

1 α β Premise
2 subproof: β α α β
2.a β α α β Theorem statement: ∧ commutes
2.b β α α β ⇒Intro, line 2.a
3 subproof: β α
3.a β α α β , α β β α Theorem statement: modus tollens
3.b β α α β α β β α ⇒Intro, line 3.a
3.c β α α β α β ∧Intro, lines 2,1
3.d β α ⇒Elim, lines 3.b,3.c

More examples

Now let's use these rules in a couple larger proofs, to show some more interesting results.

Let's redo the first example 's proof formally and show H-has-2 J-safe G-unsafe . The inference rules we used informally above don't correspond exactly tothose in our definition, so the formal proof is more complicated.

1 H-has-2 P-unsafe G-unsafe J-unsafe P-unsafe G-unsafe J-unsafe WaterWorld axiom, choosing a grouping of the ternary ∨, as justified by ∨ commutativity
2 H-has-2 J-safe Premise
3 H-has-2 ∧Elim (left), line 2
4 P-unsafe G-unsafe J-unsafe P-unsafe G-unsafe J-unsafe ⇒Elim, lines 1,3
5 J-safe ∧Elim (right), line 2
6 J-safe J-unsafe WaterWorld axiom
7 J-unsafe ⇒Elim, lines 5,6
8 subproof: G-unsafe J-unsafe
8.a G-unsafe J-unsafe Premise for subproof
8.b J-unsafe ∧Elim (right), line 8.a
8.c Intro, lines 7,8.b
9 G-unsafe J-unsafe RAA, line 8
10 P-unsafe G-unsafe J-unsafe P-unsafe CaseElim (right), lines 4,9
11 subproof: J-unsafe P-unsafe
11.a J-unsafe P-unsafe Premise for subproof
11.b J-unsafe ∧Elim (left), line 11.a
11.c Intro, lines 7,11.b
12 J-unsafe P-unsafe RAA, line 11
13 P-unsafe G-unsafe CaseElim (right), lines 10,12
14 G-unsafe ∧Elim (right), line 13

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Pdf generation test course. OpenStax CNX. Dec 16, 2009 Download for free at http://legacy.cnx.org/content/col10278/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Pdf generation test course' conversation and receive update notifications?

Ask