MindFormal v1.0.0One Mind

MindFormal.Equations.UnitTransport

07.2 and 08.28 (RP1.4): the hidden-unit change on the original instance. The maps below retain every coordinate and every source loading.

theorem MindFormal.UnitTransport.balls_precomp {E : Type u_1} {F : Type u_2} {G : Type u_3} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup G] {f : F → G} {S : Set E} {D : Set F} (hf : LipschitzOnBalls f D) (L : E →L[ℝ] F) (hL : Set.MapsTo (⇑L) S D) :

Bounded-set primitive regularity survives a linear argument change mapping the new physical domain into the old one.

theorem MindFormal.UnitTransport.balls_postcomp {E : Type u_1} {F : Type u_2} {G : Type u_3} [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup G] [NormedSpace ℝ G] {f : E → F} {S : Set E} (hf : LipschitzOnBalls f S) (L : F →L[ℝ] G) :

A linear output change preserves bounded-set primitive regularity.

theorem MindFormal.UnitTransport.growth_precomp {E : Type u_1} {F : Type u_2} {G : Type u_3} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup G] {f : F → G} {S : Set E} {D : Set F} (hf : PrimitiveGrowth f D) (L : E →L[ℝ] F) (hL : Set.MapsTo (⇑L) S D) :
PrimitiveGrowth (f ∘ ⇑L) S

Primitive linear growth survives a linear change of argument on the stated domains. No growth claim about the assembled products is used.

theorem MindFormal.UnitTransport.growth_postcomp {E : Type u_1} {F : Type u_2} {G : Type u_3} [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup G] [NormedSpace ℝ G] {f : E → F} {S : Set E} (hf : PrimitiveGrowth f S) (L : F →L[ℝ] G) :
PrimitiveGrowth (⇑L ∘ f) S

Primitive linear growth survives a linear change of its output units.

Scalar multiplication as a continuous linear map, for primitive transports.

Equations
Instances For
    @[simp]
    theorem MindFormal.UnitTransport.scalar_apply {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] (a : ℝ) (x : E) :
    (scalar a) x = a • x
    noncomputable def MindFormal.UnitTransport.factor {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) :
    CoordinateIndex (Fin N) n T Λ → ℝ

    RP1.4's diagonal multiplier: relations gain a, values gain its inverse, and activities and traces keep their units.

    Equations
    Instances For
      noncomputable def MindFormal.UnitTransport.state {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) (s : MindState (Fin N) n T Λ) :
      MindState (Fin N) n T Λ

      RP1.4's state map, on all real coordinate arguments.

      Equations
      Instances For
        noncomputable def MindFormal.UnitTransport.stateLinear {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (a : ℝ) :
        MindState (Fin N) n T Λ →L[ℝ] MindState (Fin N) n T Λ

        The state map is linear and continuous for finite coordinate sets.

        Equations
        Instances For
          theorem MindFormal.UnitTransport.stateLinear_apply {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (a : ℝ) (s : MindState (Fin N) n T Λ) :
          (stateLinear a) s = state a s
          theorem MindFormal.UnitTransport.state_inv {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {a : ℝ} (ha : a ≠ 0) (s : MindState (Fin N) n T Λ) :
          state a⁻¹ (state a s) = s

          Nonzero hidden scale has the reciprocal state map as its inverse.

          Pull the value bank back to the original units, leaving activity fixed.

          Equations
          Instances For
            noncomputable def MindFormal.UnitTransport.rescale {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} (I : EquationInstance N n T Λ J) (a : ℝ) (ha : 0 < a) :
            EquationInstance N n T Λ J

            RP1.4's exact primitive coefficient transport for every positive scale. Admission is a separate obligation; this definition does not assume it.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MindFormal.UnitTransport.valueArgument {n : ℕ} {T : Type u_1} [Fintype T] (a : ℝ) :
              ℝ × (Fin n → T → ℝ) →L[ℝ] ℝ × (Fin n → T → ℝ)

              The input/value argument change used by the transported drive and reads.

              Equations
              Instances For
                @[simp]
                theorem MindFormal.UnitTransport.valueArgument_apply {n : ℕ} {T : Type u_1} [Fintype T] (a : ℝ) (z : ℝ × (Fin n → T → ℝ)) :
                (valueArgument a) z = (z.1, a • z.2)
                noncomputable def MindFormal.UnitTransport.driveArgument {n : ℕ} {T : Type u_1} [Fintype T] (a : ℝ) :
                ℝ × ℝ × (Fin n → T → ℝ) →L[ℝ] ℝ × ℝ × (Fin n → T → ℝ)

                The joint input/focus/value argument change retains both input coordinates.

                Equations
                Instances For
                  @[simp]
                  theorem MindFormal.UnitTransport.driveArgument_apply {n : ℕ} {T : Type u_1} [Fintype T] (a : ℝ) (z : ℝ × ℝ × (Fin n → T → ℝ)) :
                  (driveArgument a) z = (z.1, z.2.1, a • z.2.2)
                  theorem MindFormal.UnitTransport.denominator_pos {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) {a : ℝ} (ha : 0 < a) :
                  0 < 1 - I.β + a * I.β

                  RP1.4's mixing denominator is positive under the original admission.

                  theorem MindFormal.UnitTransport.regular {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) :

                  RP1.4 preserves the independent regularity fields of the assembled drift. The only hypotheses are the original admission and positivity of the scale.

                  theorem MindFormal.UnitTransport.state_physical {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) (s : MindState (Fin N) n T Λ) :

                  Scaling the signed coordinates leaves the physical orthant unchanged.

                  noncomputable def MindFormal.UnitTransport.noiseArgument {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (a : ℝ) :

                  The full noise argument map leaves input and focus unchanged.

                  Equations
                  Instances For
                    @[simp]
                    theorem MindFormal.UnitTransport.noiseArgument_apply {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (a : ℝ) (z : InstanceArguments N n T Λ) :
                    (noiseArgument a) z = (state a⁻¹ z.1, z.2)
                    noncomputable def MindFormal.UnitTransport.noiseRows {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} (a : ℝ) :
                    (CoordinateIndex (Fin N) n T Λ → J → ℝ) →L[ℝ] CoordinateIndex (Fin N) n T Λ → J → ℝ

                    The same state map multiplies every column of each noise row.

                    Equations
                    Instances For

                      The noise argument transport respects precisely the instance's original domain.

                      The read pullback is globally Lipschitz in the physical read's inherited metric.

                      The read pullback has the linear map's norm bound, including at zero activity.

                      theorem MindFormal.UnitTransport.read_balls_linear {n : ℕ} {T : Type u_1} [Fintype T] {f : NativeReadState n T → ℝ} (hf : ∀ (R : ℝ), 0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K f {z : NativeReadState n T | ‖↑z‖ ≤ R}) (F : C(NativeReadState n T, NativeReadState n T)) (L : ℝ × (Fin n → T → ℝ) →L[ℝ] ℝ × (Fin n → T → ℝ)) (hF : ∀ (z : NativeReadState n T), ↑(F z) = L ↑z) (R : ℝ) :
                      0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K (f ∘ ⇑F) {z : NativeReadState n T | ‖↑z‖ ≤ R}

                      A read's bounded-set Lipschitz constants transport through any continuous read map induced by a linear map on its ambient coordinates.

                      theorem MindFormal.UnitTransport.read_growth_linear {n : ℕ} {T : Type u_1} [Fintype T] {f : NativeReadState n T → ℝ} (hf : ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |f z| ≤ K * (1 + ‖↑z‖)) (F : C(NativeReadState n T, NativeReadState n T)) (L : ℝ × (Fin n → T → ℝ) →L[ℝ] ℝ × (Fin n → T → ℝ)) (hF : ∀ (z : NativeReadState n T), ↑(F z) = L ↑z) :
                      ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |f (F z)| ≤ K * (1 + ‖↑z‖)

                      Linear read argument changes preserve linear growth, without bounding the signed value bank.

                      theorem MindFormal.UnitTransport.read_balls {n : ℕ} {T : Type u_1} [Fintype T] {f : NativeReadState n T → ℝ} (hf : ∀ (R : ℝ), 0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K f {z : NativeReadState n T | ‖↑z‖ ≤ R}) (a R : ℝ) :
                      0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K (f ∘ ⇑(readArgument a)) {z : NativeReadState n T | ‖↑z‖ ≤ R}

                      A scalar read pullback is the corresponding linear special case.

                      theorem MindFormal.UnitTransport.read_growth {n : ℕ} {T : Type u_1} [Fintype T] {f : NativeReadState n T → ℝ} (hf : ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |f z| ≤ K * (1 + ‖↑z‖)) (a : ℝ) :
                      ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |f ((readArgument a) z)| ≤ K * (1 + ‖↑z‖)

                      Scalar read growth is the corresponding linear special case.

                      theorem MindFormal.UnitTransport.values_update {n : ℕ} {T : Type u_1} (a : ℝ) (v : Fin n → T → ℝ) (b : Fin n) (t : T) (r : ℝ) :
                      a • Function.update v b (Function.update (v b) t r) = Function.update (a • v) b (Function.update ((a • v) b) t (a * r))

                      A scalar value change commutes with replacement of any one bank coordinate.

                      theorem MindFormal.UnitTransport.read_monotone {n : ℕ} {T : Type u_1} {f : NativeReadState n T → ℝ} (hf : ReadValueMonotone f) {a : ℝ} (ha : 0 < a) :

                      Each monotone direction in a read is preserved by a positive value-unit change.

                      theorem MindFormal.UnitTransport.admitted {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) :

                      All primitive admission fields survive RP1.4 for every positive scale. The original admission is the only instance premise; the transported admission, including full joint noise, is concluded.

                      @[simp]
                      theorem MindFormal.UnitTransport.activity_state {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :
                      @[simp]
                      theorem MindFormal.UnitTransport.trace_state {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :
                      @[simp]
                      theorem MindFormal.UnitTransport.relation_state {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) (s : MindState (Fin N) n T Λ) (i j : Fin N) :
                      mindRelation (state a s) i j = a * mindRelation s i j
                      @[simp]
                      theorem MindFormal.UnitTransport.value_state {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (a : ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :
                      theorem MindFormal.UnitTransport.presence_gradient {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) (r : Λ → ℝ) (hr : 0 ≤ r) (l : Λ) :

                      The canonical presence gradient transports on the entire physical trace domain.

                      theorem MindFormal.UnitTransport.extended_drive {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} (I : EquationInstance N n T Λ J) (a : ℝ) (ha : 0 < a) (u q : ℝ) (v : Fin n → T → ℝ) :
                      extendedDrive (rescale I a ha).drive u q (a⁻¹ • v) = a * extendedDrive I.drive u q v

                      The extended two-branch drive transports at every real input and focus argument.

                      theorem MindFormal.UnitTransport.presence_rate {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) (s : MindState (Fin N) n T Λ) (i : Fin N) :

                      The presence rate scales with presence even on the solver's real extension.

                      theorem MindFormal.UnitTransport.residual {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (t : T) (b : Fin n) :

                      III's full residual is invariant under the hidden scale, through the real extension.

                      theorem MindFormal.UnitTransport.inputs {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] (I : EquationInstance N n T Λ J) (a : ℝ) (ha : 0 < a) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :

                      Raw transformed supports scale by a on all real solver arguments.

                      theorem MindFormal.UnitTransport.writer_factors {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) (z : T → Fin n → ℝ) :
                      a * (rescale I a ha).gain z * (1 - (rescale I a ha).β) = I.gain z * (1 - I.β) ∧ (rescale I a ha).gain z * (rescale I a ha).β = I.gain z * I.β

                      Both writer coefficients have exactly the factors required by RP1.4.

                      theorem MindFormal.UnitTransport.drift {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (a : ℝ) (ha : 0 < a) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) :

                      RP1.4 conjugates I, both II writers, all III horizons and D4 on every real argument of the actual extended drift. No constant-gain premise is used.