arXiv:2611.01346cs.DMOct 2026

Manuscript Offprint

arXiv:2611.01346

Metric Testing: A Characterization of One-Sided Testability

Zihan Tan, Theo Teske

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give a unified framework for one-sided testability (constant-query testing) of metric families. For a broad class of families defined by fixed local predicates, we prove that testability is equivalent to two structural properties: packing amplification, which turns many edge-disjoint local violations into a positive density of violations, and completion stability, which allows locally consistent partial matrices with few missing entries to be cheaply completed. This characterization yields a common proof strategy and simpler proofs of classical testability results for ultrametrics, tree pseudometrics, Euclidean pseudometrics in fixed dimension, and several others.

Our framework also gives new quantitative bounds for metric testing: a nonadaptive one-sided upper bound for matrices with entries in the bounded range [1,C][1, C], and two-sided nonadaptive and adaptive lower bounds for general metrics.

*University of Minnesota Twin Cities, MN, USA. Email: ztan@umn.edu †University of Minnesota Twin Cities, MN, USA. Email: teske096@umn.edu

Contents

1 Introduction 2 1.1 Our results 3 1.2 Related work, and comparison with our results 4 1.3 Organization of the paper 5

2 Preliminaries 5

3 Characterization of one-sided testing: Proof of Theorem 1.1 9 3.1 Canonical testers and removability 9 3.2 Structural decomposition of removability 10

4 Packing amplification 12 4.1 Ultrametrics and tree pseudometrics 12 4.2 Euclidean pseudometrics and edgewise restrictions 14 4.3 Robust metric faces and the packing obstruction for general metrics 16

5 Completion stability 17 5.1 Ultrametrics and tree pseudometrics via recursive separation 18 5.2 Euclidean pseudometrics via affine anchor rigidity 20 5.3 Metrics with bounded aspect ratio via cyclic entropy 21 5.4 Twin rigidity, completion obstructions, and logical independence 24

6 Quantitative testing bounds 26 6.1 Quantitative testing of removable geometric families 26 6.2 Signed noise on robust metric faces 27 6.3 Density-sensitive sampling and asymmetric faces 28 6.4 The full nonadaptive complexity on a bounded range 29 6.5 Contextual blow-up and adaptive metric testing lower bounds 30

References (33)