Asymptotic behaviour in temporal logic Motivation LTL Entropy - - PowerPoint PPT Presentation

asymptotic behaviour in temporal logic
SMART_READER_LITE
LIVE PREVIEW

Asymptotic behaviour in temporal logic Motivation LTL Entropy - - PowerPoint PPT Presentation

Asymptotic behaviour in temporal logic Aldric Degorre Introduction Asymptotic behaviour in temporal logic Motivation LTL Entropy PLTL PLTL Eugene Asarin 1 , Michel Bockelet 2 , Aldric Degorre 1 , PLTL and its fragments alin Dima 2 and


slide-1
SLIDE 1

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Asymptotic behaviour in temporal logic

Eugene Asarin1, Michel Bockelet2, Aldric Degorre1, C˘ at˘ alin Dima2 and Chunyan Mu1

1LIAFA – Universit´

e de Paris-Diderot

2LACL – Universit´

e de Paris-Est Cr´ eteil

EQINOCS Meeting 10/01/2014 at UPEM

Asymptotic behaviour in temporal logic EQINOCS Meeting 1 / 27

slide-2
SLIDE 2

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

What?

  • Temporal logics are a major specification formalism in

verification and synthesis.

  • A formula specifies a language, the entropy of which can

be studied.

  • Here, we study entropy of some temporal logic with

parametrized time bounds.

Asymptotic behaviour in temporal logic EQINOCS Meeting 2 / 27

slide-3
SLIDE 3

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Why?

Why parametrized time bounds:

  • Real life appliances may implement time-unbounded

properties as time-bounded behaviors.

  • Actual observers/monitors do not have inifinite patience.
  • Can we still observe the desired behaviors, despite the

above, at least for big enough time bounds?

Asymptotic behaviour in temporal logic EQINOCS Meeting 3 / 27

slide-4
SLIDE 4

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Why?

Why parametrized time bounds:

  • Real life appliances may implement time-unbounded

properties as time-bounded behaviors.

  • Actual observers/monitors do not have inifinite patience.
  • Can we still observe the desired behaviors, despite the

above, at least for big enough time bounds?

Why study entropy in this context:

As usual: rough assessment of the quality of the approximations made above. (Probabilities are too precise: a typical safety property has probability 0.)

Asymptotic behaviour in temporal logic EQINOCS Meeting 3 / 27

slide-5
SLIDE 5

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Reminder: LTL

[Pnueli Focs’77]

Temporal logic over boolean variables p ∈ AP, with following syntax: ϕ ::= p | ¬p | ϕ1 ∧ ϕ2 | ϕ1 ∨ ϕ2 | ϕ1 | ϕ1Uϕ2 | ϕ1Rϕ2 (and usual syntactic sugar: ⊤, ⊥, = ⇒ , , ♦, ...) Models: infinite words in

  • 2APω.

Example

A model of (p = ⇒ q): p 1 1

  • 0. . .

q 1 1 1

  • 0. . .

Asymptotic behaviour in temporal logic EQINOCS Meeting 4 / 27

slide-6
SLIDE 6

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

EQINOCS’ nails and hammer

... or why this talk is not about LTL(1)

Our problem:

  • “How many” behaviors satisfy a formula?
  • I.e., for infinite behaviors, how many prefixes?

Asymptotic behaviour in temporal logic EQINOCS Meeting 5 / 27

slide-7
SLIDE 7

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

EQINOCS’ nails and hammer

... or why this talk is not about LTL(1)

Our problem:

  • “How many” behaviors satisfy a formula?
  • I.e., for infinite behaviors, how many prefixes?

Our tool: entropy H. For an ω-language L: H(L) = lim sup

n→∞

1 n log #pref(L, n)

Asymptotic behaviour in temporal logic EQINOCS Meeting 5 / 27

slide-8
SLIDE 8

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

EQINOCS’ nails and hammer

... or why this talk is not about LTL(1)

Our problem:

  • “How many” behaviors satisfy a formula?
  • I.e., for infinite behaviors, how many prefixes?

Our tool: entropy H. For an ω-language L: H(L) = lim sup

n→∞

1 n log #pref(L, n)

Example

  • H((a + b)ω) = log 2 = 1;
  • H([

[♦p] ]) = log 2|AP| = |AP| (no constraint most of the time);

  • H([

[♦p] ]) = |AP| (for any prefix, it is always possible to append p).

Asymptotic behaviour in temporal logic EQINOCS Meeting 5 / 27

slide-9
SLIDE 9

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Entroy of LTL: either too hard...

  • r too sad

... or why this talk is not about LTL(2)

  • Unfortunately, except for a few easy and obvious cases

H([ [ϕ] ]) is hard to guess.

Example

One easy case, “liveness” formulas: H([ [♦ψ] ]) = |AP|, where [ [ψ] ] = ∅.

  • Nonetheless, ω-regular languages =

⇒ ∃ translation to (Generalized B¨ uchi) Automata [Couvreur].

  • The usual (but sad!) approach H = log ρ(M) works well

(M: adjacency matrix of the determinization of some subautomaton).

Asymptotic behaviour in temporal logic EQINOCS Meeting 6 / 27

slide-10
SLIDE 10

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL

[Alur, Etessami, LaTorre, Peled ICALP’99]

  • PLTL: LTL with parameters.
  • 2 new parametrized modalities: Ut and Rt

(or equivalently t and ♦t).

  • Model of a PLTL formula: parameter value + behavior.
  • Classical problem: what parameter values make the

formula satisfiable?

Asymptotic behaviour in temporal logic EQINOCS Meeting 7 / 27

slide-11
SLIDE 11

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL

[Alur, Etessami, LaTorre, Peled ICALP’99]

  • PLTL: LTL with parameters.
  • 2 new parametrized modalities: Ut and Rt

(or equivalently t and ♦t).

  • Model of a PLTL formula: parameter value + behavior.
  • Classical problem: what parameter values make the

formula satisfiable? Our problem:

  • For a given parameter value, compute H?

Asymptotic behaviour in temporal logic EQINOCS Meeting 7 / 27

slide-12
SLIDE 12

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL

[Alur, Etessami, LaTorre, Peled ICALP’99]

  • PLTL: LTL with parameters.
  • 2 new parametrized modalities: Ut and Rt

(or equivalently t and ♦t).

  • Model of a PLTL formula: parameter value + behavior.
  • Classical problem: what parameter values make the

formula satisfiable? Our problem:

  • For a given parameter value, compute H → no! (it’s LTL)
  • Look at H when parameter values go to ∞ and compare

with LTL → yes, let’s do this!

Asymptotic behaviour in temporal logic EQINOCS Meeting 7 / 27

slide-13
SLIDE 13

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Outline

1 Introduction 2 PLTL 3 B¨

uAPC

4 Limits of B¨

uAPC+

5 Limits of B¨

uAPC−

6 Conclusion

Asymptotic behaviour in temporal logic EQINOCS Meeting 8 / 27

slide-14
SLIDE 14

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL syntax

A PLTL formula ϕ in positive normal form is as follows: ϕ ::=p | ¬p | ϕ1 ∧ ϕ2 | ϕ1 ∨ ϕ2 propositional logic | ϕ1 | ϕ1Uϕ2 | ϕ1Rϕ2 time modalities | ϕ1Utϕ2 | ϕ1Rtϕ2 parametrized time modalities (p ∈ AP: propositional variable; t ∈ t: formal parameter) Expected syntatic sugar: tϕ ≡⊥ Rtϕ, ♦tϕ ≡ ⊤Utϕ. The following fragments are defined :

  • PLTL♦: PLTL without Rt, “positive fragment”.
  • PLTL: PLTL without Ut, “negative fragment”.

Asymptotic behaviour in temporal logic EQINOCS Meeting 9 / 27

slide-15
SLIDE 15

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

From PLTL, back to LTL

From a PLTL formula ϕ we derive the following LTL formulas:

  • ϕ[v], where v ∈ Nt is a parameter valuation: by

substituting [t ← v(t)] in every Ut and Rt and developping;

Example

(p Utq)[t ← 2] = p U2q = q ∨ (p ∧ q) ∨ (p ∧ (p ∧ q))

  • ϕ∞: by replacing each Ut by U and Rt by R in ϕ.

Example

(p Utq)∞ = p Uq

Asymptotic behaviour in temporal logic EQINOCS Meeting 10 / 27

slide-16
SLIDE 16

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL semantics (1)

Models: For a word w ∈

  • 2APω, a parameter valuation v ∈ Nt

and a PLTL formula ϕ, we say w, v | = ϕ if and only if w | = ϕ[v].

Example

Two models of ϕ1 = (p)Rtq:

  • p

1 1 1

  • 1. . .

q 1 1

  • 0. . . , [t ← 3]
  • p

1

  • 1. . .

q 1 1

  • 0. . . , [t ← 2]

Asymptotic behaviour in temporal logic EQINOCS Meeting 11 / 27

slide-17
SLIDE 17

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL semantics (2)

The language of PLTL formula ϕ with parameters valuation v ∈ Nt is [ [ϕ] ]v = [ [ϕ[v]] ] = {w | w, v | = ϕ}.

Example

Regular expression for [ [♦stp] ]s←2,t←31:

  • ε + true + true2

· ¯ p3ω

1Reminder: the alphabet is 2AP = set of all propositional variables

  • valuations. ¯

p and true are just convenient notations its subsets.

Asymptotic behaviour in temporal logic EQINOCS Meeting 12 / 27

slide-18
SLIDE 18

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Limit entropy problem for PLTL

  • A natural question: does the following indentity hold?

lim

v H([

[ϕ] ]v) = H(ϕ∞)

Asymptotic behaviour in temporal logic EQINOCS Meeting 13 / 27

slide-19
SLIDE 19

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Limit entropy problem for PLTL

  • A natural question: does the following indentity hold?

lim

v H([

[ϕ] ]v) = H(ϕ∞)

  • Obviously, not always: consider ϕ = pUt(p ∧ q).

For all v ∈ N, H ([ [ϕ] ]t←v) = |AP| − 2 but H([ [ϕ∞] ]) = |AP| − 1.

Asymptotic behaviour in temporal logic EQINOCS Meeting 13 / 27

slide-20
SLIDE 20

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Limit entropy problem for PLTL

  • A natural question: does the following indentity hold?

lim

v H([

[ϕ] ]v) = H(ϕ∞)

  • Obviously, not always: consider ϕ = pUt(p ∧ q).

For all v ∈ N, H ([ [ϕ] ]t←v) = |AP| − 2 but H([ [ϕ∞] ]) = |AP| − 1.

  • Objection: the “true limit” of pUt(p ∧ q) is p!

Asymptotic behaviour in temporal logic EQINOCS Meeting 13 / 27

slide-21
SLIDE 21

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Limit entropy problem for PLTL

  • A natural question: does the following indentity hold?

lim

v H([

[ϕ] ]v) = H(ϕ∞)

  • Obviously, not always: consider ϕ = pUt(p ∧ q).

For all v ∈ N, H ([ [ϕ] ]t←v) = |AP| − 2 but H([ [ϕ∞] ]) = |AP| − 1.

  • Objection: the “true limit” of pUt(p ∧ q) is p!
  • Then what about ψ = ♦tp?

(limit: irregular language)

Asymptotic behaviour in temporal logic EQINOCS Meeting 13 / 27

slide-22
SLIDE 22

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Limit entropy problem for PLTL

  • A natural question: does the following indentity hold?

lim

v H([

[ϕ] ]v) = H(ϕ∞)

  • Obviously, not always: consider ϕ = pUt(p ∧ q).

For all v ∈ N, H ([ [ϕ] ]t←v) = |AP| − 2 but H([ [ϕ∞] ]) = |AP| − 1.

  • Objection: the “true limit” of pUt(p ∧ q) is p!
  • Then what about ψ = ♦tp?

(limit: irregular language)

  • Worse: sp ∧ ♦t¬p does not converge, even in H.

Asymptotic behaviour in temporal logic EQINOCS Meeting 13 / 27

slide-23
SLIDE 23

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Our actual result

Theorem (Main)

Given a formula ϕ in PLTL♦ or PLTL,

  • the limit lim

v H ([

[ϕ] ]v) always exists and is computable as logarithm of an algebraic real number;

  • consequently, it is decidable whether

lim

v H ([

[ϕ] ]v) = H ([ [ϕ∞] ]).

Asymptotic behaviour in temporal logic EQINOCS Meeting 14 / 27

slide-24
SLIDE 24

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Our actual result

Theorem (Main)

Given a formula ϕ in PLTL♦ or PLTL,

  • the limit lim

v H ([

[ϕ] ]v) always exists and is computable as logarithm of an algebraic real number;

  • consequently, it is decidable whether

lim

v H ([

[ϕ] ]v) = H ([ [ϕ∞] ]). Method:

1 build parametrized automaton for ϕ; 2 find its “useful part”(independent of parameters value); 3 determinize it, compute its spectral radius, conclude.

Asymptotic behaviour in temporal logic EQINOCS Meeting 14 / 27

slide-25
SLIDE 25

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

“Generalised B¨ uchi automata with parameters and counters” (B¨ uAPC)

Definition (B¨ uAPC with parameter set t)

Tuple A = (Q, Σ, ∆, Ctr, Q0, Acc), where

  • Q, Σ, Q0 ⊆ Q: as usual;
  • Ctr: finite set of time counters;
  • ∆ ⊆ Q × Σ × GCtr,t × 2Ctr × Q: transition relation;
  • Acc ⊆ 2∆: finite set of colours (gen. B¨

uchi conditions). Transitions q

a,g,X

− − − → q′ ∈ ∆: g ∈ GCtr,t is a guard, a ∈ Σ is the action and X ⊆ Ctr is the reset component. Guards: conjunctions

i

ci ⊲ ⊳i ti (ci ∈ Ctr, ti ∈ t).

Asymptotic behaviour in temporal logic EQINOCS Meeting 15 / 27

slide-26
SLIDE 26

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

B¨ uAPC semantics

For a B¨ uAPC B and a valutation v ∈ Nt, Tr(B, v) is a counter transition system:

  • each transition increments all non-reset counters;
  • a transition is firable when counters values satisfy its

guard;

  • a run is accepting when its starts in Q0 and visits every

colour infinitely often (Generalised B¨ uchi condition). p x := 0 ⊤ x ≤ t

Figure: An automaton recognizing the language of formula ♦tp.

Asymptotic behaviour in temporal logic EQINOCS Meeting 16 / 27

slide-27
SLIDE 27

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

PLTL to B¨ uAPC

Two subclasses of B¨ uAPC

uAPC+ : parameters used as upper bounds only.

uAPC− : parameters used as lower bounds only.

Theorem

For a PLTL formula ϕ over AP and t, we can construct a B¨ uAPC A over alphabet 2AP parametrized by t such that

  • for any v ∈ Nt, [

[ϕ] ]v = L(Tr(A, v));

  • if ϕ is in PLTL♦ then A is a B¨

uAPC+;

  • and if ϕ is in PLTL then A is a B¨

uAPC−.

Asymptotic behaviour in temporal logic EQINOCS Meeting 17 / 27

slide-28
SLIDE 28

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Construction sketch

Construction inspired by [Couvreur]:

  • states are consistent sets of subformulas;
  • each “colour” represents an obligation to satisfy an U.

We added counters and guards:

  • one counter per Rt and Ut
  • counters always reset except when relevant

(i.e. within corresponding Rt’s or Ut’s scope)

  • upperbounded guards allow “staying” in the scope of a Ut;
  • lowerbounded guards allow “escaping” the scope of a Rt.

Asymptotic behaviour in temporal logic EQINOCS Meeting 18 / 27

slide-29
SLIDE 29

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Exemple of construction

p ∨ (qUtr) qUtr ∅

2AP, Acc, true, c := 0 p, Acc, true, c + + r, Acc, c < t, c + + q, Acc, c < t, c + + 2AP, Acc, true, c + +

Figure: (simplified) automaton built for p ∨ (qUtr).

Here Acc = ∅ because no U → all infinite runs are accepting.

Asymptotic behaviour in temporal logic EQINOCS Meeting 19 / 27

slide-30
SLIDE 30

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Algorithm for B¨ uAPC+

Data: a B¨ uAPC+ B Result: H = lim

v H(L(B, v)) as log of an algebraic number

SCC ← Tarjan(B); SCCG ← set of non-trivial components resetting all counters; SCCA ← set of accepting non-trivial components; B1 ←trim(B, Q0, SCCA ∩ SCCG) ; /* useful part */ B2 ← finite automaton(restrict(B1, SCCG)); /* restricted to good SCC */ return H(L(B2)). Algorithm 1: computing limit entropy for B¨ uAPC+

Proposition

For a B¨ uAPC+ B, the algorithm above computes H = lim

v H(L(B, v)).

Asymptotic behaviour in temporal logic EQINOCS Meeting 20 / 27

slide-31
SLIDE 31

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Counter abstraction

We construct a symbolic B¨ uchi Automaton:

  • counter values are abstracted to either low or high;
  • locations are splitted w.r.t. all possible sets of high

counters: q → symbolic states (q, C1), (q, C2), . . . Ci ⊆ Ctr;

  • transitions are
  • either normal: they mimick transitions of B
  • or slow: (q, C) → (q, Ctr\R′), simulating the effect of an

iterated cycle testing C ′ ⊆ C and resetting R′ such that C ′ ∩ R′ = ∅.

Asymptotic behaviour in temporal logic EQINOCS Meeting 21 / 27

slide-32
SLIDE 32

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Abstracting counters on an example.

1

x ≥ t ⊤ p ⊤

0,∅ 1,∅

p ⊤

0,{x} 1,{x}

p ⊤ p ⊤ Figure: Concrete and symbolic automaton recognizing the language

  • f the negative formula tp. The dashed arrow represents a slow

transition.

Asymptotic behaviour in temporal logic EQINOCS Meeting 22 / 27

slide-33
SLIDE 33

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Algorithm for B¨ uAPC−

Data: a B¨ uAPC− B Result: lim

v H(L(B, v)) as log of an algebraic number

E ←symbolic(B); /* some transitions labelled as slow */ E1 ←trim(E, Q0 × ∅, Acc); E2 ←finite automaton(restrict(E1, normal transitions)); /* slow transitions removed */ return H(L(E2)); Algorithm 2: computing limit entropy for B¨ uAPC−

Proposition

For a B¨ uAPC− B, the algorithm above computes lim

v H(L(B, v)).

Asymptotic behaviour in temporal logic EQINOCS Meeting 23 / 27

slide-34
SLIDE 34

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Proof sketch

H(L(E2)) ≤ H(L(B, v)):

we prove that Tr(B, v) weakly simulates E. On E2 (in particular its max-H SCC), the simulation is strong (same letters words).

H(L(B, v) ≤ H(L(E2)) + η:

we prove that E simulates Tr(B, v) and can do it by using only some language of “low-density runs”. Low-density runs use slow transitions (∈ E2), but rarely enough so that H(LD) ≤ H(L(E2)) + η.

Asymptotic behaviour in temporal logic EQINOCS Meeting 24 / 27

slide-35
SLIDE 35

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Summary

  • We explored the notion of convergence of

PLTL languages.

  • We proved convergence in entropy for two subclases

(PLTL♦ and PLTL).

  • We defined a new class of automata and wrote the

translation from PLTL.

  • We showed how to compute entropy limits for two

subclasses of B¨ uAPC into which PLTL♦ and PLTL translate.

Asymptotic behaviour in temporal logic EQINOCS Meeting 25 / 27

slide-36
SLIDE 36

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Ongoing and related work

  • entropy of ω-languages (relate to topology);
  • experimental results;
  • related experiments (ex: philosophers, where the

parameter is the # of philsopohers, not a time bound);

  • tool.

Asymptotic behaviour in temporal logic EQINOCS Meeting 26 / 27

slide-37
SLIDE 37

Asymptotic behaviour in temporal logic Aldric Degorre Introduction

Motivation LTL Entropy PLTL

PLTL

PLTL and its fragments Problem and main result

B¨ uAPC

Definitions Building automata for PLTL

Limits of B¨ uAPC+ Limits of B¨ uAPC− Conclusion

Thank you!

Questions?

Asymptotic behaviour in temporal logic EQINOCS Meeting 27 / 27