Strong Invariants Are Hard: On the Hardness of Strongest Polynomial Invariants for (Probabilistic) Programs
Julian Müllner, Marcel Moosbrugger, Laura Kovács
摘要
We show that computing the strongest polynomial invariant for single-path loops with polynomial assignments is at least as hard as the Skolem problem, a famous problem whose decidability has been open for almost a century. While the strongest polynomial invariants are computable for affine loops , for polynomial loops the problem remained wide open. As an intermediate result of independent interest, we prove that reachability for discrete polynomial dynamical systems is Skolem -hard as well. Furthermore, we generalize the notion of invariant ideals and introduce moment invariant ideals for probabilistic programs. With this tool, we further show that the strongest polynomial moment invariant is (i) uncomputable, for probabilistic loops with branching statements, and (ii) Skolem -hard to compute for polynomial probabilistic loops without branching statements. Finally, we identify a class of probabilistic loops for which the strongest polynomial moment invariant is computable and provide an algorithm for it.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- This is the moment for probabilistic loops 引用了 Latticed k-Induction with an Application to Probabilistic Programs
- Highly Incremental: A Simple Programmatic Approach for Many Objectives 引用了 Latticed k-Induction with an Application to Probabilistic Programs
- Highly Incremental: A Simple Programmatic Approach for Many Objectives 引用了 This is the moment for probabilistic loops
- Highly Incremental: A Simple Programmatic Approach for Many Objectives 引用了 A Calculus for Amortized Expected Runtimes
- Piecewise Analysis of Probabilistic Programs via 𝑘-Induction 引用了 Latticed k-Induction with an Application to Probabilistic Programs
- Piecewise Analysis of Probabilistic Programs via 𝑘-Induction 引用了 This is the moment for probabilistic loops
引用它的顶会 Paper3
- Simple Linear Loops: Algebraic Invariants and ApplicationsRida Ait El Manssour, George Kenison, Mahsa Shirmohammadi, Anton VaronkaPOPL 2025 · 2 次引用
- Highly Incremental: A Simple Programmatic Approach for Many ObjectivesPhilipp Schröer, Joost-Pieter KatoenFM 2026 · 1 次引用
- Piecewise Analysis of Probabilistic Programs via 𝑘-InductionTengshun Yang, Shenghua Feng, Hongfei Fu, Naijun Zhan 等POPL 2026
它引用的 Paper6
- This is the moment for probabilistic loopsMarcel Moosbrugger, Miroslav Stankovic, Ezio Bartocci, Laura KovácsOOPSLA 2022 · 30 次引用
- A Calculus for Amortized Expected RuntimesKevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph Matheja 等POPL 2023 · 22 次引用
- Latticed k-Induction with an Application to Probabilistic ProgramsKevin Batz, Mingshuai Chen, Benjamin Lucien Kaminski, Joost-Pieter Katoen 等CAV 2021 · 21 次引用
- What's decidable about linear loops?Toghrul Karimov, Engel Lefaucheux, Joël Ouaknine, David Purser 等POPL 2022 · 19 次引用
- When Less Is More: Consequence-Finding in a Weak Theory of ArithmeticZachary Kincaid, Nicolas Koh, Shaowei ZhuPOPL 2023 · 8 次引用
相关 Paper
- Porous InvariantsEngel Lefaucheux, Joël Ouaknine, David Purser, James WorrellCAV 2021 · 6 次引用
- Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic ProgramsKrishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, Dorde ZikelicCAV 2022 · 30 次引用
- On the Complexity of the Skolem Problem at Low OrdersPiotr Bacik, Joël Ouaknine, James WorrellSODA 2026
- Solvable Polynomial Ideals: The Ideal Reflection for Program AnalysisJohn Cyphert, Zachary KincaidPOPL 2024 · 11 次引用
- An Approximate Skolem Function CounterArijit Shaw, Brendan Juba, Kuldeep S. MeelAAAI 2024 · 2 次引用
