A prime-field rank logic dichotomy for finite-template CSPs
Version 3 / Dec 06, 2026 / CC BY 4.0
Abstract
Let be a finite relational template. The existence of a homomorphism from a finite unordered input to is definable in prime-field rank logic if and only if the core of admits a weak near-unanimity polymorphism. If the core has elements and admits such a polymorphism, pinned cohomological consistency is complete at a template-dependent width over the product of the primes at most . In each round the prime fields can use different witnesses supported on the same surviving partial assignments. To obtain this modulus, we reconstruct integral witnesses on finite group torsors and then remove prime powers by increasing the width. The resulting sentence uses one inflationary fixed point and prime-field solvability tests, without counting. We formalized this definability result for weak near-unanimity templates in Lean 4.
Provenance statement
Tools used
- OpenAI
- Codex
- Lean
- Lean
References
- L. Barto, M. Hadek and D. Zhuk, Toward a uniform algorithm and uniform reduction for constraint problems (2026). 2604.06335 .
- L. Barto, J. Opršal and M. Pinsker, The wonderland of reflections, Israel J. Math. 223 (2018), 363--398. 10.1007/s11856-017-1621-9.DOI
- A. A. Bulatov, A dichotomy theorem for nonuniform CSPs, in Proc.\ 58th IEEE Symposium on Foundations of Computer Science (FOCS 2017) , 319--330. 10.1109/FOCS.2017.37.DOI
- V. Dalmau and J. Opršal, Local consistency as a reduction between constraint satisfaction problems, in Proc.\ 39th ACM/IEEE Symposium on Logic in Computer Science (LICS 2024) , 1--15. 10.1145/3661814.3662068.DOI
- A. Dawar, E. Grädel, B. Holm, E. Kopczyński and W. Pakusa, Definability of linear equation systems over groups and rings, Log. Methods Comput. Sci. 9 (2013), no. 4, Art. 12. 10.2168/LMCS-9(4:12)2013.DOI
- A. Dawar, M. Grohe, B. Holm and B. Laubner, Logics with rank operators, in Proc.\ 24th Annual IEEE Symposium on Logic in Computer Science (LICS 2009) , 113--122. 10.1109/LICS.2009.24.DOI
- A. Gkantzounis, Affine hierarchies: exact coefficient heights and algebraic completeness , Zenodo (2026). 10.5281/zenodo.24368757.DOI
- D. Goel, Cohomological -consistency decides coset CSPs over all finite solvable groups (expanded version 2.00), Zenodo (2026). 10.5281/zenodo.24761279.DOI
- E. Grädel and W. Pakusa, Rank logic is dead, long live rank logic!, J. Symbolic Logic 84 (2019), 54--87. 10.1017/jsl.2018.33.DOI
- M. Lichter, Separating rank logic from polynomial time, J. ACM 70 (2023), no. 2, Art. 14, 1--53. 10.1145/3572918.DOI
Show all 14 referencesShow fewer references
- M. Lichter and B. Pago, Limitations of affine integer relaxations for solving constraint satisfaction problems, in Proc.\ 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025) , LIPIcs 334 , 166:1--166:17. 10.4230/LIPIcs.ICALP.2025.166.DOI
- A. Ó Conghaile, Cohomology in constraint satisfaction and structure isomorphism, in Proc.\ 47th International Symposium on Mathematical Foundations of Computer Science (MFCS 2022) , LIPIcs 241 , 75:1--75:16. 10.4230/LIPIcs.MFCS.2022.75.DOI
- Q. Peng and P. Wu, Permutation transporters and bounded cohomological width , version 2.0.1, Zenodo (2026). 10.5281/zenodo.24837202.DOI
- D. Zhuk, A proof of the CSP dichotomy conjecture, J. ACM 67 (2020), Art. 30, 1--78. 10.1145/3402029.DOI