William Mançon
Two binary cells: deciding whether a shared decoder exists

1. Model and claim
I observe which cell, {1,2} or {3,4}, contains an output. I seek probabilities u,v for returning the first symbol of each cell across all situations. The first-cell frequency m may vary by situation. The reconstructed law is L(m)=(mu,m(1−u),(1−m)v,(1−m)(1−v)). At tolerance e I require TV(L(m_i),T_i)≤e simultaneously, where TV is half the sum of absolute differences. The target family is finite, nonempty and rational, and e is a nonnegative rational number. Continuity and compactness give an attained optimum.

I give an exact decision and a certificate for either answer. A feasible instance admits a witness whose entries all belong to a single real field of degree at most two over the rationals. The degree of the optimal radius when it is a variable remains open here.

2. Four regions
I express TV using all sixteen events S. Conditional event probabilities within the cells are f∈{0,1,u,1−u} and g∈{0,1,v,1−v}. Each event gives c m≤r with c=f−g and r=T_i(S)+e−g. Only the diagonals u=v and u+v=1 split the interior of the unit square. I use the four closed triangles, covering the eight open boundary or diagonal segments and the five vertices too. I include m≥0 and m≤1 among the conditions.

Take c negative and d positive in the interior of a triangle. The lower bound r/c and upper bound s/d are compatible precisely when rd−sc≥0. For identically zero coefficients I keep r≥0. When a coefficient vanishes on the boundary, its comparison with the opposite endpoint bound m≤1 or m≥0 enforces r≥0. This also treats simultaneous zeros. For each target law, compatibility of all pairs of bounds is necessary and sufficient for a common mass in its interval.

The v coefficients in r and c coincide, so v² cancels in each cross product. There is no u² term. I replace uv by w and obtain rational half-spaces in three variables. I intersect these with the unit cube and w≤u,v and w≥u+v−1, valid for the product everywhere in the square. Feasibility is now equivalent to one of four polytopes containing a zero of G=w−uv. At fixed u the product condition is a line in (v,w). Here I use the classical McCormick bounds for a bilinear product. Extremization gives a finite test without enumerating the slices.

3. Completeness and certificates
On a nonempty compact polytope G attains both extrema. No extremum lies in its three-dimensional interior because the w derivative is one. A vertical facet allows displacement in the w direction. On a nonvertical plane the restriction has the form A u+B v+C−uv with indefinite Hessian. Both extrema can therefore be found on edges or vertices. This includes flat polytopes, segments and singletons. On a segment between rational vertices G is a quadratic polynomial of one parameter with rational coefficients. Endpoints and any interior stationary point are rational. I check every vertex pair, which includes every edge. Extra chords are contained in the polytope.

A zero exists precisely when the minimum is ≤0 and the maximum ≥0. An extremal zero already supplies a rational witness. Otherwise I join rational points of opposite signs. A root of degree at most two along that chord gives exact u,v, and the admissible mass bounds supply an m in the same field for every law. Isolated solutions and tangencies are covered.

For rejection I return valid half-spaces in each triangle sufficient, together with the cube, to exclude G=0. The independent checker derives the admissible planes again, enumerates triple intersections by determinants, recomputes extrema and verifies their signs. For acceptance it substitutes the witness into all sixteen event inequalities per row. Verification time may increase with the number of planes and vertices.

4. Why checking pairs can fail
I use A=(9,5,7,6)/27, B=(1,9,7,4)/21 and C=(1,3,2,8)/14. Every coordinate is positive. At e=3/16 every pair is feasible. For the three laws together, three lifted polytopes are empty and the remaining one has 15194137/5778128196≤G≤2809/201600. This strictly positive range excludes a common decoder. Cases 264 to 267 in essais26.json (zero-based) give the rejection and the three pair witnesses.

After fourteen bisections the triple optimum lies in (1567/8192,3135/16384]. All pair optima are ≤2535/16384, so the gap exceeds 599/16384. Moving every target by at most δ in TV moves each optimum by at most δ by the triangle inequality. For δ<599/32768 the triple remains strictly harder than every pair, possibly at a different separating tolerance. To preserve the decision at exactly 3/16, δ<31/8192 suffices.

5. A boundary in the two-row family
I take Q=(5/24,C,0,19/24−C) and P=(3/4,0,1/4,0). With E=19/100 and D=19/24−C>2E, the previous lower bound forces u=1,v=6/25 at radius E. Its proof uses D>2E. The assumption C≤E was used to build an attaining witness. At u=1 the second output has zero probability, hence TV≥C. Under D>2E, radius E is feasible exactly for C≤E. At C=k/120 for k=0,…,95 the accepted indices are 0,…,22 and the first rejection is k=23. When D≤2E the remaining grid rejections are individually certified.

5a. Preserving the observed cell masses
I write h for mass transferred from the first cell to the second in the third row. On profile I the minimum error is 5(4h+3)/96 on [1/5,3/5], then 3h/[4(1+h)] up to 3/4. On profile II I obtain (76h+45)/288 on [3/19,9/19], (17h+9)/[24(3−h)] on [9/19,1/2], then 7h/[8(1+h)] up to 5/8. At h=1/2 I can choose (u,v)=(49/60,23/60) or (5/6,7/18). Both give error 7/24. In regimes26.py I give three active inequalities and nonnegative weights on each piece. Their weighted sum eliminates u and v and bounds the cost from below. The proposed decoder attains it. After clearing positive denominators each slack has degree at most two in h. I verify its sign throughout the interval using its three coefficients in the Bernstein basis.

6. Running the checks and placing the result
I download the JSON certificate for the displayed settings from the laboratory and check it with python -B verifier26.py certificat-rayon.json. From the extracted reliability kit I run python -B verifier26.py to verify all 373 certificates using the standard library. python -B robuste26.py reproduces the brackets. I call decide(rows,radius) from rayon26.py with fractions or strings representing rationals. python -B mesures26.py compares the result with depth-12 dyadic subdivision in maximum norm. For fixed m, changing the conditionals changes TV by at most m|Δu|+(1−m)|Δv|. Minimizing over m per row and then taking the maximum preserves the Lipschitz constant one. A centre value minus the half-width that exceeds e excludes the square. At the isolated optimum 19/100 centre sampling leaves undecided boxes. With the optional z3-solver package, --smt adds a real arithmetic solver operating on the original event inequalities. mesures26.json contains three timings per input and JSON output sizes. For subdivision I count the leaf list or the witness centre. For Z3 I record its status and do not export a comparable proof. The comparison covers three radii on one profile.

Le Cam & Yang (§6.3) discuss approximation by experiments admitting a sufficient statistic. I use Fourier–Motzkin elimination to compare mass bounds. In the probability tetrahedron I seek a segment between two opposite edges meeting each TV ball clipped to the simplex. Teller and Hohmeyer already reduce an oriented polygon stabbing problem to a polytope and a quadric and inspect edges. Kaplan, Rubin and Sharir study transversals to convex polyhedra. I put forward the four-region, three-variable specialization for these laws, the degree bound on its witnesses and the strictly positive obstruction with reproducible certificates. Establishing priority requires a closer comparison with constrained transversals. I can use this result immediately to check exact compatibility of known tables or as a reference case for calibration software. Validation with field data is still open.

Le Cam & Yang, Asymptotics in Statistics, 2000, https://doi.org/10.1007/978-1-4612-1166-2
Dantzig & Eaves, Fourier–Motzkin elimination and its duality, 1973, https://doi.org/10.1016/0097-3165(73)90004-6
Teller & Hohmeyer, Stabbing Oriented Convex Polygons in Randomized O(n²) Time, 1992 report, https://www2.eecs.berkeley.edu/Pubs/TechRpts/1992/6136.html
Kaplan, Rubin & Sharir, Line Transversals of Convex Polyhedra in R³, https://arxiv.org/abs/0807.1221
Jovanović & de Moura, Solving Non-Linear Arithmetic, 2012, https://www.microsoft.com/en-us/research/publication/solving-non-linear-arithmetic/
McCormick, Computability of global solutions to factorable nonconvex programs, 1976, https://doi.org/10.1007/BF01580665
