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 name is absent
2. POWER LAW SIGNATURE IN INDONESIAN LEGISLATIVE ELECTION 1999-2004
3. Langfristige Wachstumsaussichten der ukrainischen Wirtschaft : Potenziale und Barrieren
4. The Composition of Government Spending and the Real Exchange Rate
5. CAN CREDIT DEFAULT SWAPS PREDICT FINANCIAL CRISES? EMPIRICAL STUDY ON EMERGING MARKETS
6. CURRENT CHALLENGES FOR AGRICULTURAL POLICY
7. The name is absent
8. The name is absent
9. Keynesian Dynamics and the Wage-Price Spiral:Estimating a Baseline Disequilibrium Approach
10. Computational Batik Motif Generation Innovation of Traditi onal Heritage by Fracta l Computation