Mathesis

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
Layout
ThesisStepDefinition
vcDim_halfspace_eqtheoremvcDim_halfspace_letheoremvcDim_signClass_letheoremfinrank_coordSpacetheoremlinearIndependent_coordtheoremcoord_singletheoremfiniteDimensional_coordSp…theoremvcDim_halfspace_getheoremshatters_basisPointstheoremweighted_singletheoremweighted_mem_coordSpacetheoremsingle_mem_basisPointstheoremcard_basisPointstheoremsingle_injectivetheoremConceptClassdefConceptdefbasisPointsdefcoorddefcoordSpacedefShattersdefVCDimdefevalAtdefsignClassdef
  1. DeclFLT.Halfspace.vcDim_halfspace_eqDeclaration kindtheorem
    ∀ (n : ℕ), VCDim (Fin n → ℝ) (signClass (FLT.Halfspace.coordSpace n)) = ↑n
    Uses
  2. DeclFLT.Halfspace.vcDim_halfspace_leDeclaration kindtheorem

    VC dimension of homogeneous linear halfspaces: the Dudley upper bound.

    The class of homogeneous linear halfspaces x ↦ (0 < ⟨w, x⟩) in ℝⁿ has VC dimension at most n. This is the canonical instance of Dudley's bound (vcDim_signClass_le): the underlying function space is coordSpace n, of dimension n. (Cover 1965; Vapnik–Chervonenkis.)

    ∀ (n : ℕ), VCDim (Fin n → ℝ) (signClass (FLT.Halfspace.coordSpace n)) ≤ ↑n
    Uses
    Used by
  3. DeclvcDim_signClass_leDeclaration kindtheorem

    Dudley's bound. The VC dimension of the linear sign class of a finite-dimensional subspace V ≤ (X → ℝ) is at most dim V.

    ∀ {X : Type u} (V : Submodule ℝ (X → ℝ)) [FiniteDimensional ℝ ↥V], VCDim X (signClass V) ≤ ↑(Module.finrank ℝ ↥V)
    Used by
  4. DeclFLT.Halfspace.finrank_coordSpaceDeclaration kindtheorem

    The dimension of the coordinate space is n. The coordinate functionals form the dual basis of ℝⁿ, so their span has dimension n.

    ∀ (n : ℕ), Module.finrank ℝ ↥(FLT.Halfspace.coordSpace n) = n
    Uses
    Used by
  5. DeclFLT.Halfspace.linearIndependent_coordDeclaration kindtheorem

    The coordinate functionals are linearly independent. They are the dual basis of the standard basis; concretely, evaluating a vanishing combination at each standard basis point Pi.single j 1 isolates the j-th coefficient.

    ∀ (n : ℕ), LinearIndependent ℝ (FLT.Halfspace.coord n)
    Uses
    Used by
  6. DeclFLT.Halfspace.coord_singleDeclaration kindtheorem

    Evaluating the i-th coordinate functional at the j-th standard basis point gives the identity matrix: coord n i (Pi.single j 1) = if i = j then 1 else 0.

    ∀ (n : ℕ) (i j : Fin n), FLT.Halfspace.coord n i (Pi.single j 1) = if i = j then 1 else 0
    Used by
  7. DeclFLT.Halfspace.finiteDimensional_coordSpaceDeclaration kindtheorem

    The coordinate space is finite-dimensional (it is the span of a finite family).

    ∀ (n : ℕ), FiniteDimensional ℝ ↥(FLT.Halfspace.coordSpace n)
    Used by
  8. DeclFLT.Halfspace.vcDim_halfspace_geDeclaration kindtheorem

    VC dimension of homogeneous linear halfspaces: the lower bound. The n standard basis points are shattered, so the VC dimension is at least n.

    ∀ (n : ℕ), ↑n ≤ VCDim (Fin n → ℝ) (signClass (FLT.Halfspace.coordSpace n))
    Uses
    Used by
  9. DeclFLT.Halfspace.shatters_basisPointsDeclaration kindtheorem

    The standard basis points are shattered by homogeneous halfspaces. Given any labelling, the ±1-weighted functional g x = ∑ i, w i * x i with w i = ±1 selected by the label realises it: g (Pi.single j 1) = w j, and 0 < w j iff the label is true.

    ∀ (n : ℕ), Shatters (Fin n → ℝ) (signClass (FLT.Halfspace.coordSpace n)) (FLT.Halfspace.basisPoints n)
    Uses
    Used by
  10. DeclFLT.Halfspace.weighted_singleDeclaration kindtheorem

    A weighted functional evaluated at a standard basis point returns that point's weight: (∑ i, w i * (Pi.single j 1) i) = w j.

    ∀ (n : ℕ) (w : Fin n → ℝ) (j : Fin n), ∑ i, w i * Pi.single j 1 i = w j
    Used by
  11. DeclFLT.Halfspace.weighted_mem_coordSpaceDeclaration kindtheorem

    A ±1-weighted coordinate functional belongs to the coordinate space. Concretely, for any weights w : Fin n → ℝ, the functional x ↦ ∑ i, w i * x i is a member of coordSpace n.

    ∀ (n : ℕ) (w : Fin n → ℝ), (fun x => ∑ i, w i * x i) ∈ FLT.Halfspace.coordSpace n
    Used by
  12. DeclFLT.Halfspace.single_mem_basisPointsDeclaration kindtheorem

    Each standard basis point lies in basisPoints n.

    ∀ (n : ℕ) (i : Fin n), Pi.single i 1 ∈ FLT.Halfspace.basisPoints n
    Used by
  13. DeclFLT.Halfspace.card_basisPointsDeclaration kindtheorem

    There are exactly n standard basis points.

    ∀ (n : ℕ), (FLT.Halfspace.basisPoints n).card = n
    Uses
    Used by
  14. DeclFLT.Halfspace.single_injectiveDeclaration kindtheorem

    The map i ↦ Pi.single i 1 is injective (the basis points are distinct).

    ∀ (n : ℕ), Function.Injective fun i => Pi.single i 1
    Used by
  15. 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)
  16. 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)
  17. DefinitionFLT.Halfspace.basisPointsdef

    The n standard basis points {Pi.single i 1 | i : Fin n} of ℝⁿ. These are the witnesses for the VC-dimension lower bound.

    (n : ℕ) → Finset (Fin n → ℝ)
  18. DefinitionFLT.Halfspace.coorddef

    The i-th coordinate functional x ↦ x i on Fin n → ℝ, viewed as an element of the function space (Fin n → ℝ) → ℝ.

    (n : ℕ) → Fin n → (Fin n → ℝ) → ℝ
  19. DefinitionFLT.Halfspace.coordSpacedef

    The coordinate space: the span of the n coordinate functionals (fun x => x i) inside (Fin n → ℝ) → ℝ. This is the (dual) space of homogeneous linear functionals on ℝⁿ; its sign class is exactly the family of homogeneous linear halfspaces.

    (n : ℕ) → Submodule ℝ ((Fin n → ℝ) → ℝ)
  20. DefinitionShattersdefYaël Dillies

    A set S ⊆ X is shattered by concept class C if every labeling of S is realized by some concept in C.

    (X : Type u) → ConceptClass X Bool → Finset X → Prop
  21. DefinitionVCDimdef

    VC dimension of a concept class: the size of the largest shattered set. Returns ℕ∞ = WithTop ℕ.

    (X : Type u) → ConceptClass X Bool → WithTop ℕ
  22. DefinitionevalAtdef

    Evaluation at a point x : X as a linear functional on V: g ↦ (g : X → ℝ) x.

    {X : Type u} → (V : Submodule ℝ (X → ℝ)) → X → ↥V →ₗ[ℝ] ℝ
  23. DefinitionsignClassdef

    The sign-pattern concept class of a subspace V ≤ (X → ℝ): all concepts of the form x ↦ decide (0 < g x) for some g ∈ V.

    {X : Type u} → Submodule ℝ (X → ℝ) → ConceptClass X Bool
DOIMTH.R-2026-6030
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
e70dfad48239
Verified
2026-09-24T00:00:00Z