• Aucun résultat trouvé

LOGICS Exercises on Chapter 2: Sequent Calculus

N/A
N/A
Protected

Academic year: 2022

Partager "LOGICS Exercises on Chapter 2: Sequent Calculus"

Copied!
2
0
0

Texte intégral

(1)

Bordeaux university

Master Computer Science, 2015/2016

LOGICS

Exercises on Chapter 2: Sequent Calculus

Symmetries in the system LK Exercice 1.1 Reversibility An inference rule SS1

2 in a formal system S is called reversible iff SS2

1 is a derived rule of the systemS. Which rules of system LK are reversible ?

Exercice 1.2 Duality

Let us add a connector ⊤ to the language of system LK i.e. the set of connectors is now {⊥,∧,∨,→,¬}, the set of quantifiers is {∀,∃} , we have a denumerable set of relation sym- bolsRand a denumerable set of fonction symbolsF.

To every well-formed formulaF, we associate adual formula D(F) by structural induction:

D(⊥) :=⊤, D(⊤) :=⊥

D(R(t1, . . . , tk)) := R(t1, . . . , tk) pour toutR∈ R D(F ∧G) := D(F)∨D(G), D(F ∨G) := D(F)∧D(G)

D(F →G) :=¬(D(G) →D(F)), D(¬F) :=¬D(F) D(∀xF) :=∃xD(F), D(∃xF) :=∀xD(F)

1- Show that, for every formula F, with atomic subformulas A1, . . . , An, the following equiv- alence holds:

F(¬A1, . . . ,¬An)|==| ¬D(F)(A1, . . . , An).

We extend the map F 7→D(F) to sequents by:

D(F1, . . . , Fn|−−G1. . . , Gm) := D(G1), . . . ,D(Gm)|−−D(F1), . . . ,D(Fn).

2- Show that, if for every structure T we have:

T |== S1 implies T |== S2 then, for every structure T we also have:

T |== D(S1) impliesT |== D(S2).

3- What are the rules of LK, SS1

2 (whereS1, S2 are sequents) such that D(SD(S1)

2) is still a rule of LK?

4- Could you manage to add a rule to LK in such a way that it takes into account the extension to connector⊤? We would like that the sequent |−−(¬⊥ → ⊤)∧(⊤ → ¬⊥) be derivable in this extension of LK and we would like to keep (or even improve) the symmetries of system LK.

(2)

Examples of derivations Exercice 1.3 Propositional LK Find a derivation in LK for the sequents:

|−−A→(B →A)

|−−(A→(B →C))→((A→B)→(A→C))

|−−((P →Q)→P)→P Exercice 1.4 LK

Find a derivation in LK for the sequents:

¬∃xR(x)|−− ∀x¬R(x)

¬∀xR(x)|−− ∃x¬R(x)

|−− ∀x(Q∨R(x))→Q∨ ∀xR(x)

|−− ∃x∀y(R(y)→R(x))

Exercice 1.5 Propositional LJ Find a derivation in LJ for the sequents:

¬(A∨B)|−− ¬A∧ ¬B

¬A∧ ¬B|−− ¬(A∨B) A|−− ¬¬A

¬¬¬A|−− ¬A Exercice 1.6 LJ

1- What do you think about the following “derivation”?

R(x)|−−R(x) ax

∃xR(x)|−−R(x) ∃g

¬R(x),∃xR(x)|−− ¬g

∀x¬R(x),∃xR(x)|−− ∀g

∀x¬R(x)|−− ¬∃xR(x) ¬d

2- Does the sequent ∀x¬R(x)|−− ¬∃xR(x) admit a derivation in LJ ?

Properties of derivations Exercice 1.7 Right-elimination

Let us consider the following right-elimination rule:

Γ|−−A∧B Γ|−−A

(where Γis a multi-set of formulas and A, B are formulas).

1- Is this rule a derived rule of LK ?

2- Is this rule a derived rule of LK\ {cut}? Exercice 1.8 Contractions

Let us consider the sequent S:=∃x(R(a)∨R(b)→R(x)).

1- Find a derivation ofS in LK.

2- Find a cut-free derivation ofS in LK.

3- Prove that there does not exist any derivation, without neither cut nor contraction, of S in LK.

4- Does there exist some derivation, without contraction, of S in LK ?

2

Références

Documents relatifs

Compute the arithmetic complexity (in terms of number of multiplications as a function of n) of the algorithm obtained by using this method (suppose first that n is a power of 3)

2 This naive algorithm can be improved and it is possible to obtain a word complexity in O(n) (A. Weilert 2000) using a divide and conquer approach... Show how to find such a

A short (160p.) book addressing all the concerns of this course, and more (especially Linear Logic). Easy and pleasant

the structural rules Single Sided Sequents can be forced to be ` Γ.. Half the number of rules

[r]

Conclude to the existence and uniqueness of a global (in time) variational solution to the nonlinear McKean-Vlasov equation.

Establish that if f ∈ X T (with the usual definition) is a nonnegative variational solution to the nonlinear McKean- Vlasov equation then it is mass conserving and it satsifies

in a lass with 25 students, 15 play musi, 8 play hess and 3 play both musi