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. Une nouvelle vision de l'économie (The knowledge society: a new approach of the economy)
2. Parent child interaction in Nigerian families: conversation analysis, context and culture
3. The name is absent
4. Education and Development: The Issues and the Evidence
5. Happiness in Eastern Europe
6. Dynamiques des Entreprises Agroalimentaires (EAA) du Languedoc-Roussillon : évolutions 1998-2003. Programme de recherche PSDR 2001-2006 financé par l'Inra et la Région Languedoc-Roussillon
7. The name is absent
8. On Dictatorship, Economic Development and Stability
9. Personal Experience: A Most Vicious and Limited Circle!? On the Role of Entrepreneurial Experience for Firm Survival
10. Educational Inequalities Among School Leavers in Ireland 1979-1994