next up previous contents
Next: Overall correctness and termination Up: The construction Previous: Making an SNy-block.

Correctness and termination

Troughout the whole contruction invariants played an important role. It has not yet been really proved that they indeed are invariants. As the construction method is inductively defined, we will prove the invariants by induction on the construction of the model. So, proving the correctness of an invariant consists of showing that it holds at the basis, i.e. the model $ \langle \{ m_0\} , \varnothing ,
\varnothing , \Vdash
\rangle $, and show that it is preserved in the inductive steps. Two inductive steps will be considered: eliminating a problem and eliminating a deficiency. Eliminating a deficiency in itself is an inductive process but it will not be necessary to consider it in total detail while proving the correctness of an invariant.

The proofs of the correctness of the invariants are quite laborious and do not involve any profound mathematics. We add them though, in order to provide a complete proof. The already convinced reader can just skip this part or skim it over.

The first invariant we met was $ (*) : x S y \rightarrow x
\subset_{\Box} y $. To prove this invariant we take the conjunction of this statement with invariant 2: $ x R y \rightarrow x
\prec y $. The inductive proof of this conjunction will run as follows.

Invariant 1 is evidently seen to be true as all the time the finite construction is closed off under the frame conditions. And the frame conditions together with the construction method form a consistent process, i.e. never will one frame condition exclude the other.

Now we come to prove the fact that a B-critical cone of x lies indeed B-critically above x. For this is what invariant 3 actually says: $ y \in C_x^B \rightarrow x \prec_{\mbox{\footnotesize {B}}} y $.

Instead of proving invariant 4: $ B \neq B'
\rightarrow C_x^B \cap C_x^{B'} = \varnothing $, we will prove something stronger. First we define a new set $ {\tilde{C}}_x^B $, of successors of x. We take $ {\tilde{C}}_x^B $ the smallest set such that: $ x R_e^B y \rightarrow y \in {\tilde{C}}_x^B $ and $ y \in
{\tilde{C}}_x^B \wedge y S y' \rightarrow y' \in {\tilde{C}}_x^B $. It is quite easy to show with induction on this definition that the invariant actually holds for $ {\tilde{C}}_x^B $. That is $ B \neq B' \rightarrow {\tilde{C}}_x^B
\cap {\tilde{C}}_x^{B'} =
\varnothing $.

Instead of invariant 5: $ ord(x) = ord(y) \wedge x \neq y
\rightarrow C_x^B \cap C_y^{B'} = \varnothing $we will prove the stronger invariant obtained by replacing CxB by $ {\tilde{C}}_x^B $ in 5.



 
next up previous contents
Next: Overall correctness and termination Up: The construction Previous: Making an SNy-block.
Joost Joosten
2000-02-07