Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-adaptedPipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

A finite-support sample-compressed classifier

Example

Let X={0,1} with its full sigma-algebra, let D be uniform on X, and let H={c} for the target c(x)=x. Define G0 to be the constant-zero map. For each positive sample length n, the compressor selects the index of the first occurrence of each distinct input in the labeled sample; for length zero it selects the empty index set. For each selected ordered sequence of length 1≤k≤2, the fixed reconstruction map returns the selected label at the first selected entry whose input equals its argument, if such an entry exists, and returns 0 otherwise; the empty sequence is reconstructed by G0. This is a deterministic consistent compression scheme of size at most d=2. Draw m≥3 independent observations with law D and define RD(h)=D{x:h(x)≠c(x)}. The reconstructed classifier has risk 1/2 exactly when all m observations are 0, and otherwise has risk 0. Consequently, at threshold ϵ=1/4 its failure probability is 2−m, bounded by the compression theorem's value ∑i=02(mi)(3/4)m−i.

Example references

Deterministic sample-compression schemes: defines deterministic index selection, reconstruction from selected labeled entries alone, and consistency.

The sample-compression generalization bound: bounds the bad consistent reconstruction probability by the finite sum over index subsets.

Population and empirical risk: population risk is disagreement probability and empirical risk is the sample average for zero-one loss.

Floyd and Warmuth, Sample Compression, Learnability, and the Vapnik–Chervonenkis Dimension, §3 and Theorem 5: gives the sample-compression setup and its generalization bound.

Facts & Assumptions

Given: The two-point measurable instance space, uniform distribution, identity target, the first-occurrence compressor, and the reconstruction rule in the Example.

[F1]

A size-at-most-two compression scheme measurably selects at most two indices and reconstructs using only the selected labeled entries in sample order through fixed measurable maps. It is consistent if the reconstruction reproduces every label of every target-labeled sample. Deterministic sample-compression schemes

[F2]

For the fixed target, population risk is disagreement probability and empirical risk is the average sample disagreement; both are well-defined for measurable predictors. Population and empirical risk, Population and empirical risks are measurable

[F3]

For a size-at-most-d consistent scheme with m>d, the probability of any consistent reconstructed hypothesis of risk greater than ϵ is at most ∑i=0d(mi)(1−ϵ)m−i. The sample-compression generalization bound

Verification

Given: The two-point measurable instance space, uniform distribution, identity target, first-occurrence compressor, and reconstruction rule in the Example.

1.1givenF1construct

For the empty sample, the selected index set is empty and consistency is vacuous. For a positive-length sequence, the set of first-occurrence indices has at most two members, and the reconstruction maps are fixed functions of the selected entries. On a sample labeled by c, if an input x occurs in the full sample, its first occurrence is selected and its selected label is c(x)=x; if it does not occur, no sample-consistency condition applies at x. Thus the reconstructed function agrees with every observed label, so the scheme is consistent in the sense of [F1]. All spaces are finite with their full sigma-algebras, so the compressor, reconstructor, risk, and output-risk event are measurable.

2.1F2givenstep 1.1algebra

If at least one observation equals 1, then the reconstruction returns 1 at input 1 and returns 0 at input 0, either from a selected entry or by the default rule, so its risk is 0. If every observation is 0, it returns 0 at both inputs and errs only at 1, so [F2] gives risk D({1})=1/2. Independence and D({0})=1/2 make the latter event have probability (1/2)m=2−m.

3.1F3step 2.1algebra∎

For m≥3, the size parameter satisfies m>d=2. At ϵ=1/4, step 2.1 shows that the event RD>ϵ is exactly the all-zero sample event, hence has probability 2−m. Its value is at most (3/4)m, which is the i=0 term in the sum in [F3]; all other terms are nonnegative. Thus the exact example probability is bounded by ∑i=02(mi)(3/4)m−i as stated.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

22 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources