the first order logic of hyperproperties
play

The First-Order Logic of Hyperproperties Joint work with Bernd - PowerPoint PPT Presentation

The First-Order Logic of Hyperproperties Joint work with Bernd Finkbeiner (Saarland University) Martin Zimmermann Saarland University March, 3rd 2017 RWTH Aachen University, Aachen, Germany Martin Zimmermann Saarland University The


  1. The First-Order Logic of Hyperproperties Joint work with Bernd Finkbeiner (Saarland University) Martin Zimmermann Saarland University March, 3rd 2017 RWTH Aachen University, Aachen, Germany Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 1/19

  2. Hyperproperties I secret O secret S I public O public Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 2/19

  3. Hyperproperties I secret O secret S I public O public The system S is input-deterministic: for all traces t , t ′ of S t = I t ′ t = O t ′ implies Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 2/19

  4. Hyperproperties I secret O secret S I public O public The system S is input-deterministic: for all traces t , t ′ of S t = I t ′ t = O t ′ implies Noninterference: for all traces t , t ′ of S t = I public t ′ t = O public t ′ implies Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 2/19

  5. Hyperproperties Both properties are not trace properties, but hyperproperties, i.e., sets of sets of traces. A system S satisfies a hyperproperty H , if Traces ( S ) ∈ H . Many information flow properties can be expressed as hyperproperties. Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 3/19

  6. Hyperproperties Both properties are not trace properties, but hyperproperties, i.e., sets of sets of traces. A system S satisfies a hyperproperty H , if Traces ( S ) ∈ H . Many information flow properties can be expressed as hyperproperties. Specification languages for hyperproperties [Clarkson et al. ’14] HyperLTL: Extend LTL by trace quantifiers. HyperCTL ∗ : Extend CTL ∗ by trace quantifiers. Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 3/19

  7. HyperLTL HyperLTL = LTL + ψ ::= a | ¬ ψ | ψ ∨ ψ | X ψ | ψ U ψ where a ∈ AP (atomic propositions) Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 4/19

  8. HyperLTL HyperLTL = LTL + trace quantification ϕ ::= ∃ π. ϕ | ∀ π. ϕ | ψ ψ ::= a π | ¬ ψ | ψ ∨ ψ | X ψ | ψ U ψ where a ∈ AP (atomic propositions) and π ∈ V (trace variables). Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 4/19

  9. HyperLTL HyperLTL = LTL + trace quantification ϕ ::= ∃ π. ϕ | ∀ π. ϕ | ψ ψ ::= a π | ¬ ψ | ψ ∨ ψ | X ψ | ψ U ψ where a ∈ AP (atomic propositions) and π ∈ V (trace variables). Shortcuts as usual: G ψ = ¬ F ¬ ψ F ψ = true U ψ Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 4/19

  10. Semantics ϕ = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) T ⊆ (2 AP ) ω is a model of ϕ iff Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 5/19

  11. Semantics ϕ = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) T ⊆ (2 AP ) ω is a model of ϕ iff = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) {} | Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 5/19

  12. Semantics ϕ = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) T ⊆ (2 AP ) ω is a model of ϕ iff = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) {} | = ∀ π ′ . G ( on π ↔ on π ′ ) { π �→ t } | for all t ∈ T Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 5/19

  13. Semantics ϕ = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) T ⊆ (2 AP ) ω is a model of ϕ iff = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) {} | = ∀ π ′ . G ( on π ↔ on π ′ ) { π �→ t } | for all t ∈ T { π �→ t , π ′ �→ t ′ } | for all t ′ ∈ T = G ( on π ↔ on π ′ ) Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 5/19

  14. Semantics ϕ = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) T ⊆ (2 AP ) ω is a model of ϕ iff = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) {} | = ∀ π ′ . G ( on π ↔ on π ′ ) { π �→ t } | for all t ∈ T { π �→ t , π ′ �→ t ′ } | for all t ′ ∈ T = G ( on π ↔ on π ′ ) { π �→ t [ n , ∞ ) , π ′ �→ t ′ [ n , ∞ ) } | = on π ↔ on π ′ for all n ∈ N Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 5/19

  15. Semantics ϕ = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) T ⊆ (2 AP ) ω is a model of ϕ iff = ∀ π. ∀ π ′ . G ( on π ↔ on π ′ ) {} | = ∀ π ′ . G ( on π ↔ on π ′ ) { π �→ t } | for all t ∈ T { π �→ t , π ′ �→ t ′ } | for all t ′ ∈ T = G ( on π ↔ on π ′ ) { π �→ t [ n , ∞ ) , π ′ �→ t ′ [ n , ∞ ) } | = on π ↔ on π ′ for all n ∈ N on ∈ t ( n ) ⇔ on ∈ t ′ ( n ) Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 5/19

  16. LTL vs. HyperLTL LTL has many desirable properties. 1. Every satisfiable LTL formula is satisfied by an ultimately periodic trace, i.e., by a finite and finitely-represented model. 2. LTL and FO[ < ] are expressively equivalent. 3. LTL satisfiability and model-checking are PSpace -complete. Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 6/19

  17. LTL vs. HyperLTL LTL has many desirable properties. 1. Every satisfiable LTL formula is satisfied by an ultimately periodic trace, i.e., by a finite and finitely-represented model. 2. LTL and FO[ < ] are expressively equivalent. 3. LTL satisfiability and model-checking are PSpace -complete. Only partial results for HyperLTL. 3a. HyperLTL satisfiability [F. & Hahn ’16] : alternation-free: PSpace -complete ∃ ∗ ∀ ∗ : ExpSpace -complete ∀ ∗ ∃ ∗ : undecidable 3b. HyperLTL model-checking is decidable [F. et al. ’15] . Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 6/19

  18. The Models of HyperLTL Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 7/19

  19. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  20. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) ∃ π. a π Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  21. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) ∃ π. a π { a } ∅ ∅ ∅ ∅ ∅ ∅ ∅ · · · Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  22. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) ∃ π. a π ∀ π. ∃ π ′ . F ( a π ∧ X a π ′ ) { a } ∅ ∅ ∅ ∅ ∅ ∅ ∅ · · · Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  23. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) ∃ π. a π ∀ π. ∃ π ′ . F ( a π ∧ X a π ′ ) { a } ∅ ∅ ∅ ∅ ∅ ∅ ∅ · · · ∅ { a } ∅ ∅ ∅ ∅ ∅ ∅ · · · Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  24. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) ∃ π. a π ∀ π. ∃ π ′ . F ( a π ∧ X a π ′ ) { a } ∅ ∅ ∅ ∅ ∅ ∅ ∅ · · · ∅ { a } ∅ ∅ ∅ ∅ ∅ ∅ · · · ∅ ∅ { a } ∅ ∅ ∅ ∅ ∅ · · · . . . . . . . . . . . . . . . . . . . . . . . . The unique model of ϕ is {∅ n { a } ∅ ω | n ∈ N } . Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  25. What about Finite Models? Fix AP = { a } and consider the conjunction ϕ of ∀ π. ( ¬ a π ) U ( a π ∧ X G ¬ a π ) ∃ π. a π ∀ π. ∃ π ′ . F ( a π ∧ X a π ′ ) { a } ∅ ∅ ∅ ∅ ∅ ∅ ∅ · · · ∅ { a } ∅ ∅ ∅ ∅ ∅ ∅ · · · ∅ ∅ { a } ∅ ∅ ∅ ∅ ∅ · · · . . . . . . . . . . . . . . . . . . . . . . . . The unique model of ϕ is {∅ n { a } ∅ ω | n ∈ N } . Theorem There is a satisfiable HyperLTL sentence that is not satisfied by any finite set of traces. Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 8/19

  26. What about Countable Models? Theorem Every satisfiable HyperLTL sentence has a countable model. Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 9/19

  27. What about Countable Models? Theorem Every satisfiable HyperLTL sentence has a countable model. Proof W.l.o.g. ϕ = ∀ π 0 . ∃ π ′ 0 . · · · ∀ π k . ∃ π ′ k . ψ with quantifier-free ψ . Fix a Skolem function f j for every existentially quantified π ′ j . Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 9/19

  28. What about Countable Models? Theorem Every satisfiable HyperLTL sentence has a countable model. Proof W.l.o.g. ϕ = ∀ π 0 . ∃ π ′ 0 . · · · ∀ π k . ∃ π ′ k . ψ with quantifier-free ψ . Fix a Skolem function f j for every existentially quantified π ′ j . t Martin Zimmermann Saarland University The First-Order Logic of Hyperproperties 9/19

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend