cs.LGSep 13, 2026

Signed p-adic Residual Encodings of Finite-Domain All-Different Systems with a Sudoku Case Study

Authors: Greg Baker

Organizations: School of Computing, Australian National University Canberra, Australia

Abstract

We study signed, weighted affine pp-adic residual objectives as native encodings of finite-domain constraints. For primes that separate the finite alphabet, sufficiently weighted positive unary rows pin each coefficient to its allowed set, while negative rows reward unequal endpoints or clause satisfaction. A coordinatewise domination theorem places every global minimiser in the finite domain; there the loss is, up to an additive constant, the all-different conflict count or the negative number of satisfied CNF clauses. Standard Sudoku provides an 8181-coefficient case study without a one-hot lift. A client-side implementation exposes the generated dataframes, arithmetic, diagnostics, and searches.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. DiBS: Diffusion-Informed Branch Selection

    Jun 2, 2026Bo Liu, Yuan Xie, Yuan Gao +4Sudoku SolvingDiffusion Guidance

  2. Global Difference Constraint Propagation for Constraint Programming

    Jul 22, 2026Lucas Kletzander, Jip J. Dekker, Andreas Schutt +1Constraint PropagationConstraint Satisfaction