Metraipolis › archive › dc_ac3ec4d50c6b
Fixing the Fixpoint: A Formal Theory of Convergence Detection for Incremental Recursive Computation — arXiv:2610.00530
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.00530
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T11:30:12.407Z
- SHA-256 of the archived text
a5cb5c50e73d70c5915ec00100f0f9f90006dfd33e9f123b1e7fe844ed9efa36- Stable URL of this page
https://metraipolis.com/documento/dc_ac3ec4d50c6b
How to cite
Fixing the Fixpoint: A Formal Theory of Convergence Detection for Incremental Recursive Computation — arXiv:2610.00530 — arXiv (en), https://arxiv.org/abs/2610.00530 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ac3ec4d50c6b (Metraipolis archive dc_ac3ec4d50c6b, sha256 a5cb5c50e73d70c5915ec00100f0f9f90006dfd33e9f123b1e7fe844ed9efa36)
BibTeX
@misc{dcac3ec4d50c6b,
title = {Fixing the Fixpoint: A Formal Theory of Convergence Detection for Incremental Recursive Computation — arXiv:2610.00530},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.00530},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ac3ec4d50c6b; sha256 a5cb5c50e73d70c5915ec00100f0f9f90006dfd33e9f123b1e7fe844ed9efa36},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.00530. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Modern incremental computation theories like DBSP have enabled efficient incrementalization of general recursive computations. To do so, they require a runtime Fixpoint Detection (FPD) mechanism to detect whether an iterative computation has reached the fixpoint and thus should terminate. However, we show that the commonly suggested "FirstZero" strategy is unsound even in naturally arising cases, and that exact FPD is impossible for arbitrary DBSP circuits with expressive primitive nodes. This issue reveals a fundamental gap between the mathematical specification and implementations of such theories. To fill this gap, using DBSP as a core calculus, we develop a formal theory of convergence detection. Within this theory, we define internal convergence (IntConv) as a declarative criterion corresponding to the internal-state-stability strategy used by practical implementations, and prove that IntConv is a sufficient condition for external convergence. We then define the state fixpoint (StFP) predicate and a sound and complete StFP detector. Combining the StFP detector with fixed-input and zero-output checks yields a sound and complete IntConv detector. Moreover, for a large class of useful circuits (programs) including Datalog queries, nested while queries, and their incrementally optimized versions, we show that IntConv is not only sound but also complete (meaning any convergence in the theory implies the convergence in our criterion). As a result, our theory provides semantic guarantees for convergence detection on all these circuits. Our results are formally verified in Lean, with the formalization available at this https URL . Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-10-02 in cs.PL). Categorie arXiv: Programming Languages (cs.PL) ; Databases (cs.DB). Pagina del lavoro: https://arxiv.org/abs/2610.00530 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T11:17:25.927Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-10-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).