How to make a logic probabilistic? Pedro Baltazar SQIG - IT, Lisbon - - PowerPoint PPT Presentation

how to make a logic probabilistic
SMART_READER_LITE
LIVE PREVIEW

How to make a logic probabilistic? Pedro Baltazar SQIG - IT, Lisbon - - PowerPoint PPT Presentation

How to make a logic probabilistic? Pedro Baltazar SQIG - IT, Lisbon - Portugal pedro.baltazar@ist.utl.pt CMU, CMACS Seminar - January 14th, 2010 Sources: D. Henriques, M. Biscaia, P. Baltazar, and P. Mateus, Probabilistic quantified linear


slide-1
SLIDE 1

How to make a logic probabilistic?

Pedro Baltazar

SQIG - IT, Lisbon - Portugal pedro.baltazar@ist.utl.pt

CMU, CMACS Seminar - January 14th, 2010

slide-2
SLIDE 2

Sources:

  • D. Henriques, M. Biscaia, P. Baltazar, and P. Mateus,

Probabilistic quantified linear temporal logic: Model checking, SAT and complete Hilbert calculus. submitted for publication.

  • P. Baltazar and P. Mateus.

Temporalization of probabilistic propositional logic. LFCS 2009, LNCS, 2009.

  • P. Baltazar, P. Mateus, R. Nagarajan, and N. Papanikolaou.

Exogenous probabilistic computation tree logic. Electronic Notes in Theoretical Computer Science, 190(3) : 95–110, 2007.

slide-3
SLIDE 3

CPS : Cyber-Physical Systems

❅ ❅ ❅ ❅

slide-4
SLIDE 4

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

❅ ❅ ❅ ❅

slide-5
SLIDE 5

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

slide-6
SLIDE 6

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

✛ ✚ ✘ ✙

System_servers{ · · · }

slide-7
SLIDE 7

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

✛ ✚ ✘ ✙

System_servers{ · · · }

✛ ✚ ✘ ✙

System_train{ · · · }

slide-8
SLIDE 8

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

property: ϕ = “Always ( NOT car_train_crash )”

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

✛ ✚ ✘ ✙

System_servers{ · · · }

✛ ✚ ✘ ✙

System_train{ · · · }

slide-9
SLIDE 9

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

property: ϕ = “Always ( NOT car_train_crash )” ϕ1 ϕ2 ϕ3 ϕ4

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

✛ ✚ ✘ ✙

System_servers{ · · · }

✛ ✚ ✘ ✙

System_train{ · · · }

slide-10
SLIDE 10

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

property: ϕ = “ALWAYS ( NOT car_train_crash )” ϕ1 ϕ2 ϕ3 ϕ4

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

✛ ✚ ✘ ✙

System_servers{ · · · }

✛ ✚ ✘ ✙

System_train{ · · · }

slide-11
SLIDE 11

CPS : Cyber-Physical Systems ✬ ✫ ✩ ✪

System_pc{

  • language;

// syntax

  • specification; // theory
  • r/and
  • model(s) } // semantics

YES or NO ϕ

❅ ❅ ❅ ❅ ✛ ✚ ✘ ✙

System_car{ · · · }

✛ ✚ ✘ ✙

System_servers{ · · · }

✛ ✚ ✘ ✙

System_train{ · · · }

slide-12
SLIDE 12

(some) Logics in Verification non-probabilistic probabilistic Propositional logic Modal logic, CTL, LTL First-order theories: Presburger arithmetic Pointer logic . . . Separation logic Duration calculus Metric temporal logic Differential dynamic logic . . . PCTL and PCTL* Continuous stochastic logic . . .

slide-13
SLIDE 13

Outline

1 Exogenous Combination of Logics 2 Probabilization of Logics:

(generic) SAT completeness

3 Examples:

EPPL - Probabilistic propositional logic PTL - Probabilistic temporal logic CTPL - Temporal EPPL

slide-14
SLIDE 14

Exogenous Combination of Logics

Definition (Satisfaction system) Let L be a set of formulas, M a class of models and ⊆ M × L a satisfaction relation. The tuple S = L, M, is a satisfaction system.

slide-15
SLIDE 15

Exogenous Combination of Logics

Definition (Satisfaction system) Let L be a set of formulas, M a class of models and ⊆ M × L a satisfaction relation. The tuple S = L, M, is a satisfaction system. Definition (Morphism and weak morphism) A morphism h : S → S ′ is a pair h, h, with h : L → L′ and h : M′ → 2M morphism: for all m ∈ h(m′), m ϕ iff m′ ′ h(ϕ)

slide-16
SLIDE 16

Exogenous Combination of Logics

Definition (Satisfaction system) Let L be a set of formulas, M a class of models and ⊆ M × L a satisfaction relation. The tuple S = L, M, is a satisfaction system. Definition (Morphism and weak morphism) A morphism h : S → S ′ is a pair h, h, with h : L → L′ and h : M′ → 2M morphism: for all m ∈ h(m′), m ϕ iff m′ ′ h(ϕ) weak morphism: exists m ∈ h(m′), m ϕ iff m′ ′ h(ϕ) for all ϕ ∈ L and for all m′ ∈ Mh

def

= {m′ ∈ M′ : h(m′) = ∅}.

slide-17
SLIDE 17

1 - Exogenous Combination of Logics

Definition ((Weak) equivalent systems) S and S ′ are (resp. weak) equivalent if there are (resp. weak) total morphisms h : S → S ′ and h′ : S ′ → S such that ϕ

  • ′ h

′(h(ϕ))

and ψ

  • h(h

′(ψ)),

for ϕ ∈ L, ψ ∈ L′. Denoted by equivalent, S1 ≅S S2 weak equivalent, S1 ≅w

S S2

slide-18
SLIDE 18

1 - Exogenous Combination of Logics

Definition ((Weak) equivalent systems) S and S ′ are (resp. weak) equivalent if there are (resp. weak) total morphisms h : S → S ′ and h′ : S ′ → S such that ϕ

  • ′ h

′(h(ϕ))

and ψ

  • h(h

′(ψ)),

for ϕ ∈ L, ψ ∈ L′. Denoted by equivalent, S1 ≅S S2 weak equivalent, S1 ≅w

S S2

Proposition ( L, M1, 1 ≅S L, M2, 2 ) Γ 1 ϕ iff Γ 2 ϕ. Proposition ( L, M1, 1 ≅w

S L, M2, 2

) 1 ϕ iff 2 ϕ.

slide-19
SLIDE 19

Exogenous Combination of Logics

Let h1 : S → S1 and h2 : S → S2 be morphisms. S1 S

h1

  • h2 S2
slide-20
SLIDE 20

Exogenous Combination of Logics

Let h1 : S → S1 and h2 : S → S2 be morphisms. S1 S

h1

  • h2 S2

Idea: S1 ⊗ S2 = L1 ⊗ L2, M′, ′, with M′ ⊆ M1 × M2 Example (Parametrization) S(h1⇒h2) = L1, M(h1⇒h2), 1, where M(h1⇒h2) = {m ∈ Mh1 : h1(m) ⊆ h2(M2)}.

slide-21
SLIDE 21

2 - Exogenous Probabilization of Logics

Definition (probabilization + globalization) The probabilization + globalization operator transforms L, M, into the system S (p+g) = L(p+g), M(p+g), (p+g): L(p+g) is (with β ∈ L and r ∈ Alg(R)) t ::= r

  • β (t + t) (t.t)

ϕ ::= [β] (t < t) (∼ϕ) (ϕ ❂ ϕ);

slide-22
SLIDE 22

2 - Exogenous Probabilization of Logics

Definition (probabilization + globalization) The probabilization + globalization operator transforms L, M, into the system S (p+g) = L(p+g), M(p+g), (p+g): L(p+g) is (with β ∈ L and r ∈ Alg(R)) t ::= r

  • β (t + t) (t.t)

ϕ ::= [β] (t < t) (∼ϕ) (ϕ ❂ ϕ); M(p+g) is the class of all m = S, F, P, V , where S, F, P is a probability space, and V : S → M is a measurable valuation, i.e. V −1[β]

def

= {s ∈ S : V (s) β} ∈ F;

slide-23
SLIDE 23

2 - Exogenous Probabilization of Logics

Definition (probabilization + globalization) The probabilization + globalization operator transforms L, M, into the system S (p+g) = L(p+g), M(p+g), (p+g): L(p+g) is (with β ∈ L and r ∈ Alg(R)) t ::= r

  • β (t + t) (t.t)

ϕ ::= [β] (t < t) (∼ϕ) (ϕ ❂ ϕ); M(p+g) is the class of all m = S, F, P, V , where S, F, P is a probability space, and V : S → M is a measurable valuation, i.e. V −1[β]

def

= {s ∈ S : V (s) β} ∈ F; the satisfaction relation (p+g) is given by

[ [

  • β]

]m = P(V −1[β]) m (p+g) [β] iff V (S) β;

(. . . )

slide-24
SLIDE 24

2 - Exogenous Probabilization of Logics

weak morphism hp : S p → SRCF({xβ : β ∈ L} ∪ Xalg ∪ X) ∆p

S - probabilistic (sub)theory of S in RCF

slide-25
SLIDE 25

2 - Exogenous Probabilization of Logics

weak morphism hp : S p → SRCF({xβ : β ∈ L} ∪ Xalg ∪ X) ∆p

S - probabilistic (sub)theory of S in RCF

finite ∆Σ

ϕ ⊆ LRCF, such that ∆p S RCF ϕ iff ∆ϕ Σ RCF ϕ

slide-26
SLIDE 26

2 - Exogenous Probabilization of Logics

weak morphism hp : S p → SRCF({xβ : β ∈ L} ∪ Xalg ∪ X) ∆p

S - probabilistic (sub)theory of S in RCF

finite ∆Σ

ϕ ⊆ LRCF, such that ∆p S RCF ϕ iff ∆ϕ Σ RCF ϕ

slide-27
SLIDE 27

2 - Exogenous Probabilization of Logics

weak morphism hp : S p → SRCF({xβ : β ∈ L} ∪ Xalg ∪ X) ∆p

S - probabilistic (sub)theory of S in RCF

finite ∆Σ

ϕ ⊆ LRCF, such that ∆p S RCF ϕ iff ∆ϕ Σ RCF ϕ

Proposition (Transference of SAT) ϕ has a model in Mp iff hp(ϕ) ∧ ∆Σ

ϕ has a model in RX.

slide-28
SLIDE 28

2 - Exogenous Probabilization of Logics

weak morphism hp : S p → SRCF({xβ : β ∈ L} ∪ Xalg ∪ X) ∆p

S - probabilistic (sub)theory of S in RCF

finite ∆Σ

ϕ ⊆ LRCF, such that ∆p S RCF ϕ iff ∆ϕ Σ RCF ϕ

Proposition (Transference of SAT) ϕ has a model in Mp iff hp(ϕ) ∧ ∆Σ

ϕ has a model in RX.

Theorem (SAT complexity lower-bound) The SAT problem for S p is at least PSPACE and obtaining a witness is at least EXPSPACE. Proposition (Transference of weak completeness) The axiomatization AXp

S def

= h−1

p (AXRCF + ∆p S ) is a sound and

weakly complete axiomatization for S p.

slide-29
SLIDE 29

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ

slide-30
SLIDE 30

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ atb(ϕ) = {(∧i∈Aβi) ∧ (∧i∈A¬βi) : A ∈ 2k} - atomic fml. for ϕ

slide-31
SLIDE 31

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ atb(ϕ) = {(∧i∈Aβi) ∧ (∧i∈A¬βi) : A ∈ 2k} - atomic fml. for ϕ Γϕ,N is the set of all β ∈ atb(ϕ) such that g (ϕ ❂ [¬β])

slide-32
SLIDE 32

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ atb(ϕ) = {(∧i∈Aβi) ∧ (∧i∈A¬βi) : A ∈ 2k} - atomic fml. for ϕ Γϕ,N is the set of all β ∈ atb(ϕ) such that g (ϕ ❂ [¬β]) let ψg = (⊓β∈Γϕ,N [¬β]) and ψp = (⊓β∈Γϕ,N (

  • β = 0))
slide-33
SLIDE 33

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ atb(ϕ) = {(∧i∈Aβi) ∧ (∧i∈A¬βi) : A ∈ 2k} - atomic fml. for ϕ Γϕ,N is the set of all β ∈ atb(ϕ) such that g (ϕ ❂ [¬β]) let ψg = (⊓β∈Γϕ,N [¬β]) and ψp = (⊓β∈Γϕ,N (

  • β = 0))
slide-34
SLIDE 34

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ atb(ϕ) = {(∧i∈Aβi) ∧ (∧i∈A¬βi) : A ∈ 2k} - atomic fml. for ϕ Γϕ,N is the set of all β ∈ atb(ϕ) such that g (ϕ ❂ [¬β]) let ψg = (⊓β∈Γϕ,N [¬β]) and ψp = (⊓β∈Γϕ,N (

  • β = 0))

Let ϕg ∈ Lg and ϕp ∈ Lp. Proposition A formula (ϕg ⊓ ϕp) is satisfiable iff ϕg and (ϕp ⊓ ψp) are satisfiable.

slide-35
SLIDE 35

2 - Exogenous Probabilization of Logics

Let ϕ ∈ L(p+g) bf(ϕ) = {β1, . . . , βk} - base formulas in ϕ atb(ϕ) = {(∧i∈Aβi) ∧ (∧i∈A¬βi) : A ∈ 2k} - atomic fml. for ϕ Γϕ,N is the set of all β ∈ atb(ϕ) such that g (ϕ ❂ [¬β]) let ψg = (⊓β∈Γϕ,N [¬β]) and ψp = (⊓β∈Γϕ,N (

  • β = 0))

Let ϕg ∈ Lg and ϕp ∈ Lp. Proposition A formula (ϕg ⊓ ϕp) is satisfiable iff ϕg and (ϕp ⊓ ψp) are satisfiable. Theorem (Transference of SAT) If the SAT problem is solvable in S , then it is solvable in S (p+g).

slide-36
SLIDE 36

2 - Exogenous Probabilization of Logics

Schema axiom: IN ([β] ❂ (

  • β = 1))
slide-37
SLIDE 37

2 - Exogenous Probabilization of Logics

Schema axiom: IN ([β] ❂ (

  • β = 1))

Theorem (Transference of weak completeness) If S has a weakly complete axiomatization AXS , then AX(p+g)

S def

= AXp

S + AXg S + IN

is a weakly complete for S (p+g). Theorem (small-model theorem) Every ϕ satisfiable has a model (probability dist.) of 2 × size(ϕ). Theorem (SAT complexity lower-bound) The SAT problem for S (p+g) is at least PSPACE and obtaining a witness is at least EXPSPACE.

slide-38
SLIDE 38

2 - Exogenous Probabilization of Logics

Algorithm 1: Sat(p+g)

S

(ϕ)

Input: formula ϕ ∈ L(p+g) Output: m = M, P (m (p+g) ϕ) or ∅ (No Model)

1 foreach ϕi = (ϕi,g ⊓ ϕi,p) molecule of ϕ do 2

foreach Γ ⊆ atb(ϕ) of size ≤ 2 × Size(ϕ) do

3

M = ∅;

4

foreach β ∈ Γ do

5

mβ ← − SatS (β); M = M ∪ {mβ};

6

end

7

if M = ∅ and M g ϕi,g then

8

φ ← − hp(ϕi,p ⊓ ψi,p);

9

δ ← − φ ∧ ∆Σ

φ(Γ);

10

η ← − SatRCF(δ);

11

if η = ∅ then return m = M, Pη;

12

end

13

end

14 end 15 return ∅ (No Model);

slide-39
SLIDE 39

EPPL - Probabilistic propositional logic

Let Λ be a countable set of propositional symbols. Definition (EPPL) SEPPL(Λ) = LEPPL(Λ), MEPPL, EPPL: set of formulas LEPPL(Λ) is β ::= α (¬β) (β ⇒ β) t ::= r

  • β (t + t) (t.t)

ϕ ::= [β] (t < t) (∼ϕ) (ϕ ❂ ϕ) with α ∈ Λ and r ∈ Alg(R); Let {Xα : Ω → 2}α∈Λ be a stochastic process over Ω, F, P. X(¬β) = 1 − Xβ; X(β1⇒β2) = max{1 − Xβ1, Xβ2}.

slide-40
SLIDE 40

EPPL - Semantics

Definition (EPPL (cont.)) the class of models MEPPL are the tuples m = S, F, P, X such that X := {Xα : S → 2}α∈Λ is a stochastic process over S, F, P; the satisfaction relation EPPL is defined by:

[ [r] ]m = r; [ [

  • β]

]m = P(Xβ = 1) [ [t1 + t2] ]m = [ [t1] ]m + [ [t2] ]m; [ [t1.t2] ]m = [ [t1] ]m.[ [t2] ]m; m EPPL [β] iff Xβ(s) = 1 for all s ∈ S; m EPPL (t1 < t2) iff [ [t1] ]m < [ [t2] ]m; m EPPL (∼ϕ) iff m EPPL ϕ; m EPPL (ϕ1 ❂ ϕ2) iff m EPPL ϕ1 or m EPPL ϕ2,

for m ∈ MEPPL and ϕ ∈ LEPPL(Λ).

slide-41
SLIDE 41

title

Theorem (equivalence) SEPPL(Λ) ≅S S (p+g)

CPL

(Λ). Corollary (weak completeness) The axiomatization AX(p+g)

CPL

is weakly complete and sound for the satisfaction system SEPPL(Λ). Theorem (SAT complexity) The SAT problem for EPPL is PSPACE, and providing a witness (a model) is EXPSPACE. Theorem (model-checking complexity) It takes O(|ϕ| × |S|) time to decide if an EPPL model m = S, P, X satisfies ϕ.

slide-42
SLIDE 42

EPPL - SAT

Algorithm 2: SAT(ϕ) Input: formula ϕ ∈ L(p+g)(Λ) Output: m = M, P (m (p+g)

CPL

ϕ) or ∅ (No Model)

1 foreach ϕi = (ϕi,g ⊓ ϕi,p) molecule of ϕ do 2

foreach M ⊆ 2Λ(ϕ) of size(M) ≤ 2 × Size(ϕi) do

3

if M g ϕi,g then

4

φ ← − hp(ϕi,p ⊓ ψi,p);

5

ψ ← − φ ∧ ∆Σ

φ(M); 6

η ← − SatRCF(ψ);

7

if η = ∅ then return m = M, Pη;

8

end

9

end

10 end 11 return ∅ (No Model);

slide-43
SLIDE 43

EPPL - Axiomatization

AXEPPL is G1 ⊢EPPL [β] for all valid β ∈ LCPL(Λ); G2 ⊢EPPL ([β1 ⇒ β2] ❂ ([β1] ❂ [β2])); IN ⊢EPPL ([β] ❂ (

  • β = 1)) ;

EqN ⊢EPPL (

  • ¬β = 1 −
  • β);

EqP ⊢EPPL (

  • β ≥ 0) ;

EqA ⊢EPPL (

  • (β1 ∨ β2) =
  • β1 +
  • β2 −
  • (β1 ∧ β2));

RCF ⊢EPPL ϕ if hp(ϕ) ∧ (∧r∈alg(ϕ)ϕr(xr)) is a valid formula in the real closed fields - RCF; MP ϕ1, (ϕ1 ❂ ϕ2) ⊢EPPL ϕ2.

slide-44
SLIDE 44

EPPL - Application: Faulty Hardware

α1 α2 α4 α3 α5 α6

Figure: AND-OR-INVERTER (AOI21)

slide-45
SLIDE 45

EPPL - Application: Faulty Hardware

α1 α2 α4 α3 α5 α6

Figure: AND-OR-INVERTER (AOI21)

implementation: (

  • (α4 ⇔ α1 ∧ α2) > 0.97)⊓(
  • (α5 ⇔ α3 ∨ α4) > 0.99)⊓[(α6⇔¬α5)]
slide-46
SLIDE 46

EPPL - Application: Faulty Hardware

α1 α2 α4 α3 α5 α6

Figure: AND-OR-INVERTER (AOI21)

implementation: (

  • (α4 ⇔ α1 ∧ α2) > 0.97)⊓(
  • (α5 ⇔ α3 ∨ α4) > 0.99)⊓[(α6⇔¬α5)]

specification: (

  • α6 ⇔ ¬(α3 ∨ (α1 ∧ α2)) ≥ 0.98)
slide-47
SLIDE 47

EPPL - Application: Boolean Probabilistic Programs

1) x = rand(); 2) y = rand(); 3) y = x ∨ y; 4) if (x) { 5) x = ¬ x; 6) else 7) x = x ∨ y; } ϕP = (

  • αx1 = 0.5) ⊓ (
  • αy1 = 0.5)⊓

⊓[αy2 ⇔ αx1 ∨ αy1] ⊓ [αx3 ⇔ ¬αx2]⊓ ⊓[αx4 ⇔ (αx2 ∨ αy2)]⊓ ⊓[αx5 ⇔ (αx2?αx3 : αx4)]

Table: Translation to EPPL formula

ϕsaf = ((

  • αx1 ≤ 0.5) ⊓ (
  • αx2 ≤ 0.5) ⊓ . . . ⊓ (
  • αx5 ≤ 0.5))
slide-48
SLIDE 48

EPPL - Application: Boolean Probabilistic Programs

1) x = rand(); 2) y = rand(); 3) y = x ∨ y; 4) if (x) { 5) x = ¬ x; 6) else 7) x = x ∨ y; } ϕP = (

  • αx1 = 0.5) ⊓ (
  • αy1 = 0.5)⊓

⊓[αy2 ⇔ αx1 ∨ αy1] ⊓ [αx3 ⇔ ¬αx2]⊓ ⊓[αx4 ⇔ (αx2 ∨ αy2)]⊓ ⊓[αx5 ⇔ (αx2?αx3 : αx4)]

Table: Translation to EPPL formula

ϕsaf = ((

  • αx1 ≤ 0.5) ⊓ (
  • αx2 ≤ 0.5) ⊓ . . . ⊓ (
  • αx5 ≤ 0.5))

SAT((ϕP ⊓ ∼ϕsaf)) =?

slide-49
SLIDE 49

PTL- Probabilistic LTL

Let Λ be a countable set of propositional symbols. Definition (PTL) The probabilistic temporal logic (PTL) over Λ, is the system SPTL(Λ) = LPTL(Λ), MPTL, PTL where LPTL(Λ) is β ::= α (¬β) (β ⇒ β) (Xβ) (βUβ) t ::= r (

  • β) (t + t) (t.t)

ϕ ::= [β] (t ≤ t) (∼ϕ) (ϕ ❂ ϕ) with α ∈ Λ, and r ∈ alg(R); {Xα : S → 2}α∈Λ is extended to a stochastic process over Sω, F, P (sequence space of a Markov chain). X(Xβ)(π) = Xβ(π(1)) X(β1Uβ2)(π) = Xβ2(π) + X(¬β2)(π).Xβ1(π).X(β1Uβ2)(π(1))

slide-50
SLIDE 50

PTL- Semantics

Definition (PTL (cont.)) MPTL is the class of tuples m = S, P, µ, V where S, P, µ is a Markov chain and V : S → 2Λ; PTL is defined by

[ [r] ]m = r; [ [

  • β]

]m = P(Xβ = 1); [ [t1 + t2] ]m = [ [t1] ]m + [ [t2] ]m; [ [t1.t2] ]m = [ [t1] ]m.[ [t2] ]m; m PTL [β] iff Km LTL β; m PTL (t1 < t2) iff [ [t1] ]m < [ [t2] ]m; m PTL (∼ϕ) iff m PTL ϕ; m PTL (ϕ1 ❂ ϕ2) iff m PTL ϕ1 or m PTL ϕ2,

for m ∈ MPTL and ϕ ∈ LPTL(Λ).

slide-51
SLIDE 51

PTL- SAT

Proposition (Exogenous weak equivalent) SPTL(Λ) ≅w

S S (p+g)

LTL

(Λ). Corollary (Transference of weak completeness) The axiomatization AX(p+g)

LTL

def

= AXg

LTL + AXp LTL + IN

is a sound and weakly complete axiomatization for SPTL(Λ). Theorem (Transference of SAT) The SAT problem for PTL is PSPACE and obtaining a witness (model) is EXPSPACE.

slide-52
SLIDE 52

Temporal EPPL

Definition (CTPL) Consider the system SCTPL(Λ) = LCTPL(Λ), MCTPL, CTPL, LCTPL(Λ) is

ϕ := β (¬ϕ) (ϕ ⇒ ϕ) (AXϕ) (A(ϕUϕ)) (AGϕ)

with β ∈ LEPPL(Λ); MCTPL is the class of tuples m = S, R, V : S → MEPPL, where S, R is a Kripke frame; CTPL is defined by

m, s CTPL β iff V (s) EPPL β; ... (as in CTL)

slide-53
SLIDE 53

Temporal EPPL

SCTL(Λ′) SCPL(Λ′)

h1

  • h2

SEPPL(Λ)

Proposition (Equivalence) S(h1⇒h2) ≅S SCTPL(Λ). Theorem (Transference of weak completeness) The axiomatization AXCTL + h1(h−1

2 (AXEPPL)) is weakly complete

and sound for SCTPL(Λ). Theorem (SAT complexity) The satisfaction problem for CTPL is 2EXPTIME.

slide-54
SLIDE 54

Future work

Future Work: study exogenous combination as a generic tool to analyze heterogeneous systems (cyber-physical systems):

automatic methods to combine systems; generalize Nelson-Oppen combination procedure; reuse of SAT and model-checking procedures (tools).

investigate Craig’s interpolation on probabilistic logics; developed non-Hilbert calculus for probabilistic logics (to applied in verification by rewriting)