Part A: Gamma-slack coupling (N = 400000 each)
  d=2 p=2 b=[0, 1]: max | ||Y||_p^p - 1 | = 1.9e-13, |Y|>=|X|: True, max martingale z = 1.64, max moment z (X, Y) = 0.77, 0.49
  d=3 p=2 b=[0, 0, 2]: max | ||Y||_p^p - 1 | = 4.4e-16, |Y|>=|X|: True, max martingale z = 1.18, max moment z (X, Y) = 1.50, 0.96
  d=3 p=1.5 b=[0.5, 0, 1]: max | ||Y||_p^p - 1 | = 4.4e-16, |Y|>=|X|: True, max martingale z = 1.43, max moment z (X, Y) = 1.18, 1.18
  d=2 p=1.25 b=[0.5, 0.75]: max | ||Y||_p^p - 1 | = 4.4e-16, |Y|>=|X|: True, max martingale z = 1.59, max moment z (X, Y) = 0.77, 1.29
  d=3 p=3 b=[0, 0, 0]: max | ||Y||_p^p - 1 | = 1.6e-10, |Y|>=|X|: True, max martingale z = 2.52, max moment z (X, Y) = 1.77, 1.35
  d=4 p=1.33 b=[0, 1.3333333333333333, 0, 0]: max | ||Y||_p^p - 1 | = 4.4e-16, |Y|>=|X|: True, max martingale z = 1.37, max moment z (X, Y) = 1.05, 1.05
  d=3 p=1 b=[0, 0, 0]: max | ||Y||_p^p - 1 | = 2.8e-15, |Y|>=|X|: True, max martingale z = 1.27, max moment z (X, Y) = 1.44, 1.41
Part B: Lemma 4.1 in the plane (geometric weight vs cone-measure formula)
  max relative discrepancy over 20 bodies x 22 test functions: 3.8e-16
Part C: planar inequalities by quadrature
  positive cases (48 bodies, 22 test functions + all quadratics): min(boundary - volume) = -3.33e-16
  negative case p=2 a=3 (a(p-1)=3 > p): volume 0.25000 (1/(2+p)=0.25000), boundary 0.20000 (limit 1/(2+a(p-1))=0.20000)
  negative case p=2 a=2.5 (a(p-1)=2.5 > p): volume 0.25000 (1/(2+p)=0.25000), boundary 0.22222 (limit 1/(2+a(p-1))=0.22222)
  negative case p=3 a=2 (a(p-1)=4 > p): volume 0.20000 (1/(2+p)=0.20000), boundary 0.16683 (limit 1/(2+a(p-1))=0.16667)
  negative case p=1.5 a=4 (a(p-1)=2 > p): volume 0.28571 (1/(2+p)=0.28571), boundary 0.25000 (limit 1/(2+a(p-1))=0.25000)
  negative case p=1.25 a=6 (a(p-1)=1.5 > p): volume 0.30769 (1/(2+p)=0.30769), boundary 0.28571 (limit 1/(2+a(p-1))=0.28571)
  negative case p=3 a=1.6 (a(p-1)=3.2 > p): volume 0.20000 (1/(2+p)=0.20000), boundary 0.19248 (limit 1/(2+a(p-1))=0.19231)
Part D: ellipsoids in dimension 3, ordinary surface area (a = 1), Monte Carlo N = 10^6
  smallest z-score of (boundary mean - volume mean) over 72 tests: 10.8
all checks passed
