MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.HubBank

13.18's separately presented comparison (VH5) as algebra: m goods each presented with the hub, context i having presence ๐”ฅ on the hub and ๐”ญ on good i; the calibrated bank selected by the conserved null contrast, its common shift in the hub's presence, the local sign test, hub dominance, the diagnostic context, two worlds and the price-only witness, the social feature, and the share-difference test. They name no object of the equations. Nothing here is tagged.

The calibrated bank #

noncomputable def MindFormal.hubStar (m : โ„•) (p h ฯ„ jb : โ„) (K : Fin m โ†’ โ„) :

13.18 (P2): the hub's selected value (๐”ญ๐”ง+ฯ„๐”ฅ๐”ฐ)/๐”ก, ๐”ก=๐”ญยฒ+m๐”ฅยฒ, ๐”ฐ=ฮฃK.

Equations
Instances For
    noncomputable def MindFormal.goodStar (m : โ„•) (p h ฯ„ jb : โ„) (K : Fin m โ†’ โ„) (i : Fin m) :

    13.18 (P2): good i's selected value (ฯ„K_iโˆ’๐”ฅv_h*)/๐”ญ.

    Equations
    Instances For
      theorem MindFormal.hub_bank_unique {m : โ„•} {p h ฯ„ jb : โ„} (hp : 0 < p) (hh : 0 < h) (K : Fin m โ†’ โ„) (vh : โ„) (v : Fin m โ†’ โ„) :
      (โˆ€ (i : Fin m), h * vh + p * v i = ฯ„ * K i) โˆง p * vh - h * โˆ‘ i : Fin m, v i = jb โ†” vh = hubStar m p h ฯ„ jb K โˆง โˆ€ (i : Fin m), v i = goodStar m p h ฯ„ jb K i

      13.18 (P2): for ๐”ญ,๐”ฅ>0, a bank (v_h,v) calibrates every context (๐”ฅv_h+๐”ญv_i=ฯ„K_i) and carries the conserved null contrast ๐”ญv_hโˆ’๐”ฅฮฃv_i=๐”ง exactly when it is the selected bank (P2); goods' differences are ฯ„(K_iโˆ’K_k)/๐”ญ.

      theorem MindFormal.goodStar_diff {m : โ„•} {p h ฯ„ jb : โ„} (hp : p โ‰  0) (K : Fin m โ†’ โ„) (i k : Fin m) :
      goodStar m p h ฯ„ jb K i - goodStar m p h ฯ„ jb K k = ฯ„ * (K i - K k) / p

      13.18 (P2): goods' selected differences are ฯ„(K_iโˆ’K_k)/๐”ญ.

      theorem MindFormal.hub_shift {m : โ„•} {p ฯ„ v0h : โ„} (hp : 0 < p) (K v0 : Fin m โ†’ โ„) (h1 h2 : โ„) (i : Fin m) :
      hubStar m p h1 ฯ„ (p * v0h - h1 * โˆ‘ j : Fin m, v0 j) K = (p ^ 2 * v0h + h1 * (ฯ„ * โˆ‘ j : Fin m, K j - p * โˆ‘ j : Fin m, v0 j)) / (p ^ 2 + โ†‘m * h1 ^ 2) โˆง goodStar m p h2 ฯ„ (p * v0h - h2 * โˆ‘ j : Fin m, v0 j) K i - goodStar m p h1 ฯ„ (p * v0h - h1 * โˆ‘ j : Fin m, v0 j) K i = -(h2 * hubStar m p h2 ฯ„ (p * v0h - h2 * โˆ‘ j : Fin m, v0 j) K - h1 * hubStar m p h1 ฯ„ (p * v0h - h1 * โˆ‘ j : Fin m, v0 j) K) / p

      13.18 (P2a): at a fixed entering bank (vโฐ_h,vโฐ), with ๐”ง=๐”ญvโฐ_hโˆ’๐”ฅฮฃvโฐ, v_h*(๐”ฅ)=(๐”ญยฒvโฐ_h+๐”ฅ(ฯ„๐”ฐโˆ’๐”ญฮฃvโฐ))/(๐”ญยฒ+m๐”ฅยฒ), and changing the hub's presence shifts every good by the same โˆ’ฮ”(๐”ฅv_h*)/๐”ญ.

      theorem MindFormal.good_star_deriv {m : โ„•} {p ฯ„ v0h : โ„} (hp : 0 < p) (K v0 : Fin m โ†’ โ„) (i : Fin m) (h : โ„) :
      HasDerivAt (fun (h : โ„) => (ฯ„ * K i - h * ((p ^ 2 * v0h + h * (ฯ„ * โˆ‘ j : Fin m, K j - p * โˆ‘ j : Fin m, v0 j)) / (p ^ 2 + โ†‘m * h ^ 2))) / p) (-(p * (v0h * (p ^ 2 - โ†‘m * h ^ 2) + 2 * h * (ฯ„ * โˆ‘ j : Fin m, K j - p * โˆ‘ j : Fin m, v0 j))) / (p ^ 2 + โ†‘m * h ^ 2) ^ 2) h

      13.18 (P2b): the local sign test: d v_i*/d๐”ฅ = โˆ’๐”ญ[vโฐ_h(๐”ญยฒโˆ’m๐”ฅยฒ)+2๐”ฅ(ฯ„๐”ฐโˆ’๐”ญฮฃvโฐ)]/(๐”ญยฒ+m๐”ฅยฒ)ยฒ.

      Dominance, diagnostics and witnesses #

      theorem MindFormal.hub_dominance {m : โ„•} {p h ฯ„ jb : โ„} (hp : 0 < p) (hh : 0 < h) (K : Fin m โ†’ โ„) :
      (โˆ€ (i : Fin m), goodStar m p h ฯ„ jb K i < hubStar m p h ฯ„ jb K) โ†” โˆ€ (i : Fin m), ฯ„ * (p ^ 2 + โ†‘m * h ^ 2) * K i < (p + h) * (p * jb + ฯ„ * h * โˆ‘ i : Fin m, K i)

      13.18 (P3): the hub exceeds every good on an element exactly when (๐”ญ+๐”ฅ)(๐”ญ๐”ง+ฯ„๐”ฅ๐”ฐ)>ฯ„๐”กK_i for every good i, that is at the largest delivery.

      theorem MindFormal.hub_witnesses :
      (hubStar 2 (1 / 10) (1 / 10) 1 0 ![1, 1] = 20 / 3 โˆง goodStar 2 (1 / 10) (1 / 10) 1 0 ![1, 1] 0 = 10 / 3) โˆง (hubStar 2 (1 / 10) (1 / 40) 1 0 ![1, 1] = 40 / 9 โˆง goodStar 2 (1 / 10) (1 / 40) 1 0 ![1, 1] 0 = 80 / 9) โˆง (hubStar 2 (1 / 10) (1 / 10) 1 0 ![1, 0] = 10 / 3 โˆง goodStar 2 (1 / 10) (1 / 10) 1 0 ![1, 0] 0 = 20 / 3 โˆง goodStar 2 (1 / 10) (1 / 10) 1 0 ![1, 0] 1 = -10 / 3) โˆง โˆ€ {m : โ„•} {p ฯ„ s : โ„}, 0 < m โ†’ 0 < p โ†’ 0 โ‰ค ฯ„ โ†’ 0 โ‰ค s โ†’ โˆ€ (h : โ„), 0 โ‰ค h โ†’ ฯ„ * h * s / (p ^ 2 + โ†‘m * h ^ 2) โ‰ค ฯ„ * s / (2 * p * โˆšโ†‘m) โˆง (h = p / โˆšโ†‘m โ†’ ฯ„ * h * s / (p ^ 2 + โ†‘m * h ^ 2) = ฯ„ * s / (2 * p * โˆšโ†‘m))

      13.18 (P3): the opposite acquired witnesses and the zero-bank hub maximum: with m=2, ฯ„=K=1, ๐”ญ=1/10 from a zero bank, ๐”ฅ=1/10 gives hub 20/3 and goods 10/3, ๐”ฅ=1/40 gives hub 40/9 and goods 80/9; for deliveries (1,0),(0,1) at ๐”ฅ=๐”ญ=1/10 the hub is 10/3 on either element, the corresponding good 20/3 and the other โˆ’10/3; and the zero-bank hub value ฯ„๐”ฅ๐”ฐ/(๐”ญยฒ+m๐”ฅยฒ) is at most ฯ„๐”ฐ/(2๐”ญโˆšm), with equality at ๐”ฅ=๐”ญ/โˆšm (๐”ฐ โ‰ฅ 0).

      theorem MindFormal.diagnostic_calibration {m : โ„•} {p h ฯ„ : โ„} (hp : 0 < p) (hh : 0 < h) (K : Fin m โ†’ โ„) (j : Fin m) (Kt vh : โ„) (v : Fin m โ†’ โ„) (hcal : โˆ€ (i : Fin m), h * vh + p * v i = ฯ„ * K i) (hdiag : p * v j = ฯ„ * Kt) :
      vh = ฯ„ * (K j - Kt) / h โˆง (Kt = K j โ†’ vh = 0 โˆง โˆ€ (i : Fin m), v i = ฯ„ * K i / p)

      13.18: a diagnostic context presenting good j alone (presence ๐”ญ) with the same delivery K_j: the m+1 calibration equations force v_h=0 and v_i=ฯ„K_i/๐”ญ; with a different diagnostic delivery Kฬƒ_j they force v_h=ฯ„(K_jโˆ’Kฬƒ_j)/๐”ฅ.

      theorem MindFormal.two_worlds {m : โ„•} {p p0 h ฯ„ : โ„} (hp : 0 < p) (hp0 : 0 < p0) (hh : 0 < h) (hฯ„ : 0 < ฯ„) (K : Fin m โ†’ โ„) (i : Fin m) :
      hubStar m p h ฯ„ 0 K - 0 = (ฯ„ * h * โˆ‘ k : Fin m, K k) / (p ^ 2 + โ†‘m * h ^ 2) โˆง goodStar m p h ฯ„ 0 K i - ฯ„ * K i / p = -((ฯ„ * h ^ 2 * โˆ‘ k : Fin m, K k) / (p * (p ^ 2 + โ†‘m * h ^ 2))) โˆง (goodStar m p h ฯ„ 0 K i < ฯ„ * K i / p0 โ†” K i * (1 - p / p0) < (h ^ 2 * โˆ‘ k : Fin m, K k) / (p ^ 2 + โ†‘m * h ^ 2))

      13.18 (P9): from zero banks, the priced world (hub presence ๐”ฅ) and the unpriced world differ by ฯ„๐”ฅ๐”ฐ/๐”ก on the hub and โˆ’ฯ„๐”ฅยฒ๐”ฐ/(๐”ญ๐”ก) on every good; the price-only test (priced presence ๐”ญ, unpriced ๐”ญโ‚€): a priced good is lower exactly when ๐”ฅยฒ๐”ฐ/๐”ก>K_i(1โˆ’๐”ญ/๐”ญโ‚€).

      theorem MindFormal.price_only_witness :
      (1 / (2 + 1 / 4) - 1 / 10 = 31 / 90 โˆง 1 / 4 / (2 + 1 / 4) - 1 / 10 = 1 / 90 โˆง goodStar 2 (31 / 90) (1 / 90) 1 0 ![1, 1] 0 = 310 / 107 โˆง hubStar 2 (31 / 90) (1 / 90) 1 0 ![1, 1] = 20 / 107 โˆง 5 / 2 < 310 / 107 โˆง 1 * 1 / (2 / 5) = 5 / 2) โˆง 1 / (2 + 2) - 1 / 10 = 3 / 20 โˆง 2 / (2 + 2) - 1 / 10 = 2 / 5 โˆง goodStar 2 (3 / 20) (2 / 5) 1 0 ![1, 1] 0 = 60 / 137 โˆง hubStar 2 (3 / 20) (2 / 5) 1 0 ![1, 1] = 320 / 137 โˆง 60 / 137 < 5 / 2

      13.18: the price-only witness on both sides (two goods, ฯ„=1, both deliveries 1, unpriced presence 2/5): at added price drive 1/4 the presences (๐”ญ,๐”ฅ)=(31/90,1/90) give goods 310/107>5/2 and hub 20/107; at price drive 2 they are (3/20,2/5), giving goods 60/137<5/2 and hub 320/137.

      theorem MindFormal.social_feature {m : โ„•} {p h f ฯ„ : โ„} (hp : 0 < p) (K : Fin m โ†’ โ„) :
      have d := p ^ 2 + โ†‘m * (h ^ 2 + f ^ 2); have s := โˆ‘ k : Fin m, K k; have vh := ฯ„ * h * s / d; have vf := ฯ„ * f * s / d; have v := fun (i : Fin m) => ฯ„ * (K i - (h ^ 2 + f ^ 2) * s / d) / p; (โˆ€ (i : Fin m), h * vh + f * vf + p * v i = ฯ„ * K i) โˆง f * vh - h * vf = 0 โˆง p * vh - h * โˆ‘ i : Fin m, v i = 0

      13.18: a social feature present (presence ๐”ฃ) in every priced context: from a zero bank the bank v_h*=ฯ„๐”ฅ๐”ฐ/๐”ก_soc, v_soc*=ฯ„๐”ฃ๐”ฐ/๐”ก_soc, v_i*=ฯ„[K_iโˆ’(๐”ฅยฒ+๐”ฃยฒ)๐”ฐ/๐”ก_soc]/๐”ญ, ๐”ก_soc=๐”ญยฒ+m(๐”ฅยฒ+๐”ฃยฒ), calibrates every context (๐”ฅv_h+๐”ฃv_soc+๐”ญv_i=ฯ„K_i) and keeps the zero entering null contrasts (๐”ฃv_hโˆ’๐”ฅv_soc=0, ๐”ญv_hโˆ’๐”ฅฮฃv_i=0).

      theorem MindFormal.share_test :
      (โˆ€ (P J dJ dP : โ„), P โ‰  0 โ†’ P + dP โ‰  0 โ†’ (J + dJ) / (P + dP) - J / P = (P * dJ - J * dP) / (P * (P + dP))) โˆง 1 / 5 / 1 - 1 / 10 = 1 / 10 โˆง (1 / 5 + 1 / 5) / (1 + 3 / 10) - 1 / 10 = 27 / 130 โˆง 1 / 5 / (1 + 3 / 10) - 1 / 10 = 7 / 130

      13.18 (P10): the share difference J'/P'โˆ’J/P=(Pฮ”Jโˆ’Jฮ”P)/(P(P+ฮ”P)), and at P=1, J=1/5, g=1/10 the increments (1/5,3/10) raise the target 1/10 to 27/130 while (0,3/10) lower it to 7/130.