Mathesis

The Krapp–Wirth measurable-target separation holds unconditionally: the analytic non-Borel witness discharges the hypothesis of analytic_nonborel_set_gives_measTarget_separation.

DeclkrappWirthSeparationMeasTarget_holds
KrappWirthSeparationMeasTarget
Layout
ThesisStepDefinition
krappWirthSeparationMeasT…theoremanalytic_nonborel_set_giv…theoremsingleton_badEvent_not_me…theoremsingleton_badEvent_eq_pre…theoremplanarWitnessEvent_not_me…theoremoneSidedGhostGap_mem_gridtheoremempiricalError_mem_empErr…theoremborel_param_wellBehavedVC…theoremborel_param_nullMeasurabl…theoremborel_param_badEvent_anal…theoremparamWitnessSet_measurabletheoremanalyticSet_nullMeasurabl…theoremanalyticSet_nullMeasurabl…theoremnullMeasurableSettheoremexists_isCompact_measureR…theoremcompactCap_eqtheoremcompactCap_eq_iSup_isComp…theoremmeasure_isChoquetCapacitytheoremcap_eq_iSup_isCompacttheoremmonotone_cyl_splittheoremiInter_closure_image_cyl_…theoremtruncate_mem_bndtheoremtruncate_agree_on_cyltheoremisCompact_bndtheorembnd_subset_cyltheoremcyl_succ_eqtheoremcyl_inter_eq_cyl_updatetheoremcyl_exttheoremmonotheoremiUnion_nattheoremiInter_closedtheoremV_measurabletheoremexists_analyticSet_not_me…theoremexists_analyticSet_not_me…theoremexists_closed_proj_not_me…theoremexists_closed_universal_s…theoremembedBaireReal_injectivetheorembaireMarkerBits_injectivetheorembaireMarkers_strictMonotheoremcontinuous_embedBaireRealtheoremcontinuous_cantorFunction…theoremcontinuous_baireMarkerBitstheoremBnddefConceptClassdefCyldefEmpiricalErrordefConceptdefGhostPairMeasuredefGhostPairsdefGhostPairs1defKrappWirthSeparationMeasT…defKrappWirthVdefKrappWirthWellBehavedstructureMeasurableHypothesesstructureIsChoquetCapacitystructurebaireMarkerBitsdefbaireMarkersdefcompactCapdefembedBaireRealdefWellBehavedVCMeasTargetdefchoquetTruncatedefempErrGriddefghostGapGriddefghostGapSupdefoneSidedGhostGapdefparamBadEventdefparamWitnessSetdefplanarWitnessEventdefsamplePair1ToPlanedefsingletonBadEventdefsingletonClassOndefsingletonConceptdefzeroConceptdefzeroOneLossdef
  1. DeclkrappWirthSeparationMeasTarget_holdsDeclaration kindtheorem
    KrappWirthSeparationMeasTarget
    Uses
  2. Declanalytic_nonborel_set_gives_measTarget_separationDeclaration kindtheorem

    Main separation theorem. Given any analytic non-Borel set A ⊆ ℝ, the concept class obtained by parameterising singletonConcept (plus zeroConcept) over A is a concrete witness that WellBehavedVCMeasTarget is strictly weaker than the Krapp-Wirth Borel condition. The class is constructed as Set.range e for an evaluation map e : Bool × β → Concept ℝ Bool built from a Polish parameterisation of A; post-construction, Set.range e equals singletonClassOn (Set.range g) where g realises A.

    The class satisfies:

    • MeasurableHypotheses: every individual hypothesis is Borel (singletonClassOn_measurable).
    • WellBehavedVCMeasTarget: the bad event is analytic (planarWitnessEvent_analytic lifted via singleton_badEvent_eq_preimage_planar), hence NullMeasurableSet by the Choquet bridge.
    • NOT KrappWirthWellBehaved: the bad event is not Borel (singleton_badEvent_not_measurable).

    The separation is realised by passing through the standard Borel space ℝ as the parameter space; the construction reuses no problem-specific fact beyond the existence of an analytic non-Borel subset of ℝ (Souslin's classical result), supplied in exists_measTarget_separation. The witness shows that the measurable-target variant proved in this kernel is a genuine improvement over the existing literature, not a restatement.

    ∀ (A : Set ℝ), MeasureTheory.AnalyticSet A → ¬MeasurableSet A → KrappWirthSeparationMeasTarget
    Uses
    Used by
  3. Declsingleton_badEvent_not_measurableDeclaration kindtheorem

    For A non-Borel, the singleton bad event is non-Borel. Combine singleton_badEvent_eq_preimage_planar with planarWitnessEvent_not_measurable: the preimage of a non-Borel set under a measurable surjection cannot itself be Borel.

    ∀ (A : Set ℝ), ¬MeasurableSet A → ¬MeasurableSet (singletonBadEvent A)
    Uses
    Used by
  4. Declsingleton_badEvent_eq_preimage_planarDeclaration kindtheorem

    The singleton bad event equals samplePair1ToPlane ⁻¹' planarWitnessEvent. The set equality that transports both analyticity and non-Borelness from the planar witness to the learning-theoretic bad event.

    ∀ (A : Set ℝ), singletonBadEvent A = samplePair1ToPlane ⁻¹' planarWitnessEvent A
    Used by
  5. DeclplanarWitnessEvent_not_measurableDeclaration kindtheorem

    For A non-Borel, planarWitnessEvent A is non-Borel. The proof picks some a ∉ A and shows the vertical section y ↦ (a, y) pulls the planar event back to A itself: if the planar event were Borel, its preimage under this measurable map would be Borel too, contradicting the hypothesis on A.

    ∀ (A : Set ℝ), ¬MeasurableSet A → ¬MeasurableSet (planarWitnessEvent A)
    Used by
  6. DecloneSidedGhostGap_mem_gridDeclaration kindtheorem
    ∀ {X : Type u} [inst : MeasurableSpace X] (h c : Concept X Bool) (m : ℕ) (p : (Fin m → X) × (Fin m → X)),
      oneSidedGhostGap h c m p ∈ ghostGapGrid m
    Uses
    Used by
  7. DeclempiricalError_mem_empErrGridDeclaration kindtheorem
    ∀ {X : Type u} [MeasurableSpace X] (h : Concept X Bool) {m : ℕ} (S : Fin m → X × Bool),
      EmpiricalError X Bool h S (zeroOneLoss Bool) ∈ empErrGrid m
    Used by
  8. Declborel_param_wellBehavedVCMeasTargetDeclaration kindtheorem

    Class-level corollary: every Borel-parameterized concept class with a measurable evaluation map satisfies WellBehavedVCMeasTarget. Composes borel_param_nullMeasurableSet_bad_event over all measurable targets c. The measurable-target variant of WellBehavedVC is what the kernel actually proves; the unrestricted variant remains open and is the subject of the Borel-analytic separation witness in Theorem/BorelAnalyticSeparation.lean.

    ∀ {X : Type u} [inst : MeasurableSpace X] [inst_1 : TopologicalSpace X] [PolishSpace X] [BorelSpace X] {Θ : Type u_1}
      [inst_4 : MeasurableSpace Θ] [StandardBorelSpace Θ] (e : Θ → Concept X Bool),
      (Measurable fun p => e p.1 p.2) → WellBehavedVCMeasTarget X (Set.range e)
    Uses
    Used by
  9. Declborel_param_nullMeasurableSet_bad_eventDeclaration kindtheorem

    Positive bridge. If a concept class is parameterized by a Borel measurable map Θ → Concept X from a standard Borel space Θ, then the symmetrization bad event is analytic, hence NullMeasurableSet. The bad event is a Suslin projection of a Borel witness set (the projection along Θ of {(θ, p) | gap(eval θ, p) ≥ ε / 2}), and projections of Borel sets are analytic by definition. This is the entry point through which Borel parameterization implies the regularity required by the fundamental theorem.

    ∀ {X : Type u} [inst : MeasurableSpace X] [inst_1 : TopologicalSpace X] [PolishSpace X] [BorelSpace X] {Θ : Type u_1}
      [inst_4 : MeasurableSpace Θ] [StandardBorelSpace Θ] (e : Θ → Concept X Bool),
      (Measurable fun p => e p.1 p.2) →
        ∀ (c : Concept X Bool),
          Measurable c →
            ∀ (m : ℕ) (ε : ℝ) (D : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure D],
              MeasureTheory.NullMeasurableSet (paramBadEvent e c m ε) (GhostPairMeasure D m)
    Uses
    Used by
  10. Declborel_param_badEvent_analyticDeclaration kindtheorem

    The bad event (projection of witness set) is analytic. Projection of a Borel set from a StandardBorelSpace is analytic (Suslin). This is the key step: existential quantification over parameters produces an analytic (Σ₁¹) set, which may not be Borel.

    ∀ {X : Type u} [inst : TopologicalSpace X] [inst_1 : MeasurableSpace X] [BorelSpace X] [PolishSpace X] {Θ : Type u_1}
      [inst_4 : MeasurableSpace Θ] [StandardBorelSpace Θ] (e : Θ → Concept X Bool),
      (Measurable fun p => e p.1 p.2) →
        ∀ (c : Concept X Bool), Measurable c → ∀ (m : ℕ) (ε : ℝ), MeasureTheory.AnalyticSet (paramBadEvent e c m ε)
    Uses
    Used by
  11. DeclparamWitnessSet_measurableDeclaration kindtheorem

    The witness set {(θ, p) | ghost-gap ≥ ε/2} is MeasurableSet when the evaluation map e and target c are measurable. This is the Borel half of the Borel-analytic bridge.

    ∀ {X : Type u} [inst : MeasurableSpace X] {Θ : Type u_1} [inst_1 : MeasurableSpace Θ] (e : Θ → Concept X Bool),
      (Measurable fun p => e p.1 p.2) →
        ∀ (c : Concept X Bool), Measurable c → ∀ (m : ℕ) (ε : ℝ), MeasurableSet (paramWitnessSet e c m ε)
    Used by
  12. DeclanalyticSet_nullMeasurableSet_ghostPairsDeclaration kindtheorem

    Analytic subsets of the ghost sample space (Fin m → X) × (Fin m → X) are NullMeasurableSet under the product probability measure. A specialisation of analyticSet_nullMeasurableSet from PureMath/AnalyticMeasurability.lean to the type the symmetrization argument actually consumes.

    ∀ {X : Type u} [inst : TopologicalSpace X] [inst_1 : MeasurableSpace X] [BorelSpace X] [PolishSpace X] {m : ℕ}
      {s : Set ((Fin m → X) × (Fin m → X))},
      MeasureTheory.AnalyticSet s →
        ∀ (D : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure D],
          MeasureTheory.NullMeasurableSet s (GhostPairMeasure D m)
    Uses
    Used by
  13. DeclanalyticSet_nullMeasurableSetDeclaration kindtheorem

    Analytic sets are null-measurable for finite Borel measures on Polish spaces. FLT-facing alias of the ZPM-canonical MeasureTheory.AnalyticSet.nullMeasurableSet.

    ∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [BorelSpace α] [PolishSpace α]
      {μ : MeasureTheory.Measure α} [MeasureTheory.IsFiniteMeasure μ] {s : Set α},
      MeasureTheory.AnalyticSet s → MeasureTheory.NullMeasurableSet s μ
    Uses
    Used by
  14. DeclMeasureTheory.AnalyticSet.nullMeasurableSetDeclaration kindtheorem

    Analytic sets are null-measurable. For any finite Borel measure on a Polish space, every analytic set is NullMeasurableSet. Proof inner- approximates the analytic set by compacts, takes the union of approximators (a Borel set), and shows the difference is contained in a Borel null set.

    This is the abstract bridge that the entire Borel-analytic measurability layer of downstream learning-theory kernels rests on.

    ∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [BorelSpace α] [PolishSpace α]
      {μ : MeasureTheory.Measure α} [MeasureTheory.IsFiniteMeasure μ] {s : Set α},
      MeasureTheory.AnalyticSet s → MeasureTheory.NullMeasurableSet s μ
    Uses
    Used by
  15. DeclMeasureTheory.AnalyticSet.exists_isCompact_measureReal_gtDeclaration kindtheorem

    Inner regularity for analytic sets: any analytic subset of a Polish space can be approximated from inside by a compact subset in measure, by any slack ε > 0. Specialisation of Choquet capacitability (Kechris 30.13) to the measure-as-capacity instance.

    ∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [BorelSpace α] [PolishSpace α]
      {μ : MeasureTheory.Measure α} [MeasureTheory.IsFiniteMeasure μ] {s : Set α},
      MeasureTheory.AnalyticSet s → ∀ ε > 0, ∃ K, IsCompact K ∧ K ⊆ s ∧ μ.real s < μ.real K + ε
    Uses
    Used by
  16. DeclMeasureTheory.AnalyticSet.compactCap_eqDeclaration kindtheorem

    For analytic sets, compact capacity equals measure.

    ∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [BorelSpace α] [PolishSpace α]
      {μ : MeasureTheory.Measure α} [MeasureTheory.IsFiniteMeasure μ] {s : Set α},
      MeasureTheory.AnalyticSet s → MeasureTheory.compactCap μ s = μ s
    Uses
    Used by
  17. DeclcompactCap_eq_iSup_isCompactDeclaration kindtheorem
    ∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] (μ : MeasureTheory.Measure α) (s : Set α),
      MeasureTheory.compactCap μ s = ⨆ K, ⨆ (_ : IsCompact K), ⨆ (_ : K ⊆ s), μ K
    Used by
  18. DeclMeasureTheory.measure_isChoquetCapacityDeclaration kindtheorem

    Every finite Borel measure on a Polish space is a Choquet capacity.

    ∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [BorelSpace α] [PolishSpace α]
      (μ : MeasureTheory.Measure α) [MeasureTheory.IsFiniteMeasure μ], MeasureTheory.IsChoquetCapacity fun s => μ s
    Used by
  19. DeclMeasureTheory.AnalyticSet.cap_eq_iSup_isCompactDeclaration kindtheorem

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

    ∀ {α : 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
    Uses
    Used by
  20. Declmonotone_cyl_splitDeclaration kindtheorem
    ∀ (N : ℕ → ℕ) (n : ℕ), Monotone fun k => Cyl N n ∩ {g | g (n + 1) ≤ k}
    Used by
  21. DecliInter_closure_image_cyl_eqDeclaration kindtheorem

    The intersection of closures of cylinder images equals the compact image. Key lemma for the capacitability proof: uses truncation and sequential compactness.

    ∀ {α : Type u_1} [inst : TopologicalSpace α] [PolishSpace α] {f : (ℕ → ℕ) → α},
      Continuous f → ∀ (N : ℕ → ℕ), ⋂ n, closure (f '' Cyl N n) = f '' Bnd N
    Uses
    Used by
  22. Decltruncate_mem_bndDeclaration kindtheorem
    ∀ (N g : ℕ → ℕ), choquetTruncate N g ∈ Bnd N
    Used by
  23. Decltruncate_agree_on_cylDeclaration kindtheorem
    ∀ (N : ℕ → ℕ) (n : ℕ), ∀ g ∈ Cyl N n, ∀ i ≤ n, choquetTruncate N g i = g i
    Used by
  24. DeclisCompact_bndDeclaration kindtheorem
    ∀ (N : ℕ → ℕ), IsCompact (Bnd N)
    Used by
  25. Declbnd_subset_cylDeclaration kindtheorem
    ∀ (N : ℕ → ℕ) (n : ℕ), Bnd N ⊆ Cyl N n
    Used by
  26. Declcyl_succ_eqDeclaration kindtheorem
    ∀ (N : ℕ → ℕ) (n : ℕ), Cyl N n = ⋃ k, Cyl N n ∩ {g | g (n + 1) ≤ k}
    Used by
  27. Declcyl_inter_eq_cyl_updateDeclaration kindtheorem
    ∀ (N : ℕ → ℕ) (n k : ℕ), Cyl N n ∩ {g | g (n + 1) ≤ k} = Cyl (Function.update N (n + 1) k) (n + 1)
    Used by
  28. Declcyl_extDeclaration kindtheorem
    ∀ (N N' : ℕ → ℕ) (n : ℕ), (∀ i ≤ n, N i = N' i) → Cyl N n = Cyl N' n
    Used by
  29. DeclMeasureTheory.IsChoquetCapacity.monoDeclaration kindtheorem
    ∀ {α : Type u_1} [inst : TopologicalSpace α] {cap : Set α → ENNReal},
      MeasureTheory.IsChoquetCapacity cap → ∀ {s t : Set α}, s ⊆ t → cap s ≤ cap t
    Used by
  30. DeclMeasureTheory.IsChoquetCapacity.iUnion_natDeclaration kindtheorem
    ∀ {α : Type u_1} [inst : TopologicalSpace α] {cap : Set α → ENNReal},
      MeasureTheory.IsChoquetCapacity cap → ∀ (f : ℕ → Set α), Monotone f → cap (⋃ n, f n) = ⨆ n, cap (f n)
    Used by
  31. DeclMeasureTheory.IsChoquetCapacity.iInter_closedDeclaration kindtheorem
    ∀ {α : Type u_1} [inst : TopologicalSpace α] {cap : Set α → ENNReal},
      MeasureTheory.IsChoquetCapacity cap →
        ∀ (f : ℕ → Set α), Antitone f → (∀ (n : ℕ), IsClosed (f n)) → cap (⋂ n, f n) = ⨅ n, cap (f n)
    Used by
  32. DeclKrappWirthWellBehaved.V_measurableDeclaration kindtheorem
    ∀ {X : Type u} {inst : MeasurableSpace X} {C : ConceptClass X Bool} [self : KrappWirthWellBehaved X C], KrappWirthV X C
    Used by
  33. DeclMeasureTheory.exists_analyticSet_not_measurableSet_realDeclaration kindtheorem

    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.

    ∃ A, MeasureTheory.AnalyticSet A ∧ ¬MeasurableSet A
    Uses
    Used by
  34. DeclMeasureTheory.exists_analyticSet_not_measurableSetDeclaration kindtheorem

    An analytic non-Borel subset of Baire space: the projection of the diagonal witness.

    ∃ A, MeasureTheory.AnalyticSet A ∧ ¬MeasurableSet A
    Uses
    Used by
  35. DeclMeasureTheory.exists_closed_proj_not_measurableSetDeclaration kindtheorem

    A closed set with a non-Borel projection. Diagonalize the universal closed set of (ℕ → ℕ) × (ℕ → ℕ): were the projection Borel, its complement would be analytic, hence the projection of a closed set, hence a section of the universal set — and evaluating that section at its own parameter is contradictory.

    ∃ D, IsClosed D ∧ ¬MeasurableSet {x | ∃ y, (x, y) ∈ D}
    Uses
    Used by
  36. DeclMeasureTheory.exists_closed_universal_sectionsDeclaration kindtheorem

    A universal closed set. Every second-countable space X carries a closed subset of X × (ℕ → ℕ) whose sections run through all closed subsets of X: enumerate a countable basis together with ∅, and let the parameter select which basis elements to exclude.

    ∀ (X : Type u_1) [inst : TopologicalSpace X] [SecondCountableTopology X],
      ∃ S, IsClosed S ∧ ∀ (C : Set X), IsClosed C → ∃ y, {x | (x, y) ∈ S} = C
    Used by
  37. DeclMeasureTheory.embedBaireReal_injectiveDeclaration kindtheorem
    Function.Injective MeasureTheory.embedBaireReal
    Uses
    Used by
  38. DeclMeasureTheory.baireMarkerBits_injectiveDeclaration kindtheorem
    Function.Injective MeasureTheory.baireMarkerBits
    Uses
    Used by
  39. DeclMeasureTheory.baireMarkers_strictMonoDeclaration kindtheorem
    ∀ (x : ℕ → ℕ), StrictMono (MeasureTheory.baireMarkers x)
    Used by
  40. DeclMeasureTheory.continuous_embedBaireRealDeclaration kindtheorem
    Continuous MeasureTheory.embedBaireReal
    Uses
    Used by
  41. DeclMeasureTheory.continuous_cantorFunction_oneThirdDeclaration kindtheorem
    Continuous (Cardinal.cantorFunction (1 / 3))
    Used by
  42. DeclMeasureTheory.continuous_baireMarkerBitsDeclaration kindtheorem
    Continuous MeasureTheory.baireMarkerBits
    Used by
  43. DefinitionBnddef

    Bounded functions set: {g : ℕ → ℕ | ∀ i, g i ≤ N i}.

    (ℕ → ℕ) → Set (ℕ → ℕ)
  44. DefinitionConceptClassdef

    A concept class is a set of concepts. Used by every paradigm, complexity measure, and criterion.

    Primary definition: Set of functions. Used for PAC/agnostic PAC where concept classes are sets over which VC dimension, Rademacher complexity, covering numbers, etc. are measured. Alternative definitions below for contexts requiring decidability, enumerability, or measurability.

    Type u → Type v → Type (max v u)
  45. DefinitionCyldef

    Cylinder set: {g : ℕ → ℕ | ∀ i ≤ n, g i ≤ N i}.

    (ℕ → ℕ) → ℕ → Set (ℕ → ℕ)
  46. DefinitionEmpiricalErrordef

    Empirical error: average loss on a finite sample.

    (X : Type u) → (Y : Type v) → Concept X Y → {m : ℕ} → (Fin m → X × Y) → LossFunction Y → ℝ
  47. DefinitionFLT.Conceptdef

    A concept is a function from domain to label. This is the atomic unit that concept classes collect and learners try to approximate.

    Type u → Type v → Type (max u v)
  48. DefinitionGhostPairMeasuredef
    {X : Type u} →
      [inst : MeasurableSpace X] → MeasureTheory.Measure X → (m : ℕ) → MeasureTheory.Measure ((Fin m → X) × (Fin m → X))
  49. DefinitionGhostPairsdef

    Ghost sample pairs: two independent samples of size m.

    Type u → ℕ → Type u
  50. DefinitionGhostPairs1def

    The ghost sample space at sample size m = 1: (Fin 1 → ℝ) × (Fin 1 → ℝ). The smallest sample size at which the singleton-class obstruction is already visible.

    Type
  51. DefinitionKrappWirthSeparationMeasTargetdef

    OPEN QUESTION (measurable-target version): Does WellBehavedVCMeasTarget separate from KrappWirthWellBehaved? The Borel-analytic bridge (BorelAnalyticBridge.lean) closes this.

    Prop
  52. DefinitionKrappWirthVdef

    V-measurability (one-sided): the ghost gap sup map is measurable.

    (X : Type u) → [MeasurableSpace X] → ConceptClass X Bool → Prop
  53. DefinitionKrappWirthWellBehavedstructure

    Krapp-Wirth well-behavedness: measurable hypotheses + V + U. Extends MeasurableHypotheses (L1). Strictly stronger than MeasurableConceptClass (our condition).

    (X : Type u) → [MeasurableSpace X] → ConceptClass X Bool → Prop
  54. DefinitionMeasurableHypothesesstructure

    Every concept in C is a measurable function. Krapp-Wirth precondition: Γ(h) ∈ Σ_Z for all h ∈ H.

    (X : Type u) → [MeasurableSpace X] → ConceptClass X Bool → Prop
  55. DefinitionMeasureTheory.IsChoquetCapacitystructure

    Bundled record of the three Choquet capacity axioms: monotonicity, sequential continuity from below along increasing unions, and sequential continuity from above along decreasing intersections of closed sets. The third axiom distinguishes a capacity from a general outer measure.

    {α : Type u_1} → [TopologicalSpace α] → (Set α → ENNReal) → Prop
  56. DefinitionMeasureTheory.baireMarkerBitsdef

    The marker bits: the indicator stream of the marker set.

    (ℕ → ℕ) → ℕ → Bool
  57. DefinitionMeasureTheory.baireMarkersdef

    The marker sequence of x : ℕ → ℕ: the strictly increasing sequence n + 1 + ∑_{k ≤ n} x k, whose successive gaps encode x.

    (ℕ → ℕ) → ℕ → ℕ
  58. DefinitionMeasureTheory.compactCapdef

    Compact capacity of a set s relative to a measure μ: the supremum of μ K over compact subsets K ⊆ s. The inner-regularity functional whose equality with μ s characterises measurability for analytic sets.

    {α : Type u_1} → [TopologicalSpace α] → [inst : MeasurableSpace α] → MeasureTheory.Measure α → Set α → ENNReal
  59. DefinitionMeasureTheory.embedBaireRealdef

    The embedding of Baire space into ℝ: marker bits into the base-3 expansion.

    (ℕ → ℕ) → ℝ
  60. DefinitionWellBehavedVCMeasTargetdef

    WellBehavedVC restricted to measurable targets. This is the correct target for the Borel-analytic positive bridge: Borel parameterization ⇒ analytic bad event ⇒ NullMeasurableSet, but only when c is measurable (so the ghost-gap map is measurable).

    (X : Type u) → [MeasurableSpace X] → ConceptClass X Bool → Prop
  61. DefinitionchoquetTruncatedef

    Truncation: replace g i by min (g i) (N i) to bring any g into the bounded set.

    (ℕ → ℕ) → (ℕ → ℕ) → ℕ → ℕ
  62. DefinitionempErrGriddef
    ℕ → Finset ℝ
  63. DefinitionghostGapGriddef
    ℕ → Finset ℝ
  64. DefinitionghostGapSupdef
    {X : Type u} → [MeasurableSpace X] → ConceptClass X Bool → Concept X Bool → (m : ℕ) → (Fin m → X) × (Fin m → X) → ℝ
  65. DefinitiononeSidedGhostGapdef
    {X : Type u} → [MeasurableSpace X] → Concept X Bool → Concept X Bool → (m : ℕ) → (Fin m → X) × (Fin m → X) → ℝ
  66. DefinitionparamBadEventdef

    The bad event in sample space: projection of the witness set. Existential over the parameter: {p | ∃ θ, gap(θ, p) ≥ ε/2}. This is analytic when the witness set is Borel (Theorem B).

    {X : Type u} →
      [MeasurableSpace X] →
        {Θ : Type u_1} → [MeasurableSpace Θ] → (Θ → Concept X Bool) → Concept X Bool → (m : ℕ) → ℝ → Set (GhostPairs X m)
  67. DefinitionparamWitnessSetdef

    The witness set in parameter × sample space: {(θ, p) | EmpErr(h_θ, ghost, c) - EmpErr(h_θ, train, c) ≥ ε/2}. This is Borel when e and c are measurable (Theorem A).

    {X : Type u} →
      [MeasurableSpace X] →
        {Θ : Type u_1} →
          [MeasurableSpace Θ] → (Θ → Concept X Bool) → Concept X Bool → (m : ℕ) → ℝ → Set (Θ × GhostPairs X m)
  68. DefinitionplanarWitnessEventdef

    The planar witness {(x, y) ∈ ℝ × ℝ | y ∈ A ∧ x ≠ y}. For A analytic non-Borel, this set is itself analytic non-Borel. The geometric core of the separation: the learning-theoretic bad event below is a measurable preimage of this planar set.

    Set ℝ → Set (ℝ × ℝ)
  69. DefinitionsamplePair1ToPlanedef

    The projection GhostPairs1 → ℝ × ℝ, p ↦ (p.1 0, p.2 0). Surjective and measurable; non-Borelness of a target set transfers to non-Borelness of its preimage under a measurable surjection.

    GhostPairs1 → ℝ × ℝ
  70. DefinitionsingletonBadEventdef

    The symmetrization bad event for the singleton class at sample size m = 1, target concept zeroConcept, and threshold 1/2. Equals the preimage of planarWitnessEvent under samplePair1ToPlane (see singleton_badEvent_eq_preimage_planar), and inherits both analyticity and non-Borelness from the planar set when A is analytic non-Borel.

    Set ℝ → Set GhostPairs1
  71. DefinitionsingletonClassOndef

    The singleton class over A ⊆ ℝ: {zeroConcept} ∪ {singletonConcept a | a ∈ A}. The zeroConcept disjunct is the target concept against which the symmetrization bad event is measured. For A analytic non-Borel, this is the witness used to separate WellBehavedVCMeasTarget from the Krapp-Wirth Borel condition.

    Set ℝ → ConceptClass ℝ Bool
  72. DefinitionsingletonConceptdef

    The point indicator singletonConcept a x = (x = a). Each singletonConcept a is itself Borel measurable; non-Borelness in the singleton-class witness comes from quantifying over a ∈ A for A analytic non-Borel, not from any individual concept.

    ℝ → Concept ℝ Bool
  73. DefinitionzeroConceptdef

    The constantly false concept. The base hypothesis of the singleton class, serving both as the target concept and as the zeroConcept disjunct of singletonClassOn.

    Concept ℝ Bool
  74. DefinitionzeroOneLossdef

    The 0-1 loss for classification.

    (Y : Type v) → [DecidableEq Y] → LossFunction Y
DOIMTH.R-2026-6013
Cite

Verification

Replay
accepted
Axioms
Classical.choiceQuot.soundpropext
Statement identity
not-applicable
Substrate
Lean 4 kernel v4.31.0
Dictionary pin
design-lab@5802df4 · initial
Frozen export
142a3e7672c2
Verified
2026-09-24T00:00:00Z