Plan A primer on mu-calculi The intuitionistic -calculus The - - PowerPoint PPT Presentation

plan
SMART_READER_LITE
LIVE PREVIEW

Plan A primer on mu-calculi The intuitionistic -calculus The - - PowerPoint PPT Presentation

Fixed-point elimination in Heyting algebras 1 Silvio Ghilardi, Universit` a di Milano Maria Jo ao Gouveia, Universidade de Lisboa Luigi Santocanale, Aix-Marseille Universit e TACL@Praha, June 2017 1 See [Ghilardi et al., 2016] 1/32 Plan


slide-1
SLIDE 1

Fixed-point elimination in Heyting algebras1

Silvio Ghilardi, Universit` a di Milano Maria Jo˜ ao Gouveia, Universidade de Lisboa Luigi Santocanale, Aix-Marseille Universit´ e TACL@Praha, June 2017

1See [Ghilardi et al., 2016] 1/32

slide-2
SLIDE 2

Plan

A primer on mu-calculi The intuitionistic µ-calculus The elimination procedure Bounding closure ordinals

2/32

slide-3
SLIDE 3

µ-calculi

Add to a given algebraic framework syntactic least and greatest fixed-point constructors.

3/32

slide-4
SLIDE 4

µ-calculi

Add to a given algebraic framework syntactic least and greatest fixed-point constructors. E.g., the propositional modal µ-calculus: φ := x | ¬x | ⊤ | φ ∧ φ | ⊥ | φ ∨ φ | φ | ⋄φ | µx.φ | νx.φ , when x is positive in φ.

3/32

slide-5
SLIDE 5

µ-calculi

Add to a given algebraic framework syntactic least and greatest fixed-point constructors. E.g., the propositional modal µ-calculus: φ := x | ¬x | ⊤ | φ ∧ φ | ⊥ | φ ∨ φ | φ | ⋄φ | µx.φ | νx.φ , when x is positive in φ. Interpret the syntactic least (resp. greatest) fixed-point as expected. µx.φv := least fixed-point of the monotone mapping X → φv,X/x

3/32

slide-6
SLIDE 6

Alternation hierarchies in µ-calculi

Let ♯ count the number of alternating blocks of fixed-points.

4/32

slide-7
SLIDE 7

Alternation hierarchies in µ-calculi

Let ♯ count the number of alternating blocks of fixed-points.

  • Problem. For a given µ-calculus, does there exist n such that, for

each φ with ♯φ > n, there exists ψ with γ ≡ ψ and ♯ψ ≤ n?

4/32

slide-8
SLIDE 8

Alternation hierarchies, facts

◮ The alternation hierarchy for the modal µ-calculus is infinite

(there exists no such n) [Lenzi, 1996, Bradfield, 1998].

◮ Idem for the lattice µ-calculus [Santocanale, 2002]. ◮ The alternation hierarchy for the linear µ-calculus (⋄x = x)

is reduced to the B¨ uchi fragment (here n = 2) .

◮ The alternation hierarchy for the modal µ-calculus on

transitive frames collapses to the alternation free fragment (here n = 1.5) [Alberucci and Facchini, 2009].

◮ The alternation hierarchy for the distributive µ-calculus is

trivial (here n = 0) [Kozen, 1983].

5/32

slide-9
SLIDE 9

Alternation hierarchies, facts

◮ The alternation hierarchy for the modal µ-calculus is infinite

(there exists no such n) [Lenzi, 1996, Bradfield, 1998].

◮ Idem for the lattice µ-calculus [Santocanale, 2002]. ◮ The alternation hierarchy for the linear µ-calculus (⋄x = x)

is reduced to the B¨ uchi fragment (here n = 2) .

◮ The alternation hierarchy for the modal µ-calculus on

transitive frames collapses to the alternation free fragment (here n = 1.5) [Alberucci and Facchini, 2009].

◮ The alternation hierarchy for the distributive µ-calculus is

trivial (here n = 0) [Kozen, 1983]. A research plan: Develop a theory explaining why alternation hierarchies collapses.

5/32

slide-10
SLIDE 10

µ-calculi on generalized distributive lattices

  • Theorem. [Frittella and Santocanale, 2014] There are lattice

varieties (Nation’s varieties) D0 ⊆ D1 ⊆ . . . ⊆ Dn ⊆ . . . with D0 the variety of distributive lattices, such that, on Dn and for any lattice term φ, φn+2(⊥) = φn+1(⊥) (= µx.φ) , φn(⊥) = φn+1(⊥) .

6/32

slide-11
SLIDE 11

µ-calculi on generalized distributive lattices

  • Theorem. [Frittella and Santocanale, 2014] There are lattice

varieties (Nation’s varieties) D0 ⊆ D1 ⊆ . . . ⊆ Dn ⊆ . . . with D0 the variety of distributive lattices, such that, on Dn and for any lattice term φ, φn+2(⊥) = φn+1(⊥) (= µx.φ) , φn(⊥) = φn+1(⊥) .

  • Corollary. The alternation hierarchy of the lattice µ-calculus is

trivial on Dn, for each n ≥ 0.

6/32

slide-12
SLIDE 12

Plan

A primer on mu-calculi The intuitionistic µ-calculus The elimination procedure Bounding closure ordinals

7/32

slide-13
SLIDE 13

The intuitionistic µ-calculus

After the distributive µ-calculus, the next on the list—by Pitt’s quantifiers, we knew that least fixed-points and greatest fixed-points are definable. We extend the signature of Heyting algebras (i.e. Intuitionistic Logic) with least and greatest fixed-point constructors. Intuitionistic µ-terms are generated by the grammar: φ := x | ⊤ | φ ∧ φ | ⊥ | φ ∨ φ | φ → φ | µx.φ | νx.φ , when x is positive in φ.

8/32

slide-14
SLIDE 14

Heyting algebra semantics

We take any provability semantics of IL with fixed points:

◮ (Complete) Heyting algebras. ◮ Kripke frames. ◮ Any sequent calculus for Intuitionisitc Logic (e.g. LJ) plus

Park/Kozen’s rules for least and greatest fixed-points: φ[ψ/x] ⊢ ψ µx.φ ⊣ ψ Γ ⊢ φ(µx.φ) Γ ⊢ µx.φ φ(νx.φ) ⊢ δ νx.φ ⊢ δ ψ ⊢ φ[ψ/x] ψ ⊢ νx.φ

  • Definition. A Heyting algebra is a bounded lattice

H = H, ⊤, ∧, ⊥, ∨ with an additional binary operation → satisfying x ∧ y ≤ z iff x ≤ y → z .

9/32

slide-15
SLIDE 15

Ruitenburg’s theorem [Ruitenburg, 1984]

  • Theorem. For each intuitionistic formula φ, there exists n ≥ 0 such

that φn(x) ≡ φn+2(x).

10/32

slide-16
SLIDE 16

Ruitenburg’s theorem [Ruitenburg, 1984]

  • Theorem. For each intuitionistic formula φ, there exists n ≥ 0 such

that φn(x) ≡ φn+2(x). Then φn(⊥) ≤ φn+1(⊥) ≤ φn+2(⊥) = φn(⊥) , so φn(⊥) is the least fixed-point of φ.

10/32

slide-17
SLIDE 17

Ruitenburg’s theorem [Ruitenburg, 1984]

  • Theorem. For each intuitionistic formula φ, there exists n ≥ 0 such

that φn(x) ≡ φn+2(x). Then φn(⊥) ≤ φn+1(⊥) ≤ φn+2(⊥) = φn(⊥) , so φn(⊥) is the least fixed-point of φ.

  • Corollary. The alternation hierarchy for the intuitionistic

µ-calculus is trivial.

10/32

slide-18
SLIDE 18

Ruitenburg’s theorem [Ruitenburg, 1984]

  • Theorem. For each intuitionistic formula φ, there exists n ≥ 0 such

that φn(x) ≡ φn+2(x). Then φn(⊥) ≤ φn+1(⊥) ≤ φn+2(⊥) = φn(⊥) , so φn(⊥) is the least fixed-point of φ.

  • Corollary. The alternation hierarchy for the intuitionistic

µ-calculus is trivial. NB : Ruitenburg’s n might not be the closure ordinal of µx.φ.

10/32

slide-19
SLIDE 19

Peirce, compatibility, strenghs and strongness

  • Proposition. Peirce’s theorem for Heyting algebras.

Every term φ is compatible. In particular, for ψ, χ arbitrary terms, the equation φ[ψ/x] ∧ χ = φ[ψ ∧ χ/x] ∧ χ . holds on Heyting algebras.

  • Corollary. Every term φ monotone in x is strong in x. That is, any

the following equivalent conditions φ[ψ/x] ∧ χ ≤ φ[ψ ∧ χ/x] , ψ → χ ≤ φ[ψ/x] → φ[χ/x], hold, for any terms ψ and χ.

11/32

slide-20
SLIDE 20

Plan

A primer on mu-calculi The intuitionistic µ-calculus The elimination procedure Bounding closure ordinals

12/32

slide-21
SLIDE 21

Greatest fixed-points

  • Proposition. On Heyting algebras, we have

νx.φ = φ(⊤) .

13/32

slide-22
SLIDE 22

Greatest fixed-points

  • Proposition. On Heyting algebras, we have

νx.φ = φ(⊤) . Using the deduction theorem and Pitts’ quantifiers: νx.φ(x) = ∃x.(x ∧ x → φ(x)) = ∃x.(x ∧ φ(x)) = φ(⊤) .

13/32

slide-23
SLIDE 23

Greatest fixed-points

  • Proposition. On Heyting algebras, we have

νx.φ = φ(⊤) . Using the deduction theorem and Pitts’ quantifiers: νx.φ(x) = ∃x.(x ∧ x → φ(x)) = ∃x.(x ∧ φ(x)) = φ(⊤) . Using strongness: φ(⊤) = φ(⊤) ∧ φ(⊤) ≤ φ(⊤ ∧ φ(⊤)) = φ2(⊤) .

13/32

slide-24
SLIDE 24

Greatest solutions of systems of equations

  • Proposition. On Heyting algebras, a system of equations

     x1 = φ1(x1, . . . , xn) . . . xn = φn(x1, . . . , xn)      has a greatest solution obtained by iterating φ := φ1, . . . , φn n times from ⊤.

  • Proof. Using the Bekic property.

14/32

slide-25
SLIDE 25

Least fixed-points: splitting the roles of variables

Due to µx.φ(x, x) = µx.µy.φ(x, y)

15/32

slide-26
SLIDE 26

Least fixed-points: splitting the roles of variables

Due to µx.φ(x, x) = µx.µy.φ(x, y) we can separate computing the least fixed-points w.r.t: weakly negative variables: variables that appear within the left-hand-side of an implication, fully positive variables: those appearing only within the right-hand-side of an implication.

15/32

slide-27
SLIDE 27

Weakly negative least fixed-points: an example

Use µx.(f ◦ g)(x) = f ( µy.(g ◦ f )(y) )

16/32

slide-28
SLIDE 28

Weakly negative least fixed-points: an example

Use µx.(f ◦ g)(x) = f ( µy.(g ◦ f )(y) ) to argue that: µx.[ (x → a) → b ] = [ νy.(y → b) → a ] → b = [ (⊤ → b) → a ] → b = [ b → a ] → b .

16/32

slide-29
SLIDE 29

Weakly negative least fixed-points: reducing to greatest fixed-points

If each occurrence of x in φ is weakly negative, then φ(x) = φ0[φ1(x)/y1, . . . , φn(x)/yn] with φ0(y1, . . . , yn) negative in each yj. Due to µx.(f ◦ g)(x) = f ( µy.(g ◦ f )(y) )

17/32

slide-30
SLIDE 30

Weakly negative least fixed-points: reducing to greatest fixed-points

If each occurrence of x in φ is weakly negative, then φ(x) = φ0[φ1(x)/y1, . . . , φn(x)/yn] with φ0(y1, . . . , yn) negative in each yj. Due to µx.(f ◦ g)(x) = f ( µy.(g ◦ f )(y) ) we have µx.φ(x) = µx.( φ0 ◦ φ1, . . . , φn )(x) = φ0( νy1...yn.( φ1, . . . φn ◦ φ0 )(y1, . . . yn)) .

17/32

slide-31
SLIDE 31

Interlude: least fixed-points of strong functions

If f and fi, i ∈ I, are strong, then µx.a ∧ f (x) = a ∧ µx.f (x) , µx.

  • i∈I

fi(x) =

  • µx.fi(x) ,

µx.a → f (x) = a → µx.f (x) .

18/32

slide-32
SLIDE 32

Strongly positive fixed-points: disjunctive formulas

The equation µx.

  • i∈I

fi(x) =

  • i∈I

µx.fi(x) allows to push least fixed-points down through conjunctions.

19/32

slide-33
SLIDE 33

Strongly positive fixed-points: disjunctive formulas

The equation µx.

  • i∈I

fi(x) =

  • i∈I

µx.fi(x) allows to push least fixed-points down through conjunctions. Once all conjunctions have been pushed up in formulas, we are left to compute least fixed-points of disjunctive formulas, generated by the grammar: φ = x | β ∨ φ | α → φ |

  • i=1,...,n

φi , where α and β do not contain the variable x. We call α an head subformula and β a side subformula.

19/32

slide-34
SLIDE 34

Least fixed-points of inflating functions

All functions f denoted by such formula φ are (monotone and) inflating: x ≤ f (x) . Let fi, i = 1, . . . , n, be a collection of monotone inflating functions. Then µx.

  • i=1,...,n

fi(x) = µx.(f1 ◦ . . . ◦ fn)(x) .

20/32

slide-35
SLIDE 35

Least fixed-points of disjunctive formulas

  • Proposition. Let φ be a disjunctive formula, with Head(φ) (resp.,

Side(φ)) the collection of its head (resp., side) subformulas. Then µx.φ =

  • α∈Head(φ)

α →

  • β∈Side(φ)

β .

21/32

slide-36
SLIDE 36

Least fixed-points of disjunctive formulas

  • Proposition. Let φ be a disjunctive formula, with Head(φ) (resp.,

Side(φ)) the collection of its head (resp., side) subformulas. Then µx.φ =

  • α∈Head(φ)

α →

  • β∈Side(φ)

β . If Head(φ) = { α1, . . . , αn } and Side(φ) = { β1, . . . , βm }: µx.φ = µx.α1 → α2 → . . . → αn → β1 ∨ . . . ∨ βm ∨ x = µx.

  • α∈Head(φ)

α →

  • β∈Side(φ)

β ∨ x =

  • α∈Head(φ)

α → µx.

  • β∈Side(φ)

β ∨ x =

  • α∈Head(φ)

α →

  • β∈Side(φ)

β .

21/32

slide-37
SLIDE 37

Plan

A primer on mu-calculi The intuitionistic µ-calculus The elimination procedure Bounding closure ordinals

22/32

slide-38
SLIDE 38

Closure ordinals

  • Definition. (Closure ordinal). For K a class of models and φ(x) a

monotone formula/term, let clK(φ) = least ordinal α such that M | = µx.φ = φα(⊥) . In general, clK(φ) might not exist. If H is the class of Heyting algebras and φ(x) is an intuitionistic formula, then clH(φ) < ω .

23/32

slide-39
SLIDE 39

Upper bounds from fixed-point equations

clK( f ◦ g ) ≤ clK( g ◦ f ) + 1, clH( φ0(φ1(x), . . . , φn(x)) ) ≤ n + 1, when φ0(y1, . . . , yn) contravariant, clH( φ ) ≤ card(Head(φ)) + 1 , when φ is a disjunctive formula, clK( f ◦ ∆ ) ≤ n · clK(g), when n = clK(f (x, )) and g(x) = µy.f (x, y), clK(f ∧ g) ≤ clK(f ) + clH(g) − 1, when f and g are strong.

24/32

slide-40
SLIDE 40

Examples

  • 1. Weakly negative x:
  • i=1,...,n

(x → ai) → bi converges after n + 1 steps. This upper bound is strict.

25/32

slide-41
SLIDE 41

Examples

  • 1. Weakly negative x:
  • i=1,...,n

(x → ai) → bi converges after n + 1 steps. This upper bound is strict.

25/32

slide-42
SLIDE 42

Examples

  • 1. Weakly negative x:
  • i=1,...,n

(x → ai) → bi converges after n + 1 steps. This upper bound is strict.

  • 2. Fully positive x:

b ∨

  • i=1,...,n

ai → x converges after n + 1 steps. This upper bound is strict.

25/32

slide-43
SLIDE 43

Examples (II)

◮ Similarly,

φ(x) :=

  • i=1,...,n

(x → ai) → bi converges within n + 1 steps, according to the general theory.

26/32

slide-44
SLIDE 44

Examples (II)

◮ Similarly,

φ(x) :=

  • i=1,...,n

(x → ai) → bi converges within n + 1 steps, according to the general theory.

  • Theorem. For any n ≥ 2, φ(x) converges to its least fixed-point

within 3 steps.

26/32

slide-45
SLIDE 45

Back to Ruitenburg’s theorem

◮ Inspection of Ruitenburg’s paper shows that

clH(φ) = O(n) , where n is the number of implication symbols in φ.

27/32

slide-46
SLIDE 46

Back to Ruitenburg’s theorem

◮ Inspection of Ruitenburg’s paper shows that

clH(φ) = O(n) , where n is the number of implication symbols in φ.

◮ Given a fully positive formula φ, pushing up conjuctions yields

a formula

  • i=1,...,k

δi , δi disjunctive, where k might be exponential w.r.t. the size of φ.

27/32

slide-47
SLIDE 47

Back to Ruitenburg’s theorem

◮ Inspection of Ruitenburg’s paper shows that

clH(φ) = O(n) , where n is the number of implication symbols in φ.

◮ Given a fully positive formula φ, pushing up conjuctions yields

a formula

  • i=1,...,k

δi , δi disjunctive, where k might be exponential w.r.t. the size of φ. Our method yields the upper bound clH(φ) = clH(

  • i=1,...,k

δi) ≤ 1 − k +

  • i=1,...,k

clH(δi) , exponential w.r.t. the size of φ.

27/32

slide-48
SLIDE 48

Closing the gap ?

  • Problem. Let δ1, δ2, . . . , δn be disjunctive formulas and put

φ(x) :=

  • i=1,...,n

δi(x) . Does µx.φ(x) =

  • i=1,...,n
  • Head(δi) →
  • Side(δi) ≤ φH+1(⊥) ,

with H = card(

i=1,...,n Head(δi))? ◮ This holds (non trivially) for n = 2.

28/32

slide-49
SLIDE 49

Closing the gap ?

  • Problem. Let δ1, δ2, . . . , δn be disjunctive formulas and put

φ(x) :=

  • i=1,...,n

δi(x) . Does µx.φ(x) =

  • i=1,...,n
  • Head(δi) →
  • Side(δi) ≤ φH+1(⊥) ,

with H = card(

i=1,...,n Head(δi))? ◮ This holds (non trivially) for n = 2. ◮ Not the only plausible conjecture.

28/32

slide-50
SLIDE 50

After thoughts

◮ A decision procedure for the Intuitionistic µ-calculus. ◮ Axiomatization of fixed-points and of some Pitt’s quantifiers. ◮ General theory of fixed-point elimination: no uniform upper

bounds for closure ordinals.

◮ Relevance of strongness

— it looks like Pitt’s quantifiers less relevant.

◮ A working path to understand Ruitenburg’s theorem.

29/32

slide-51
SLIDE 51

Thanks ! Questions ?

30/32

slide-52
SLIDE 52

References I

Alberucci, L. and Facchini, A. (2009). The modal µ-calculus hierarchy on restricted classes of transition systems. The Journal of Symbolic Logic, 74(4):1367–1400. Bradfield, J. C. (1998). The modal µ-calculus alternation hierarchy is strict.

  • Theor. Comput. Sci., 195(2):133–153.

Frittella, S. and Santocanale, L. (2014). Fixed-point theory in the varieties Dn. In H¨

  • fner, P., Jipsen, P., Kahl, W., and M¨

uller, M. E., editors, Relational and Algebraic Methods in Computer Science - 14th International Conference, RAMiCS 2014, Marienstatt, Germany, April 28-May 1,

  • 2014. Proceedings, volume 8428 of Lecture Notes in Computer Science, pages 446–462. Springer.

Ghilardi, S., Gouveia, M. J., and Santocanale, L. (2016). Fixed-point elimination in the intuitionistic propositional calculus. In Jacobs, B. and L¨

  • ding, C., editors, Foundations of Software Science and Computation Structures - 19th

International Conference, FOSSACS 2016, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2016, Eindhoven, The Netherlands, April 2-8, 2016, Proceedings, volume 9634

  • f Lecture Notes in Computer Science, pages 126–141. Springer.

Ghilardi, S. and Zawadowski, M. W. (1997). Model completions, r-Heyting categories.

  • Ann. Pure Appl. Logic, 88(1):27–46.

Kozen, D. (1983). Results on the propositional mu-calculus.

  • Theor. Comput. Sci., 27:333–354.

31/32

slide-53
SLIDE 53

References II

Lenzi, G. (1996). A hierarchy theorem for the µ-calculus. In auf der Heide, F. M. and Monien, B., editors, Automata, Languages and Programming, 23rd International Colloquium, ICALP96, Paderborn, Germany, 8-12 July 1996, Proceedings, volume 1099 of Lecture Notes in Computer Science, pages 87–97. Springer. Pitts, A. M. (1992). On an interpretation of second order quantification in first order intuitionistic propositional logic.

  • J. Symb. Log., 57(1):33–52.

Ruitenburg, W. (1984). On the period of sequences (an(p)) in intuitionistic propositional calculus. The Journal of Symbolic Logic, 49(3):892–899. Santocanale, L. (2002). The alternation hierarchy for the theory of µ-lattices . Theory and Applications of Categories, 9:166–197. 32/32