William Mançon Reconstructing grouped observations under three laws I use total variation TV(p,q)=Σ|p−q|/2. From an observed symbol Y, I seek one randomized decoder K producing (Y′,J) under three hypotheses. Under Q, cells have probabilities a_y and conditional categories u_y. Under P the corresponding quantities are b_y and v_y. Under R they are b_y and u_y. I assume finite alphabets and positive probability vectors a,b. I minimize the largest of the three errors. The physical reader determines whether I must preserve Y′=Y. 1. When I preserve Y, I obtain a formula for any finite number of cells. I write D_y=TV(u_y,v_y), h_y=b_y D_y, ρ_y=a_y/b_y and B=Σ h_y. δ_keep = max{ B/2, max_i Σ_y min(ρ_i,ρ_y) h_y /(1+ρ_i) }. Within a cell I replace any reconstructed law k by (1−t)u+t v with t=min(1,TV(k,u)/D). Its distance to u does not increase, and the triangle inequality gives the same conclusion for v. I choose u when D=0. With z=h t and Z=Σ z, the three errors are Σρ z, B−Z and Z. At fixed Z, transferring weight from an expensive ratio to a cheaper one reduces the first error. Filling capacities h in increasing order of ratio gives C(Z)=max_i[ρ_i Z−Σ_y(ρ_i−ρ_y)_+ h_y] on [0,B]. The line indexed by the cell being filled has exactly the active slope and intercept. To attain error e≤B I need B−e≤Z≤e. The smallest admissible Z also minimizes C. Substituting Z=B−e in C(Z)≤e gives the formula and an attaining decoder. Zero capacities and tied ratios are allowed. For two cells, A=Σ a_y D_y and ρ=max_y a_y/b_y yield max(B/2,A/(1+ρ)), since the other ratio is at most one. One informative cell with masses a,b recovers b·max(a,b)D/(b+max(a,b)). Using midpoints costs max(A,B)/2. On my 1,200-case grid the optimum always equals B/2, while the midpoint loses in 280 cases. 2. When I allow relabelling, the location of mass inside each cell matters. I set a=(1/4,3/4), b=(3/4,1/4). Each coordinate of u or v now specifies the probability of the first category in a binary cell. At 0≤t≤1 I compare two experiments. I: u=(0,0), v=(t,1). II: u=(1−t,0), v=(1,1). Both have D=(t,1). Writing H=(1+3t)/8, I obtain δ_keep(I)=δ_keep(II)=max(H,(3+t)/16), δ_free(I)=max(H,3/16), δ_free(II)=max(H,(3+t)/16). P and R have the same source, so half their target distance H bounds the error below. I also use the signed measure Q−3P. It is nonpositive on the source and stays so after any kernel. If a target event has positive Q−3P mass c, at least one error reaches c/4. In I, the second category of the second cell gives c=3/4. In II, the union of the second categories of both cells gives c=(3+t)/4. The preserving upper bound proves equality in II. For I, the following two-row kernels use columns (cell 0 first, 0 second, 1 first, 1 second). t=0: (0,1,0,0) and (0,0,1/4,3/4). t=1/6: (0,13/16,3/16,0) and (0,1/16,3/16,3/4). t=1: (1/3,1/3,1/3,0) and (0,0,0,1). Multiplication gives worst errors 3/16, 3/16 and 1/2 at the three points. Between adjacent points I interpolate the kernels. The source is fixed, the targets are affine and total variation is convex. The upper bound is the chord joining the endpoint errors, equal to the lower bound on each interval. I get strict improvement for 0