Documentation

LeanPool.Superdiffusion.Algsuperdiff.Section3.Provider.Affine.KuhnWeakGradient

KuhnWeakGradient #

Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.

Weak gradients of finite Kuhn-affine zero extensions #

This file proves the finite-mesh analytic bridge needed for one component of the Section 3 piecewise-affine competitor. zeroExtendedKuhnAffine agrees with the proved Kuhn interpolant on a finite equal-scale mesh and is literally zero off the closed-cell union. Coordinate slicing gives a bounded classical line derivative away from finitely many endpoints; one-dimensional integration by parts and Fubini then identify an ambient weak derivative.

Everything here is restated and reproved at this repository's KuhnCell, kuhnInterp, and gluedKuhnAffine carriers.

Parameters at which a coordinate line meets one closed Kuhn cell.

Equations
Instances For

    Inserting the varying coordinate into a fixed coordinate line is an isometry.

    A coordinate slice of a closed Kuhn cell is compact.

    A coordinate slice of a closed Kuhn cell is convex.

    A nonempty coordinate slice is the interval between its extrema.

    The at-most-two endpoints of one coordinate slice.

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

      Away from the endpoints, slice membership is locally constant.

      The finite endpoint set contributed by every cell in a finite mesh.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem Algsuperdiff.Section3.Provider.Affine.eventually_forall_mem_coordSlice_iff {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (i : Fin (n + 1)) (z : HCPolySupport.Vec n) {t : ℝ} (ht : t ∉ kuhnCellSliceEndpoints cells i z) :
        ∀ᶠ (s : ℝ) in nhds t, ∀ T ∈ cells, s ∈ kuhnCellCoordSlice T i z ↔ t ∈ kuhnCellCoordSlice T i z

        Off the endpoint set, membership in every mesh cell is locally constant.

        The zero-off-mesh representative and its line derivatives #

        The zero extension of a finite Kuhn gluing. Unlike gluedKuhnAffine, which returns its datum off the mesh, this is the representative needed for a compactly supported component correction.

        Equations
        Instances For
          theorem Algsuperdiff.Section3.Provider.Affine.zeroExtendedKuhnAffine_of_mem_closedCarrier {d : ℕ} {cells : Finset (Whitney.KuhnCell d)} {scale : ℤ} (hscale : ∀ T ∈ cells, T.supportCube.scale = scale) (g : HCPolySupport.Vec d → ℝ) {T : Whitney.KuhnCell d} (hT : T ∈ cells) {x : HCPolySupport.Vec d} (hx : x ∈ T.closedCarrier) :

          On a selected closed cell, the zero extension is that cell's interpolant.

          Off every selected closed cell, the zero extension is zero.

          noncomputable def Algsuperdiff.Section3.Provider.Affine.zeroExtendedKuhnAffineLineSlope {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (g : HCPolySupport.Vec (n + 1) → ℝ) (i : Fin (n + 1)) (z : HCPolySupport.Vec n) (t : ℝ) :

          The selected coordinate slope along a line, with value zero off the mesh.

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

            A uniform bound for all selected slopes in one coordinate.

            Equations
            Instances For

              The coordinate-slope bound is nonnegative.

              theorem Algsuperdiff.Section3.Provider.Affine.hasDerivAt_zeroExtendedKuhnAffine_insertNth_of_not_mem_endpoints {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (g : HCPolySupport.Vec (n + 1) → ℝ) {scale : ℤ} (hscale : ∀ T ∈ cells, T.supportCube.scale = scale) (i : Fin (n + 1)) (z : HCPolySupport.Vec n) {t : ℝ} (ht : t ∉ kuhnCellSliceEndpoints cells i z) :
              HasDerivAt (fun (s : ℝ) => zeroExtendedKuhnAffine cells g (i.insertNth s z)) (zeroExtendedKuhnAffineLineSlope cells g i z t) t

              Away from slice endpoints, the coordinate-line derivative is the selected slope.

              Every selected line slope is bounded by the finite coordinate sum.

              theorem Algsuperdiff.Section3.Provider.Affine.lipschitzWith_zeroExtendedKuhnAffine_insertNth {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (g : HCPolySupport.Vec (n + 1) → ℝ) {scale : ℤ} (hscale : ∀ T ∈ cells, T.supportCube.scale = scale) (hcontinuous : Continuous (zeroExtendedKuhnAffine cells g)) (i : Fin (n + 1)) (z : HCPolySupport.Vec n) :

              A continuous finite equal-scale zero extension is Lipschitz on every coordinate line.

              noncomputable def Algsuperdiff.Section3.Provider.Affine.zeroExtendedKuhnAffineCoordDeriv {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (g : HCPolySupport.Vec (n + 1) → ℝ) (i : Fin (n + 1)) (x : HCPolySupport.Vec (n + 1)) :

              The ambient representative of the coordinate-line derivative.

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

                The coordinate-line derivative representative is measurable.

                theorem Algsuperdiff.Section3.Provider.Affine.norm_zeroExtendedKuhnAffineCoordDeriv_le {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (g : HCPolySupport.Vec (n + 1) → ℝ) {scale : ℤ} (hscale : ∀ T ∈ cells, T.supportCube.scale = scale) (hcontinuous : Continuous (zeroExtendedKuhnAffine cells g)) (i : Fin (n + 1)) (x : HCPolySupport.Vec (n + 1)) :

                The ambient derivative representative obeys the finite coordinate bound.

                One-dimensional integration by parts #

                theorem Algsuperdiff.Section3.Provider.Affine.integral_zeroExtendedKuhnAffine_mul_testCoordDeriv_eq_neg {n : ℕ} (cells : Finset (Whitney.KuhnCell (n + 1))) (g : HCPolySupport.Vec (n + 1) → ℝ) {scale : ℤ} (hscale : ∀ T ∈ cells, T.supportCube.scale = scale) (hcontinuous : Continuous (zeroExtendedKuhnAffine cells g)) {φ : HCPolySupport.Vec (n + 1) → ℝ} (hφ : ContDiff ℝ (↑⊤) φ) (hφc : HasCompactSupport φ) (i : Fin (n + 1)) (z : HCPolySupport.Vec n) :
                ∫ (t : ℝ), zeroExtendedKuhnAffine cells g (i.insertNth t z) * (fderiv ℝ φ (i.insertNth t z)) (HCPolySupport.basisVec i) = -∫ (t : ℝ), deriv (fun (s : ℝ) => zeroExtendedKuhnAffine cells g (i.insertNth s z)) t * φ (i.insertNth t z)

                Coordinate-line integration by parts for the zero-extended gluing.

                Ambient weak derivatives #

                The coordinate-line representative is a weak partial derivative on ambient space.

                theorem Algsuperdiff.Section3.Provider.Affine.zeroExtendedKuhnAffineCoordDeriv_eq_of_mem_openCarrier {n : ℕ} {cells : Finset (Whitney.KuhnCell (n + 1))} {g : HCPolySupport.Vec (n + 1) → ℝ} {scale : ℤ} (hscale : ∀ T ∈ cells, T.supportCube.scale = scale) {T : Whitney.KuhnCell (n + 1)} (hT : T ∈ cells) {x : HCPolySupport.Vec (n + 1)} (hx : x ∈ T.openCarrier) (i : Fin (n + 1)) :

                On the interior of a mesh cell, the line-derivative representative is the literal Kuhn slope coordinate.