Numerical Fuzz: A Type System for Rounding Error Analysis
Ariel E. Kellison, Justin Hsu
摘要
Algorithms operating on real numbers are implemented as floating-point computations in practice, but floatingpoint operations introduce roundoff errors that can degrade the accuracy of the result. We propose Λ num , a functional programming language with a type system that can express quantitative bounds on roundoff error. Our type system combines a sensitivity analysis, enforced through a linear typing discipline, with a novel graded monad to track the accumulation of roundoff errors. We prove that our type system is sound by relating the denotational semantics of our language to the exact and floating-point operational semantics.
To demonstrate our system, we instantiate Λ num with error metrics proposed in the numerical analysis literature and we show how to incorporate rounding operations that faithfully model aspects of the IEEE 754 floating-point standard. To show that Λ num can be a useful tool for automated error analysis, we develop a prototype implementation for Λ num that infers error bounds that are competitive with existing tools, while running significantly faster and scaling to larger programs. Finally, we consider semantic extensions of our graded monad to bound error under more complex rounding behaviors, such as non-deterministic and randomized rounding.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper4
- Bean: A Language for Backward Error AnalysisAriel E. Kellison, Laura Zielinski, David Bindel, Justin HsuPLDI 2025 · 被引用 2 次
- Dependent Coeffects for Local Sensitivity AnalysisVictor Sannier, Patrick BaillotPOPL 2026 · 被引用 1 次
- Synthesizing Sound and Precise Abstract Transformers for Nonlinear Hyperbolic PDE SolversJacob Laurel, Ignacio Laguna, Jan HückelheimOOPSLA 2025 · 被引用 1 次
- Synthesizing Backward Error Bounds, BackwardLaura Zielinski, Justin HsuPLDI 2026
它引用的顶会 Paper3
- Scalable yet rigorous floating-point error analysisArnab Das, Ian Briggs, Ganesh Gopalakrishnan, Sriram Krishnamoorthy 等SC 2020 · 被引用 36 次
- A relational theory of effects and coeffectsUgo Dal Lago, Francesco GavazzoPOPL 2022 · 被引用 22 次
- One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modesJay P. Lim, Santosh NagarakattePOPL 2022 · 被引用 15 次
相关 Paper
- Rigorous Floating-Point Round-Off Error Analysis in PRECiSA 4.0Laura Titolo, Mariano M. Moscato, Marco A. Feliú, Paolo Masci 等FM 2024 · 被引用 1 次
- Rigorous Roundoff Error Analysis of Probabilistic Floating-Point ComputationsGeorge A. Constantinides, Fredrik Dahlqvist, Zvonimir Rakamaric, Rocco SalviaCAV 2021 · 被引用 5 次
- Total Type Error Localization and Recovery with HolesEric Zhao, Raef Maroof, Anand Dukkipati, Andrew Blinn 等POPL 2024 · 被引用 15 次
- When AllClose Fails: Round-Off Error Estimation for Deep Learning ProgramsQi Zhan, Xing Hu, Yuanyi Lin, Tongtong Xu 等ASE 2025
- A graded dependent type system with a usage-aware semanticsPritam Choudhury, Harley Eades III, Richard A. Eisenberg, Stephanie WeirichPOPL 2021 · 被引用 33 次
