MindFormal v1.0.0One Mind

MindFormal.Equations.PhysicalExtensions

02.12: extending the paper's physical primitive domains for localization. Lipschitz regularity is required only on bounded subsets of those domains; positive-part retractions and a bounded interpolation of the two attention modes provide ordinary real-coordinate extensions. Constant amplitudes only.

def MindFormal.LipschitzOnBalls {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [PseudoMetricSpace F] (f : E → F) (S : Set E) :

02.12: C1's bounded-set Lipschitz condition on a specified primitive domain.

Equations
Instances For
    theorem MindFormal.locallyLipschitz_retract {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [PseudoMetricSpace F] {f : E → F} {S : Set E} (hf : LipschitzOnBalls f S) {r : E → E} {K : NNReal} (hr : LipschitzWith K r) (hS : ∀ (z : E), r z ∈ S) (hn : ∀ (z : E), ‖r z‖ ≤ ‖z‖) :

    02.12, constant-amplitude primitive extension. In normed argument space E and metric target F, suppose f is Lipschitz on each bounded part of S and r is a K-Lipschitz map into S with norm(r z)<=norm(z). Then f composed with r is locally Lipschitz on the whole space. No regularity of f outside S is required. Agreement on S follows separately when r fixes S.

    def MindFormal.positiveVector {J : Type u_1} (z : J → ℝ) :
    J → ℝ

    02.12: coordinatewise positive-part retraction onto a finite orthant.

    Equations
    Instances For
      theorem MindFormal.positiveVector_properties {J : Type u_1} [Fintype J] :
      LipschitzWith 1 positiveVector ∧ (∀ (z : J → ℝ), ‖positiveVector z‖ ≤ ‖z‖) ∧ (∀ (z : J → ℝ), 0 ≤ positiveVector z) ∧ ∀ (z : J → ℝ), 0 ≤ z → positiveVector z = z

      02.12, constant-amplitude domain extension. On a finite real vector space, coordinatewise positive part is one-Lipschitz, decreases the maximum norm, has nonnegative coordinates, and fixes every nonnegative vector.

      def MindFormal.positiveMatrix {J : Type u_1} {K : Type u_2} (z : J → K → ℝ) :
      J → K → ℝ

      02.12: positive-part retraction for the horizon-by-element gain argument.

      Equations
      Instances For
        theorem MindFormal.positiveMatrix_properties {J : Type u_1} {K : Type u_2} [Fintype J] [Fintype K] :
        LipschitzWith 1 positiveMatrix ∧ (∀ (z : J → K → ℝ), ‖positiveMatrix z‖ ≤ ‖z‖) ∧ (∀ (z : J → K → ℝ), 0 ≤ positiveMatrix z) ∧ ∀ (z : J → K → ℝ), 0 ≤ z → positiveMatrix z = z

        02.12, constant-amplitude domain extension. For finite row/column sets, coordinatewise positive part of a matrix is one-Lipschitz, norm decreasing, nonnegative, and the identity on the nonnegative matrix cone.

        02.12: retraction of drive input onto nonnegative input, retaining values.

        Equations
        Instances For

          02.12, constant-amplitude drive extension. For any normed value space, positiveDriveArgument is one-Lipschitz, norm decreasing and has nonnegative input. The value argument is retained, including signed learned values.

          02.12: bounded extension of a binary attention coordinate to [0,1].

          Equations
          Instances For
            def MindFormal.extendedDrive {V : Type u_1} (D : ℝ → ℝ → V → ℝ) (u q : ℝ) (v : V) :

            02.12: extend the two physical attention branches by convex interpolation.

            Equations
            Instances For
              theorem MindFormal.extendedDrive_localLipschitz {V : Type u_1} [NormedAddCommGroup V] (D : ℝ → ℝ → V → ℝ) (hD : ∀ q ∈ {0, 1}, LipschitzOnBalls (fun (z : ℝ × V) => D z.1 q z.2) {z : ℝ × V | 0 ≤ z.1}) :
              LocallyLipschitz fun (z : ℝ × ℝ × V) => extendedDrive D z.1 z.2.1 z.2.2

              02.12, constant-amplitude binary-mode extension. For a normed value space, if each physical drive branch q=0,1 is Lipschitz on bounded parts of u>=0, then extendedDrive is locally Lipschitz jointly in all real u,q,v. No interpolation regularity was assumed of the original binary primitive.

              theorem MindFormal.extendedDrive_eq {V : Type u_1} (D : ℝ → ℝ → V → ℝ) {u q : ℝ} (hu : 0 ≤ u) (hq : q ∈ {0, 1}) (v : V) :
              extendedDrive D u q v = D u q v

              02.12, constant-amplitude binary-mode extension. On its physical domain u>=0, q=0 or q=1, extendedDrive agrees exactly with the original drive.

              theorem MindFormal.extendedDrive_growth {V : Type u_1} [NormedAddCommGroup V] (D : ℝ → ℝ → V → ℝ) {G : ℝ} (hG : 0 ≤ G) (hD : ∀ (u : ℝ), 0 ≤ u → ∀ q ∈ {0, 1}, ∀ (v : V), |D u q v| ≤ G * (1 + u + ‖v‖)) (u q : ℝ) (v : V) :
              |extendedDrive D u q v| ≤ G * (1 + |u| + |q| + ‖v‖)

              02.12, constant-amplitude binary-mode extension. If both physical drive branches have a common nonnegative linear-growth constant G in nonnegative input and signed value norm, the extended drive has global growth constant G in 1+abs(u)+abs(q)+norm(v). Bounded interpolation supplies this bound.