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 is . Otherwise it is . 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 , , . 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 and 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 be a finite set of possible facts and a finite family of nonempty subsets covering . A valid pair satisfies . At a single checkpoint the trusted recorder emits a finite public receipt and keeps , where . A trusted reviewer must recover from with zero error on every legal pair. In the late experiment the first encoder sees only . In the early experiment it sees . In both games the archive observer sees and can retain it indefinitely. The decoder can be fixed independently of in both constructions. A private state of cardinality represents distinguishable values, which requires 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 . No auxiliary secret key, side archive, uncharged decoder memory, or private transcript is available to the reviewer. An observer who already knows scores the additional information in . For a late channel its worst-context guessing factor is
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 on each fiber. Let and be the corresponding minimum factors.
Theorem 1. With , the two optima are
All sums over in (2) use . An epigraph variable for the maximum gives a linear program with rational data. The optimum is attained.
Proof. Fix a late channel. For any , at most facts can produce it, since the decoder has only possible outputs at that . 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 to its levels and . Add to . This preserves the row sum at every and, simultaneously for every , the column maximum on . Summing over receipts gives a feasible cover of equal cost. Conversely, given , emit with probability whenever and store the rank of in a fixed ordering of . Its score is exactly (2).
For one known context of size , row normalization and the support bound give , and the factor is always at least one. If , emit the context itself and retain the rank. Otherwise choose a uniform -subset of the context containing and retain its rank. The factor is . Conditioning the construction on each proves (3). □
Corollary 1. Join two facts if they share a context. Then exactly when each connected component has size at most . 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 . Suppose a group of permutations of preserves the incidence relation and is transitive separately on vertices and on contexts. Let , . Then
To see the lower bound, average the objective of (2) over contexts and use . For the reverse bound, choose a minimizing , 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 consists of all -subsets of , then
Here for . To verify optimality at size , the fraction of -contexts hit by a fixed -set is . Its successive increments are for , with the zero convention. Hence is nonincreasing. Substitution at in (4) gives (5). Uniformly drawing a -subset containing is an optimal causal encoder.
A growing separation. Set , . With early context the leakage is zero. With late context,
The log of the product is by summing the first-order expansion. The excess leakage in bits is . 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 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 , and the empty residual. Both have six facts, six contexts and degree two at every fact.
At the triangles have factor one by Corollary 1. In the six-cycle, a nonempty proper -set hits at least edges, with equality for a contiguous segment. Equation (4) gives . 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 grid. The nine possible joint contexts are its 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 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 with coordinate recovery and with pooled recovery. Both early-context optima equal one.
| Support size | 1 | 2 | 3 | 4 |
| Fewest contexts hit, coordinate recovery | 4 | 6 | 8 | 9 |
| Fewest contexts hit, pooled recovery | 4 | 6 | 6 | 8 |
Table 1.
Proof. Row and column permutations act transitively on facts and on contexts, with . 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 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 box fills the box and meets all nine rectangles. Minimizing the hit counts divided by gives the stated factors. Early disclosure supplies the candidate rectangle, so one bit per coordinate suffices. □


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 facts. All context labels arrive only after the block receipt has been fixed. The observer learns the full label tuple. A pool with 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 to report bits per record. This timing allows the encoder to allocate private capacity across coordinates.
The exact rate for three facts
Write for the minimum late factor at . 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 form its vertex neighborhood in the direct graph power . Separate transitivity on facts and contexts still holds. Equation (4) gives
Theorem 4. Let . For every positive integer ,
Consequently
Proof. Write . The vertex-isoperimetric inequality for powers of cliques [11, 12] gives . At , dividing by gives . For the upper bound, put . Keep the first ternary symbols in private memory and put the other symbols in the public receipt. The private pool uses states. For each public coordinate the later context leaves exactly two possibilities, so the conditional guessing factor is . Rounding costs less than one bit per block. □
Exact finite optima
Let be the minimum number of contexts hit by an -element support. Taking a subset can only shrink a neighborhood, so the minimum for size at least equals that for size exactly . The finite profile recursion of Alon and Defant [12 Thm. 1.4] specializes, with and , , to
| Block length | 1 | 2 | 3 | 4 | 6 | 8 |
| Optimal factor | 2 | 5 | 8 | |||
| Bits per record | 0.5850 | 0.5000 | 0.3900 | 0.4195 | 0.3870 | 0.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 , 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-GCM | AES-256-GCM | ChaCha20-Poly1305 | |
| ECDHE with ECDSA authentication | one suite | one suite | one suite |
| ECDHE with RSA authentication | one suite | one suite | one 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- public lists and allow arbitrary row-specific probabilities on each. Any smaller support can be padded to a fixed size- 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 | Late factor | Early factor | Excess bits |
| 1 | 3 | 3 | 0.0000 |
| 2 | 0.2630 | ||
| 3 | 1 | 0.6781 | |
| 4 | 1 | 0.4150 | |
| 5 | 1 | 0.2630 | |
| 6 | 1 | 1 | 0.0000 |
Table 1 (PDF p. 6).
A hand certificate at . By symmetry, an encoder may choose the entire row containing with probability , and an L-shaped triple containing uniformly with probability . The row-only mechanism has row/column factors , and the uniform L mechanism has by incidence counting. The mixture gives on both. Conversely, every -cell support for intersects at least of the five row and column labels. Average the objective of (2) over those labels and use to obtain the matching lower bound .
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 -uniform families on we checked all 90 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 facts. Assume a finite permutation group preserves the incidence relation and acts transitively on facts. Contexts may split into different orbits . For a nonempty fact support define
Each is the factor on type when a uniformly translated copy of containing the true fact is the public receipt. Transitivity normalizes each row of this channel. Every type covers the facts uniformly, so . Let denote the optimal factor for facts with a pool of states. All logarithms in this section are base two.
Theorem 5. For the exact asymptotic rate is
When there is just one context orbit, the right side is the lower convex envelope of the one-record points , optimized over mean private cost at most . Multiple context orbits require the common adversarial mixture . This is a proof device for the worst label tuple; the security experiment assumes no label frequencies.
Converse for arbitrary pooled encoders
Lift to a probability on labels by distributing its mass uniformly within each orbit. For let . For any nonnegative vector indexed by facts, integration over the level sets of and the triangle inequality in give
For a block support let be its last coordinates after fixing the first to . At first label the neighborhood contains the union of the tail neighborhoods for . Bounding the probability of that union below by its largest member and applying the display to proves by induction that .
Average the block cover (2) over and use . Every has size at most . Setting yields the lower rate bound
Maximizing over is finite linear-program duality for the inner minimum in (7). Values cannot improve on : a singleton minimizes there and . The endpoint follows by continuity. The bound holds at every block length for every .
Achievability and the timing of labels
Fix a distribution on support shapes with mean cost at most . Allocate 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 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 and suffices for exact decoding.
To bound the worst label tuple, first choose its types independently with distribution . Conditional on the public allocation, the factors multiply. Averaging over the types produces exactly 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 : the empirical counts form a multinomial mode, and there are at most count vectors. Thus the maximum factor over type strings is bounded above by
After taking logarithms and dividing by , rounding and the polynomial prefactor vanish. The objective is linear in and concave continuous in , 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 , and . 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 . 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 states. Let be the test distribution’s total mass on row labels. A support of size meeting rows and columns has
Corollary 2. Let be the unique solution in of
Then the optimal late leakage in bits per record tends to
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 , , and . 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 lie on the line from to .
For a lower bound, every other support lies above this line. The inequalities to verify are
At the horizontal pair minimizes the factor for . At sizes , , the minima near are , and respectively, by counting occupied rows and columns. Outward-rounded interval arithmetic on gives strict margins greater than , and . Sizes one and six are identities. The line therefore supports the inner optimization of (6) from below at .
For achievability, use proportions of the three shapes above. Set , and . These give positive fractions approximately . The derivative of vanishes at . Concavity makes it the maximum over . Its value attains the supporting line at the required budget, proving equality.
Finite-block check independent of the rate proof
For two records, the exact optimum is , 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 ). At 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 , 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 , and a rational cover from (2). The recorder runs Seal() 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 , take the least common multiple of the denominators of the positive for . Lay consecutive intervals of lengths over the integers . Draw one uniform integer, emit the selected support’s identifier , and retain the zero-based rank of in . The decoder returns . Interval lengths sum to , so the realized channel has . Its score is exactly the fractional-cover objective including all observable fixed format bytes. This construction has zero decoding error and at most 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 for a horizontal two-cell subset, for the four-cell strip formed by two full columns, and for the whole six-cell grid. First use the orbit of , including record swaps. Next use the orbit of
The relabelings independently permute authentication rows and cipher columns in each record. For an orbit of supports of size , selected with probability , its cover weight per member is . 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.
| Orbit | Members | Size | Probability | Two columns | Mixed | Two rows |
| Horizontal pair and strip | 36 | 8 | 8/11 | 2 | 9/4 | 9/4 |
| Nine-cell union | 48 | 9 | 3/11 | 8/3 | 2 | 2 |
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 . 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 , round down the pair and full-grid counts from Corollary 2 and assign the remaining positions singletons. A final integer check enforces , where 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 , update . Repeated division in reverse order recovers every . The receipt masks disclose the shuffled schedule, as permitted in the proof.
For future row labels and column labels the implemented factor has an exact integer-coefficient calculation:
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 row positions. The maximum over is the attained factor of this schedule. This calculation also checks rounding losses at finite block lengths.
| Records | Singletons | Pairs | Full grids | Worst row count | Bits/record |
| 8 | 2 | 2 | 4 | 7 | 0.542481 |
| 32 | 7 | 9 | 16 | 20 | 0.517191 |
| 128 | 27 | 37 | 64 | 68 | 0.512342 |
| 512 | 107 | 149 | 256 | 260 | 0.511238 |
| 1,024 | 214 | 298 | 512 | 520 | 0.511228 |
Table 5.
Enumeration of all inputs, distinct schedules, pair choices and subsequent labels for reproduced the coefficients from actual receipt bytes. For larger 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 use every window of length , each with weight ; merge repeated windows by adding weights. Each fact belongs to 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 for the tested capacities.
| Receipts | Attained factor | Lower bound | RFC 7905 | RFC 9325 | |
| 1 | 65 | 40 | 40 | 3 | 4 |
| 2 | 65 | 20 | 20 | 3 | 3 |
| 3 | 65 | 3 | |||
| 4 | 116 | 10 | 10 | 3 | |
| 6 | 191 | 6.9744 | 6.6667 | 2.8462 | 2.3590 |
| 8 | 228 | 5.7777 | 5 | 2.5450 | 2.0705 |
| 12 | 186 | 4.1426 | 3.3333 | 2.3295 | 2.0092 |
| 16 | 191 | 3.4414 | 2.5 | 2.1547 | 1.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 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 for the factor on context . For any two contexts with and ,
For a fractional cover the difference equals . Every support meeting both sides of contributes at least . Choose and . The cover weight of supports containing either point is , 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 , both RFC sets cross the RSA cut. Consequently on both whenever the global optimum 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
All three numbers have matching lower bounds under the global-optimality constraint. In particular, requiring a factor of at most on either cross-cut profile would force . 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 has a public prior of full support. Two public maps specify truthful attribute answers. The recorder publishes using and retains a private role in [3] sufficient for zero-error recovery. After seeing , the reader chooses , observes , then either guesses or obtains before guessing. A behavioral policy can randomize at both stages. Let indicate the second request, whose average budget is public unless stated otherwise. Set
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 grid let the receipt reveal the entire row containing the event with probability and the entire column otherwise. The private rank has three values. A reader committing in advance to either coordinate identifies the cell with probability . A reader who sees the receipt first can always request the other coordinate and identify the cell. Here . 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 , write and with empty maximum zero. Let be the partition into -fibres. At second-query price the Bellman value of a public posterior is
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 let be the least over posterior mixtures with , and . Then
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 and privately retains the rank of . 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 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 be a set of possible events and let a deterministic transcript tree have two vectors indexed by : indicates a correct final guess on and counts its paid questions on . For a sequence of available stage prices , define the tree profiles by
Here ranges over the nonempty answer cells of in and child vectors are extended by zero. Taking 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 be the convex hull of the vectors from this construction. Its support function evaluates an unnormalized posterior . This explains exactly when the older fractional-cover reduction survives a change of protocol. If and publication also identifies , the priced gain from this refinement is
Indeed, an optimizer for the sum attains equality only if it optimizes every summand. In the fixed-context game the single-guess functional is . The point attaining the largest coordinate on attains the maximum on every nested level indicator of . This is the structural reason the cover in Theorem 1 is exact. In a three-cell corner with posterior and , stopping after the first answer and paying on its ambiguous branch both give . Refining the column into a uniform triple of mass and the pivot of mass raises the value to . The old representation loses exactly 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 range over -point supports, allowing a posterior to assign zero to some members. Define the local matrix with rows from (10). Then
The middle game equality is finite matrix duality. The lower bound for 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 . Isomorphic restrictions have identical local games, and averaging 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 . Cramer’s rule gives rational functions of ; primal and dual signs specify their validity intervals. Taking the lower envelope in (13) and comparing interval endpoints with the solutions of 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 in the calculation above is a posterior and denotes the scalar price.
| Private roles | Generated | Generated interior transition |
| 3 | ||
| 4 |
The reciprocal in the first row has a specific origin. In a corner let be first-answer success when the pivot is heaviest and both arms have equal weight. The competing trees have values and . Equalizing them gives until reaches . Minimizing the generated branch plus gives , with the change at coming from the derivative at . 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 on is the part recoverable from all budget experiments:
To see this, apply the supporting-line representation of the lower convex envelope. Each tree has cost between zero and one, so is nonincreasing and 1-Lipschitz, as is its lower convex envelope. Supporting slopes in 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 is a full rectangle, , with uniform prior and the two coordinate queries. Write for its value. For , set
Theorem 7. Each feasible channel has a single such that for every budget. For every such there is a channel attaining the entire curve . In particular,
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 for success after that first question and for the probability of an ambiguous answer gives and . Indeed, for a pair of masses and singleton , one has and . Supports of size at most two can be separated with one question. Let and . The other coordinate resolves every remaining ambiguity. Requesting it on a fraction of ambiguous branches recovers that fraction of all remaining errors. If success is one. Otherwise gives . The first question used to define is independent of .
Matching channel. Choose three corners of a subrectangle. Its pivot is the cell sharing a row with one arm and a column with the other. Give the event posterior probabilities
and mix all oriented corners with equal receipt probabilities. Each cell occurs 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 , total error , and gain per paid ambiguous branch. No selective policy can earn a higher marginal gain on any such branch. At the receipt determines the event and the same formula holds by continuity. This proves equality simultaneously for all . On , has derivative . On 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 , attained by the uniform three-corner channel. It strictly exceeds for . 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 , the flat optimum is . The posterior attains . With this release the first question succeeds with probability and the second request earns 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 is . The best worst-budget regret is exactly
For each the converse supplies the same at every budget. For a corner channel its maximum regret is . To see this, on the difference is nonincreasing, on it is convex and takes its maximum at an endpoint, and on it is nonincreasing. The first term grows with and the second decreases. Equalizing them gives . The encoder uses private-role probabilities . The budgets and 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 whose three cells are present, let be its pivot-and-arms posterior, and let 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 and . Then
Any convex representation supplies a recorder by Bayes inversion. Equivalently, membership holds exactly when for every vector 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 has the same two possible branch types and the same marginal gain at every ambiguous answer, hence attains . Conversely, take an attaining channel from (10). Equality in the scalar minimization forces the unique . As , having would strictly improve the reader’s uniform-thinning policy above . Thus , and at every positive-probability receipt. An injective first question would give . 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 . 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 . Its error per unit of ambiguous mass is . An interior fraction 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 . The barycenter condition forces . 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 and and arms and respectively. With and public mixture weights , Bayes inversion attains at on the resulting nonuniform population. Now assign probability to each pivot and to each of the other four cells. Take to be the indicator of the two pivots. Their total prior mass is . These cells differ in both coordinates, so within any one corner they can occur together only as its arms. Consequently . This is a strict certificate of failure even though each individual cell passes the single-cell upper bound . A feasible recalibration uses the same two public receipts with equal weights and . Their barycenter is exactly the stated prior. The decoder stays exact and transcript evaluation gives
The upper endpoint is attained by the recalibrated recorder. The exact optimum inside this interval is unresolved.
Sensitivity to a measured prior. If , each fixed behavioral policy has both its success and its expected cost changed by at most by contraction through the transcript channel. For , a fixed encoder therefore obeys
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 from the bottom right to the top left cell, holding the encoder fixed. At the reader’s success rises from to . 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 be the joint partition. With uniform prior on events and arbitrary private capacity , the exact full-budget endpoint is
Indeed the reader can request both attributes. For each , the mass-normalized contribution is at least one by normalization and at least by the support bound. To attain both bounds, first compute the joint fibre containing the input, then uniformly release a subset of size 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, | Releases | |||
| Stock catalogue | 65 | 38/39 | 38/39 | 38/39 |
| Standards-aware | 59 | 62/65 | 62/65 | 62/65 |
| Within joint fibres | 86 | 20/39 | 20/39 | 20/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 . 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 and paid-branch probabilities with . Its cost constraint is , where each is a first-answer fibre. Both methods agree on all reported test cases. The exact tests cover grids of sizes , and , 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 the sampler uses a rational setting on a chosen mesh. In the interior uncapped regime its excess success probability is .
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 of dimension . 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 . The recorder still has three private roles. The event to recover is the entire codeword. Write 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
For every such code its full minimax curve is
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 . In an intersecting code a reader can guarantee perfect identification at for every admissible encoder. With a disjoint pair, for each 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 have disjoint supports. Choose a public translate of the triple and assign its posterior 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 . Minimizing over proves the first line.
Now suppose . In any triple the two nonzero differences and meet in some coordinate. There and agree and differs, so the reader can isolate any designated word of that triple. With a posterior , isolate the heaviest atom. The free question succeeds with probability . The ambiguous branch has mass . Receipts with fewer than three candidates are already resolved by a coordinate. Aggregate free success and ambiguous mass therefore satisfy , . Paying on a common fraction of ambiguous branches gives success at least
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 and each paid ambiguity earns exactly per query. This proves the second line, with a single encoder valid at all budgets.
Corollary 2 (sharp number of withdrawals). In an intersecting code, is the least number of coordinate questions that can be withdrawn to move the menu to the other curve while preserving all distinct event identities. Deleting fewer coordinates leaves a common position in every pair of nonzero words. For sufficiency take a minimizing pair and delete exactly their overlap. The projection still has full rank. Otherwise some nonzero would have support contained in the deleted overlap and hence contained in . Proper containment makes and disjoint, impossible in an intersecting code. Equality forces and , again impossible since . The projected pair is disjoint and nonzero. Theorem 9 applies. For a full-row-rank generator with columns , the operational threshold can be computed without searching all submenus:
For the binary simplex menu containing each nonzero once, the simultaneous equations have solutions, all nonzero. The required number of withdrawals thus grows as , 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 the results are
| Retained questions | Full-rank menus | Optimal success | Event count | |
| 3 | 28 | 0 | 24/25 | 8 |
| 4 | 35 | 0 | 24/25 | 8 |
| 5 | 21 | 0 | 24/25 | 8 |
| 6 | 7 | 1 | 74/75 | 8 |
| 7 | 1 | 2 | 74/75 | 8 |
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 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 splitter condition of [21]. It gives a different operational criterion.
Theorem 10 (the full four-role curve). For every uniform binary linear event code of dimension at least two and every expected follow-up budget ,
A single recorder in each case attains its entire curve. At , for an arbitrary full-support prior on a finite set of distinct binary words with at least four elements, equality with 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 and a second bit identifies the event. Paying independently with probability gives . 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 and let be the maximum correct-guess probability minus the expected query charge at posterior . The finite decision-tree duality of (10) applies to this menu and four roles. In particular for any fixed channel
We claim that every admissible posterior satisfies
One free question can separate the two heaviest words. Their total mass is at least , strictly larger unless the posterior is uniform on four words. On a balanced quartet, spending on both branches gives . 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 . A globally least atom of mass can be left in the other branch, and . On that triple choose a second bit separating its two heaviest atoms. Paying only on the triple gives success and cost . Its priced value, minus , is
This also covers smaller supports by padding with zero masses. On a uniform unbalanced quartet the best free success is . Paying after its ambiguous answer increases success by for a cost of . A constant first bit, or payment on a singleton, yields no higher value. This gives equality in (19) at every price. Minimizing yields ; uniform translates of the quartet realize the uniform prior and preserve the branch law.
For the minimizing price is uniquely . Equality in the channel bound requires equality at this price for every receipt of positive probability. A nonuniform posterior has free success greater than by the two-heaviest argument, and a balanced quartet has priced success at least . Only the stated uniform unbalanced posteriors remain. Their barycenter is necessarily ; 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 and take a common support position of and . There exactly one of and also have value one. □
What the criterion decides. The menus and 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 witness the unbalanced case, counting the bit for column 4 as least significant. At a target correct-guess probability of the maximum admissible budgets are respectively and . 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 , the unbalanced quartets are exactly the eight translates of the Hamming ball . 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 and . For one representative of each antipodal pair , where , define
For every interior the exact optimal curve equals if and only if
Indeed, if is the law of the published ball centre then . In the Boolean character basis [22] the multiplier is . Degree-two coefficients therefore vanish. Fourier inversion fixes the odd part of to and leaves the degree-two coefficients free. The even part can take four arbitrary pair values 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 . This proves necessity and sufficiency. An explicit compiler takes and . It emits centre on input with probability and retains the two-bit rank of . A marginal bias alone can break calibration: for the exact admissibility range is , 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 , the symbolic experiment determines the value of each uniform quartet from its tree profiles. Exactly eight quartets attain . The program forms their normalized event-incidence columns, labels each by its coordinatewise majority and diagonalizes the resulting matrix. Its eigenvalues are with multiplicities . 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 , , and . 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 , for every :
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 and for one receipt posterior. We claim the price interpolation
On any balanced quartet, 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 . Its lightest atom has mass , by taking the smaller parity class. For the paid-on-triple policy in Theorem 10 has success at least and its priced value at is nonnegative. Affine interpolation yields , as required. For the free success suffices. Taking expectations gives the claimed interpolation with since and . Minimizing over price now gives (21): the only possible breakpoints of the priced bound are and , together with the endpoints.
For attainability under , use uniform ball posteriors of total weight with all eight centres equally represented. Assign the remaining weight to the uniform posterior on the four words of the more frequent parity. Their barycenter is , so Bayes inversion implements these exact posterior weights. On the published parity plane any informative coordinate leaves two equiprobable pairs. Its priced value is . The average priced value of the recorder is therefore exactly the interpolation above. Operationally, the reader spends first on plane receipts at gain per query, then on ambiguous ball answers at gain , until the quota 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 . Equation (22) gives , exceeding the 7/10 ceiling even for the best possible recorder. Solving gives 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 suite | Recorder | Target 7/10 | ||
| 40 each | ball | 19/30 | 7/10 | feasible |
| 50 or 30 by DHE bit | calibrated ball | 19/30 | 7/10 | feasible |
| 60 or 20 by DHE/GCM parity | ball and plane | 7/10 | 47/60 | 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]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]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]J. Liao, O. Kosut, L. Sankar and F. P. Calmon. Privacy Under Hard Distortion Constraints. arXiv:1806.00063.arxiv.org/abs/1806.00063
- [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]K. Shanmugam, A. G. Dimakis and M. Langberg. Local Graph Coloring and Index Coding. arXiv:1301.5359.
- [6]Y. Kaspi and N. Merhav. Zero-Delay and Causal Secure Source Coding. arXiv:1311.4723.arxiv.org/abs/1311.4723
- [7]F. Alpay and T. Alpay. AgentSecBench: Measuring Prompt Injection, Privacy Leakage, and Tool-Use Integrity in LLM Agents. arXiv:2605.26269.
- [8]F. Alpay and L. Sarioglu. Observer-Quotient Security: Composable Leakage Bounds for Hidden State Continuations. arXiv:2607.03610.
- [9]OpenSSL Project. openssl-ciphers, OpenSSL 3.5 documentation. Command and selector reference.
- [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]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]N. Alon and C. Defant. Isoperimetry, stability, and irredundance in direct products. Discrete Mathematics, 2020. arXiv:1904.02595.
- [13]M. Sion. On general minimax theorems. Pacific Journal of Mathematics 8, 171–176, 1958. Publisher’s text.DOI
- [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]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]Python Software Foundation. secrets module. Python standard library. Documentation.
- [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]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]G. Cohen and A. Lempel. Linear intersecting codes. Discrete Mathematics, 1985. doi:10.1016/0012-365X(85)90190-6.DOI
- [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]M. Naor, L. J. Schulman and A. Srinivasan. Splitters and Near-Optimal Derandomization. FOCS 1995, 182–191. Authors’ text.
- [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]F5 NGINX. Configuring Logging. Sampling TLS parameters. Operational documentation.
- [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]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