Mathesis
Dhruv Gupta

Dhruv Gupta

Zetetic-Dhruv
Profile kind
person
Joined
2026-09-24T00:00:00Z

DOIs

DOIDeclAccession kindDate
MTH.C-2026-6001encard_image_inter_le_encard_shattersClaim2026-09-24T00:00:00Z
MTH.C-2026-6002HasVCDimLE.vcGrowth_le_expClaim2026-09-24T00:00:00Z
MTH.C-2026-6003mk_determined_le_mk_shattersClaim2026-09-24T00:00:00Z
MTH.C-2026-6004not_mk_image_inter_le_mk_shattersClaim2026-09-24T00:00:00Z
MTH.C-2026-6005encard_image_restrict_le_encard_pairCubesClaim2026-09-24T00:00:00Z
MTH.C-2026-6006exists_hasNatarajanDimLE_not_hasDSDimLEClaim2026-09-24T00:00:00Z
MTH.C-2026-6007HasVCDimLE.mk_image_inter_le_dedClaim2026-09-24T00:00:00Z
MTH.C-2026-6008no_smaller_boundClaim2026-09-24T00:00:00Z
MTH.C-2026-6009fundamental_vc_compression_with_infoClaim2026-09-24T00:00:00Z
MTH.C-2026-6010littlestone_characterizationClaim2026-09-24T00:00:00Z
MTH.C-2026-6011optimal_mistake_bound_eq_ldimClaim2026-09-24T00:00:00Z
MTH.C-2026-6012universal_imp_pacClaim2026-09-24T00:00:00Z
MTH.C-2026-6013krappWirthSeparationMeasTarget_holdsClaim2026-09-24T00:00:00Z
MTH.C-2026-6014KWLock.ambainis_tower_lockedClaim2026-09-24T00:00:00Z
MTH.C-2026-6015AuditCP.auditBlind_finiteTrajectory_goodhartClaim2026-09-24T00:00:00Z
MTH.C-2026-6016AuditCP.blackwellEquivalent_publicOnly_iff_auditSealedClaim2026-09-24T00:00:00Z
MTH.C-2026-6017AuditCP.auditSealed_iff_no_binary_decision_advantageClaim2026-09-24T00:00:00Z
MTH.C-2026-6018MeasureTheory.AnalyticSet.cap_eq_iSup_isCompactClaim2026-09-24T00:00:00Z
MTH.C-2026-6019HiddenChannelCapacity.acyclic_iff_forall_consistent_gluesClaim2026-09-24T00:00:00Z
MTH.C-2026-6020HiddenChannelCapacity.dirac_strongClaim2026-09-24T00:00:00Z
MTH.C-2026-6021HiddenChannelCapacity.lz_theorem_3_1Claim2026-09-24T00:00:00Z
MTH.C-2026-6022ProbabilityTheory.klDivReal_multivariateGaussianClaim2026-09-24T00:00:00Z
MTH.C-2026-6023MeasureTheory.exists_analyticSet_not_measurableSet_realClaim2026-09-24T00:00:00Z
MTH.C-2026-6024InformationTheory.pinsker_proofClaim2026-09-24T00:00:00Z
MTH.C-2026-6025StructuralIgnorance.hasKernelScheme_one_of_vcBounded_oneClaim2026-09-24T00:00:00Z
MTH.C-2026-6026fundamental_theoremClaim2026-09-24T00:00:00Z
MTH.C-2026-6027vcDim_fundamental_theoremClaim2026-09-24T00:00:00Z
MTH.C-2026-6028online_strictly_stronger_pacClaim2026-09-24T00:00:00Z
MTH.C-2026-6029advice_eliminationClaim2026-09-24T00:00:00Z
MTH.C-2026-6030FLT.Halfspace.vcDim_halfspace_eqClaim2026-09-24T00:00:00Z
MTH.C-2026-6031vcDim_dualClass_leClaim2026-09-24T00:00:00Z
MTH.C-2026-6032log₂_vcDim_le_vcDim_dualClassClaim2026-09-24T00:00:00Z
MTH.R-2026-6001encard_image_inter_le_encard_shattersArgument2026-09-24T00:00:00Z
MTH.R-2026-6002HasVCDimLE.vcGrowth_le_expArgument2026-09-24T00:00:00Z
MTH.R-2026-6003mk_determined_le_mk_shattersArgument2026-09-24T00:00:00Z
MTH.R-2026-6004not_mk_image_inter_le_mk_shattersArgument2026-09-24T00:00:00Z
MTH.R-2026-6005encard_image_restrict_le_encard_pairCubesArgument2026-09-24T00:00:00Z
MTH.R-2026-6006exists_hasNatarajanDimLE_not_hasDSDimLEArgument2026-09-24T00:00:00Z
MTH.R-2026-6007HasVCDimLE.mk_image_inter_le_dedArgument2026-09-24T00:00:00Z
MTH.R-2026-6008no_smaller_boundArgument2026-09-24T00:00:00Z
MTH.R-2026-6009fundamental_vc_compression_with_infoArgument2026-09-24T00:00:00Z
MTH.R-2026-6010littlestone_characterizationArgument2026-09-24T00:00:00Z
MTH.R-2026-6011optimal_mistake_bound_eq_ldimArgument2026-09-24T00:00:00Z
MTH.R-2026-6012universal_imp_pacArgument2026-09-24T00:00:00Z
MTH.R-2026-6013krappWirthSeparationMeasTarget_holdsArgument2026-09-24T00:00:00Z
MTH.R-2026-6014KWLock.ambainis_tower_lockedArgument2026-09-24T00:00:00Z
MTH.R-2026-6015AuditCP.auditBlind_finiteTrajectory_goodhartArgument2026-09-24T00:00:00Z
MTH.R-2026-6016AuditCP.blackwellEquivalent_publicOnly_iff_auditSealedArgument2026-09-24T00:00:00Z
MTH.R-2026-6017AuditCP.auditSealed_iff_no_binary_decision_advantageArgument2026-09-24T00:00:00Z
MTH.R-2026-6018MeasureTheory.AnalyticSet.cap_eq_iSup_isCompactArgument2026-09-24T00:00:00Z
MTH.R-2026-6019HiddenChannelCapacity.acyclic_iff_forall_consistent_gluesArgument2026-09-24T00:00:00Z
MTH.R-2026-6020HiddenChannelCapacity.dirac_strongArgument2026-09-24T00:00:00Z
MTH.R-2026-6021HiddenChannelCapacity.lz_theorem_3_1Argument2026-09-24T00:00:00Z
MTH.R-2026-6022ProbabilityTheory.klDivReal_multivariateGaussianArgument2026-09-24T00:00:00Z
MTH.R-2026-6023MeasureTheory.exists_analyticSet_not_measurableSet_realArgument2026-09-24T00:00:00Z
MTH.R-2026-6024InformationTheory.pinsker_proofArgument2026-09-24T00:00:00Z
MTH.R-2026-6025StructuralIgnorance.hasKernelScheme_one_of_vcBounded_oneArgument2026-09-24T00:00:00Z
MTH.R-2026-6026fundamental_theoremArgument2026-09-24T00:00:00Z
MTH.R-2026-6027vcDim_fundamental_theoremArgument2026-09-24T00:00:00Z
MTH.R-2026-6028online_strictly_stronger_pacArgument2026-09-24T00:00:00Z
MTH.R-2026-6029advice_eliminationArgument2026-09-24T00:00:00Z
MTH.R-2026-6030FLT.Halfspace.vcDim_halfspace_eqArgument2026-09-24T00:00:00Z
MTH.R-2026-6031vcDim_dualClass_leArgument2026-09-24T00:00:00Z
MTH.R-2026-6032log₂_vcDim_le_vcDim_dualClassArgument2026-09-24T00:00:00Z

Pajor's inequality, with no finiteness assumptions: the traces of 𝒜 on A are at most as many as the subsets of A shattered by 𝒜. For a finite trace family this is a descent on the number of traces that never consumes the ground set; an infinite trace family forces infinitely many shattered singletons, and both sides are ⊤.

Dvir, Filmus and Moran, A Sauer-Shelah-Perles Lemma for Lattices, credit the Boolean lattice case to Pajor (Sous-espaces ℓ₁ⁿ des espaces de Banach, Travaux en Cours 16, Hermann, Paris, 1985) and to Aharoni and Holzman, unpublished. Their Theorem 1.2 is the lattice form, for finite lattices with nonvanishing Möbius function: a family shatters at least as many elements as it has members. Reading that for a family of traces on a ground set is the standard translation into the language of set families, and the statement here carries no finiteness hypothesis, which theirs does.

Declencard_image_inter_le_encard_shatters
∀ {α : Type u_1} {𝒜 : Set (Set α)} {A : Set α}, ((fun x => A ∩ x) '' 𝒜).encard ≤ {B | B ⊆ A ∧ Shatters 𝒜 B}.encard

Relations

The cardinal Pajor inequality for determined traces: the traces of 𝒜 on A that are determined by finitely many points inject into the shattered subsets, with no hypotheses. Unlike the ℕ∞-valued encard_determined_le_encard_shatters, this bounds genuine cardinalities; the full trace family cannot replace the determined traces (not_mk_image_inter_le_mk_shatters).

Declmk_determined_le_mk_shatters
∀ {α : Type u_1} {𝒜 : Set (Set α)} {A : Set α},
  Cardinal.mk ↑{t | t ∈ (fun x => A ∩ x) '' 𝒜 ∧ ∃ F, F.Finite ∧ ∀ t' ∈ (fun x => A ∩ x) '' 𝒜, t' ∩ F = t ∩ F → t' = t} ≤
    Cardinal.mk ↑{B | B ⊆ A ∧ Shatters 𝒜 B}

Relations

  • Limited byMTH.C-2026-6004

    The full trace family cannot replace the determined traces: the half-line cuts over the rationals trace continuum-many sets while shattering only countably many.

    Asserted by Dhruv GuptaDhruv Gupta

The full trace family cannot replace the determined traces in mk_determined_le_mk_shatters: the half-line cuts over ℚ trace continuum-many sets while shattering only countably many.

Declnot_mk_image_inter_le_mk_shatters
¬Cardinal.mk ↑((fun x => Set.univ ∩ x) '' Set.range fun r => {q | ↑q < r}) ≤
    Cardinal.mk ↑{B | B ⊆ Set.univ ∧ Shatters (Set.range fun r => {q | ↑q < r}) B}

Relations

  • LimitsMTH.C-2026-6003

    The full trace family cannot replace the determined traces: the half-line cuts over the rationals trace continuum-many sets while shattering only countably many.

    Asserted by Dhruv GuptaDhruv Gupta

Pajor's inequality for multiclass concept classes, with no hypotheses on the domain, the label type or the family: the traces of 𝒞 on S are at most as many as the pair-cubes of 𝒞 supported inside S.

The count runs on a split of the family at a point where two traces differ, taking one branch per realised value with no residual bucket. A cube of a branch never constrains the split point, so a cube pair-shattered by μ branches is counted μ times on the left and supplies 1 + μ.choose 2 cubes on the right, which closes the accounting because μ ≤ 1 + μ.choose 2 for μ ≥ 1, with equality exactly at μ ∈ {1, 2}. An infinite trace family forces infinitely many one-point cubes and both sides are ⊤.

At Y = Bool this specialises to encard_image_inter_le_encard_shatters, which is encard_image_inter_le_encard_shatters_of_multiclass below. The pair-cube is Natarajan's shattering witness for spaces of functions, from p. 81 of On learning sets and functions; see the module docstring.

Declencard_image_restrict_le_encard_pairCubes
∀ {X : Type u_1} {Y : Type u_2} (𝒞 : Set (X → Y)) (S : Set X), (S.restrict '' 𝒞).encard ≤ (pairCubes 𝒞 S).encard

Relations

HasDSDimLE.hasNatarajanDimLE has no converse. The six-cycle on a two-point domain has Natarajan dimension 1, a Natarajan witness on both points being a four-cycle, while its whole trace family is a two-dimensional pseudo-cube, so its DS dimension is at least 2.

This is the hexagon Brukhim, Carmon, Dinur, Moran and Yehudayoff record after their Definition 6, and the four-cycle test the proof turns on is their Example 7. Their Theorem 2 pushes the separation to a class of Natarajan dimension 1 and infinite DS dimension; that construction rests on hyperbolic pseudo-manifolds and is cited in the module docstring rather than formalised here.

Declexists_hasNatarajanDimLE_not_hasDSDimLE
∃ 𝒞, HasNatarajanDimLE 1 𝒞 ∧ ¬HasDSDimLE 1 𝒞

Relations

  • Shares definitions withMTH.C-2026-6005

    Built on the same pair patterns and pair-shattering; neither implies the other.

    Asserted by Dhruv GuptaDhruv Gupta

Shelah's ded bound on the traces of a family of finite VC dimension. On an infinite ground set a family of finite VC dimension traces at most ded #A sets, and by mk_image_inter_range_cut_eq_ded the bound is attained. The infiniteness of A is not decorative: see exists_finite_ground_hasVCDimLE_not_mk_image_inter_le_ded.

DeclHasVCDimLE.mk_image_inter_le_ded
∀ {α : Type u} {𝒜 : Set (Set α)} {A : Set α} {d : ℕ},
  HasVCDimLE d 𝒜 → A.Infinite → Cardinal.mk ↑((fun x => A ∩ x) '' 𝒜) ≤ ded (Cardinal.mk ↑A)

Relations

  • Limited byMTH.C-2026-6008

    No cardinal function smaller than ded bounds the traces, which places ded at the exact strength of the bound.

    Asserted by Dhruv GuptaDhruv Gupta

No cardinal function strictly smaller than ded bounds the traces of a family of finite VC dimension. For every infinite κ and every lam < ded κ there is a family of VC dimension 1 on a ground set of size exactly κ tracing more than lam sets. Together with HasVCDimLE.mk_image_inter_le_ded, which caps those traces at ded #A, this places ded at the exact strength of the bound.

The conclusion cannot be strengthened to a family tracing exactly ded κ sets. Chernikov and Shelah, On the number of Dedekind cuts and two-cardinal models of dependent theories, note after their definition of ded κ that "in general the supremum need not be attained", so at such a κ no family attains it and quantifying below the supremum is the available form. At κ = ℵ₀ the supremum is attained, by mk_image_inter_range_cut_eq_ded.

Declno_smaller_bound
∀ {κ : Cardinal.{u}},
  Cardinal.aleph0 ≤ κ →
    ∀ {lam : Cardinal.{u}},
      lam < ded κ → ∃ α 𝒜 A, Cardinal.mk ↑A = κ ∧ HasVCDimLE 1 𝒜 ∧ lam < Cardinal.mk ↑((fun x => A ∩ x) '' 𝒜)

Relations

  • LimitsMTH.C-2026-6007

    No cardinal function smaller than ded bounds the traces, which places ded at the exact strength of the bound.

    Asserted by Dhruv GuptaDhruv Gupta

The optimal mistake bound equals the Littlestone dimension (for nonempty C). Path B: OptimalMistakeBound : WithTop ℕ, LittlestoneDim : WithBot (WithTop ℕ). For nonempty C, LittlestoneDim ≥ 0, so the coercion ↑(OptimalMistakeBound) works.

Decloptimal_mistake_bound_eq_ldim
∀ (X : Type) (C : ConceptClass X Bool), Set.Nonempty C → ↑(OptimalMistakeBound X C) = LittlestoneDim X C

Universal learnable → PAC learnable. Proof sketch: UniversalLearnable gives learner L with rate → 0 and Pr[error ≤ rate(m)] ≥ 2/3. Two components: 1. Event containment: rate(m) < ε ⟹ {error ≤ rate(m)} ⊆ {error ≤ ε} (monotonicity). 2. Confidence boosting: 2/3 → 1-δ via median-of-means (Γ₆₇, sorry'd in boost_two_thirds_to_pac). Routes through boost_two_thirds_to_pac which encapsulates the Chernoff-based boosting.

Decluniversal_imp_pac
∀ (X : Type u) [inst : MeasurableSpace X] (C : ConceptClass X Bool) [MeasurableHypotheses X C],
  (∀ (L : BatchLearner X Bool), LearnEvalMeasurable L) → UniversalLearnable X C → PACLearnable X C

The Ambainis composition lock, at every depth: the product partition of the (d+1)-fold Ambainis iterate — the construction giving the multiplicative upper bound on the partition number — is not the leaf partition of any deterministic protocol, for every depth d. Index 0 is the base partition itself (a kernel-checked eight-rectangle monochromatic partition of the base game); index 1 is the 64-rectangle object of the depth-two frontier.

DeclKWLock.ambainis_tower_locked
∀ (d : ℕ),
  ¬∃ t,
      KWLock.Realizes (KWLock.onesOf (KWLock.Fd 4 KWLock.fA (d + 1))) (KWLock.zerosOf (KWLock.Fd 4 KWLock.fA (d + 1)))
        (KWLock.towerP 4 KWLock.fA KWLock.pA d) t

If every candidate's loss is measurable and a.e. valued in [a, b] under Q, every training-generated trajectory is admissible for F, and the resulting uniform-deviation failure event is measurable, then on an i.i.d. panel of size n drawn from Q, measured cumulative empirical-loss progress exceeds population-loss progress by more than 2 · deltaFiniteExperts (card ι) n (b - a) δ with probability at most ENNReal.ofReal δ.

DeclAuditCP.auditBlind_finiteTrajectory_goodhart
∀ {Ωtrain : Type u_1} {Z : Type u_2} {ι : Type u_3} [inst : MeasurableSpace Ωtrain] [inst_1 : MeasurableSpace Z]
  [inst_2 : Fintype ι] [Nonempty ι] (μtrain : AuditCP.AuditSampleLaw Ωtrain) [MeasureTheory.IsProbabilityMeasure μtrain]
  (Q : AuditCP.AuditSampleLaw Z) [MeasureTheory.IsProbabilityMeasure Q] (n : ℕ),
  0 < n →
    ∀ (a b : ℝ),
      a < b →
        ∀ (δ : ℝ),
          0 < δ →
            δ ≤ 1 →
              ∀ (loss : ι → Z → ℝ),
                (∀ (i : ι), Measurable (loss i)) →
                  (∀ (i : ι), ∀ᵐ (z : Z) ∂Q, loss i z ∈ Set.Icc a b) →
                    ∀ (F : Ωtrain → AuditCP.AuditEnvelope ι) (g : Ωtrain → AuditCP.AuditTrajectory ι),
                      (∀ (t : Ωtrain), AuditCP.Admissible (g t) (F t)) →
                        MeasurableSet
                            {p |
                              ¬AuditCP.UniformDev (F p.1) (fun i => AuditCP.empiricalLoss loss i p.2)
                                  (fun i => AuditCP.populationLoss Q loss i)
                                  (AuditCP.deltaFiniteExperts (Fintype.card ι) n (b - a) δ)} →
                          ∀ (T : ℕ),
                            (MeasureTheory.Measure.prod μtrain (MeasureTheory.Measure.pi fun x => Q))
                                {p |
                                  AuditCP.cumCP (fun i => AuditCP.empiricalLoss loss i p.2) (g p.1) T >
                                    AuditCP.cumCP (fun i => AuditCP.populationLoss Q loss i) (g p.1) T +
                                      2 * AuditCP.deltaFiniteExperts (Fintype.card ι) n (b - a) δ} ≤
                              ENNReal.ofReal δ

F2 — given A nonempty, BlackwellEquivalent (learnerExperiment K) publicOnlyExperiment ↔ AuditSealed K (blackwell1953).

DeclAuditCP.blackwellEquivalent_publicOnly_iff_auditSealed
∀ {S : Type uS} {A : Type uA} {Y : Type uY} [Nonempty A] (K : AuditCP.AuditChannel S A Y),
  AuditCP.BlackwellEquivalent (AuditCP.learnerExperiment K) AuditCP.publicOnlyExperiment ↔ AuditCP.AuditSealed K

F3 — AuditSealed K ↔ ∀ s a a', equalPriorBayesError (K (s, a)) (K (s, a')) = 1/2.

DeclAuditCP.auditSealed_iff_no_binary_decision_advantage
∀ {S : Type uS} {A : Type uA} {Y : Type uY} [inst : Fintype Y] (K : AuditCP.AuditChannel S A Y),
  AuditCP.AuditSealed K ↔ ∀ (s : S) (a a' : A), AuditCP.equalPriorBayesError (K (s, a)) (K (s, a')) = 1 / 2

Choquet capacitability. For analytic sets, capacity equals the supremum over compact subsets (Kechris 30.13).

DeclMeasureTheory.AnalyticSet.cap_eq_iSup_isCompact
∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [BorelSpace α] [PolishSpace α]
  {cap : Set α → ENNReal},
  MeasureTheory.IsChoquetCapacity cap →
    ∀ {s : Set α}, MeasureTheory.AnalyticSet s → cap s = ⨆ K, ⨆ (_ : IsCompact K), ⨆ (_ : K ⊆ s), cap K

The discrete Vorob'ev theorem: a cover's base structure is acyclic exactly when local pairwise consistency always forces a global structure, i.e. every pairwise-consistent family of nonempty local relations on it glues.

DeclHiddenChannelCapacity.acyclic_iff_forall_consistent_glues
∀ {ι : Type u_1} [inst : DecidableEq ι] [inst_1 : Fintype ι] (𝒞 : Finset (Finset ι)),
  HiddenChannelCapacity.Acyclic 𝒞 ↔
    ∀ (fam : List (HiddenChannelCapacity.LocalStruct ι fun x => ZMod 2)),
      List.map (fun x => x.team) fam = 𝒞.toList →
        HiddenChannelCapacity.Consistent fam → (∀ L ∈ fam, L.rel.Nonempty) → HiddenChannelCapacity.Glues fam

Dirac's lemma, strong form: in a chordless-cycle-free adjacency structure, every vertex set is a clique or contains two nonadjacent simplicial vertices.

DeclHiddenChannelCapacity.dirac_strong
∀ {ι : Type u_1} [inst : DecidableEq ι] (𝒞 : Finset (Finset ι)),
  (¬∃ l, HiddenChannelCapacity.IsChordlessCycle 𝒞 l) →
    ∀ (S : Finset ι),
      (∀ x ∈ S, ∀ y ∈ S, x ≠ y → HiddenChannelCapacity.Adj 𝒞 x y) ∨
        ∃ u w,
          HiddenChannelCapacity.SimpIn 𝒞 S u ∧
            HiddenChannelCapacity.SimpIn 𝒞 S w ∧ u ≠ w ∧ ¬HiddenChannelCapacity.Adj 𝒞 u w

The two-clique quantum junction tree theorem (Lauritzen–Zwiernik, arXiv:2605.19453, Theorem 3.1): over the acyclic two-clique base, the base's compatibility datum decides base-side reconstruction. For strictly positive consistent marginals, a quantum Markov completion exists iff Tr T(R) = 1; the completion is then unique and equals the normalized logarithmic candidate σ(R) = T(R)/Tr T(R). Together with trC_le_one (the trace bound) this is the full theorem.

DeclHiddenChannelCapacity.lz_theorem_3_1
∀ {a : Type u_1} {c : Type u_2} {b : Type u_3} [inst : Fintype a] [inst_1 : DecidableEq a] [inst_2 : Nonempty a]
  [inst_3 : Fintype c] [inst_4 : DecidableEq c] [inst_5 : Nonempty c] [inst_6 : Fintype b] [inst_7 : DecidableEq b]
  [inst_8 : Nonempty b] {ρAC : MState (a × c)} {ρCB : MState (c × b)},
  ρAC.m.PosDef →
    ρCB.m.PosDef →
      ρAC.traceLeft = ρCB.traceRight →
        (HiddenChannelCapacity.trC ρAC ρCB = 1 ↔ ∃ ω, HiddenChannelCapacity.IsMarkovCompletion ρAC ρCB ω) ∧
          ∀ (ω : MState (a × c × b)),
            HiddenChannelCapacity.IsMarkovCompletion ρAC ρCB ω → ω = HiddenChannelCapacity.sigT ρAC ρCB

Closed form of the multivariate Gaussian KL divergence (M3b). For positive-definite covariances S₁, S₂, KL(N(m₁,S₁) ‖ N(m₂,S₂)) = ½ ( log(det S₂ / det S₁) + tr(S₂⁻¹ S₁) + ⟪m₁-m₂, S₂⁻¹(m₁-m₂)⟫ - d ).

The whitening reduction (klDivReal_multivariateGaussian_whiten) sends the pair to a KL against the standard Gaussian (klDivReal_multivariateGaussian_stdGaussian); the three scalar invariants of the whitened covariance (det_whitened, trace_whitened, normSq_cfcSqrt_inv_apply) then identify the arguments.

DeclProbabilityTheory.klDivReal_multivariateGaussian
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] (m₁ m₂ : EuclideanSpace ℝ ι) {S₁ S₂ : Matrix ι ι ℝ},
  S₁.PosDef →
    S₂.PosDef →
      InformationTheory.klDivReal (ProbabilityTheory.multivariateGaussian m₁ S₁)
          (ProbabilityTheory.multivariateGaussian m₂ S₂) =
        1 / 2 *
          (Real.log (S₂.det / S₁.det) + (S₂⁻¹ * S₁).trace + (m₁ - m₂).ofLp ⬝ᵥ S₂⁻¹.mulVec (m₁.ofLp - m₂.ofLp) -
            ↑(Fintype.card ι))

An analytic non-Borel subset of ℝ: the image of the Baire-space witness under the continuous injection. Analyticity transfers along the continuous image; non-Borelness transfers back along the injective preimage.

DeclMeasureTheory.exists_analyticSet_not_measurableSet_real
∃ A, MeasureTheory.AnalyticSet A ∧ ¬MeasurableSet A

Pinsker's inequality with the sharp constant. tvDistReal P Q ≤ sqrt(klDivReal P Q / 2) for probability measures P ≪ Q with finite KL divergence.

DeclInformationTheory.pinsker_proof
∀ {α : Type u_1} [inst : MeasurableSpace α] (P Q : MeasureTheory.Measure α)
  [inst_1 : MeasureTheory.IsProbabilityMeasure P] [inst_2 : MeasureTheory.IsProbabilityMeasure Q],
  P.AbsolutelyContinuous Q →
    MeasureTheory.Integrable (MeasureTheory.llr P Q) P →
      MeasureTheory.tvDistReal P Q ≤ √(InformationTheory.klDivReal P Q / 2)

d = 1 universality: every VC-1 class compresses at kernel size one, with no side information. No finiteness, no distinguished member, no chain hypothesis. Twist the class by any member to place ∅ in it; there the VC bound makes co-member points comparable in the membership order, so every label set is a finite chain; anchor at its maximum, reconstruct with interConvention, and transport the scheme back with the same kernels.

DeclStructuralIgnorance.hasKernelScheme_one_of_vcBounded_one
∀ {α : Type u_1} [inst : DecidableEq α] {𝒜 : Set (Set α)},
  StructuralIgnorance.vcBounded 𝒜 1 → StructuralIgnorance.HasKernelScheme 𝒜 1

Fundamental theorem of statistical learning (5-way equivalence, BP₅).

Declfundamental_theorem
∀ (X : Type u) [inst : MeasurableSpace X] [MeasurableSingletonClass X] (C : ConceptClass X Bool)
  [MeasurableConceptClass X C],
  (PACLearnable X C ↔ VCDim X C < ⊤) ∧
    (VCDim X C < ⊤ ↔ ∃ k cs, CompressionSchemeWithInfo.size cs = k) ∧
      (VCDim X C < ⊤ ↔
          ∀ ε > 0,
            ∃ m₀,
              ∀ (D : MeasureTheory.Measure X),
                MeasureTheory.IsProbabilityMeasure D → ∀ m ≥ m₀, RademacherComplexity X C D m < ε) ∧
        (PACLearnable X C →
            ∃ L mf,
              (∀ (ε δ : ℝ),
                  0 < ε →
                    0 < δ →
                      ∀ (D : MeasureTheory.Measure X),
                        MeasureTheory.IsProbabilityMeasure D →
                          ∀ c ∈ C,
                            (MeasureTheory.Measure.pi fun x => D)
                                {xs | D {x | L.learn (fun i => (xs i, c (xs i))) x ≠ c x} ≤ ENNReal.ofReal ε} ≥
                              ENNReal.ofReal (1 - δ)) ∧
                (∀ (ε δ : ℝ), 0 < ε → 0 < δ → SampleComplexity X C ε δ ≤ mf ε δ) ∧
                  ∀ (d : ℕ),
                    VCDim X C = ↑d →
                      ∀ (ε δ : ℝ),
                        0 < ε →
                          ε ≤ 1 / 4 →
                            0 < δ →
                              δ ≤ 1 →
                                δ ≤ 1 / 7 →
                                  1 ≤ d → ⌈(↑d - 1) / 2⌉₊ ≤ SampleComplexity X C ε δ ∧ ⌈(↑d - 1) / 2⌉₊ ≤ mf ε δ) ∧
          (VCDim X C < ⊤ ↔ ∃ d, ∀ (m : ℕ), d ≤ m → GrowthFunction X C m ≤ ∑ i ∈ Finset.range (d + 1), m.choose i)

The fundamental theorem of statistical learning. For a measurable concept class, finite VC dimension, eventually polynomial growth, and PAC learnability are mutually equivalent.

DeclvcDim_fundamental_theorem
∀ {X : Type u} [inst : MeasurableSpace X] [MeasurableSingletonClass X] (C : ConceptClass X Bool)
  [MeasurableConceptClass X C],
  (VCDim X C < ⊤ ↔ PACLearnable X C) ∧
    (VCDim X C < ⊤ ↔ ∃ K d, ∀ᶠ (m : ℕ) in Filter.atTop, ↑(GrowthFunction X C m) ≤ K * ↑m ^ d)

Advice elimination (Ben-David & Dichterman 1998): If C is PAC-learnable with concept-dependent advice from a FINITE set A (with measurability regularity), then C is PAC-learnable without advice.

Proof strategy: run the advice-augmented learner with each a ∈ A on a training portion of the sample, producing |A| candidate hypotheses. Use a validation portion to select the candidate with lowest empirical error. Union bound over |A| advice values + Hoeffding on validation controls total failure probability. Sample complexity: O(m_orig(ε/2, δ/(2|A|)) + log(|A|/δ)/ε²).

The [Fintype A] constraint is essential: for infinite A, the theorem is false (no finite union bound). [Nonempty A] ensures the advice space is inhabited.

Decladvice_elimination
∀ (X : Type u) [inst : MeasurableSpace X] (C : ConceptClass X Bool) [MeasurableHypotheses X C] (A : Type u_1)
  [inst_2 : Fintype A] [inst_3 : Nonempty A], PACLearnableWithAdviceRegular X C A → PACLearnable X C

VC dimension of homogeneous linear halfspaces is exactly n (Cover 1965; Vapnik–Chervonenkis). The class signClass (coordSpace n) of homogeneous linear halfspaces of ℝⁿ has VC dimension equal to the ambient dimension n: the Dudley bound gives ≤ n, and the n standard basis points are shattered, giving ≥ n.

DeclFLT.Halfspace.vcDim_halfspace_eq
∀ (n : ℕ), VCDim (Fin n → ℝ) (signClass (FLT.Halfspace.coordSpace n)) = ↑n

Assouad's lower bound. For a finite-VC class, ⌊log₂ VCDim⌋ ≤ VCDim(dualClass): the exponential blow-up under dualization is necessary, not merely permitted. Together with the proven upper bound vcDim_dualClass_le (VCDim(dual) ≤ 2^(VCDim+1) − 1) this sandwiches the dual VC dimension between ⌊log₂ d⌋ and 2^(d+1) − 1.

Stated with d := VCDim C extracted as a natural number (finite by hypothesis). The proof picks a shattered set T with 2^(log₂ d) ≤ |T| (which exists because 2^(log₂ d) ≤ d ≤ |T| for the supremal shattered set) and applies pow_le_vcDim_imp_le_vcDim_dualClass.

Decllog₂_vcDim_le_vcDim_dualClass
∀ {X : Type u} {C : ConceptClass X Bool} {d : ℕ}, VCDim X C = ↑d → 0 < d → ↑(Nat.log 2 d) ≤ VCDim (↑C) (dualClass C)