首页 > 最新文献

2020 Formal Methods in Computer Aided Design (FMCAD)最新文献

英文 中文
Effective System Level Liveness Verification 有效的系统级活动性验证
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_7
A. Fedotov, J. Keiren, J. Schmaltz
The language xMAS has been designed by Intel with the purpose of modelling and verification of hardware. Recently, the language was extended with finite state machines to make it more expressive [19]. Furthermore, it was shown how to prove liveness of such extended xMAS networks [19]. Unfortunately, we demonstrate that the proof technique is unsound. We provide an alternative approach which we have carefully proven to be correct. Moreover, we show that our approach scales very well, which makes it possible to prove liveness properties at the system level. In particular, we show that using our approach, it is possible to verify a power control architecture composed of 1299 state machines representing 50 power domains where each domain contains 5 master and 5 slave devices. Proving liveness of this system takes less than 10 minutes.
为了对硬件进行建模和验证,Intel设计了xMAS语言。最近,该语言用有限状态机进行了扩展,使其更具表现力[19]。此外,还展示了如何证明这种扩展的xMAS网络的活动性[19]。不幸的是,我们证明证明技术是不健全的。我们提供了另一种方法,我们已经仔细证明是正确的。此外,我们表明我们的方法可扩展性非常好,这使得在系统级别证明活动特性成为可能。特别是,我们表明,使用我们的方法,可以验证由代表50个功率域的1299个状态机组成的电源控制架构,其中每个域包含5个主设备和5个从设备。验证该系统的活动性只需不到10分钟。
{"title":"Effective System Level Liveness Verification","authors":"A. Fedotov, J. Keiren, J. Schmaltz","doi":"10.34727/2020/isbn.978-3-85448-042-6_7","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_7","url":null,"abstract":"The language xMAS has been designed by Intel with the purpose of modelling and verification of hardware. Recently, the language was extended with finite state machines to make it more expressive [19]. Furthermore, it was shown how to prove liveness of such extended xMAS networks [19]. Unfortunately, we demonstrate that the proof technique is unsound. We provide an alternative approach which we have carefully proven to be correct. Moreover, we show that our approach scales very well, which makes it possible to prove liveness properties at the system level. In particular, we show that using our approach, it is possible to verify a power control architecture composed of 1299 state machines representing 50 power domains where each domain contains 5 master and 5 slave devices. Proving liveness of this system takes less than 10 minutes.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122897954","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Using model checking tools to triage the severity of security bugs in the Xen hypervisor 使用模型检查工具对Xen管理程序中安全漏洞的严重程度进行分类
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_26
B. Cook, Björn Döbel, D. Kroening, Norbert Manthey, M. Pohlack, E. Polgreen, Michael Tautschnig, Pawel Wieczorkiewicz
In practice, few security bugs found in source code are urgent, but quickly identifying which ones are is hard. We describe the application of bounded model checking to triaging reported issues quickly at the cloud service provider Amazon Web Services (AWS). We focus on the job of reactive security experts who need to determine the severity of bugs found in the Xen hypervisor. We show that, using our publicly available extensions to the model checker CBMC, a security expert can obtain traces to construct security tests and estimate the severity of the reported finding within 15 minutes. We believe that the changes made to the model checker, as well as the methodology for using tools in this scenario, will generalise to other organisations and environments.
在实践中,在源代码中发现的安全漏洞很少是紧急的,但是快速识别哪些是困难的。我们描述了在云服务提供商Amazon Web Services (AWS)上使用有界模型检查快速分类报告问题的应用。我们关注的是响应式安全专家的工作,他们需要确定Xen管理程序中发现的错误的严重程度。我们表明,使用我们对模型检查器CBMC的公开可用扩展,安全专家可以获得构建安全测试的跟踪,并在15分钟内估计报告发现的严重性。我们相信对模型检查器所做的更改,以及在此场景中使用工具的方法,将推广到其他组织和环境中。
{"title":"Using model checking tools to triage the severity of security bugs in the Xen hypervisor","authors":"B. Cook, Björn Döbel, D. Kroening, Norbert Manthey, M. Pohlack, E. Polgreen, Michael Tautschnig, Pawel Wieczorkiewicz","doi":"10.34727/2020/isbn.978-3-85448-042-6_26","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_26","url":null,"abstract":"In practice, few security bugs found in source code are urgent, but quickly identifying which ones are is hard. We describe the application of bounded model checking to triaging reported issues quickly at the cloud service provider Amazon Web Services (AWS). We focus on the job of reactive security experts who need to determine the severity of bugs found in the Xen hypervisor. We show that, using our publicly available extensions to the model checker CBMC, a security expert can obtain traces to construct security tests and estimate the severity of the reported finding within 15 minutes. We believe that the changes made to the model checker, as well as the methodology for using tools in this scenario, will generalise to other organisations and environments.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115989293","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 6
On Optimizing a Generic Function in SAT SAT中一个泛型函数的优化
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_28
Alexander Nadel
The goal of this study is to improve the scalability of today's SAT-based solutions for optimization problems and to pave the way towards extending the range of optimization problems solvable with SAT in practice. Let OptSAT be the problem of optimizing a generic Pseudo-Boolean function, given a satisfiable propositional formula F. We introduce an incremental and anytime incomplete algorithm for solving OptSAT, called Polosat. We show that integrating Polosat into a state-of-the-art open-source anytime MaxSAT solver significantly improves the solver's performance. Furthermore, we demonstrate that Polosat substantially improves the solution quality of an industrial placement tool, where placement is a sub-stage of the physical design stage of chip design.
本研究的目标是提高目前基于SAT的优化问题解决方案的可扩展性,并为在实践中扩展SAT可解决的优化问题范围铺平道路。假设OptSAT是一个给定可满足命题公式f的通用伪布尔函数的优化问题。我们引入了一种增量的、随时不完全的算法来求解OptSAT,称为Polosat。我们表明,将Polosat集成到最先进的开源MaxSAT求解器中可以显著提高求解器的性能。此外,我们证明了Polosat大大提高了工业放置工具的解决方案质量,其中放置是芯片设计物理设计阶段的子阶段。
{"title":"On Optimizing a Generic Function in SAT","authors":"Alexander Nadel","doi":"10.34727/2020/isbn.978-3-85448-042-6_28","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_28","url":null,"abstract":"The goal of this study is to improve the scalability of today's SAT-based solutions for optimization problems and to pave the way towards extending the range of optimization problems solvable with SAT in practice. Let OptSAT be the problem of optimizing a generic Pseudo-Boolean function, given a satisfiable propositional formula F. We introduce an incremental and anytime incomplete algorithm for solving OptSAT, called Polosat. We show that integrating Polosat into a state-of-the-art open-source anytime MaxSAT solver significantly improves the solver's performance. Furthermore, we demonstrate that Polosat substantially improves the solution quality of an industrial placement tool, where placement is a sub-stage of the physical design stage of chip design.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131124859","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Tutorial on World-Level Model Checking 世界级别的模型检查教程
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_3
Armin Biere
In SMT bit-vectors and thus word-level reasoning is common and widely used in industry. However, it took until 2019 that the hardware model checking competition started to use word-level benchmarks. Reasoning on the word-level opens up many possibilities for simplification and more powerful reasoning. In SMT we do see advantages due to operating on the word-level, even though, ultimately, bit-blasting and thus transforming the word-level problem into SAT is still the dominant and most important technique. For word-level model checking the situation is different. As the hardware model checking competition in 2019 has shown bit-level solvers are far superior (after bit-blasting the model through an SMT solver though). On the other hand word-level model checking shines for problems with memory modeled with arrays. In this tutorial we revisit the problem of word level model checking, also from a theoretical perspective, give an overview on classical and more recent approaches for word-level model checking and then discuss challenges and future work. The tutorial covered material from the following papers.
在SMT中,位向量推理和字级推理在工业中是常见和广泛应用的。然而,直到2019年,硬件模型检查竞赛才开始使用单词级基准。单词级别的推理为简化和更强大的推理提供了许多可能性。在SMT中,我们确实看到了由于在字级上操作而带来的优势,尽管最终,将字级问题转化为SAT仍然是主要和最重要的技术。对于词级模型检查,情况就不同了。正如2019年硬件模型检查竞赛所显示的那样,比特级求解器要优越得多(尽管是在通过SMT求解器对模型进行比特爆破之后)。另一方面,字级模型检查对于用数组建模的内存问题很有用。在本教程中,我们将从理论角度重新审视词级模型检查问题,概述经典和最新的词级模型检查方法,然后讨论挑战和未来的工作。本教程涵盖了以下论文中的材料。
{"title":"Tutorial on World-Level Model Checking","authors":"Armin Biere","doi":"10.34727/2020/isbn.978-3-85448-042-6_3","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_3","url":null,"abstract":"In SMT bit-vectors and thus word-level reasoning is common and widely used in industry. However, it took until 2019 that the hardware model checking competition started to use word-level benchmarks. Reasoning on the word-level opens up many possibilities for simplification and more powerful reasoning. In SMT we do see advantages due to operating on the word-level, even though, ultimately, bit-blasting and thus transforming the word-level problem into SAT is still the dominant and most important technique. For word-level model checking the situation is different. As the hardware model checking competition in 2019 has shown bit-level solvers are far superior (after bit-blasting the model through an SMT solver though). On the other hand word-level model checking shines for problems with memory modeled with arrays. In this tutorial we revisit the problem of word level model checking, also from a theoretical perspective, give an overview on classical and more recent approaches for word-level model checking and then discuss challenges and future work. The tutorial covered material from the following papers.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131133601","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
SYSLITE: Syntax-Guided Synthesis of PLTL Formulas from Finite Traces 从有限轨迹的PLTL公式的语法引导合成
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_16
M. F. Arif, Daniel Larraz, Mitziu Echeverria, Andrew Reynolds, Omar Chowdhury, C. Tinelli
We present an efficient approach to learn past-time linear temporal logic formulas (PLTL) from a set of propositional variables and a sample of finite traces over those variables. The efficiency of our approach can be attributed to a careful encoding of the PLTL formula learning problem as a bit-vector function synthesis problem, and the use of an enhanced Syntax-Guided Synthesis (SyGuS) engine to solve the latter. We implemented our approach in a tool called Syslite and empirically evaluated its efficacy with two case studies. In these case studies, we observe that Syslite on average enjoys a speedup of 44x over current learning approaches for temporal formulas while learning the expected formulas in the vast majority of cases.
我们提出了一种从一组命题变量和这些变量上的有限轨迹样本中学习过去时间线性时间逻辑公式(PLTL)的有效方法。我们的方法的效率可归因于将PLTL公式学习问题仔细编码为位向量函数合成问题,并使用增强的语法引导合成(SyGuS)引擎来解决后者。我们在一个名为Syslite的工具中实现了我们的方法,并通过两个案例研究对其有效性进行了实证评估。在这些案例研究中,我们观察到Syslite在绝大多数情况下学习预期公式时,平均比当前的时间公式学习方法加速44倍。
{"title":"SYSLITE: Syntax-Guided Synthesis of PLTL Formulas from Finite Traces","authors":"M. F. Arif, Daniel Larraz, Mitziu Echeverria, Andrew Reynolds, Omar Chowdhury, C. Tinelli","doi":"10.34727/2020/isbn.978-3-85448-042-6_16","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_16","url":null,"abstract":"We present an efficient approach to learn past-time linear temporal logic formulas (PLTL) from a set of propositional variables and a sample of finite traces over those variables. The efficiency of our approach can be attributed to a careful encoding of the PLTL formula learning problem as a bit-vector function synthesis problem, and the use of an enhanced Syntax-Guided Synthesis (SyGuS) engine to solve the latter. We implemented our approach in a tool called Syslite and empirically evaluated its efficacy with two case studies. In these case studies, we observe that Syslite on average enjoys a speedup of 44x over current learning approaches for temporal formulas while learning the expected formulas in the vast majority of cases.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"144 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116709368","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 13
Incremental Verification by SMT-based Summary Repair 基于smt的汇总修复的增量验证
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_14
Sepideh Asadi, Martin Blicha, A. Hyvärinen, Grigory Fedyukovich, N. Sharygina
We present Upprover, a bounded model checker designed to incrementally verify software while it is being gradually developed, refactored, or optimized. In contrast to its predecessor, a SAT-based tool EVOLCHECK, our tool exploits first-order theories available in SMT solvers, offering two more levels of encoding precision: linear arithmetic and uninterpreted functions, thus allowing a trade-off between precision and performance. Algorithmically Upprover is based on the reuse and repair of interpolation-based function summaries from one software version to another. Upprover leverages tree-interpolation systems in SMT to localize and speed up the checks of new versions. Upprover demonstrates an order of magnitude speedup on large-scale programs in comparison to EVOLCHECK and Hifrog, a non-incremental bounded model checker.
我们提出Upprover,这是一个有界模型检查器,设计用于在软件逐渐开发、重构或优化时增量地验证软件。与其前身基于sat的工具EVOLCHECK相比,我们的工具利用了SMT求解器中可用的一阶理论,提供了两个更高级别的编码精度:线性算法和未解释函数,从而允许在精度和性能之间进行权衡。算法上的Upprover是基于重用和修复基于插值的函数摘要从一个软件版本到另一个软件版本。Upprover利用SMT中的树插值系统来定位和加速新版本的检查。与EVOLCHECK和Hifrog(一个非增量的有界模型检查器)相比,Upprover在大型程序上展示了一个数量级的加速。
{"title":"Incremental Verification by SMT-based Summary Repair","authors":"Sepideh Asadi, Martin Blicha, A. Hyvärinen, Grigory Fedyukovich, N. Sharygina","doi":"10.34727/2020/isbn.978-3-85448-042-6_14","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_14","url":null,"abstract":"We present Upprover, a bounded model checker designed to incrementally verify software while it is being gradually developed, refactored, or optimized. In contrast to its predecessor, a SAT-based tool EVOLCHECK, our tool exploits first-order theories available in SMT solvers, offering two more levels of encoding precision: linear arithmetic and uninterpreted functions, thus allowing a trade-off between precision and performance. Algorithmically Upprover is based on the reuse and repair of interpolation-based function summaries from one software version to another. Upprover leverages tree-interpolation systems in SMT to localize and speed up the checks of new versions. Upprover demonstrates an order of magnitude speedup on large-scale programs in comparison to EVOLCHECK and Hifrog, a non-incremental bounded model checker.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"99 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129164254","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Selecting Stable Safe Configurations for Systems Modelled by Neural Networks with ReLU Activation 具有ReLU激活的神经网络建模系统的稳定安全配置选择
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_19
F. Brauße, Z. Khasidashvili, Konstantin Korovin
Combining machine learning with constraint solving and formal methods is an interesting new direction in research with a wide range of safety critical applications. Our focus in this work is on analyzing Neural Networks with Rectified Linear Activation Function (NN-ReLU). The existing, very recent research works in this direction describe multiple approaches to satisfiability checking for constraints on NN-ReLU output. Here we extend this line of work in two orthogonal directions: We propose an algorithm for finding configurations of NN-ReLU that are (1) safe and (2) stable. We assume that the inputs of the NN-ReLU are divided into existentially and universally quantified variables, where the former represent the parameters for configuring the NN-ReLU and the latter represent (possibly constrained) free inputs. We are looking for (1) values of the configuration parameters for which the NN-ReLU output satisfies a given constraint for any legal values of the input variables (the safety requirement); and (2) such that the entire family of configurations with configuration variable values close to a safe configuration is also safe (the stability requirement). To our knowledge this is the first work that proposes SMT-based algorithms for searching safe and stable configuration parameters for systems modelled using neural networks. We experimentally evaluate our algorithm on NN-ReLUs trained on a set of real-life datasets originating from an industrial CAD application at Intel.
将机器学习与约束求解和形式化方法相结合是一个有趣的新研究方向,具有广泛的安全关键应用。我们的工作重点是分析具有整流线性激活函数(NN-ReLU)的神经网络。在这个方向上,现有的、最近的研究工作描述了对NN-ReLU输出约束进行可满足性检查的多种方法。在这里,我们在两个正交的方向上扩展了这条工作线:我们提出了一种算法来寻找(1)安全和(2)稳定的NN-ReLU配置。我们假设NN-ReLU的输入被分为存在和普遍量化的变量,其中前者表示配置NN-ReLU的参数,后者表示(可能受约束的)自由输入。我们正在寻找(1)配置参数的值,其中NN-ReLU输出满足输入变量的任何合法值(安全要求)的给定约束;(2)使整个组形族的组形变量值接近于安全组形也是安全的(稳定性要求)。据我们所知,这是第一次提出基于smt的算法来搜索使用神经网络建模的系统的安全和稳定配置参数。我们在一组来自英特尔工业CAD应用程序的真实数据集上训练的NN-ReLUs上实验评估了我们的算法。
{"title":"Selecting Stable Safe Configurations for Systems Modelled by Neural Networks with ReLU Activation","authors":"F. Brauße, Z. Khasidashvili, Konstantin Korovin","doi":"10.34727/2020/isbn.978-3-85448-042-6_19","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_19","url":null,"abstract":"Combining machine learning with constraint solving and formal methods is an interesting new direction in research with a wide range of safety critical applications. Our focus in this work is on analyzing Neural Networks with Rectified Linear Activation Function (NN-ReLU). The existing, very recent research works in this direction describe multiple approaches to satisfiability checking for constraints on NN-ReLU output. Here we extend this line of work in two orthogonal directions: We propose an algorithm for finding configurations of NN-ReLU that are (1) safe and (2) stable. We assume that the inputs of the NN-ReLU are divided into existentially and universally quantified variables, where the former represent the parameters for configuring the NN-ReLU and the latter represent (possibly constrained) free inputs. We are looking for (1) values of the configuration parameters for which the NN-ReLU output satisfies a given constraint for any legal values of the input variables (the safety requirement); and (2) such that the entire family of configurations with configuration variable values close to a safe configuration is also safe (the stability requirement). To our knowledge this is the first work that proposes SMT-based algorithms for searching safe and stable configuration parameters for systems modelled using neural networks. We experimentally evaluate our algorithm on NN-ReLUs trained on a set of real-life datasets originating from an industrial CAD application at Intel.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"25 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116588381","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Reductions for Strings and Regular Expressions Revisited 重新审视字符串和正则表达式的约简
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_30
Andrew Reynolds, Andres Nötzli, Clark W. Barrett, C. Tinelli
The theory of strings supported by solvers in formal methods contains a large number of operators. Instead of implementing a semi-decision procedure that reasons about all the operators directly, string solvers often reduce operators to a core fragment and implement a semi-decision procedure over that fragment. These reductions considerably increase the number of constraints and thus have to be done carefully to achieve good performance. We propose novel reductions from regular expressions to string constraints and a framework for minimizing the introduction of new variables in current reductions of string constraints. The reductions of regular expression constraints enable string solvers to handle a significant fragment of such constraints without using dedicated reasoning over regular expressions. Minimizing the number of variables in the reduced constraints makes those constraints significantly cheaper to solve by the core solver. An experimental evaluation of our implementation of both techniques in cvc4, a state-of-the-art SMT solver with extensive support for the theory of strings, shows that they significantly improve the solver's performance.
形式方法中求解器支持的弦理论包含大量的算子。字符串求解器通常将操作符缩减为一个核心片段,并在该片段上实现半决策过程,而不是实现直接对所有操作符进行推理的半决策过程。这些减少大大增加了约束的数量,因此必须谨慎地进行,以实现良好的性能。我们提出了从正则表达式到字符串约束的新颖缩减,并提出了一个框架,以最大限度地减少当前字符串约束缩减中引入的新变量。正则表达式约束的减少使字符串求解器能够处理此类约束的重要片段,而无需对正则表达式进行专门的推理。最小化简化约束中的变量数量可以使核心求解器解决这些约束的成本大大降低。我们在cvc4(一个广泛支持弦理论的最先进的SMT求解器)中实现这两种技术的实验评估表明,它们显着提高了求解器的性能。
{"title":"Reductions for Strings and Regular Expressions Revisited","authors":"Andrew Reynolds, Andres Nötzli, Clark W. Barrett, C. Tinelli","doi":"10.34727/2020/isbn.978-3-85448-042-6_30","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_30","url":null,"abstract":"The theory of strings supported by solvers in formal methods contains a large number of operators. Instead of implementing a semi-decision procedure that reasons about all the operators directly, string solvers often reduce operators to a core fragment and implement a semi-decision procedure over that fragment. These reductions considerably increase the number of constraints and thus have to be done carefully to achieve good performance. We propose novel reductions from regular expressions to string constraints and a framework for minimizing the introduction of new variables in current reductions of string constraints. The reductions of regular expression constraints enable string solvers to handle a significant fragment of such constraints without using dedicated reasoning over regular expressions. Minimizing the number of variables in the reduced constraints makes those constraints significantly cheaper to solve by the core solver. An experimental evaluation of our implementation of both techniques in cvc4, a state-of-the-art SMT solver with extensive support for the theory of strings, shows that they significantly improve the solver's performance.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129568626","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
The Proof Checkers Pacheck and Pastèque for the Practical Algebraic Calculus 实用代数的证明跳棋Pacheck和pastureque
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_34
Daniela Kaufmann, M. Fleury, Armin Biere
Generating and checking proof certificates is important to increase the trust in automated reasoning tools. In recent years formal verification using computer algebra became more important and is heavily used in automated circuit verification. An existing proof format which covers algebraic reasoning and allows efficient proof checking is the practical algebraic calculus. In this paper we present two independent proof checkers Pacheckand PastÈque.The checker Pacheckchecks algebraic proofs more efficiently than PastÈque,but the latter is formally verified using the proof assistant Isabelle/HOL. Furthermore, we introduce extension rules to simulate essential rewriting techniques required in practice. For efficiency we also make use of indices for existing polynomials and include deletion rules too.
生成和检查证明证书对于增加对自动推理工具的信任非常重要。近年来,利用计算机代数进行形式验证变得越来越重要,并在自动化电路验证中得到了大量的应用。一种涵盖代数推理并允许有效证明检查的现有证明格式是实用的代数演算。在本文中,我们提出了两个独立的证明检查器Pacheckand PastÈque。检查器pacheckcheck代数证明比PastÈque更有效,但后者是使用证明助手Isabelle/HOL进行正式验证的。此外,我们还引入了扩展规则来模拟实践中需要的基本重写技术。为了提高效率,我们还利用了现有多项式的索引,并包含了删除规则。
{"title":"The Proof Checkers Pacheck and Pastèque for the Practical Algebraic Calculus","authors":"Daniela Kaufmann, M. Fleury, Armin Biere","doi":"10.34727/2020/isbn.978-3-85448-042-6_34","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_34","url":null,"abstract":"Generating and checking proof certificates is important to increase the trust in automated reasoning tools. In recent years formal verification using computer algebra became more important and is heavily used in automated circuit verification. An existing proof format which covers algebraic reasoning and allows efficient proof checking is the practical algebraic calculus. In this paper we present two independent proof checkers Pacheckand PastÈque.The checker Pacheckchecks algebraic proofs more efficiently than PastÈque,but the latter is formally verified using the proof assistant Isabelle/HOL. Furthermore, we introduce extension rules to simulate essential rewriting techniques required in practice. For efficiency we also make use of indices for existing polynomials and include deletion rules too.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"203 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121283301","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Formal Verification for Natural and Engineered Biological Systems 自然和工程生物系统的形式化验证
Pub Date : 2020-09-21 DOI: 10.34727/2020/isbn.978-3-85448-042-6_2
H. Kugler
Computational modeling is now used effectively to complement experimental work in biology, allowing to identify gaps in our understanding of the biological systems studied, and to predict system behavior based on a mechanistic model. We provide an overview of several areas in biology for which formal verification has been successfully used. We highlight examples from both natural and engineered biological systems. In natural biological systems the main goal is to understand how a system works and predict its behavior, whereas for engineered biological systems the main goal is to engineer biological systems for new purposes, e.g. for building biology-based computational devices. We compare between the challenges in applying formal verification in biology and the application to traditional domains. Finally, we outline future research directions and opportunities for formal verification experts to contribute to the field.
计算建模现在被有效地用于补充生物学中的实验工作,允许识别我们对所研究的生物系统的理解中的空白,并基于机制模型预测系统行为。我们提供了几个领域的概述,其中形式验证已成功地使用生物学。我们强调自然和工程生物系统的例子。在自然生物系统中,主要目标是了解系统如何工作并预测其行为,而对于工程生物系统,主要目标是为新的目的设计生物系统,例如,用于构建基于生物学的计算设备。我们比较了形式验证在生物学中的应用和在传统领域中的应用所面临的挑战。最后,我们概述了未来的研究方向和形式验证专家为该领域做出贡献的机会。
{"title":"Formal Verification for Natural and Engineered Biological Systems","authors":"H. Kugler","doi":"10.34727/2020/isbn.978-3-85448-042-6_2","DOIUrl":"https://doi.org/10.34727/2020/isbn.978-3-85448-042-6_2","url":null,"abstract":"Computational modeling is now used effectively to complement experimental work in biology, allowing to identify gaps in our understanding of the biological systems studied, and to predict system behavior based on a mechanistic model. We provide an overview of several areas in biology for which formal verification has been successfully used. We highlight examples from both natural and engineered biological systems. In natural biological systems the main goal is to understand how a system works and predict its behavior, whereas for engineered biological systems the main goal is to engineer biological systems for new purposes, e.g. for building biology-based computational devices. We compare between the challenges in applying formal verification in biology and the application to traditional domains. Finally, we outline future research directions and opportunities for formal verification experts to contribute to the field.","PeriodicalId":105705,"journal":{"name":"2020 Formal Methods in Computer Aided Design (FMCAD)","volume":"34 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123820945","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
2020 Formal Methods in Computer Aided Design (FMCAD)
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1