MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.ValueCurves

13.13's comparison curves as functions: the acquisition factor, the overshadowing ratio, the limiting bank's derivative, the delay integral with its error-function form and its delay derivative, and the scalar-closure test of a linear read. They name no object of the equations; chapter 8's statements apply them to the held comparisons of Ch08/ValueWriter. Nothing here is tagged.

Acquisition and overshadowing #

theorem MindFormal.integral_exp_decay {γ t : ℝ} (hγ : γ ≠ 0) :
∫ (w : ℝ) in 0..t, Real.exp (-γ * (t - w)) = (1 - Real.exp (-γ * t)) / γ

13.13 (9)–(10): ∫_0^te^{−γ(t−w)}dw=(1−e^{−γt})/γ.

theorem MindFormal.integral_exp_neg {κ t : ℝ} (hκ : κ ≠ 0) :
∫ (s : ℝ) in 0..t, Real.exp (-κ * s) = (1 - Real.exp (-κ * t)) / κ

13.14 (H8): ∫_0^te^{−κs}ds=(1−e^{−κt})/κ.

theorem MindFormal.one_sub_exp_div_strictAnti {u w : ℝ} (hu : 0 < u) (huw : u < w) :
(1 - Real.exp (-w)) / w < (1 - Real.exp (-u)) / u

13.13 (11): (1−e^{−x})/x is strictly decreasing on (0,∞) (exp is strictly convex).

theorem MindFormal.overshadow_ratio {P Q c : ℝ} (hP : 0 < P) (hQ : 0 < Q) (hc : 0 < c) :
have r := P ^ 2 / (P ^ 2 + Q ^ 2) * ((1 - Real.exp (-c * (P ^ 2 + Q ^ 2))) / (1 - Real.exp (-c * P ^ 2))); P ^ 2 / (P ^ 2 + Q ^ 2) < r ∧ r < 1

13.13 (11): with cue presence P>0, companion Q>0, a=η_bH/τ>0, the compound/alone ratio P²/(P²+Q²)·(1−e^{−a(P²+Q²)})/(1−e^{−aP²}) lies strictly between P²/(P²+Q²) and 1.

theorem MindFormal.limiting_bank_deriv (τ K Q P : ℝ) (hQ : 0 < Q) :
HasDerivAt (fun (P : ℝ) => τ * K * P / (P ^ 2 + Q ^ 2)) (τ * K * (Q ^ 2 - P ^ 2) / (P ^ 2 + Q ^ 2) ^ 2) P

13.13 (11): the limiting own bank τKP/(P²+Q²) has derivative τK(Q²−P²)/(P²+Q²)² in P.

The delay integral #

noncomputable def MindFormal.delayKernel (lam χ s : ℝ) :

13.13 (12): the delay comparison's integrand e^{−λs−χe^{−2λs}}.

Equations
Instances For
    noncomputable def MindFormal.gaussIntegral (x : ℝ) :

    13.13 (12): ∫_0^xe^{−y²}dy, so that erf(x)=(2/√π)gaussIntegral x.

    Equations
    Instances For
      noncomputable def MindFormal.gaussErf (x : ℝ) :

      13.13 (12): erf(x)=(2/√π)∫_0^xe^{−y²}dy.

      Equations
      Instances For
        theorem MindFormal.delay_integral_erf {lam χ d L : ℝ} (hlam : 0 < lam) (hχ : 0 < χ) :
        ∫ (s : ℝ) in d..d + L, delayKernel lam χ s = √Real.pi / (2 * lam * √χ) * (gaussErf (√χ * Real.exp (-lam * d)) - gaussErf (√χ * Real.exp (-lam * (d + L))))

        13.13 (12): for χ>0, ∫_d^{d+L}e^{−λs−χe^{−2λs}}ds=√π/(2λ√χ)[erf(√χe^{−λd})−erf(√χe^{−λ(d+L)})] (substitution y=√χe^{−λs}).

        theorem MindFormal.delay_integral_hasDerivAt (lam χ L d : ℝ) :
        HasDerivAt (fun (d : ℝ) => ∫ (s : ℝ) in d..d + L, delayKernel lam χ s) (delayKernel lam χ (d + L) - delayKernel lam χ d) d

        13.13 (12)–(13): the delay derivative of ∫_d^{d+L}e^{−λs−χe^{−2λs}}ds is the integrand's change g(d+L)−g(d).

        theorem MindFormal.delayKernel_hasDerivAt (lam χ s : ℝ) :
        HasDerivAt (delayKernel lam χ) (delayKernel lam χ s * (lam * (2 * χ * Real.exp (-2 * lam * s) - 1))) s

        13.13 (13): the kernel's logarithmic derivative is λ(2χe^{−2λs}−1).

        theorem MindFormal.delay_sign {lam χ d L : ℝ} (hlam : 0 < lam) (hL : 0 < L) :
        (2 * χ * Real.exp (-2 * lam * d) < 1 → delayKernel lam χ (d + L) - delayKernel lam χ d < 0) ∧ (1 < 2 * χ * Real.exp (-2 * lam * (d + L)) → 0 < delayKernel lam χ (d + L) - delayKernel lam χ d)

        13.13 (13): if 2χe^{−2λd}<1 the delay integral strictly decreases at d; if 2χe^{−2λ(d+L)}>1 it strictly increases (λ,L>0).

        theorem MindFormal.delay_bounds {lam χ d L : ℝ} (hlam : 0 < lam) (hχ : 0 ≤ χ) (hL : 0 ≤ L) :
        Real.exp (-χ * Real.exp (-2 * lam * d)) * (Real.exp (-lam * d) * (1 - Real.exp (-lam * L)) / lam) ≤ ∫ (s : ℝ) in d..d + L, delayKernel lam χ s ∧ ∫ (s : ℝ) in d..d + L, delayKernel lam χ s ≤ Real.exp (-lam * d) * (1 - Real.exp (-lam * L)) / lam

        13.13 (13): the fading-credit bounds e^{−χe^{−2λd}}·e^{−λd}(1−e^{−λL})/λ ≤ ∫_d^{d+L}g ≤ e^{−λd}(1−e^{−λL})/λ (χ ≥ 0, λ>0, L ≥ 0).

        Scalar closure of a linear read #

        theorem MindFormal.closure_iff_fibres {n : ℕ} (ℓ : Fin n → ℝ) (hℓ : ℓ ≠ 0) (G : (Fin n → ℝ) → ℝ) :
        (∃ (kt : ℝ → ℝ), ∀ (z : Fin n → ℝ), G z = kt (∑ b : Fin n, ℓ b * z b)) ↔ ∀ (z z' : Fin n → ℝ), ∑ b : Fin n, ℓ b * z b = ∑ b : Fin n, ℓ b * z' b → G z = G z'

        13.13 (14): a read's drift factors through the projected surprise for all surprises exactly when it is constant on every fiber of the projection (ℓ≠0).

        theorem MindFormal.identity_closure_iff {n : ℕ} (ℓ η : Fin n → ℝ) (hℓ : ℓ ≠ 0) :
        (∃ (kt : ℝ → ℝ), ∀ (z : Fin n → ℝ), ∑ b : Fin n, ℓ b * η b * z b = kt (∑ b : Fin n, ℓ b * z b)) ↔ ∃ (ηl : ℝ), ∀ (b : Fin n), ℓ b * η b = ηl * ℓ b

        13.13 (15): a linear functional Σ_bℓ_bη_bz_b factors through Σ_bℓ_bz_b (ℓ≠0) exactly when all element rates in the read's support coincide: ℓ_bη_b=η_ℓℓ_b for one η_ℓ.