MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.HeldCoefficient

11.14 (SF7)-(SF8), (SF5)-(SF6): the held-coefficient comparison read on the continuing-learning reference and the actual mind. Coefficient intervals certified along the reference (the within-set links, each member's remaining raw support and the external load, every signed coefficient change paid) give SF8's simultaneous target envelopes; a low region inward for the upper envelope is invariant and gives SF5's pullback with that envelope, a high region inward for the lower envelope gives SF6's recruitment; the corridor then carries both to the actual noisy mind with its error and failure probability.

noncomputable def MindFormal.sf8Upper (ψ : ℝ → ℝ) (g : ℝ) (M : ℕ) (Wl Wh Il Ih Hl X : ℝ) :

SF8: the upper envelope of a member's target at total new activity X: upper useful input against the lower external load and the other members' lower inputs.

Equations
Instances For
    noncomputable def MindFormal.sf8Lower (ψ : ℝ → ℝ) (g : ℝ) (M : ℕ) (Wl Wh Il Ih Hh X : ℝ) :

    SF8: the lower envelope: lower useful input against the upper external load and the other members' upper inputs.

    Equations
    Instances For
      theorem MindFormal.share_envelope {N : ℕ} {σ g : ℝ} (S : Finset (Fin N)) {i : Fin N} (hi : i ∈ S) (Jv : Fin N → ℝ) (hJ : ∀ (j : Fin N), 0 ≤ Jv j) {Jlo Jhi Hlo Hhi : ℝ} (hJlo : 0 ≤ Jlo) (hHlo : 0 < Hlo) (hJS : ∀ j ∈ S, Jlo ≤ Jv j ∧ Jv j ≤ Jhi) (hH : Hlo ≤ σ + ∑ j ∈ Finset.univ \ S, Jv j ∧ σ + ∑ j ∈ Finset.univ \ S, Jv j ≤ Hhi) :
      max (Jlo / (Hhi + Jlo + (↑S.card - 1) * Jhi) - g) 0 ≤ normalizedTarget σ g Jv i ∧ normalizedTarget σ g Jv i ≤ max (Jhi / (Hlo + Jhi + (↑S.card - 1) * Jlo) - g) 0

      SF8 at one state: a member's normalized target lies between the shares of the extreme useful inputs against the extreme external loads and the other members' extreme inputs.

      noncomputable def MindFormal.LearningReference.raw {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (j : Fin N) (s : ℝ) :

      11.14 (SF7): the complete raw input of content j along a verified continuing reference.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MindFormal.LearningReference.total {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) (s : ℝ) :

        11.14 (SF8): the total new activity of a set S along a reference.

        Equations
        Instances For
          def MindFormal.CoefficientIntervals {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) (Wl Wh Il Ih Hl Hh s : ℝ) :

          SF7-SF8, certified along the reference at time s: every within-set link in [W⁻,W⁺], every member's remaining raw support (its complete raw input less its within-set inputs) in [I⁻,I⁺], and the external load (the floor and every outside content's transformed input) in [H⁻,H⁺].

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MindFormal.sf8_envelope {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) {i : Fin N} (hi : i ∈ S) {Wl Wh Il Ih Hl Hh s : ℝ} (hHl : 0 < Hl) (hc : CoefficientIntervals R S Wl Wh Il Ih Hl Hh s) :
            sf8Lower d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hh (R.total S s) ≤ R.target i s ∧ R.target i s ≤ sf8Upper d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hl (R.total S s)

            11.14 (SF8): under the certified coefficient intervals at time s, each member's complete target lies between the lower and upper envelopes at the reference's total new activity.

            theorem MindFormal.sf8Upper_continuous {ψ : ℝ → ℝ} (hψ : Continuous ψ) (hψ0 : ∀ (z : ℝ), 0 ≤ ψ z) {g : ℝ} {M : ℕ} (hM : 1 ≤ M) {Wl Wh Il Ih Hl : ℝ} (hHl : 0 < Hl) :
            Continuous (sf8Upper ψ g M Wl Wh Il Ih Hl)
            theorem MindFormal.sf8Lower_continuous {ψ : ℝ → ℝ} (hψ : Continuous ψ) (hψ0 : ∀ (z : ℝ), 0 ≤ ψ z) {g : ℝ} {M : ℕ} (hM : 1 ≤ M) {Wl Wh Il Ih Hh : ℝ} (hHh : 0 < Hh) :
            Continuous (sf8Lower ψ g M Wl Wh Il Ih Hh)
            theorem MindFormal.LearningReference.total_continuous {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) :
            theorem MindFormal.LearningReference.total_nonneg {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) (s : ℝ) :
            0 ≤ R.total S s
            theorem MindFormal.total_curve {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) {a b c : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) :
            ((∀ s ∈ Set.Ioc a b, ∀ i ∈ S, R.target i s ≤ c) → R.total S b ≤ ↑S.card * c + (R.total S a - ↑S.card * c) * Real.exp (-d.activity.ν * (b - a))) ∧ ((∀ s ∈ Set.Ioc a b, ∀ i ∈ S, c ≤ R.target i s) → ↑S.card * c + (R.total S a - ↑S.card * c) * Real.exp (-d.activity.ν * (b - a)) ≤ R.total S b)

            SF5-SF6 summed over a set: targets of every member at most (at least) c over (a,b] keep the set's total new activity at most (at least) the held curve of the total toward |S|·c.

            theorem MindFormal.low_region_pullback {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) (hS : S.Nonempty) (hψ : Continuous d.transform.ψ) {Wl Wh Il Ih Hl Hh Xb : ℝ} (hHl : 0 < Hl) (coeff : ∀ s ∈ Set.Icc 0 ↑H, CoefficientIntervals R S Wl Wh Il Ih Hl Hh s) (hX0 : R.total S 0 ≤ Xb) (inward : ↑S.card * sf8Upper d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hl Xb < Xb) (mono : MonotoneOn (sf8Upper d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hl) (Set.Icc 0 Xb)) :
            have U := sf8Upper d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hl; (∀ t ∈ Set.Icc 0 ↑H, R.total S t ≤ Xb) ∧ ∀ i ∈ S, ∀ t ∈ Set.Icc 0 ↑H, (ContinuousMap.IccExtend ⋯ R.path) t (Sum.inr (Sum.inl i)) ≤ U Xb + ((ContinuousMap.IccExtend ⋯ R.path) 0 (Sum.inr (Sum.inl i)) - U Xb) * Real.exp (-d.activity.ν * t)

            11.14 (SF8, SF5): the low region. With coefficient intervals certified along the reference on [0,H], a starting total new activity at most X_b, the upper envelope increasing on [0,X_b] and the low region inward (|S|·T₊(X_b)<X_b), the total stays at most X_b on [0,H] and every member stays below the held curve toward T₊(X_b): SF5's pullback with the upper envelope.

            theorem MindFormal.high_region_recruitment {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (S : Finset (Fin N)) (hS : S.Nonempty) (hψ : Continuous d.transform.ψ) {Wl Wh Il Ih Hl Hh Xr : ℝ} (hHl : 0 < Hl) (coeff : ∀ s ∈ Set.Icc 0 ↑H, CoefficientIntervals R S Wl Wh Il Ih Hl Hh s) (hX0 : Xr ≤ R.total S 0) (inward : Xr < ↑S.card * sf8Lower d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hh Xr) (mono : MonotoneOn (sf8Lower d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hh) (Set.Ici Xr)) :
            have L := sf8Lower d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hh; (∀ t ∈ Set.Icc 0 ↑H, Xr ≤ R.total S t) ∧ ∀ i ∈ S, ∀ t ∈ Set.Icc 0 ↑H, L Xr + ((ContinuousMap.IccExtend ⋯ R.path) 0 (Sum.inr (Sum.inl i)) - L Xr) * Real.exp (-d.activity.ν * t) ≤ (ContinuousMap.IccExtend ⋯ R.path) t (Sum.inr (Sum.inl i))

            11.14 (SF8, SF6): the high region. With coefficient intervals certified along the reference on [0,H], a starting total at least X_r, the lower envelope increasing on [X_r,∞) and the high region inward (X_r<|S|·T₋(X_r)), the total stays at least X_r on [0,H] and every member stays above the held curve toward T₋(X_r): SF6's recruitment with the lower envelope.

            theorem MindFormal.result_11_14_clause_14_low_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (S : Finset (Fin N)) (hS : S.Nonempty) (need : ℝ) {Wl Wh Il Ih Hl Hh Xb : ℝ} (hHl : 0 < Hl) (coeff : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, CoefficientIntervals (C.run.reference z) S Wl Wh Il Ih Hl Hh s) (start : ∀ z ∈ C.run.good, (C.run.reference z).total S 0 ≤ Xb) (inward : ↑S.card * sf8Upper C.run.data.toPhysicalNoiseData.data.transform.ψ C.run.data.toPhysicalNoiseData.data.activity.g S.card Wl Wh Il Ih Hl Xb < Xb) (mono : MonotoneOn (sf8Upper C.run.data.toPhysicalNoiseData.data.transform.ψ C.run.data.toPhysicalNoiseData.data.activity.g S.card Wl Wh Il Ih Hl) (Set.Icc 0 Xb)) :
            have d := C.run.data.toPhysicalNoiseData.data; have Tb := sf8Upper d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hl Xb; have curve := fun (z : Ω) (i : Fin N) (t : ℝ) => Tb + (C.run.refCoordinate z (Sum.inr (Sum.inl i)) 0 - Tb) * Real.exp (-d.activity.ν * t); 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (C.run.reference z).total S t ≤ Xb ∧ (∀ i ∈ S, C.run.coordinate z (Sum.inr (Sum.inl i)) t ≤ curve z i t + C.run.control.error) ∧ {i ∈ S | need ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) t}.card ≤ {i ∈ S | need ≤ curve z i t + C.run.control.error}.card}

            For any case of noise. At the constant case this theorem is result_11_14_clause_14_low.

            theorem MindFormal.result_11_14_clause_14_high_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (S : Finset (Fin N)) (hS : S.Nonempty) (need : ℝ) {Wl Wh Il Ih Hl Hh Xr : ℝ} (hHl : 0 < Hl) (coeff : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, CoefficientIntervals (C.run.reference z) S Wl Wh Il Ih Hl Hh s) (start : ∀ z ∈ C.run.good, Xr ≤ (C.run.reference z).total S 0) (inward : Xr < ↑S.card * sf8Lower C.run.data.toPhysicalNoiseData.data.transform.ψ C.run.data.toPhysicalNoiseData.data.activity.g S.card Wl Wh Il Ih Hh Xr) (mono : MonotoneOn (sf8Lower C.run.data.toPhysicalNoiseData.data.transform.ψ C.run.data.toPhysicalNoiseData.data.activity.g S.card Wl Wh Il Ih Hh) (Set.Ici Xr)) :
            have d := C.run.data.toPhysicalNoiseData.data; have Tr := sf8Lower d.transform.ψ d.activity.g S.card Wl Wh Il Ih Hh Xr; have curve := fun (z : Ω) (i : Fin N) (t : ℝ) => Tr + (C.run.refCoordinate z (Sum.inr (Sum.inl i)) 0 - Tr) * Real.exp (-d.activity.ν * t); 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ t ∈ Set.Icc 0 ↑C.run.horizon, Xr ≤ (C.run.reference z).total S t ∧ (∀ i ∈ S, curve z i t - C.run.control.error ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) t) ∧ {i ∈ S | need ≤ curve z i t - C.run.control.error}.card ≤ {i ∈ S | need ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) t}.card}

            For any case of noise. At the constant case this theorem is result_11_14_clause_14_high.