Program Semantics and Classical Logic



Combining our findings, we conclude that

Rm+1 [{V(Lt,α) I ∃L0 : L 'C [hXi ^ PK,ι(Pj)∕X,]‰1L⅛L0 'C Pk}

Since, by Lemma 20, L0 'C Pk implies that

[(Xi ^ Piin=I(Pj)/XjL 'C [(Xi ^ Piin(Pj)∕X]nPk

It follows that

R '   [{V(Lt,α) I L 'C [(Xi ^ Pi)i(P,)∕Xi]JPk}

[{V(Lt, a) I L 'C (Xi ^ Piii(Pk)}

We may conclude that Sm Rk' S{V(Lt, a) L 'C (Xi ^ Pii*=1(P)} for all
k and now reason as follows.

V(((Xi ^ Piin(Pk))t,α) = (Lemma 8)
V (Pkt,α[Rω/Xι,...,Rω /Xn]) = (continuity)
[V(Pkt,a[R1m/X1,...,Rnm/Xn])=[Rkm
mm

[{V(Lt,a) I L 'C (Xi ^ Pi)i(Pk)}

This concludes the proof.

10 Conclusion and Further Prospects

In this paper we have shown that at least some non-trivial programming
constructs, including recursion, can be provided with a semantics in the
models of ordinary second-order logic, using the technique of translating
programs and correctness statements into that logic as it is commonly done
in Montague Semantics. The programming language which we have treated
was very small of course, but there seem to be no reasons why we should
not be able in principle to extend it with many useful constructs. This is
one way to continue from here, but there are other possibilities as well. We
speculate on two of them.

In this paper we have only looked at an imperative language, but the
procedural semantics of
logic programming languages is usually done in
the denotational framework as well and makes extensive use of fixpoint
constructions. The idea that we could have a
logical treatment of the
procedural semantics of these languages is tantalising.

30



More intriguing information

1. THE ECONOMICS OF COMPETITION IN HEALTH INSURANCE- THE IRISH CASE STUDY.
2. Constrained School Choice
3. The name is absent
4. On the Desirability of Taxing Charitable Contributions
5. Land Police in Mozambique: Future Perspectives
6. ISO 9000 -- A MARKETING TOOL FOR U.S. AGRIBUSINESS
7. News Not Noise: Socially Aware Information Filtering
8. The name is absent
9. Has Competition in the Japanese Banking Sector Improved?
10. The Role of Land Retirement Programs for Management of Water Resources