betaFeedback

WorksComputer Science

The Privacy Cost of Writing an Audit Receipt Before Its Context Is Known

Abstract

An audit recorder must permit exact recovery with a small private index before it knows which questions a future reader will ask. A recursion on question partitions generates the decision trees, their eventwise costs and the price equations. A common-optimal-tree criterion explains when reduction to a fractional cover preserves the result. On uniform binary linear event spaces with four private roles, if every quartet is split evenly by some bit, optimal identification probability at expected follow-up budget bb is (1+b)/2(1+b)/2. Otherwise it is min⁡(1/2+b/3,3/4)\min(1/2+b/3,3/4). We characterize all priors attaining the latter curve in its rising regime and derive a closed-form compiler for three binary fields. For a population tilted by one pairwise parity we obtain the full budget curve and a single recorder attaining it. On eight negotiated TLS suites the aligned populations allow a 60 percent follow-up rate at a 70 percent identification ceiling. A pairwise correlation with unchanged marginal field frequencies reduces that maximum to 40 percent. Across 960 local TLS sessions, the recorder recovered every negotiated suite using two private bits per session.

Introduction

A reviewer must be able to recover an event’s exact identity. The recorder can retain a small confidential index and write a public receipt. Later a review discloses a class containing the event. For instance, an archive could disclose which policy covered a cryptographic operation. Several policies may cover the same operation. The question is how much extra guessing power the permanent receipt gives a reader who learns the policy.

Consider three facts aa, bb, cc. A future review will identify one of the three pairs that contains the true fact. One private bit suffices to index either member of a known pair. When the pair is learned later, perfect privacy would require the receipt laws of aa and bb to coincide, and likewise for the other pairs. All three laws must then coincide. Any receipt that can occur must allow the reviewer to recover three possible facts from one bit. This is impossible. The optimum guessing factor is exactly 3/2 (Theorem 2).

Two different timings arise in practice. § 2–§ 10 study a policy determined independently of the receipt conditional on the event. § 11 gives the reader the right to choose its next question after seeing the answer history. § 12 solves the entire budget curve on uniform binary linear event spaces with three or four private roles. Its TLS experiment shows when traffic correlations force the reviewer to reduce its quota.

Security experiment

Let VV be a finite set of possible facts and E\mathcal{E} a finite family of nonempty subsets covering VV. A valid pair (x,e)(x,e) satisfies x∈ex \in e. At a single checkpoint the trusted recorder emits a finite public receipt RR and keeps S∈[k]S \in[k], where 1≤k≤∣V∣1 \le k \le|V|. A trusted reviewer must recover xx from (R,S)(R,S) with zero error on every legal pair. In the late experiment the first encoder sees only xx. In the early experiment it sees (x,e)(x,e). In both games the archive observer sees (R,e)(R,e) and can retain it indefinitely. The decoder can be fixed independently of ee in both constructions. A private state of cardinality kk represents kk distinguishable values, which requires ⌈log⁡2k⌉\lceil\log_2 k\rceil bits in a fixed-width implementation.

The exact receipt optimization

Contexts are exogenous conditional on the fact. In the late game their selection is independent of the recorder’s private coins given xx. No auxiliary secret key, side archive, uncharged decoder memory, or private transcript is available to the reviewer. An observer who already knows ee scores the additional information in RR. For a late channel W(r∣x)W(r \mid x) its worst-context guessing factor is

ρ(W)=max⁡e∈E∑rmax⁡x∈eW(r∣x).(1)\rho(W)=\max_{e\in\mathcal{E}}\sum_r\max_{x\in e}W(r\mid x). \tag*{(1)}

Its logarithm in base two is conditional maximal leakage [1, 2] for any input law with full support on the incidence relation. For a uniformly drawn fact inside a fixed context, its expression before the outer maximum is exactly the ratio of optimal guessing probabilities with and without the receipt. The score is evaluated after disclosure. It allows an early encoder to reveal the label itself in advance. A requirement to hide the label until announcement would change the comparison. The early game uses a separate channel WeW_e on each fiber. Let ρlate\rho_{\mathrm{late}} and ρearly\rho_{\mathrm{early}} be the corresponding minimum factors.

Theorem 1. With Ak={A⊆V:1≤∣A∣≤k}A_k=\{A\subseteq V:1\le|A|\le k\}, the two optima are

ρlate=min⁡wA≥0A∈Akmax⁡e∈E∑A∩e≠∅wA,∑A∋xwA=1(x∈V),(2)\rho_{\mathrm{late}}=\min_{\substack{w_A\ge0\\ A\in A_k}}\max_{e\in\mathcal{E}}\sum_{A\cap e\ne\varnothing}w_A,\qquad\sum_{A\ni x}w_A=1\quad(x\in V), \tag*{(2)}
ρearly=max⁡e∈Emax⁡{1,∣e∣/k}.(3)\rho_{\mathrm{early}}=\max_{e\in\mathcal{E}}\max\{1,|e|/k\}. \tag*{(3)}

All sums over AA in (2) use AkA_k. An epigraph variable for the maximum gives a linear program with rational data. The optimum is attained.

Proof. Fix a late channel. For any rr, at most kk facts can produce it, since the decoder has only kk possible outputs at that rr. Conversely, any channel with these column supports permits exact recovery by privately retaining the index within the support. Write a column as nested indicators at its distinct positive levels. More precisely, set 0=u0<u1<⋯<um0=u_0<u_1<\cdots<u_m to its levels and Aj={x:W(r∣x)≥uj}A_j=\{x:W(r\mid x)\ge u_j\}. Add uj−uj−1u_j-u_{j-1} to wAjw_{A_j}. This preserves the row sum at every xx and, simultaneously for every ee, the column maximum on ee. Summing over receipts gives a feasible cover of equal cost. Conversely, given ww, emit AA with probability wAw_A whenever x∈Ax\in A and store the rank of xx in a fixed ordering of AA. Its score is exactly (2).

For one known context of size mm, row normalization and the support bound give m≤k∑rmax⁡xWe(r∣x)m\le k\sum_r\max_x W_e(r\mid x), and the factor is always at least one. If m≤km\le k, emit the context itself and retain the rank. Otherwise choose a uniform kk-subset of the context containing xx and retain its rank. The factor is (mk)/(m−1k−1)=m/k\binom{m}{k}/\binom{m-1}{k-1}=m/k. Conditioning the construction on each ee proves (3). □

Corollary 1. Join two facts if they share a context. Then ρlate=1\rho_{\mathrm{late}}=1 exactly when each connected component has size at most kk. Indeed, a factor of one on a context forces all its channel rows to be identical by termwise equality with their coordinatewise maximum.

Equality propagates along paths. Each common nonempty column therefore supports its whole component. Conversely, a receipt may name the component and a private index may name the fact within it. The context already identifies the component.

When delay has an unbounded cost

Write Γ(A)={e∈E:A∩e≠∅}\Gamma(A)=\{e\in\mathcal{E}:A\cap e\ne\varnothing\}. Suppose a group of permutations of VV preserves the incidence relation and is transitive separately on vertices and on contexts. Let n=∣V∣n=|V|, m=∣E∣m=|\mathcal{E}|. Then

ρlate=nmmin⁡A∈Ak∣Γ(A)∣∣A∣.(4)\rho_{\mathrm{late}}=\frac{n}{m}\min_{A\in\mathcal{A}_k}\frac{|\Gamma(A)|}{|A|}. \tag*{(4)}

To see the lower bound, average the objective of (2) over contexts and use ∑A∣A∣wA=n\sum_A |A|w_A=n. For the reverse bound, choose a minimizing AA, give all sets in its orbit equal weight, and normalize at one vertex. Vertex transitivity gives the same row sum at every vertex. Context transitivity gives the same cost at every context, so the average lower bound is attained. The proof also applies to a permutation-invariant restriction on allowed supports that is closed under taking nonempty subsets.

Theorem 2. If E\mathcal{E} consists of all dd-subsets of [n][n], then

ρlate=(nk)−(n−dk)(nk−1),ρearly=max⁡{1,d/k}.(5)\rho_{\mathrm{late}}=\frac{\binom{n}{k}-\binom{n-d}{k}}{\binom{n}{k-1}},\qquad\rho_{\mathrm{early}}=\max\{1,d/k\}. \tag*{(5)}

Here (ab)=0\binom{a}{b}=0 for b>ab>a. To verify optimality at size kk, the fraction of dd-contexts hit by a fixed ss-set is f(s)=1−(n−sd)/(nd)f(s)=1-\binom{n-s}{d}/\binom{n}{d}. Its successive increments are (n−s−1d−1)/(nd)\binom{n-s-1}{d-1}/\binom{n}{d} for s=0,…,n−1s=0,\ldots,n-1, with the zero convention. Hence f(s)/sf(s)/s is nonincreasing. Substitution at kk in (4) gives (5). Uniformly drawing a kk-subset containing xx is an optimal causal encoder.

A growing separation. Set n=q2n=q^2, k=d=qk=d=q. With early context the leakage is zero. With late context,

ρlate=q(1−∏j=0q−1(1−qq2−j))=(1−e−1+o(1))q.\rho_{\mathrm{late}}=q\left(1-\prod_{j=0}^{q-1}\left(1-\frac{q}{q^2-j}\right)\right)=\left(1-e^{-1}+o(1)\right)q.

The log of the product is −1+O(1/q)-1+O(1/q) by summing the first-order expansion. The excess leakage in bits is 12log⁡2n+log⁡2(1−e−1)+o(1)\frac{1}{2}\log_2 n+\log_2(1-e^{-1})+o(1). Both systems have the same recovery requirement, private capacity and final public context.

Two audit languages with identical state counts

Encode the legal histories as the two-letter language {xe:x∈e}\{xe:x\in e\} over disjoint fact and context alphabets. Compare a six-cycle with two disjoint triangles, taking vertices as facts and edges as contexts. Both complete minimal deterministic automata have nine states. Indeed, each has six distinct nonempty single-prefix residuals (the incident edge letters), in addition to the initial residual, the accepting residual {ε}\{\varepsilon\}, and the empty residual. Both have six facts, six contexts and degree two at every fact.

At k=3k=3 the triangles have factor one by Corollary 1. In the six-cycle, a nonempty proper ss-set hits at least s+1s+1 edges, with equality for a contiguous segment. Equation (4) gives 4/34/3. The distinction survives equal alphabet sizes, equal degrees, and equal minimal state counts. The missing invariant is the incidence of each feasible receipt support with the future contexts.

What changes when records share private storage?

At a joint checkpoint, two facts are available before either context is known. Each fact takes three values. Each context later reveals a pair containing its fact. The joint fact space is the 3×33 \times3 grid. The nine possible joint contexts are its 2×22 \times2 coordinate rectangles. Every receipt must permit exact reconstruction of the pair.

Compare two memory architectures with four private configurations. In the first, each coordinate must be recoverable from the public receipt and its own private bit. A receipt’s support must have at most two values in each coordinate, hence must fit inside a 2×22 \times2 rectangle. This covers correlated encoders as well as independent ones. In the second, the reviewer can use both bits together to recover the pair. Any support of size at most four is then feasible.

Theorem 3. The optimum late-context guessing factors are 9/49/4 with coordinate recovery and 22 with pooled recovery. Both early-context optima equal one.

Support size ss1234
Fewest contexts hit, coordinate recovery4689
Fewest contexts hit, pooled recovery4668

Table 1.

Proof. Row and column permutations act transitively on facts and on contexts, with n=m=9n = m = 9. Apply (4) to each admissible support family. A single cell meets four contexts. Two aligned cells meet six, and two unaligned cells meet seven. Three cells in a line meet six, whereas three in a 2×22 \times2 box occupy an L-shape and miss only the rectangle whose omitted row and column cover the L. A four-cell support cannot miss two distinct rectangles: their union has size at least six, leaving at most three cells. Four cells outside one rectangle can attain eight hits. A four-cell support inside a 2×22 \times2 box fills the box and meets all nine rectangles. Minimizing the hit counts divided by ss gives the stated factors. Early disclosure supplies the candidate rectangle, so one bit per coordinate suffices. □

Four candidates in a $2 \times 2$ blockThree candidates in a full row

Figure 1. Four candidates, nine contexts hit

Three candidates, six contexts hit

The pooled optimum can also be attained with a full row as the candidate set, using three of the four private configurations. Choosing the support shape is part of the optimization. A coordinate-by-coordinate audit design can incur excess leakage even when both architectures receive exactly two protected bits.

The repeated-record experiment

At one joint checkpoint the encoder sees all tt facts. All tt context labels arrive only after the block receipt has been fixed. The observer learns the full label tuple. A pool with KK distinguishable private states must support exact reconstruction of the whole fact tuple. The objective is the worst-context maximal leakage of the block, divided by tt to report bits per record. This timing allows the encoder to allocate private capacity across coordinates.

The exact rate for three facts

Write CtC_t for the minimum late factor at K=2tK = 2^t. Index each two-element context by the symbol it omits. A vector of context labels is consistent with a fact vector precisely when the two vectors differ in every coordinate. Thus the public contexts hit by a support A⊆[3]tA \subseteq[3]^t form its vertex neighborhood N(A)N(A) in the direct graph power K3×tK_3^{\times t}. Separate transitivity on facts and contexts still holds. Equation (4) gives

Ct=min⁡1≤∣A∣≤2t∣N(A)∣∣A∣(6)C_t=\min_{1\leq|A|\leq2^t}\frac{|N(A)|}{|A|} \tag*{(6)}

Theorem 4. Let r=1−log⁡32r=1-\log_3 2. For every positive integer tt,

2tr≤Ct≤2⌈tr⌉.2^{tr}\leq C_t\leq2^{\lceil tr\rceil}.

Consequently

lim⁡t→∞log⁡2Ctt=1−log⁡32=0.3690702464….\lim_{t\to\infty}\frac{\log_2 C_t}{t}=1-\log_3 2=0.3690702464\ldots.

Proof. Write μ(A)=∣A∣/3t\mu(A)=|A|/3^t. The vertex-isoperimetric inequality for powers of cliques [11, 12] gives μ(N(A))≥μ(A)log⁡3(3/2)\mu(N(A))\geq\mu(A)^{\log_3(3/2)}. At ∣A∣≤2t|A|\leq2^t, dividing by μ(A)\mu(A) gives ∣N(A)∣/∣A∣≥(3/2)tlog⁡32=2tr|N(A)|/|A|\geq(3/2)^{t\log_3 2}=2^{tr}. For the upper bound, put j=⌊tlog⁡32⌋j=\lfloor t\log_3 2\rfloor. Keep the first jj ternary symbols in private memory and put the other t−jt-j symbols in the public receipt. The private pool uses 3j≤2t3^j\leq2^t states. For each public coordinate the later context leaves exactly two possibilities, so the conditional guessing factor is 2t−j2^{t-j}. Rounding costs less than one bit per block. □

Exact finite optima

Let Bt(s)B_t(s) be the minimum number of contexts hit by an ss-element support. Taking a subset can only shrink a neighborhood, so the minimum for size at least ss equals that for size exactly ss. The finite profile recursion of Alon and Defant [12 Thm. 1.4] specializes, with M=3t−1M=3^{t-1} and B0(0)=0B_0(0)=0, B0(1)=1B_0(1)=1, to

Bt(s)={2Bt−1(s),0≤s≤M,2M+Bt−1(⌈(s−M)/2⌉),M<s≤3M.Ct=min⁡1≤s≤2tBt(s)s.B_t(s)= \begin{cases} 2B_{t-1}(s), & 0\leq s\leq M,\\ 2M+B_{t-1}(\lceil(s-M)/2\rceil), & M<s\leq3M. \end{cases} \qquad C_t=\min_{1\leq s\leq2^t}\frac{B_t(s)}{s}.
Block length tt123468
Optimal factor3/23/229/49/416/516/558
Bits per record0.58500.50000.39000.41950.38700.3750

caption:

:::

A longer block need not improve its immediate predecessor per record. The three-to-four reversal illustrates the effect of an integer private-state budget. We compared the recurrence at every admissible support size with direct enumeration for t=1,2,3t=1,2,3, including all 3,505,698 nonempty eligible supports in the third power.

An audit workload derived from OpenSSL

An archive records which cipher suite an operation used. The trusted auditor must recover the exact suite. Later the archive reports one of several applicable policy labels. The observer has access to the archive and the label. Network peers, wire observers with the negotiated suite, and observers of the private index are outside this experiment.

We queried OpenSSL 3.5.7 locally using openssl ciphers -s -tls1_2 [9]. The workload selects ECDHE suites with AES-GCM or ChaCha20 and groups them by authentication family or bulk cipher. This yields six catalogue entries and five selected policy labels. The labels and the time at which they are revealed are experimental choices. They are not claims about TLS negotiation or policy frequencies in deployments.

AES-128-GCMAES-256-GCMChaCha20-Poly1305
ECDHE with ECDSA authenticationone suiteone suiteone suite
ECDHE with RSA authenticationone suiteone suiteone suite

Table 3.

Each row and each column is a possible future context. We minimized the worst-context score using a channel-form linear program independent of the cover derivation. We enumerate all size-kk public lists and allow arbitrary row-specific probabilities on each. Any smaller support can be padded to a fixed size-kk list, preserving decodability; merging receipts bearing the same padded list can only reduce the score. An epigraph variable for each context/list pair bounds its largest row probability. HiGHS found numerical solutions. We reconstructed rational primal and dual vectors, verified every inequality and row sum, and checked equality of their objectives. All six optima below therefore have exact finite certificates.

Private states kkLate factorEarly factorExcess bits log⁡2(ρlate/ρearly)\log_2(\rho_{\mathrm{late}}/\rho_{\mathrm{early}})
1330.0000
29/59/53/23/20.2630
38/58/510.6781
44/34/310.4150
56/56/510.2630
6110.0000

Table 1 (PDF p. 6).

A hand certificate at k=3k = 3. By symmetry, an encoder may choose the entire row containing xx with probability 2/52/5, and an L-shaped triple containing xx uniformly with probability 3/53/5. The row-only mechanism has row/column factors (1,2)(1, 2), and the uniform L mechanism has (2,4/3)(2, 4/3) by incidence counting. The mixture gives 8/58/5 on both. Conversely, every ss-cell support for 1≤s≤31 \le s \le3 intersects at least 4s/34s/3 of the five row and column labels. Average the objective of (2) over those labels and use ∑A∣A∣wA=6\sum_A |A|w_A = 6 to obtain the matching lower bound (4/15)6=8/5(4/15)6 = 8/5.

Controls. One private state forces public recovery of the suite. Six states allow a constant receipt. The timing penalty is largest at three states among these six choices. This is the smallest capacity at which an early recorder can hide the fact inside any one of the five contexts. Across all complete dd-uniform families on 2≤n≤62 \le n \le6 we checked all 90 (n,d,k)(n, d, k) choices against (5). All 164 budget choices over the 41 labeled four-vertex simple graphs without isolated vertices agreed with Corollary 1. We also checked both nine-state automata and enumerated all grid supports of sizes one through four. The source bundle contains frozen catalogue data, a live catalogue option and exact certificate checks. These measurements concern attainable audit-channel leakage. They do not estimate traffic prevalence or end-user harm.

A rate formula for symmetric fact spaces

Now let the finite incidence structure have nn facts. Assume a finite permutation group GG preserves the incidence relation and acts transitively on facts. Contexts may split into different orbits E1,…,EhE_1,\ldots,E_h. For a nonempty fact support AA define

fi(A)=n∣A∣∣Γ(A)∩Ei∣∣Ei∣,fq(A)=∑i=1hqifi(A),q∈Δh.f_i(A)=\frac{n}{|A|}\frac{|\Gamma(A)\cap E_i|}{|E_i|}, \qquad f_q(A)=\sum_{i=1}^{h}q_i f_i(A), \qquad q\in\Delta_h.

Each fi(A)f_i(A) is the factor on type ii when a uniformly translated copy of AA containing the true fact is the public receipt. Transitivity normalizes each row of this channel. Every type covers the facts uniformly, so fi(A)≥1f_i(A)\ge1. Let Ct(b)C_t(b) denote the optimal factor for tt facts with a pool of [2tb][2^{tb}] states. All logarithms in this section are base two.

Theorem 5. For 0≤b≤log⁡n0 \le b \le\log n the exact asymptotic rate is

lim⁡t→∞t−1log⁡Ct(b)=max⁡q∈Δh min⁡θ∈Δ({A})∑AθAlog⁡∣A∣≤b ∑AθAlog⁡fq(A).(7)\lim_{t\to\infty} t^{-1}\log C_t(b)=\max_{q\in\Delta_h}\ \min_{\substack{\theta\in\Delta(\{A\})\\ \sum_A\theta_A\log|A|\le b}}\ \sum_A\theta_A\log f_q(A). \tag*{(7)}

When there is just one context orbit, the right side is the lower convex envelope of the one-record points (log⁡∣A∣,log⁡f1(A))(\log|A|,\log f_1(A)), optimized over mean private cost at most bb. Multiple context orbits require the common adversarial mixture qq. This is a proof device for the worst label tuple; the security experiment assumes no label frequencies.

Converse for arbitrary pooled encoders

Lift qq to a probability QQ on labels by distributing its mass uniformly within each orbit. For 0<p≤10 < p \le1 let dp=min⁡A≠∅Q(Γ(A))/∣A∣pd_p = \min_{A \ne\emptyset} Q(\Gamma(A))/|A|^p. For any nonnegative vector uu indexed by facts, integration over the level sets of uu and the triangle inequality in ℓ1/p\ell_{1/p} give

Ee∼Qmax⁡x∈eux≥dp∫0∞∣{x:ux>z}∣p dz≥dp(∑xux1/p)p.\mathbb{E}_{e\sim Q}\max_{x\in e}u_x \ge d_p\int_0^\infty|\{x:u_x>z\}|^p\,\mathrm{d}z \ge d_p\left(\sum_x u_x^{1/p}\right)^p.

For a block support DD let DxD_x be its last t−1t-1 coordinates after fixing the first to xx. At first label ee the neighborhood contains the union of the tail neighborhoods for x∈ex\in e. Bounding the probability of that union below by its largest member and applying the display to ux=∣Dx∣pu_x=|D_x|^p proves by induction that Qt(Γ(D))≥dpt∣D∣pQ^t(\Gamma(D))\ge d_p^t|D|^p.

Average the block cover (2) over QtQ^t and use ∑D∣D∣wD=nt\sum_D |D|w_D=n^t. Every DD has size at most 2tb2^{tb}. Setting λ=1−p\lambda=1-p yields the lower rate bound

min⁡A≠∅[log⁡fq(A)+λlog⁡∣A∣]−λb.\min_{A\ne\emptyset}\left[\log f_q(A)+\lambda\log|A|\right]-\lambda b.

Maximizing over λ≥0\lambda\ge0 is finite linear-program duality for the inner minimum in (7). Values λ>1\lambda>1 cannot improve on 11: a singleton minimizes nQ(Γ(A))∣A∣λ−1nQ(\Gamma(A))|A|^{\lambda-1} there and b≥0b\ge0. The endpoint p=0p=0 follows by continuity. The bound holds at every block length for every qq.

Achievability and the timing of labels

Fix a distribution θ\theta on support shapes with mean cost at most bb. Allocate tθAt\theta_A records to each shape. Round the counts of nonsingletons down and fill the spare coordinates with a singleton; this preserves the budget and changes the empirical weights by O(1/t)O(1/t) for a fixed finite incidence structure. Choose a uniform random permutation of that allocation, independent of the facts. Include the permutation in the public receipt. In each coordinate emit a uniform group translate of its assigned support containing the fact; store the indices jointly. The product of the support sizes is at most ⌊2tb⌋\lfloor2^{tb}\rfloor and suffices for exact decoding.

To bound the worst label tuple, first choose its types independently with distribution qq. Conditional on the public allocation, the factors multiply. Averaging over the types produces exactly ∏Afq(A)tθA\prod_A f_q(A)^{t\theta_A} for integral counts. The public permutation makes the factor of a fixed type string depend only on its empirical distribution. Under independent sampling with that empirical distribution, its type class has probability at least (t+1)−h(t+1)^{-h}: the empirical counts form a multinomial mode, and there are at most (t+1)h(t+1)^h count vectors. Thus the maximum factor over type strings is bounded above by

(t+1)hmax⁡q∏Afq(A)tθA.(t+1)^h\max_q\prod_A f_q(A)^{t\theta_A}.

After taking logarithms and dividing by tt, rounding and the polynomial prefactor vanish. The objective is linear in θ\theta and concave continuous in qq, on compact convex sets. Sion’s minimax theorem [13] exchanges the two optimizations and matches the converse. ∎

Why the permutation is public

A fixed assignment can align the most revealing support type with the worst future label at every position. Permuting the assignment makes tuples with the same type counts exchangeable. Since the permutation is part of the receipt, its description costs no private states. The exogenous-label assumption still matters: a label chooser who can react to the observed permutation can restore the adverse alignment. Equation (7) applies when labels are selected independently of the receipt coins conditional on the facts.

A check using one context orbit

For the three-fact system the one-record cost/leakage points are (0,1)(0,1), (1,log⁡2(3/2))(1,\log_2(3/2)) and (log⁡23,0)(\log_2 3,0). The middle point lies strictly above the segment joining the other two. At a budget of one bit per record, the lower convex envelope has height 1−log⁡321-\log_3 2. This recovers Theorem 4 by a second proof. The capacity is allocated by storing whole ternary facts in some positions and publishing whole facts in the rest. A scheme that encodes each fact with its own private bit pays the strictly larger one-record rate.

Pooled leakage in the OpenSSL policy grid

Return to the six-suite workload with a pool of 3t3^t states. Let qq be the test distribution’s total mass on row labels. A support of size ss meeting rr rows and cc columns has

fq(A)=3qr+2(1−q)csf_q(A) = \frac{3qr + 2(1-q)c}{s}

Corollary 2. Let q∗q_\ast be the unique solution in (0,1)(0,1) of

2−q∗/2=(2+q∗)1−log⁡622-q_\ast/2 = (2+q_\ast)^{1-\log_6 2}

Then the optimal late leakage in bits per record tends to

Rgrid=(1−log⁡63)log⁡2(2+q∗)=0.5104636788…R_{\mathrm{grid}} = (1-\log_6 3)\log_2(2+q_\ast)=0.5104636788\ldots

Knowing all labels early gives zero additional leakage, since each coordinate has at most three candidates.

Proof. Three shapes suffice for a matching construction: a singleton, a two-cell horizontal pair, and the full grid. Their respective factors are 2+q2+q, 2−q/22-q/2, and 11. The two sides of the defining scalar equation vary strictly in opposite directions, and their ordering reverses between zero and one. At its root all three points (log⁡2s,log⁡2fq(A))(\log_2 s,\log_2 f_q(A)) lie on the line from (0,log⁡2(2+q∗))(0,\log_2(2+q_\ast)) to (log⁡26,0)(\log_2 6,0).

For a lower bound, every other support lies above this line. The inequalities to verify are

fq∗(A)≥(2+q∗)1−log⁡6s.f_{q_\ast}(A) \ge(2+q_\ast)^{1-\log_6 s}.

At s=2s=2 the horizontal pair minimizes the factor for q∗>2/5q_\ast>2/5. At sizes 33, 44, 55 the minima near q∗q_\ast are 2−q∗2-q_\ast, 1+q∗/21+q_\ast/2 and 6/56/5 respectively, by counting occupied rows and columns. Outward-rounded interval arithmetic on 0.49584<q∗<0.495860.49584<q_\ast<0.49586 gives strict margins greater than 0.0790.079, 0.0170.017 and 0.1020.102. Sizes one and six are identities. The line therefore supports the inner optimization of (6) from below at b=log⁡23b=\log_2 3.

For achievability, use proportions u,v,wu,v,w of the three shapes above. Set v/u=(4−q∗)/(2+q∗)v/u=(4-q_\ast)/(2+q_\ast), u+v+w=1u+v+w=1 and v+ wlog⁡26=log⁡23v+\ w\log_2 6=\log_2 3. These give positive fractions approximately (0.207890,0.291876,0.500234)(0.207890, 0.291876, 0.500234). The derivative of ulog⁡2(2+q)+vlog⁡2(2−q/2)u\log_2(2+q)+v\log_2(2-q/2) vanishes at q∗q_\ast. Concavity makes it the maximum over qq. Its value attains the supporting line at the required budget, proving equality. □\square

Finite-block check independent of the rate proof

For two records, the exact optimum is 24/1124/11, or 0.562765441 bits per record. To check it, observe that a tuple of labels projects a support onto one selected axis per record. Compressing a support down any coordinate preserves its size and can only shrink every such projection: a union of compressed fibers has the size of the largest fiber. Repeated compression terminates at a coordinatewise downset. Averaging each support over fact-value and record permutations preserves coverage and reduces the worst score. Conversely, each orbit-averaged shape is an attainable encoder; any symmetrized cover is a mixture of these encoders (a shape’s mixing weight is its total cover weight times its size divided by 6t6^t). At t=2t = 2 this leaves 438 nonempty downsets of size at most nine and 127 distinct cost vectors across the three label-count types. Exact rational primal and dual vectors certify the optimum. The one-record factor 8/58/5, the two-record certificate, and the limiting saddle value use separate calculations.

A working receipt encoder

Interface and accounting. Setup fixes an ordered event alphabet, a private capacity kk, and a rational cover from (2). The recorder runs Seal(xx) once per event or joint checkpoint. It sends its first output to a public archive and its second output to a separate confidential store. The reviewer passes those two outputs to Recover. An application must associate the two sides with the same event. We expose the archive to a passive reader; the association, transport and storage are trusted. The scope of a receipt is the pre-agreed catalogue and block length. The private index counts against the budget even if an implementation stores it in a byte with unused values.

Exact sampler. Sort each support and the list of supports lexicographically. For fact xx, take the least common multiple DxD_x of the denominators of the positive wAw_A for A∋xA \ni x. Lay consecutive intervals of lengths DxwAD_xw_A over the integers 0,…,Dx−10,\ldots,D_x - 1. Draw one uniform integer, emit the selected support’s identifier ii, and retain the zero-based rank jj of xx in AiA_i. The decoder returns Ai[j]A_i[j]. Interval lengths sum to DxD_x, so the realized channel has W(i∣x)=wAi1x∈AiW(i \mid x) = w_{A_i}1_{x \in A_i}. Its score is exactly the fractional-cover objective including all observable fixed format bytes. This construction has zero decoding error and at most kk possible private ranks. The interval sampler avoids rounding probabilities in the encoder. It uses the operating-system random source through Python’s secrets.randbelow [16].

Wire format. The finite encoder emits a three-byte version prefix, a 16-byte prefix of the SHA-256 digest of the public codebook serialization, and a big-endian fixed-width identifier. The confidential output holds a fixed-width, big-endian unsigned rank. The digest identifies the configuration. Authentication against alteration requires a separate integrity mechanism and threat model. In particular, a substituted valid rank or receipt can decode to a different fact. The proof counts public bytes read by the archive observer. It excludes implementation timing, the caller’s plaintext buffers, and access to the private store. Distinct sampling of repeated copies of the same fact can expose more than a single receipt; retries should return the stored pair when the intention is one disclosure.

A test vector and an optimal two-record encoder

Index the first grid row by 0, 1, 2 and the second by 3, 4, 5, with columns in the order of the six-suite table. On input 4 (ECDHE-RSA with AES-256-GCM), one possible public support is (0, 3, 4) and the private byte is 02. If the later label specifies RSA, the archive reader is left with 3 and 4. Reading private rank two recovers 4 exactly. This receipt occurs with probability 1/10 on each of its three possible inputs. The public suffix is 05; the source bundle includes the complete hexadecimal test vector.

For a single event, the public codebook consists of two whole rows of weight 2/5 each and twelve L-shaped triples of weight 1/10 each. Each fact lies in one whole row and six L-shapes. A single uniform draw among ten tickets implements the optimum 8/5 without an optimization solver at recording time.

For an ordered pair, write HH for a horizontal two-cell subset, FF for the four-cell strip formed by two full columns, and GG for the whole six-cell grid. First use the orbit of H×FH \times F, including record swaps. Next use the orbit of

({0}×G)∪({1}×{0,1,2}).(\{0\} \times G) \cup(\{1\} \times\{0,1,2\}).

The relabelings independently permute authentication rows and cipher columns in each record. For an orbit OO of supports of size ss, selected with probability pp, its cover weight per member is 36p/(∣O∣s)36p/(|O|s). The table gives the factor of each orbit used alone. The mixed type averages over the two positional orders, which are exchanged by the construction.

OrbitMembersSizeProbabilityTwo columnsMixedTwo rows
Horizontal pair and strip3688/1129/49/4
Nine-cell union4893/118/322

Table 4.

All three conditional factors therefore equal 24/11. The two-record lower certificate in the preceding section proves optimality. Each of the 36 inputs admits 44 equiprobable tickets. Exhaustive decoding of all 1,584 input/ticket pairs recovers the original ordered pair, and exact evaluation of all 25 ordered policy pairs gives the same factor. By comparison, encoding the two records separately gives (8/5)2=64/25(8/5)^2 = 64/25. Both architectures have nine joint private states.

A pooled encoder for long blocks

The block encoder uses three shapes: a singleton, a horizontal pair, and the full grid. At length tt, round down the pair and full-grid counts from Corollary 2 and assign the remaining positions singletons. A final integer check enforces 2v6w≤3t2^v6^w \le3^t, where (u,v,w)(u,v,w) are now integer counts. Uniformly shuffle the multiset of shapes. At each pair position choose one of the two other entries in the event’s row uniformly. The public message is a fixed prefix, the block length, and one six-bit support mask stored in a byte per position. The store holds a single mixed-radix index. Starting at J=0J = 0, update J←J∣Ai∣+jiJ \leftarrow J|A_i| + j_i. Repeated division in reverse order recovers every jij_i. The receipt masks disclose the shuffled schedule, as permitted in the proof.

For jj future row labels and t−jt-j column labels the implemented factor has an exact integer-coefficient calculation:

Lt(j)=(zj)(2+3z)u(4+3z)v(1+z)w2vj(t).L_t(j) = \frac{\binom{z}{j}(2+3z)^u(4+3z)^v(1+z)^w}{2^{v_j^{(t)}}}.

Indeed each singleton contributes factors (2, 3) for column and row, each horizontal pair (2, 3/2), and each full grid (1, 1). The public shuffle averages their products over the assignments of the jj row positions. The maximum over jj is the attained factor of this schedule. This calculation also checks rounding losses at finite block lengths.

RecordsSingletonsPairsFull gridsWorst row countBits/record
822470.542481
327916200.517191
128273764680.512342
5121071492562600.511238
1,0242142985125200.511228

Table 5.

Enumeration of all inputs, distinct schedules, pair choices and subsequent labels for t≤4t \le4 reproduced the coefficients from actual receipt bytes. For larger tt the table uses the exact polynomial and an end-to-end encoder/decoder check. The schedule attains the rate 0.5104636788 . . . asymptotically. The finite optimal one- and two-record encoders above have separate entry points.

A 65-suite catalogue and the cost of protecting individual policies

Data and protocol. We enumerated every suite returned by openssl ciphers -s -tls1_2 -stdname -v ALL on the recorded build [9]. The 65 suites can be used with TLS 1.2 under the catalogue command; some names originated in earlier protocol versions. Each event has four labelled attributes: authentication, key exchange, bulk cipher as rendered by OpenSSL, and MAC category. Distinct values yield 21 labelled contexts. We added two externally specified lists, the four suites recommended in RFC 9325 §4.2 and the RFC 7905 §3 assignments present locally [14, 15]. The workload contains 23 labelled contexts and 267 event/label incidences. RFC 7905’s three available entries also form the existing ChaCha20 bulk-cipher set; we preserve both policy names and count 22 distinct subsets. Each suite counts once in the domain. No network trace or policy-frequency sampling enters these computations.

Codebook synthesis. For each of the 24 orders of the four attributes, form groups using the first zero, one, or two attributes. Within each group sort by the complete attribute order, breaking ties by IANA name. On a cycle of length gg use every window of length h=min⁡(k,g)h = \min(k,g), each with weight 1/h1/h; merge repeated windows by adding weights. Each fact belongs to hh windows counting multiplicity. Mix these 72 candidates using a linear program on the 21 attribute labels. Recover rational mixing coefficients, then compute the achieved factors exactly. The two standards-labelled scores below are evaluated after fitting. One of those sets already has an equivalent attribute label, so this is a label holdout with only one new subset. For a universal lower bound use the 40-suite RSA authentication context. Every exact-recovery encoder has ρ≥40/k\rho\ge40/k for the tested capacities.

kkReceiptsAttained factorLower boundRFC 7905RFC 9325
165404034
265202033
36540/340/340/340/338/38/3
4116101035/25/2
61916.97446.66672.84622.3590
82285.777752.54502.0705
121864.14263.33332.32952.0092
161913.44142.52.15471.7405

Table 6.

The first four rows reach the unrestricted optimum. The remaining rows give attainable upper bounds with explicit gaps; the source bundle includes the exact fractions and all eight public codebooks. The stock k=3k = 3 encoder saturates the global optimum while every observed receipt fully distinguishes the three candidates once the RFC 7905 label is known. A targeted redesign removes part of this disclosure without increasing the global score.

A stability inequality and a simultaneous optimum

Proposition 6. Write LeL_e for the factor on context ee. For any two contexts D,eD,e with e∩D≠∅e \cap D \ne\varnothing and e∖D≠∅e \setminus D \ne\varnothing,

Le≥2−k(LD−∣D∣/k).(8)L_e \ge2 - k(L_D - |D|/k). \tag*{(8)}

For a fractional cover the difference LD−∣D∣/kL_D - |D|/k equals ∑A∩D≠∅wA(1−∣A∩D∣/k)\sum_{A\cap D\ne\varnothing} w_A(1 - |A \cap D|/k). Every support meeting both sides of DD contributes at least wA/kw_A/k. Choose x∈e∩Dx \in e \cap D and y∈e∖Dy \in e \setminus D. The cover weight of supports containing either point is 2−∑A⊇{x,y}wA2-\sum_{A\supseteq\{x,y\}} w_A, by row normalization. The common supports cross the cut. Bounding their total weight by the previous sum proves (7). The level-set reduction of Theorem 1 preserves every contextual score simultaneously, so the inequality holds for arbitrary randomized encoders. □

Targeted design. At k=3k = 3, both RFC sets cross the RSA cut. Consequently Le≥2L_e \ge2 on both whenever the global optimum 40/340/3 is attained. Pin three disjoint triples with unit weight. The first groups the two RSA members of RFC 9325 with the ECDHE-RSA AES-128-CBC-SHA suite. The second groups the two RSA members of RFC 7905 with the DHE-RSA AES-128-CBC-SHA suite. The third groups the three non-RSA members of the union of both standards lists. Refit the residual cover on the remaining 56 suites. The resulting 59-receipt codebook attains

(ρ,LRFC 7905,LRFC 9325)=(40/3,2,2).(\rho, L_{\mathrm{RFC\ 7905}}, L_{\mathrm{RFC\ 9325}}) = (40/3, 2, 2).

All three numbers have matching lower bounds under the global-optimality constraint. In particular, requiring a factor of at most 3/23/2 on either cross-cut profile would force ρ≥40/3+1/6\rho\ge40/3 + 1/6. The original held-out results above and the standards-aware refit are separate experiments. Exact inspection of the refitted encoder’s 177 nonzero event/receipt memberships confirms normalization, private recovery and all 23 contextual factors. The guarantee concerns a reader of the audit archive; the TLS catalogue supplies the domain, and these measurements do not test TLS confidentiality.

When the reader chooses what the audit discloses

Consider a policy engine that answers authenticated questions about a logged event. An archive reader can inspect its permanent receipt, select one attribute, see its value, and request a second attribute on selected outcomes. The engine charges for the second request. Two systems with the same marginal frequency of follow-ups can have different disclosure probabilities because the reader can spend those requests on ambiguous answers. We derive the best receipt against this decision rule, then remove the recorder’s knowledge of the reader’s budget.

Experiment. The finite event set XX has a public prior π\pi of full support. Two public maps f0,f1f_0, f_1 specify truthful attribute answers. The recorder publishes rr using W(r∣x)W(r \mid x) and retains a private role in [3] sufficient for zero-error recovery. After seeing rr, the reader chooses ii, observes fi(x)f_i(x), then either guesses xx or obtains f1−i(x)f_{1-i}(x) before guessing. A behavioral policy σ\sigma can randomize at both stages. Let C∈{0,1}C \in\{0,1\} indicate the second request, whose average budget bb is public unless stated otherwise. Set

Vbπ(W)=max⁡σ: EC≤bPr⁡π,W,σ[X^=X],Mb(π)=inf⁡W: ∣supp⁡W(r∣⋅)∣≤3 ∀rVbπ(W).V_b^\pi(W)=\max_{\sigma:\,\mathbb{E}C\le b}\Pr_{\pi,W,\sigma}[\widehat{X}=X],\qquad M_b(\pi)=\inf_{W:\,|\operatorname{supp}W(r\mid\cdot)|\le3\ \forall r}V_b^\pi(W).

The observer can spend the budget selectively across receipts. The experiment scores absolute identification probability for the given prior. Equation (1) instead measures the amplification after an exogenous disclosure. Their numbers have different units. The free and paid answers, and the identity of the branch on which a request was made, belong to the decision history. The protected role never enters that history.

A counterexample with no follow-up. On a uniform 3×33 \times3 grid let the receipt reveal the entire row containing the event with probability 1/21/2 and the entire column otherwise. The private rank has three values. A reader committing in advance to either coordinate identifies the cell with probability (1+1/3)/2=2/3(1+1/3)/2=2/3. A reader who sees the receipt first can always request the other coordinate and identify the cell. Here b=0b=0. Changing who chooses the question already changes the inference problem before any second query is issued.

From question partitions to privacy curves

Boreale and Pampaloni [17 Sect. 6.1] evaluate a finite adaptive strategy by recursing over observed answers. Kamenica and Gentzkow [18 Prop. 1] characterize implementable posterior laws by their barycenter. The following reduction combines these tools with a hard three-state recovery limit and an expected query cost. For a posterior pp, write p(D)=∑x∈Dp(x)p(D)=\sum_{x\in D}p(x) and mp(D)=max⁡x∈Dp(x)m_p(D)=\max_{x\in D}p(x) with empty maximum zero. Let Pi\mathcal{P}_i be the partition into fif_i-fibres. At second-query price λ\lambda the Bellman value of a public posterior is

Bλ(p)=max⁡i=0,1∑D∈Pimax⁡{mp(D),∑E∈P1−imp(D∩E)−λp(D)}.(9)B_\lambda(p)=\max_{i=0,1}\sum_{D\in\mathcal{P}_i}\max\left\{m_p(D),\sum_{E\in\mathcal{P}_{1-i}}m_p(D\cap E)-\lambda p(D)\right\}. \tag*{(9)}

The inner maximum occurs after the first answer. The price multiplies the probability of reaching that branch. Moving either operation outside its sum prices a different policy. For a function BB let co⁡3B(π)\operatorname{co}_3 B(\pi) be the least ∑jtjB(pj)\sum_j t_jB(p_j) over posterior mixtures with ∑jtjpj=π\sum_jt_jp_j=\pi, ∑jtj=1\sum_jt_j=1 and ∣supp⁡pj∣≤3|\operatorname{supp}p_j|\le3. Then

Mb(π)=min⁡0≤λ≤1{λb+co⁡3Bλ(π)}.(10)M_b(\pi)=\min_{0\le\lambda\le1}\{\lambda b+\operatorname{co}_3 B_\lambda(\pi)\}. \tag*{(10)}

Indeed, mixtures of deterministic decision trees form a compact polygon of expected cost and success for a fixed channel. Linear programming duality for its single budget constraint gives a price and the backward recursion (8). A price above one cannot improve the bound because success can increase by at most the probability that the reader pays. Given a posterior mixture, the recorder implements W(j∣x)=tjpj(x)/π(x)W(j\mid x)=t_jp_j(x)/\pi(x) and privately retains the rank of xx. Conversely each receipt induces this mixture by Bayes’ rule. Minimizing over both the price and the mixture gives (9). The feasible posterior graphs at fixed price are compact. Carathéodory’s theorem bounds the needed mixture size by ∣X∣+1|X|+1 using the graph coordinate for the value. Joint continuity and compactness then give attainment, including at the two budget endpoints. This reduction gives a design criterion for arbitrary finite attribute maps. The next results solve it on a specific geometry.

Generating the equations from the permitted operations. The recorder fixes a support, the reader may stop and guess, a question partitions that support, and a second question incurs one unit of cost. Those four facts suffice to generate the price equations below. Let AA be a set of possible events and let a deterministic transcript tree have two vectors indexed by AA: axa_x indicates a correct final guess on xx and cxc_x counts its paid questions on xx. For a sequence of available stage prices dd, define the tree profiles Td(A)\mathcal{T}_d(A) by

T∅(A)={(ex,0):x∈A},\mathcal{T}_{\varnothing}(A)=\{(e_x,0):x\in A\},
T(q,d)(A)=T∅(A)∪⋃f{(∑DaD, q1A+∑DcD):(aD,cD)∈Td(D) for each D}.(11)\mathcal{T}_{(q,d)}(A)=\mathcal{T}_{\varnothing}(A)\cup\bigcup_f\left\{\left(\sum_D a_D,\ q\mathbf{1}_A+\sum_D c_D\right):(a_D,c_D)\in\mathcal{T}_d(D)\text{ for each }D\right\}. \tag*{(11)}

Here DD ranges over the nonempty answer cells of ff in AA and child vectors are extended by zero. Taking d=(0,1)d=(0,1) at the root gives our two-stage game. Every legal policy first guesses or chooses a test and then chooses a continuation separately on each answer; induction gives both directions of (10). Randomized policies convexify the profiles. Finite-horizon value vectors have a classical precedent [25]. Here each vector retains the eventwise expenditure as well as correctness, because the recorder subsequently chooses which posterior the reader receives.

Let PA(λ)P_A(\lambda) be the convex hull of the vectors a−λca-\lambda c from this construction. Its support function hA(v)=max⁡z∈PA(λ)⟨v,z⟩h_A(v)=\max_{z\in P_A(\lambda)}\langle v,z\rangle evaluates an unnormalized posterior vv. This explains exactly when the older fractional-cover reduction survives a change of protocol. If v=∑jvjv=\sum_jv_j and publication also identifies jj, the priced gain from this refinement is

∑jhA(vj)−hA(∑jvj)≥0,equality⟺⋂jarg⁡max⁡z∈PA(λ)⟨vj,z⟩≠∅.(12)\sum_j h_A(v_j)-h_A\left(\sum_jv_j\right)\ge0,\qquad\text{equality}\Longleftrightarrow\bigcap_j\underset{z\in P_A(\lambda)}{\arg\max}\langle v_j,z\rangle\ne\varnothing. \tag*{(12)}

Indeed, an optimizer for the sum attains equality only if it optimizes every summand. In the fixed-context game the single-guess functional is max⁡x∈evx\max_{x\in e}v_x. The point attaining the largest coordinate on ee attains the maximum on every nested level indicator of vv. This is the structural reason the cover in Theorem 1 is exact. In a three-cell corner with posterior (1/2,1/4,1/4)(1/2,1/4,1/4) and λ=1/3\lambda=1/3, stopping after the first answer and paying on its ambiguous branch both give 3/43/4. Refining the column into a uniform triple of mass 3/43/4 and the pivot of mass 1/41/4 raises the value to (3/4)(7/9)+1/4=5/6(3/4)(7/9)+1/4=5/6. The old representation loses exactly 1/121/12 at this price. The failure can be read off from the absence of a common optimizing tree.

From a finite menu to an exact curve. Suppose a group acts transitively on events and permutes the permitted questions up to answer relabeling. For the uniform prior, let AA range over kk-point supports, allowing a posterior to assign zero to some members. Define the local matrix DA(λ)D_A(\lambda) with rows a−λca-\lambda c from (10). Then

γA(λ)=min⁡p∈Δ(A)max⁡T(DAp)T=max⁡σ∈Δ(T)min⁡x∈A(DATσ)x,\gamma_A(\lambda)=\min_{p\in\Delta(A)}\max_{T}(D_Ap)_T=\max_{\sigma\in\Delta(\mathcal{T})}\min_{x\in A}(D_A^\mathsf{T}\sigma)_x,
G(λ)=min⁡AγA(λ),Mb=min⁡0≤λ≤1{G(λ)+bλ}.(13)G(\lambda)=\min_A\gamma_A(\lambda),\qquad M_b=\min_{0\le\lambda\le1}\{G(\lambda)+b\lambda\}. \tag*{(13)}

The middle game equality is finite matrix duality. The lower bound for GG holds receipt by receipt. Conversely, translating any minimizing posterior over the group gives a mixture with uniform barycenter without changing its priced value. Bayes inversion implements this mixture, proving the upper bound and the last formula by the price duality above. This step eliminates the unknown encoder before any candidate codebook is proposed. A nonuniform population retains the barycenter constraint of (9).

The calculation uses only the partitions induced on each AA. Isomorphic restrictions have identical local games, and averaging pp over a restriction’s automorphisms preserves feasibility and can only reduce its worst score. On a fixed optimal matrix-game basis the equilibrium constraints are a linear system with entries affine in λ\lambda. Cramer’s rule gives rational functions of λ\lambda; primal and dual signs specify their validity intervals. Taking the lower envelope in (13) and comparing interval endpoints with the solutions of G′(λ)=−bG'(\lambda)=-b generates the budget curve. The code proposes bases numerically and certifies each by exact rational-function identities and polynomial root isolation. It verifies the whole price interval, including changes of basis. Continuity supplies the values at isolated endpoints.

For the eight-event, three-coordinate menu the compiler generates the following expressions from the same tree recursion. Here pp in the calculation above is a posterior and λ\lambda denotes the scalar price.

Private rolesGenerated G(λ)G(\lambda)Generated interior transition
3max⁡{(1+λ)−1,2/3}\max\{(1+\lambda)^{-1},2/3\}b=4/9b=4/9
4max⁡{3(1−λ)/4,1/2}\max\{3(1-\lambda)/4,1/2\}b=3/4b=3/4

The reciprocal in the first row has a specific origin. In a corner let ss be first-answer success when the pivot is heaviest and both arms have equal weight. The competing trees have values ss and 1−λs1-\lambda s. Equalizing them gives s=(1+λ)−1s=(1+\lambda)^{-1} until ss reaches 2/32/3. Minimizing the generated branch plus bλb\lambda gives 2b−b2\sqrt{b}-b, with the change at 4/94/9 coming from the derivative at λ=1/2\lambda=1/2. In the second row the minimizing posterior can stay uniform while the best tree switches. The two priced payoffs are affine, so the budget curve has a corner rather than a square-root branch. These facts explain why changing the decoder capacity changes even the algebraic form of the answer.

More generally the lower closed convex envelope of GG on [0,1][0,1] is the part recoverable from all budget experiments:

(cl conv⁡G)(λ)=sup⁡0≤b≤1{Mb−bλ}.(\operatorname{cl\,conv}G)(\lambda)=\sup_{0\le b\le1}\{M_b-b\lambda\}.

To see this, apply the supporting-line representation of the lower convex envelope. Each tree has cost between zero and one, so GG is nonincreasing and 1-Lipschitz, as is its lower convex envelope. Supporting slopes in [−1,0][-1,0] suffice, and (13) gives their intercepts. Thus two such menus are indistinguishable by this entire family of optimal-budget measurements exactly when their envelopes coincide. Equality of a single endpoint is a weaker test.

A sharp change in the optimal encoder

Suppose XX is a full m×nm\times n rectangle, m,n≥2m,n\ge2, with uniform prior and the two coordinate queries. Write MbM_b for its value. For 2/3≤s≤12/3\le s\le1, set

hb(s)=s+(1−s)min⁡{1,b/s}.h_b(s)=s+(1-s)\min\{1,b/s\}.

Theorem 7. Each feasible channel has a single s∈[2/3,1]s\in[2/3,1] such that Vbπ(W)≥hb(s)V_b^\pi(W)\ge h_b(s) for every budget. For every such ss there is a channel attaining the entire curve hb(s)h_b(s). In particular,

Mb={2/3+b/2,0≤b≤4/9,2b−b,4/9≤b≤1.sb=max⁡{2/3,b}.(14)M_b= \begin{cases} 2/3+b/2, & 0\le b\le4/9,\\ 2\sqrt{b}-b, & 4/9\le b\le1. \end{cases} \qquad s_b=\max\{2/3,\sqrt{b}\}. \tag*{(14)}

Converse. Condition on a receipt. A coordinate can distinguish the two most likely cells since their coordinates differ somewhere. Prefer an injective coordinate on the support whenever one exists. Otherwise the support consists of three corners of a rectangle. Among

coordinates separating the two most likely cells choose one minimizing the mass of the ambiguous branch. If it leaves a pair, the remaining singleton is at least as likely as the less probable member of the pair. Writing srs_r for success after that first question and uru_r for the probability of an ambiguous answer gives sr≥2/3s_r \ge2/3 and ur≤sru_r \le s_r. Indeed, for a pair of masses v≥wv \ge w and singleton t≥wt \ge w, one has sr=v+ts_r = v + t and ur=v+wu_r = v + w. Supports of size at most two can be separated with one question. Let s=Esrs = \mathbb{E}s_r and U=EurU = \mathbb{E}u_r. The other coordinate resolves every remaining ambiguity. Requesting it on a fraction min⁡(1,b/U)\min(1,b/U) of ambiguous branches recovers that fraction of all remaining errors. If U=0U = 0 success is one. Otherwise U≤sU \le s gives Vbπ(W)≥hb(s)V_b^\pi(W) \ge h_b(s). The first question used to define ss is independent of bb.

Matching channel. Choose three corners of a 2×22 \times2 subrectangle. Its pivot is the cell sharing a row with one arm and a column with the other. Give the event posterior probabilities

(ppivot,phorizontal,pvertical)=(2s−1,1−s,1−s)(p_{\mathrm{pivot}},p_{\mathrm{horizontal}},p_{\mathrm{vertical}}) = (2s-1,1-s,1-s)

and mix all oriented corners with equal receipt probabilities. Each cell occurs (m−1)(n−1)(m-1)(n-1) times in each role, giving the uniform prior. Equivalently the recorder samples the private role with these three probabilities and samples one other row and column uniformly. It publishes the resulting oriented corner. Either first question gives one singleton and a pair, with ambiguous mass ss, total error 1−s1-s, and gain (1−s)/s(1-s)/s per paid ambiguous branch. No selective policy can earn a higher marginal gain on any such branch. At s=1s = 1 the receipt determines the event and the same formula holds by continuity. This proves equality simultaneously for all bb. On s>bs > b, hb(s)=s+b/s−bh_b(s) = s + b/s - b has derivative 1−b/s21-b/s^2. On s≤bs \le b it equals one. Minimization gives (13). □

Why equal weights fail. Under the uniform prior a flat receipt column gives a uniform posterior on at most three cells. The policy used in the converse leaves only equally likely pairs or singletons. Each paid ambiguous branch therefore corrects half a guess per unit of probability spent. The exact optimum over flat columns is min⁡(1,2/3+b/2)\min(1,2/3+b/2), attained by the uniform three-corner channel. It strictly exceeds MbM_b for 4/9<b<14/9 < b < 1. The level decomposition in Theorem 1 preserves the maxima on fixed contexts, but publishing its level gives the reader new information with which to allocate the follow-up budget. For the six-suite grid at b=16/25b = 16/25, the flat optimum is 74/7574/75. The posterior (3/5,1/5,1/5)(3/5,1/5,1/5) attains 24/2524/25. With this release the first question succeeds with probability 4/54/5 and the second request earns 1/41/4 extra correct guesses per paid ambiguous branch.

One mechanism when the budget is unknown. If an encoder is fixed before the budget is specified, its additive regret at bb is Vbπ(W)−MbV_b^\pi(W)-M_b. The best worst-budget regret is exactly

inf⁡Wsup⁡0≤b≤1(Vbπ(W)−Mb)=1/36.(15)\inf_W \sup_{0 \le b \le1} \left(V_b^\pi(W)-M_b\right) = 1/36. \tag*{(15)}

For each WW the converse supplies the same ss at every budget. For a corner channel its maximum regret is max⁡{s−2/3,(1−s)2}\max\{s-2/3,(1-\sqrt{s})^2\}. To see this, on [0,4/9][0,4/9] the difference is nonincreasing, on [4/9,s][4/9,s] it is convex and takes its maximum at an endpoint, and on [s,1][s,1] it is nonincreasing. The first term grows with ss and the second decreases. Equalizing them gives s=25/36s = 25/36. The encoder uses private-role probabilities (14,11,11)/36(14,11,11)/36. The budgets 00 and 25/3625/36 both witness the lower bound. This is one deployable channel for the entire interval.

Which nonuniform event populations admit the same guarantee?

Assume each pair of attributes identifies at most one event. The realized cells may form a proper subset of a rectangle. For a corner AA whose three cells are present, let pA(s)p_A(s) be its pivot-and-arms posterior, and let KsK_s be the convex hull of all these vectors. The converse of Theorem 7 still applies. The uniform mixing argument need not.

Theorem 8 (equality criterion). Fix 4/9<b<14/9 < b < 1 and s∗=bs_* = \sqrt{b}. Then

Mb(π)=2b−b  ⟺  π∈Ks∗.(16)M_b(\pi) = 2\sqrt{b} - b \iff\pi\in K_{s_*}. \tag*{(16)}

Any convex representation supplies a recorder by Bayes inversion. Equivalently, membership holds exactly when ⟨z,π⟩≤max⁡A⟨z,pA(s∗)⟩\langle z,\pi\rangle\le\max_A \langle z,p_A(s_*)\rangle for every vector zz on the cells. If there are no corners the set is empty and one free question separates every support of size at most three after the receipt is seen.

Proof. A mixture in Ks∗K_{s_*} has the same two possible branch types and the same marginal gain at every ambiguous answer, hence attains hb(s∗)h_b(s_*). Conversely, take an attaining channel from (10). Equality in the scalar minimization forces the unique s=s∗s = s_*. As 0<b<s<10 < b < s < 1, having U<sU < s would strictly improve the reader’s uniform-thinning policy above hb(s)h_b(s). Thus U=sU = s, and ur=sru_r = s_r at every positive-probability receipt. An injective first question would give ur=0<sr=1u_r = 0 < s_r = 1. All remaining supports are corners. The arms must have equal probabilities and the pivot must be at least as likely as either arm. To verify this, if a maximal arm is heavier than the smallest atom, isolate that arm by its coordinate: this is a best first question and has ur<sru_r < s_r. If the pivot is maximal and the arms have different weights, isolating the heavier arm has the same strict effect. Ties among maximal atoms obey the same argument. Each remaining receipt therefore has the form pA(sr)p_A(s_r). Its error per unit of ambiguous mass is (1−sr)/sr(1-s_r)/s_r. An interior fraction b/Ub/U of every ambiguous branch was paid. If two of these rates differ, shifting a positive amount of spending from the smaller rate to the larger one gives a strict improvement at the same cost. All rates coincide, hence all sr=s∗s_r = s_*. The barycenter condition forces π∈Ks∗\pi\in K_{s_*}. The separating-vector statement is finite convex separation. □

Two nonuniform tests on the six-suite grid. Use coordinates 0, 1 for the rows and 0, 1, 2 for the columns. Fix two disjoint corners with pivots (0,0)(0,0) and (1,1)(1,1) and arms {(1,0),(0,2)}\{(1,0),(0,2)\} and {(0,1),(1,2)}\{(0,1),(1,2)\} respectively. With s=4/5s = 4/5 and public mixture weights 1/3,2/31/3, 2/3, Bayes inversion attains 24/2524/25 at b=16/25b = 16/25 on the resulting nonuniform population. Now assign probability 7/207/20 to each pivot and 3/403/40 to each of the other four cells. Take zz to be the indicator of the two pivots. Their total prior mass is 7/107/10. These cells differ in both coordinates, so within any one corner they can occur together only as its arms. Consequently max⁡A⟨z,pA(4/5)⟩=max⁡(3/5,2/5)=3/5\max_A \langle z,p_A(4/5)\rangle= \max(3/5,2/5) = 3/5. This is a strict certificate of failure even though each individual cell passes the single-cell upper bound 3/53/5. A feasible recalibration uses the same two public receipts with equal weights and s=17/20s = 17/20. Their barycenter is exactly the stated prior. The decoder stays exact and transcript evaluation gives

24/25<M16/25(π)≤h16/25(17/20)=1637/1700.24/25 < M_{16/25}(\pi) \le h_{16/25}(17/20) = 1637/1700.

The upper endpoint is attained by the recalibrated recorder. The exact optimum inside this interval is unresolved.

Sensitivity to a measured prior. If ∥π−π′∥TV≤δ\lVert\pi- \pi' \rVert_{\mathrm{TV}} \le\delta, each fixed behavioral policy has both its success and its expected cost changed by at most δ\delta by contraction through the transcript channel. For δ≤b≤1\delta\le b \le1, a fixed encoder therefore obeys

Vb−δπ(W)−δ≤Vbπ′(W)≤Vmin⁡(1,b+δ)π(W)+δ.V_{b-\delta}^{\pi}(W)-\delta\le V_b^{\pi'}(W) \le V_{\min(1,b+\delta)}^{\pi}(W)+\delta.

Changing the budget in this bound is essential: a policy admissible under the nominal prior can exceed its average query quota after a prior shift. On the uniform six-suite grid shift mass 1/121/12 from the bottom right to the top left cell, holding the s=4/5s = 4/5 encoder fixed. At b=16/25b = 16/25 the reader’s success rises from 24/2524/25 to 1031/10501031/1050. These are prescribed prior perturbations, not frequencies estimated from TLS traffic.

What survives attribute collisions in the 65-suite catalogue

In the catalogue, the attribute pair (authentication, bulk cipher) takes only 30 distinct values on 65 suites. Thus two answers need not identify the event. Let G\mathcal{G} be the joint partition. With uniform prior on NN events and arbitrary private capacity kk, the exact full-budget endpoint is

M1(π)=1N∑G∈Gmax⁡(1,∣G∣/k).(17)M_1(\pi) = \frac{1}{N} \sum_{G \in\mathcal{G}} \max(1, |G|/k). \tag*{(17)}

Indeed the reader can request both attributes. For each GG, the mass-normalized contribution ∑rmax⁡x∈GW(r∣x)\sum_r \max_{x \in G} W(r \mid x) is at least one by normalization and at least ∣G∣/k|G|/k by the support bound. To attain both bounds, first compute the joint fibre containing the input, then uniformly release a subset of size min⁡(k,∣G∣)\min(k, |G|) of that fibre containing the input. The private rank decodes the event. Both answers are now fixed by the public subset. This design discloses the joint attribute intentionally. It optimizes event identification at full budget and would need a different objective if those attributes themselves were sensitive.

65-suite channel, k=3k = 3Releasesb=0b = 0b=16/25b = 16/25b=1b = 1
Stock catalogue6538/3938/3938/39
Standards-aware5962/6562/6562/65
Within joint fibres8620/3920/3920/39

Table 1 (PDF p. 18).

There are 13 singleton fibres, nine pairs, four triples, two of size five and two of size six. Substitution into (16) gives 20/3920/39. In the first two stored codebooks a suitable first question already achieves their full-budget score. Equality of the endpoints and monotonicity explain the constant columns. Only the last row at full budget is certified globally optimal by (16).

Reproduction and independent checks. The program enumerates every deterministic first question and every subset of its answer branches on which to pay. Each local action contributes its joint probability of spending and of guessing correctly. Taking the upper convex hull permits randomized choices. Adding local curves in decreasing order of their slopes allocates the single global budget. An independent sequence-form linear program uses first-action probabilities zriz_{ri} and paid-branch probabilities 0≤yriD≤zri0 \le y_{riD} \le z_{ri} with ∑izri=1\sum_i z_{ri} = 1. Its cost constraint is ∑riDyriDPr⁡(R=r,X∈D)≤b\sum_{riD} y_{riD}\Pr(R = r, X \in D) \le b, where each DD is a first-answer fibre. Both methods agree on all reported test cases. The exact tests cover grids of sizes 2×32 \times3, 3×33 \times3 and 4×74 \times7, seven budgets, all private sampling tickets at the tested settings, the two recalibrated populations and the frozen 65-suite catalogue. The results file records exact rational probabilities. For irrational sbs_b the sampler uses a rational setting s′s' on a chosen mesh. In the interior uncapped regime its excess success probability is (s′−b)2/s′(s' - \sqrt{b})^2/s'.

The geometry of a menu of binary audit questions

A policy designer can change the menu of permitted questions while keeping the set of events and the recorder’s private capacity fixed. Consider a uniform event in a binary linear code C≤F2dC \le\mathbb{F}_2^d of dimension d≥2d \ge2. The menu has one truthful question per coordinate. The reader chooses its first coordinate after the receipt and may choose any remaining coordinate after the first answer, subject to the same expected follow-up budget bb. The recorder still has three private roles. The event to recover is the entire codeword. Write Mb(C)M_b(C) for the optimal probability of identification in this game. Bit queries are atomic. Authorizing arbitrary linear combinations would change the menu.

Theorem 9 (classification of the query menu). Let

t(C)=min⁡u,v∈C∖{0}u≠v∣supp⁡u∩supp⁡v∣.t(C) = \min_{\substack{u,v \in C \setminus\{0\} \\ u \ne v}} \lvert\operatorname{supp} u \cap\operatorname{supp} v \rvert.

For every such code its full minimax curve is

Mb(C)={Mb of xref‘(13)‘,t(C)=0,min⁡(1,2/3+b/2),t(C)>0.(18)M_b(C) = \begin{cases} M_b\text{ of }{xref}`(13)`, & t(C) = 0,\\ \min(1, 2/3 + b/2), & t(C) > 0. \end{cases} \tag*{(18)}

Support intersection is a classical coding-theoretic property [19]. The assertion is its equivalence to a complete optimal-disclosure curve when a receipt must be decoded with three private states. The two curves first depart above 4/94/9. In an intersecting code a reader can guarantee perfect identification at b=2/3b = 2/3 for every admissible encoder. With a disjoint pair, for each b<1b < 1 an encoder exists that keeps the reader’s success strictly below one.

Proof. The converse in Theorem 7 only needs to separate the two most likely atoms with one question and distinguish the remaining pair with a second. Binary coordinates have these properties on a code because distinct words differ somewhere. Suppose u,vu, v have disjoint supports. Choose a public translate of the triple (0,u,v)(0, u, v) and assign its posterior (2s−1,1−s,1−s)(2s - 1, 1 - s, 1 - s) in that order. The uniform mixture over all translates is Bayes plausible. Every informative coordinate isolates one of the two arms. No coordinate isolates the pivot. The remaining pair can be distinguished by a coordinate on the other arm’s support. A constant first coordinate gives no information and even a paid second coordinate then performs at most as well as one informative free query. Thus the attainable curve for this channel is exactly hb(s)h_b(s). Minimizing over ss proves the first line.

Now suppose t(C)>0t(C) > 0. In any triple {x,y,z}\{x, y, z\} the two nonzero differences y+xy + x and z+xz + x meet in some coordinate. There yy and zz agree and xx differs, so the reader can isolate any designated word of that triple. With a posterior p1≥p2≥p3p_1 \ge p_2 \ge p_3, isolate the heaviest atom. The free question succeeds with probability p1+p2≥2/3p_1 + p_2 \ge2/3. The ambiguous branch has mass 1−p1≤2/31 - p_1 \le2/3. Receipts with fewer than three candidates are already resolved by a coordinate. Aggregate free success ss and ambiguous mass UU therefore satisfy s≥2/3s \ge2/3, U≤2/3U \le2/3. Paying on a common fraction of ambiguous branches gives success at least

s+(1−s)min⁡(1,b/U)≥min⁡(1,2/3+b/2).s + (1 - s)\min(1, b/U) \ge\min(1, 2/3 + b/2).

For equality use uniform posteriors on the translates of any triple. Every informative first bit leaves a singleton and an equiprobable pair. The ambiguous mass is 2/32/3 and each paid ambiguity earns exactly 1/21/2 per query. This proves the second line, with a single encoder valid at all budgets. □\square

Corollary 2 (sharp number of withdrawals). In an intersecting code, t(C)t(C) is the least number of coordinate questions that can be withdrawn to move the menu to the other curve while preserving all 2d2^d distinct event identities. Deleting fewer coordinates leaves a common position in every pair of nonzero words. For sufficiency take a minimizing pair u,vu,v and delete exactly their overlap. The projection still has full rank. Otherwise some nonzero ww would have support contained in the deleted overlap and hence contained in supp⁡u\operatorname{supp} u. Proper containment makes ww and u+wu+w disjoint, impossible in an intersecting code. Equality forces w=uw=u and supp⁡u⊆supp⁡v\operatorname{supp} u \subseteq\operatorname{supp} v, again impossible since u≠vu \ne v. The projected pair is disjoint and nonzero. Theorem 9 applies. For a full-row-rank generator GG with columns gjg_j, the operational threshold can be computed without searching all submenus:

t(C)=min⁡a,b independent#{j:a⋅gj=b⋅gj=1}.t(C)=\min_{\substack{a,b\ \text{independent}}}\#\{j:a\cdot g_j=b\cdot g_j=1\}.

For the binary simplex menu containing each nonzero gj∈F2dg_j\in\mathbb{F}_2^d once, the simultaneous equations have 2d−22^{d-2} solutions, all nonzero. The required number of withdrawals thus grows as 2d−22^{d-2}, although the same three private roles and two adaptive queries suffice throughout.

Exhaustive menu experiment. The dimension-three simplex menu consists of seven parity questions on eight equiprobable events. Enumerate every subset of the seven columns, keep exactly those of rank three, construct the appropriate translation encoder, and evaluate every first bit and the best second bit separately on each answer branch with exact rational arithmetic. At b=16/25b=16/25 the results are

Retained questionsFull-rank menust(C)t(C)Optimal successEvent count
328024/258
435024/258
521024/258
67174/758
71274/758

Table 1 (PDF p. 20).

These are 92 labelled menus. Removing one question from the full seven preserves the curve. Removing an appropriate pair changes it by exactly 2/75 at this budget. For simplex dimensions two through five the measured withdrawal thresholds are 1, 2, 4, 8, respectively. The checks verify recovery for every event in all 92 menus. These counts are design-space enumerations. They give no estimate of how often a deployed reviewer requests a particular bit.

A fourth private role changes the controlling property

Write Mb(4)(C)M_b^{(4)}(C) for the same game with four distinguishable private states. Call a quartet balanced by a coordinate when exactly two of its four words have bit one there. Balancing every quartet is the (∣C∣,4,2)(|C|,4,2) splitter condition of [21]. It gives a different operational criterion.

Theorem 10 (the full four-role curve). For every uniform binary linear event code CC of dimension at least two and every expected follow-up budget 0≤b≤10\le b\le1,

Mb(4)(C)={(1+b)/2,each quartet admits a balanced coordinate,H(b):=min⁡{1/2+b/3, 3/4},some quartet has no balanced coordinate.(19)M_b^{(4)}(C)= \begin{cases} (1+b)/2, & \text{each quartet admits a balanced coordinate},\\ H(b):=\min\{1/2+b/3,\,3/4\}, & \text{some quartet has no balanced coordinate}. \end{cases} \tag*{(19)}

A single recorder in each case attains its entire curve. At 0<b<3/40 < b < 3/4, for an arbitrary full-support prior on a finite set of distinct binary words with at least four elements, equality with H(b)H(b) holds exactly when the prior is a mixture of uniform distributions on unbalanced quartets. The mixing coefficients compile directly into an exactly decodable channel by Bayes inversion.

Proof. When a balancing question exists on every quartet, extend any smaller support to a quartet and ask its balancing bit. Each branch now contains at most two candidates. A first guess succeeds with probability at least 1/21/2 and a second bit identifies the event. Paying independently with probability bb gives (1+b)/2(1+b)/2. Uniform translates of any two-dimensional linear subspace attain equality. Every informative first bit on this law leaves two equiprobable pairs. A paid question can correct at most half an error per query.

The unbalanced case requires controlling a reader that spends its quota preferentially after particular receipts and answers. Price a paid query at λ∈[0,1]\lambda\in[0,1] and let Bλ(p)B_\lambda(p) be the maximum correct-guess probability minus the expected query charge at posterior pp. The finite decision-tree duality of (10) applies to this menu and four roles. In particular for any fixed channel

Vbπ(W)=min⁡0≤λ≤1DW(λ),DW(λ)=λb+ERBλ(pR).V_b^\pi(W) = \min_{0 \le\lambda\le1} D_W(\lambda), \qquad D_W(\lambda) = \lambda b + \mathbb{E}_R B_\lambda(p_R).

We claim that every admissible posterior satisfies

Bλ(p)≥g(λ):=max⁡{1/2,3(1−λ)/4}.(20)B_\lambda(p) \ge g(\lambda) := \max\{1/2, 3(1-\lambda)/4\}. \tag*{(20)}

One free question can separate the two heaviest words. Their total mass is at least 1/21/2, strictly larger unless the posterior is uniform on four words. On a balanced quartet, spending on both branches gives 1−λ1-\lambda. For an unbalanced quartet every informative first bit isolates one word. At least three words can be isolated: otherwise the two remaining words would agree at every coordinate. Choose an isolatable word of greatest mass tt. A globally least atom of mass m≤1/4m \le1/4 can be left in the other branch, and t≥mt \ge m. On that triple choose a second bit separating its two heaviest atoms. Paying only on the triple gives success 1−m1-m and cost 1−t1-t. Its priced value, minus 3(1−λ)/43(1-\lambda)/4, is

(1−λ)(1/4−m)+λ(t−m)≥0.(1-\lambda)(1/4-m) + \lambda(t-m) \ge0.

This also covers smaller supports by padding with zero masses. On a uniform unbalanced quartet the best free success is 1/21/2. Paying after its ambiguous answer increases success by 1/41/4 for a cost of 3/43/4. A constant first bit, or payment on a singleton, yields no higher value. This gives equality in (19) at every price. Minimizing λb+g(λ)\lambda b + g(\lambda) yields H(b)H(b); uniform translates of the quartet realize the uniform prior and preserve the branch law.

For 0<b<3/40 < b < 3/4 the minimizing price is uniquely 1/31/3. Equality in the channel bound requires equality at this price for every receipt of positive probability. A nonuniform posterior has free success greater than 1/21/2 by the two-heaviest argument, and a balanced quartet has priced success at least 2/32/3. Only the stated uniform unbalanced posteriors remain. Their barycenter is necessarily π\pi; conversely any such barycenter realizes the curve. Attainment for finite alphabets follows from the compact posterior-mixture argument in § 11, now on faces of size at most four. Finally, every intersection code balances every quartet: translate the quartet to {0,u,v,w}\{0,u,v,w\} and take a common support position of u+vu+v and ww. There exactly one of u,vu,v and also ww have value one. □

What the criterion decides. The menus {3,5,6,7}\{3,5,6,7\} and {4,5,6,7}\{4,5,6,7\} are indexed by three-bit masks, retain eight event identities, and have identical three-role curves. With four roles the first balances every quartet. In the second the output words {0,10,12,9}\{0,10,12,9\} witness the unbalanced case, counting the bit for column 4 as least significant. At a target correct-guess probability of 7/107/10 the maximum admissible budgets are respectively 2/52/5 and 3/53/5. In the 92 retained menus the two cases occur 57 and 35 times. We checked both constructions by direct enumeration of transcript decisions at six budgets. For all 6,440 menu/quartet pairs we also tested the local price inequality at five prices and all 35 strictly positive posterior weight vectors of denominator eight. Identical induced bit partitions were evaluated once, covering 1,127,000 indexed comparisons. These tests do not substitute for the all-budget proof.

Compiling a prior on three binary audit fields. For the three coordinate questions on X=F3X = \mathbb{F}^{3}, the unbalanced quartets are exactly the eight translates of the Hamming ball T={0,e1,e2,e3}T = \{0,e_1,e_2,e_3\}. To see this, each useful coordinate isolates one word and three different words must be isolatable. The remaining word has the majority value in each coordinate. The other words flip one coordinate each. Theorem 10 now turns an attainability question into a receiver-independent calibration test. Let χS(x)=(−1)∑i∈Sxi\chi_S(x) = (-1)^{\sum_{i\in S}x_i} and aS=EπχS(X)a_S = \mathbb{E}_{\pi}\chi_S(X). For one representative zz of each antipodal pair {z,zˉ}\{z,\bar{z}\}, where zˉ=z+(1,1,1)\bar{z} = z + (1,1,1), define

L(z)=2∑i=13a{i}χ{i}(z)−2a123χ123(z).L(z) = 2\sum_{i=1}^{3} a_{\{i\}}\chi_{\{i\}}(z) - 2a_{123}\chi_{123}(z).

For every interior 0<b<3/40 < b < 3/4 the exact optimal curve equals H(b)H(b) if and only if

a12=a13=a23=0,∑{z,zˉ}∣L(z)∣≤4.(21)a_{12}=a_{13}=a_{23}=0,\qquad\sum_{\{z,\bar{z}\}} |L(z)| \le4. \tag*{(21)}

Indeed, if ω\omega is the law of the published ball centre then π=ω∗Unif⁡(T)\pi= \omega* \operatorname{Unif}(T). In the Boolean character basis [22] the multiplier is (1+∑i(−1)1i∈S)/4=1−∣S∣/2(1 + \sum_i(-1)^{\mathbf{1}_{i\in S}})/4 = 1 - |S|/2. Degree-two coefficients therefore vanish. Fourier inversion fixes the odd part of 8ω(z)8\omega(z) to L(z)L(z) and leaves the degree-two coefficients free. The even part can take four arbitrary pair values EzE_z of mean one: the constant and the three degree-two characters span this four-dimensional space. Both members of a pair have nonnegative probability precisely when Ez≥∣L(z)∣E_z \ge|L(z)|. This proves necessity and sufficiency. An explicit compiler takes d=1−∑pairs∣L∣/4d = 1 - \sum_{\text{pairs}} |L|/4 and ω(z)=(∣L(z)∣+d+L(z))/8\omega(z) = (|L(z)| + d + L(z))/8. It emits centre zz on input x∈z+Tx \in z + T with probability ω(z)/(4π(x))\omega(z)/(4\pi(x)) and retains the two-bit rank of xx. A marginal bias alone can break calibration: for π(x)=(1+ηχ1(x))/8\pi(x) = (1 + \eta\chi_1(x))/8 the exact admissibility range is ∣η∣≤1/2|\eta| \le1/2, although all three degree-two tests vanish throughout. On the grid of all 6,435 positive count vectors summing to 16, 81 satisfy (20). An independent feasibility LP agreed on 255 selected vectors, including all 81 accepted ones.

There is also a way to recover this spectral calculation from the decision rules themselves. At the generated interior price λ=1/3\lambda= 1/3, the symbolic experiment determines the value of each uniform quartet from its tree profiles. Exactly eight quartets attain 1/21/2. The program forms their normalized event-incidence columns, labels each by its coordinatewise majority and diagonalizes the resulting matrix. Its eigenvalues are 1,1/2,0,−1/21,1/2,0,-1/2 with multiplicities 1,3,3,11,3,3,1. Three zero modes account for the three parity equalities in (20); positivity on the remaining modes accounts for the antipodal inequality. Across all 92 full-rank menus at capacities three and four, the compiler solved 18 local split systems and reproduced all 184 complete budget profiles. The implementation receives the bit masks and capacity; the independent comparison script contains the predicted curves.

The price of a two-field correlation. Let ϵ=Eπxixj\epsilon= \mathbb{E}_{\pi}x_i x_j, e=∣ϵ∣e = |\epsilon|, and u+=max⁡(u,0)u_+ = \max(u,0). For any full-support law on the cube the following expression bounds the optimal identification probability from below. It is the exact optimum for the entire one-parameter family πϵ(x)=(1+ϵχij(x))/8\pi_{\epsilon}(x) = (1+\epsilon\chi_{ij}(x))/8, for every 0≤b≤10 \le b \le1:

Jϵ(b)=12+12min⁡(b,ϵ)+13min⁡((b−ϵ)+,3(1−ϵ)4).(22)J_{\epsilon}(b) = \frac{1}{2} + \frac{1}{2}\min(b,\epsilon) + \frac{1}{3}\min\left((b-\epsilon)_{+},\frac{3(1-\epsilon)}{4}\right). \tag*{(22)}

In particular, unchanged individual bit frequencies say nothing about the persistence of the optimum when their joint distribution changes.

To prove the lower bound, set gP(λ)=max⁡(1/2,1−λ)g_P(\lambda)=\max(1/2,1-\lambda) and h=∣Epχij∣h=\lvert\mathbb{E}_p\chi_{ij}\rvert for one receipt posterior. We claim the price interpolation

Bλ(p)≥(1−h)g(λ)+hgP(λ).B_{\lambda}(p) \ge(1-h)g(\lambda)+hg_P(\lambda).

On any balanced quartet, Bλ≥gPB_{\lambda} \ge g_P by the balancing question. On smaller supports one question separates the two heaviest atoms and two adaptive bits identify all candidates, again giving this bound. On an unbalanced ball two cells have each parity. Its two heaviest atoms therefore carry mass at least (1+h)/2(1+h)/2. Its lightest atom has mass m≤(1−h)/4m \le(1-h)/4, by taking the smaller parity class. For λ≤1/3\lambda\le1/3 the paid-on-triple policy in Theorem 10 has success at least (3+h)/4(3+h)/4 and its priced value at λ=1\lambda=1 is nonnegative. Affine interpolation yields Bλ(p)≥(1−λ)(3+h)/4B_{\lambda}(p) \ge(1-\lambda)(3+h)/4, as required. For λ≥1/3\lambda\ge1/3 the free success (1+h)/2(1+h)/2 suffices. Taking expectations gives the claimed interpolation with ϵ\epsilon since Eh≥ϵ\mathbb{E}h \ge\epsilon and gP≥gg_P \ge g. Minimizing over price now gives (21): the only possible breakpoints of the priced bound are 1/31/3 and 1/21/2, together with the endpoints.

For attainability under πϵ\pi_{\epsilon}, use uniform ball posteriors of total weight 1−ϵ1-\epsilon with all eight centres equally represented. Assign the remaining weight ϵ\epsilon to the uniform posterior on the four words of the more frequent parity. Their barycenter is πϵ\pi_{\epsilon}, so Bayes inversion implements these exact posterior weights. On the published parity plane any informative coordinate leaves two equiprobable pairs. Its priced value is gPg_P. The average priced value of the recorder is therefore exactly the interpolation above. Operationally, the reader spends first on plane receipts at gain 1/21/2 per query, then on ambiguous ball answers at gain 1/31/3, until the quota ϵ+3(1−ϵ)/4\epsilon+3(1-\epsilon)/4 is exhausted. The same recorder is optimal at every budget. The transcript program agrees with this curve for 19 signed tilts, each of the three pairwise parities, and 21 budgets (1,197 evaluations). Releasing the plane identifies parity on that receipt; this application permits disclosure of parity and protects the exact suite.

Audit decision on negotiated TLS sessions. Operational TLS migration logs can expose the negotiated cipher name alongside other request attributes [23]. A recorder servicing a restricted review API can retain exact suite recovery while giving an ordinary reader the right to query three fields: DHE versus static RSA, GCM versus CBC, and AES-256 versus AES-128. We selected the complete eight-cell factorial subset of RSA-authenticated suites from the 65-suite catalogue, using the SHA-256 CBC variants. The observer in this test receives only a receipt and the permitted answers. A reader of the handshake itself, or of a second log containing the cipher name, already knows the suite. The policy is meaningful for a separate audit archive and for the single-event observer defined here.

We ran 960 fresh TLS 1.2 handshakes between two local TCP endpoints using Python’s TLS binding to OpenSSL 3.5.8. The client verified a temporary local certificate, offered one selected suite per connection and checked the negotiated name. The server read the negotiated suite from its TLS session, sampled the receipt and wrote a one-byte public identifier and a separately packed two-bit private role. We reopened both files and compared the recovered sequence with the complete run schedule. All 960 suite identities matched. Each population used 320 public bytes and 80 private bytes, excluding public configuration and filesystem overhead. Three prescribed populations were independently exercised: The table’s identification probabilities are exact best responses computed from the recorders. The sample counts and recovery checks are measurements. In the last population the marginals of all three bits remain balanced but a12=1/2a_{12} = 1/2. Equation (22) gives J1/2(3/5)=47/60J_{1/2}(3/5) = 47/60, exceeding the 7/10 ceiling even for the best possible recorder. Solving J1/2(b)≤7/10J_{1/2}(b) \le7/10 gives b≤2/5b \le2/5 exactly. With the public centre or plane identifier and the same private rank size, the admissible rate falls from 60 to 40 follow-ups per 100 sessions in expectation. A raw suite-name archive gives the reader success one before asking a question. The protected mechanism still supplies exact reconstruction for every session. The local trials have prescribed population laws and exclude other telemetry. Field estimation, linkage across sessions, and enforcement of query quotas are separate system requirements.

Session counts per suiteRecorderV2/5V_{2/5}V3/5V_{3/5}Target 7/10
40 eachball19/307/10b=3/5b = 3/5 feasible
50 or 30 by DHE bitcalibrated ball19/307/10b=3/5b = 3/5 feasible
60 or 20 by DHE/GCM parityball and plane7/1047/60b≤2/5b \le2/5 required

Table 2.

Scope, prior results and tests of the model

Where the secrecy resides. The private index must remain available and secret at audit time. If the archive observer obtains it, exact recovery makes the fact public to that observer. If the index is lost, exact recovery fails. An additional protected key or a separate store changes the capacity accounting. We assume an honest recorder and an authentic later label. § 11 and § 12 analyze receipt-dependent two-stage policies. Forged records, computationally bounded observers and noisy reconstruction require further security experiments.

Relation to prior work. The guessing metric is established [1, 2]. Hard admissibility constraints on privacy mechanisms [3] and graph-theoretic zero-error leakage [4] supply close precedents. The local cover objective is related to fractional local coloring [5]. Here supports are restricted by private recovery capacity and contexts are specified independently of those supports. Causal secure source coding [6] studies rate and secrecy under timing constraints. Database auditing under retention policies [10] studies which queries remain answerable after history is suppressed. Our quantity is a finite, worst-context guessing factor when the timing of public side information changes at fixed recovery capacity. AgentSecBench measures security games under permitted projections [7]. Observer-Quotient Security bounds composition defects [8]. Neither role supplies the extremal separation proved here. Channel design with an optimizing receiver also has established game-theoretic formulations [20]. Cost-sensitive diagnostic policies [24] minimize measurement plus misclassification cost, equivalent here to maximizing correct guesses minus a test price for a fixed posterior. Our additional minimization ranges over every zero-error recorder at a fixed private capacity. Its four-role solution (19), the population test (21) and the exact parity-tilt response (22) follow from constraints on the posteriors that the recorder can realize. Earlier in the paper the budget-dependent posterior weights, the equality condition (16) and the menu classification (18) are derived specifically for the present receipt game. A priority claim under other formulations would require a broader review.

An operational test. In an audit system with timestamped policy decisions, determine whether the policy class was available to the recorder before receipt generation, identify every protected state accessible to the decoder, and enumerate admissible event/label pairs from the policy engine. The exogenous guessing factor needs only the incidence relation. In the adaptive experiment the inference score also requires a population law, as (22) illustrates. Compute both optima on held-out policy versions and compare them to the implemented channel. A public guessing factor below the certified lower bound with exact recovery would falsify the mapping: check for an extra private input, an unavailable context, a receipt-dependent label, or a missing public observation. A gap that vanishes throughout the held-out workload would limit the practical reach of the separation.

Origin and limits of the rate results. Brakensiek [11] supplies the sharp power inequality for clique neighborhoods; Alon and Defant [12] supply the finite profile recursion. Theorem 4 translates that graph theory into an audit leakage rate. Theorem 5 also covers multiple context orbits and yields the grid calculation. Its proof uses a weighted neighborhood bound and a public permutation to control the worst sequence of label types. Establishing the prior-art boundary for equivalent information-theoretic formulations, and measuring a real recorder under an observed policy schedule, are separate research tasks.

References

  1. [1]I. Issa, A. B. Wagner and S. Kamath. An Operational Approach to Information Leakage. IEEE Transactions on Information Theory, 2020. arXiv:1807.07878.arxiv.org/abs/1807.07878
  2. [2]J. Liao, L. Sankar, O. Kosut and F. P. Calmon. Robustness of Maximal α-Leakage to Side Information. arXiv:1901.07105.arxiv.org/abs/1901.07105
  3. [3]J. Liao, O. Kosut, L. Sankar and F. P. Calmon. Privacy Under Hard Distortion Constraints. arXiv:1806.00063.arxiv.org/abs/1806.00063
  4. [4]Y. Liu, L. Ong, S. Johnson, J. Kliewer, P. Sadeghi and P. L. Yeoh. Information Leakage in Zero-Error Source Coding: A Graph-Theoretic Perspective. arXiv:2102.01908.arxiv.org/abs/2102.01908
  5. [5]K. Shanmugam, A. G. Dimakis and M. Langberg. Local Graph Coloring and Index Coding. arXiv:1301.5359.
  6. [6]Y. Kaspi and N. Merhav. Zero-Delay and Causal Secure Source Coding. arXiv:1311.4723.arxiv.org/abs/1311.4723
  7. [7]F. Alpay and T. Alpay. AgentSecBench: Measuring Prompt Injection, Privacy Leakage, and Tool-Use Integrity in LLM Agents. arXiv:2605.26269.
  8. [8]F. Alpay and L. Sarioglu. Observer-Quotient Security: Composable Leakage Bounds for Hidden State Continuations. arXiv:2607.03610.
  9. [9]OpenSSL Project. openssl-ciphers, OpenSSL 3.5 documentation. Command and selector reference.
  10. [10]W. Lu, G. Miklau and N. Immerman. Auditing a database under retention policies. The VLDB Journal 22, 203–228, 2013. doi:10.1007/s00778-012-0282-x.DOI
  11. [11]J. Brakensiek. Vertex Isoperimetry and Independent Set Stability for Tensor Powers of Cliques. AP-PROX/RANDOM 2017, LIPIcs 81, article 33. doi:10.4230/LIPIcs.APPROX-RANDOM.2017.33.
  12. [12]N. Alon and C. Defant. Isoperimetry, stability, and irredundance in direct products. Discrete Mathematics, 2020. arXiv:1904.02595.
  13. [13]M. Sion. On general minimax theorems. Pacific Journal of Mathematics 8, 171–176, 1958. Publisher’s text.DOI
  14. [14]Y. Sheffer, P. Saint-Andre and T. Fossati. Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS). RFC 9325, 2022, §4.2. RFC Editor.
  15. [15]A. Langley, W. Chang, N. Mavrogiannopoulos, J. Strombergson and S. Josefsson. ChaCha20-Poly1305 Cipher Suites for Transport Layer Security (TLS). RFC 7905, 2016, §3. RFC Editor.
  16. [16]Python Software Foundation. secrets module. Python standard library. Documentation.
  17. [17]M. Boreale and F. Pampaloni. Quantitative Information Flow under Generic Leakage Functions and Adaptive Adversaries. Logical Methods in Computer Science 11(4), 2015, Sect. 6.1. Publisher’s text.
  18. [18]E. Kamenica and M. Gentzkow. Bayesian Persuasion. American Economic Review 101(6), 2590–2615, 2011, Prop. 1. doi:10.1257/aer.101.6.2590.DOI
  19. [19]G. Cohen and A. Lempel. Linear intersecting codes. Discrete Mathematics, 1985. doi:10.1016/0012-365X(85)90190-6.DOI
  20. [20]M. H. R. Khouzani and P. Malacaria. Optimal Channel Design: A Game Theoretical Analysis. Entropy 20(9), 675, 2018. doi:10.3390/e20090675.DOI
  21. [21]M. Naor, L. J. Schulman and A. Srinivasan. Splitters and Near-Optimal Derandomization. FOCS 1995, 182–191. Authors’ text.
  22. [22]R. de Wolf. A Brief Introduction to Fourier Analysis on the Boolean Cube. Theory of Computing, Graduate Surveys 1, 2008. Publisher’s text.
  23. [23]F5 NGINX. Configuring Logging. Sampling TLS parameters. Operational documentation.
  24. [24]V. Bayer-Zubek and T. G. Dietterich. Integrating Learning from Examples into the Search for Diagnostic Policies. Journal of Artificial Intelligence Research 24, 263–303, 2005. doi:10.1613/jair.1512.
  25. [25]R. D. Smallwood and E. J. Sondik. The Optimal Control of Partially Observable Markov Processes over a Finite Horizon. Operations Research 21(5), 1071–1088, 1973. doi:10.1287/opre.21.5.1071.DOI

Paper details

vlnc:W_2mg2w5uq
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY-SA 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents