Sampling from $p$-adic algebraic manifolds
Yassine El Maazouz, Enis Kaya
TL;DR
This work introduces a non-archimedean, $p$-adic analogue of random-point sampling on algebraic manifolds by intersecting the target variety with random affine subspaces of complementary dimension. The core idea leverages the weight function $w_X$ and the $p$-adic co-area formula to convert integrals into expectations and to produce exact density-preserving samples from $X$ with a prescribed density $f$. The authors prove affine and projective versions of the main theorems, provide practical sampling procedures for linear spaces, and supply a SageMath implementation. The framework is demonstrated on concrete contexts, including measures on algebraic groups and moduli spaces such as modular curves and Hilbert modular surfaces, illustrating its potential for arithmetic statistics and computational algebraic geometry in the $p$-adic setting.
Abstract
We present a method for sampling points from an algebraic manifold, either affine or projective, defined over a local field, with a prescribed probability distribution. Inspired by the work of Breiding and Marigliano on sampling real algebraic manifolds, our approach leverages slicing the given variety with random linear spaces of complementary dimension. We also provide an implementation of this sampling technique and demonstrate its applicability to various contexts, including sampling from linear $p$-adic algebraic groups, abelian varieties, and modular curves.
