MindFormal v1.0.0One Mind

MindFormal.Run.GivenHistoryRecords.ReferenceMath

Reached reference algebra and absolute-continuity proofs, copied into the allowed lower layer without any original-source index or Chapter dependency. These are the unchanged deterministic comparisons; no native path is replaced. The source proofs are in Ch06/{SearchContinuation,SearchWrites,BreakReach, ClauseProofs,ReferenceRates,CorridorTransfer,AccumulatedReserve}.

theorem MindFormal.GivenHistoryRecords.ReferenceMath.signed_reserve_target {J L g need : ℝ} (hJ : 0 ≤ J) (hL : 0 < L) (hn : 0 < need) :
need < max (J / (J + L) - g) 0 ↔ 0 < (1 - (g + need)) * J - (g + need) * L
theorem MindFormal.GivenHistoryRecords.ReferenceMath.reserve_target_sign {J L g need : ℝ} (hJ : 0 < J) (hL : 0 < L) (hn : 0 < need) (hq : 0 < g + need) (hq1 : g + need < 1) :
0 < Real.log ((1 - (g + need)) * J / ((g + need) * L)) ↔ need < max (J / (J + L) - g) 0
theorem MindFormal.GivenHistoryRecords.ReferenceMath.fading_load_clock {excess allowance rate t : ℝ} (he : 0 < excess) (ha : 0 < allowance) (hr : 0 < rate) :
excess * Real.exp (-rate * t) < allowance ↔ Real.log (excess / allowance) / rate < t
theorem MindFormal.GivenHistoryRecords.ReferenceMath.reserve_loss_envelope {H low high : ℝ} (hH : 0 ≤ H) (reserve rate : ℝ → ℝ) (hd : ∀ t ∈ Set.Icc 0 H, HasDerivAt reserve (rate t) t) (hb : ∀ t ∈ Set.Icc 0 H, -high ≤ rate t ∧ rate t ≤ -low) :
reserve 0 - high * H ≤ reserve H ∧ reserve H ≤ reserve 0 - low * H
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.GivenHistoryRecords.ReferenceMath.exponential_gain_clock {A D rate t : ℝ} (hD : 0 ≤ D) (hA : D < A) (hr : 0 < rate) :
    D < A * (1 - Real.exp (-rate * t)) ↔ Real.log (A / (A - D)) / rate < t
    theorem MindFormal.GivenHistoryRecords.ReferenceMath.exponential_gain_no_return {A D rate t : ℝ} (hA : 0 ≤ A) (hD : A ≤ D) :
    A * (1 - Real.exp (-rate * t)) ≤ D
    noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referenceUseful {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i : Fin N) (s : ℝ) :
    Equations
    Instances For
      noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referenceRest {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i : Fin N) (s : ℝ) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceUseful_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) (i : Fin N) (s : ℝ) :
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceRest_pos {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i : Fin N) (s : ℝ) :
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceTarget_share {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i : Fin N) (s : ℝ) :
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.rate_envelope {Hb lo hi : ℝ} (f rate : ℝ → ℝ) (hf0 : f 0 = 0) (hd : ∀ s ∈ Set.Icc 0 Hb, HasDerivAt f (rate s) s) (hb : ∀ s ∈ Set.Icc 0 Hb, lo ≤ rate s ∧ rate s ≤ hi) (t : ℝ) :
        t ∈ Set.Icc 0 Hb → lo * t ≤ f t ∧ f t ≤ hi * t
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.target_reserve_iff {N : ℕ} {σ g need : ℝ} (hσ : 0 < σ) (Jv : Fin N → ℝ) (hJ : ∀ (j : Fin N), 0 ≤ Jv j) (i : Fin N) (hn : 0 < need) :
        need < normalizedTarget σ g Jv i ↔ (g + need) * (σ + ∑ j ∈ Finset.univ.erase i, Jv j) < (1 - (g + need)) * Jv i
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.learningReference_integral {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 : CoordinateIndex (Fin N) n T Λ) {s : ℝ} (hs : s ∈ Set.Icc 0 ↑H) :
        (ContinuousMap.IccExtend ⋯ R.path) s j = ↑R.start j + ∫ (u : ℝ) in 0..s, learningForcing d ⋯ R.input R.mode R.path u j
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.ac_pi {ι : Type u_3} [Fintype ι] {E : ι → Type u_4} [(k : ι) → PseudoMetricSpace (E k)] {f : ℝ → (k : ι) → E k} {a b : ℝ} (h : ∀ (k : ι), AbsolutelyContinuousOnInterval (fun (x : ℝ) => f x k) a b) :

        A map into a finite product is absolutely continuous when each coordinate is.

        theorem MindFormal.GivenHistoryRecords.ReferenceMath.ac_prod {X : Type u_3} {Y : Type u_4} [PseudoMetricSpace X] [PseudoMetricSpace Y] {f : ℝ → X} {g : ℝ → Y} {a b : ℝ} (hf : AbsolutelyContinuousOnInterval f a b) (hg : AbsolutelyContinuousOnInterval g a b) :
        AbsolutelyContinuousOnInterval (fun (x : ℝ) => (f x, g x)) a b

        A pair of absolutely continuous maps is absolutely continuous.

        theorem MindFormal.GivenHistoryRecords.ReferenceMath.ac_finset_sum {ι : Type u_3} (s : Finset ι) {f : ι → ℝ → ℝ} {a b : ℝ} (h : ∀ k ∈ s, AbsolutelyContinuousOnInterval (f k) a b) :
        AbsolutelyContinuousOnInterval (fun (x : ℝ) => ∑ k ∈ s, f k x) a b

        A finite sum of absolutely continuous real functions is absolutely continuous.

        The logarithm is Lipschitz with constant 1/m on [m,∞), m>0.

        theorem MindFormal.GivenHistoryRecords.ReferenceMath.norm_mindValue_le {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] (s : MindState (Fin N) n T Λ) (l : Fin N) :
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.norm_mindTrace_le {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] (s : MindState (Fin N) n T Λ) (l : Fin N) :
        theorem MindFormal.GivenHistoryRecords.ReferenceMath.learningReference_coordinate_ac {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (c : CoordinateIndex (Fin N) n T Λ) {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) :

        11.10 (SW7): every coordinate of a verified continuing reference is absolutely continuous on every [a,b] in [0,H]: it is its start plus the integral of its complete drift.

        noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referenceFixedInput {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (u q : Fin N → ℝ) (l : Fin N) (s : ℝ) :

        11.10 (SW7): the reference's complete raw input of content l at a fixed world input u and focus mode q (the reference's own between events).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referenceFixedUseful {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (u q : Fin N → ℝ) (i : Fin N) (s : ℝ) :

          11.10 (SW6): the useful transformed input at a fixed input and mode.

          Equations
          Instances For
            noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referenceFixedRest {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (u q : Fin N → ℝ) (i : Fin N) (s : ℝ) :

            11.10 (SW6): the rest of the pool at a fixed input and mode.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceUseful_eq_fixed {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) {u q : Fin N → ℝ} {s : ℝ} (hs : R.input s = u ∧ R.mode s = q) (i : Fin N) :
              theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceRest_eq_fixed {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) {u q : Fin N → ℝ} {s : ℝ} (hs : R.input s = u ∧ R.mode s = q) (i : Fin N) :
              theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceFixedInput_ac {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (hreg : PhysicalCoefficientRegularity d) {u q : Fin N → ℝ} (hu : 0 ≤ u) (hq : ∀ (j : Fin N), q j ∈ {0, 1}) (l : Fin N) {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) :

              11.10 (SW7), on merely Lipschitz branches: at a fixed nonnegative input and binary mode, each complete raw input of the reference is absolutely continuous on [a,b] in [0,H].

              theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceFixed_ac {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (hreg : PhysicalCoefficientRegularity d) (hψ : LipschitzOnBalls d.transform.ψ Set.univ) {u q : Fin N → ℝ} (hu : 0 ≤ u) (hq : ∀ (j : Fin N), q j ∈ {0, 1}) {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) :

              11.10 (SW6)-(SW7): the transformed inputs and the rest of the pool at a fixed nonnegative input and binary mode are absolutely continuous on [a,b] in [0,H], given the admitted Lipschitz bound of the transform on bounded sets.

              noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referencePathInput {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (w : ℝ → Fin N → ℝ) (q : Fin N → ℝ) (l : Fin N) (s : ℝ) :

              11.12 (SB1)-(SB2): the reference's complete raw input of content l along a world-input path w and a fixed focus mode q (between world or native-mode events).

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MindFormal.GivenHistoryRecords.ReferenceMath.referencePathInput_ac {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (hreg : PhysicalCoefficientRegularity d) {w : ℝ → Fin N → ℝ} {q : Fin N → ℝ} {a b : ℝ} (hw : ∀ (j : Fin N), AbsolutelyContinuousOnInterval (fun (s : ℝ) => w s j) a b) (hwnn : ∀ s ∈ Set.uIcc a b, 0 ≤ w s) (hq : ∀ (j : Fin N), q j ∈ {0, 1}) (l : Fin N) (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) :

                11.12 (SB1)-(SB2), merely Lipschitz branches: along an absolutely continuous nonnegative world-input path and a binary mode, each complete raw input of the reference is absolutely continuous on [a,b] in [0,H].

                noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referencePathUseful {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (w : ℝ → Fin N → ℝ) (q : Fin N → ℝ) (i : Fin N) (s : ℝ) :

                11.12 (SB4)-(SB6), 11.13 (SI8): the useful transformed input along a world-input path w and a fixed focus mode q.

                Equations
                Instances For
                  noncomputable def MindFormal.GivenHistoryRecords.ReferenceMath.referencePathRest {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (w : ℝ → Fin N → ℝ) (q : Fin N → ℝ) (i : Fin N) (s : ℝ) :

                  11.12 (SB4)-(SB6), 11.13 (SI8): the rest of the pool along a world-input path w and a fixed focus mode q.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceUseful_eq_path {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) {w : ℝ → Fin N → ℝ} {q : Fin N → ℝ} {s : ℝ} (hs : R.input s = w s ∧ R.mode s = q) (i : Fin N) :
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.referenceRest_eq_path {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) {w : ℝ → Fin N → ℝ} {q : Fin N → ℝ} {s : ℝ} (hs : R.input s = w s ∧ R.mode s = q) (i : Fin N) :
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.referencePath_ac {N n : ℕ} {T : Type u_3} {Λ : Type u_4} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (hreg : PhysicalCoefficientRegularity d) (hψ : LipschitzOnBalls d.transform.ψ Set.univ) {w : ℝ → Fin N → ℝ} {q : Fin N → ℝ} {a b : ℝ} (hw : ∀ (j : Fin N), AbsolutelyContinuousOnInterval (fun (s : ℝ) => w s j) a b) (hwnn : ∀ s ∈ Set.uIcc a b, 0 ≤ w s) (hq : ∀ (j : Fin N), q j ∈ {0, 1}) (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) :

                    11.12 (SB4)-(SB6), 11.13 (SI8): along an absolutely continuous nonnegative world-input path and a binary mode, the transformed inputs and the rest of the pool are absolutely continuous on [a,b] in [0,H], given the admitted Lipschitz bound of the transform on bounded sets.

                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.log_reserve_ac {Jf Hf : ℝ → ℝ} {a b σ θ : ℝ} (hab : a ≤ b) (hσ : 0 < σ) (hθ : 0 < θ) (hθ1 : θ < 1) (hJ : AbsolutelyContinuousOnInterval Jf a b) (hH : AbsolutelyContinuousOnInterval Hf a b) (hJpos : ∀ t ∈ Set.Icc a b, 0 < Jf t) (hHσ : ∀ t ∈ Set.Icc a b, σ ≤ Hf t) :
                    have l := fun (s : ℝ) => Real.log ((1 - θ) * Jf s / (θ * Hf s)); AbsolutelyContinuousOnInterval l a b ∧ (∀ t ∈ Set.Icc a b, DifferentiableAt ℝ Jf t → DifferentiableAt ℝ Hf t → HasDerivAt l (deriv Jf t / Jf t - deriv Hf t / Hf t) t) ∧ ∀ t ∈ Set.Icc a b, l t = l a + ∫ (s : ℝ) in a..t, deriv Jf s / Jf s - deriv Hf s / Hf s

                    11.10 (SW6): along absolutely continuous positive useful input J and rest of the pool H on [a,b] (H ≥ σ > 0), the log reserve log((1-θ)J/(θH)) is absolutely continuous, has derivative J'/J - H'/H wherever J and H are differentiable, and changes by the integral of that difference.

                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.ac_rate_envelope {f : ℝ → ℝ} {H lo hi : ℝ} (hf : AbsolutelyContinuousOnInterval f 0 H) (hb : ∀ᵐ (u : ℝ), u ∈ Set.Icc 0 H → lo ≤ deriv f u ∧ deriv f u ≤ hi) {t : ℝ} (ht : t ∈ Set.Icc 0 H) :
                    f 0 + lo * t ≤ f t ∧ f t ≤ f 0 + hi * t
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.reserve_family_loss_ac {I : Type u_5} (s : Finset I) (hs : s.Nonempty) (reserve : I → ℝ → ℝ) (dlo dhi : I → ℝ) {H : ℝ} (hac : ∀ j ∈ s, AbsolutelyContinuousOnInterval (reserve j) 0 H) (hb : ∀ j ∈ s, ∀ᵐ (u : ℝ), u ∈ Set.Icc 0 H → -dhi j ≤ deriv (reserve j) u ∧ deriv (reserve j) u ≤ -dlo j) (hlo : ∀ j ∈ s, 0 < dlo j) :
                    (∀ t ∈ Set.Icc 0 H, (t < s.sup' hs fun (j : I) => max (reserve j 0) 0 / dhi j) → ∃ j ∈ s, 0 < reserve j t) ∧ ∀ t ∈ Set.Icc 0 H, (s.sup' hs fun (j : I) => max (reserve j 0) 0 / dlo j) ≤ t → ∀ j ∈ s, reserve j t ≤ 0
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.ac_integral_bounds {G lo hi : ℝ → ℝ} {p q : ℝ} (hpq : p ≤ q) (hG : AbsolutelyContinuousOnInterval G p q) (hlo : IntervalIntegrable lo MeasureTheory.volume p q) (hhi : IntervalIntegrable hi MeasureTheory.volume p q) (hb : ∀ᵐ (s : ℝ), s ∈ Set.Icc p q → lo s ≤ deriv G s ∧ deriv G s ≤ hi s) {t : ℝ} (ht : t ∈ Set.Icc p q) :
                    G p + ∫ (s : ℝ) in p..t, lo s ≤ G t ∧ G t ≤ G p + ∫ (s : ℝ) in p..t, hi s
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.piecewise_accumulate {K : ℕ} (e : ℕ → ℝ) (he0 : e 0 = 0) (hmono : ∀ (k : ℕ), e k ≤ e (k + 1)) (G : ℕ → ℝ → ℝ) (lo hi : ℝ → ℝ) (hlo : IntervalIntegrable lo MeasureTheory.volume 0 (e K)) (hhi : IntervalIntegrable hi MeasureTheory.volume 0 (e K)) (jlo jhi : ℕ → ℝ) (hac : ∀ k < K, AbsolutelyContinuousOnInterval (G k) (e k) (e (k + 1))) (hrate : ∀ k < K, ∀ᵐ (s : ℝ), s ∈ Set.Icc (e k) (e (k + 1)) → lo s ≤ deriv (G k) s ∧ deriv (G k) s ≤ hi s) (hjump : ∀ (k : ℕ), 0 < k → k < K → jlo k ≤ G k (e k) - G (k - 1) (e k) ∧ G k (e k) - G (k - 1) (e k) ≤ jhi k) (k : ℕ) :
                    k < K → ∀ t ∈ Set.Icc (e k) (e (k + 1)), (G 0 0 + ∫ (s : ℝ) in 0..t, lo s) + ∑ m ∈ Finset.Ioc 0 k, jlo m ≤ G k t ∧ G k t ≤ (G 0 0 + ∫ (s : ℝ) in 0..t, hi s) + ∑ m ∈ Finset.Ioc 0 k, jhi m
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.sum_range_succ_eq_add_Ioc (a : ℕ → ℝ) (k : ℕ) :
                    ∑ m ∈ Finset.range (k + 1), a m = a 0 + ∑ m ∈ Finset.Ioc 0 k, a m
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.actual_accumulate {K : ℕ} (e : ℕ → ℝ) (he0 : e 0 = 0) (hlt : ∀ (k : ℕ), e k < e (k + 1)) (S : ℝ → ℝ) (G : ℕ → ℝ → ℝ) (lo hi : ℝ → ℝ) (hlo : IntervalIntegrable lo MeasureTheory.volume 0 (e K)) (hhi : IntervalIntegrable hi MeasureTheory.volume 0 (e K)) (alo ahi blo bhi : ℕ → ℝ) (hac : ∀ k < K, AbsolutelyContinuousOnInterval (G k) (e k) (e (k + 1))) (hagree : ∀ k < K, ∀ s ∈ Set.Ioo (e k) (e (k + 1)), S s = G k s) (hrate : ∀ k < K, ∀ᵐ (s : ℝ), s ∈ Set.Icc (e k) (e (k + 1)) → lo s ≤ deriv (G k) s ∧ deriv (G k) s ≤ hi s) (hout : ∀ k < K, alo k ≤ G k (e k) - S (e k) ∧ G k (e k) - S (e k) ≤ ahi k) (hin : ∀ (k : ℕ), 0 < k → k ≤ K → blo k ≤ S (e k) - G (k - 1) (e k) ∧ S (e k) - G (k - 1) (e k) ≤ bhi k) :
                    (∀ k < K, ∀ t ∈ Set.Ioo (e k) (e (k + 1)), (S 0 + ∫ (s : ℝ) in 0..t, lo s) + ∑ m ∈ Finset.range (k + 1), alo m + ∑ m ∈ Finset.Ioc 0 k, blo m ≤ S t ∧ S t ≤ (S 0 + ∫ (s : ℝ) in 0..t, hi s) + ∑ m ∈ Finset.range (k + 1), ahi m + ∑ m ∈ Finset.Ioc 0 k, bhi m) ∧ ∀ (k : ℕ), 0 < k → k ≤ K → (S 0 + ∫ (s : ℝ) in 0..e k, lo s) + ∑ m ∈ Finset.range k, alo m + ∑ m ∈ Finset.Ioc 0 k, blo m ≤ S (e k) ∧ S (e k) ≤ (S 0 + ∫ (s : ℝ) in 0..e k, hi s) + ∑ m ∈ Finset.range k, ahi m + ∑ m ∈ Finset.Ioc 0 k, bhi m
                    theorem MindFormal.GivenHistoryRecords.ReferenceMath.accumulated_identity {K : ℕ} (e : ℕ → ℝ) (he0 : e 0 = 0) (hlt : ∀ (k : ℕ), e k < e (k + 1)) (G : ℕ → ℝ → ℝ) (S : ℝ → ℝ) (hac : ∀ k < K, AbsolutelyContinuousOnInterval (G k) (e k) (e (k + 1))) (hagree : ∀ k < K, ∀ s ∈ Set.Ioo (e k) (e (k + 1)), S s = G k s) :
                    IntervalIntegrable (deriv S) MeasureTheory.volume 0 (e K) ∧ ∀ k < K, ∀ t ∈ Set.Icc (e k) (e (k + 1)), G k t = (G 0 0 + ∫ (s : ℝ) in 0..t, deriv S s) + ∑ m ∈ Finset.Ioc 0 k, (G m (e m) - G (m - 1) (e m))