next up previous
Next: Postponing Preconditions via Up: Formalizing Context (Expanded Notes) Previous: Lifting Axioms

Natural Deduction via Context

 

  The formal theory of context can be used to represent inference and reason in the style of natural deduction. This requires lifting axioms (or lifting rules) to treat the context which a reasoning system is in as a formal object. If p is a sentence and we are in some context c, we define a new context tex2html_wrap_inline4087 so that it validates the following rules:

   

importation

tex2html_wrap_inline4089

discharge

tex2html_wrap_inline4091

Note that these rules can be replaced by lifting axioms. Thus importation is replaced by

equation624

To make the presentation simpler we write them in the rule form. An interesting rule which can be derived from the above is

assumption

tex2html_wrap_inline4093

In analogy to the restriction to the rule of tex2html_wrap_inline4095 introduction in formal systems of natural deduction, we will have to restrict the rule of universal generalization to ensure that the variable being generalized does not occur free in any of the tex2html_wrap_inline4087 terms of the current context; see [49].

To illustrate the rules we now give a natural-deduction style proof of the above theorem, which was introduced in §4. This theorem involves the lifting of the theory of above into the context of situation calculus. The proof should be compared to the Hilbert style proof which was given in §4.

Proof !above(above): We begin with the tex2html_wrap_inline4054 direction of formula 4

  equation634

It follows by universal instantiation that

  equation637

By the importation rule we get

  equation641

Therefore, by entering the tex2html_wrap_inline4022 context we get

  equation644

Now, from formulas 3 and 6 it follows that

  equation649

By entering tex2html_wrap_inline4000 we get

  equation652

By instantiating the universal quantifier over situations we get

  equation655

Therefore, by propositional logic we have

  equation658

Therefore, by the importation rule we get

  equation662

displaymath4077

Now, by entering the tex2html_wrap_inline4022 context we get

  equation665

By logic from formulas 23 and 29 it follows that

  equation670

By exiting the tex2html_wrap_inline4022 context we get

  equation673

The tex2html_wrap_inline4066 direction of formula 5

  equation677

By propositional logic we have

  equation680

displaymath4078

Together with the importation rule the above formula allows us to infer

  equation684

displaymath4079

By logic from (31) and (34) we get

  equation689

Using the rule discharge it follows that

  equation693

Therefore, by universal generalization we obtain what was to be proved

  equation696

tex2html_wrap_inline4068

In the above proof we have entered the context tex2html_wrap_inline4087 in a number of instances. This creates an interesting example because it might not be obvious in which context the term tex2html_wrap_inline4087 is to be interpreted. However, since the logic needs to keep track of which contexts were entered in the process of reasoning, the answer becomes obvious: the term tex2html_wrap_inline4087 will be interpreted in the next outer context (see §3 for discussion on sequences of contexts).

We gave two treatments of the key argument: one in natural deduction (§4) and one Hilbert-style (above). This kind of proof transformation is logical routine, and any textbook on proof theory (say, the recent [57]), tells all about it.




next up previous
Next: Postponing Preconditions via Up: Formalizing Context (Expanded Notes) Previous: Lifting Axioms

Sasa Buvac
Sun Jul 12 14:45:30 PDT 1998