a fixpoint calculus for local and global program flows
We define a new fixpoint modal logic, the visibly pushdown ?-calculus (VP-?), as an extension of the modal ?-calculus. The models of this logic are execution trees of structured programs where the procedure calls and returns are made visible. This new logic can express pushdown specifications on the model that its classical counterpart cannot, and is motivated by recent work on visibly pushdown languages [4]. We show that our logic naturally captures several interesting program specifications in program verification and dataflow analysis. This includes a variety of program specifications such as computing combinations of local and global program flows, pre/post conditions of procedures, security properties involving the context stack, and interprocedural dataflow analysis properties. The logic can capture flow-sensitive and inter-procedural analysis, and it has constructs that allow skipping procedure calls so that local flows in a procedure can also be tracked. The logic generalizes the semantics of the modal ?-calculus by considering summaries instead of nodes as first-class objects, with appropriate constructs for concatenating summaries, and naturally captures the way in which pushdown models are model-checked. The main result of the paper is that the model-checking problem for VP-? is effectively solvable against pushdown models with no more effort than that required for weaker logics such as CTL. We also investigate the expressive power of the logic VP-?: we show that it encompasses all properties expressed by a corresponding pushdown temporal logic on linear structures ( caret [2]) as well as by the classical ?-calculus. This makes VP-? the most expressive known program logic for which algorithmic software model checking is feasible. In fact, the decidability of most known program logics (?-calculus, temporal logics LTL and CTL, caret , etc.) can be understood by their interpretation in the monadic second-order logic over trees. This is not true for the logic VP-?, making it a new powerful tractable program logic.
logic -calculus specification verification model-checking games infinite-state &#956 pushdown systems