William Mançon · 3 December 2026
Best approximation by two shared binary conditionals

I have four symbols numbered 1 to 4 and observe their cell, either {1,2} or {3,4}. I want the probability of returning the first symbol of each cell to be common across situations. I write these probabilities as u,v. Allowing the first cell's mass m to vary gives the approximating law
L(m)=(mu,m(1−u),(1−m)v,(1−m)(1−v)).
I minimize the largest total variation error over u,v and one mass per situation, including endpoints. My convention is TV(x,y)=Σ|x−y|/2=max_S(x(S)−y(S)). The three-law model has five parameters. The error radius is a sixth unknown in a constraint formulation.

1. A formula for a family of targets
Take Q=(A,C,0,D) and P=(P₁,0,1−P₁,0), with D=1−A−C and 0≤A<P₁<1. Write
E=(1−P₁)(1−A)/(2−A−P₁).
If C≤E and D>2E then the minimum is E and the unique optimal pair of conditionals is
u=1, v=(1−P₁)/(2−A−P₁).
I choose m_Q=A and m_P=P₁. On the first row symbol 3 receives excess E, symbol 1 is exact and the other two have combined deficit E since C≤E. On the second row I move E from symbol 3 to symbol 4. Adding any target within distance E of this same segment {L(m)} preserves the optimum.

2. Global lower bound
Suppose both errors are at most E. From Q I need (1−m_Q)(1−v)≥D−E, hence v≤1−D+E<1−E. Since P is supported on {1,3}, I need m_P u+(1−m_P)v≥1−E. Thus u≥1−E>P₁>A and u>v. These inequalities exclude the opposite orientation directly.
For Q I use excess probability on {3} and {1,3}. Their maximum at mass m equals (1−m)v+max(0,mu−A), minimized at m=A/u with value v(1−A/u).
For P I use {2,4} and {1,2,4}. The two excesses are m(1−u)+(1−m)(1−v) and m−P₁+(1−m)(1−v). The first is nonincreasing and the second nondecreasing. Their maximum is at least 1−P₁−v(1−P₁/u), the value at m=P₁/u.
Minimizing the maximum of these lower bounds in v gives their crossing value
(1−P₁)(u−A)/(2u−A−P₁).
Its derivative has the sign of A−P₁, so it is strictly decreasing in u. Since u≤1 the lower bound is at least E. Equality requires u=1 and the unique crossing value of v. This also handles boundary probabilities. The sufficient conditions matter: for A=0, P₁=1/4 and C=1, the expression would give 3/7, while u=0,v=1 with masses 1 and 0 gives error at most 1/4.

3. The profile at 19/100
I use Q=(5/24,1/24,0,3/4), P=(3/4,0,1/4,0), R=(5/8,1/8,0,1/4). I obtain u=1, v=6/25 and E=19/100. The masses 5/24, 3/4 and 5/8 give errors 19/100, 19/100 and 1/8. The first two rows certify the three-row optimum. Of eight symbol permutations preserving the two-cell partition, only the identity preserves the set of targets. The earlier enclosure from 425 boxes is a separate check. verifier25.py --smt tests over the real numbers both the impossibility of strict improvement and the impossibility of different conditionals at the optimal radius. The option uses z3. The event calculation and the interactive mass optimizer run with the Python standard library.

When I keep cell frequencies fixed at their physical values, the unrestricted decoder and the within-cell decoder both cost 19/96. profil25.json gives their two matrices and a dual lower witness for the unrestricted one. Allowing cell frequencies to change yields 19/100, a difference of 19/2400. This gain describes distance to a statistical family for which the partition is sufficient. It relies on the freedom to change observed frequencies.

4. Testing other targets
Fix a radius e. Write f_S(u), g_S(v) for event probabilities conditional on each cell. A target T requires m(f_S−g_S)≤T(S)+e−g_S for every event S. A positive coefficient supplies an upper bound on m, a negative one a lower bound, and a zero coefficient a direct test of the right-hand side. I intersect all bounds with [0,1]. This eliminates the mass even on faces. When I cross-multiply any two bounds the terms g_S g_H cancel. On regions of fixed signs the remaining constraints involve only 1,u,v,uv. This suggests a decision algorithm for arbitrary four-symbol targets at a prescribed radius. The site already minimizes each row loss exactly at given u,v by checking the knots of the absolute values.

At global radius 19/100 and the optimal conditionals, event inequalities force masses 5/24 and 3/4 for the first two targets. The third mass can be any value in [14/25,115/152]. Thus uniqueness of the conditionals coexists with freedom in the third frequency. I reproduce all three intervals in intervalles25.py. For bit size I take distinct deterministic inputs and first target (2⁻ᵏ,1−2⁻ᵏ). At zero cost both kernel rows are forced and the first denominator requires k+1 bits even on a fixed alphabet.

5. Two controls
For constant observations and ternary targets, TV(x,y)=max_i|x_i−y_i| because three differences summing to zero have at most one term of one sign. For any set of targets let M_i and m_i be the coordinate maximum and minimum. A centre at radius e exists if the intervals [max(0,M_i−e),m_i+e] are nonempty and one lies between the sums of lower and upper endpoints. Filling to total mass one constructs a centre. The exact radius is the maximum of zero, max_i(M_i−m_i)/2, (1−Σm_i)/3, and (Σ_{i∈S}M_i−1)/|S| over nonempty subsets S. I can therefore decide equality at the pairwise bound. On the denominator-three and denominator-six grids there are 19 and 320 strict gaps among 220 and 4,060 unordered triples with repetitions, including 19 gaps among strictly interior laws on the latter grid.

For the ten-site rounded reader, put w=(9/10)^10, a=[(9/10+h)(44/45)(14/15)]^10 and b=70h/27. For 0≤h≤1/10 I have a≥b by applying (1−s)^10≥1−10s to each of the first three rates. For b>0 the test at λ=a/b in AT.V36 gives exactly abw/(a+b): only symbol one contributes to Hλ(q,p), and the input hinge is zero. A within-cell kernel with first conditional aw/(a+b) and second conditional zero attains that cost. At h=0 the cost is zero by direct substitution. The right derivative is 70w/27=903981141/1000000000.

6. Prior work and contribution
I use Le Cam and Yang’s distance to a family for which the statistic is sufficient, with TV defined as half the L1 norm. Shared conditionals mean independence of the hypothesis and fine symbol given the cell. Canonne, Diakonikolas, Kane and Stewart consider testing an unknown joint distribution for conditional independence from samples. Here the laws are specified and I minimize maximum error over hypotheses. I propose for review the symbolic solution on the family in section 1, including uniqueness, an explicit three-law instance and a quantitative comparison of reconstruction models. Priority of this particular formula remains open to review.

Le Cam and Yang (2000), §6.3, remark 6 https://doi.org/10.1007/978-1-4612-1166-2
Le Cam (1974), On the Information Contained in Additional Observations https://doi.org/10.1214/aos/1176342753
Canonne, Diakonikolas, Kane and Stewart (2018) https://arxiv.org/abs/1711.11560

I specialize Fourier–Motzkin elimination when comparing lower and upper mass bounds. Cancellation of the terms quadratic in v follows from the conditional probability structure here. My independent witness uses a decision procedure for nonlinear real arithmetic.
Dantzig & Eaves (1973) https://doi.org/10.1016/0097-3165(73)90004-6
Jovanović & de Moura (2012) https://www.microsoft.com/en-us/research/publication/solving-non-linear-arithmetic/
