• Aucun résultat trouvé

Mixed Logic and Storage Operators

N/A
N/A
Protected

Academic year: 2021

Partager "Mixed Logic and Storage Operators"

Copied!
25
0
0

Texte intégral

(1)

HAL Id: hal-00381633

https://hal.archives-ouvertes.fr/hal-00381633

Submitted on 6 May 2009

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires

Mixed Logic and Storage Operators

Karim Nour

To cite this version:

Karim Nour. Mixed Logic and Storage Operators. Archive for Mathematical Logic, Springer Verlag, 2000, 39, pp.261-280. �hal-00381633�

(2)

Mixed Logic and Storage Operators

Karim NOUR

LAMA - Equipe de Logique, Universit´e de Chamb´ery 73376 Le Bourget du Lac

e-mail nour@univ-savoie.fr

Abstract

In 1990 J-L. Krivine introduced the notion of storage operators. They areλ-terms which simulate call-by-value in the call-by-name strategy and they can be used in order to modelize assignment instructions. J-L. Krivine has shown that there is a very simple second order type in AF2 type system for storage operators using G˝odel translation of classical to intuitionistic logic.

In order to modelize the control operators, J-L. Krivine has extended the systemAF2 to the classical logic. In his system the property of the unicity of integers representation is lost, but he has shown that storage operators typable in the systemAF2 can be used to find the values of classical integers.

In this paper, we present a new classical type system based on a logical system called mixed logic.

We prove that in this system we can characterize, by types, the storage operators and the control operators. We present also a similar result in the M. Parigot’sλµ-calculus.

1 Introduction

In 1990, J.L. Krivine introduced the notion of storage operators (see [4]). They are closedλ-terms which allow, for a given data type (the type of integers, for example), to simulate in λ-calculus the ”call by value” in a context of a ”call by name” (the head reduction) and they can be used in order to modelize assignment instructions. J.L. Krivine has shown that the formula∀x{N*[x]→ ¬¬N[x]}is a specification for storage operators for Church integers : whereN[x] is the type of integers in AF2 type system, and the operation is the simple G˝odel translation from classical to intuitionistic logic which associates to every formulaFthe formulaF* obtained by replacing inF every atomic formula by its negation (see [3]).

The latter result suggests many questions :

Why do we need a G˝odel translation ?

Why do we need the typeN*[x] which characterize a class larger than integers ?

In order to modelize the control operators, J-L. Krivine has extended the system AF2 to the classical logic (see [6]). His method is very simple : it consists of adding a new constant, denoted by C, with the declaration C : ∀X{¬¬X X} which axiomatizes classical logic over intuitionistic logic. For the constantC, he adds a new reduction rule : (Ctt1...tn)(t λx(x t1...tn)) which is a particular case of a rule given by Felleisen for control operator (see [1]). In this system the property of the unicity of inte- gers representation is lost, but J-L. Krivine has shown that storage operators typable in the intuitionistic systemAF2 can be used to find the values of classical integers1(see [6]).

1The idea of using storage operators in classical logic is due to M. Parigot (see [19])

(3)

The latter result suggests also many questions :

What is the relation between classical integers and the type N*[x] ?

Why do we need intuitionistic logic to modelize the assignment instruction and classical logic to modelize the control operators ?

In this paper, we present a new classical type system based on a logical system called mixed logic. This system allows essentially to distinguish between classical proofs and intuitionistic proofs. We prove that, in this system, we can characterize, by types, the storage operators and the control operators. This results give some answers to the previous questions.

We present at the end (without proof) a similar result in the M. Parigot’sλµ-calculus.

Acknowledgement. We wish to thank J.L. Krivine, and C. Paulin for helpful discussions. We don’t forget the numerous corrections and suggestions from R. David and N. Bernard.

2 Pure and typed λ-calculus

Lett, u, u1, ..., un beλ-terms, the application ofttouis denoted by (t)u. In the same way we write (t)u1...un instead of (...((t)u1)...)un.

F v(t) is the set of free variables of aλ-termt.

Theβ-reduction (resp. β-equivalence) relation is denoted byuβv (resp. uβv).

The notationσ(t) represents the result of the simultaneous substitutionσto the free variables oft after a suitable renaming of the bounded variables oft.

We denote by (u)nv theλ-term (u)...(u)v where uoccursn times, anduthe sequence ofλ-terms u1, ..., un. Ifu=u1, ..., un n0, we denote by (t)utheλ-term (t)u1...un.

Let us recall that a λ-term t either has a head redex [i.e. t =λx1...λxn(λxu)vv1...vm, the head redex being (λxu)v], or is in head normal form [i.e. t=λx1...λxn(x)v1...vm]. The notationuv means thatvis obtained fromuby some head reductions. Ifuv, we denote byh(u, v) the length of the head reduction betweenuand v.

Lemma 2.1 (see[3])

1) If uv, then, for any substitutionσ,σ(u)σ(v), and h(σ(u), σ(v))=h(u,v).

2) If u v, then, for every sequence of λ-terms w, there is a w, such that (u)w w, (v)w w, and h((u)w, w) =h((v)w, w) +h(u, v).

Remark. Lemma 2.1 shows that to make the head reduction ofσ(u) (resp. of (u)w) it is equivalent - same result, and same number of steps - to make some steps in the head reduction ofu, and after make the head reduction ofσ(v) (resp. of (v)w). 2

The types will be formulas of second order predicate logic over a given language. The logical connectives are (for absurd),→, and∀. There are individual (or first order) variables denoted byx, y, z, ...,and predicate (or second order) variables denoted byX, Y, Z, ....

(4)

We do not suppose that the language has a special constant for equality. Instead, we define the formulau=v(whereu, vare terms) to be∀Y(Y(u)Y(v)) whereY is a unary predicate variable.

Such a formula will be called an equation. We denote by ab, if a=b is a consequence of a set of equations.

The formula F1 (F2 (... (Fn G)...)) is also denoted by F1, F2, ..., Fn G. For every formula A, we denote by ¬A the formula A →⊥. If v = v1, ..., vn is a sequence of variables, we denote by∀vA the formula∀v1...∀vnA.

Lettbe aλ-term,Aa type, Γ =x1:A1, ..., xn:An a context, andEa set of equations. We define by means of the following rules the notion ”t is of type Ain Γ with respect toE” ; this notion is denoted by ΓAF2t:A:

(1) ΓAF2xi :Ai 1in.

(2) If Γ, x:AAF2t:B, then ΓAF2λxt:AB.

(3) If ΓAF2u:AB, and ΓAF2v:A, then ΓAF2(u)v:B.

(4) If ΓAF2t:A, andxis not free in Γ, then ΓAF2t:∀xA.

(5) If ΓAF2t:∀xA, then, for every termu, ΓAF2t:A[u/x].

(6) If ΓAF2t:A, andX is not free in Γ, then ΓAF2t:∀XA.

(7) If ΓAF2t:∀XA, then, for every formulasG, ΓAF2t:A[G/X].

(8) If ΓAF2t:A[u/x], anduv, then ΓAF2t:A[v/x].

This typedλ-calculus system is calledAF2 (for Arithm´etique Fonctionnelle du second ordre).

Theorem 2.1 (see [2]) The AF2 type system has the following properties : 1) Type is preserved during reduction.

2) Typableλ-terms are strongly normalizable.

We present now a syntaxical property of systemAF2 that we will use afterwards.

Theorem 2.2 (see [8]) If in the typing we go from ΓAF2t:A toΓAF2 t:B, then we may assume that we begin by the ∀-elimination rules, then by the equationnal rule, and finally by the∀-introduction rules.

We define on the set of types the two binary relationsandas the least reflexive and transitive binary relations such that :

-∀xAA[u/x], ifuis a term of language ; -∀XAA[F/X], ifF is a formula of language ;

-AB if and only if A=C[u/x], B=C[v/x], and uv.

(5)

3 Pure and typed λC-calculus

3.1 The C2 type system

We present in this section the J-L. Krivine’s classical type system.

We add a constantC to the pureλ-calculus and we denote by ΛCthe set of new terms also called λC-terms. We consider the following rules of reduction, called rules of headC-reduction.

1) (λxu)tt1...tn (u[t/x])t1...tn for everyu, t, t1, ..., tnΛC.

2) (C)tt1...tn (t)λx(x)t1...tn for everyt, t1, ..., tnΛC,xbeing aλ-variable not appearing in t1, ..., tn.

For anyλC-termst, t, we shall writetCtift is obtained fromtby applying these rules finitely many times. We say that t is obtained fromt by headC-reduction.

AλC-termtis saidβ-normal if and only ift does not contain aβ-redex.

AλC-termtis saidC-solvable if and only iftC(f)t1, ..., tn where f is a variable.

It is easy to prove that : iftCt, then, for any substitutionσ,σ(t)Cσ(t).

We add to theAF2 type system the new following rule : (0) ΓC:∀X{¬¬X X}

This rule axiomatizes the classical logic over the intuitionistic logic. We call C2 the new type system, and we write ΓC2t:Aiftis of typeAin the context Γ.

It is clear that ΓC2t:Aif and only if Γ, C:∀X{¬¬X X} ⊢AF2t:A.

Theorem 3.1 (see [6])

1) If ΓC2t:A, andtβt, thenΓC2t :A.

2) If ΓC2t:⊥, andtCt, thenΓC2t :⊥.

3) If Ais an atomic type, and ΓC2t:A, thent isC-solvable.

3.2 The M2 type system

In this section, we present the systemM2. This system allows essentialy to distinguish between classical proofs and intuitionistic proofs

We assume that for every integern, there is a countable set of special n-ary second order variables de- noted byXC, YC, ZC...., and called classical variables.

LetX be ann-ary predicate variable or predicate symbol. A type Ais said to be ending withX if and only ifA is obtained by the following rules :

-X(t1, ..., tn) ends withX;

(6)

- IfB ends withX, thenAB ends withX for every typeA ; - IfAends with X, then∀vAends withX for every variablev.

A typeAis said to be a classical type if and only ifAends with or a classical variable.

We add to theAF2 type system the new following rules : (0) ΓC:∀XC{¬¬XCXC}

(6) If Γt:A, and XC has no free occurence in Γ, then Γt:∀XCA.

(7) If Γt:∀XCA, andGis a classical type, then Γt:A[G/XC].

We callM2 the new type system, and we write ΓM2t:Aiftis of typeAin the context Γ.

We extend the definition ofby : ∀XCAA[G/XC] ifGis a classical type.

Lemma 3.1 If A is a classical type andAB (orAB), thenB is a classical type.

Proof Easy.2

3.3 The logical properties of M2

We denote by LAF2, LC2, and LM2 the underlying logic systems of respectively AF2, C2, and M2 type systems.

With each classical variableXC, we associate a special variableXofAF2 having the same arity asXC. For each formulaAofLM2, we define the formulaA* ofLAF2 in the following way :

- IfA=D(t1, ..., tn) whereD is a predicate symbol or a predicate variable, thenA*=A; - IfA=XC(t1, ..., tn), thenA*=¬X(t1, ..., tn) ;

- IfA=B C, then A*=B*→C* ; - IfA=∀xB, thenA*=∀xB*.

- IfA=∀XB, thenA*=∀XB*.

- IfA=∀XCB, thenA*=∀XB*.

A* is called the G˝odel translation ofA.

Lemma 3.2 If Gis a classical type ofLM2, then LAF2¬¬G*←→G*.

Proof It is easy to prove thatLAF2G*→ ¬¬G*.

We proveLAF2¬¬G*→G* by induction onG.

- IfG=⊥, thenG*=⊥, andLAF2((⊥→⊥)→⊥)→⊥.

(7)

- IfG=XC(t1, ..., tn), thenG*=¬X(t1, ..., tn), andLAF2¬¬¬X(t1, ..., tn)→ ¬X(t1, ..., tn).

- If G = A B, then B is a classical type and G* = A* B*. By the induction hypothesis, we haveLAF2¬¬B*→B*. SinceLAF2¬¬(A*→B*) (¬¬A*→ ¬¬B*), we check easily that

LAF2¬¬(A* B*) (A*B*).

- IfG=∀vG where v=xor v=X, thenG is a classical type andG*=∀vG*. By the induction hypothesis, we haveLAF2¬¬G*→G*. SinceLAF2¬¬∀vG*→ ∀v¬¬G*, we check easily that

LAF2¬¬∀vG*→ ∀vG*.

- If G= ∀XCG, thenG is a classical type and G*=∀XG*. By the induction hypothesis, we have LAF2 ¬¬G*→ G*. Since LAF2 ¬¬∀XG* → ∀X¬¬G*, we check easily that LAF2

¬¬∀XG*→ ∀XG*. 2

Lemma 3.3 Let A, G be formulas of LM2, t a term, x a first order variable, and X a second order variable. We have :

1)(A[t/x])*=A*[t/x].

2)(A[G/X])*=A*[G*/X].

Proof By induction onA. 2

Lemma 3.4 Let A be a formula ofLM2,Ga classical type, andXC a classical variable.

LAF2(A[G/XC])*←→A*[¬G*/XC].

Proof By induction onA.

- If A = D(t1, ..., tn) where D is a predicate variable or a predicate symbol, then A*=A, and

LAF2A←→A.

- IfA=XC(t1, ..., tn), thenA*=¬X(t1, ..., tn), and, by Lemma 3.2,LAF2¬¬G*←→G*.

- IfA=BC, thenA* =B*C*. By the induction hypothesis, we haveLAF2(B[G/XC])*←→

B*[¬G*/XC] andLAF2(C[G/XC])*←→C*[¬G*/XC]. ThereforeLAF2{(B[G/XC])*→(B[G/XC])*} ←→

{B*[¬G*/XC]C*[¬G*/XC]}.

- If A = ∀vA, where v = x or v = X, then A*=∀vA*. By the induction hypothesis, we have

LAF2(A[G/XC])*←→A*[¬G*/XC]. ThereforeLAF2(∀vA[G/XC])*←→ ∀vA*[¬G*/XC].

- If A = ∀YCA, then A*=∀YA*. By the induction hypothesis, we have LAF2 (A[G/XC])*

←→A*[¬G*/XC]. ThereforeLAF2(∀YCA[G/XC])*←→(∀YCA)*[¬G*/XC]. 2 Theorem 3.2 If A1, ..., AnLM2A, thenA1*, ..., An*LAF2A*.

Proof By induction on the proof ofAand using Lemmas 3.2, 3.3, and 3.4. 2 Corollary 3.1 Let A, A1, ..., An be formulas ofLAF2.

A1, ..., AnLM2Aif and only if A1, ..., AnLAF2A.

Proof We use Theorem 3.2. 2

With each predicate variableX ofC2, we associate a classical variableXC having the same arity asX.

For each formulaAofLC2, we define the formula AC ofM2 in the following way :

(8)

- IfA=D(t1, ..., tn) whereD is a constant symbol, thenAC =A ;

- IfA=X(t1, ..., tn) whereX is a predicate symbol, thenAC =XC(t1, ..., tn) ; - IfA=B C, then AC=BCCC ;

- IfA=∀xB, thenAC=∀xBC ; - IfA=∀XB, thenAC=∀XCBC. AC is called the classical translation of A.

Theorem 3.3 Let A1, ..., An, Abe formulas of LC2.

A1, ..., AnLC2Aif and only if AC1, ..., ACn LM2AC. Proof By induction on the proof ofA. 2

4 Properties of M2 type system

By corollary 3.1, we have that a formula is provable in systemLAF2 if and only if it is provable in system LC2. This resultat is not longer valid if we decorate the demonstrations by terms. We will give some conditions on the formulas in order to obtain such a result.

We define two sets of types ofAF2 type system : Ω+ (set of∀-positive types), and Ω (set of∀-negative types) in the following way :

- IfAis an atomic type, thenA+, andA ;

- IfT +, andT, then, TT +, andT T ; - IfT +, then∀xT + ;

- IfT , then∀xT ; - IfT +, then∀XT + ;

- IfT , andX has no free occurence inT, then∀XT .

Lemma 4.1 1) If A+ (resp. A) andAB, then B+ (resp. B).

2) If A andABC, thenB+ andC. Proof Easy.2

Theorem 4.1 Let A1, ..., An be∀-negative types,Aa∀-positive type ofAF2 which does not end with⊥, B1, ..., Bm classical types, andt aβ-normal λC-term.

If Γ =x1:A1, ..., xn:An, y1:B1, ..., ym:BmM2t:A, then t is a normal λ-term, andx1:A1, ..., xn: An AF2t:A.

Proof We argue by induction ont.

- Ift is a variable, we have two cases :

(9)

- Ift=xi 1in, this is clear.

- If t=yj 1j m, thenA=∀vB where BjBj andBj B. Therefore, by Lemma 3.1, Ais a classical type. A contradiction.

- Ift=λxu, then Γ, x:EM2u:F, andA=∀v(E F) whereEE,F F andvdoes not appear in Γ. First, by Lemma 4.1,E andF +, and then, by the induction hypothesis,u is a normal λ-term, and x1:A1, ..., xn:An, x:EAF2u:F. Thereforetis a normalλ-term, and x1:A1, ..., xn :AnAF2t:A.

- Ift= (x)u1...ur r1, we have two cases :

- Ift=xi 1in, thenAiB1C1,CiBi+1Ci+11ir1,CrD,A=∀vD, whereCi Ci1ir,D D, and ΓM2ui:Bi1ir. SinceAiis a∀-negative types, we prove (by induction and using Lemma 4.1) that for all 1ir Biis a∀-positive types. By the induction hypothesis we have ui is a normalλ-term, andx1:A1, ..., xn:An AF2ui:Bi. Thereforetis a normalλ-term, andx1:A1, ..., xn:AnAF2t:A.

- Ift=yj 1jm, thenBjB1C1,CiBi+1Ci+11ir−1,CrD,A=∀vD, where Ci Ci 1ir,D D, and ΓM2ui:Bi 1ir. Therefore, by Lemma 3.1,A is a classical type. A contradiction.

- Ift= (C)uu1...urr0, then there is a classical typeEsuch that ΓM2u:¬¬E,EB1C1, CiBi+1 Ci+1 1 i r1, Cr D, A = ∀vD, where Ci Ci 1 i r, D D, and ΓM2ui:Bi 1ir. Therefore, by Lemma 3.1,Ais a classical type. A contradiction. 2 Corollary 4.1 Let Abe a∀-positive type ofAF2 andtaβ-normalλC-term.

If M2t:A, thent is a normalλ-term, and AF2t:A.

Proof We use Theorem 4.1. 2

As for relation betwen the systemsC2 andM2, we have the following result.

Theorem 4.2 Let A1, ..., An, Abe types of C2, andt aλC-term.

A1, ..., AnC2t:A if and only ifAC1, ..., ACn M2t:AC. Proof By induction on the typing oft. 2

5 The integers

Each data type can be defined by a second order formula. For example, the type of integers is the formula : N[x] = ∀X{X(0),∀y(X(y)X(sy)) X(x)} where X is a unary predicate variable, 0 is a constant symbol for zero, and sis a unary function symbol for successor. The formulaN[x]

means semantically that x is an integer if and only if x belongs to each set X containing 0 and closed under the successor functions.

Theλ-term 0 =λxλf xis of typeN[0] and represents zero.

The λ-term s = λnλxλf(f)((n)x)f is of type ∀y(N[y] N[s(y)]) and represents the successor function.

(10)

A set of equationsE is said to be adequate with the type of integers if and only if : -s(a)6≈0 ;

- Ifs(a)s(b) , then so isab.

In the rest of the paper, we assume that all sets of equations are adequate with the type of integers.

For each integern, we define the Church integernbyn=λxλf(f)nx.

5.1 The integers in AF2

The systemAF2 has the property of the unicity of integers representation.

Theorem 5.1 (see [2]) Let nbe an integer. IfAF2t:N[sn(0)], then tβn.

The propositional traceN =∀X{X,(XX)X} ofN[x] also defines the integers.

Theorem 5.2 (see [2]) If AF2t:N, then, for a certainn,tβn.

RemarkA very important property of data type is the following (we express it for the type of integers) : in order to get a program for a functionf :N N it is sufficient to prove⊢ ∀x(N[x]N[f(x)]). For example a proof of ⊢ ∀x(N[x]N[p(x)]) from the equationsp(0) = 0, p(s(x)) =xgives aλ-term for the predecessor in Church intergers (see [2]). 2

5.2 The integers in C2

The situation in systemC2 is more complex. In fact, in this system the property of unicity of integers representation is lost and we have only one operational characterization of these integers.

Letnbe an integer. A classical integer of valuenis a closedλC-termθn such thatC2θn:N[sn(0)].

Theorem 5.3 (see [6] and [12]) Let nbe an integer, and θn a classical integer of value n.

- if n= 0, then, for every distinct variables x, g, y: n)xgyC (x)y ;

- if n 6= 0, then there is m 1 and a mapping I : {0, ..., m} → N, such that for every distinct variables x, g, x0, x1, ..., xm :

n)xgx0C(g)t1xr0 ;

(ti)xiC(g)ti+1xri 1im; (tm)xmC(x)xrm ;

where I(0) =n,I(rm) = 0, and I(i+ 1) =I(ri)1 0im1.

We will generalize this result.

LetObe a particular unary predicate symbol. The typed systemC2O is the typed systemC2 where we replace the rules (2) and (7) by :

(11)

(2O) If Γ, x:AC2O t:B,AandB are not ending withO, then ΓC2O λxt:AB.

(7O) If ΓC2Ot:∀XA, andGis not ending withO, then ΓC2Ot:A[G/X].

We define on the types ofC2O a binary relationO as the least reflexive and transitive binary relation such that :

∀xAOA[u/x] ifuis a term of language ;

∀XAOA[G/X] ifGis a type which is not ending withO.

Lemma 5.1 a) If ΓC2O t:⊥, andtCt, thenΓC2O t :⊥.

b) IfΓC2O t:A, andAis an atomic type, then t isC-solvable.

Proof a) It is enough to do the proof for one step of reduction. We have two cases :

- If t = (λxu)vv1...vm, then t = (u[v/x])v1...vm, Γ, x : F C2O u : G, F and G are not ending with O,GOF1G1, GjOFj+1 Gj+1 1j m1,Gm≈⊥,Gj Gj 1 j m1, Γ C2O v : F, and Γ C2O vj : Fj 1 j m. It is easy to check that Γ C2O u[v/x] :G, then ΓC2O t :⊥.

- Ift= (C)vv1...vm, thent= (v)λx(x)v1...vm, and there is a typeAwhich is not ending withOsuch that : AOF1G1,GjOFj+1Gj+1 1jm1,Gm≈⊥,AA,Gj Gj 1jm, ΓC2O v:¬¬A, and ΓC2Ovj :Fj1jm. It is easy to check that Γ, x:AC2O (x)v1...vm:⊥, but Ais not ending withO, then ΓC2Oλx(x)v1...vm:¬A, and ΓC2O t:⊥.

b) Indeed, a typing ofC2O may be seen as a typing ofC2. 2 Lemma 5.2 a) If ΓC2O t:O(a), andtCt, thent=t.

b) If Γ = y1 : A1, ..., yn : An, x1 : O(a1), ..., xm : O(am)C2O t : O(a), and all Ai 1 i n are not ending with O, then tis one of xi, andaia 1in.

Proof a) It is enough to do the proof for one step of reduction. We have two cases :

- Ift= (λxu)vv1...vm, thent = (u[v/x])v1...vm, Γ, x:FC2O u:G,F andGare not ending with O, GOF1 G1, Gj OFj+1 Gj+1 1 j m1, Gm O(a), Gj Gj 1 j m1, ΓC2O v:F, and ΓC2Ovj:Fj 1jm. ThereforeGj 1j mis not ending with O, which is impossible since GmO(a).

- If t= (C)vv1...vm, thent = (v)λx(x)v1...vm, and there is a typeA which is not ending with O such that : AOF1 G1, GjOFj+1 Gj+1 1j m1,Gm O(a), AA, Gj Gj 1j m, ΓC2Ov :¬¬A, and ΓC2O vj :Fj 1jm. A is not ending withO, thereforeGj

1jmis not ending withO, which is impossible sinceGmO(a).

b) By Lemma 5.1, we havetC(f)t1...tr, and, by a),t= (f)t1...tr. Therefore ΓC2O (f)t1...tr:O(a).

- Iff =xi 1im, thenr= 0,t=xi, andO(ai)O(a), thenaia.

- If f =yj 1 j k, then Aj OF1 G1, GkOFk+1 Gk+1 1 k r1,Gr O(a), Gk Gk 1 k r, and Γ C2O tk : Fk 1 k r. Since Aj is not ending with O, then Gk

1kris not ending withO, which is impossible sinceCrO(a). 2

Références

Documents relatifs

In the Kripke semantics defined for dual-intuitionistic logic (see [Gor00]), the dual of intuitionistic implication is interpreted as being valid in a possible world if it is valid

paper we consider cut-elimination in classical first-order logic and treat the question which cut-free proofs one can obtain (by the strategy-free rewriting system) from a single

Listing 1.1 provides a model for the Critical Friendship problem: Lines 1-5 specify the vocabulary, declaring two types ( Person s and Car s), and three logic symbols: The

In λ-calculus the left reduction strategy (iteration of the head reduction) has much ad- vantages : it always terminates when applied to a normalizable λ-term and it seems more

Krivine has shown that the formula ∀x{N *[x] → ¬¬N[x]} is a specification for stor- age operators for Church integers : where N [x] is the type of integers in second order logic,

Krivine (1990b) has shown that there is a very simple type in the AF 2 type system for storage operators using G˝ odel translation from classical to intuitionistic logic..

Simple proof of the completeness theorem for second order classical and intuitionictic logic by reduction to first-order mono-sorted logic... Simple proof of the completeness

Recently, Zhang and Mond [13] introduced a concept of second order (F, ρ)-convexity, an extension of (F, ρ)-convexity defined by Preda [10], and used the concept to obtain some