Alphabeta Math
Pipeline-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.

Distribution shift and domain adaptation

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Source and target joint laws, risks, and covariate shift

Definition

Let (X,ΣX), (Y,ΣY), and (A,ΣA) be nonempty measurable spaces. A source/target pair of joint laws consists of probability measures PS and PT on (X×Y,ΣX⊗ΣY). For D∈{S,T}, its input marginal is the probability measure μD on (X,ΣX) defined by μD(A)=PD(A×Y). If h:X→A is measurable and ℓ:A×Y→[0,+∞] is product-measurable, then (x,y)↦(h(x),y) is measurable: the preimage of a measurable rectangle U×V is h−1(U)×V, and such rectangles generate the product sigma-algebra. Taking preimages once more shows that (x,y)↦ℓ(h(x),y) is measurable. The domain risk is the extended nonnegative integral RD(h):=∫X×Yℓ(h(x),y) PD(d(x,y)).

A conditional label kernel for PD is a specified probability kernel KD from (X,ΣX) to (Y,ΣY) such that, for every nonnegative product-measurable g:X×Y→[0,+∞], ∫g(x,y) PD(d(x,y))=∫X(∫Yg(x,y) KD(x,dy))μD(dx). The pair is under covariate shift when conditional label kernels KS,KT are supplied, there is a measurable set N with μT(N)=0 such that KS(x,⋅)=KT(x,⋅) as probability measures for every x∉N, and μT≪μS. No existence of conditional kernels is asserted by this definition.

Definition references

Supervised prediction problems: gives the measurable spaces, joint probability law, predictor class, and measurable loss convention.

Population and empirical risk: defines domain risk as an extended nonnegative integral.

A measurable function between measurable spaces: a map is measurable when preimages of measurable sets are measurable.

The product sigma-algebra and its finite iterates: the product sigma-algebra is generated by measurable rectangles.

Measure kernel and probability kernel: a probability kernel assigns a probability measure to each input and has measurable event evaluations.

Absolute continuity of a signed or complex measure with respect to a positive measure: μT≪μS means every μS-null measurable set is μT-null.

Measurability of integration against a kernel: for a probability kernel and a nonnegative product-measurable function, the section integral is measurable.

Shalev-Shwartz and Ben-David, §3.2.1–3.2.2, PDF pp. 45–48: joint domain/label laws, marginal input law, classification risk, general loss, and expected risk.

Ben-David et al., §§3–4, printed pp. 154–158: source and target input distributions and labeling functions, their risks, and the joint-labeling error convention.

Mansour, Mohri, and Rostamizadeh, §§2–3, arXiv version 3, pp. 2–4: domain risks and distribution-dependent losses for arbitrary measurable function classes.

Sugiyama, §2, book pp. 928–930: training and test input laws, a shared conditional label law, and target generalization risk.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

H-delta-H divergence

Definition

Let (X,ΣX) be a measurable space, equip {0,1} with its discrete sigma-algebra, let μS and μT be probability measures on X, and let H be a nonempty class of measurable classifiers h:X→{0,1}. For h,h′∈H, define their measurable disagreement set by Ah,h′:=(h−1({0})∩h′−1({1}))∪(h−1({1})∩h′−1({0})). The HΔH divergence of the two input laws is dHΔH(μS,μT):=2sup⁡h,h′∈H∣μS(Ah,h′)−μT(Ah,h′)∣∈[0,2].

Definition references

Source and target joint laws, risks, and covariate shift: supplies the source and target input marginals μS and μT.

A measurable function between measurable spaces: measurability means measurable preimages, so the displayed finite union of intersections is measurable.

Ben-David et al., Definition 3, Lemma 3, printed pp. 156–157: the symmetric-difference hypothesis class and the disagreement-probability bound.

Mansour, Mohri, and Rostamizadeh, Definition 3 and §3, arXiv version 3, pp. 3–4: the dA distance with A=HΔH for binary classification.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Loss discrepancy between domains

Definition

Let (X,ΣX) and (Y,ΣY) be measurable spaces, let P and Q be probability measures on X (in particular, source and target input marginals), and let H be a nonempty class of measurable functions h:X→Y. Let L:Y×Y→[0,+∞] be product-measurable. For h,h′∈H, the map x↦(h′(x),h(x)) is measurable because the preimage of each measurable rectangle A×B is h′−1(A)∩h−1(B) and such rectangles generate the product sigma-algebra; composing with L shows that x↦L(h′(x),h(x)) is measurable. Assume that, for every h,h′∈H, the two integrals below are finite, and define LP(h′,h):=∫XL(h′(x),h(x)) P(dx),LQ(h′,h):=∫XL(h′(x),h(x)) Q(dx). The L-discrepancy between P and Q over H is the extended nonnegative number disc⁡L(P,Q):=sup⁡h,h′∈H∣LP(h′,h)−LQ(h′,h)∣∈[0,+∞]. The supremum need not be attained.

Definition references

Source and target joint laws, risks, and covariate shift: supplies the source and target input marginals and their common measurable input space.

A measurable function between measurable spaces: a map is measurable when preimages of measurable sets are measurable.

The product sigma-algebra and its finite iterates: the product sigma-algebra is generated by measurable rectangles.

Mansour, Mohri, and Rostamizadeh, Definition 4 and Theorem 8, arXiv version 3, pp. 4–6: the discrepancy distance for a general loss and its domain-adaptation bound.

Sugiyama, §2 and §3.1, book pp. 928–931: generalization risk under distinct input laws and loss reweighting under a shared conditional label law.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Covariate shift gives a joint-law density

Statement

Assume AC. Let PS,PT be source and target joint laws with input marginals μS,μT and specified conditional label kernels KS,KT as in the definition of source/target distributions. Suppose μT≪μS and there is a μT-null set outside of which KS(x,⋅)=KT(x,⋅). Let w be any nonnegative measurable representative of dμT/dμS. Then for every product-measurable set E⊆X×Y, PT(E)=∫Ew(x) PS(d(x,y)). Consequently PT≪PS and w∘πX is a representative of the likelihood-ratio density of PT with respect to PS.

Statement references

Sugiyama, §3.1, book pp. 930–931: the density-based covariate-shift identity that this lemma establishes for general measurable spaces using supplied conditional kernels.

Facts & Assumptions

Given: AC; source and target joint probability laws on the common product measurable space; their input marginals and conditional label kernels; μT≪μS; and a nonnegative representative w of dμT/dμS.

[A1]

The Axiom of Choice: AC is assumed for the Radon-Nikodym density selection used below.

[F1]

Source and target joint laws, risks, and covariate shift: for every nonnegative product-measurable g, ∫g dPD=∫X∫Yg(x,y)KD(x,dy) μD(dx).

[F2]

Likelihood densities and Likelihood ratio as a Radon–Nikodym derivative: for the two-law experiment with parameter set {S,T} dominated by μS, AC supplies a finite-valued nonnegative representative w0 of the Radon–Nikodym density class of μT with respect to μS; every other representative w of that class agrees with w0 μS-almost everywhere. Since these are probability measures, the constant sequence Xn=X is a common finite-measure exhaustion.

[F3]

Likelihood-ratio change of measure: if μT≪μS, then ∫q dμT=∫qw dμS for every nonnegative measurable q.

[F4]

The measure with density f relative to μ: a nonnegative measurable density r relative to a measure P defines the measure r dP by E↦∫Er dP.

[F5]

A measurable function between measurable spaces: a map is measurable when preimages of measurable sets are measurable.

[F6]

Closure properties of measurable functions used by the integral: if f≥0 is measurable and E is measurable, then f1E is measurable.

[F7]

Pi-systems and The product sigma-algebra and its finite iterates: measurable rectangles form a π-system generating ΣX⊗ΣY.

[F8]

Finite measures agreeing on a generating pi-system and on the whole space are equal: finite measures with equal total mass that agree on a generating π-system agree on the generated sigma-algebra.

[F9]

Source and target joint laws, risks, and covariate shift: under covariate shift, the specified kernels agree as probability measures outside a μT-null set.

[F10]

Measure kernel and probability kernel: for each measurable B⊆Y, x↦KD(x,B) is measurable.

[F11]

Measure kernel and probability kernel: a probability kernel satisfies KD(x,Y)=1 for every x.

[F12]

A nonnegative integral over a null set vanishes: the integral of a nonnegative measurable function over a measurable null set is zero.

[F13]

Monotonicity and nonnegative homogeneity of the nonnegative integral: multiplication by a finite nonnegative scalar is homogeneous for the nonnegative integral; the zero scalar case gives integral zero.

[F14]

Source and target joint laws, risks, and covariate shift: the input marginal satisfies μD(A)=PD(A×Y) for every A∈ΣX.

Proof

1.1A1F1F2F3F4F5F7F11F13given

Let πX(x,y)=x. For each A∈ΣX, πX−1(A)=A×Y∈ΣX⊗ΣY, so πX is measurable by [F5] and [F7]. For every Borel C⊆[0,+∞], (w0∘πX)−1(C)=πX−1(w0−1(C)) is product-measurable. Define ν0:=(w0∘πX) dPS; [F4] makes ν0 a measure. Since KS(x,Y)=1 by [F11], [F1] and [F13] give ν0(X×Y)=∫w0 dμS. Applying [F3] to q=1 yields ∫w0 dμS=∫1 dμT=1. Thus ν0 and PT are finite measures of equal total mass.

1.2F1F3F5F6F7F9F10F13step 1.1given

For A∈ΣX and B∈ΣY, the function g(x,y)=1A×B(x,y)w0(x) is nonnegative and product-measurable by [F5]–[F7]. By [F10], x↦KS(x,B) is measurable, and by [F6] the function q(x)=1A(x)KS(x,B) is measurable. Since w0(x) is finite, [F13] pulls this scalar through the section integral in [F1]. Applying [F3] to q gives ν0(A×B)=∫Aw0(x)KS(x,B) μS(dx)=∫AKS(x,B) μT(dx)=∫AKT(x,B) μT(dx)=PT(A×B). The middle equality uses the μT-almost-everywhere equality of the specified kernels, and the last equality uses their target disintegration [F1].

2.1F2F4F7F8step 1.1step 1.2

The measurable rectangles form the generating π-system in [F7], so [F8] and steps 1.1–1.2 give ν0=PT on the entire product sigma-algebra. Since [F2] identifies w0 as a representative of dμT/dμS, the setwise equality makes w0∘πX a Radon–Nikodym representative of PT with respect to PS.

3.1F2F4F5F7F12F14step 2.1given∎

Let w be the arbitrary representative in the Statement. The same preimage argument as in step 1.1, using [F5] and [F7], shows w∘πX is measurable. By [F2], there is a measurable N∈ΣX with μS(N)=0 outside of which w=w0. By [F14], PS(N×Y)=0. For each measurable E⊆X×Y, the two density integrands agree on E∖(N×Y), and both integrals over E∩(N×Y) vanish by [F12]. Hence ∫Ew(x) dPS=∫Ew0(x) dPS=PT(E). In particular, if PS(E)=0, [F12] gives PT(E)=0, so PT≪PS.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Importance weighting under covariate shift

Statement

Assume AC. Let PS,PT be source and target joint laws under covariate shift, with input marginals μS,μT and common conditional label kernel K. Let w be a nonnegative measurable representative of dμT/dμS. For any measurable predictor h and nonnegative product-measurable loss ℓ, if the weighted source loss is integrable, then RT(h)=∫X×Yℓ(h(x),y) PT(d(x,y))=∫X×Yw(x)ℓ(h(x),y) PS(d(x,y))<+∞.

Statement references

Sugiyama, §3.1, book pp. 930–931: the importance-weighting identity for a shared conditional label law.

Mansour, Mohri, and Rostamizadeh, §2, arXiv version 3, pp. 2–3: domain risks and arbitrary measurable loss notation.

Facts & Assumptions

Given: AC; source and target joint laws under covariate shift; a measurable predictor h; a nonnegative product-measurable loss ℓ; and ∫w(x)ℓ(h(x),y) PS(d(x,y))<+∞.

[A1]

The Axiom of Choice: AC is assumed for the Radon-Nikodym representatives used by the likelihood-density and change-of-measure suppliers.

[F1]

Source and target joint laws, risks, and covariate shift: under covariate shift, μT≪μS and the source and target conditional label kernels agree μT-almost everywhere.

[F2]

Likelihood densities: in the two-law experiment dominated by μS, AC supplies a nonnegative measurable representative w of dμT/dμS.

[F3]

Covariate shift gives a joint-law density: PT≪PS, with nonnegative likelihood-ratio representative r(x,y)=w(x) on the joint space.

[F4]

Population and empirical risks are measurable: in a supervised prediction problem, a measurable predictor in the predictor class induces a product-measurable loss function.

[F5]

Likelihood-ratio change of measure: under AC and absolute continuity, ∫g dPT=∫gr dPS for every nonnegative measurable g.

Proof

1.1F4given

Set gh(x,y):=ℓ(h(x),y). For each D∈{S,T}, the given measurable spaces, joint law PD, measurable predictor h, and product-measurable loss ℓ form a supervised prediction problem with predictor class {h}. Since h∈{h}, the hypotheses of [F4] hold and gh is product-measurable. It is nonnegative, so both integrals in the claim are defined as extended nonnegative integrals.

2.1A1F1F2F3F5givenalgebra∎

By [F1] and [F2], the covariate-shift hypotheses hold and w is an available input-marginal density. The joint-law lemma [F3] identifies the joint density as r(x,y)=w(x). Apply [F5] to gh to obtain ∫gh dPT=∫ghr dPS=∫w(x)ℓ(h(x),y) dPS. The assumed integrability makes this common value finite, proving the stated identity.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Target risk bound by source risk, H-delta-H divergence, and joint error

Statement

Let (X,ΣX) be a measurable space, equip {0,1} with its discrete sigma-algebra, and let PS,PT be joint probability laws on X×{0,1} with input marginals μS,μT. Let H be a nonempty class of measurable classifiers h:X→{0,1}. Define the source and target risks by ϵD(h):=PD{(x,y):h(x)≠y} for D∈{S,T} and define the joint-labeling error λ:=inf⁡g∈H(ϵS(g)+ϵT(g)). Then every h∈H satisfies ϵT(h)≤ϵS(h)+12dHΔH(μS,μT)+λ.

Statement references

Ben-David et al., Definitions 2–3, Lemma 3, and complete Theorem 2 proof, printed pp. 156–158: the ideal joint error, symmetric-difference divergence, and the source/target triangle argument.

Mansour, Mohri, and Rostamizadeh, §3 and §4.1, arXiv version 3, pp. 3–5: the disagreement distance and the separate finite-sample complexity bounds.

Facts & Assumptions

Given: Source and target joint probability laws on X×{0,1}, their input marginals, a nonempty class of measurable binary classifiers, and the definitions of ϵD and λ in the Statement.

[F1]

Source and target joint laws, risks, and covariate shift: PS,PT are probability laws on the common input-label product, and μS,μT are their input marginals.

[F2]

H-delta-H divergence: for every h,g∈H, ∣μS(Ah,g)−μT(Ah,g)∣≤12dHΔH(μS,μT).

[F3]

Supervised prediction problems: each classifier is measurable, so its binary disagreement and error events are measurable in the product sigma-algebra.

[F4]

Additivity of the nonnegative Lebesgue integral: the nonnegative integral is additive for sums of nonnegative measurable functions.

[F6]

The nonnegative integral agrees with the simple integral on simple functions: the integral of each indicator function equals the measure of its set, since an indicator is a nonnegative simple function.

Proof

1.1F1F2F3F4F5F6given

Fix h,g∈H. Their disagreement set is measurable since Ah,g=(h−1({0})∩g−1({1}))∪(h−1({1})∩g−1({0})). The error event for h is measurable since it is (h−1({0})×{1})∪(h−1({1})×{0}), and likewise for g. Pointwise, if h(x)≠y then either g(x)≠y or h(x)≠g(x); hence 1{h(x)≠y}≤1{g(x)≠y}+1Ah,g(x). Monotonicity and additivity of the nonnegative integral, the indicator-integral identity [F6], and the marginal identity in [F1] give ϵT(h)≤ϵT(g)+μT(Ah,g).

2.1F1F2F3F4F5F6step 1.1algebra

If h(x)≠g(x), then at least one of h(x) and g(x) differs from y, so 1Ah,g(x)≤1{h(x)≠y}+1{g(x)≠y}. Integrating this inequality under PS using [F4]–[F6] and the marginal identity in [F1] gives μS(Ah,g)≤ϵS(h)+ϵS(g). By [F2], μT(Ah,g)≤μS(Ah,g)+12dHΔH(μS,μT), so step 1.1 yields ϵT(h)≤ϵS(h)+ϵS(g)+ϵT(g)+12dHΔH(μS,μT).

3.1step 2.1givenchoose

Let η>0. Since H is nonempty and λ is the infimum of its finite joint-error values, there exists gη∈H with ϵS(gη)+ϵT(gη)<λ+η. Substituting this choice into step 2.1 gives ϵT(h)≤ϵS(h)+λ+η+12dHΔH(μS,μT).

4.1step 3.1algebra∎

The inequality in step 3.1 holds for every η>0; letting η decrease to zero gives the stated bound. The proof requires no attained joint-risk minimizer.

Remarks

This is a population inequality. It does not bound empirical source risk or an empirical estimate of the divergence; finite-sample substitution requires a separate bounded-loss and complexity theorem. Even when the input divergence is small, a large joint-labeling error λ can leave the target-risk bound large.

Remarks references

Ben-David et al., Theorem 2 and its complete proof, printed pp. 157–158: the finite-sample target bound adds VC-complexity terms to the population inequality.

Mansour, Mohri, and Rostamizadeh, §3 and Theorem 9, arXiv version 3, pp. 4–7: empirical discrepancy bounds require Rademacher-complexity controls and bounded-loss assumptions.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Loss-discrepancy domain-adaptation bound

Statement

Let P,Q be the source and target input marginals on a common measurable space X. Let Y be a measurable output space, H a nonempty class of measurable functions h:X→Y, and fP,fQ:X→Y measurable labeling functions. Let L:Y×Y→[0,+∞] be product-measurable, symmetric, and satisfy the triangle inequality. Define LD(g1,g2):=∫XL(g1(x),g2(x)) D(dx)(D∈{P,Q}),disc⁡L(P,Q):=sup⁡g1,g2∈H∣LP(g1,g2)−LQ(g1,g2)∣. Assume that every pairwise integral in this discrepancy definition is finite and that source and target minimizers hP∗∈arg⁡min⁡g∈HLP(g,fP) and hQ∗∈arg⁡min⁡g∈HLQ(g,fQ) exist. Then every h∈H satisfies LP(h,fP)≤LP(hP∗,fP)+LQ(h,hQ∗)+disc⁡L(P,Q)+min⁡{LQ(hQ∗,hP∗),LP(hQ∗,hP∗)}. The supremum defining disc⁡L may be infinite, in which case the inequality is interpreted in the extended nonnegative reals.

Statement references

Mansour, Mohri, and Rostamizadeh, Definition 4 and Theorem 8, arXiv version 3, §§3–4.1, pp. 3–6: the discrepancy definition and the bound with the minimum of both cross-domain terms (Theorem 8, Eq. (11)); its proof gives both triangle-inequality routes.

Facts & Assumptions

Given: Probability input marginals P,Q; a nonempty measurable hypothesis class H; measurable labeling functions fP,fQ; a measurable symmetric loss satisfying the triangle inequality; finite pairwise risks for the discrepancy; and attained source and target minima. Labeling risks may be extended nonnegative values.

[F1]

Source and target joint laws, risks, and covariate shift: the input marginals P,Q are probability measures on the common measurable input space.

[F2]

Loss discrepancy between domains: every pair g1,g2∈H has finite LP(g1,g2),LQ(g1,g2), and ∣LP(g1,g2)−LQ(g1,g2)∣≤disc⁡L(P,Q).

[F3]

A measurable function between measurable spaces: a map is measurable when preimages of measurable sets are measurable.

[F4]

The product sigma-algebra and its finite iterates: the product sigma-algebra on Y×Y is generated by measurable rectangles.

[F5]

Additivity of the nonnegative Lebesgue integral: the nonnegative integral is additive for sums of nonnegative measurable functions.

Proof

1.1F2F3F4given

For measurable g1,g2:X→Y, let G(x)=(g1(x),g2(x)). For each measurable rectangle A×B, G−1(A×B)=g1−1(A)∩g2−1(B)∈ΣX, so G is measurable into ΣY⊗ΣY by [F3] and [F4]. For each Borel C⊆[0,+∞], (L∘G)−1(C)=G−1(L−1(C))∈ΣX; hence all displayed loss integrands are measurable. Pairwise integrals with both arguments in H are finite by [F2], while integrals involving fP or fQ are defined extended nonnegative values.

1.2F1F2F5F6givenalgebra

Fix h∈H. Applying the triangle inequality twice pointwise and then using monotonicity and additivity of the nonnegative integral [F5, F6] under P gives LP(h,fP)≤LP(h,hQ∗)+LP(hQ∗,hP∗)+LP(hP∗,fP).

1.3F1F2F5F6givenalgebra

A second triangle inequality, integrated under P using monotonicity and additivity of the nonnegative integral [F5, F6], gives LP(h,fP)≤LP(h,hP∗)+LP(hP∗,fP). Apply [F2] to the first term, then integrate the triangle inequality under Q using [F5, F6] to obtain LQ(h,hP∗)≤LQ(h,hQ∗)+LQ(hQ∗,hP∗). Hence LP(h,fP)≤LP(hP∗,fP)+LQ(h,hQ∗)+disc⁡L(P,Q)+LQ(hQ∗,hP∗).

2.1F2F5F6step 1.2algebra

By [F2], LP(h,hQ∗)≤LQ(h,hQ∗)+disc⁡L(P,Q). Substitution in step 1.2 yields LP(h,fP)≤LP(hP∗,fP)+LQ(h,hQ∗)+disc⁡L(P,Q)+LP(hQ∗,hP∗).

3.1step 2.1step 1.3algebra∎

The bounds in steps 2.1 and 1.3 have the same terms except for the final cross-domain term. Taking the smaller of those terms proves the stated minimum bound.

Remarks

The discrepancy in this theorem is a population quantity. Estimating it from finite samples, or replacing the input laws by empirical laws, requires additional bounded-loss and complexity assumptions and is a separate result.

Remarks references

Mansour, Mohri, and Rostamizadeh, §§3–4.1, arXiv version 3, pp. 3–7: finite-sample discrepancy estimation and the empirical target-risk bound are stated separately with Rademacher and bounded-loss hypotheses.

4 · Examples, counterexamples and false statements

None yet.

Sources