Program Semantics and Classical Logic



Proposition 10 For every program P and procedure call X in P, P^ is
continuous in X.

Proof. By induction on the complexity of P, using the previous lemma for
the case that
P = hXi ^ Piii(Q).   

We can prove a similar connection between correctness formulae and weak
anticontinuity. First we note that there are certain syntactic features which
will guarantee a type logical term to be continuous or anticontinuous in a
given variable.

Lemma 11

1. If φ is continuous in ξ then -φ is anticontinuous in ξ;

2. If φ is anticontinuous in ξ then -φ is continuous in ξ;

3. If φ,ψ are (anti-)continuous in ξ then φ ψ is (anti-)continuous in ξ;

4. If Aα→t is (anti-)continuous in ξ and ξ does not occur in δα then A(δ)
is (anti-)continuous in ξ;

5. If φ is (anti-)continuous in ξ then λζα.φ is (anti-)continuous in ξ;

6. If φ is anticontinuous in ξ thenζ φ is anticontinuous in ξ;

7. If φ is continuous in ξ thenζ φ is continuous in ξ.

Proof. By inspection of the various cases. To prove the first case, for example,
assume that
φ is continuous in ξ, and let R0 R1 ... Rn ... be a
chain. Then
Tn V(-φ,a[Rn]) = 1 iff, for all n, V(-φ, a[Rn∕ξ]) = 1 iff (by
Definition 10), for all n,
V(φ, a[Rn∕ξ]) = 0 iff Sn V(φ, a[Rn∕ξ]) = 0 iff (by
continuity of
φ) V(φ, a[Rω/ξ]) = 0 iff (by Definition 10) V(-φ, a[Rω/ξ]) = 1.

The other cases are equally simple and are left to the reader.

The relation between correctness formulas and weak anticontinuity that was
promised is stated and proved as follows.

Proposition 12 For every correctness formula C and procedure call X in
C, C t is weakly anticontinuous in X .

22



More intriguing information

1. Cultural Neuroeconomics of Intertemporal Choice
2. The name is absent
3. Evidence of coevolution in multi-objective evolutionary algorithms
4. Labour Market Institutions and the Personal Distribution of Income in the OECD
5. Banking Supervision in Integrated Financial Markets: Implications for the EU
6. Healthy state, worried workers: North Carolina in the world economy
7. The name is absent
8. The name is absent
9. MANAGEMENT PRACTICES ON VIRGINIA DAIRY FARMS
10. The Environmental Kuznets Curve Under a New framework: Role of Social Capital in Water Pollution