The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.InnerProductSpace.Reproducing
80 declarations and 1 deprecated aliases. Mathlib docs · Source
Reproducing Kernel Hilbert Spaces
This file defines vector-valued reproducing Kernel Hilbert spaces, which are Hilbert spaces of functions, as well as characterizing these spaces in terms of infinite-dimensional positive semidefinite matrices.
Main definitions
RKHS: the class of reproducing kernel Hilbert spacesRKHS.eval: the evaluation operator of a RKHS.RKHS.kerFun: the kernel functions of a RKHS.RKHS.kernel: the kernel of a RKHS as a matrix.RKHS.OfKernel: RKHS constructed from a positive semidefinite matrix.RKHS.outerKernel: the kernel generated from a functionf : X → Vwith the rank-one operators⟪f y, ·⟫ • f xas its entries.
Main results
RKHS.kerFun_dense: the kernel functions are dense in the Hilbert space.RKHS.mem_topologicalClosure_span_kerFun: the representer theorem -- a regularized minimizer lies in the closed span of the kernel sections at the data points.RKHS.posSemidef_kernel: The kernel is positive semidefinite.RKHS.continuous_tfae: The joint continuity of the kernel, the continuity of the evaluation map and continuity of the kernel functions are all equivalent.RKHS.kernel_ofKernel: The kernel of the constructed RKHSOfKernelis equal to the matrix, this is essentially Moore's theorem.RKHS.RKHSSubmodule: a complete submodule of an RKHS is again an RKHS.RKHS.kerFun_submodule: the kernel functions of a submodule RKHS are an orthogonal projection of the kernel functions of the full RKHS.RKHS.kernel_submodule: the kernel of the submodule RKHS is formed by composing the adjoint of the kernel function of the full RKHS with a star projection acting on the kernel function of the full RKHS.
TODO
- Privatize
RKHS.H₀
References
- [Paulsen, Vern I. and Raghupathi, Mrinal, An introduction to the theory of reproducing kernel Hilbert spaces][MR3526117]
Construction of RKHS from kernel
theorem RKHS.kernel.congr_simp E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (a a_1 : X),
a = a_1 → ∀ (a_2 a_3 : X), a_2 = a_3 → RKHS.kernel H a a_2 = RKHS.kernel H a_1 a_3
theorem LinearIsometry.fromCompletion.congr_simp E1 #
∀ {E : Type u_3} {F : Type u_5} {R : Type u_7} {R₂ : Type u_8} [inst : Semiring R] [inst_1 : Semiring R₂]
[inst_2 : SeminormedAddCommGroup E] [inst_3 : Module R E] [inst_4 : UniformContinuousConstSMul R E]
[inst_5 : NormedAddCommGroup F] [inst_6 : Module R₂ F] {σ₁₂ : R →+* R₂} (f f_1 : E →ₛₗᵢ[σ₁₂] F),
f = f_1 →
∀ [inst_7 : PseudoMetricSpace R₂] [inst_8 : CompleteSpace F] [inst_9 : IsBoundedSMul R₂ F],
f.fromCompletion = f_1.fromCompletion
theorem RKHS.equiv.congr_simp E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {H' : Type u_5}
[inst_8 : NormedAddCommGroup H'] [inst_9 : InnerProductSpace 𝕜 H'] [inst_10 : CompleteSpace H']
[inst_11 : RKHS 𝕜 H' X V] (h : RKHS.kernel H = RKHS.kernel H'), RKHS.equiv h = RKHS.equiv h
def RKHS.ctorIdx E1 #
{𝕜 : outParam (Type u_1)} →
{H : Type u_2} →
{X : outParam (Type u_3)} →
{V : outParam (Type u_4)} →
{inst : RCLike 𝕜} →
{inst_1 : NormedAddCommGroup V} →
{inst_2 : InnerProductSpace 𝕜 V} →
{inst_3 : NormedAddCommGroup H} → {inst_4 : InnerProductSpace 𝕜 H} → RKHS 𝕜 H X V → ℕ
theorem RKHS.kerFun.congr_simp E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x x_1 : X),
x = x_1 → RKHS.kerFun H x = RKHS.kerFun H x_1
class RKHS E3 #
(𝕜 : outParam (Type u_1)) →
(H : Type u_2) →
outParam (Type u_3) →
(V : outParam (Type u_4)) →
[inst : RCLike 𝕜] →
[inst_1 : NormedAddCommGroup V] →
[InnerProductSpace 𝕜 V] →
[inst_3 : NormedAddCommGroup H] → [InnerProductSpace 𝕜 H] → Type (max (max u_2 u_3) u_4)
A reproducing kernel Hilbert space is a Hilbert space with an injection to functions mapping into another Hilbert space, such that point evaluation is continuous.
ctor RKHS.mk E0 #
{𝕜 : outParam (Type u_1)} →
{H : Type u_2} →
{X : outParam (Type u_3)} →
{V : outParam (Type u_4)} →
[inst : RCLike 𝕜] →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
[inst_3 : NormedAddCommGroup H] →
[inst_4 : InnerProductSpace 𝕜 H] → (coeCLM : H →L[𝕜] X → V) → Function.Injective ⇑coeCLM → RKHS 𝕜 H X V
abbrev RKHS.coeCLM E1 #
(𝕜 : outParam (Type u_1)) →
{H : Type u_2} →
{X : outParam (Type u_3)} →
{V : outParam (Type u_4)} →
{inst : RCLike 𝕜} →
{inst_1 : NormedAddCommGroup V} →
{inst_2 : InnerProductSpace 𝕜 V} →
{inst_3 : NormedAddCommGroup H} → {inst_4 : InnerProductSpace 𝕜 H} → [self : RKHS 𝕜 H X V] → H →L[𝕜] X → V
Continuous injection to functions from the reproducing kernel Hilbert space H to functions
from the domain X to the Hilbert space V
theorem RKHS.coeCLM_injective E1 #
∀ {𝕜 : outParam (Type u_1)} {H : Type u_2} {X : outParam (Type u_3)} {V : outParam (Type u_4)} {inst : RCLike 𝕜}
{inst_1 : NormedAddCommGroup V} {inst_2 : InnerProductSpace 𝕜 V} {inst_3 : NormedAddCommGroup H}
{inst_4 : InnerProductSpace 𝕜 H} [self : RKHS 𝕜 H X V], Function.Injective ⇑(RKHS.coeCLM 𝕜)
instance RKHS.instFunLike E0 #
{𝕜 : Type u_5} →
{H : Type u_6} →
{X : Type u_7} →
{V : Type u_8} →
{x : RCLike 𝕜} →
{x_1 : NormedAddCommGroup V} →
{x_2 : InnerProductSpace 𝕜 V} →
{x_3 : NormedAddCommGroup H} → {x_4 : InnerProductSpace 𝕜 H} → [RKHS 𝕜 H X V] → FunLike H X V
Each element of a reproducing kernel Hilbert space may be coerced into a function.
theorem RKHS.ext_iff E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] {f g : H}, f = g ↔ ∀ (x : X), f x = g x
theorem RKHS.ext E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] {f g : H}, (∀ (x : X), f x = g x) → f = g
theorem RKHS.coeCLM_apply E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (f : H), (RKHS.coeCLM 𝕜) f = ⇑f
theorem RKHS.coe_zero E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V], ⇑0 = 0
theorem RKHS.coe_add E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (f g : H), ⇑(f + g) = ⇑f + ⇑g
theorem RKHS.coe_sub E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (f g : H), ⇑(f - g) = ⇑f - ⇑g
theorem RKHS.coe_neg E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (f : H), ⇑(-f) = -⇑f
theorem RKHS.coe_smul E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (f : H) (c : 𝕜), ⇑(c • f) = c • ⇑f
def RKHS.eval E3 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
(H : Type u_4) →
[inst_3 : NormedAddCommGroup H] → [inst_4 : InnerProductSpace 𝕜 H] → [RKHS 𝕜 H X V] → X → H →L[𝕜] V
Point evaluation fun f ↦ f x.
theorem RKHS.eval_def E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (x : X), RKHS.eval H x = ContinuousLinearMap.proj x ∘SL RKHS.coeCLM 𝕜
theorem RKHS.eval_apply E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (x : X) (f : H), (RKHS.eval H x) f = f x
theorem RKHS.continuous_eval_const E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (x : X), Continuous fun f ↦ f x
def RKHS.kerFun E3 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
(H : Type u_4) →
[inst_3 : NormedAddCommGroup H] →
[inst_4 : InnerProductSpace 𝕜 H] →
[RKHS 𝕜 H X V] → [CompleteSpace H] → [CompleteSpace V] → X → V →L[𝕜] H
The kernel functions of a reproducing kernel Hilbert space are the adjoint of the point evaluation.
theorem RKHS.kerFun_eq_adjoint_eval E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x : X),
RKHS.kerFun H x = ContinuousLinearMap.adjoint (RKHS.eval H x)
def RKHS.kernel E3 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
(H : Type u_4) →
[inst_3 : NormedAddCommGroup H] →
[inst_4 : InnerProductSpace 𝕜 H] →
[RKHS 𝕜 H X V] → [CompleteSpace H] → [CompleteSpace V] → Matrix X X (V →L[𝕜] V)
The kernel of a reproducing kernel Hilbert space is a matrix of entries given by the kernel functions.
theorem RKHS.kerFun_apply E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (y : X) (v : V) (x : X),
((RKHS.kerFun H y) v) x = (RKHS.kernel H x y) v
theorem RKHS.kernel_apply E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x y : X),
RKHS.kernel H x y = ContinuousLinearMap.adjoint (RKHS.kerFun H x) ∘SL RKHS.kerFun H y
theorem RKHS.adjoint_kerFun E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x : X) (f : H),
(ContinuousLinearMap.adjoint (RKHS.kerFun H x)) f = f x
Point evaluation f ↦ f x is the adjoint of the kernel function kerFun H x.
theorem RKHS.kerFun_inner E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x : X) (v : V) (f : H),
inner 𝕜 ((RKHS.kerFun H x) v) f = inner 𝕜 v (f x)
The "reproducing" property of the kernel functions, left version.
theorem RKHS.inner_kerFun E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x : X) (v : V) (f : H),
inner 𝕜 f ((RKHS.kerFun H x) v) = inner 𝕜 (f x) v
The "reproducing" property of the kernel functions, right version.
theorem RKHS.kernel_inner E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x y : X) (v w : V),
inner 𝕜 ((RKHS.kernel H x y) v) w = inner 𝕜 ((RKHS.kerFun H y) v) ((RKHS.kerFun H x) w)
The "reproducing" property of the kernel.
theorem RKHS.norm_kernel_eq_norm_kerFun_sq E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x : X),
‖RKHS.kernel H x x‖ = ‖RKHS.kerFun H x‖ ^ 2
theorem RKHS.norm_kerFun_eq_sqrt_norm_kernel E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x : X),
‖RKHS.kerFun H x‖ = √‖RKHS.kernel H x x‖
theorem RKHS.norm_kerFun_sub_kerFun_sq E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x y : X),
‖RKHS.kerFun H x - RKHS.kerFun H y‖ ^ 2 =
‖RKHS.kernel H x x - RKHS.kernel H y x - RKHS.kernel H x y + RKHS.kernel H y y‖
theorem RKHS.norm_kerFun_sub_kerFun E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x y : X),
‖RKHS.kerFun H x - RKHS.kerFun H y‖ = √‖RKHS.kernel H x x - RKHS.kernel H y x - RKHS.kernel H x y + RKHS.kernel H y y‖
theorem RKHS.norm_kernel_le E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x y : X),
‖RKHS.kernel H x y‖ ≤ √‖RKHS.kernel H x x‖ * √‖RKHS.kernel H y y‖
theorem RKHS.norm_kernel_sq_le E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (x y : X),
‖RKHS.kernel H x y‖ ^ 2 ≤ ‖RKHS.kernel H x x‖ * ‖RKHS.kernel H y y‖
theorem RKHS.continuous_kernel_tfae E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] [inst_8 : TopologicalSpace X],
[Continuous fun p ↦ RKHS.kernel H p.1 p.2, Continuous (RKHS.kerFun H), Continuous fun x ↦ RKHS.eval H x].TFAE
theorem RKHS.continuous_kernel_iff_continuous_kerFun E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] [inst_8 : TopologicalSpace X],
(Continuous fun p ↦ RKHS.kernel H p.1 p.2) ↔ Continuous (RKHS.kerFun H)
theorem RKHS.continuous_eval_iff_continuous_kerFun E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] [inst_8 : TopologicalSpace X],
(Continuous fun x ↦ RKHS.eval H x) ↔ Continuous (RKHS.kerFun H)
theorem RKHS.continuous_kernel_iff_continuous_eval E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] [inst_8 : TopologicalSpace X],
(Continuous fun p ↦ RKHS.kernel H p.1 p.2) ↔ Continuous fun x ↦ RKHS.eval H x
theorem RKHS.continuous_of_continuous_kernel E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] [inst_8 : TopologicalSpace X],
(Continuous fun p ↦ RKHS.kernel H p.1 p.2) → ∀ (f : H), Continuous ⇑f
theorem RKHS.norm_apply_le E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (f : H) (x : X),
‖f x‖ ≤ ‖f‖ * √‖RKHS.kernel H x x‖
The evaluation of an element f of a reproducing kernel Hilbert space at a point x is
bounded by ‖f‖ times the square root of the kernel diagonal ‖kernel H x x‖ at x.
theorem RKHS.tendstoUniformlyOn_of_norm_kerFun_le E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {C : ℝ} {s : Set X},
(∀ x ∈ s, ‖RKHS.kerFun H x‖ ≤ C) →
∀ {ι : Type u_5} {l : Filter ι} {F : ι → H} {f : H},
Filter.Tendsto F l (nhds f) → TendstoUniformlyOn (fun n ↦ ⇑(F n)) (⇑f) l s
If the kernel functions are uniformly bounded on a set s (‖kerFun H x‖ ≤ C for x ∈ s),
then convergence in H-norm implies uniform convergence of the underlying functions on s.
theorem RKHS.tendstoUniformly_of_norm_kerFun_le E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {C : ℝ},
(∀ (x : X), ‖RKHS.kerFun H x‖ ≤ C) →
∀ {ι : Type u_5} {l : Filter ι} {F : ι → H} {f : H},
Filter.Tendsto F l (nhds f) → TendstoUniformly (fun n ↦ ⇑(F n)) (⇑f) l
If the kernel functions are uniformly bounded (‖kerFun H x‖ ≤ C for all x), then
convergence in H-norm implies uniform convergence of the underlying functions.
theorem RKHS.kerFun_dense E3 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V],
(Submodule.span 𝕜 {x | ∃ x_1 v, (RKHS.kerFun H x_1) v = x}).topologicalClosure = ⊤
The span of the kernel functions is dense.
theorem RKHS.apply_eq_zero_of_mem_orthogonal_span_kerFun E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {ι : Type u_5} {x : ι → X} {f : H},
f ∈ (Submodule.span 𝕜 (Set.range fun iv ↦ (RKHS.kerFun H (x iv.1)) iv.2))ᗮ → ∀ (i : ι), f (x i) = 0
An element of H orthogonal to the kernel sections kerFun H (x i) v at the data points
x i vanishes at every data point.
theorem RKHS.mem_topologicalClosure_span_kerFun E3 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {ι : Type u_5} (x : ι → X)
(L : (ι → V) → ℝ) (Ω : ℝ → ℝ),
StrictMonoOn Ω (Set.Ici 0) →
∀ (f : H),
(∀ (p : H), (L fun i ↦ f (x i)) + Ω ‖f‖ ≤ (L fun i ↦ p (x i)) + Ω ‖p‖) →
f ∈ (Submodule.span 𝕜 (Set.range fun iv ↦ (RKHS.kerFun H (x iv.1)) iv.2)).topologicalClosure
Representer theorem (generalized / Schölkopf–Herbrich–Smola, vector-valued form).
For data points x i, an objective L that
sees f only through its values (f (x i))ᵢ, and a regularizer Ω that is strictly increasing
on [0, ∞), every minimizer of f ↦ L (f ∘ x) + Ω ‖f‖ over the reproducing kernel Hilbert
space H lies in the closed span of the kernel sections kerFun H (x i).
theorem RKHS.isHermitian_kernel E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V], (RKHS.kernel H).IsHermitian
theorem RKHS.posSemidef_kernel E3 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V], (RKHS.kernel H).PosSemidef
The kernel is a positive semidefinite matrix.
instance RKHS.instFactPosSemidefContinuousLinearMapIdKernel E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (H : Type u_4) [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V], Fact (RKHS.kernel H).PosSemidef
theorem RKHS.posSemidef_tfae E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)},
[K.PosSemidef,
K.IsHermitian ∧
∀ (f : X × V →₀ 𝕜),
0 ≤
RCLike.re (f.sum fun xv z ↦ f.sum fun xv' w ↦ (starRingEnd 𝕜) z * w * inner 𝕜 ((K xv'.1 xv.1) xv.2) xv'.2),
K.IsHermitian ∧ ∀ (vv : X →₀ V), 0 ≤ RCLike.re (vv.sum fun x w ↦ vv.sum fun x' w' ↦ inner 𝕜 ((K x' x) w) w')].TFAE
theorem RKHS.posSemidef_iff_re_sum_kernel E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)},
K.PosSemidef ↔
K.IsHermitian ∧
∀ (f : X × V →₀ 𝕜),
0 ≤ RCLike.re (f.sum fun xv z ↦ f.sum fun xv' w ↦ (starRingEnd 𝕜) z * w * inner 𝕜 ((K xv'.1 xv.1) xv.2) xv'.2)
theorem RKHS.posSemidef_iff_re_sum_kernel' E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)},
K.PosSemidef ↔
K.IsHermitian ∧ ∀ (vv : X →₀ V), 0 ≤ RCLike.re (vv.sum fun x w ↦ vv.sum fun x' w' ↦ inner 𝕜 ((K x' x) w) w')
theorem Matrix.PosSemidef.re_sum_kernel E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)},
K.PosSemidef →
∀ (f : X × V →₀ 𝕜),
0 ≤ RCLike.re (f.sum fun xv z ↦ f.sum fun xv' w ↦ (starRingEnd 𝕜) z * w * inner 𝕜 ((K xv'.1 xv.1) xv.2) xv'.2)
theorem Matrix.PosSemidef.re_sum_kernel' E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)},
K.PosSemidef → ∀ (vv : X →₀ V), 0 ≤ RCLike.re (vv.sum fun x w ↦ vv.sum fun x' w' ↦ inner 𝕜 ((K x' x) w) w')
abbrev RKHS.H₀ E1 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] → Matrix X X (V →L[𝕜] V) → Type (max (max u_3 u_2) u_1)
Auxiliary construction for OfKernel. TODO: Privatize
instance RKHS.instPreInnerProductSpaceCoreH₀ E0 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
[inst_3 : CompleteSpace V] →
{K : Matrix X X (V →L[𝕜] V)} → [Fact K.PosSemidef] → PreInnerProductSpace.Core 𝕜 (RKHS.H₀ K)
instance RKHS.instSeminormedAddCommGroupH₀ E0 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
[inst_3 : CompleteSpace V] →
{K : Matrix X X (V →L[𝕜] V)} → [Fact K.PosSemidef] → SeminormedAddCommGroup (RKHS.H₀ K)
instance RKHS.instInnerProductSpaceH₀ E0 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
[inst_3 : CompleteSpace V] →
{K : Matrix X X (V →L[𝕜] V)} → [inst_4 : Fact K.PosSemidef] → InnerProductSpace 𝕜 (RKHS.H₀ K)
abbrev RKHS.OfKernel E3 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
[inst_3 : CompleteSpace V] →
(K : Matrix X X (V →L[𝕜] V)) → [Fact K.PosSemidef] → Type (max (max u_3 u_2) u_1)
The reproducing kernel Hilbert space generated by a positive semidefinite matrix. TODO: Make nonexposed def once deriving is fixed. See https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/backward.2EisDefEq.2ErespectTransparency/near/578850754
instance RKHS.OfKernel.instRKHS E0 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
[inst_3 : CompleteSpace V] →
{K : Matrix X X (V →L[𝕜] V)} → [inst_4 : Fact K.PosSemidef] → RKHS 𝕜 (RKHS.OfKernel K) X V
theorem RKHS.OfKernel.kernel_ofKernel E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)} [inst_4 : Fact K.PosSemidef],
RKHS.kernel (RKHS.OfKernel K) = K
The kernel of the reproducing kernel Hilbert space generated by a positive semidefinite matrix is the original positive semidefinite matrix.
def RKHS.equiv E1 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
{H : Type u_4} →
[inst_3 : NormedAddCommGroup H] →
[inst_4 : InnerProductSpace 𝕜 H] →
[inst_5 : RKHS 𝕜 H X V] →
[inst_6 : CompleteSpace H] →
[inst_7 : CompleteSpace V] →
{H' : Type u_5} →
[inst_8 : NormedAddCommGroup H'] →
[inst_9 : InnerProductSpace 𝕜 H'] →
[inst_10 : CompleteSpace H'] →
[inst_11 : RKHS 𝕜 H' X V] → RKHS.kernel H = RKHS.kernel H' → H ≃ₗᵢ[𝕜] H'
If the two RKHS have the same kernel, then they are isometrically isomorphic.
theorem RKHS.equiv_kerFun E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {H' : Type u_5}
[inst_8 : NormedAddCommGroup H'] [inst_9 : InnerProductSpace 𝕜 H'] [inst_10 : CompleteSpace H']
[inst_11 : RKHS 𝕜 H' X V] (h : RKHS.kernel H = RKHS.kernel H') (x : X) (v : V),
(RKHS.equiv h) ((RKHS.kerFun H x) v) = (RKHS.kerFun H' x) v
theorem RKHS.coe_equiv E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] {H' : Type u_5}
[inst_8 : NormedAddCommGroup H'] [inst_9 : InnerProductSpace 𝕜 H'] [inst_10 : CompleteSpace H']
[inst_11 : RKHS 𝕜 H' X V] (h : RKHS.kernel H = RKHS.kernel H') (f : H), ⇑((RKHS.equiv h) f) = ⇑f
If the two RKHS have the same kernel, then the functions in the RKHSs agree as functions on
X → V.
instance RKHS.instRKHSSubmodule E0 #
{𝕜 : Type u_1} →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] →
[inst_2 : InnerProductSpace 𝕜 V] →
{H : Type u_4} →
[inst_3 : NormedAddCommGroup H] →
[inst_4 : InnerProductSpace 𝕜 H] → [RKHS 𝕜 H X V] → (H₀ : Submodule 𝕜 H) → RKHS 𝕜 (↥H₀) X V
theorem RKHS.coe_coe E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] (H₀ : Submodule 𝕜 H) (f : ↥H₀), ⇑↑f = ⇑f
theorem RKHS.kerFun_submodule E3 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (H₀ : Submodule 𝕜 H)
[inst_8 : CompleteSpace ↥H₀] (x : X), RKHS.kerFun (↥H₀) x = H₀.orthogonalProjectionOnto ∘SL RKHS.kerFun H x
theorem RKHS.kernel_submodule E3 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (H₀ : Submodule 𝕜 H)
[inst_8 : CompleteSpace ↥H₀] (x y : X),
RKHS.kernel (↥H₀) x y = ContinuousLinearMap.adjoint (RKHS.kerFun H x) ∘SL H₀.starProjection ∘SL RKHS.kerFun H y
theorem RKHS.kernel_orthogonal E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [inst_6 : CompleteSpace H] [inst_7 : CompleteSpace V] (H₀ : Submodule 𝕜 H)
[inst_8 : CompleteSpace ↥H₀], RKHS.kernel ↥H₀ᗮ = RKHS.kernel H - RKHS.kernel ↥H₀
def RKHS.outerKernel E3 #
(𝕜 : Type u_1) →
[inst : RCLike 𝕜] →
{X : Type u_2} →
{V : Type u_3} →
[inst_1 : NormedAddCommGroup V] → [inst_2 : InnerProductSpace 𝕜 V] → (X → V) → Matrix X X (V →L[𝕜] V)
The kernel generated from a function f : X → V with the rank-one operators
⟪f y, ·⟫ • f x as its entries.
theorem RKHS.outerKernel_apply E0 #
∀ (𝕜 : Type u_1) [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (f : X → V) (x y : X),
RKHS.outerKernel 𝕜 f x y = ((InnerProductSpace.rankOne 𝕜) (f x)) (f y)
theorem RKHS.outerKernel_zero E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V], RKHS.outerKernel 𝕜 0 = 0
theorem RKHS.outerKernel_inner E1 #
∀ (𝕜 : Type u_1) [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (f : X → V) (x y : X) (u v : V),
inner 𝕜 ((RKHS.outerKernel 𝕜 f x y) u) v = (starRingEnd 𝕜) (inner 𝕜 (f y) u) * inner 𝕜 (f x) v
theorem RKHS.inner_outerKernel E1 #
∀ (𝕜 : Type u_1) [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] (f : X → V) (x y : X) (u v : V),
inner 𝕜 u ((RKHS.outerKernel 𝕜 f x y) v) = (starRingEnd 𝕜) (inner 𝕜 v (f y)) * inner 𝕜 u (f x)
theorem RKHS.posSemidef_outerKernel E1 #
∀ (𝕜 : Type u_1) [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] (f : X → V), (RKHS.outerKernel 𝕜 f).PosSemidef
instance RKHS.instFactPosSemidefContinuousLinearMapIdOuterKernel E0 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] (f : X → V), Fact (RKHS.outerKernel 𝕜 f).PosSemidef
theorem RKHS.kernel_span_singleton E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] {H : Type u_4} [inst_3 : NormedAddCommGroup H] [inst_4 : InnerProductSpace 𝕜 H]
[inst_5 : RKHS 𝕜 H X V] [CompleteSpace H] [inst_7 : CompleteSpace V] (f : H),
RKHS.kernel ↥(𝕜 ∙ f) = (↑‖f‖)⁻¹ ^ 2 • RKHS.outerKernel 𝕜 ⇑f
theorem RKHS.posSemidef_norm_sq_smul_kernel_sub_outerKernel E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {X : Type u_2} {V : Type u_3} [inst_1 : NormedAddCommGroup V]
[inst_2 : InnerProductSpace 𝕜 V] [inst_3 : CompleteSpace V] {K : Matrix X X (V →L[𝕜] V)} [inst_4 : Fact K.PosSemidef]
(f : RKHS.OfKernel K), (↑‖f‖ ^ 2 • K - RKHS.outerKernel 𝕜 ⇑f).PosSemidef
Deprecated aliases
| Name | New name | Since |
|---|---|---|
RKHS.continuous_eval | RKHS.continuous_eval_const | 2026-08-19 |