• Aucun résultat trouvé

Can a lambda-model have a recursively enumerable theory ?

N/A
N/A
Protected

Academic year: 2021

Partager "Can a lambda-model have a recursively enumerable theory ?"

Copied!
26
0
0

Texte intégral

(1)

HAL Id: hal-00699810

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

Submitted on 21 May 2012

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 abroad, or from public or private research centers.

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 publics ou privés.

Can a lambda-model have a recursively enumerable

theory ?

Chantal Berline

To cite this version:

Chantal Berline. Can a lambda-model have a recursively enumerable theory ?. Types and Computa-tions: A Colloquium in Honor of Mario Coppo, Mariangiola Dezani-Ciancaglini, Simona Ronchi della Rocca, Oct 2007, Roma, Italy. �hal-00699810�

(2)

logo

Can a λ-model have an r.e. theory?

C. Berline G. Manzonetto A. Salibra

CNRS-Universit ´e Denis-Diderot Paris 7 (Equipe PPS)

Universit `a di Venezia (Ca’Foscari)

Types and Computations: A Colloquium in Honor of Mario Coppo,

Mariangiola Dezani-Ciancaglini, Simona Ronchi Della Rocca

(3)

logo

Outline

1 The problem

λ-calculus models and theories The conjecture(s)

2 Methodology

3 Effective models of λ-calculus

Effective and weakly λ-models

Can an effective λ-model have an r.e. theory? Some results

4 Graph models

Definition

Effective graph models Can a graph theory be r.e.?

(4)

logo

Outline

1 The problem

λ-calculus models and theories The conjecture(s)

2 Methodology

3 Effective models of λ-calculus

Effective and weakly λ-models

Can an effective λ-model have an r.e. theory? Some results

4 Graph models

Definition

Effective graph models Can a graph theory be r.e.?

(5)

logo

λ-calculus models and theories

Syntax of the untyped λ-calculus

Terms of untyped λ-calculus λ-terms: M, N ::= x | MN | λx .M Examples: I ≡ λx .x , T ≡ λxy .x , F ≡ λxy .y , Ω ≡ (λx .xx )(λx .xx ). β-conversion (λx .M)N =β M[x := N]. λ-theory

Any congruence on Λ containing β-conversion. Examples of λ-theories

λβ= the smallest λ-theory,

(6)

logo

λ-calculus models and theories

The lattice of λ-theories

λ-theories form a complete lattice (λT , ⊆). There is a continuum of λ-theories

card (λT ) = 2ℵ0: the set of r.e. λ-theories is dense in λT . T is r.e. if {(M, N) : M =T N} is r.e.

General aim

Understanding the structure of λT . Remark

Few λ-theories come from syntactical considerations (λβ, λβη, BT , H∗), most come as the equational theory of a model:

(7)

logo The conjecture(s)

AIM: Investigate this conjecture

Conjecture

No (proper = non-syntactical) λ-calculus model belonging to the “main semantics”:

Continuous semantics (Scott),

simplest subclass: Graph models (never extensional),

Stable semantics (Berry and Girard),

Strongly stable semantics (Bucciarelli and Ehrhard), can have an r.e. equational (order) theory.

Recall

(8)

logo The conjecture(s)

Can a proper model have an r.e. theory?

Every (uniform) class of p.o. models:

(Kerth 1995, Gouy, Bastonero 1996) represents 2ℵ0 λ-theories,

(Salibra 2001) omits 2ℵ0 λ-theories. Remark

Most models do not have an r.e. theory:

there are only countably many r.e. theories, T sensible ⇒ T non r.e.,

the few known theories of models (BT , H∗& co.) are non-r.e.

(9)

logo The conjecture(s)

A longstanding open problem...

Problem (Honsell '1984)

∃? a proper model M such that Eq(M) = λβ, λβη (r.e.)? Theorem (Selinger 1995)

If Eq(M) = λβ, λβη then any p.o. on (M, •) is trivial on (the interpretations of) closed λ-terms.

Known results

NO! for graph models (corollary).

(DiG-H-P,1995) ∃ proper model M such that Eq(M) = λβη in a weakly continuous semantics and not strictly proper!!! (BBB 98-00) ∃ strictly proper model M of System F in the

Scott-continuous semantics such that Eq(M) = λβηF

(10)

logo

Outline

1 The problem

λ-calculus models and theories The conjecture(s)

2 Methodology

3 Effective models of λ-calculus

Effective and weakly λ-models

Can an effective λ-model have an r.e. theory? Some results

4 Graph models

Definition

Effective graph models Can a graph theory be r.e.?

(11)

logo

Methodology

We concentrate on the following two classes of p.o. models:

1 Eff = “Effective” λ-models (based on effective domains) Reason 1: Effective models (in our sense) are omni-present in the literature.

Reason 2: The BBB model of System F, is effective in our sense.

2 G = Graph models (Based on (P(D), ⊆))

Reason: simplest class, deeply studied, generic (in some sense).

We also look at order theories: Ord (M) = {(M, N) : M |= M v N}. Note that: Ord (M) r.e. ⇒ Eq(M) r.e.

(Visser 1980) If U, V ⊆ Λoare β-closed, co-r.e. and non-empty, then U ∩ V 6= ∅.

(12)

logo

Outline

1 The problem

λ-calculus models and theories The conjecture(s)

2 Methodology

3 Effective models of λ-calculus

Effective and weakly λ-models

Can an effective λ-model have an r.e. theory? Some results

4 Graph models

Definition

Effective graph models Can a graph theory be r.e.?

(13)

logo Effective and weakly λ-models

Effective λ-models

Effective domains

An effective domain is a Scott-domain D equipped with an adequate notion of computable elements:

Dr .e.= computable elements of D;

Ddec = decidable elements of D; [BMS07]

(Scott-continuous) Effective λ-models

A λ-model M = (D, A, λ) with λ, A : [D → D] C D is weakly effective if D is an effective Scott domain, and A, λ are computable.

M is effective modulo a further technical condition on A, λ. All the models introduced individually in the literature can be proved effective in our sense. . .

(14)

logo Effective and weakly λ-models

More details

Effective domains

An effective domain is a Scott-domain D = (D, vD,d ) where

d : N → K (D) is surjective such that:

the relation “dnt dm exists” is decidable in (m, n),

the relation dk =dnt dmis decidable in (n, m, k ).

Computable and decidable elements x ∈ Dr .e. iff {n : dn v x} is r.e.

x ∈ Ddec iff {n : d

nv x} is decidable.

Computable functions

(15)

logo Effective and weakly λ-models

Properties

M weakly effective

(i) |M| ∈ Dr .e. for all M ∈ Λo,

(ii) if u ∈ Ddec then u= {N ∈ Λo: |N| v u} is co-r.e.

Proof Sketch: Weak effectivity implies that the interpretation function is computable. Then (i) and (ii) follow.

M effective

If M, N ∈ Λo are β-normal, then: (i) |M| ∈ Ddec, hence:

(ii) M−= {N ∈ Λo: |N| v |M|} is co-r.e., thus:

(16)

logo Can an effective λ-model have an r.e. theory?

Can an effective λ-model have an r.e. theory?

M effective

1 Ord (M) is non r.e.

2 Eq(M) 6= λβ, λβη,

3 If ⊥−6= ∅ then Eq(M) is non r.e.,

4 If M is stable or strongly stable then Eq(M) is non r.e.

Remark 1

T−6= F−, where T ≡ λxy .x , F ≡ λxy .y .

Remark 2

If M is effective, then:

(i) ⊥−,T−,F−are co-r.e. β-closed subsets of Λo. (ii) T−∩ F−6= ∅.

(17)

logo Some results

Proof sketches

If M is an effective λ-model... Theorem 1.

Ord (M) is non r.e.

Proof. If Ord (M) is r.e., then M−is r.e. β-closed and

non-empty. Hence, Rem. 2 implies F−=T−= Λo. Contrad.

Rem. 1! Theorem 2. Eq(M) 6= λβ, λβη.

Proof. Follows from Rem 2(ii) and Selinger’s result, since N ∈ T−∩ F−implies M |= N ( T .

(18)

logo Some results

Proof sketches

If M is an effective λ-model... Theorem 3.

If ⊥−6= ∅ then Eq(M) is non r.e.,

Proof. ⊥−( Λo is a β-closed, co-r.e. set by Rem. 2(i).

Moreover ⊥−is just 1 equivalence class! Hence Eq(M) cannot

be r.e. Theorem 4.

M stable or strongly stable implies Eq(M) non r.e.

Proof. Follows from Thm. 3 since in the stable and strongly stable semantics T−∩ F−= ⊥6= ∅ (nearly true).

(19)

logo

Outline

1 The problem

λ-calculus models and theories The conjecture(s)

2 Methodology

3 Effective models of λ-calculus

Effective and weakly λ-models

Can an effective λ-model have an r.e. theory? Some results

4 Graph models

Definition

Effective graph models Can a graph theory be r.e.?

(20)

logo Definition

Graph models (Scott-continuous semantics)

Kernel of the definition. A graph model is generated by a

“web” (D, i), where:

D is an infinite set,

i : Pf(D) × D → D is a total injection. The underlying reflexive cpo is (P(D), ⊆).

Furthermore: there is a “free completion” process for

generating a web (and hence a graph model) from a partial pair (A, j). Ex: Engeler, Pω,. . .

L ¨owenheim Skolem for graph models

For all graph models G there exists G0 with countable web such that Eq(G) = Eq(G0)(and Ord (G) = Ord (G0)).

(21)

logo Effective graph models

Effective graph models

G graph model with web (N, i). Effective domain: D = (P(N), ⊆), computable elements: r.e. subsets, decidable elements: decidable subsets. M = ((P(D), ⊆), A, λ),

λ,A : [P(D) → P(D)] C P(D) are defined by: λ(f ) ≡ {i(d , α) : d ∈ Pf(D) and α ∈ f (d )},

(22)

logo Effective graph models

Effective graph models

Proposition

(i) If i is computable and dom(i) is decidable, then G is weakly effective.

(ii) If furthermore range(i) is decidable, then G is effective. Examples: All free completions of finite partial pairs. Similar for all classes of webbed models

K-models (Krivine) ⊃ Scott’s and Park’s models are effective. F-ilter models (Coppo-Dezani-Honsell-Longo-Barendregt), G-models (Girard’s reflexive coherent spaces),

(23)

logo Can a graph theory be r.e.?

Can a graph theory be r.e.?

Theorem 1

There is a minimal equational/order graph theory, which happens to be the theory of a (non unique) effective model G. Theorem 2

If G is a graph model then Ord (G) is not r.e. Theorem 3

If G is an effective graph model generated by a partial pair finite modulo its group of automorphisms, then Eq(G) is not r.e. Corollary

No graph model generated by a finite partial pair can have an r.e. theory.

(24)

logo

Conclusions

The weaker conjecture for order theories is:

1 Proved for all graph models, 2 Proved for all effective models.

Concerning effective models the conjecture is:

1 Proved for the stable and strongly stable semantics. 2 Open for the continous semantics,

3 Even for the restricted case of graph models.

4 But our results cover all the models individually introduced in the literature.

Concerning graph models the conjecture is: Proved for large families of effective graph models.

(25)

logo

Conclusions

The weaker conjecture for order theories is:

1 Proved for all graph models, 2 Proved for all effective models.

Concerning effective models the conjecture is:

1 Proved for the stable and strongly stable semantics. 2 Open for the continous semantics,

3 Even for the restricted case of graph models.

4 But our results cover all the models individually introduced in the literature.

Concerning graph models the conjecture is: Proved for large families of effective graph models.

(26)

logo

Conclusions

The weaker conjecture for order theories is:

1 Proved for all graph models, 2 Proved for all effective models.

Concerning effective models the conjecture is:

1 Proved for the stable and strongly stable semantics. 2 Open for the continous semantics,

3 Even for the restricted case of graph models.

4 But our results cover all the models individually introduced in the literature.

Concerning graph models the conjecture is: Proved for large families of effective graph models.

Références

Documents relatifs

Keywords: Systems biology, Metabolic network modeling, Parameter estimation, Structural and practical identifiability, Principal Component Analysis, Singular Value

_ The actual compressive strength ot a concrete block wall under axial vertical loads and supported at vertically spaced intervili (Figure 2) depends also on its

Lastly, we propose an alternative to the method of Section 3 for computing the square root of a matrix in polynomial time for any field of characteristic p ≥ 2.. The square root as

To our knowledge, this study demonstrates for the first time that the use of an injectable bone substitute, composed of a calcium phosphate ceramic and a polymeric carrier,

In a researcher and laboratory network context, where the B-level network contains advice seeking ties among the researchers, the A-level network is defined based on the collabo-

Les vidéos de l’expérience corroborent ces différences de ressenti avec une majorité de sujets en mouvement qui vont jouer avec leur avatar et d’autres qui vont très

We have presented a novel approach to learn a relative error model for a monocular SLAM algorithm, using mostly topological information from the weighted covisibility graph through

The use of a theory plug-in eliminates the need for helper variables to implement the query-optimal algorithm, and generally enables more efficient control-flow exploration; in