• Aucun résultat trouvé

A closer look at the completeness of first order intuitionistic logic w.r.t. (pre)sheaves of classical models

N/A
N/A
Protected

Academic year: 2022

Partager "A closer look at the completeness of first order intuitionistic logic w.r.t. (pre)sheaves of classical models"

Copied!
33
0
0

Texte intégral

(1)

A closer look at the

completeness of first order intuitionistic logic w.r.t. (pre)sheaves of classical models

Christian Retor ´e (LIRMM, Universit ´e de Montpellier) with Jacques van de Wiele (Paris) 1987,

Ivano CIardelli (M ¨unchen) 2010-2011, David Th ´eret (Montpellier) 2016-2019,

...

GDR IM — GT LHC & SCALP ENS Lyon 18 oct. 2019

(2)

Remarks

Motivation: natural language semantics, models of FO S4.

A beautiful subject — but not my main research area.

Quite difficult to know what has exactly been achieved on this question.

The presentation of Kripke-Joyal forcing and counter exam- ple is from a lecture by Jacques Van de Wiele in 1987.

Special dedication to Laurent Regnier who attended as well.

The direct completeness proof is essentially due to Ivano Ciardelli (in TACL 2011 cf. reference at the end).

It has been re-worked and extended with David Th ´eret since 2016.

Thanks to Alexis Saurin for suggesting a talk at this meeting.

Thanks to the Topos & Logic group (Abdelkader Gouaich, Jean Malgoire, Nicolas Saby, David Theret) of the Institut Montpelli ´erain Alexander Grothendieck

(3)

A Logic?

formulas

proofs ! interpretations

(4)

A.1. Formulas, proofs and models

Formulas of a given first-order logical language, sayL can be true (or not) in a givenL- structure.

An L- structure is simply a set M with an interpretation of constants inM and interpretation ofn-ary predicates asn-ary relations on M, n-ary functions symbols as n-ary functions fromMn toM etc.

Soundness: what is provable is true in anyL-structure.

Completeness: what is true in everyL-structure is provable.

(5)

A.2. Morphisms of L -structures

LetMu andMv be twoL structures over the same language

— interpretation in u or in v of function symbols (e.g. ϑ) and predicates (e.g. R) are denoted with a subscriptu or v (e.g. Ru ϑu: interpretations inMu and Rv ϑv: interpretations inMv).

A map ρuv from |Mu| to |Mv| is said to be a morphism of L-structures when:

• For anyk-ary functionϑ symbol ofL:

∀c1, ...,ck∈ |Mu|

ρuvu(c1, ...,ck)) =ϑvuv(c1), ...,ρuv(ck))

• For anyn-ary predicateR ofL:

∀c1, ...,cn∈ |Mu|

if(c1, ...,cn)∈Ru then(ρuv(c1), ...,ρuv(ck))∈Rv

(6)

A.3. Presheaf semantics: models

Apresheaf modelMforL is a presheaf of first-orderL−structures over a Grothendieck site(C,)(or a topological space viewed

as a poset for inclusion):

• for any objectu anL structureMu

• for any arrow f :v ,→u a morphism (cf. supra) of L structuresM(f):Mu →Mv

satisfying the following extra conditions.

SeparatenessFor any elementsa,bofMu,

ifthere is a coveru{fi :ui ,→u|i ∈I}such that for alli∈I we haveM(fi)(a) =M(fi)(b),

thena=b.

Local character of atomsFor anyn−ary relation symbolR, for any tuple(a1, ... ,an)fromMu

if there is a cover u{fi :ui ,→u|i ∈I} such that ∀i ∈I one has(M(fi)(a1), ... ,M(fi)(an))∈Rui,

then(a1, ... ,an)∈Ru.

(7)

A.4. Presheaf semantics: Kripke-Joyal forc- ing — 1/4 assignments

Given a presheaf modelM, and some openu, we inductively define for any formulaF ofL the relation uF (”meaning”:

F is true atu).

Assignment A usual, in order to define uF, we need an assignmentν inMu the free variables ofF, and this is written uνF withν= [z17→c1;· · ·;zp7→cp]where thezi are the free variables inF andci ∈ |Mu|.

As we shall see, u ν F can be defined from v ν0 F0 with f :v ,→ u and with F0 having free variables among those of F (plus possibly one free variable in the ∃ and ∀ cases, but its assignment will be defined when dealing with quanti- fiers). If ν = [z17→c1;· · ·;zp 7→cp] we naturally define ν0 by ν0= [z17→M(f)(c1);· · ·;zp7→M(f)(cp)]whereM(f)is the re- strictionM(f):|Mu| → |Mv|.

(8)

A.5. Presheaf semantics: Kripke-Joyal forc- ing — 2/4 atoms and conjunction

• uν R(t1, ... ,tn)iff([t1]ν, ... ,[tn]ν)∈Ru.

• uν t1=t2iff [t1]ν = [t2]ν.

• u ν ⊥ iff u = /0 It is so, because the empty covering is a covering (with 0 open) of the empty open. Hence, because of the locality condition on atoms, the empty open forces all atomic formulas including⊥.

• uν ϕ∧ψ iffuν ϕ anduν ψ.

(9)

A.6. Presheaf semantics: Kripke-Joyal forc- ing — 3/4 disjunction and existential

• u ν ϕ∨ψ iff there exists a covering family {fi :ui ,→ u|i ∈I} such that for any i ∈I we have ui νi ϕ or ui νi ψ.

Alternatively,uνϕ∨ψ there exist two opensu1,u2with u1∪u2=u ui ϕ andu2ψ.

• uν ∃xϕ iff there exists a covering family{fi :ui ,→u|i∈ I}and elementsai∈ |Mui|fori∈I such thatui νi∪[x7→ai]

ϕ for any index i.

(10)

A.7. Presheaf semantics: Kripke-Joyal forc- ing — 4/4 implication and universal

• uν ϕ→ψ iff for allf :v ,→u, ifv νv ϕ thenv νv ψ.

• uν ¬ϕ iff for allf :v ,→u, withv 6= /0, v 6νv ϕ. This is obtain from /0⊥and→cases because¬ϕ=ϕ→ ⊥.

• uν ∀xϕiff for allf :v ,→u and alla∈Mv,vνv∪[x7→a]ϕ.

(11)

A.8. Validity

A formula F is said to be valid in a topological model in a presheaf model over a topological space(X,O(X))or a pre- topology whenever

X F

i.e. F is true at the global section.

(12)

B An example

(13)

B.1. Language

Let us consider the language of ring theory:

• two constants 0,1

• two binary functions+,·

• equality as the only predicate

(14)

B.2. The (pre)sheaf of L -structures

A presheaf model over the topological space R for this lan- guage is defined by|Mu|=C(u,R) the continuous functions fromutoRwith0u(x) =0and1u(x) =1for allx ∈u+u point- wise addition (f +ug)(x) =f(x) +g(x),·u pointwise multipli- cation(f ·ug)(x) =f(x)·g(x).

The restriction ρuv :|Mu| → |Mv| morphism, whenv ,→u is defined by: ∀f ∈C(u,R)∀x ∈v ρuv(f)(x) =f(x).

ρuv is a morphism, because:

• ρuv(0u) =0v,

• ρu

v(1u) =1v

• (”=” is the only predicate) ∀f,g ∈ |Mu|=C(u,R)if f =g inC(u,R)thenρu

v(f) =ρu

v(g)inC(v,R).

(15)

B.3. Locality and separateness conditions

Locality condition for atoms:

”=” is the only predicate so we just have to check that, given two elementsa andbofMu

ifthere is a coveru{fi :ui ,→u|i ∈I}such that∀i∈I we have(ρu

ui(a)) =ρu

ui(b))in|Mui|,

then a=b in |Mu|. This is true, because two functions that are equal on each open of a covering ofu are equal onu.

Separateness is exactly the locality condition for our unique predicate, i.e. the ”=” predicate, which is interpreted as ”=”.

Remark: This presheaf is a sheaf: given a coverui ofRand a family fi ∈ C(ui,R) such that any two fj and fk agree on uj=uk for allj,k there exists a uniquef inC(R,R)such that f

ui =fi.

(16)

B.4. A remark on C (U , R ) 1/3

Given any non empty open subsetU ⊂Rthere exist - an open subsetV =]a,b[⊂U

- and a continuous function`:V 7→R such thatV 6[x7→`](x=0)∨ ¬(x =0)with`:

`: ]a,b[ 7→ R

x 7→ 0 ifx 6(a+b)/2 x 7→ x−(a+b)/2 ifx >(a+b/2)

(17)

B.5. A remark on C (U , R ) 2/3

]a,b[6[x7→`](x=0∨ ¬(x =0)).

We proceed by contradiction (the meta logic is classical).

Let us assume that]a,b[[x7→`](x =0∨ ¬(x =0)).

Then there exists open setsu1,u2st. u1∪u2=]a,b[, such that:

• u1[x7→`u1]x =0i.e. ∀x1∈u1 `(x1) =0

• u2[x7→`u2]¬(x=0)i.e. ∀v2⊂u2,v26= /0 v26[x7→`u2]`=0 i.e. ` never is constantly 0 on a (non empty) sub open v2 ofu2.

(18)

B.6. A remark on C (U , R ) 2/3

This is impossible because(a+b)/2must be inu1 or inu2.

• If(a+b)/2∈u1then`should be constantly0on a neigh- bourhood of (a+b)/2, but it is false on the right side of (a+b)/2.

• If (a+b)/2∈u2 then` should never be constantly0 on any sub open of u2 but if (a+b)/2∈u2 there are sub opens inu2 on the left side of (a+b)/2 where` is con- stantly0.

(19)

B.7. A classically valid but intuitionistically non valid formula

C(R,R)validates¬∀x (x=0)∨ ¬(x =0)(*).

Indeed, according to Kripke-JoyalR¬∀x (x=0)∨ ¬(x=0) means that for every non empty open u ⊂R, u 6∀x (x = 0)∨ ¬(x=0).

Butu∀x (x=0)∨ ¬(x=0)means that for every openv ⊂u and for everyf ∈C(v,R)v [x7→f](x =0)∨ ¬(x =0).

We precisely established supra (with`) thatu6∀x (x =0)∨ ¬(x =0).

ButC(R,R)validates∀x ¬¬((x =0)∨ ¬(x=0))(**)

— because` ¬¬(C∨ ¬C)is provable for allC.

However in classical logic (*) is the negation of (**) !!!

(20)

C Completeness

(21)

C.1. Statements

Soundness:F intuitionistically provable⇒F true at any open of any topological interpretation.

Completeness: F true at a global section any topological in- terpretation⇒F intuitionistically provable.

Two lemmas:

• (functoriality) ifF[c1, ...,cn]true atU

thenF[c1V, ...,cnV]true at any openV ⊂U.

• (locality) The locality condition for atomic formula (cf.

above) extends to any formula: if (ui) covers u, for all i uxk7→cui

k F thenuxk7→c F.

(22)

C.2. Proof of soundness

Induction on the proof height, looking at every possible last rule, e.g. in natural deduction. Below: ∨e case.

Θ`(A∨B) A, Γ`C B, ∆`C

e

Θ, Γ, ∆`C

We have to show thatUΘ, Γ, ∆thenU C.

If U Θ by induction hypothesis, U A∨B. Hence, there exists a covering(Ui)such that for everyi Ui AorUi B.

If Ui A, because U Γ we have Ui Γ (functor property), and by induction hypothesis (proof ofA, Γ`C)Ui C. Similarly, ifUi B, thenUi C.

So for alli Ui C and by locality lemmaUC.

(23)

C.3. Canonical model construction:

the underlying site

For a direct proof, we consider this particular ”syntactic” sheaf model.

Canonical site:

Category: we take the Lindenbaum-Tarski algebraL Objects: classes of provably equivalent formulasϕ.

Arrows: ϕ≤ψ ⇐⇒ ϕ`ψ

Grothendieck topology: ϕ{ψi}i∈I whenever

∀χ

ϕ`χ iff (∀i ∈I ψi `χ)

Think of the last line asϕ=Wiψi

(incorrect, because FOL formulae are finite!)

(24)

C.4. Properties of this site

The proposed site is actually a site i.e. it enjoys the three properties.

1. ϕ{ϕ};

2. ifψ `ϕ andϕ{ϕi|i ∈I}thenψ{ψ∧ϕi|i ∈I};

3. ifϕ{ϕi|i ∈I}

and if for eachi ∈I,ϕii,k|k∈Ki}, thenϕ{ψi,k|i∈I,k∈Ki}.

(25)

C.5. Canonical model construction: the presheaf

• Putt ≡ϕ t0 in caseϕ `t=t0.

• Denote by tϕ the equivalence class oft modulo≡ϕ.

Canonical presheaf:

• ModelMϕ:

1. Universe|Mϕ|:

set of equivalence classestϕ of closed terms;

2. Function symbols: fϕ(~tϕ) =f(~t)ϕ;

3. Relation symbols:~tϕ ∈Rϕ ⇐⇒ ϕ `R(~t).

• Restriction. Iftψ ∈Mψ andϕ≤ψ, puttψϕ=tϕ.

(26)

C.6. The canonical presheaf is well defined

The canonical presheaf is separated. If two elements have the same restrictions on each part of a cover, then they are equal.

The interpretation of atomic formulas is local. If an atomic formula holds on each part of a cover ofU then it holds on U.

(Ivano Ciardelli claims that the glueing of compatible ele- ments may not exists, i disagree, I think the canonical (sep- arated) presheaf is actually a sheaf).

(27)

C.7. Method for the proof of completeness

∀ψ

∀ϕ [if ϕψ then ϕ `ψ] or without much additional effort

∀ψ

∀ϕ[ϕ ψ iff ϕ`ψ] By induction on the formulaψ.

What is fun is thatsoundnessmainly usesintroductionrules whilecompletenessmainly useseliminationrules.

The method and the construction can be parametrised by a contextΓfor obtaining what is calledstrong completeness: if in every interpretationuΓentails uX for any openuthen (iff)Γ`X.

The quotient on formulas is not really needed.

Having equality is not mandatory but pleasant.

(28)

C.8. Sketch of completeness proof

Truth Lemma 1. For any formula ϕ and sentenceψ, ϕψ ⇐⇒ ϕ`ψ

Proof By induction on ψ. The two directions of each induc- tive step amount to the introduction and elimination rules for the given logical constant.

Let us look at the case of the existential quantifier.

(29)

C.9. Completenessdirection

• Supposeϕ∃xψ(x).

• There is a family {ϕi|i ∈ I} and elements tiϕi ∈Mϕi such thatϕi `[x7→tϕi

i ]ψ(x)for alli ∈I.

• Since[t] =tϕi for closed t atϕi, this isϕi ψ(ti).

• By induction hypothesis amounts toϕi `ψ(ti).

• By rule(∃i), for anyi ∈I we haveϕi ` ∃xψ(x).

• Since ϕ{ϕi|,i ∈I}, by the meaning of we have ϕ` ∃xψ(x).

(30)

C.10. Completenessdirection

• Supposeϕ` ∃xψ(x).

• We must provide a covering ofϕ and local witnesses.

• For any constantc, defineϕc =ϕ∧ψ(c).

• Sinceϕc `ψ(c), by induction hypothesisϕc ψ(c).

• Since [c] =cϕc atϕc, also ϕc `[x7→cϕc]ψ(x), i.e. the ele- mentcϕc is a witness for the existential atϕc.

• It remains to be seen thatϕ{ϕc|c a constant}.

(31)

C.11. Completenessdirection ⇐, continued

• Suppose ξ is derivable from ϕ∧ψ(c) for any constant c.

• Letc be a constant that occurs neither inϕ nor inξ.

• In particular, ϕ∧ψ(c)`ξ, that is, ϕ,ψ(c)`ξ.

• But sincecoccurs neither inϕ nor inξ, by the rule(∃e) we have ϕ,∃xψ(x)`ξ.

• Thus by the assumptionϕ` ∃xψ(x)we also haveϕ`ξ.

• This shows thatϕ{ϕc|c a constant}.

• Hence we concludeϕ ∃xψ(x).

(32)

C.12. State of the art: hard to tell

Before 1995 : survey by Makkay and Reyes in 1995.

After 1995, other work in particular by Awodey.

Direct completeness via canonical presheaf: Ivano Ciardelli.

A Canonical Model for Presheaf Semantics. Talk at Topology, Algebra and Categories in Logic (TACL) 2011, Jul 2011, Mar-

seille, France. 2011.HAL Id: inria-00618862 https://hal.inria.fr/inria- 00618862

Ongoing work with David Th ´eret in Montpellier.

(33)

C.13. Future work

Connection toΩsets of Dana Scott (roughly speaking, if i un- derstand properly: one classical model, but the truth value of P(a) varies in a Heyting algebra, like Boolean valued mod- els) ?

Can we construct a canonical sheaf and not just separated presheaf e.g. with the sheaf completion method that basi- cally simply formally adds the missing global sections? Or by imposing some additional locality condition on terms and equality?

(Pre)sheaves are particular kinds of Kripke models, conversely can any Kripke model be viewed as a pre(sheaf) with the or- der topology?

Is it possible to do so with a standard topology (instead of a pretopology / Grothendieck topology)?

Does it applies to first order S4?

Thank you for your attention.

Références

Documents relatifs

Continuous first-order logic was developed in [BU] as an extension of classical first- order logic, permitting one to broaden the aforementioned classical analysis of algebraic

• Meeting with the community to present the field results, analyze the effects at community level and determine the rates of adoption of the technologies. • An example of

After the rating of each characteristic, the experts conduct the overall perceived rating of the requirement between 1 (very bad) and 5 (very good) including

Abstract—We show an effective cut-free variant of Glivenko’s theorem extended to formulas with weak quantifiers (those without eigenvariable conditions): “There is an

The main two results of this note are the following. 133) that the schema RED mentioned above in the abstract implies that the species of intuitionistically

Figure 1 highlights the general effects of the breakdown of the RWA due to a strong counter-rotating B field: the trajectory undergoes cycloid motion and a perfect π-pulse cannot

Hélène Martin-Yken, Cécile Formosa, Marion Schiavone, Jean Marie François, Etienne Dague.. To cite

The way in which both renewable (e.g. wood) and non-renewable (e.g. stone, minerals, metal, clay) resources were exploited is an important determinant for the functioning