arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.15633cs.PL
收藏

合成后向误差界,后向

Synthesizing Backward Error Bounds, Backward

Cornell University(康奈尔大学)

Laura Zielinski, Justin Hsu

AI总结:

本文提出一个形式框架,用于对广泛数值程序进行可靠的自动后向误差分析。通过扩展后向稳定性定义,开发了Shel类别,并实现工具eggshel自动证明程序的后向稳定性。

摘要:

后向稳定性是设计良好数值算法的 desirable 属性:给定输入,一个后向稳定的浮点程序会产生附近输入的精确输出。尽管自动工具用于界 forward error 已经成熟,但现有工具很少针对后向误差分析。我们提出一个形式框架,使广泛数值程序的后向误差分析成为可能。首先,我们提出后向稳定性的新型一般化定义,该定义具有组合性和灵活性,被广泛浮点运算所满足。其次,基于此一般化,我们开发了Shel类别,其中态射建模稳定数值程序,并展示Shel中的结构支持丰富的后向误差分析。第三,我们实现了一个工具eggshel,该工具在Shel的语法子类别中自动搜索以证明给定程序的后向稳定性。我们的算法处理许多具有变量重用的程序,这是后向误差分析中的已知挑战。我们证明了算法的正确性,并使用该工具为一组此前无法自动分析的程序合成后向误差界。

英文摘要:

Backward stability is a desirable property for a well-designed numerical algorithm: given an input, a backward stable floating-point program produces the exact output for a nearby input. While automated tools for bounding the forward error of a numerical program are well-established, few existing tools target backward error analysis. We present a formal framework that enables sound, automated backward error analysis for a broad class of numerical programs. First, we propose a novel generalization of the definition of backward stability that is both compositional and flexible, satisfied by a wide range of floating-point operations. Second, based on this generalization, we develop the category Shel where morphisms model stable numerical programs, and show that structures in Shel support a rich variety of backward error analyses. Third, we implement a tool, eggshel, that automatically searches within a syntactic subcategory of Shel to prove backward stability for a given program. Our algorithm handles many programs with variable reuse, a known challenge in backward error analysis. We prove soundness of our algorithm and use our tool to synthesize backward error bounds for a suite of programs that were previously beyond the reach of automated analysis.

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

↑