MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.LogarithmicPractice

The common logarithmic read in LI1.3--4 and LI2.2. These evaluated functions are named held-pattern / held-query comparisons, never actual noisy paths. The full writer's parallel-row reduction is imported unchanged.

noncomputable def MindFormal.LogarithmicPractice.retained (b p r t : ℝ) :
Equations
Instances For
    noncomputable def MindFormal.LogarithmicPractice.first (K b p r t : ℝ) :
    Equations
    Instances For
      noncomputable def MindFormal.LogarithmicPractice.second (K b p r t : ℝ) :
      Equations
      Instances For
        theorem MindFormal.LogarithmicPractice.derivatives {K b p r t : ℝ} (hK : K ≠ 0) (ht : retained b p r t < 1) :
        HasDerivAt (curve K b p r) (first K b p r t) t ∧ HasDerivAt (first K b p r) (second K b p r t) t
        theorem MindFormal.LogarithmicPractice.domain {b p r t : ℝ} (hp : 0 < p) (hr : 0 < r) (hbp : b + p < 1) (ht : 0 ≤ t) :
        retained b p r t < 1
        theorem MindFormal.LogarithmicPractice.shape {K b p r : ℝ} (hK : 0 < K) (hp : 0 < p) (hr : 0 < r) (hbp : b + p < 1) :
        (∀ t ∈ Set.Ici 0, HasDerivAt (curve K b p r) (first K b p r t) t ∧ HasDerivAt (first K b p r) (second K b p r t) t ∧ first K b p r t < 0 ∧ 0 < second K b p r t) ∧ StrictAntiOn (curve K b p r) (Set.Ici 0) ∧ StrictConvexOn ℝ (Set.Ici 0) (curve K b p r)
        theorem MindFormal.LogarithmicPractice.savings_identity {omega zi z0 zc zd : ℝ} (ho : omega ≠ 0) (h0 : 0 < zi - z0) (hc : 0 < zi - zc) (hd : 0 < zi - zd) (hK : Real.log ((zi - z0) / (zi - zc)) ≠ 0) :
        1 - 1 / omega * Real.log ((zi - zd) / (zi - zc)) / (1 / omega * Real.log ((zi - z0) / (zi - zc))) = -Real.log (1 - (zd - z0) / (zi - z0)) / Real.log ((zi - z0) / (zi - zc))

        Counted-time savings is the logarithmic read of the retained row.

        theorem MindFormal.LogarithmicPractice.latency_identity {nu target start threshold limit z gamma N : ℝ} (hn : nu ≠ 0) (hnum : 0 < target - start) (hlim : 0 < target - limit) (hdef : 0 < 1 - z * Real.exp (-gamma * N)) (calibration : target - threshold = (target - limit) * (1 - z * Real.exp (-gamma * N))) :
        1 / nu * Real.log ((target - start) / (target - threshold)) - 1 / nu * Real.log ((target - start) / (target - limit)) = curve nu 0 z gamma N

        Inverting the held query and subtracting its limiting crossing yields LI2.2.