首页 > 最新文献

arXiv - CS - Symbolic Computation最新文献

英文 中文
Probabilistic Shoenfield Machines 概率肖菲尔德机器
Pub Date : 2024-07-08 DOI: arxiv-2407.05777
Maksymilian Bujok, Adam Mata
This article provides the theoretical framework of Probabilistic ShoenfieldMachines (PSMs), an extension of the classical Shoenfield Machine that modelsrandomness in the computation process. PSMs are brought in contexts wheredeterministic computation is insufficient, such as randomized algorithms. Byallowing transitions to multiple possible states with certain probabilities,PSMs can solve problems and make decisions based on probabilistic outcomes,hence expanding the variety of possible computations. We provide an overview ofPSMs, detailing their formal definitions as well as the computation mechanismand their equivalence with Non-deterministic Shoenfield Machines (NSM).
本文提供了概率肖菲尔德机(Probabilistic ShoenfieldMachines,简称 PSM)的理论框架,它是经典肖菲尔德机的扩展,对计算过程中的随机性进行了建模。在确定性计算不足的情况下,比如随机算法中,PSM就会被使用。通过允许以一定概率过渡到多种可能状态,PSM 可以根据概率结果解决问题和做出决策,从而扩展了可能计算的种类。我们概述了 PSM,详细介绍了它们的形式定义、计算机制及其与非确定性肖菲尔德机器(NSM)的等价性。
{"title":"Probabilistic Shoenfield Machines","authors":"Maksymilian Bujok, Adam Mata","doi":"arxiv-2407.05777","DOIUrl":"https://doi.org/arxiv-2407.05777","url":null,"abstract":"This article provides the theoretical framework of Probabilistic Shoenfield\u0000Machines (PSMs), an extension of the classical Shoenfield Machine that models\u0000randomness in the computation process. PSMs are brought in contexts where\u0000deterministic computation is insufficient, such as randomized algorithms. By\u0000allowing transitions to multiple possible states with certain probabilities,\u0000PSMs can solve problems and make decisions based on probabilistic outcomes,\u0000hence expanding the variety of possible computations. We provide an overview of\u0000PSMs, detailing their formal definitions as well as the computation mechanism\u0000and their equivalence with Non-deterministic Shoenfield Machines (NSM).","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"31 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141576697","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
Towards Automated Functional Equation Proving: A Benchmark Dataset and A Domain-Specific In-Context Agent 实现自动功能方程证明:基准数据集和特定领域的上下文代理
Pub Date : 2024-07-05 DOI: arxiv-2407.14521
Mahdi Buali, Robert Hoehndorf
Automated Theorem Proving (ATP) faces challenges due to its complexity andcomputational demands. Recent work has explored using Large Language Models(LLMs) for ATP action selection, but these methods can be resource-intensive.This study introduces FEAS, an agent that enhances the COPRA in-contextlearning framework within Lean. FEAS refines prompt generation, responseparsing, and incorporates domain-specific heuristics for functional equations.It introduces FunEq, a curated dataset of functional equation problems withvarying difficulty. FEAS outperforms baselines on FunEq, particularly with theintegration of domain-specific heuristics. The results demonstrate FEAS'seffectiveness in generating and formalizing high-level proof strategies intoLean proofs, showcasing the potential of tailored approaches for specific ATPchallenges.
自动定理证明(ATP)因其复杂性和计算需求而面临挑战。最近的工作探索了使用大型语言模型(LLMs)进行 ATP 动作选择,但这些方法可能会耗费大量资源。本研究介绍了 FEAS,它是一种在 Lean 中增强 COPRA 上下文学习框架的代理。FEAS 改进了提示生成、响应解析,并纳入了针对特定领域的函数方程启发式。FEAS 引入了 FunEq,这是一个难度各异的函数方程问题数据集。FEAS 在 FunEq 上的表现优于基线,特别是在集成了特定领域启发式后。结果证明了 FEAS 在生成高层次证明策略并将其形式化为精益证明方面的有效性,展示了针对特定 ATP 挑战的定制方法的潜力。
{"title":"Towards Automated Functional Equation Proving: A Benchmark Dataset and A Domain-Specific In-Context Agent","authors":"Mahdi Buali, Robert Hoehndorf","doi":"arxiv-2407.14521","DOIUrl":"https://doi.org/arxiv-2407.14521","url":null,"abstract":"Automated Theorem Proving (ATP) faces challenges due to its complexity and\u0000computational demands. Recent work has explored using Large Language Models\u0000(LLMs) for ATP action selection, but these methods can be resource-intensive.\u0000This study introduces FEAS, an agent that enhances the COPRA in-context\u0000learning framework within Lean. FEAS refines prompt generation, response\u0000parsing, and incorporates domain-specific heuristics for functional equations.\u0000It introduces FunEq, a curated dataset of functional equation problems with\u0000varying difficulty. FEAS outperforms baselines on FunEq, particularly with the\u0000integration of domain-specific heuristics. The results demonstrate FEAS's\u0000effectiveness in generating and formalizing high-level proof strategies into\u0000Lean proofs, showcasing the potential of tailored approaches for specific ATP\u0000challenges.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"94 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141779713","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
Computing Clipped Products 计算剪切产品
Pub Date : 2024-07-04 DOI: arxiv-2407.04133
Arthur C. Norman, Stephen M. Watt
Sometimes only some digits of a numerical product or some terms of apolynomial or series product are required. Frequently these constitute the mostsignificant or least significant part of the value, for example when computinginitial values or refinement steps in iterative approximation schemes. Othersituations require the middle portion. In this paper we provide algorithms forthe general problem of computing a given span of coefficients within a product,that is the terms within a range of degrees for univariate polynomials or rangedigits of an integer. This generalizes the "middle product" concept of Hanrot,Quercia and Zimmerman. We are primarily interested in problems of modest sizewhere constant speed up factors can improve overall system performance, andtherefore focus the discussion on classical and Karatsuba multiplication andhow methods may be combined.
有时只需要数值乘积的某些位数或二项式或级数乘积的某些项。例如,在计算迭代逼近方案中的初始值或细化步骤时,这些数字通常构成数值中最重要或最不重要的部分。其他情况则需要中间部分。在本文中,我们提供了计算积内给定系数跨度的一般问题的算法,即计算单变量多项式或整数的范围内的项。这概括了 Hanrot、Quercia 和 Zimmerman 的 "中间积 "概念。我们主要关注的是规模不大的问题,在这些问题中,恒定的加速因子可以提高系统的整体性能,因此讨论的重点是经典乘法和卡拉祖巴乘法,以及如何将这两种方法结合起来。
{"title":"Computing Clipped Products","authors":"Arthur C. Norman, Stephen M. Watt","doi":"arxiv-2407.04133","DOIUrl":"https://doi.org/arxiv-2407.04133","url":null,"abstract":"Sometimes only some digits of a numerical product or some terms of a\u0000polynomial or series product are required. Frequently these constitute the most\u0000significant or least significant part of the value, for example when computing\u0000initial values or refinement steps in iterative approximation schemes. Other\u0000situations require the middle portion. In this paper we provide algorithms for\u0000the general problem of computing a given span of coefficients within a product,\u0000that is the terms within a range of degrees for univariate polynomials or range\u0000digits of an integer. This generalizes the \"middle product\" concept of Hanrot,\u0000Quercia and Zimmerman. We are primarily interested in problems of modest size\u0000where constant speed up factors can improve overall system performance, and\u0000therefore focus the discussion on classical and Karatsuba multiplication and\u0000how methods may be combined.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"2017 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141576698","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
Algorithms for Recursive Block Matrices 递归块矩阵算法
Pub Date : 2024-07-04 DOI: arxiv-2407.03976
Stephen M. Watt
We study certain linear algebra algorithms for recursive block matrices. Thisrepresentation has useful practical and theoretical properties. We summarizesome previous results for block matrix inversion and present some results ontriangular decomposition of block matrices. The case of inverting matrices overa ring that is neither formally real nor formally complex was inspired byGonzalez-Vega et al.
我们研究递归块矩阵的某些线性代数算法。这种表示法具有有用的实践和理论特性。我们总结了以前关于分块矩阵反演的一些结果,并介绍了关于分块矩阵三角形分解的一些结果。冈萨雷斯-维加(Gonzalez-Vega et al.
{"title":"Algorithms for Recursive Block Matrices","authors":"Stephen M. Watt","doi":"arxiv-2407.03976","DOIUrl":"https://doi.org/arxiv-2407.03976","url":null,"abstract":"We study certain linear algebra algorithms for recursive block matrices. This\u0000representation has useful practical and theoretical properties. We summarize\u0000some previous results for block matrix inversion and present some results on\u0000triangular decomposition of block matrices. The case of inverting matrices over\u0000a ring that is neither formally real nor formally complex was inspired by\u0000Gonzalez-Vega et al.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"67 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141576699","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
Terminating Differentiable Tree Experts 终止可微分树专家
Pub Date : 2024-07-02 DOI: arxiv-2407.02060
Jonathan Thomm, Michael Hersche, Giacomo Camposampiero, Aleksandar Terzić, Bernhard Schölkopf, Abbas Rahimi
We advance the recently proposed neuro-symbolic Differentiable Tree Machine,which learns tree operations using a combination of transformers and TensorProduct Representations. We investigate the architecture and propose two keycomponents. We first remove a series of different transformer layers that areused in every step by introducing a mixture of experts. This results in aDifferentiable Tree Experts model with a constant number of parameters for anyarbitrary number of steps in the computation, compared to the previous methodin the Differentiable Tree Machine with a linear growth. Given this flexibilityin the number of steps, we additionally propose a new termination algorithm toprovide the model the power to choose how many steps to make automatically. Theresulting Terminating Differentiable Tree Experts model sluggishly learns topredict the number of steps without an oracle. It can do so while maintainingthe learning capabilities of the model, converging to the optimal amount ofsteps.
我们推进了最近提出的神经符号可微分树机,它利用变换器和张量乘积表示的组合来学习树操作。我们对该架构进行了研究,并提出了两个关键组件。首先,我们通过引入专家混合物,移除了每一步中使用的一系列不同变换器层。这就产生了可微分树专家模型,该模型在计算的任意步数下参数数量恒定,而之前的可微分树机器中的方法则是线性增长。考虑到计算步数的灵活性,我们还提出了一种新的终止算法,让模型能够自动选择计算步数。由此产生的终结可微分树专家模型可以在不使用神谕的情况下,缓慢地学习预测步数。它可以在保持模型学习能力的同时,收敛到最佳步数。
{"title":"Terminating Differentiable Tree Experts","authors":"Jonathan Thomm, Michael Hersche, Giacomo Camposampiero, Aleksandar Terzić, Bernhard Schölkopf, Abbas Rahimi","doi":"arxiv-2407.02060","DOIUrl":"https://doi.org/arxiv-2407.02060","url":null,"abstract":"We advance the recently proposed neuro-symbolic Differentiable Tree Machine,\u0000which learns tree operations using a combination of transformers and Tensor\u0000Product Representations. We investigate the architecture and propose two key\u0000components. We first remove a series of different transformer layers that are\u0000used in every step by introducing a mixture of experts. This results in a\u0000Differentiable Tree Experts model with a constant number of parameters for any\u0000arbitrary number of steps in the computation, compared to the previous method\u0000in the Differentiable Tree Machine with a linear growth. Given this flexibility\u0000in the number of steps, we additionally propose a new termination algorithm to\u0000provide the model the power to choose how many steps to make automatically. The\u0000resulting Terminating Differentiable Tree Experts model sluggishly learns to\u0000predict the number of steps without an oracle. It can do so while maintaining\u0000the learning capabilities of the model, converging to the optimal amount of\u0000steps.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"16 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141528604","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
We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning? 我们的数学你的大型多模态模型能实现类似人类的数学推理吗?
Pub Date : 2024-07-01 DOI: arxiv-2407.01284
Runqi Qiao, Qiuna Tan, Guanting Dong, Minhui Wu, Chong Sun, Xiaoshuai Song, Zhuoma GongQue, Shanglin Lei, Zhe Wei, Miaoxuan Zhang, Runfeng Qiao, Yifan Zhang, Xiao Zong, Yida Xu, Muxi Diao, Zhimin Bao, Chen Li, Honggang Zhang
Visual mathematical reasoning, as a fundamental visual reasoning ability, hasreceived widespread attention from the Large Multimodal Models (LMMs)community. Existing benchmarks, such as MathVista and MathVerse, focus more onthe result-oriented performance but neglect the underlying principles inknowledge acquisition and generalization. Inspired by human-like mathematicalreasoning, we introduce WE-MATH, the first benchmark specifically designed toexplore the problem-solving principles beyond end-to-end performance. Wemeticulously collect and categorize 6.5K visual math problems, spanning 67hierarchical knowledge concepts and five layers of knowledge granularity. Wedecompose composite problems into sub-problems according to the requiredknowledge concepts and introduce a novel four-dimensional metric, namelyInsufficient Knowledge (IK), Inadequate Generalization (IG), Complete Mastery(CM), and Rote Memorization (RM), to hierarchically assess inherent issues inLMMs' reasoning process. With WE-MATH, we conduct a thorough evaluation ofexisting LMMs in visual mathematical reasoning and reveal a negativecorrelation between solving steps and problem-specific performance. We confirmthe IK issue of LMMs can be effectively improved via knowledge augmentationstrategies. More notably, the primary challenge of GPT-4o has significantlytransitioned from IK to IG, establishing it as the first LMM advancing towardsthe knowledge generalization stage. In contrast, other LMMs exhibit a markedinclination towards Rote Memorization - they correctly solve composite problemsinvolving multiple knowledge concepts yet fail to answer sub-problems. Weanticipate that WE-MATH will open new pathways for advancements in visualmathematical reasoning for LMMs. The WE-MATH data and evaluation code areavailable at https://github.com/We-Math/We-Math.
视觉数学推理作为一种基本的视觉推理能力,受到了大型多模态模型(LMMs)界的广泛关注。现有的基准(如 MathVista 和 MathVerse)更注重面向结果的性能,却忽视了知识获取和概括的基本原理。受到类人数学推理的启发,我们推出了 WE-MATH,这是第一个专门用于探索端到端性能之外的问题解决原理的基准。我们精心收集并归类了 6.5K 个可视化数学问题,涵盖 67 个层次知识概念和 5 层知识粒度。我们根据所需的知识概念将综合问题分解为子问题,并引入了新颖的四维度量,即知识不足(IK)、概括不足(IG)、完全掌握(CM)和死记硬背(RM),以分层评估 LMMs 推理过程中的内在问题。通过 WE-MATH,我们对视觉数学推理中现有的 LMM 进行了全面评估,发现解题步骤与特定问题的表现之间存在负相关。我们证实了 LMM 的 IK 问题可以通过知识增强策略得到有效改善。更值得注意的是,GPT-4o 的主要挑战已经从 IK 显著过渡到了 IG,使其成为第一个迈向知识泛化阶段的 LMM。相比之下,其他 LMM 则表现出明显的死记硬背倾向--它们能正确解决涉及多个知识概念的综合问题,但却无法回答子问题。我们预计,WE-MATH 将为 LMM 在视觉数学推理方面的进步开辟新的道路。WE-MATH数据和评估代码可在https://github.com/We-Math/We-Math。
{"title":"We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?","authors":"Runqi Qiao, Qiuna Tan, Guanting Dong, Minhui Wu, Chong Sun, Xiaoshuai Song, Zhuoma GongQue, Shanglin Lei, Zhe Wei, Miaoxuan Zhang, Runfeng Qiao, Yifan Zhang, Xiao Zong, Yida Xu, Muxi Diao, Zhimin Bao, Chen Li, Honggang Zhang","doi":"arxiv-2407.01284","DOIUrl":"https://doi.org/arxiv-2407.01284","url":null,"abstract":"Visual mathematical reasoning, as a fundamental visual reasoning ability, has\u0000received widespread attention from the Large Multimodal Models (LMMs)\u0000community. Existing benchmarks, such as MathVista and MathVerse, focus more on\u0000the result-oriented performance but neglect the underlying principles in\u0000knowledge acquisition and generalization. Inspired by human-like mathematical\u0000reasoning, we introduce WE-MATH, the first benchmark specifically designed to\u0000explore the problem-solving principles beyond end-to-end performance. We\u0000meticulously collect and categorize 6.5K visual math problems, spanning 67\u0000hierarchical knowledge concepts and five layers of knowledge granularity. We\u0000decompose composite problems into sub-problems according to the required\u0000knowledge concepts and introduce a novel four-dimensional metric, namely\u0000Insufficient Knowledge (IK), Inadequate Generalization (IG), Complete Mastery\u0000(CM), and Rote Memorization (RM), to hierarchically assess inherent issues in\u0000LMMs' reasoning process. With WE-MATH, we conduct a thorough evaluation of\u0000existing LMMs in visual mathematical reasoning and reveal a negative\u0000correlation between solving steps and problem-specific performance. We confirm\u0000the IK issue of LMMs can be effectively improved via knowledge augmentation\u0000strategies. More notably, the primary challenge of GPT-4o has significantly\u0000transitioned from IK to IG, establishing it as the first LMM advancing towards\u0000the knowledge generalization stage. In contrast, other LMMs exhibit a marked\u0000inclination towards Rote Memorization - they correctly solve composite problems\u0000involving multiple knowledge concepts yet fail to answer sub-problems. We\u0000anticipate that WE-MATH will open new pathways for advancements in visual\u0000mathematical reasoning for LMMs. The WE-MATH data and evaluation code are\u0000available at https://github.com/We-Math/We-Math.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"24 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141546554","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
SHA-256 Collision Attack with Programmatic SAT 利用程序化 SAT 的 SHA-256 碰撞攻击
Pub Date : 2024-06-28 DOI: arxiv-2406.20072
Nahiyan Alamgir, Saeed Nejati, Curtis Bright
Cryptographic hash functions play a crucial role in ensuring data security,generating fixed-length hashes from variable-length inputs. The hash functionSHA-256 is trusted for data security due to its resilience after over twentyyears of intense scrutiny. One of its critical properties is collisionresistance, meaning that it is infeasible to find two different inputs with thesame hash. Currently, the best SHA-256 collision attacks use differentialcryptanalysis to find collisions in simplified versions of SHA-256 that arereduced to have fewer steps, making it feasible to find collisions. In this paper, we use a satisfiability (SAT) solver as a tool to search forstep-reduced SHA-256 collisions, and dynamically guide the solver with the aidof a computer algebra system (CAS) used to detect inconsistencies and deduceinformation that the solver would otherwise not detect on its own. Our hybridSAT + CAS solver significantly outperformed a pure SAT approach, enabling us tofind collisions in step-reduced SHA-256 with significantly more steps. UsingSAT + CAS, we find a 38-step collision of SHA-256 with a modifiedinitialization vector -- something first found by a highly sophisticated searchtool of Mendel, Nad, and Schl"affer. Conversely, a pure SAT approach couldfind collisions for no more than 28 steps. However, our work only uses the SATsolver CaDiCaL and its programmatic interface IPASIR-UP.
加密哈希函数在确保数据安全方面发挥着至关重要的作用,它能从可变长度的输入生成固定长度的哈希值。哈希函数SHA-256经过二十多年的严格审查,具有很强的适应能力,因此在数据安全方面备受信赖。其关键特性之一是抗碰撞性,这意味着不可能找到具有相同哈希值的两个不同输入。目前,最好的 SHA-256 碰撞攻击使用差分加密分析来查找简化版 SHA-256 中的碰撞,这些简化版的步骤减少,使得查找碰撞变得可行。在本文中,我们使用可满足性(SAT)求解器作为搜索步骤缩减后的 SHA-256 碰撞的工具,并借助计算机代数系统(CAS)对求解器进行动态指导,CAS 用于检测不一致之处,并推导出求解器自身无法检测到的信息。我们的混合 SAT + CAS 求解器的性能明显优于纯 SAT 方法,使我们能够在步骤缩减的 SHA-256 中以明显更多的步骤发现碰撞。使用 SAT + CAS,我们找到了 SHA-256 中修改初始化向量的 38 步碰撞--这是 Mendel、Nad 和 Schl"affer 的高精密搜索工具首次发现的。相反,纯粹的 SAT 方法只能发现不超过 28 步的碰撞。不过,我们的工作只使用了 SAT 求解器 CaDiCaL 及其程序界面 IPASIR-UP。
{"title":"SHA-256 Collision Attack with Programmatic SAT","authors":"Nahiyan Alamgir, Saeed Nejati, Curtis Bright","doi":"arxiv-2406.20072","DOIUrl":"https://doi.org/arxiv-2406.20072","url":null,"abstract":"Cryptographic hash functions play a crucial role in ensuring data security,\u0000generating fixed-length hashes from variable-length inputs. The hash function\u0000SHA-256 is trusted for data security due to its resilience after over twenty\u0000years of intense scrutiny. One of its critical properties is collision\u0000resistance, meaning that it is infeasible to find two different inputs with the\u0000same hash. Currently, the best SHA-256 collision attacks use differential\u0000cryptanalysis to find collisions in simplified versions of SHA-256 that are\u0000reduced to have fewer steps, making it feasible to find collisions. In this paper, we use a satisfiability (SAT) solver as a tool to search for\u0000step-reduced SHA-256 collisions, and dynamically guide the solver with the aid\u0000of a computer algebra system (CAS) used to detect inconsistencies and deduce\u0000information that the solver would otherwise not detect on its own. Our hybrid\u0000SAT + CAS solver significantly outperformed a pure SAT approach, enabling us to\u0000find collisions in step-reduced SHA-256 with significantly more steps. Using\u0000SAT + CAS, we find a 38-step collision of SHA-256 with a modified\u0000initialization vector -- something first found by a highly sophisticated search\u0000tool of Mendel, Nad, and Schl\"affer. Conversely, a pure SAT approach could\u0000find collisions for no more than 28 steps. However, our work only uses the SAT\u0000solver CaDiCaL and its programmatic interface IPASIR-UP.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"41 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141528693","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
SAT and Lattice Reduction for Integer Factorization 整数因式分解的 SAT 和网格还原
Pub Date : 2024-06-28 DOI: arxiv-2406.20071
Yameen Ajani, Curtis Bright
The difficulty of factoring large integers into primes is the basis forcryptosystems such as RSA. Due to the widespread popularity of RSA, there havebeen many proposed attacks on the factorization problem such as side-channelattacks where some bits of the prime factors are available. When enough bits ofthe prime factors are known, two methods that are effective at solving thefactorization problem are satisfiability (SAT) solvers and Coppersmith'smethod. The SAT approach reduces the factorization problem to a Booleansatisfiability problem, while Coppersmith's approach uses lattice basisreduction. Both methods have their advantages, but they also have theirlimitations: Coppersmith's method does not apply when the known bit positionsare randomized, while SAT-based methods can take advantage of known bits inarbitrary locations, but have no knowledge of the algebraic structure exploitedby Coppersmith's method. In this paper we describe a new hybrid SAT andcomputer algebra approach to efficiently solve random leaked-bit factorizationproblems. Specifically, Coppersmith's method is invoked by a SAT solver todetermine whether a partial bit assignment can be extended to a completeassignment. Our hybrid implementation solves random leaked-bit factorizationproblems significantly faster than either a pure SAT or pure computer algebraapproach.
将大整数分解成素数的难度是 RSA 等密码系统的基础。由于 RSA 的广泛普及,已经出现了许多针对因式分解问题的攻击建议,例如在质因数的某些比特可用时的侧信道攻击。当已知的质因数位数足够多时,有两种方法可以有效解决因式分解问题,即可满足性(SAT)求解器和 Coppersmith 方法。SAT 方法将因式分解问题简化为布尔可满足性问题,而 Coppersmith 方法则使用格基还原。这两种方法各有优势,但也各有局限:Coppersmith 的方法不适用于已知位位置随机化的情况,而基于 SAT 的方法可以利用任意位置的已知位,但却不知道 Coppersmith 方法所利用的代数结构。本文描述了一种新的 SAT 和计算机代数混合方法,用于高效解决随机泄漏比特因式分解问题。具体来说,SAT 求解器会调用 Coppersmith 方法来确定部分位赋值是否可以扩展为完整赋值。我们的混合实现解决随机泄漏位因式分解问题的速度明显快于纯 SAT 或纯计算机代数方法。
{"title":"SAT and Lattice Reduction for Integer Factorization","authors":"Yameen Ajani, Curtis Bright","doi":"arxiv-2406.20071","DOIUrl":"https://doi.org/arxiv-2406.20071","url":null,"abstract":"The difficulty of factoring large integers into primes is the basis for\u0000cryptosystems such as RSA. Due to the widespread popularity of RSA, there have\u0000been many proposed attacks on the factorization problem such as side-channel\u0000attacks where some bits of the prime factors are available. When enough bits of\u0000the prime factors are known, two methods that are effective at solving the\u0000factorization problem are satisfiability (SAT) solvers and Coppersmith's\u0000method. The SAT approach reduces the factorization problem to a Boolean\u0000satisfiability problem, while Coppersmith's approach uses lattice basis\u0000reduction. Both methods have their advantages, but they also have their\u0000limitations: Coppersmith's method does not apply when the known bit positions\u0000are randomized, while SAT-based methods can take advantage of known bits in\u0000arbitrary locations, but have no knowledge of the algebraic structure exploited\u0000by Coppersmith's method. In this paper we describe a new hybrid SAT and\u0000computer algebra approach to efficiently solve random leaked-bit factorization\u0000problems. Specifically, Coppersmith's method is invoked by a SAT solver to\u0000determine whether a partial bit assignment can be extended to a complete\u0000assignment. Our hybrid implementation solves random leaked-bit factorization\u0000problems significantly faster than either a pure SAT or pure computer algebra\u0000approach.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"11 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141528602","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
DNLSAT: A Dynamic Variable Ordering MCSAT Framework for Nonlinear Real Arithmetic DNLSAT:非线性实数运算的动态变量排序 MCSAT 框架
Pub Date : 2024-06-27 DOI: arxiv-2406.18964
Zhonghan Wang
Satisfiability modulo nonlinear real arithmetic theory (SMT(NRA)) solving isessential to multiple applications, including program verification, programsynthesis and software testing. In this context, recently model constructingsatisfiability calculus (MCSAT) has been invented to directly search for modelsin the theory space. Although following papers discussed practical directionsand updates on MCSAT, less attention has been paid to the detailedimplementation. In this paper, we present an efficient implementation ofdynamic variable orderings of MCSAT, called dnlsat. We show carefully designeddata structures and promising mechanisms, such as branching heuristic, restart,and lemma management. Besides, we also give a theoretical study of potentialinfluences brought by the dynamic variablr ordering. The experimentalevaluation shows that dnlsat accelerates the solving speed and solves moresatisfiable instances than other state-of-the-art SMT solvers. Demonstration Video: https://youtu.be/T2Z0gZQjnPw Code: https://github.com/yogurt-shadow/dnlsat/tree/master/code Benchmark https://zenodo.org/records/10607722/files/QF_NRA.tar.zst?download=1
可满足性模态非线性实数理论(SMT(NRA))求解在程序验证、程序合成和软件测试等多个应用领域都至关重要。在此背景下,最近发明了模型构造可满足性微积分(MCSAT)来直接搜索理论空间中的模型。尽管随后的论文讨论了 MCSAT 的实用方向和最新进展,但较少关注其具体实现。在本文中,我们提出了 MCSAT 动态变量排序的高效实现,称为 dnlsat。我们展示了精心设计的数据结构和有前途的机制,如分支启发式、重启和lemma管理。此外,我们还对动态变量排序带来的潜在影响进行了理论研究。实验评估表明,与其他最先进的 SMT 求解器相比,dnlsat 加快了求解速度,求解出了更多可满足的实例。演示视频:https://youtu.be/T2Z0gZQjnPw 代码:https://github.com/yogurt-shadow/dnlsat/tree/master/code 基准 https://zenodo.org/records/10607722/files/QF_NRA.tar.zst?download=1
{"title":"DNLSAT: A Dynamic Variable Ordering MCSAT Framework for Nonlinear Real Arithmetic","authors":"Zhonghan Wang","doi":"arxiv-2406.18964","DOIUrl":"https://doi.org/arxiv-2406.18964","url":null,"abstract":"Satisfiability modulo nonlinear real arithmetic theory (SMT(NRA)) solving is\u0000essential to multiple applications, including program verification, program\u0000synthesis and software testing. In this context, recently model constructing\u0000satisfiability calculus (MCSAT) has been invented to directly search for models\u0000in the theory space. Although following papers discussed practical directions\u0000and updates on MCSAT, less attention has been paid to the detailed\u0000implementation. In this paper, we present an efficient implementation of\u0000dynamic variable orderings of MCSAT, called dnlsat. We show carefully designed\u0000data structures and promising mechanisms, such as branching heuristic, restart,\u0000and lemma management. Besides, we also give a theoretical study of potential\u0000influences brought by the dynamic variablr ordering. The experimental\u0000evaluation shows that dnlsat accelerates the solving speed and solves more\u0000satisfiable instances than other state-of-the-art SMT solvers. Demonstration Video: https://youtu.be/T2Z0gZQjnPw Code: https://github.com/yogurt-shadow/dnlsat/tree/master/code Benchmark https://zenodo.org/records/10607722/files/QF_NRA.tar.zst?download=1","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"18 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141546555","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
Reasoning About Action and Change 行动与变革的推理
Pub Date : 2024-06-27 DOI: arxiv-2406.18930
Florence Dupin de Saint-CyrIRIT-ADRIA, UT3, Andreas HerzigIRIT-LILaC, CNRS, Jérôme LangLAMSADE, PSL, IRIT-ADRIA, Pierre MarquisCRIL
The purpose of this book is to provide an overview of AI research, rangingfrom basic work to interfaces and applications, with as much emphasis onresults as on current issues. It is aimed at an audience of master students andPh.D. students, and can be of interest as well for researchers and engineerswho want to know more about AI. The book is split into three volumes.
本书旨在概述从基础工作到界面和应用的人工智能研究,既注重研究成果,也关注当前问题。本书的读者对象是硕士生和博士生,对希望进一步了解人工智能的研究人员和工程师也有兴趣。本书分为三卷。
{"title":"Reasoning About Action and Change","authors":"Florence Dupin de Saint-CyrIRIT-ADRIA, UT3, Andreas HerzigIRIT-LILaC, CNRS, Jérôme LangLAMSADE, PSL, IRIT-ADRIA, Pierre MarquisCRIL","doi":"arxiv-2406.18930","DOIUrl":"https://doi.org/arxiv-2406.18930","url":null,"abstract":"The purpose of this book is to provide an overview of AI research, ranging\u0000from basic work to interfaces and applications, with as much emphasis on\u0000results as on current issues. It is aimed at an audience of master students and\u0000Ph.D. students, and can be of interest as well for researchers and engineers\u0000who want to know more about AI. The book is split into three volumes.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"19 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141528609","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
期刊
arXiv - CS - Symbolic Computation
全部 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学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1