Table of Contents
Fetching ...

Calculational Design of Hyperlogics by Abstract Interpretation

Patrick Cousot, Jeffery Wang

TL;DR

These abstractions include the join, the homomorphic, the elimination, the principal ideal, the order ideal, the frontier order ideal, and the chain limit algebraic abstractions, as well as their combinations, that lead to new algebraic generalizations of hyperlogics.

Abstract

We design various logics for proving hyper properties of iterative programs by application of abstract interpretation principles. In part I, we design a generic, structural, fixpoint abstract interpreter parameterized by an algebraic abstract domain describing finite and infinite computations that can be instantiated for various operational, denotational, or relational program semantics. Considering semantics as program properties, we define a post algebraic transformer for execution properties (e.g. sets of traces) and a Post algebraic transformer for semantic (hyper) properties (e.g. sets of sets of traces), we provide corresponding calculuses as instances of the generic abstract interpreter, and we derive under and over approximation hyperlogics. In part II, we define exact and approximate semantic abstractions, and show that they preserve the mathematical structure of the algebraic semantics, the collecting semantics post, the hyper collecting semantics Post, and the hyperlogics. Since proofs by sound and complete hyperlogics require an exact characterization of the program semantics within the proof, we consider in part III abstractions of the (hyper) semantic properties that yield simplified proof rules. These abstractions include the join, the homomorphic, the elimination, the principal ideal, the order ideal, the frontier order ideal, and the chain limit algebraic abstractions, as well as their combinations, that lead to new algebraic generalizations of hyperlogics, including the \forall\exists^\ast$, $\forall\forall^\ast$, and $\exists\forall-^\ast$ hyperlogics,

Calculational Design of Hyperlogics by Abstract Interpretation

TL;DR

These abstractions include the join, the homomorphic, the elimination, the principal ideal, the order ideal, the frontier order ideal, and the chain limit algebraic abstractions, as well as their combinations, that lead to new algebraic generalizations of hyperlogics.

Abstract

We design various logics for proving hyper properties of iterative programs by application of abstract interpretation principles. In part I, we design a generic, structural, fixpoint abstract interpreter parameterized by an algebraic abstract domain describing finite and infinite computations that can be instantiated for various operational, denotational, or relational program semantics. Considering semantics as program properties, we define a post algebraic transformer for execution properties (e.g. sets of traces) and a Post algebraic transformer for semantic (hyper) properties (e.g. sets of sets of traces), we provide corresponding calculuses as instances of the generic abstract interpreter, and we derive under and over approximation hyperlogics. In part II, we define exact and approximate semantic abstractions, and show that they preserve the mathematical structure of the algebraic semantics, the collecting semantics post, the hyper collecting semantics Post, and the hyperlogics. Since proofs by sound and complete hyperlogics require an exact characterization of the program semantics within the proof, we consider in part III abstractions of the (hyper) semantic properties that yield simplified proof rules. These abstractions include the join, the homomorphic, the elimination, the principal ideal, the order ideal, the frontier order ideal, and the chain limit algebraic abstractions, as well as their combinations, that lead to new algebraic generalizations of hyperlogics, including the \forall\exists^\ast\forall\forall^\ast\exists\forall-^\ast$ hyperlogics,

Paper Structure

This paper contains 81 sections, 54 theorems, 4 equations, 1 figure.

Key Result

proposition 1

$\textsf{\upshape lfp}^{ \sqsubseteq}\,f=\bigsqcap\{x\mid f(x)\sqsubseteq x\}$ by Tarski-fixpoint on complete lattices which also holds on increasing chain complete posets Escardo03-TarskiDCPO.

Figures (1)

  • Figure 1: The hierarchy of hyperproperties by abstraction. The arrow is interpreted as "more general than" where the double arrow represents Galois surjection. Dotted line indicated the hyperproperties subsumed by our abstract in the related works. @proofsfile \ref{['apx59']}

Theorems & Definitions (139)

  • definition 1: Properties of posets
  • definition 2: Properties of functions on posets
  • proposition 1: Fixpoint
  • proposition 2: Iteration to fixpoint
  • definition 3: Abstract domain well-definedness
  • Remark 1
  • Remark 2
  • lemma 1: Finite fixpoints well-definedness
  • proof : Proof of lemma \ref{['lem:Fesharp-welldefined']}
  • lemma 2: Commutativity
  • ...and 129 more