English

Polynomial-time Tractable Problems over the $p$-adic Numbers

Computational Complexity 2025-04-21 v1 Logic

Abstract

We study the computational complexity of fundamental problems over the pp-adic numbers Qp{\mathbb Q}_p and the pp-adic integers Zp{\mathbb Z}_p. Gu\'epin, Haase, and Worrell proved that checking satisfiability of systems of linear equations combined with valuation constraints of the form vp(x)=cv_p(x) = c for p5p \geq 5 is NP-complete (both over Zp{\mathbb Z}_p and over Qp{\mathbb Q}_p), and left the cases p=2p=2 and p=3p=3 open. We solve their problem by showing that the problem is NP-complete for Z3{\mathbb Z}_3 and for Q3{\mathbb Q}_3, but that it is in P for Z2{\mathbb Z}_2 and for Q2{\mathbb Q}_2. We also present different polynomial-time algorithms for solvability of systems of linear equations in Qp{\mathbb Q}_p with either constraints of the form vp(x)cv_p(x) \leq c or of the form vp(x)cv_p(x)\geq c for cZc \in {\mathbb Z}. Finally, we show how our algorithms can be used to decide in polynomial time the satisfiability of systems of (strict and non-strict) linear inequalities over Q{\mathbb Q} together with valuation constraints vp(x)cv_p(x) \geq c for several different prime numbers pp simultaneously.

Keywords

Cite

@article{arxiv.2504.13536,
  title  = {Polynomial-time Tractable Problems over the $p$-adic Numbers},
  author = {Arno Fehm and Manuel Bodirsky},
  journal= {arXiv preprint arXiv:2504.13536},
  year   = {2025}
}
R2 v1 2026-06-28T23:03:02.172Z