Documentation

TauCeti.Analysis.PositiveDefinite.Kernel.Kolmogorov

Kolmogorov decomposition of a positive-definite kernel #

This file constructs the canonical Hilbert-space realization of a scalar-valued positive-definite kernel. A kernel K : Ξ± β†’ Ξ± β†’ π•œ is first regarded as the operator-valued kernel whose (a, b) entry is multiplication by K a b on the one-dimensional Hilbert space π•œ. Mathlib's RKHS.OfKernel construction then gives a Hilbert space and kernel vectors Ξ¦ a satisfying

βŸͺΞ¦ a, Ξ¦ b⟫_π•œ = K a b.

The span of the kernel vectors is dense, so this is the minimal Kolmogorov decomposition rather than an arbitrary realization. Its universal property gives a unique linear isometry into any other realization, and a linear isometric equivalence when that realization is also minimal.

The completion and reproducing-kernel construction are Mathlib's RKHS.OfKernel; this file supplies the scalar-kernel bridge and its characteristic API.

Main declarations #

References #

noncomputable def TauCeti.positiveDefiniteKernelOperator {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} (K : Ξ± β†’ Ξ± β†’ π•œ) :
Matrix Ξ± Ξ± (π•œ β†’L[π•œ] π•œ)

A scalar kernel regarded as an operator-valued kernel on the one-dimensional Hilbert space π•œ: the entry at (a, b) is left multiplication by K a b.

Equations
Instances For
    @[simp]
    theorem TauCeti.positiveDefiniteKernelOperator_apply {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} (K : Ξ± β†’ Ξ± β†’ π•œ) (a b : Ξ±) (z : π•œ) :
    theorem TauCeti.posSemidef_positiveDefiniteKernelOperator {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : Matrix.PosSemidef K) :

    The operator-valued kernel obtained from a scalar positive-definite kernel is positive semidefinite. This is the bridge needed by Mathlib's RKHS.OfKernel construction.

    @[reducible, inline]
    noncomputable abbrev Matrix.PosSemidef.KolmogorovSpace {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : PosSemidef K) :
    Type (max u v)

    The canonical Hilbert space in the Kolmogorov decomposition of K.

    This is an abbreviation because Mathlib's RKHS.OfKernel currently has to be an abbreviation in order for its normed-group and inner-product instances to reduce.

    Equations
    Instances For
      noncomputable def Matrix.PosSemidef.kolmogorovFeature {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : PosSemidef K) (a : Ξ±) :

      The canonical feature map into the Kolmogorov space. It sends a to the reproducing-kernel vector at a, evaluated on the scalar 1.

      Equations
      Instances For
        @[simp]
        theorem Matrix.PosSemidef.inner_kolmogorovFeature {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : PosSemidef K) (a b : Ξ±) :
        inner π•œ (hK.kolmogorovFeature a) (hK.kolmogorovFeature b) = K a b

        Kolmogorov identity. Inner products of the canonical feature vectors recover the original kernel.

        @[simp]
        theorem Matrix.PosSemidef.norm_kolmogorovFeature_sq {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : PosSemidef K) (a : Ξ±) :

        The squared norm of a canonical feature vector is the real part of the corresponding diagonal kernel value.

        @[simp]
        theorem Matrix.PosSemidef.norm_kolmogorovFeature_sub_sq {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : PosSemidef K) (a b : Ξ±) :

        The squared distance between two canonical feature vectors, expressed entirely in terms of the original kernel.

        theorem Matrix.PosSemidef.kolmogorovFeature_dense {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} (hK : PosSemidef K) :

        The canonical feature vectors have dense linear span in the Kolmogorov space. Thus the construction is minimal: it contains no orthogonal summand invisible to the kernel.

        noncomputable def Matrix.PosSemidef.kolmogorovIsometry {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} {E : Type w} [NormedAddCommGroup E] [InnerProductSpace π•œ E] [CompleteSpace E] (hK : PosSemidef K) (Ο† : Ξ± β†’ E) (hΟ† : βˆ€ (a b : Ξ±), inner π•œ (Ο† a) (Ο† b) = K a b) :

        The unique linear isometry from the canonical Kolmogorov space into any Hilbert-space realization of K. It sends each canonical feature vector to the corresponding vector in the given realization.

        Equations
        Instances For
          @[simp]
          theorem Matrix.PosSemidef.kolmogorovIsometry_apply {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} {E : Type w} [NormedAddCommGroup E] [InnerProductSpace π•œ E] [CompleteSpace E] (hK : PosSemidef K) (Ο† : Ξ± β†’ E) (hΟ† : βˆ€ (a b : Ξ±), inner π•œ (Ο† a) (Ο† b) = K a b) (a : Ξ±) :
          (hK.kolmogorovIsometry φ hφ) (hK.kolmogorovFeature a) = φ a

          The universal comparison isometry sends canonical feature vectors to the vectors of the given realization.

          theorem Matrix.PosSemidef.kolmogorovIsometry_unique {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} {E : Type w} [NormedAddCommGroup E] [InnerProductSpace π•œ E] [CompleteSpace E] (hK : PosSemidef K) (Ο† : Ξ± β†’ E) (hΟ† : βˆ€ (a b : Ξ±), inner π•œ (Ο† a) (Ο† b) = K a b) (T : hK.KolmogorovSpace β†’β‚—α΅’[π•œ] E) (hT : βˆ€ (a : Ξ±), T (hK.kolmogorovFeature a) = Ο† a) :
          T = hK.kolmogorovIsometry φ hφ

          A linear isometry out of the canonical Kolmogorov space is uniquely determined by its values on the canonical feature vectors.

          theorem Matrix.PosSemidef.kolmogorovIsometry_surjective {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} {E : Type w} [NormedAddCommGroup E] [InnerProductSpace π•œ E] [CompleteSpace E] (hK : PosSemidef K) (Ο† : Ξ± β†’ E) (hΟ† : βˆ€ (a b : Ξ±), inner π•œ (Ο† a) (Ο† b) = K a b) (hΟ†dense : (Submodule.span π•œ (Set.range Ο†)).topologicalClosure = ⊀) :

          If the vectors in a realization of K have dense linear span, the universal comparison isometry is surjective.

          noncomputable def Matrix.PosSemidef.kolmogorovEquiv {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} {E : Type w} [NormedAddCommGroup E] [InnerProductSpace π•œ E] [CompleteSpace E] (hK : PosSemidef K) (Ο† : Ξ± β†’ E) (hΟ† : βˆ€ (a b : Ξ±), inner π•œ (Ο† a) (Ο† b) = K a b) (hΟ†dense : (Submodule.span π•œ (Set.range Ο†)).topologicalClosure = ⊀) :

          The canonical Kolmogorov space is linearly isometric to every other minimal realization of the same kernel.

          Equations
          Instances For
            @[simp]
            theorem Matrix.PosSemidef.kolmogorovEquiv_apply {π•œ : Type u} [RCLike π•œ] {Ξ± : Type v} {K : Ξ± β†’ Ξ± β†’ π•œ} {E : Type w} [NormedAddCommGroup E] [InnerProductSpace π•œ E] [CompleteSpace E] (hK : PosSemidef K) (Ο† : Ξ± β†’ E) (hΟ† : βˆ€ (a b : Ξ±), inner π•œ (Ο† a) (Ο† b) = K a b) (hΟ†dense : (Submodule.span π•œ (Set.range Ο†)).topologicalClosure = ⊀) (a : Ξ±) :
            (hK.kolmogorovEquiv φ hφ hφdense) (hK.kolmogorovFeature a) = φ a

            The equivalence with another minimal realization sends canonical feature vectors to the vectors of that realization.