MindFormal v1.0.0One Mind

MindFormal.Tools.A1067NativeFlowKernel.Baire

The finite Baire classes of maps (P3-12 ยง1, P3-61 C.1). Between topological spaces, a map is of class 0 when it is continuous and of class k + 1 when it is the pointwise limit of a sequence of maps of class k. A class only grows with k; it is kept under composition with a continuous map on either side, under pairing and finite products, and a map of class a after a map of class k is of class a + k. On a metric space a lower semicontinuous real function bounded below, and the indicator of a closed or of an open set, are of class one. Into a metrizable Borel space every finite-class map is Borel. The expectation lemma: if a random element ฮจ z of a Borel space has measurable sections and is continuous in z off one null set, then z โ†ฆ ๐”ผ F(ฮจ z) has the class of any [0, 1]-valued finite-class F; one deterministic tree of approximants of F, each node clipped to [0, 1], serves every sample.

def MindFormal.A1067NativeFlowKernel.BaireClass {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] :
โ„• โ†’ (X โ†’ Y) โ†’ Prop

Baire class k: class 0 is the continuous maps, class k + 1 the pointwise limits of sequences of class-k maps.

Equations
Instances For
    theorem MindFormal.A1067NativeFlowKernel.baireClass_succ {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] {k : โ„•} {f : X โ†’ Y} :
    BaireClass (k + 1) f โ†” โˆƒ (g : โ„• โ†’ X โ†’ Y), (โˆ€ (n : โ„•), BaireClass k (g n)) โˆง โˆ€ (x : X), Filter.Tendsto (fun (n : โ„•) => g n x) Filter.atTop (nhds (f x))
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.succ {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] {k : โ„•} {f : X โ†’ Y} (hf : BaireClass k f) :
    BaireClass (k + 1) f
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.mono {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] {k m : โ„•} {f : X โ†’ Y} (hf : BaireClass k f) (hkm : k โ‰ค m) :
    theorem MindFormal.A1067NativeFlowKernel.baireClass_const {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] (k : โ„•) (y : Y) :
    BaireClass k fun (x : X) => y
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.comp_left {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {k : โ„•} {h : Y โ†’ W} (hh : Continuous h) {f : X โ†’ Y} :
    BaireClass k f โ†’ BaireClass k (h โˆ˜ f)

    A continuous map after a class-k map is of class k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.comp_right {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {k : โ„•} {g : W โ†’ X} (hg : Continuous g) {f : X โ†’ Y} :
    BaireClass k f โ†’ BaireClass k (f โˆ˜ g)

    A class-k map after a continuous map is of class k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.comp {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {a k : โ„•} {g : X โ†’ Y} (hg : BaireClass k g) {f : Y โ†’ W} :
    BaireClass a f โ†’ BaireClass (a + k) (f โˆ˜ g)

    Composition adds classes: a class-a map after a class-k map is of class a + k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.prodMk {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {k : โ„•} {f : X โ†’ Y} {g : X โ†’ W} :
    BaireClass k f โ†’ BaireClass k g โ†’ BaireClass k fun (x : X) => (f x, g x)

    Pairing keeps the class.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.pi {X : Type u_1} [TopologicalSpace X] {ฮน : Type u_4} {Z : ฮน โ†’ Type u_5} [(i : ฮน) โ†’ TopologicalSpace (Z i)] {k : โ„•} {f : (i : ฮน) โ†’ X โ†’ Z i} :
    (โˆ€ (i : ฮน), BaireClass k (f i)) โ†’ BaireClass k fun (x : X) (i : ฮน) => f i x

    Finite products keep the class.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.apply {X : Type u_1} [TopologicalSpace X] {ฮน : Type u_4} {Z : ฮน โ†’ Type u_5} [(i : ฮน) โ†’ TopologicalSpace (Z i)] {k : โ„•} {f : X โ†’ (i : ฮน) โ†’ Z i} (hf : BaireClass k f) (i : ฮน) :
    BaireClass k fun (x : X) => f x i

    A coordinate of a class-k map into a product is of class k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.fst {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {k : โ„•} {f : X โ†’ Y ร— W} (hf : BaireClass k f) :
    BaireClass k fun (x : X) => (f x).1
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.snd {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {k : โ„•} {f : X โ†’ Y ร— W} (hf : BaireClass k f) :
    BaireClass k fun (x : X) => (f x).2
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.binop {X : Type u_1} {Y : Type u_2} {W : Type u_3} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace W] {Z : Type u_4} [TopologicalSpace Z] {k : โ„•} {op : Y โ†’ W โ†’ Z} (hop : Continuous fun (p : Y ร— W) => op p.1 p.2) {f : X โ†’ Y} {g : X โ†’ W} (hf : BaireClass k f) (hg : BaireClass k g) :
    BaireClass k fun (x : X) => op (f x) (g x)

    A continuous binary operation of two class-k maps is of class k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.of_tendsto {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] {k : โ„•} {f : X โ†’ Y} {g : โ„• โ†’ X โ†’ Y} (hg : โˆ€ (n : โ„•), BaireClass k (g n)) (hlim : โˆ€ (x : X), Filter.Tendsto (fun (n : โ„•) => g n x) Filter.atTop (nhds (f x))) :
    BaireClass (k + 1) f

    A limit of class-k maps is of class k + 1.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.add {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f g : X โ†’ โ„} (hf : BaireClass k f) (hg : BaireClass k g) :
    BaireClass k fun (x : X) => f x + g x
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.sub {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f g : X โ†’ โ„} (hf : BaireClass k f) (hg : BaireClass k g) :
    BaireClass k fun (x : X) => f x - g x
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.mul {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f g : X โ†’ โ„} (hf : BaireClass k f) (hg : BaireClass k g) :
    BaireClass k fun (x : X) => f x * g x
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.maxOf {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f g : X โ†’ โ„} (hf : BaireClass k f) (hg : BaireClass k g) :
    BaireClass k fun (x : X) => max (f x) (g x)
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.minOf {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f g : X โ†’ โ„} (hf : BaireClass k f) (hg : BaireClass k g) :
    BaireClass k fun (x : X) => min (f x) (g x)
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.const_sub {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f : X โ†’ โ„} (hf : BaireClass k f) (c : โ„) :
    BaireClass k fun (x : X) => c - f x
    theorem MindFormal.A1067NativeFlowKernel.BaireClass.finset_prod {X : Type u_1} [TopologicalSpace X] {k : โ„•} {ฮน : Type u_4} (s : Finset ฮน) {f : ฮน โ†’ X โ†’ โ„} (hf : โˆ€ i โˆˆ s, BaireClass k (f i)) :
    BaireClass k fun (x : X) => โˆ i โˆˆ s, f i x

    A finite product of class-k real maps is of class k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.finset_sum {X : Type u_1} [TopologicalSpace X] {k : โ„•} {ฮน : Type u_4} (s : Finset ฮน) {f : ฮน โ†’ X โ†’ โ„} (hf : โˆ€ i โˆˆ s, BaireClass k (f i)) :
    BaireClass k fun (x : X) => โˆ‘ i โˆˆ s, f i x

    A finite sum of class-k real maps is of class k.

    theorem MindFormal.A1067NativeFlowKernel.BaireClass.clip {X : Type u_1} [TopologicalSpace X] {k : โ„•} {f : X โ†’ โ„} (hf : BaireClass k f) :
    BaireClass k fun (x : X) => max 0 (min 1 (f x))

    The [0, 1] clipping keeps the class.

    noncomputable def MindFormal.A1067NativeFlowKernel.infConv {M : Type u_4} [PseudoMetricSpace M] (h : M โ†’ โ„) (n : โ„•) (x : M) :

    The inf-convolution approximant x โ†ฆ inf_y (h y + n d(x, y)) of a function bounded below.

    Equations
    Instances For
      theorem MindFormal.A1067NativeFlowKernel.infConv_bdd {M : Type u_4} [PseudoMetricSpace M] {h : M โ†’ โ„} {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) (n : โ„•) (x : M) :
      BddBelow (Set.range fun (y : M) => h y + โ†‘n * dist x y)
      theorem MindFormal.A1067NativeFlowKernel.infConv_le {M : Type u_4} [PseudoMetricSpace M] {h : M โ†’ โ„} {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) (n : โ„•) (x : M) :
      infConv h n x โ‰ค h x
      theorem MindFormal.A1067NativeFlowKernel.le_infConv {M : Type u_4} [PseudoMetricSpace M] [Nonempty M] {h : M โ†’ โ„} {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) (n : โ„•) (x : M) :
      theorem MindFormal.A1067NativeFlowKernel.lipschitz_infConv {M : Type u_4} [PseudoMetricSpace M] [Nonempty M] {h : M โ†’ โ„} {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) (n : โ„•) :
      LipschitzWith (โ†‘n) (infConv h n)
      theorem MindFormal.A1067NativeFlowKernel.infConv_mono {M : Type u_4} [PseudoMetricSpace M] [Nonempty M] {h : M โ†’ โ„} {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) (x : M) :
      Monotone fun (n : โ„•) => infConv h n x
      theorem MindFormal.A1067NativeFlowKernel.tendsto_infConv {M : Type u_4} [PseudoMetricSpace M] [Nonempty M] {h : M โ†’ โ„} {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) (hh : LowerSemicontinuous h) (x : M) :
      Filter.Tendsto (fun (n : โ„•) => infConv h n x) Filter.atTop (nhds (h x))

      The inf-convolutions of a lower semicontinuous function bounded below increase to it.

      theorem MindFormal.A1067NativeFlowKernel.baireClass_one_of_lsc {M : Type u_4} [PseudoMetricSpace M] [Nonempty M] {h : M โ†’ โ„} (hh : LowerSemicontinuous h) {b : โ„} (hb : โˆ€ (y : M), b โ‰ค h y) :

      A lower semicontinuous real function bounded below is of class one.

      The indicator of a closed set is of class one.

      The indicator of an open set is of class one.

      Finite-class maps into a metrizable Borel space are Borel.

      theorem MindFormal.A1067NativeFlowKernel.baireClass_integral {Z : Type u_4} {E : Type u_5} {ฮฉ : Type u_6} [TopologicalSpace Z] [FirstCountableTopology Z] [TopologicalSpace E] [MeasurableSpace E] [OpensMeasurableSpace E] [MeasurableSpace ฮฉ] {ฮผ : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsFiniteMeasure ฮผ] {ฮจ : Z โ†’ ฮฉ โ†’ E} (hฮจm : โˆ€ (z : Z), Measurable (ฮจ z)) (hฮจc : โˆ€แต (ฯ‰ : ฮฉ) โˆ‚ฮผ, Continuous fun (z : Z) => ฮจ z ฯ‰) (k : โ„•) {F : E โ†’ โ„} :
      BaireClass k F โ†’ (โˆ€ (e : E), F e โˆˆ Set.Icc 0 1) โ†’ BaireClass k fun (z : Z) => โˆซ (ฯ‰ : ฮฉ), F (ฮจ z ฯ‰) โˆ‚ฮผ

      The expectation lemma (P3-61 (C1)). If the random element ฮจ z has measurable sections and is continuous in z off one common null set, then for every [0, 1]-valued F of class k, z โ†ฆ ๐”ผ F(ฮจ z) is of class k.