MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.DemandComparisons

The held read and held race of 10.26. These are comparison functions, not a second run or an assertion about the mean of the moving learner.

noncomputable def MindFormal.Concepts.demandRead (ν H x₀ J g h : ℝ) :

VN3.2's finite read, with its complete other charge as argument.

Equations
Instances For
    noncomputable def MindFormal.Concepts.demandGap (ν H J₇ J₉ h : ℝ) :

    The unclipped difference, also used only on its stated positive branches.

    Equations
    Instances For
      theorem MindFormal.Concepts.demandRead_gap {ν H x₀ J₇ J₉ g h : ℝ} (h₇ : h + J₇ ≠ 0) (h₉ : h + J₉ ≠ 0) (positive₇ : g ≤ J₇ / (h + J₇)) (positive₉ : g ≤ J₉ / (h + J₉)) :
      demandRead ν H x₀ J₇ g h - demandRead ν H x₀ J₉ g h = demandGap ν H J₇ J₉ h
      theorem MindFormal.Concepts.demandGap_derivative {ν H J₇ J₉ h : ℝ} (h₇ : h + J₇ ≠ 0) (h₉ : h + J₉ ≠ 0) :
      HasDerivAt (demandGap ν H J₇ J₉) ((1 - Real.exp (-ν * H)) * (J₇ - J₉) * (J₇ * J₉ - h ^ 2) / ((h + J₇) ^ 2 * (h + J₉) ^ 2)) h
      theorem MindFormal.Concepts.demandGap_derivative_sign {ν H J₇ J₉ h : ℝ} (hν : 0 < ν) (hH : 0 < H) (hJ : 0 < J₉) (horder : J₉ < J₇) (hh : 0 < h) :
      have D := (1 - Real.exp (-ν * H)) * (J₇ - J₉) * (J₇ * J₉ - h ^ 2) / ((h + J₇) ^ 2 * (h + J₉) ^ 2); (0 < D ↔ h < √(J₇ * J₉)) ∧ (D = 0 ↔ h = √(J₇ * J₉)) ∧ (D < 0 ↔ √(J₇ * J₉) < h)
      theorem MindFormal.Concepts.demandRead_antitone {ν H x₀ J g : ℝ} (hνH : 0 ≤ ν * H) (hJ : 0 ≤ J) {h₀ h₁ : ℝ} (hpos : 0 < h₀ + J) (hload : h₀ ≤ h₁) :
      demandRead ν H x₀ J g h₁ ≤ demandRead ν H x₀ J g h₀
      noncomputable def MindFormal.Concepts.doseRead (J h : ℝ) :

      The exact six reads in VN3's arithmetic comparison. The exponential factor is an argument, so rational evaluation needs no transcendental fit.

      Equations
      Instances For
        theorem MindFormal.Concepts.doseRead_table :
        doseRead 4 (1 / 2) = 187 / 360 ∧ doseRead 1 (1 / 2) = 49 / 120 ∧ doseRead 4 2 = 49 / 120 ∧ doseRead 1 2 = 29 / 120 ∧ doseRead 4 40 = 53 / 440 ∧ doseRead 1 40 = 1 / 10
        noncomputable def MindFormal.Concepts.demandTime (ν J g need P : ℝ) :

        VN3.5's held zero-start clock. Outside the finite branch this real expression is not interpreted as a passage time.

        Equations
        Instances For
          theorem MindFormal.Concepts.demandTime_eq_passage {ν J g need P : ℝ} (hP : P ≠ 0) :
          demandTime ν J g need P = passageTime ν (J / P - g) 0 need
          theorem MindFormal.Concepts.demandTime_first {ν J g need P : ℝ} (hν : 0 < ν) (hP : 0 < P) (hn : 0 < need) (hfinite : need < J / P - g) :
          0 < demandTime ν J g need P ∧ referenceActivity ν (J / P - g) 0 (demandTime ν J g need P) = need ∧ ∀ t < demandTime ν J g need P, referenceActivity ν (J / P - g) 0 t < need
          theorem MindFormal.Concepts.demandTime_crossover {ν g Jₐ Jᵦ needₐ needᵦ P : ℝ} (hν : 0 < ν) (hg : 0 < g) (hP : 0 < P) (hneed : 0 < needₐ) (horder : needₐ < needᵦ) (hfiniteₐ : needₐ < Jₐ / P - g) (hfiniteᵦ : needᵦ < Jᵦ / P - g) :
          demandTime ν Jᵦ g needᵦ P < demandTime ν Jₐ g needₐ P ↔ (needᵦ * Jₐ - needₐ * Jᵦ) / (g * (needᵦ - needₐ)) < P
          theorem MindFormal.Concepts.demandTime_delay {ν J lowPool highPool g need : ℝ} (hν : 0 < ν) (hJ : 0 < J) (hP : 0 < lowPool) (hload : lowPool < highPool) (hn : 0 < need) (hfinite : need < J / highPool - g) :
          demandTime ν J g need lowPool < demandTime ν J g need highPool
          theorem MindFormal.Concepts.held_demand_curve {ν H x₀ J₇ J₉ g : ℝ} (hν : 0 < ν) (hH : 0 < H) (hJ : 0 < J₉) (horder : J₉ < J₇) :
          (∀ (h : ℝ), 0 < h → g ≤ J₉ / (h + J₉) → g ≤ J₇ / (h + J₇) → demandRead ν H x₀ J₇ g h - demandRead ν H x₀ J₉ g h = demandGap ν H J₇ J₉ h) ∧ (∀ (h : ℝ), 0 < h → HasDerivAt (demandGap ν H J₇ J₉) ((1 - Real.exp (-ν * H)) * (J₇ - J₉) * (J₇ * J₉ - h ^ 2) / ((h + J₇) ^ 2 * (h + J₉) ^ 2)) h ∧ have D := (1 - Real.exp (-ν * H)) * (J₇ - J₉) * (J₇ * J₉ - h ^ 2) / ((h + J₇) ^ 2 * (h + J₉) ^ 2); (0 < D ↔ h < √(J₇ * J₉)) ∧ (D = 0 ↔ h = √(J₇ * J₉)) ∧ (D < 0 ↔ √(J₇ * J₉) < h)) ∧ ∀ (h₀ h₁ : ℝ), 0 < h₀ → h₀ ≤ h₁ → demandRead ν H x₀ J₇ g h₁ ≤ demandRead ν H x₀ J₇ g h₀ ∧ demandRead ν H x₀ J₉ g h₁ ≤ demandRead ν H x₀ J₉ g h₀

          The complete parametric held rating comparison, VN3.2–VN3.3. The positive-branch conditions belong to each evaluated load, and clipping is retained in the monotonicity conclusion. No fixed numerical pair replaces the family of useful inputs, doses, starts, intervals or offsets.

          theorem MindFormal.Concepts.held_demand_race {ν g σ Jₐ Jᵦ needₐ needᵦ other : ℝ} (hν : 0 < ν) (hg : 0 < g) (hσ : 0 < σ) (hJₐ : 0 < Jₐ) (hJᵦ : 0 < Jᵦ) (ho : 0 ≤ other) (hn : 0 < needₐ) (horder : needₐ < needᵦ) (hfₐ : needₐ < Jₐ / (σ + Jₐ + Jᵦ + other) - g) (hfᵦ : needᵦ < Jᵦ / (σ + Jₐ + Jᵦ + other) - g) :
          have P := σ + Jₐ + Jᵦ + other; (0 < demandTime ν Jₐ g needₐ P ∧ referenceActivity ν (Jₐ / P - g) 0 (demandTime ν Jₐ g needₐ P) = needₐ ∧ ∀ t < demandTime ν Jₐ g needₐ P, referenceActivity ν (Jₐ / P - g) 0 t < needₐ) ∧ (0 < demandTime ν Jᵦ g needᵦ P ∧ referenceActivity ν (Jᵦ / P - g) 0 (demandTime ν Jᵦ g needᵦ P) = needᵦ ∧ ∀ t < demandTime ν Jᵦ g needᵦ P, referenceActivity ν (Jᵦ / P - g) 0 t < needᵦ) ∧ (demandTime ν Jᵦ g needᵦ P < demandTime ν Jₐ g needₐ P ↔ (needᵦ * Jₐ - needₐ * Jᵦ) / (g * (needᵦ - needₐ)) < P) ∧ ∀ (Δ : ℝ), 0 < Δ → needₐ < Jₐ / (P + Δ) - g → needᵦ < Jᵦ / (P + Δ) - g → demandTime ν Jₐ g needₐ P < demandTime ν Jₐ g needₐ (P + Δ) ∧ demandTime ν Jᵦ g needᵦ P < demandTime ν Jᵦ g needᵦ (P + Δ)

          VN3.5 with the complete other charge explicit. Its starts, transformed inputs, values and target are held only in this comparison. The complete moving application has separate native source margins and error charges.