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.
Private ERM and private online learning
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Differential privacy mechanisms and composition
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Empirical-Process Complexity
- Estimators and Randomized Procedures
- Finite Counting, Factorials and Binomial Coefficients
- Finite-class PAC learning and ERM guarantees
- Finite-Dimensional Complex Inner-Product Spaces and Matrix Interfaces
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Loss, Risk and Decision Theory
- Martingale Inequalities and Convergence
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Prediction problems, risks, and empirical minimization
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Pure and Mixed States, Ensembles, and Schmidt Decomposition
- Quantum Optimization, Semidefinite Programs, and Variational Algorithms
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Splitting Fields
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Laws and Series of Independent Random Variables
2 · Logical flowchart
3 · Definitions, theorems and proofs
Randomized weighted majority with full information
Definition
Let be positive integers, let , and let . The input also supplies a full-information loss process: before the round- action draw, its vector is fixed using only the previous transcript and any external randomness, and the vector is revealed after the draw. Put , with , and give its power-set sigma-algebra; these histories have finite length but need not be finite sets. Initialize for each . At round , given , compute Draw with probability , observe the entire vector , and update . Equivalently, the conditional action kernel is for each . The action draw uses fresh randomness independent of the loss process, so its conditional law given the past and the already fixed current loss vector is . Return the action transcript .
Definition references
Probability measures on finite action spaces
Probability kernels for the conditional action laws
Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Algorithm 15, printed pp. 223–224, and Algorithm 16, printed pp. 224–225: full text.
Facts & Assumptions
Given: Positive integers , an update parameter , and full-information loss vectors in .
The real exponential is finite at every real input and is strictly positive there. The real exponential function and the number by a power series, The exponential is positive and satisfies
A measurable space is a set equipped with a sigma-algebra; a power-set sigma-algebra makes every subset measurable. Measurable spaces and measurable sets
A probability measure has total mass one. Probability measures and probability spaces
A probability kernel has probability-measure sections and measurable event evaluations. Measure kernel and probability kernel
Verification
Given: The hypotheses and procedure in the Definition.
By induction on , each is finite and strictly positive: this holds initially since , and each update multiplies such a weight by the finite positive number from [F1]. Since is finite and nonempty, is finite and strictly positive, so every is defined and nonnegative.
The finite sum of the action probabilities is . For each history , define for . This is countably additive because a pairwise disjoint family of subsets of the finite set has only finitely many nonempty members, and . For each event , the map is measurable since has its power-set sigma-algebra. Hence is a probability kernel by [F3] and [F4].
Source notes
This is the full-information finite-action procedure. Its regret and privacy claims are proved separately; this definition alone makes no regret or privacy assertion.
Finite-class empirical-risk selection with exponential weights
Definition
Let be a nonempty measurable space, let the binary label set carry its power-set sigma-algebra, and let be a finite nonempty class of measurable maps . Fix an integer and a parameter . On an ordered labeled sample with , or on its underlying finite multiset, define Output with probability . This formula is invariant under permutations of the sample. For the statistical input, the ordered sample space has its finite product sigma-algebra. For the private-database input, the same formula is defined on finite-support record-count functions of size at least , with the power-set sigma-algebra; privacy is proved separately.
Definition references
Finite product sigma-algebras for samples
Probability kernels for randomized selection
Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Definition 3.4 and Chapter 11 §11.1: full text.
Salil Vadhan, The Complexity of Differential Privacy, Proposition 4.2: full text.
Facts & Assumptions
Given: The measurable binary class, , , and a finite sample or multiset with at least records.
A measurable space is a set with a sigma-algebra; measurable rectangles generate the finite product sigma-algebra. Measurable spaces and measurable sets, Measurable rectangles in a product of measurable spaces, The product sigma-algebra and its finite iterates
The real exponential is finite and strictly positive on every real input. The real exponential function and the number by a power series, The exponential is positive and satisfies
The exponential is continuous, continuous real maps have Borel preimages, and composition with a Borel measurable outer map preserves measurability. The exponential function is strictly increasing, A continuous map has Borel preimages of Borel sets, Composition with a Borel measurable outer map preserves measurability
Finite sums, scalar multiples, and products of measurable real functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined
A real function is measurable exactly when its strict threshold sets are measurable. Threshold characterisations of real-valued and extended-real-valued measurability
A probability measure has total mass one; a probability kernel has probability-measure sections and measurable event evaluations. Probability measures and probability spaces, Measure kernel and probability kernel
Verification
Given: The hypotheses and procedure in the Definition.
For each , its mismatch set is , a finite union of measurable rectangles by [F1]. Thus each sample loss indicator and the finite average are measurable in the ordered sample. By [F2]–[F4], the weight is finite, positive, and measurable in .
Since is finite and nonempty, is finite, measurable, and strictly positive. For , is the whole sample space; for , it is , which is measurable by [F5]. Hence , and then each , is measurable by [F4]. These probabilities sum to one. Define for ; it is countably additive because a disjoint family of subsets of finite has only finitely many nonempty members, and . For each , is measurable as a finite sum of measurable functions; on the power-set private-database domain every event evaluation is also measurable. Thus [F6] gives the probability-kernel conditions.
Source notes
The scale is used as a sensitivity upper bound. The private theorem proves its add/remove validity on the restricted size-at-least- domain and derives privacy and utility directly; no exact attained-maximum convention is assumed here.
Private online learning regret under composition
Statement
Let be integers, let , let , and let each loss vector lie in . Before round define , , and . Draw with probability , then observe the full vector and update ; release the transcript . For the regret claims, assume a filtered probability model in which and are -measurable, each action is -measurable, and for every ; hence each prior action is -measurable and the loss vector may depend on the previous transcript but not on the current draw. Set Then for every such process. Assuming the Axiom of Choice, for every , The expected-regret proof uses no choice axiom. At , identically. For , substituting into the expected-regret bound gives .
For privacy, let carry the power-set sigma-algebra, regard a fixed sequence as the input, and make two sequences adjacent when one complete time-step vector is replaced by an arbitrary vector in . Give the full action transcript its power-set sigma-algebra. For every common prior action history, the round- action kernels satisfy the ordered event inequalities for -differential privacy. Assuming the Axiom of Choice, for every and , put and choose The full transcript is then -differentially private. With this choice the high-probability bound above is exactly with probability at least . If satisfies and , then and this bound specializes to The fixed-sequence privacy claim and the nonanticipating adaptive-loss regret claim have distinct input quantifiers. The same privacy conclusion applies on any set of interactive loss-generating strategies equipped with its power-set sigma-algebra and a symmetric adjacency relation, provided that, for each strategy, its action kernels are measurable in the prior transcript and, at every common transcript, they satisfy the ordered event inequalities for every ordered adjacent pair of strategies.
Statement references
Facts & Assumptions
Given: Positive integers , a parameter , the stated finite-action algorithm, a filtered probability model as in the Statement, and . Assume AC for the Azuma tail and transcript-composition claim; for the privacy choice also assume and .
The algorithm draws from the normalized current weights using fresh randomness independent of the loss process, reveals the full loss vector after the draw, and updates by . Randomized weighted majority with full information
For and , . Scalar exponential bound for bounded losses
The exponential addition law holds and the exponential function is strictly increasing. The exponential addition formula , The exponential function is strictly increasing
The natural logarithm is the inverse of the exponential on positive reals, has derivative and integral representation , and is increasing with the usual quotient laws. In particular, for every : for integrate on ; for integrate on and negate. The natural logarithm as the inverse of the exponential function, The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
A filtration is an increasing sequence of sigma-algebras. A conditional-expectation version is an integrable measurable function whose integral on every event in the conditioning sigma-algebra equals that of the original variable. Filtration and filtered probability space, Conditional expectation given a sigma algebra
A martingale-difference sequence is adapted and integrable, with each increment having conditional expectation zero given the preceding sigma-algebra. Its definition assumes AC for conditional-expectation existence. Martingale difference sequence
Under AC, if martingale differences lie in predictable intervals of lengths at most , then for their upper tail is at most . Azuma-Hoeffding inequality
The Axiom of Choice states that every family of nonempty sets has a choice function. The Axiom of Choice
Under AC, adaptive composition of mechanisms with arbitrary measurable output spaces is -DP when each common-history round is -DP, with , , and , where The theorem allows any symmetric adjacency relation on the input set. Advanced adaptive composition on arbitrary measurable output spaces
The real exponential is finite and strictly positive at every real input. The real exponential function and the number by a power series, The exponential is positive and satisfies
Proof
Given: The hypotheses in the Statement and [F1]–[F9], with [A1] for the AC-qualified claims.
First suppose . Write and . By [F2] with and , . Both sides are positive: the left side is positive by [F9], and it is at most the right side. Applying the increasing logarithm and then [F4] gives . Summing over and using yields .
Fix two adjacent loss sequences and a common prior action history. Before round , their cumulative losses differ coordinatewise by at most one, because only one full loss vector was replaced and each coordinate belongs to . By [F1], [F3], and [F9], the positive unnormalized weights for each action have ratio between and . Summing over actions gives the same two-sided bounds for their normalizers. Dividing the weight ratios by the normalizer ratios bounds each action-probability ratio by in either order; summing over any event proves the ordered round-kernel inequalities.
For every expert , . The finite set of cumulative losses has a minimizer. Taking logarithms and combining with step 1.1 gives . This is a pathwise inequality for every realized sequence, including one selected adaptively from earlier actions.
Set . Apply [F8] with , , and ; its remaining parameter condition holds since . The composed privacy parameter is . The first cap in bounds the first summand by . The second cap gives ; [F2] with and gives . The third cap therefore bounds the second summand by . Their sum is at most , and the composed failure probability is . This proves transcript -privacy under [A1].
Under the filtration in the Statement, and are measurable before the draw and the conditional law of is . All losses and their conditional averages are bounded by one. For every event and action , [F1] gives . Summing over the finite action set gives . Thus [F5] makes a conditional-expectation version and has conditional mean zero. Taking gives . Taking expectations in step 2.1 therefore proves the expected-regret inequality when . If , then , since each average loss lies in ; this proves the same expected bound for every .
Each is -measurable, and step 3.1 shows its conditional mean given is zero. Since , it lies in the finite predictable interval , so is integrable and this interval has length one. By [F6] under AC [A1], is a martingale-difference sequence; its partial sums are a martingale by the conditional-mean-zero property. Apply [F7] with the predictable endpoints , and to obtain for . The realized regret numerator equals ; step 2.1 bounds its second term. Taking gives the displayed tail bound for . If , then deterministically, so the asserted tail bound also holds. When , the only action is the comparator, hence .
For , substituting in the expected bound of step 3.1 gives . For the privacy choice, since is the minimum of three positive numbers, . Substitution in the high-probability bound of step 4.1 gives the stated exact capped expression. The first cap alone is attained by exactly when the other two hold: is equivalent to , and is equivalent to . In that region, substitution gives the stated specialization. Finally, for adjacent interactive strategies, their stated common-history ordered kernel inequalities are precisely the roundwise hypothesis of [F8]; applying it with the same parameters and the estimates in step 2.2 proves the same transcript guarantee.
Source notes
The privacy guarantee treats a fixed loss sequence as the input. The regret guarantee separately permits nonanticipating adaptation to the prior transcript; it does not permit the current loss vector to react to the current fresh action. No unrestricted big-O simplification in is asserted.
Private finite-class ERM excess-risk bound
Statement
Let be a nonempty measurable space, let be a finite nonempty class of measurable classifiers , let be an integer, and let . On the domain of finite labeled databases of size at least , use add/remove adjacency, with both neighboring databases required to remain in the domain. For a database of size , write where records are counted with multiplicity. The finite-class exponential selector that outputs with probability proportional to is pure -differentially private on this domain.
For the statistical guarantee, let be any probability law on , let be IID with law , and apply the same selector to their labeled sample. Define the population risk . For every , with probability at least over both the sample and the selector's random draw, its output satisfies If and , then suffices to make this excess risk at most with probability at least . If , the excess risk is identically zero.
Statement references
Dwork and Roth, The Algorithmic Foundations of Differential Privacy, Definition 3.4 and Chapter 11 §11.1: full text.
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapter 4 §4.2 and Corollary 4.6: full text.
Differential privacy, databases, and add/remove adjacency: finite-support databases, add/remove adjacency, and the ordered event inequality.
Finite-class empirical-risk selection with exponential weights: the measurable finite-class selector and its exponential weights.
Finite-class agnostic ERM bound: the choice-free two-sided finite-class deviation event used in the statistical argument.
Facts & Assumptions
Given: A nonempty measurable instance space, a finite nonempty measurable binary class , an integer , , add/remove neighboring finite labeled databases restricted to sizes at least , and an IID sample of size from an arbitrary law on . For the statistical bound also assume ; for the sample-size conclusion assume .
A database is a finite-support record-count function, add/remove neighbors differ by one record, and -DP means that for every ordered neighboring pair and every output event , . The neighboring relation is symmetric, so both orders are required. Differential privacy, databases, and add/remove adjacency
On a sample or multiset of size , the algorithm uses empirical zero-one risk and output probabilities proportional to ; the formula is invariant under sample permutations. Finite-class empirical-risk selection with exponential weights
For a finite nonempty measurable class and IID examples, population and empirical zero-one risks are expectations and sample averages of measurable -valued losses; with probability at least , simultaneously for every , This two-sided deviation conclusion is choice-free. Finite-class agnostic ERM bound
For events , the probability of their union is at most the sum of their probabilities. Basic identities for a probability measure
The exponential is strictly positive, strictly increasing, and satisfies ; the natural logarithm is its inverse on positive reals, is increasing, and obeys the product and reciprocal laws. The exponential is positive and satisfies , The exponential function is strictly increasing, The exponential addition formula , The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
Proof
Given: The hypotheses in the Statement and [F1]–[F5].
Let be neighboring databases in the restricted domain and orient them so is obtained from by adding one record . Since both databases are in the domain, . For , . As , this difference has absolute value at most ; reversing the pair gives the same bound.
For a fixed sample , let , which exists because the class is finite and nonempty. For any , the selector's probability that is at most : each event weight is bounded by the numerator term and the normalizer includes a minimizer's weight. With , this probability is at most .
Apply [F3] with . With probability at least , all satisfy , where .
Write and . By [F5] and step 1.1, for each . Summing gives the same two-sided bounds for . Each weight and normalizer is positive and finite because the class is finite nonempty and [F5] makes every exponential weight positive. The normalized finite weights therefore form a probability measure on the output class; because the restricted database domain has the power-set sigma-algebra, every event-evaluation function is measurable, so this is a probability kernel. Therefore . Summing over any event proves interchanging proves the reverse ordered inequality. By [F1] this is pure -DP.
For every fixed sample, step 1.2 bounds the conditional selector failure probability by , so averaging over the sample gives the same joint failure bound. Intersect that utility event with the deviation event from step 1.3; [F4] gives probability at least . On the intersection, , , and for every , . Taking the infimum over in the last inequality and combining yields , which is the displayed excess-risk bound.
Suppose and write . Then and . The sample-size condition gives and , so the bound in step 2.2 is at most . If , its only classifier is always selected and minimizes population risk over that class, so its excess is zero.
Source notes
The sensitivity scale is a valid upper bound on the restricted size-at-least- add/remove domain; no exact maximum-sensitivity claim is used. The agnostic ERM supplier body gives the deviation event and its proof is choice-free, but its current Step-1 readiness hash is stale. This consumer therefore remains escalated until the owner reconciles that supplier record.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Chapter 11 §11.2
- Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Chapter 3 §3.4 and Chapter 11 §11.1
- Salil Vadhan, The Complexity of Differential Privacy, 2017 manuscript, §4.2
- Salil Vadhan, The Complexity of Differential Privacy, 2017 manuscript, §2.2
- Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapter 4 §4.2