Gray-box runtime enforcement of hyperproperties

  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract
Translate article icon Translate Article Star icon
Take notes icon Take Notes

Abstract Enforcement of information-flow policies has been extensively studied by language-based approaches over the past few decades. In this paper, we propose an alternative, novel, general, and effective approach using enforcement of hyperproperties– a powerful formalism for expressing and reasoning about a wide range of information-flow security policies. We study black- vs. gray- vs. white-box enforcement of hyperproperties expressed by nondeterministic finite-word hyperautomata (NFH), where the enforcer has null, some, or complete information about the implementation of the system under scrutiny. Given an NFH, in order to generate a runtime enforcer, we reduce the problem to controller synthesis for hyperproperties and subsequently to the satisfiability problem for quantified Boolean formulas (QBFs). The resulting enforcers are transferable with low-overhead. We conduct a rich set of case studies, including information-flow control for JavaScript code, as well as synthesizing obfuscators for control plants.

Similar Papers
  • PDF Download Icon
  • Research Article
  • Cite Count Icon 23
  • 10.1007/s10472-016-9501-2
Conformant planning as a case study of incremental QBF solving
  • Mar 24, 2016
  • Annals of Mathematics and Artificial Intelligence
  • Uwe Egly + 3 more

We consider planning with uncertainty in the initial state as a case study of incremental quantified Boolean formula (QBF) solving. We report on experiments with a workflow to incrementally encode a planning instance into a sequence of QBFs. To solve this sequence of successively constructed QBFs, we use our general-purpose incremental QBF solver DepQBF. Since the generated QBFs have many clauses and variables in common, our approach avoids redundancy both in the encoding phase as well as in the solving phase. We also present experiments with incremental preprocessing techniques that are based on blocked clause elimination (QBCE). QBCE allows to eliminate certain clauses from a QBF in a satisfiability preserving way. We implemented the QBCE-based techniques in DepQBF in three variants: as preprocessing, as inprocessing (which extends preprocessing by taking into account variable assignments that were fixed by the QBF solver), and as a novel dynamic approach where QBCE is tightly integrated in the solving process. For DepQBF, experimental results show that incremental QBF solving with incremental QBCE outperforms incremental QBF solving without QBCE, which in turn outperforms nonincremental QBF solving. For the first time we report on incremental QBF solving with incremental QBCE as inprocessing. Our results are the first empirical study of incremental QBF solving in the context of planning and motivate its use in other application domains.

  • Research Article
  • Cite Count Icon 5
  • 10.3233/aic-140633
Verification of partial designs using incremental QBF
  • Jan 1, 2015
  • AI Communications
  • Christian Miller + 2 more

SAT solving is an indispensable core component of numerous formal verification tools and has found widespread use in industry, in particular when using it in an incremental fashion, e.g., in Bounded Model Checking (BMC). On the other hand, for some applications SAT formulas are not expressive enough, whereas a description via Quantified Boolean Formulas (QBF) is much more adequate, for instance when dealing with partial designs.Motivated by the success of incremental SAT, in this paper we explore various approaches to solve QBF problems in an incremental fashion and thereby make this technology usable as a core component of BMC. Firstly, we realized an incremental QBF solver based on the state-of-the-art QBF solver QuBE: Taking profit from the reuse of some information from previous iterations, the search space can be pruned, in some cases, to even less than a quarter.However, the need for preprocessing QBF formulas prior to the solving phase, that in general cannot be paired with incremental solving because of the non-predictable elimination of variables in the future incremental steps, posed the question of incremental QBF preprocessing. In this context we present an approach for retaining the QBF formula being preprocessed while extending its clauses and prefix incrementally. This procedure results in a significant size reduction of the QBF formulas, hence leading to a reduced solving time.As this may come together with a high preprocessing time, we analyze various heuristics to dynamically disable incremental preprocessing when its overhead raises over a certain threshold and is not compensated by the reduced solving time anymore.For proving the efficacy of our methods experimentally, as an application we consider BMC for partial designs (i.e., designs containing so-called blackboxes which represent unknown parts). Here, we disprove realizability, that is, we prove that an unsafe state is reachable no matter how the blackboxes are implemented. We examine all these incremental approaches from both the point of view of the effectiveness of the single procedure and the benefits that a range of QBF solvers can take from it. On a domain of partial design benchmarks, engaging incremental QBF methods significant performance gains over non incremental BMC can be achieved.

  • Research Article
  • Cite Count Icon 5
  • 10.3233/fi-2010-312
An Empirical Study of QBF Encodings: from Treewidth Estimation to Useful Preprocessing
  • Jan 1, 2010
  • Fundamenta Informaticae
  • Luca Pulina + 1 more

From an empirical point of view, the hardness of quantified Boolean formulas (QBFs), can be characterized by the (in)ability of current state-of-the-art QBF solvers to decide about the truth of formulas given limited computational resources. In this paper, we start from the problem of computing empirical hardness markers, i.e., features that can discriminate between hard and easy QBFs, and we end up showing that such markers can be useful to improve our understanding of QBF preprocessors. In particular, considering the connection between classes of tractable QBFs and the treewidth of associated graphs, we show that (an approximation of) treewidth is indeed a marker of empirical hardness and it is the only parameter which succeeds consistently in being so, even considering several other purely syntactic candidates which have been successfully employed to characterize QBFs in other contexts. We also show that treewidth approximations can be useful to describe the effect of QBF preprocessors, in that some QBF solvers benefit from a preprocessing phase when it reduces the treewidth of their input. Our experiments suggest that structural simplifications reducing treewidth are a potential enabler for the solution of hard QBF encodings.

  • Book Chapter
  • Cite Count Icon 8
  • 10.1007/11527695_23
Analysis of Search Based Algorithms for Satisfiability of Propositional and Quantified Boolean Formulas Arising from Circuit State Space Diameter Problems
  • Jan 1, 2005
  • Daijue Tang + 3 more

The sequential circuit state space diameter problem is an important problem in sequential verification. Bounded model checking is complete if the state space diameter of the system is known. By unrolling the transition relation, the sequential circuit state space diameter problem can be formulated as either a series of Boolean satisfiability (SAT) problems or an evaluation for satisfiability of a Quantified Boolean Formula (QBF). Thus far neither the SAT based technique that uses sophisticated SAT solvers, nor QBF evaluations for the various QBF formulations for this have fared well in practice. The poor performance of the QBF evaluations is blamed on the relative immaturity of QBF solvers, with hope that ongoing research in QBF solvers could lead to practical success here.Most existing QBF algorithms, such as those based on the DPLL SAT algorithm, are search based. We show that using search based QBF algorithms to calculate the state space diameter of sequential circuits with existing problem formulations is no better than using SAT to solve this problem. This result holds independent of the representation of the QBF formula. This result is important as it highlights the need to explore non-search based or hybrid of search and non-search based QBF algorithms for the sequential circuit state space diameter problem.KeywordsConjunctive Normal FormBoolean FormulaBinary Decision DiagramSatisfying AssignmentPartial AssignmentThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

  • Book Chapter
  • Cite Count Icon 8
  • 10.1007/11499107_2
A Symbolic Search Based Approach for Quantified Boolean Formulas
  • Jan 1, 2005
  • Gilles Audemard + 1 more

Solving Quantified Boolean Formulas (QBF) has become an important and attractive research area, since several problem classes might be formulated efficiently as QBF instances (e.g. planning, non monotonic reasoning, two-player games, model checking, etc). Many QBF solvers has been proposed, most of them perform decision tree search using the DPLL-like techniques. To set free the variable ordering heuristics that are traditionally constrained by the static order of the QBF quantifiers, a new symbolic search based approach (QBdd(Sat)) is proposed. It makes an original use of binary decision diagram to represent the set of models (or prime implicants) of the boolean formula found using search-based satisfiability solver. Our approach is enhanced with two interesting extensions. First, powerful reduction operators are introduced in order to dynamically reduce the BDD size and to answer the validity of the QBF. Second, useful cuts are achieved on the search tree thanks to the nogoods generated from the BDD representation. Using DPLL-likes (resp. local search) techniques, our approach gives rise to a complete QBdd(DPLL) (resp. incomplete QBdd(LS)) solver. Our preliminary experimental results show that on some classes of instances from the QBF evaluation, QBdd(DPLL) and QBdd(LS) are competitive with state-of-the-art QBF solvers.

  • Research Article
  • Cite Count Icon 1
  • 10.3724/sp.j.1001.2011.03859
Heuristic Survey Propagation Algorithm for Solving QBF Problem
  • Jul 15, 2011
  • Journal of Software
  • Ming-Hao Yin + 3 more

This paper presents a heuristic survey propagation algorithm for solving Quantified Boolean Formulae(QBF)problem.A QBF solver based on the algorithm is designed,namely HSPQBF(heuristic survey propagation algorithm for solving QBF).This solver is a QBF reasoning engine that incorporates Survey Propagation method for problem solving.Using the information obtained from the survey propagation procedure,HSPQBF can select a branch accurately.Furthermore,when handling the branches,HSPQBF uses efficient technology to solve QBF problems,such as unit propagation,conflict driven learning,and satisfiability directed at implication and learning. The experimental results also show that HSPQBF can solve both random and QBF benchmark problems efficiently, which validates the effect of using survey propagation in a QBF solving process.

  • Conference Article
  • Cite Count Icon 26
  • 10.5591/978-1-57735-516-8/ijcai11-099
A uniform approach for generating proofs and strategies for both true and false QBF formulas
  • Jul 16, 2011
  • Alexandra Goultiaeva + 2 more

Many important problems can be compactly represented as quantified boolean formulas (QBF) and solved by general QBF solvers. To date QBF solvers have mainly focused on determining whether or not the input QBF is true or false. However, additional important information about an application can be gathered from its QBF formulation. In this paper we demonstrate that a circuitbased QBF solver can be exploited to obtain a QResolution proof of the truth or the falsity of a QBF. QBFs have a natural interpretation as a two person game and our main result is to show how, via a simple computation, the moves for the winning player can be computed directly from these proofs. This result shows that the proof is a representation of the winning strategy. In previous approaches the winning strategy has often been represented in a way that makes it hard to verify. In our approach the correctness of the strategy follows directly from the correctness of the proof, which is relatively easy to verify.

  • Conference Instance
  • 10.1109/fmcad16015.2009
2009 Formal Methods in Computer-Aided Design
  • Nov 1, 2009
  • Andreas Veneris + 1 more

The VLSI CAD flow encompasses an abundance of critical NP-complete and PSPACE-complete problems. Instead of developing a dedicated algorithm for each, the trend during the last decade has been to encode them in formal languages, such as Boolean satisfiability (SAT) and quantified Boolean formulas (QBFs), and focus academic resources on improving SAT and QBF solvers. The significant progress of these solvers has validated this strategy. This dissertation contributes to the further advancement of formal techniques in CAD. Today, the verification and debugging of increasingly complex RTL designs can consume up to 70% of the VLSI design cycle. In particular, RTL debug is a manual, resource-intensive task in the industry. The first contribution of this thesis is an in-depth examination of the factors affecting the theoretical computational complexity of debugging. It is established that most variations of the debugging problem are NP-complete. Automated debugging tools return all potential error sources in the RTL, called solutions, that can explain a given failing error trace. Finding each solution requires a separate call to a formal engine, which is computationally expensive. The second contribution of this dissertation comprises techniques for reducing the number of such iterations, by leveraging dominance relationships between RTL blocks to imply solutions. Extensive experiments on industrial designs show a three-fold reduction in the number of formal engine calls due to solution implications, resulting in a 1.64x overall speed-up. The third contribution aims to advance the state-of-the-art of QBF solvers, whose progress has not been as impressive as that of SAT solvers. We present a framework for using complete dominators to preprocess and reduce QBFs with an inherent circuit structure, which is common in encodings of PSPACE-complete CAD problems. Experiments show that three modern QBF solvers together solve 55% of preprocessed QBF instances, compared to none without preprocessing. The final contribution consists of a series of QBF encodings for evaluating the reconfigurability of partially programmable circuits (PPCs). The metrics of fault tolerance, design error tolerance and engineering change coverage are defined for PPCs and encoded using QBFs. These formulations along with experimental results demonstrate the theoretical and practical appropriateness of QBFs for dealing with reconfigurability.

  • Conference Article
  • Cite Count Icon 4
  • 10.1109/icvd.2005.144
Q-PREZ: QBF evaluation using partition, resolution and elimination with ZBDDs
  • Jan 3, 2005
  • K Chandrasekar + 1 more

In recent years, there has been an increasing interest in quantified Boolean formula (QBF) evaluation, since several VLSI CAD problems can be formulated efficiently as QBF instances. Since the original resolution-based methods can suffer from space explosion, existing QBF solvers perform decision tree search using the Davis-Putnam Logemann and Loveland (DPLL) procedure. In this paper, we propose a new QBF solver, Q-PREZ, that overcomes the space explosion problem faced in resolution by using efficient data structures and algorithms, which in turn can outperform DPLL-based QBF solvers. We partition the CNF and store the clauses compactly in zero-suppressed binary decision diagrams (ZBDDs). Then, we introduce new and powerful operators to perform existential and universal quantification on the partitioned ZBDD clauses as resolution and elimination procedures. Our preliminary experimental results show that Q-PREZ is able to achieve significant speedups over state-of-the-art QBF solvers.

  • Research Article
  • 10.3233/sat190049
Editor’s Introduction to the Special Volume on Application of Constraints to Formal Verification
  • Jun 1, 2008
  • Journal on Satisfiability, Boolean Modeling and Computation
  • Miroslav N Velev

Editor’s Introduction to the Special Volume on Application of Constraints to Formal Verification

  • PDF Download Icon
  • Research Article
  • Cite Count Icon 6
  • 10.1017/s1471068421000259
Planning with Incomplete Information in Quantified Answer Set Programming
  • Sep 1, 2021
  • Theory and Practice of Logic Programming
  • Jorge Fandinno + 4 more

We present a general approach to planning with incomplete information in Answer Set Programming (ASP). More precisely, we consider the problems of conformant and conditional planning with sensing actions and assumptions. We represent planning problems using a simple formalism where logic programs describe the transition function between states, the initial states and the goal states. For solving planning problems, we use Quantified Answer Set Programming (QASP), an extension of ASP with existential and universal quantifiers over atoms that is analogous to Quantified Boolean Formulas (QBFs). We define the language of quantified logic programs and use it to represent the solutions different variants of conformant and conditional planning. On the practical side, we present a translation-based QASP solver that converts quantified logic programs into QBFs and then executes a QBF solver, and we evaluate experimentally the approach on conformant and conditional planning benchmarks.

  • Book Chapter
  • Cite Count Icon 75
  • 10.1007/11499107_32
Bounded Model Checking with QBF
  • Jan 1, 2005
  • Nachum Dershowitz + 2 more

Current algorithms for bounded model checking (BMC) use SAT methods for checking satisfiability of Boolean formulas. These BMC methods suffer from a potential memory explosion problem. Methods based on the validity of Quantified Boolean Formulas (QBF) allow an exponentially more succinct representation of the checked formulas, but have not been widely used, because of the lack of an efficient decision procedure for QBF. We evaluate the usage of QBF in BMC, using general-purpose SAT and QBF solvers. We also present a special-purpose decision procedure for QBF used in BMC, and compare our technique with the methods using general-purpose SAT and QBF solvers on real-life industrial benchmarks. Our procedure performs much better for BMC than the general-purpose QBF solvers, without incurring the space overhead of propositional SAT.

  • Research Article
  • Cite Count Icon 5
  • 10.1007/s10817-020-09560-1
Building Strategies into QBF Proofs
  • May 22, 2020
  • Journal of Automated Reasoning
  • Olaf Beyersdorff + 2 more

Strategy extraction is of great importance for quantified Boolean formulas (QBF), both in solving and proof complexity. So far in the QBF literature, strategy extraction has been algorithmically performed from proofs. Here we devise the first QBF system where (partial) strategies are built into the proof and are piecewise constructed by simple operations along with the derivation. This has several advantages: (1) lines of our calculus have a clear semantic meaning as they are accompanied by semantic objects; (2) partial strategies are represented succinctly (in contrast to some previous approaches); (3) our calculus has strategy extraction by design; and (4) the partial strategies allow new sound inference steps which are disallowed in previous central QBF calculi such as Q-Resolution and long-distance Q-Resolution. The last item (4) allows us to show an exponential separation between our new system and the previously studied reductionless long-distance resolution calculus. Our approach also naturally lifts to dependency QBFs (DQBF), where it yields the first sound and complete CDCL-style calculus for DQBF, thus opening future avenues into CDCL-based DQBF solving.

  • Conference Article
  • Cite Count Icon 15
  • 10.1109/date.2012.6176547
Verification of partial designs using incremental QBF solving
  • Mar 1, 2012
  • P Marin + 3 more

SAT solving is an indispensable core component of numerous formal verification tools and has found widespread use in industry, in particular when using it in an incremental fashion, e.g. in Bounded Model Checking (BMC). On the other hand, there are applications, in particular in the area of partial design verification, where SAT formulas are not expressive enough and a description via Quantified Boolean Formulas (QBF) is much more adequate. In this paper we introduce incremental QBF solving and thereby make it usable as a core component of BMC. To do so, we realized an incremental version of the state-of-the-art QBF solver QuBE, allowing for the reuse of learnt information e.g. in the form of conflict clauses and solution cubes. As an application we consider BMC for partial designs (i.e. designs containing so-called blackboxes) and thereby disprove realizability, that is, we prove that an unsafe state is reachable no matter how the blackboxes are implemented. In our experimental analysis, we compare different incremental approaches implemented in our BMC tool. BMC with incremental QBF turns out to be feasible for designs with more than 21,000 gates and 2,700 latches. Significant performance gains over non incremental QBF based BMC can be obtained on many benchmark circuits, in particular when using the so-called backward-incremental approach combined with incremental preprocessing.

  • Research Article
  • Cite Count Icon 4
  • 10.23638/lmcs-15(1:13)2019
Size, Cost, and Capacity: A Semantic Technique for Hard Random QBFs
  • Feb 13, 2019
  • Logical Methods in Computer Science
  • Olaf Beyersdorff + 2 more

As a natural extension of the SAT problem, an array of proof systems for quantified Boolean formulas (QBF) have been proposed, many of which extend a propositional proof system to handle universal quantification. By formalising the construction of the QBF proof system obtained from a propositional proof system by adding universal reduction (Beyersdorff, Bonacina & Chew, ITCS `16), we present a new technique for proving proof-size lower bounds in these systems. The technique relies only on two semantic measures: the cost of a QBF, and the capacity of a proof. By examining the capacity of proofs in several QBF systems, we are able to use the technique to obtain lower bounds based on cost alone. As applications of the technique, we first prove exponential lower bounds for a new family of simple QBFs representing equality. The main application is in proving exponential lower bounds with high probability for a class of randomly generated QBFs, the first `genuine' lower bounds of this kind, which apply to the QBF analogues of resolution, Cutting Planes, and Polynomial Calculus. Finally, we employ the technique to give a simple proof of hardness for the prominent formulas of Kleine B\"uning, Karpinski and Fl\"ogel.

More from: Acta Informatica
  • Research Article
  • 10.1007/s00236-025-00504-z
Symbolic execution for refuting ∀∃ hyperproperties
  • Oct 27, 2025
  • Acta Informatica
  • Arthur Correnson + 3 more

  • Research Article
  • 10.1007/s00236-025-00507-w
Explainability requirements as hyperproperties
  • Oct 13, 2025
  • Acta Informatica
  • Bernd Finkbeiner + 1 more

  • Research Article
  • 10.1007/s00236-025-00505-y
On integer linear programs for treewidth based on perfect elimination orderings (extended version)
  • Aug 26, 2025
  • Acta Informatica
  • Sven Mallach

  • Research Article
  • 10.1007/s00236-025-00502-1
Gray-box runtime enforcement of hyperproperties
  • Aug 9, 2025
  • Acta Informatica
  • Tzu-Han Hsu + 4 more

  • Research Article
  • 10.1007/s00236-025-00500-3
Preserving hyperproperties of programs using primitives with consensus number 2
  • Aug 6, 2025
  • Acta Informatica
  • Hagit Attiya + 2 more

  • Research Article
  • 10.1007/s00236-025-00495-x
Novel tree-search method for synthesizing SMT strategies
  • Aug 4, 2025
  • Acta Informatica
  • Zhengyang John Lu + 6 more

  • Addendum
  • 10.1007/s00236-025-00493-z
Correction: Directed capacity-preserving subgraphs: hardness and exact polynomial algorithms
  • Jul 4, 2025
  • Acta Informatica
  • Markus Chimani + 1 more

  • Research Article
  • 10.1007/s00236-025-00494-y
The Primitive Deficiency of two Primitive Strings
  • Jun 27, 2025
  • Acta Informatica
  • Othman Echi

  • Research Article
  • 10.1007/s00236-025-00490-2
Data reduction for directed feedback vertex set on graphs without long induced cycles
  • Jun 1, 2025
  • Acta Informatica
  • Jona Dirks + 4 more

  • Research Article
  • 10.1007/s00236-025-00492-0
Exact and parameterized algorithms for choosability
  • May 30, 2025
  • Acta Informatica
  • Ivan Bliznets + 1 more

Save Icon
Up Arrow
Open/Close
  • Ask R Discovery Star icon
  • Chat PDF Star icon

AI summaries and top papers from 250M+ research sources.

Search IconWhat is the difference between bacteria and viruses?
Open In New Tab Icon
Search IconWhat is the function of the immune system?
Open In New Tab Icon
Search IconCan diabetes be passed down from one generation to the next?
Open In New Tab Icon