Hyperproperty

In computer science, hyperproperties are a formalism for describing properties of computational systems. Hyperproperties generalize safety and liveness properties, and can express properties such as non-interference and observational determinism.

Definitions

Traces and systems

Hyperproperties are defined in terms of traces of a computational system. A trace is a sequence of states; a system is a set of traces. Intuitively, a program corresponds to the set of all of its possible execution traces, given any inputs. Formally, the set of traces over a set of states is .

This representation is expressive enough to encompass several computational models, including labeled transition systems[1] and state machines.[2]

Hyperproperties

A trace property is a set of traces. Safety and liveness properties are trace properties. Formally, a trace property is an element of , where is the powerset operator. A hyperproperty is a set of trace properties, that is, an element of .

Trace properties may be divided into safety properties (intuitively, properties that ensure "bad things don't happen") and liveness properties ("good things do happen"), and every trace property is the intersection of a safety property and a liveness property.[3] Analogously, hyperproperties may be divided into hypersafety and hyperliveness hyperproperties, and every hyperproperty is an intersection of a safety hyperproperty and a liveness hyperproperty.[4]

-safety properties are safety hyperproperties such that every violation of the property can be witnessed by a set of at most traces.[5]

Examples

Properties

Since hyperproperties are exactly the elements of the power set , they are closed under intersection and union.

The lower Vietoris topology of a standard topology on trace properties yields a topology on the set of hyperproperties.[12]

Applications

Several program logics[10][13] (most notably, HyperLTL[14]) and model checking algorithms[15][16] have been developed for checking that a system conforms to a hyperproperty.

References

Notes

  1. Clarkson & Schneider, p. 23: "A labeled transition system [...] can be encoded as a set of traces.".
  2. Clarkson & Schneider, p. 25: "A state machine M [...] can be encoded as a set of traces.".
  3. Alpern, Bowen; Schneider, Fred B. (1985-10-07). "Defining liveness". Information Processing Letters. 21 (4): 181–185. doi:10.1016/0020-0190(85)90056-0. ISSN 0020-0190.
  4. Clarkson & Schneider, p. 21.
  5. Finkbeiner, Bernd; Haas, Lennart; Torfah, Hazem (June 2019). "Canonical Representations of k-Safety Hyperproperties". 2019 IEEE 32nd Computer Security Foundations Symposium (CSF): 17–1714. doi:10.1109/CSF.2019.00009. ISBN 978-1-7281-1407-1. S2CID 201848133.
  6. Clarkson & Schneider, p. 11: "Safety properties lift to safety hyperproperties".
  7. Clarkson & Schneider, p. 15: "The hyperproperty false, defined as \{\emptyset\}, is hypersafety but not hyperliveness"..
  8. Clarkson & Schneider, p. 44.
  9. Clarkson & Schneider.
  10. Sousa & Dillig.
  11. Clarkson & Schneider, p. 13: "observational determinism OD (2.6) cannot be expressed as a 2-safety property, but it is a 2-safety hyperproperty".
  12. Clarkson & Schneider, p. 19.
  13. Dardinier, Thibault; Müller, Peter (2023-01-24). "Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties (extended version)". arXiv:2301.10037 [cs.LO].
  14. Clarkson, Michael R.; Finkbeiner, Bernd; Koleini, Masoud; Micinski, Kristopher K.; Rabe, Markus N.; Sánchez, César (2014). Abadi, Martín; Kremer, Steve (eds.). "Temporal Logics for Hyperproperties". Principles of Security and Trust. Lecture Notes in Computer Science. Berlin, Heidelberg: Springer. 8414: 265–284. doi:10.1007/978-3-642-54792-8_15. ISBN 978-3-642-54792-8. S2CID 8938993.
  15. Finkbeiner, Bernd; Rabe, Markus N.; Sánchez, César (2015). Kroening, Daniel; Păsăreanu, Corina S. (eds.). "Algorithms for Model Checking HyperLTL and HyperCTL$^*$". Computer Aided Verification. Lecture Notes in Computer Science. Cham: Springer International Publishing. 9206: 30–48. doi:10.1007/978-3-319-21690-4_3. ISBN 978-3-319-21690-4.
  16. Hsu, Tzu-Han; Sánchez, César; Bonakdarpour, Borzoo (2021). Groote, Jan Friso; Larsen, Kim Guldstrand (eds.). "Bounded Model Checking for Hyperproperties". Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science. Cham: Springer International Publishing. 12651: 94–112. doi:10.1007/978-3-030-72016-2_6. ISBN 978-3-030-72016-2. PMC 7979203.

Sources

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.