首页 > 最新文献

Journal of Automated Reasoning最新文献

英文 中文
Producing Proofs of Unsatisfiability with Distributed Clause-Sharing SAT Solvers. 分布式条款共享SAT求解器的不满足证明。
IF 0.9 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2025-01-01 Epub Date: 2025-05-27 DOI: 10.1007/s10817-025-09725-w
Dawn Michaelson, Dominik Schreiber, Marijn J H Heule, Benjamin Kiesl-Reiter, Michael W Whalen

Distributed clause-sharing SAT solvers can solve challenging problems hundreds of times faster than sequential SAT solvers by sharing derived information among multiple sequential solvers. Unlike sequential solvers, however, distributed solvers have not been able to produce proofs of unsatisfiability in a scalable manner, which limits their use in critical applications. In this work, we present a method to produce unsatisfiability proofs for distributed SAT solvers by combining the partial proofs produced by each sequential solver into a single, linear proof. We first describe a simple sequential algorithm and then present a fully distributed algorithm for proof composition, which is substantially more scalable and general than prior works. Our empirical evaluation with over 1500 solver threads shows that our distributed approach allows proof composition and checking within around 3 × its own (highly competitive) solving time.

分布式条款共享SAT求解器通过在多个顺序求解器之间共享衍生信息,可以比顺序求解器更快地解决具有挑战性的问题。然而,与顺序求解器不同,分布式求解器不能以可伸缩的方式产生不满意的证明,这限制了它们在关键应用程序中的使用。在这项工作中,我们提出了一种方法,通过将每个顺序求解器产生的部分证明组合成一个单一的线性证明,为分布式SAT求解器产生不满足性证明。我们首先描述了一个简单的顺序算法,然后提出了一个完全分布式的证明合成算法,该算法比以前的工作更具可扩展性和通用性。我们对超过1500个求解器线程的经验评估表明,我们的分布式方法允许在大约3倍于其自身(高度竞争的)求解时间内进行证明组合和检查。
{"title":"Producing Proofs of Unsatisfiability with Distributed Clause-Sharing SAT Solvers.","authors":"Dawn Michaelson, Dominik Schreiber, Marijn J H Heule, Benjamin Kiesl-Reiter, Michael W Whalen","doi":"10.1007/s10817-025-09725-w","DOIUrl":"10.1007/s10817-025-09725-w","url":null,"abstract":"<p><p>Distributed clause-sharing SAT solvers can solve challenging problems hundreds of times faster than sequential SAT solvers by sharing derived information among multiple sequential solvers. Unlike sequential solvers, however, distributed solvers have not been able to produce proofs of unsatisfiability in a scalable manner, which limits their use in critical applications. In this work, we present a method to produce unsatisfiability proofs for distributed SAT solvers by combining the partial proofs produced by each sequential solver into a single, linear proof. We first describe a simple sequential algorithm and then present a fully distributed algorithm for proof composition, which is substantially more scalable and general than prior works. Our empirical evaluation with over 1500 solver threads shows that our distributed approach allows proof composition and checking within around 3 <math><mo>×</mo></math> its own (highly competitive) solving time.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"69 2","pages":"12"},"PeriodicalIF":0.9,"publicationDate":"2025-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12116660/pdf/","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"144181083","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Single-Set Cubical Categories and Their Formalisation with a Proof Assistant 单集立方范畴及其形式化与证明助手
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-09-12 DOI: 10.1007/s10817-024-09710-9
Philippe Malbos, Tanguy Massacrier, Georg Struth

We introduce a single-set axiomatisation of cubical (omega )-categories, including connections and inverses. We justify these axioms by establishing a series of equivalences between the category of single-set cubical (omega )-categories, and their variants with connections and inverses, and the corresponding cubical (omega )-categories. We also report on the formalisation of cubical (omega )-categories with the Isabelle/HOL proof assistant, which has been instrumental in developing the single-set axiomatisation.

我们引入了立方(omega )范畴的单集公理化,包括连接和逆。我们通过在单集立方(omega )范畴及其包含连接和反转的变体与相应的立方(omega )范畴之间建立一系列等价关系来证明这些公理。我们还报告了用 Isabelle/HOL 证明助手对立方(omega )-类的形式化,它在发展单集公理化方面发挥了重要作用。
{"title":"Single-Set Cubical Categories and Their Formalisation with a Proof Assistant","authors":"Philippe Malbos, Tanguy Massacrier, Georg Struth","doi":"10.1007/s10817-024-09710-9","DOIUrl":"https://doi.org/10.1007/s10817-024-09710-9","url":null,"abstract":"<p>We introduce a single-set axiomatisation of cubical <span>(omega )</span>-categories, including connections and inverses. We justify these axioms by establishing a series of equivalences between the category of single-set cubical <span>(omega )</span>-categories, and their variants with connections and inverses, and the corresponding cubical <span>(omega )</span>-categories. We also report on the formalisation of cubical <span>(omega )</span>-categories with the Isabelle/HOL proof assistant, which has been instrumental in developing the single-set axiomatisation.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"76 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142180305","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Towards a Scalable Proof Engine: A Performant Prototype Rewriting Primitive for Coq 迈向可扩展的证明引擎:用于 Coq 的高性能原型重写原语
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-08-14 DOI: 10.1007/s10817-024-09705-6
Jason Gross, Andres Erbsen, Jade Philipoom, Rajashree Agrawal, Adam Chlipala

We address the challenges of scaling verification efforts to match the increasing complexity and size of systems. We propose a research agenda aimed at building a performant proof engine by studying the asymptotic performance of proof engines and redesigning their building blocks. As a case study, we explore equational rewriting and introduce a novel prototype proof engine building block for rewriting in Coq, utilizing proof by reflection for enhanced performance. Our prototype implementation can significantly improve the development of verified compilers, as demonstrated in a case study with the Fiat Cryptography toolchain. The resulting extracted command-line compiler is about 1000(times ) faster while featuring simpler compiler-specific proofs. This work lays some foundation for scaling verification efforts and contributes to the broader goal of developing a proof engine with good asymptotic performance, ultimately aimed at enabling the verification of larger and more complex systems.

随着系统的复杂性和规模不断增加,我们面临着如何扩展验证工作的挑战。我们提出了一个研究议程,旨在通过研究证明引擎的渐进性能和重新设计其构建模块来构建高性能的证明引擎。作为一个案例研究,我们探讨了等式重写,并介绍了一种用于 Coq 中重写的新型原型证明引擎构件,利用反射证明来提高性能。正如 Fiat Cryptography 工具链的案例研究所示,我们的原型实现可以显著改善验证编译器的开发。最终提取的命令行编译器速度快了约1000(times),同时具有更简单的编译器特定证明。这项工作为扩展验证工作奠定了一定的基础,并有助于实现开发具有良好渐进性能的证明引擎这一更广泛的目标,最终目的是实现对更大型、更复杂系统的验证。
{"title":"Towards a Scalable Proof Engine: A Performant Prototype Rewriting Primitive for Coq","authors":"Jason Gross, Andres Erbsen, Jade Philipoom, Rajashree Agrawal, Adam Chlipala","doi":"10.1007/s10817-024-09705-6","DOIUrl":"https://doi.org/10.1007/s10817-024-09705-6","url":null,"abstract":"<p>We address the challenges of scaling verification efforts to match the increasing complexity and size of systems. We propose a research agenda aimed at building a performant proof engine by studying the asymptotic performance of proof engines and redesigning their building blocks. As a case study, we explore equational rewriting and introduce a novel prototype proof engine building block for rewriting in Coq, utilizing proof by reflection for enhanced performance. Our prototype implementation can significantly improve the development of verified compilers, as demonstrated in a case study with the Fiat Cryptography toolchain. The resulting extracted command-line compiler is about 1000<span>(times )</span> faster while featuring simpler compiler-specific proofs. This work lays some foundation for scaling verification efforts and contributes to the broader goal of developing a proof engine with good asymptotic performance, ultimately aimed at enabling the verification of larger and more complex systems.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"48 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142180306","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Verifying the Generalization of Deep Learning to Out-of-Distribution Domains 验证深度学习在分布外领域的通用性
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-08-03 DOI: 10.1007/s10817-024-09704-7
Guy Amir, Osher Maayan, Tom Zelazny, Guy Katz, Michael Schapira

Deep neural networks (DNNs) play a crucial role in the field of machine learning, demonstrating state-of-the-art performance across various application domains. However, despite their success, DNN-based models may occasionally exhibit challenges with generalization, i.e., may fail to handle inputs that were not encountered during training. This limitation is a significant challenge when it comes to deploying deep learning for safety-critical tasks, as well as in real-world settings characterized by substantial variability. We introduce a novel approach for harnessing DNN verification technology to identify DNN-driven decision rules that exhibit robust generalization to previously unencountered input domains. Our method assesses generalization within an input domain by measuring the level of agreement between independently trained deep neural networks for inputs in this domain. We also efficiently realize our approach by using off-the-shelf DNN verification engines, and extensively evaluate it on both supervised and unsupervised DNN benchmarks, including a deep reinforcement learning (DRL) system for Internet congestion control—demonstrating the applicability of our approach for real-world settings. Moreover, our research introduces a fresh objective for formal verification, offering the prospect of mitigating the challenges linked to deploying DNN-driven systems in real-world scenarios.

深度神经网络(DNN)在机器学习领域发挥着至关重要的作用,在各种应用领域都表现出最先进的性能。然而,尽管取得了成功,基于 DNN 的模型偶尔也会在泛化方面遇到挑战,即可能无法处理在训练过程中未遇到的输入。在将深度学习应用于安全关键任务时,以及在以巨大变异性为特征的真实世界环境中,这种局限性是一个重大挑战。我们介绍了一种利用 DNN 验证技术的新方法,用于识别 DNN 驱动的决策规则,这些规则对以前未遇到的输入域具有强大的泛化能力。我们的方法通过测量独立训练的深度神经网络对输入域中输入的一致程度来评估输入域内的泛化。我们还利用现成的 DNN 验证引擎高效地实现了我们的方法,并在有监督和无监督 DNN 基准(包括用于互联网拥塞控制的深度强化学习(DRL)系统)上进行了广泛评估,证明了我们的方法在现实世界中的适用性。此外,我们的研究还为形式验证引入了一个全新的目标,为减轻与在现实世界场景中部署 DNN 驱动型系统相关的挑战提供了前景。
{"title":"Verifying the Generalization of Deep Learning to Out-of-Distribution Domains","authors":"Guy Amir, Osher Maayan, Tom Zelazny, Guy Katz, Michael Schapira","doi":"10.1007/s10817-024-09704-7","DOIUrl":"https://doi.org/10.1007/s10817-024-09704-7","url":null,"abstract":"<p>Deep neural networks (DNNs) play a crucial role in the field of machine learning, demonstrating state-of-the-art performance across various application domains. However, despite their success, DNN-based models may occasionally exhibit challenges with <i>generalization</i>, i.e., may fail to handle inputs that were not encountered during training. This limitation is a significant challenge when it comes to deploying deep learning for safety-critical tasks, as well as in real-world settings characterized by substantial variability. We introduce a novel approach for harnessing DNN verification technology to identify DNN-driven decision rules that exhibit robust generalization to previously unencountered input domains. Our method assesses generalization within an input domain by measuring the level of agreement between <i>independently trained</i> deep neural networks for inputs in this domain. We also efficiently realize our approach by using off-the-shelf DNN verification engines, and extensively evaluate it on both supervised and unsupervised DNN benchmarks, including a deep reinforcement learning (DRL) system for Internet congestion control—demonstrating the applicability of our approach for real-world settings. Moreover, our research introduces a fresh objective for formal verification, offering the prospect of mitigating the challenges linked to deploying DNN-driven systems in real-world scenarios.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"1 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-08-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141940717","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Dependency Schemes in CDCL-Based QBF Solving: A Proof-Theoretic Study 基于 CDCL 的 QBF 求解中的依赖方案:证明理论研究
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-07-24 DOI: 10.1007/s10817-024-09707-4
Abhimanyu Choudhury, Meena Mahajan

In Quantified Boolean Formulas QBFs, dependency schemes help to detect spurious or superfluous dependencies that are implied by the variable ordering in the quantifier prefix but are not essential for constructing countermodels. This detection can provably shorten refutations in specific proof systems, and is expected to speed up runs of QBF solvers. The proof system (texttt{QCDCL}) recently defined by Beyersdorff and Boehm (LMCS 2023) abstracts the reasoning employed by QBF solvers based on conflict-driven clause-learning (CDCL) techniques. We show how to incorporate the use of dependency schemes into this proof system, either in a preprocessing phase, or in the propagations and clause learning, or both. We then show that when the reflexive resolution path dependency scheme (texttt{D}^{texttt{rrs}}) is used, a mixed picture emerges: the proof systems that add (texttt{D}^{texttt{rrs}}) to (texttt{QCDCL}) in these three ways are not only incomparable with each other, but are also incomparable with the basic (texttt{QCDCL}) proof system that does not use (texttt{D}^{texttt{rrs}}) at all, as well as with several other resolution-based QBF proof systems. A notable fact is that all our separations are achieved through QBFs with bounded quantifier alternation.

在量化布尔公式 QBF 中,依赖性方案有助于检测虚假或多余的依赖性,这些依赖性由量词前缀中的变量排序所隐含,但对于构建反模型并不重要。这种检测可以缩短特定证明系统中的反驳时间,并有望加快 QBF 求解器的运行速度。贝耶斯多夫(Beyersdorff)和博姆(Boehm)(LMCS 2023)最近定义的证明系统(texttt{QCDCL})抽象了基于冲突驱动子句学习(CDCL)技术的QBF求解器所使用的推理。我们展示了如何在预处理阶段、传播和子句学习阶段,或在这两个阶段,将依赖关系方案的使用纳入该证明系统。然后我们展示了当使用反向解析路径依赖方案(texttt{D}^{texttt{rrs}})时,会出现一种混合的情况:以这三种方式在(texttt{D}^{texttt{rs}})中添加(texttt{QCDCL}})的证明系统不仅是不可比的,而且与完全不使用(texttt{D}^{texttt{rs}})的基本(texttt{QCDCL}})证明系统以及其他几个基于解析的QBF证明系统也是不可比的。一个值得注意的事实是,我们所有的分离都是通过有界量词交替的 QBF 实现的。
{"title":"Dependency Schemes in CDCL-Based QBF Solving: A Proof-Theoretic Study","authors":"Abhimanyu Choudhury, Meena Mahajan","doi":"10.1007/s10817-024-09707-4","DOIUrl":"https://doi.org/10.1007/s10817-024-09707-4","url":null,"abstract":"<p>In Quantified Boolean Formulas QBFs, dependency schemes help to detect spurious or superfluous dependencies that are implied by the variable ordering in the quantifier prefix but are not essential for constructing countermodels. This detection can provably shorten refutations in specific proof systems, and is expected to speed up runs of QBF solvers. The proof system <span>(texttt{QCDCL})</span> recently defined by Beyersdorff and Boehm (LMCS 2023) abstracts the reasoning employed by QBF solvers based on conflict-driven clause-learning (CDCL) techniques. We show how to incorporate the use of dependency schemes into this proof system, either in a preprocessing phase, or in the propagations and clause learning, or both. We then show that when the reflexive resolution path dependency scheme <span>(texttt{D}^{texttt{rrs}})</span> is used, a mixed picture emerges: the proof systems that add <span>(texttt{D}^{texttt{rrs}})</span> to <span>(texttt{QCDCL})</span> in these three ways are not only incomparable with each other, but are also incomparable with the basic <span>(texttt{QCDCL})</span> proof system that does not use <span>(texttt{D}^{texttt{rrs}})</span> at all, as well as with several other resolution-based QBF proof systems. A notable fact is that all our separations are achieved through QBFs with bounded quantifier alternation.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"47 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141783750","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Verifying a Sequent Calculus Prover for First-Order Logic with Functions in Isabelle/HOL 用 Isabelle/HOL 中的函数验证一阶逻辑的序列微积分证明器
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-06-27 DOI: 10.1007/s10817-024-09697-3
Asta Halkjær From, Frederik Krogsdal Jacobsen

We describe the design, implementation and verification of an automated theorem prover for first-order logic with functions. The proof search procedure is based on sequent calculus and we formally verify its soundness and completeness in Isabelle/HOL using an existing abstract framework for coinductive proof trees. Our analytic completeness proof covers both open and closed formulas. Since our deterministic prover considers only the subset of terms relevant to proving a given sequent, we do the same when building a countermodel from a failed proof. Finally, we formally connect our prover with the proof system and semantics of the existing SeCaV system. In particular, the prover can generate human-readable SeCaV proofs which are also machine-verifiable proof certificates. The abstract framework we rely on requires us to fix a stream of proof rules in advance, independently of the formula we are trying to prove. We discuss the efficiency implications of this and the difficulties in mitigating them.

我们介绍了带函数的一阶逻辑自动定理检验器的设计、实现和验证。证明搜索程序基于序列微积分,我们使用现有的共推证明树抽象框架,在 Isabelle/HOL 中正式验证了其合理性和完备性。我们的解析完备性证明涵盖开放式和封闭式公式。由于我们的确定性证明器只考虑与证明给定序列相关的术语子集,因此在从失败的证明建立反模型时,我们也是这样做的。最后,我们将证明者与现有 SeCaV 系统的证明系统和语义正式连接起来。特别是,证明者可以生成人类可读的 SeCaV 证明,这些证明也是机器可验证的证明证书。我们所依赖的抽象框架要求我们预先确定证明规则流,而与我们试图证明的公式无关。我们将讨论这对效率的影响以及缓解这些影响的困难。
{"title":"Verifying a Sequent Calculus Prover for First-Order Logic with Functions in Isabelle/HOL","authors":"Asta Halkjær From, Frederik Krogsdal Jacobsen","doi":"10.1007/s10817-024-09697-3","DOIUrl":"https://doi.org/10.1007/s10817-024-09697-3","url":null,"abstract":"<p>We describe the design, implementation and verification of an automated theorem prover for first-order logic with functions. The proof search procedure is based on sequent calculus and we formally verify its soundness and completeness in Isabelle/HOL using an existing abstract framework for coinductive proof trees. Our analytic completeness proof covers both open and closed formulas. Since our deterministic prover considers only the subset of terms relevant to proving a given sequent, we do the same when building a countermodel from a failed proof. Finally, we formally connect our prover with the proof system and semantics of the existing SeCaV system. In particular, the prover can generate human-readable SeCaV proofs which are also machine-verifiable proof certificates. The abstract framework we rely on requires us to fix a stream of proof rules in advance, independently of the formula we are trying to prove. We discuss the efficiency implications of this and the difficulties in mitigating them.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"24 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141506579","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Refinement of Parallel Algorithms Down to LLVM: Applied to Practically Efficient Parallel Sorting 精炼并行算法,直至 LLVM:应用于实际高效并行排序
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-06-19 DOI: 10.1007/s10817-024-09701-w
Peter Lammich

We present a stepwise refinement approach to develop verified parallel algorithms, down to efficient LLVM code. The resulting algorithms’ performance is competitive with their counterparts implemented in C++. Our approach is backwards compatible with the Isabelle Refinement Framework, such that existing sequential formalizations can easily be adapted or re-used. As case study, we verify a parallel quicksort algorithm that is competitive to unverified state-of-the-art algorithms.

我们提出了一种逐步完善的方法来开发经过验证的并行算法,并将其转化为高效的 LLVM 代码。这些算法的性能与用 C++ 实现的算法相比具有竞争力。我们的方法向后兼容 Isabelle 精炼框架,因此现有的顺序形式化可以很容易地进行调整或重新使用。作为案例研究,我们验证了一种并行快速排序算法,该算法与未经验证的最先进算法相比具有竞争力。
{"title":"Refinement of Parallel Algorithms Down to LLVM: Applied to Practically Efficient Parallel Sorting","authors":"Peter Lammich","doi":"10.1007/s10817-024-09701-w","DOIUrl":"https://doi.org/10.1007/s10817-024-09701-w","url":null,"abstract":"<p>We present a stepwise refinement approach to develop verified parallel algorithms, down to efficient LLVM code. The resulting algorithms’ performance is competitive with their counterparts implemented in C++. Our approach is backwards compatible with the Isabelle Refinement Framework, such that existing sequential formalizations can easily be adapted or re-used. As case study, we verify a parallel quicksort algorithm that is competitive to unverified state-of-the-art algorithms.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"4 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141506580","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Formalized Functional Analysis with Semilinear Maps 用半线性映射进行形式化函数分析
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-06-04 DOI: 10.1007/s10817-024-09696-4
Frédéric Dupuis, Robert Y. Lewis, Heather Macbeth

Semilinear maps are a generalization of linear maps between vector spaces where we allow the scalar action to be twisted by a ring homomorphism such as complex conjugation. In particular, this generalization unifies the concepts of linear and conjugate-linear maps. We implement this generalization in Lean’s mathlib library, along with a number of important results in functional analysis which previously were impossible to formalize properly. Specifically, we prove the Fréchet–Riesz representation theorem and the spectral theorem for compact self-adjoint operators generically over real and complex Hilbert spaces, additionally developing the Fourier theory needed to state and prove Parseval’s identity. We also show that semilinear maps have applications beyond functional analysis by formalizing the one-dimensional case of a theorem of Dieudonné and Manin that classifies the isocrystals over an algebraically closed field with positive characteristic.

半线性映射是向量空间之间线性映射的广义化,我们允许标量作用通过环同态(如复共轭)进行扭曲。特别是,这种泛化统一了线性映射和共轭线性映射的概念。我们在 Lean 的 mathlib 库中实现了这一广义化,同时还实现了函数分析中的许多重要结果,而这些结果以前是无法正确形式化的。具体来说,我们证明了在实数和复数希尔伯特空间上的紧凑自相关算子的弗雷谢特-里兹表示定理和谱定理,此外还发展了说明和证明帕瑟瓦尔特性所需的傅里叶理论。我们还通过形式化 Dieudonné 和 Manin 定理的一维情况,证明半线性映射在函数分析之外也有应用,该定理对具有正特征的代数闭域上的等晶进行了分类。
{"title":"Formalized Functional Analysis with Semilinear Maps","authors":"Frédéric Dupuis, Robert Y. Lewis, Heather Macbeth","doi":"10.1007/s10817-024-09696-4","DOIUrl":"https://doi.org/10.1007/s10817-024-09696-4","url":null,"abstract":"<p>Semilinear maps are a generalization of linear maps between vector spaces where we allow the scalar action to be twisted by a ring homomorphism such as complex conjugation. In particular, this generalization unifies the concepts of linear and conjugate-linear maps. We implement this generalization in Lean’s <span>mathlib</span> library, along with a number of important results in functional analysis which previously were impossible to formalize properly. Specifically, we prove the Fréchet–Riesz representation theorem and the spectral theorem for compact self-adjoint operators generically over real and complex Hilbert spaces, additionally developing the Fourier theory needed to state and prove Parseval’s identity. We also show that semilinear maps have applications beyond functional analysis by formalizing the one-dimensional case of a theorem of Dieudonné and Manin that classifies the isocrystals over an algebraically closed field with positive characteristic.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"67 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-06-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141252670","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Linear Resources in Isabelle/HOL Isabelle/HOL 中的线性资源
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-05-18 DOI: 10.1007/s10817-024-09698-2
Filip Smola, Jacques D. Fleuriot

We present a formal framework for process composition based on actions that are specified by their input and output resources. The correctness of these compositions is verified by translating them into deductions in intuitionistic linear logic. As part of the verification we derive simple conditions on the compositions which ensure well-formedness of the corresponding deduction when satisfied. We mechanise the whole framework, including a deep embedding of ILL, in the proof assistant Isabelle/HOL. Beyond the increased confidence in our proofs, this allows us to automatically generate executable code for our verified definitions. We demonstrate our approach by formalising part of the simulation game Factorio and modelling a manufacturing process in it. Our framework guarantees that this model is free of bottlenecks.

我们提出了一种基于由输入和输出资源指定的行动的流程组合形式框架。这些组合的正确性可通过将其转化为直觉线性逻辑中的推导来验证。作为验证的一部分,我们推导出了流程组合的简单条件,这些条件一旦满足,就能确保相应的推导具有良好的形式。我们将整个框架机械化,包括在证明助手 Isabelle/HOL 中对 ILL 进行深度嵌入。这不仅增强了我们对证明的信心,还使我们能够为经过验证的定义自动生成可执行代码。我们通过形式化模拟游戏 Factorio 的部分内容并在其中建立制造流程模型来演示我们的方法。我们的框架保证了该模型不存在瓶颈。
{"title":"Linear Resources in Isabelle/HOL","authors":"Filip Smola, Jacques D. Fleuriot","doi":"10.1007/s10817-024-09698-2","DOIUrl":"https://doi.org/10.1007/s10817-024-09698-2","url":null,"abstract":"<p>We present a formal framework for process composition based on actions that are specified by their input and output resources. The correctness of these compositions is verified by translating them into deductions in intuitionistic linear logic. As part of the verification we derive simple conditions on the compositions which ensure well-formedness of the corresponding deduction when satisfied. We mechanise the whole framework, including a deep embedding of ILL, in the proof assistant Isabelle/HOL. Beyond the increased confidence in our proofs, this allows us to automatically generate executable code for our verified definitions. We demonstrate our approach by formalising part of the simulation game Factorio and modelling a manufacturing process in it. Our framework guarantees that this model is free of bottlenecks.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"11978 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141059948","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Sequent Calculi for Choice Logics 选择逻辑的序列计算
IF 1.1 3区 计算机科学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Pub Date : 2024-04-03 DOI: 10.1007/s10817-024-09695-5
Michael Bernreiter, Anela Lolic, Jan Maly, Stefan Woltran

Choice logics constitute a family of propositional logics and are used for the representation of preferences, with especially qualitative choice logic (QCL) being an established formalism with numerous applications in artificial intelligence. While computational properties and applications of choice logics have been studied in the literature, only few results are known about the proof-theoretic aspects of their use. We propose a sound and complete sequent calculus for preferred model entailment in QCL, where a formula F is entailed by a QCL-theory T if F is true in all preferred models of T. The calculus is based on labeled sequent and refutation calculi, and can be easily adapted for different purposes. For instance, using the calculus as a cornerstone, calculi for other choice logics such as conjunctive choice logic (CCL) and lexicographic choice logic (LCL) can be obtained in a straightforward way.

选择逻辑是命题逻辑的一个家族,用于表示偏好,尤其是定性选择逻辑(QCL)是一种成熟的形式主义,在人工智能领域有大量应用。虽然文献中已经对选择逻辑的计算特性和应用进行了研究,但关于其使用的证明理论方面的成果却寥寥无几。我们为 QCL 中的首选模型蕴涵提出了一个完善而完整的序列微积分,如果 F 在 T 的所有首选模型中均为真,则公式 F 将被 QCL 理论 T 所蕴涵。例如,以该计算法为基石,可以直接获得其他选择逻辑(如连接选择逻辑(CCL)和词典选择逻辑(LCL))的计算法。
{"title":"Sequent Calculi for Choice Logics","authors":"Michael Bernreiter, Anela Lolic, Jan Maly, Stefan Woltran","doi":"10.1007/s10817-024-09695-5","DOIUrl":"https://doi.org/10.1007/s10817-024-09695-5","url":null,"abstract":"<p>Choice logics constitute a family of propositional logics and are used for the representation of preferences, with especially <i>qualitative choice logic</i> (QCL) being an established formalism with numerous applications in artificial intelligence. While computational properties and applications of choice logics have been studied in the literature, only few results are known about the proof-theoretic aspects of their use. We propose a sound and complete sequent calculus for preferred model entailment in QCL, where a formula <i>F</i> is entailed by a QCL-theory <i>T</i> if <i>F</i> is true in all preferred models of <i>T</i>. The calculus is based on labeled sequent and refutation calculi, and can be easily adapted for different purposes. For instance, using the calculus as a cornerstone, calculi for other choice logics such as <i>conjunctive choice logic</i> (CCL) and <i>lexicographic choice logic</i> (LCL) can be obtained in a straightforward way.</p>","PeriodicalId":15082,"journal":{"name":"Journal of Automated Reasoning","volume":"48 1","pages":""},"PeriodicalIF":1.1,"publicationDate":"2024-04-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140597974","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Journal of Automated Reasoning
全部 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