31
A short introduction to μ-calculus Leonardo Pacheco Tohoku University December 7, 2019 Leonardo Pacheco (Tohoku University) A short introduction to μ-calculus December 7, 2019 1 / 31

A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

A short introduction to µ-calculus

Leonardo Pacheco

Tohoku University

December 7, 2019

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 1 / 31

Page 2: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Table of Contents

1 The modal µ-calculus

2 The µ-arithmetic

3 µ-calculus and the difference hierarchy

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 2 / 31

Page 3: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Table of Contents

1 The modal µ-calculus

2 The µ-arithmetic

3 µ-calculus and the difference hierarchy

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 3 / 31

Page 4: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The modal µ-calculus

Definition

The modal µ-formulas are generated by the following grammar:

ϕ := P | ¬P | X | ϕ ∧ ϕ | ϕ ∨ ϕ| ♦ϕ | �ϕ | µX .ϕ | νX .ϕ

P is taken from a fixed set of propositions and X is taken from a set ofvariables. To define negation on the µ-calculus we let it to follow the usualrules on connectives and modalities, and define

¬µX .ϕ = νX .¬ϕ[X 7→ ¬X ]

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 4 / 31

Page 5: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Models of the modal µ-calculus

The models of the modal µ-calculus are the same as the models of modallogic, i.e., labeled transition systems.

Definition

A labeled transition system is a triple S = (S ,E , ρ) where

S is the set of states,

E ⊆ S × S are the transitions, and

ρ : Prop → P(S) assigns to each proposition P the states in which Pis valid.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 5 / 31

Page 6: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Example

S1 = {s0, s1, s2}, E = {s0 → s1, s1 → s2, s2 → s2} and ρ(P) = {s1}.

Example

S2 = {s0, s1}, E = {s0 → s0, s0 → s1} and ρ(P) = {s1}.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 6 / 31

Page 7: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Extentional Semantics

Definition

Given a transition system S and a valuation V : Var → P(S), we define

‖P‖SV = ρ(P)

‖X‖SV = V (X )

‖¬ϕ‖SV = S \ ‖ϕ‖SV‖ϕ ∧ ψ‖SV = ‖ϕ‖SV ∩ ‖ψ‖SV‖�ϕ‖SV = {s|∀t ∈ S .〈t, s〉 ∈ E =⇒ s ∈ ‖ϕ‖SV }

‖µX .ϕ‖SV =⋃{U ⊆ S |U ⊆ ‖ϕ‖SV [Z→U]}

in the above definition, V [Z → U](X ) = U if X = Z andV [Z → U](X ) = V (X ) otherwise.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 7 / 31

Page 8: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Game Semantics

Definition

Given a transition system S , a stage s0 ∈ S , a valuation V : Var → P(S)and a µ-calculus formula ϕ we define the game GSV (s0, ϕ):

The game vertices the pairs 〈s, ψ〉 where s ∈ S and ψ is a subformulaof ϕ.

The initial state is 〈s0, ϕ〉.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 8 / 31

Page 9: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Game Semantics

Definition (Cont.)

Players have the following plays:

〈s, ψ0 ∧ ψ1〉 → 〈s, ψ0〉, 〈s, ψ0 ∧ ψ1〉 → 〈s, ψ1〉 are edges.〈s, ψ0 ∨ ψ1〉 → 〈s, ψ0〉, 〈s, ψ0 ∨ ψ1〉 → 〈s, ψ1〉 are edges.If 〈s, t〉 ∈ E , then 〈s,�ψ〉 → 〈t, ψ〉 is an edge.If 〈s, t〉 ∈ E , then 〈s,♦ψ〉 → 〈t, ψ〉 is an edge.If µX .ψ is a subformula of ϕ then 〈s, µX .ψ〉 → 〈s, ψ〉 and〈s,X 〉 → 〈s, ψ〉 are edges.If νX .ψ is a subformula of ϕ then 〈s, νX .ψ〉 → 〈s, ψ〉 and〈s,X 〉 → 〈s, ψ〉 are edges.

V owns 〈s, ψ0 ∨ ψ1〉, 〈s,♦ψ〉, 〈s,P〉 if s 6∈ ρ(P) and 〈s,Z 〉 ifs 6∈ V (Z ).

R owns 〈s, ψ0 ∧ ψ1〉, 〈s,�ψ〉, 〈s,P〉 if s ∈ ρ(P) and 〈s,Z 〉 ifs ∈ V (Z ).

The ownership of the other vertices doesn’t matter.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 9 / 31

Page 10: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Definition (Cont.)

If a player can’t make a move, he loses.

In an infinite play, if the outernmost infinitely many times repeatedoperator is µ, V loses.

In an infinite play, if the outernmost infinitely many times repeatedoperator is ν, V wins.

If V has a winning strategy we state s0 |=SV ϕ.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 10 / 31

Page 11: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Game Semantics

Example

Let ϕ = µX .P ∨ ♦X . Intuitively, this means ”eventually P holds”. Let

Here, s0 |= ϕ.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 11 / 31

Page 12: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 12 / 31

Page 13: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Game Semantics

Example

Let ϕ = νX .♦P ∧�X . Intuitively, this means ”♦P always holds”. Let

Here, s0 6|= ϕ.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 13 / 31

Page 14: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 14 / 31

Page 15: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Semantics

Theorem

The extentional semantics and game semantics are equivalent.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 15 / 31

Page 16: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The Alternation Hierarchy

Definition

The simple alternation hierarchy is defined by:

- Σµ0 ,Π

µ0 : the class of formulas with no fixpoint operators.

- Σµn+1 : the class of formulas containing Σµ

n ∪ Πµn and closed under the

operations ∨,∧,�,♦ and µx .

- Πµn+1 : the class of formulas containing Σµ

n ∪ Πµn and closed under the

operations ∨,∧,�,♦ and νx .

- ∆µn := Σµ

n⋂

Πµn

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 16 / 31

Page 17: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The Alternation Hierarchy

Example

µX .P ∨ ♦X is Σµ1 .

νX .♦P ∧�X is Πµ1 .

µX .(νX .♦P ∧�X ) ∨ ♦X is Σµ2

µX1.νX2.µX3.(X1 ∧ X2 ∧ X3) is Σµ3 .

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 17 / 31

Page 18: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The Alternation Hierarchy

Definition

The semantic hierarchy is defined as:

Σµn = {‖ϕ‖T |ϕ ∈ Σµ

n ∧ T is a transition system}

Theorem (Bradfield)

The semantic hierarchy theorem is a proper hierarchy, i.e.,

Σµn ( Σµ

n+1 for all n

Theorem (Bradfield)

The semantic hierarchy theorem for finite transition systems is a properhierarchy.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 18 / 31

Page 19: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Table of Contents

1 The modal µ-calculus

2 The µ-arithmetic

3 µ-calculus and the difference hierarchy

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 19 / 31

Page 20: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The µ-arithmetic

Definition

We can define the µ-arithmetic by adding set variables and thefixpoint operator µ to PA.

We can then form the set term µxX .ϕ. The µ operator binds x andX . (We have a restriction on ϕ to be X -positive, but we omit thisdefinition here.)

µxX .ϕ is the defined to be the least fixed point of the operator

Γϕ(X ) = {x |ϕ(x ,X )}.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 20 / 31

Page 21: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The arithmetic µ-calculus

Example

The following formula defines the even numbers in the µ-calculus:

µxX .(x = 0 ∨ (x − 2) ∈ X )

Calculating the least fixed point of Γx=0∨(x−2)∈X we have

∅ 7→ {0} 7→ {0, 2} 7→ {0, 2, 4} 7→ · · · 7→ {0, 2, 4, 6, 8, · · · }

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 21 / 31

Page 22: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The Alternation Hierarchy (Arithmetic Version)

Definition

- Σµ0 ,Π

µ0 : the class of first order formulas and set variables

- Σµn+1 : the class of formulas containing Σµ

n ∪ ΠWµn and closed under

the first order connectives and forming µX .ϕ for ϕ ∈ Σµn .

- Πµn+1 : the class of formulas containing Σµ

n ∪ ΠWµn and closed under

the first order connectives and forming νX .ϕ for ϕ ∈ Πµn .

- ∆µn := Σµ

n⋂

Πµn

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 22 / 31

Page 23: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The Alternation Hierarchy (Arithmetic Version)

Theorem (Lubarsky)

Any Σµn -formula can be put in the form

τn ∈ µXn.τn−1 ∈ νXn−1.τn−2 ∈ µXn−2.. . . . τ1 ∈ ηX1.ϕ

where ϕ is a first order formula.

Theorem (Bradfield)

The alternation hierarchy for the µ-arithmetic is strict.

Proof Idea

We define for each Σµn a satisfaction formula. We do this similarly to

defining the partial satisfaction formulas of PA. (Remember to make use ofthe normal forms.)

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 23 / 31

Page 24: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

The Alternation Hierarchy (Arithmetic Version)

Theorem (Bradfield)

For each modal µ-calculus formula ϕ ∈ Σµn and for each recursively

presentable transition system T , ‖ϕ‖T is Σµn -definable set of integers.

Theorem (Bradfield)

Let ϕ(z) be a Σµn formula of µ-arithmetic. There is a r .p.t.s. T , a

valuation V and a Σµn modal µ-formula ϕ such that ϕ((s)0) iff s ∈ ‖ϕ‖TS .

Thus if ϕ is not Σµn -definable, neither is ‖ϕ‖.

We can combine these theorems with the strictness of the alternationhierarchy for the arithmetic µ-calculus to get a proof of the alternationhierarchy for the modal µ-calculus. (Indeed, this is the original proof byBradfield.)

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 24 / 31

Page 25: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

Table of Contents

1 The modal µ-calculus

2 The µ-arithmetic

3 µ-calculus and the difference hierarchy

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 25 / 31

Page 26: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

µ-calculus and the difference hierarchy

Definition

Transfinite µ-arithmetic We can extend the definition of the alternationhierarchy for µ-arithmetic by defining Σµ

λ to be the set of formulas∨i<ω

ϕi

where the ϕi can be recursively enumerated and each ϕi is in some Σµβi

with βi < λ. We do this for λ < ωck1 .

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 26 / 31

Page 27: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

µ-calculus and the difference hierarchy

Let Σδα be the α-th level of the difference hierarchy of Σ0

2.a is the game quantifier:aα.P(α, ~x) = {~x | I wins the Gale-Steward game with payoff P(α, ~x)}

Theorem (Bradfield, Duparc, Quickert)

For all α < w ck1 , aΣδ

α = Σµα+1.

Furthermore as

Theorem (MedSalem, Tanaka)⋃α<ωck

1Σδα = ∆0

3

we can show

Corollary

Σµ

ωck1

= a∆03.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 27 / 31

Page 28: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

µ-calculus and the difference hierarchy

For context, we have:

Theorem (Kechris-Moschovakis)

Σµ0 = aΣ0

1 = Π11

Theorem (Solovay)

Σµ1 = aΣ0

2 = Σ11-IND

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 28 / 31

Page 29: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

A result on reverse math

Definition

We can define the µ-arithmetic as a subsystem of second arithmetic byconsidering as axioms:

ACA0 and

µxX .ϕ(x ,X ) is the least fixed point of Γϕ for all adequate ϕ. Note:we are going to skip the formalization here.

Definition

< ω-Σ02-Det is the subsystem of second order arithmetic that says that all

(finite) Boolean combinations of Σ02 sets are determined.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 29 / 31

Page 30: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

A result on reverse math

Theorem (Heinatsch, Mollerfeld)

Over ACA0, µ-arithmetic and < ω-Σ02-Det are equivalent over

L2-formulas.

Theorem (Mollerfeld)

µ-arithmetic and Π12-CA0 are Π1

1-conservative over L2-formulas. Thereforethey are proof-theoretic equivalent.

Corollary (Heinatsch, Mollerfeld)

< ω-Σ02-Det and Π1

2-CA0 are Π11-conservative over L2-formulas. Therefore

they are proof-theoretic equivalent.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 30 / 31

Page 31: A short introduction to -calculus - 名古屋大学kihara/workshop/wakate/... · 2019. 12. 9. · Leonardo Pacheco (Tohoku University) A short introduction to -calculus December 7,

C.-H. L. Ong, Automata, Logic and Games, available at:http://www.cs.ox.ac.uk/people/luke.ong/personal/publications/ALG14-15.pdf.

J.C. Bradfield, Simplifying the modal mu-calculus alternationhierarchy, 1998.

J.C. Bradfield, J. Duparc, S. Quickert, Fixpoint alternation and theWadge hierarchy, available at:http://homepages.inf.ed.ac.uk/jcb/Research/fixwadge.pdf

C. Heinatsch, M. Mollerfeld, The determinacy strength ofΠ12-comprehension, 2010.

Leonardo Pacheco (Tohoku University) A short introduction to µ-calculus December 7, 2019 31 / 31