arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.23151cs.PLcs.LO
收藏

序列、函数与算子的抽象

Abstractions of Sequences, Functions and Operators

Louis Rustenholz, Pedro Lopez-Garcia, Manuel V. Hermenegildo

AI总结:

针对递归函数闭式界推导难题,提出B-bound约束抽象域与域抽象函子,构建可处理高度非线性不变量的高阶抽象解释方法,适用于程序分析与混合系统等领域。

摘要:

我们提出了函数格序理论的理论与实践成果,重点研究对(集合形式的)函数进行抽象的伽罗瓦连接——这一领域被称为高阶抽象解释。\n 我们的研究动机源于推导递归定义函数的闭式界的挑战,这类函数即算子的不动点,或等价地,是函数方程的解。该研究在程序分析(如代价分析、循环加速、声明式语言分析)以及受微分方程支配的混合系统中具有多种应用。\n 我们的主要贡献是提出了一类用于数值函数抽象的新型基于约束的抽象域——B-bound域,它通过预选边界函数集合中的界的合取来抽象函数f。这类域能够推导经典数值抽象域难以处理的高度非线性数值不变量。我们发现了约束空间中的凸性性质,该性质可简化传递函数设计,在某些情况下甚至能实现完全自动化。\n 我们还引入了域抽象,这是一种将值空间中的任意映射提升为函数空间中伽罗瓦连接的函子。它支持从符号函数到数值函数的抽象(即规模抽象),并能实现方程的降维。\n 我们的传递函数构建基于一种简单的算子语言,从序列开始,扩展到更通用的函数,包括多变量、分段和非离散域上的函数。

英文摘要:

We present theoretical and practical results on the order theory of lattices of functions, focusing on Galois connections that abstract (sets of) functions - a topic known as higher-order abstract interpretation. We are motivated by the challenge of inferring closed-form bounds on functions which are defined recursively, i.e. as the fixed point of an operator or, equivalently, as the solution to a functional equation. This has multiple applications in program analysis (e.g. cost analysis, loop acceleration, declarative language analysis) and in hybrid systems governed by differential equations. Our main contribution is a new family of constraint-based abstract domains for abstracting numerical functions, B-bound domains, which abstract a function f by a conjunction of bounds from a preselected set of boundary functions. They allow inferring highly non-linear numerical invariants, which classical numerical abstract domains struggle with. We uncover a convexity property in the constraint space that simplifies, and, in some cases, fully automates, transfer function design. We also introduce domain abstraction, a functor that lifts arbitrary mappings in value space to Galois connections in function space. This supports abstraction from symbolic to numerical functions (i.e. size abstraction), and enables dimensionality reduction of equations. We base our constructions of transfer functions on a simple operator language, starting with sequences, and extending to more general functions, including multivariate, piecewise, and non-discrete domains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑