MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch18.Patience

theorem MindFormal.ReadPatterns.prediction_integral (τ : ℝ) (forecast κ : ℝ → ℝ) (hcont : ContinuousWithinAt forecast (Set.Ici 0) 0) (hode : ∀ t ∈ Set.Ioi 0, HasDerivAt forecast (forecast t / τ - κ t) t) (hκ : ∀ t ∈ Set.Ioi 0, 0 ≤ κ t) (hterminal : Filter.Tendsto (fun (t : ℝ) => Real.exp (-t / τ) * forecast t) Filter.atTop (nhds 0)) :
MeasureTheory.IntegrableOn (fun (t : ℝ) => Real.exp (-t / τ) * κ t) (Set.Ioi 0) MeasureTheory.volume ∧ forecast 0 = ∫ (t : ℝ) in Set.Ioi 0, Real.exp (-t / τ) * κ t

KM1.5's calibrated temporal comparison. The delivery of a value kind is nonnegative (Equation III); the forecast is continuous at the initial time, obeys the stated zero-residual ODE at positive times, and satisfies the entry's transversality condition. Discounted integrability is derived, not supplied, together with the infinite-horizon integral representation.

The exact remaining KM1.5 ratio claim at L28a's stop. A short shape is measurable, nonnegative, bounded, and supported in a finite delivery window. Positive scale factors do not imply a nonzero common discounted integral. This proposition is recorded, not assumed by any delivered result.

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

    The stop's counterexample satisfies even τ=1, R₁>R₀>0 and d₁>d₀≥0: the admissible zero shape gives two zero values, whereas the claimed ratio is 2 exp(-1)>0. No nonzero-factor premise has been silently added.

    theorem MindFormal.ReadPatterns.zero_shape_calibrated :
    (Continuous fun (x : ℝ) => 0) ∧ (∀ (t : ℝ), HasDerivAt (fun (x : ℝ) => 0) (0 / 1 - 0) t) ∧ Filter.Tendsto (fun (t : ℝ) => Real.exp (-t / 1) * 0) Filter.atTop (nhds 0)

    The counterexample also meets the calibrated ODE and transversality; zero delivery is allowed by κ(0)=0 and its forecast is identically zero.

    noncomputable def MindFormal.ReadPatterns.deliveryValue (φ : ℝ → ℝ) (τ R d : ℝ) :

    KM1.5's value of a scaled, delayed delivery shape, exactly the integral in the original stop proposition. The calibrated forecast equals this value by prediction_integral; no second forecast or action read is introduced.

    Equations
    Instances For
      theorem MindFormal.ReadPatterns.short_shape_integrable {φ : ℝ → ℝ} {L : ℝ} (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) :

      A measurable, nonnegative, bounded shape supported in the finite delivery window is integrable. These are the original shape holds; positive total delivery is not needed for this step.

      theorem MindFormal.ReadPatterns.discounted_shape_integrable {φ : ℝ → ℝ} {L τ : ℝ} (hτ : 0 < τ) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) :

      KM1.5: for every positive patience parameter, discounted integrability follows from the original measurable, nonnegative, bounded, short-shape holds. On its support the discount is at most one.

      theorem MindFormal.ReadPatterns.discounted_shape_pos {φ : ℝ → ℝ} {L τ : ℝ} (hτ : 0 < τ) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) (hdelivery : 0 < ∫ (t : ℝ), φ t) :
      0 < ∫ (t : ℝ), Real.exp (-t / τ) * φ t

      Corrected KM1.5: positive total delivery is the sole added hold. The discount factor is everywhere positive, so it preserves the shape's support; the common discounted integral is therefore positive at every τ>0.

      theorem MindFormal.ReadPatterns.deliveryValue_eq {φ : ℝ → ℝ} {L τ R d : ℝ} (hd : 0 ≤ d) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) :
      deliveryValue φ τ R d = R * Real.exp (-d / τ) * ∫ (t : ℝ), Real.exp (-t / τ) * φ t

      Translation of KM1.5's actual value onto its common discounted integral. The nonnegative delay and the original support hold put the shifted shape in [0,∞); the endpoint has zero Lebesgue measure. Translation invariance and the exponential addition identity supply the factor, without a shift premise.

      theorem MindFormal.ReadPatterns.delivery_integrable {φ : ℝ → ℝ} {L τ : ℝ} (R d : ℝ) (hτ : 0 < τ) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) :
      MeasureTheory.Integrable (fun (t : ℝ) => Real.exp (-t / τ) * (R * φ (t - d))) MeasureTheory.volume

      The shifted value's integrand is integrable under the original shape holds and τ>0. Translation of the integrable discounted shape and scalar multiplication prove this; no value-integrability premise is supplied.

      theorem MindFormal.ReadPatterns.deliveryValue_pos {φ : ℝ → ℝ} {L τ R d : ℝ} (hτ : 0 < τ) (hR : 0 < R) (hd : 0 ≤ d) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) (hdelivery : 0 < ∫ (t : ℝ), φ t) :
      0 < deliveryValue φ τ R d

      Corrected KM1.5: a positive scale and nonnegative delay give a positive value from the original shape holds and positive total delivery.

      theorem MindFormal.ReadPatterns.shifted_shape_ratio {φ : ℝ → ℝ} {L τ R₀ R₁ d₀ d₁ : ℝ} (hτ : 0 < τ) (_hR₀ : 0 < R₀) (_hR₁ : 0 < R₁) (hd₀ : 0 ≤ d₀) (hd₁ : 0 ≤ d₁) (_hL : 0 < L) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) (hdelivery : 0 < ∫ (t : ℝ), φ t) :
      deliveryValue φ τ R₁ d₁ / deliveryValue φ τ R₀ d₀ = R₁ / R₀ * Real.exp (-(d₁ - d₀) / τ)

      Corrected KM1.5, the ratio. P: shape, window, scales, delays and patience. E: exactly the stop's positive parameters, nonnegative delays, measurable, nonnegative, bounded short shape, and the corrected positive total delivery. The common factor's integrability, positivity and the shift are derived above. The positive window hold is retained as stated, though the proof also covers any window for which positive total delivery is possible.

      theorem MindFormal.ReadPatterns.later_value_iff {φ : ℝ → ℝ} {L τ R₀ R₁ d₀ d₁ : ℝ} (hτ : 0 < τ) (hR₀ : 0 < R₀) (hR₁ : 0 < R₁) (hd₀ : 0 ≤ d₀) (hd₁ : 0 ≤ d₁) (hL : 0 < L) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) (hdelivery : 0 < ∫ (t : ℝ), φ t) (_hlater : d₀ < d₁) (hlarger : R₀ < R₁) :
      deliveryValue φ τ R₀ d₀ < deliveryValue φ τ R₁ d₁ ↔ (d₁ - d₀) / Real.log (R₁ / R₀) < τ

      Corrected KM1.5, the later-choice threshold in both directions, on the values themselves. P: the same shape and parameters. E: exactly the ratio's holds, plus the entry's later delay and larger scale. The positive common factor and the positive logarithm are derived, not assumed.

      theorem MindFormal.ReadPatterns.value_ratio_strictMonoOn {φ : ℝ → ℝ} {L R₀ R₁ d₀ d₁ : ℝ} (hR₀ : 0 < R₀) (hR₁ : 0 < R₁) (hd₀ : 0 ≤ d₀) (hd₁ : 0 ≤ d₁) (hL : 0 < L) (hm : Measurable φ) (hn : ∀ (t : ℝ), 0 ≤ φ t) (hb : ∃ (M : ℝ), ∀ (t : ℝ), φ t ≤ M) (hs : ∀ t ∉ Set.Icc 0 L, φ t = 0) (hdelivery : 0 < ∫ (t : ℝ), φ t) (hlater : d₀ < d₁) :
      StrictMonoOn (fun (τ : ℝ) => deliveryValue φ τ R₁ d₁ / deliveryValue φ τ R₀ d₀) (Set.Ioi 0)

      Corrected KM1.5: the ratio of the two actual delivery values is strictly increasing on all positive patience parameters. P: the same fixed shape, scales and delays. E: the original shape holds, positive total delivery, positive scales, nonnegative delays, and a strictly later second delivery. No ordering of the scales is required; the common factor is positive for each patience parameter by discounted_shape_pos.