51
Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion Some Undecidable Fragments of First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1 / 39

Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Some Undecidable Fragments ofFirst-Order Modal Logic

Mo Liu

Department of Philosophy, PKU

June 5th, 2018

1 / 39

Page 2: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

1 Historical Review

2 Preliminaries

3 Monadic Fragment

4 Two-variable Fragment

5 Conclusion

2 / 39

Page 3: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

The Decision Problem

“Entscheidungsproblem”, Hilbert and Ackermann 1928.“The decision problem is solved when we know a procedurethat allows, for any given logical expression, to decide byfinitely many operations its validity or satisfiability.. . . Thedecision problem must be considered the main problem ofmathematical logic.”

To devise a process (find an algorithm) that solves thesatisfiability problem for first-order logic. (Sat(FO)).

3 / 39

Page 4: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decistion Problem

To devise a process (Algorithm): Effective Calculability,Computability

Partial recursive function, Turing computable function,λ-calculus and so on...

Negative answer to Entscheidungsproblem.

Church, 1936Turing, 1937

Church−Turing Thesis

4 / 39

Page 5: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

The Decision Problem Afterwards

Which fragments of FO are decidable and which are undecidable?

Classes defined by models.

Prefix-Vocabulary Classes

[Π, (p1, p2, · · · ), (f1, f2, · · · )](=)

Fragments with only a bounded number of variables.

FO =∞⋃k=1

FOk

5 / 39

Page 6: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

The Decision Problem Afterwards

Which fragments of FO are decidable and which are undecidable?

Classes defined by models.

Prefix-Vocabulary Classes

[Π, (p1, p2, · · · ), (f1, f2, · · · )](=)

Fragments with only a bounded number of variables.

FO =∞⋃k=1

FOk

5 / 39

Page 7: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

The Decision Problem Afterwards

Which fragments of FO are decidable and which are undecidable?

Classes defined by models.

Prefix-Vocabulary Classes

[Π, (p1, p2, · · · ), (f1, f2, · · · )](=)

Fragments with only a bounded number of variables.

FO =∞⋃k=1

FOk

5 / 39

Page 8: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

The Decision Problem Afterwards

Which fragments of FO are decidable and which are undecidable?

Classes defined by models.

Prefix-Vocabulary Classes

[Π, (p1, p2, · · · ), (f1, f2, · · · )](=)

Fragments with only a bounded number of variables.

FO =∞⋃k=1

FOk

5 / 39

Page 9: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

1 Historical Review

2 Preliminaries

3 Monadic Fragment

4 Two-variable Fragment

5 Conclusion

6 / 39

Page 10: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Turing Computable Function

Turing machine

Turing computable function

Undecidable problems, e.g. the Halting Problem.

7 / 39

Page 11: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Reduction

A reduction is an algorithm for transforming problem A intoproblem B. This reduction may be used to show that B is atleast as difficult as A.

To show that a decision problem P is undecidable we mustfind a reduction from a decision problem which is alreadyknown to be undecidable. That reduction function must be acomputable function.

8 / 39

Page 12: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Reduction

A reduction is an algorithm for transforming problem A intoproblem B. This reduction may be used to show that B is atleast as difficult as A.

To show that a decision problem P is undecidable we mustfind a reduction from a decision problem which is alreadyknown to be undecidable. That reduction function must be acomputable function.

8 / 39

Page 13: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of FOL, Turing 1937

“Corresponding to each computing machine M we construct aformula Un(M) and we show that, if there is a general method fordetermining whether Un(M) is provable, then there is a generalmethod for determining whether M ever prints 0.”

Turing [1937], pp.259

9 / 39

Page 14: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Finite Model Property

In many cases, the decidability of the satisfiability problem for aformula class has been proved by showing that the given class Λhas the finite model property.

Definition (Finite Model Property)

A class of formulas Λ has the finite model property, if everysatisfiable formula ϕ in the class Λ also has a finite model.

.

10 / 39

Page 15: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Finite Model Property

Up to isomorphism, the finite structures of a given finitelanguage are recursively enumerable.

The property that a given finite structure is a model of agiven FO-sentence is decidable.

It follows that the satisfiability problem of every formula classwith the finite model property is decidable.

11 / 39

Page 16: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Some Notions

We fix a FO-language containing infinitely many predicatesymbols of any arity, but no function nor constant symbols.

Given a proposional modal logic S, we use QS to denote thecorresponding FOML logic.

A Kripke skeleton (W ,R,D) is said to be countably large iff1 D is constant and countable.2 For some w ∈W , the set of possible worlds w+ = {v | Rwv}

is infinite.

A k-type t(x1, · · · , xk) is a maximal consistent set of atomicand negated atomic formulas (including equalities). We oftenview a type as a quantifier-free formula that is the conjunctionof its elements.

12 / 39

Page 17: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

1 Historical Review

2 Preliminaries

3 Monadic Fragment

4 Two-variable Fragment

5 Conclusion

13 / 39

Page 18: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of Monadic Fragment of FOL

Lemma

Let ψ be a monadic FOL formula, possibly with equality. Supposethere are q variables and m predicates in ψ. If ψ is satisfiable, thenit has a model of cardinality at most q · 2m.

Proof.

Let A = (A,PA1 , · · · ,PA

m) � ψ. We define f : A→ {0, 1}m:

f (a) = 〈c1, · · · , cm〉

where ci = 1 iff a ∈ PAi .

For every c ∈ {0, 1}m, let Ac = {a ∈ A | f (a) = c}. Then wechoose a set Bc ⊆ Ac such that Bc = Ac if |Ac | ≤ q and |Bc | = qif |Ac | > q.

Let B =⋃

c∈{0,1}m Bc and B = A|B . Obviously,|B| ≤ q · 2m and B � ψ (by an EF-game Gq(A,B)).

14 / 39

Page 19: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of Monadic Fragment of FOL

Lemma

Let ψ be a monadic FOL formula, possibly with equality. Supposethere are q variables and m predicates in ψ. If ψ is satisfiable, thenit has a model of cardinality at most q · 2m.

Proof.

Let A = (A,PA1 , · · · ,PA

m) � ψ. We define f : A→ {0, 1}m:

f (a) = 〈c1, · · · , cm〉

where ci = 1 iff a ∈ PAi .

For every c ∈ {0, 1}m, let Ac = {a ∈ A | f (a) = c}. Then wechoose a set Bc ⊆ Ac such that Bc = Ac if |Ac | ≤ q and |Bc | = qif |Ac | > q. Let B =

⋃c∈{0,1}m Bc and B = A|B . Obviously,

|B| ≤ q · 2m and B � ψ (by an EF-game Gq(A,B)).

14 / 39

Page 20: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of Monadic fragment of FOL

Corollary (Lowenheim, 1915)

The satisfiability problem for monadic FOL formulas is decidable.

Proof.

By the above lemma, the monadic fragment of FOL has finitemodel property. Therefore it’s satisfiable problem is decidable.

15 / 39

Page 21: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Monadic Fragment of FOML

Theorem (Kripke, 1962)

Let Σ be a set of monadic FOML sentences such that Σ containsall substitution instances of classically valid formulas of FO andQS is valid on a countably large skeleton (W ,R,D). If Σ ⊆ QS,then Σ is undecidable.

Proof.

Reduce the decision problem for classically valid dyadic formulasto the decision problem for Σ. As we know, the validity of dyadicfragment is undecidable. For a dyadic formula ψ, let ψt be theformula obtained from ψ by replacing the atomic subformulas Sxyby 3(Px ∧ Qy).

We show that ψ is valid iff ψt ∈ Σ.If ψ is valid, then ψt ∈ Σ by definition.

16 / 39

Page 22: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Monadic Fragment of FOML

Theorem (Kripke, 1962)

Let Σ be a set of monadic FOML sentences such that Σ containsall substitution instances of classically valid formulas of FO andQS is valid on a countably large skeleton (W ,R,D). If Σ ⊆ QS,then Σ is undecidable.

Proof.

Reduce the decision problem for classically valid dyadic formulasto the decision problem for Σ. As we know, the validity of dyadicfragment is undecidable. For a dyadic formula ψ, let ψt be theformula obtained from ψ by replacing the atomic subformulas Sxyby 3(Px ∧ Qy).We show that ψ is valid iff ψt ∈ Σ.

If ψ is valid, then ψt ∈ Σ by definition.

16 / 39

Page 23: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Monadic Fragment of FOML

Theorem (Kripke, 1962)

Let Σ be a set of monadic FOML sentences such that Σ containsall substitution instances of classically valid formulas of FO andQS is valid on a countably large skeleton (W ,R,D). If Σ ⊆ QS,then Σ is undecidable.

Proof.

Reduce the decision problem for classically valid dyadic formulasto the decision problem for Σ. As we know, the validity of dyadicfragment is undecidable. For a dyadic formula ψ, let ψt be theformula obtained from ψ by replacing the atomic subformulas Sxyby 3(Px ∧ Qy).We show that ψ is valid iff ψt ∈ Σ.If ψ is valid, then ψt ∈ Σ by definition.

16 / 39

Page 24: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Monadic Fragment of FOML

cont’d

If ψ is not valid, then by Lowenheim-Skelom theorem, there is acountable FO structure A = (A, I ) such that A 2 ψ.

We define a countable FOML model M = (W ,R,D, {Vw}w∈W )where D = A. Let w ∈W be a point such thatw+ = {v ∈W | Rwv} is infinite and let ρ : w+ → D be asurjection.If v /∈ w+, let Vv (P) = Vv (Q) = ∅. If v ∈ w+, letVv (P) = {ρ(v)} and Vv (Q) = {b ∈ D | 〈ρ(v), b〉 ∈ SA}.By induction it’s not hard to show that for every dyadic formulaψ(x), M,w � ψt(a) iff A � ψ(a).

17 / 39

Page 25: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Monadic Fragment of FOML

cont’d

If ψ is not valid, then by Lowenheim-Skelom theorem, there is acountable FO structure A = (A, I ) such that A 2 ψ.We define a countable FOML model M = (W ,R,D, {Vw}w∈W )where D = A. Let w ∈W be a point such thatw+ = {v ∈W | Rwv} is infinite and let ρ : w+ → D be asurjection.

If v /∈ w+, let Vv (P) = Vv (Q) = ∅. If v ∈ w+, letVv (P) = {ρ(v)} and Vv (Q) = {b ∈ D | 〈ρ(v), b〉 ∈ SA}.By induction it’s not hard to show that for every dyadic formulaψ(x), M,w � ψt(a) iff A � ψ(a).

17 / 39

Page 26: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Monadic Fragment of FOML

cont’d

If ψ is not valid, then by Lowenheim-Skelom theorem, there is acountable FO structure A = (A, I ) such that A 2 ψ.We define a countable FOML model M = (W ,R,D, {Vw}w∈W )where D = A. Let w ∈W be a point such thatw+ = {v ∈W | Rwv} is infinite and let ρ : w+ → D be asurjection.If v /∈ w+, let Vv (P) = Vv (Q) = ∅. If v ∈ w+, letVv (P) = {ρ(v)} and Vv (Q) = {b ∈ D | 〈ρ(v), b〉 ∈ SA}.By induction it’s not hard to show that for every dyadic formulaψ(x), M,w � ψt(a) iff A � ψ(a).

17 / 39

Page 27: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

1 Historical Review

2 Preliminaries

3 Monadic Fragment

4 Two-variable Fragment

5 Conclusion

18 / 39

Page 28: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of FOL2

Theorem (Scott 1963, Mortimer 1975)

The fragment with only two variables is decidable.

Scott showed that the Sat problem for FO2 can be reduced tothe Sat problem for the ∀∀∃∗-class which is undecidable.

Mortimer showed that FO2 has the finite model property.

Gradel, Kolaitis and Vardi(1997) gave a simpler proof andimproved Mortimer’s bound of model size.

19 / 39

Page 29: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of FO2

Lemma

For any FO2 sentence ϕ, there is a FO2 sentence ϕ′ such that

ϕ is satisfiable iff ϕ′ is satisfiable.

Every relation symbol occurring in ϕ′ has arity at most 2.

ϕ′ has the form ( Scott Class)

∀x∀y α(x , y) ∧m∧i=1

∀x∃y βi (x , y)

where α(x , y) and βi (x , y) are quantifier-free formulas.

We may assume for every i ≤ m, βi (x , y) � x 6= y .

20 / 39

Page 30: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of FO2

Definition

A k-type t(x1, · · · , xk) is a maximal consistent set of atomicand negated atomic formulas (including equalities). We oftenview a type as a quantifier-free formula that is the conjunctionof its elements.

a = (a1, · · · , ak) is a sequence of element of a structure A,then ta is the unique k-type t(z1, · · · , zk) that a satisfies in A.If ta = t, we say that a realizes t.

A element a of A is a king if a is the only element thatrealizes the 1-type ta on A, i.e. for all b 6= a, tb 6= ta.

21 / 39

Page 31: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of FO2

To construct a model of a FO2 sentence θ, we need to firstdefine its universe A and then specify the 1-types and 2-typesrealized by elements and pairs of elements from A.

Since θ may contain equalities, a structure satisfying θ mayhave kings. But kings create obstructions in constructingmodels of a sentence. For example

∀x∃y(t(y) ∧ R(x , y)) ∧ ∀x∃y(t(y) ∧ ¬R(x , y))

22 / 39

Page 32: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of FO2

Theorem

Let θ be a sentence in the Scott class. If θ is satisfiable, then ithas a finite model.

Proof.

Suppose that A � θ. Since A �m∧i=1∀x∃yβi (x , y), there are

functions fi : A→ A such that for every a ∈ A,A �

∧mi=1 βi (a, fi (a)).

Let K be the set of all kings in A andC = K ∪ {gi (k) | k ∈ K , 1 ≤ i ≤ m} be the court.P = {ta | a ∈ A} be the set of all 1-types realized in A, Q ⊆ P bethe set of 1-types realized by kings.Let n = |P − Q|, We can enumerate all elements of P − Q ast1, · · · , tn.

23 / 39

Page 33: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Decidability of FO2

Theorem

Let θ be a sentence in the Scott class. If θ is satisfiable, then ithas a finite model.

Proof.

Suppose that A � θ. Since A �m∧i=1∀x∃yβi (x , y), there are

functions fi : A→ A such that for every a ∈ A,A �

∧mi=1 βi (a, fi (a)).

Let K be the set of all kings in A andC = K ∪ {gi (k) | k ∈ K , 1 ≤ i ≤ m} be the court.P = {ta | a ∈ A} be the set of all 1-types realized in A, Q ⊆ P bethe set of 1-types realized by kings.Let n = |P − Q|, We can enumerate all elements of P − Q ast1, · · · , tn.

23 / 39

Page 34: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

The strategy of constructing a finite structure B is

Let D,E ,F be disjoint sets of elements that are not in A.where D = {dij | 1 ≤ i ≤ m, 1 ≤ j ≤ n} (resp. E ,F ).

Let B = C ∪ D ∪ E ∪ F be the universe of B.

B has the same kings as A.

To guarantee B � ∀x∀yα(x , y), we’ll make sure every pair ofB is assigned a 2-type realized by some pair of elements in A.

We need to guarantee every element of B has witness, that isfor every element b ∈ B and every i ≤ m there is a bi ∈ B s.t.B � β(b, bi ).

24 / 39

Page 35: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

The kings will have witness in C by definition.

For b ∈ C −K , if fi (b) ∈ C , then b has a witness in C ; if not,tfi (b) ∈ P − Q, let tfi (b) = tj and assign dij as the witness of bfor βi (x , y). Moreover, we equip the pair (b, dij) with the2-type of the pair (b, gi (b)) on A.

For b ∈ D, there is i , j s.t. b = dij . Thus b realizes 1-type tjon B. Let ta on A is equal to tj . Consider gi (a), if gi (a) is aking, then we assign gi (a) as witness of b and equip (b, gi (b)with 2-type (a, gi (a); if gi (a) is not a king, then tgi (a) is equalto some type tl , l ≤ n. We assign eil as witness, equip (b, eilwith 2-type (a, gi (a)) on A.

(D,E )⇒ (E ,F )⇒ (F ,D)⇒ (D,E )

For every pair (b, b′) for which 2-type has not been assigned,simply choose a pair of (a, a′) of A with ta coincides with1-type of b on B (resp. a’ and b’).

25 / 39

Page 36: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

26 / 39

Page 37: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Tiling Problem (Wang, 1962)

A tile t is a 1× 1 square, each side of which has a color.

Given a finite set of tiles T , can we cover up the whole plane withthe same color on the common edge?

27 / 39

Page 38: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Tiling Problem

We can transform a Turing machine into a tile set.

28 / 39

Page 39: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of Tiling Problem

Assume that the machine starts on a blank tape, then we can usefollowing tiles in order to present its initial configuration.

Add a blank tile to the tiles set.

One can tile Z×Z iff the considered Turing machine does not halt.

29 / 39

Page 40: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Undecidability of FOML2

Theorem (Kontchakov, Kurucz and Zakharyashev 2005)

Let S be any propositional modal logic having a Kripke model thatcontains a point with infinitely many successors. Then thetwo-variable fragment of QS is undecidable.

Proof.

Definition (Tiling Function)

t = 〈u(t), d(t), r(t), l(t)〉 is a tile. Let T is a set of tiles. A tilingfunction τ : N×N→ T is a function satisfies that for all i , j ∈ N,

u(τ(i , j)) = d(τ(i , j + 1)) and r(τ(i , j) = l(τ(i + 1, j))

30 / 39

Page 41: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

Given a finite set T , let χT be the FOML2 sentence obtained as aconjunction of following formulas:

1 ∀x∨

t∈T (Pt(x) ∧∧

t′ 6=t ¬Pt′(x))

2 ∀x∀y(H+(x , y)→∧

r(t)6=l(t′) ¬(Pt(x) ∧ Pt′(y)))

3 ∀x∀y(V+(x , y)→∧

u(t)6=d(t′) ¬(Pt(x) ∧ Pt′(y)))

4 ∀x∃yH+(x , y) ∧ ∀x∃yV+(x , y)

5 ∀x∀y(H+(x , y)→ 2H+(x , y)) ∧ ∀x∀y(V+(x , y)→2V+(x , y))

6 ∀x∀y(3V+(x , y)→ V+(x , y))

7 ∀x3Q(x)

8 2∀x∀y(V+(x , y) ∧ ∃x(Q(x) ∧ H+(y , x))→∀y(H+(x , y)→ ∀x(Q(x)→ V+(y , x))))

31 / 39

Page 42: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

We show that

there is a τ : N×N→ T ⇐⇒ χT is QS-satisfiable

⇒: Suppose there is such a τ , let w0 ∈W be a world s.t. w+0 is

infinite. and let ρ : w+0 → N×N be a surjective function. Identify

D with N×N and define a model M = (W ,R,D, {Vw}w∈W ) asfollows: for any w ∈W ,

Vw (Q) = {ρ(v)} if v ∈W+0 ; Vw (Q) = ∅ if v /∈W+

0 ;

Vw (Pt) = {(i , j) | τ(i , j) = t}Vw (H+) = {〈(i1, j), (i2, j)〉 | i2 = i1 + 1}Vw (V+) = {〈(i , j1), (i , j2)〉 | j2 = j1 + 1}

It’s easy to check M,w0 � χT .

32 / 39

Page 43: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

We show that

there is a τ : N×N→ T ⇐⇒ χT is QS-satisfiable

⇒: Suppose there is such a τ , let w0 ∈W be a world s.t. w+0 is

infinite. and let ρ : w+0 → N×N be a surjective function. Identify

D with N×N and define a model M = (W ,R,D, {Vw}w∈W ) asfollows: for any w ∈W ,

Vw (Q) = {ρ(v)} if v ∈W+0 ; Vw (Q) = ∅ if v /∈W+

0 ;

Vw (Pt) = {(i , j) | τ(i , j) = t}Vw (H+) = {〈(i1, j), (i2, j)〉 | i2 = i1 + 1}Vw (V+) = {〈(i , j1), (i , j2)〉 | j2 = j1 + 1}

It’s easy to check M,w0 � χT .

32 / 39

Page 44: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

We show that

there is a τ : N×N→ T ⇐⇒ χT is QS-satisfiable

⇒: Suppose there is such a τ , let w0 ∈W be a world s.t. w+0 is

infinite. and let ρ : w+0 → N×N be a surjective function. Identify

D with N×N and define a model M = (W ,R,D, {Vw}w∈W ) asfollows: for any w ∈W ,

Vw (Q) = {ρ(v)} if v ∈W+0 ; Vw (Q) = ∅ if v /∈W+

0 ;

Vw (Pt) = {(i , j) | τ(i , j) = t}Vw (H+) = {〈(i1, j), (i2, j)〉 | i2 = i1 + 1}Vw (V+) = {〈(i , j1), (i , j2)〉 | j2 = j1 + 1}

It’s easy to check M,w0 � χT .

32 / 39

Page 45: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

cont’d

⇐: Suppose that χT is QS-satisfiable, i.e. there is a M andv ∈WM s.t M, v � χT . The conjunction of (4)-(8) imply in QSthe formula

(9) ∀x∀y∀z(H+(x , y) ∧ V+(x , z)→ ∃x(H+(z , x) ∧ V+(y , x)))

Thus M, v � (9). (9) and (4) imply that for every i , j ∈ N thereare elements aij ∈ Dv s.t M, v � H+(aij , ai+1,j) andM, v � V+(aij , ai ,j+1). Since (1)-(3) hold in v , it’s easily seen thatthe function defined by

τ(i , j) = t iff M, v � Pt(aij)

tiles N×N.

33 / 39

Page 46: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

1 Historical Review

2 Preliminaries

3 Monadic Fragment

4 Two-variable Fragment

5 Conclusion

34 / 39

Page 47: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

Conclusion

We compare the decision problem of the monadic fragmentand the two-variable fragment of FOL and FOML.

We find that the undecidable fragments are much morecommon in FOML than FOL and ML.

The monadic and the two-variable fragments of practically allFOMLs is undecidable.

We can find some FOML fragments which are decidable e.g.only one-variable FOML fragment but its expressivity is verylimited.

Monodic fragment.

35 / 39

Page 48: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

References I

Borger, E., Gradel, E., and Gurevich, Y. (2001).The classical decision problem.Springer Science & Business Media.

Brauner, T. and Ghilardi, S. (2007).First Order Modal Logic.Kluwer Academic,.

Church, A. (1936).A note on the entscheidungsproblem.Journal of Symbolic Logic, 1(1):40–41.

Frank, W. and Michael, Z. (2001).Decidable fragments of first-order modal logics.Journal of Symbolic Logic, 66(3):1415–1438.

36 / 39

Page 49: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

References II

Gradel, E., Kolaitis, P. G., and Vardi, M. Y. (1997).On the decision problem for two-variable first-order logic.Bulletin of Symbolic Logic, 3(1):53–69.

Kontchakov, R., Kurucz, A., and Zakharyaschev, M. (2005).Undecidability of first-order intuitionistic and modal logicswith two variables.Bulletin of Symbolic Logic, 11(3):428–438.

Kripke, S. A. (1962).The undecidability of monadic modal quantification theory.Z. Math. Logik Grundlagen Math., 8:113–116.

Lowenheim, L. (1915).

Uber moglichkeiten im relativkalkl.Mathematische Annalen, 76(4):447–470.

37 / 39

Page 50: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

References III

Mortimer, M. (1975).On languages with two variables.Mathematical Logic Quarterly, 21(1):135–140.

Robinson, R. M. (1971).Undecidability and nonperiodicity for tilings of the plane.Inventiones Mathematicae, 12(3):177–209.

Scott, D. (1962).A decision method for validity of sentences in two variables.Journal of Symbolic Logic - JSYML, 27:477.

38 / 39

Page 51: Some Undecidable Fragments of First-Order Modal Logic of foml.pdf · First-Order Modal Logic Mo Liu Department of Philosophy, PKU June 5th, 2018 1/39. Historical ReviewPreliminariesMonadic

Historical Review Preliminaries Monadic Fragment Two-variable Fragment Conclusion

References IV

Turing, A. M. (1937).Turing, a.m.: On computable numbers, with an application tothe entscheidungs problem.Proceedings of the London Mathematical Society,42(1):230–265.

Wang, H. (1963).Dominoes and the AEA case of the decision problem.In Proc. Sympos. Math. Theory of Automata (New York,1962), pages 23–55. Polytechnic Press of Polytechnic Inst. ofBrooklyn, Brooklyn, N.Y.

39 / 39