Documentation

MiscMath.Analysis.KolmogorovArnold.Superposition

The superposition operator and the approximation sets #

Support module for MiscMath.Analysis.KolmogorovArnold, where the theorem is stated and where the reader should start; Layer 1 of the development. Its declarations are proof: machine-generated, kernel-checked and axiom-audited, and may be read by no one.

Given constants λ_1, …, λ_n and a tuple ψ = (ψ_0, …, ψ_{2n}) of inner functions on I = [0, 1], the superposition of an outer function g : ℝ → ℝ is

x ↦ ∑_{q} g (∑_{p} λ_p ψ_q (x_p))

on the cube Iⁿ. The representation theorem says that for a suitable universal ψ every continuous f on the cube is such a superposition. The Baire-category proof (Hedberg 1971, Kahane 1975) gets there by considering, for one fixed f, the set of tuples ψ that admit a one-step approximation of f — an outer function g of norm at most δ with ‖f - ∑_q g ∘ y_q‖ < θ — and showing that this set is open and dense in the complete metric space of tuples. This module defines the operator and that set, and proves the openness. The density is Layer 2, and it is where all the work is.

What this module proves #

Fix n, constants λ : Fin n → ℝ, and a tuple ψ of 2n + 1 monotone continuous functions I → ℝ. Write y_q(x) = ∑_p λ_p ψ_q(x_p) for the inner sums, continuous on the cube.

The inner sums and the superposition depend continuously on the tuple ψ (continuous_innerSum, continuous_superpose), which is the whole content of the openness.

Source #

Sanity checks #

The examples below compute the definitions in the n = 1 case with the identity inner functions and λ = 1 — the inner sums are x ↦ x_0 and the superposition is 3 g(x_0) — and check the approximation sets at their edges: for f = 0 every tuple is in approxSet λ δ θ 0 as soon as 0 ≤ δ and 0 < θ (take g = 0), and approxSet λ δ θ f is empty when θ ≤ 0. The first says the definition is not vacuous; the second that the strict inequality is really there.

Relation to Mathlib #

The operator is a ContinuousLinearMap between Mathlib's Banach spaces ℝ →ᵇ ℝ (BoundedContinuousFunction) and C(Fin n → I, ℝ); the openness rests on ContinuousMap.continuous_postcomp and ContinuousMap.continuous_precomp from Topology/CompactOpen.lean, which apply because the sup-metric topology on C(K, ℝ) for compact K is the compact-open topology. Nothing about superpositions of this shape is in Mathlib.

The coordinate projection x ↦ x p as a continuous map on the cube.

Equations
Instances For
    @[simp]
    theorem MiscMath.Analysis.KolmogorovArnold.proj_apply {n : } (p : Fin n) (x : Fin nunitInterval) :
    (proj p) x = x p
    def MiscMath.Analysis.KolmogorovArnold.innerSum {n : } (lam : Fin n) (ψ : InnerTuple n) (q : Fin (2 * n + 1)) :

    The q-th inner sum y_q(x) = ∑_p λ_p ψ_q(x_p), as a continuous map on the cube.

    Equations
    Instances For
      @[simp]
      theorem MiscMath.Analysis.KolmogorovArnold.innerSum_apply {n : } (lam : Fin n) (ψ : InnerTuple n) (q : Fin (2 * n + 1)) (x : Fin nunitInterval) :
      (innerSum lam ψ q) x = p : Fin n, lam p * (ψ q) (x p)
      theorem MiscMath.Analysis.KolmogorovArnold.continuous_innerSum {n : } (lam : Fin n) (q : Fin (2 * n + 1)) :
      Continuous fun (ψ : InnerTuple n) => innerSum lam ψ q

      The inner sums depend continuously on the tuple of inner functions.

      The superposition g ↦ ∑_q g ∘ y_q as a linear map.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The superposition operator g ↦ ∑_q g ∘ y_q, a bounded linear map from bounded continuous functions on the line to continuous functions on the cube.

        Equations
        Instances For
          theorem MiscMath.Analysis.KolmogorovArnold.superpose_eq_sum {n : } (lam : Fin n) (ψ : InnerTuple n) (g : BoundedContinuousFunction ) :
          (superpose lam ψ) g = q : Fin (2 * n + 1), g.comp (innerSum lam ψ q)
          @[simp]
          theorem MiscMath.Analysis.KolmogorovArnold.superpose_apply {n : } (lam : Fin n) (ψ : InnerTuple n) (g : BoundedContinuousFunction ) (x : Fin nunitInterval) :
          ((superpose lam ψ) g) x = q : Fin (2 * n + 1), g ((innerSum lam ψ q) x)

          For a fixed outer function, the superposition depends continuously on the tuple.

          def MiscMath.Analysis.KolmogorovArnold.approxSet {n : } (lam : Fin n) (δ θ : ) (f : C(Fin nunitInterval, )) :

          The approximation set U_f of Hedberg, Ω(f) of Kahane: the tuples ψ for which some outer function of norm at most δ brings the superposition within θ of f.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MiscMath.Analysis.KolmogorovArnold.mem_approxSet {n : } {lam : Fin n} {δ θ : } {f : C(Fin nunitInterval, )} {ψ : InnerTuple n} :
            ψ approxSet lam δ θ f ∃ (g : BoundedContinuousFunction ), g δ f - (superpose lam ψ) g < θ
            theorem MiscMath.Analysis.KolmogorovArnold.isOpen_approxSet {n : } (lam : Fin n) (δ θ : ) (f : C(Fin nunitInterval, )) :
            IsOpen (approxSet lam δ θ f)

            The approximation set is open (Hedberg, Lemma 2; Kahane, p. 231): an outer function that works for ψ works for every tuple close enough to ψ.

            Sanity checks #