MindFormal v1.0.0One Mind

MindFormal.Tools.A705SupportChoices.Retained

19.16 §3: the named retained-value comparison FM1.3--FM1.6. Learner i's new-minus-old learned value moves block by block toward b Δ_i(S), the payoff contrast it experiences against the partners' retained last free commitments, with retention ϱ per exposure block. This is the scalar comparison only.

def MindFormal.A705SupportChoices.coordinationPayoff {M : Type u_1} [Fintype M] [DecidableEq M] (γ : M → M → ℝ) (c : M → ℝ) (act : M → Bool) (i : M) :

The coordination return table: Σ_{j≠i} γ_ij 1[a_i = a_j] - c_i 1[a_i = new].

Equations
Instances For
    def MindFormal.A705SupportChoices.totalWeight {M : Type u_1} [Fintype M] [DecidableEq M] (γ : M → M → ℝ) (i : M) :

    Γ_i = Σ_{j≠i} γ_ij.

    Equations
    Instances For
      def MindFormal.A705SupportChoices.contrast {M : Type u_1} [Fintype M] [DecidableEq M] (γ : M → M → ℝ) (c : M → ℝ) (S : Finset M) (i : M) :

      FM1.3's experienced contrast Δ_i(S) = 2Σ_{j∈S∖{i}} γ_ij - Γ_i - c_i.

      Equations
      Instances For
        theorem MindFormal.A705SupportChoices.payoff_contrast {M : Type u_1} [Fintype M] [DecidableEq M] (γ : M → M → ℝ) (c : M → ℝ) (S : Finset M) (i : M) :
        coordinationPayoff γ c (Function.update (fun (j : M) => decide (j ∈ S)) i true) i - coordinationPayoff γ c (Function.update (fun (j : M) => decide (j ∈ S)) i false) i = contrast γ c S i

        The experienced new-minus-old payoff against the retained commitments S (partners in S committed to the new act) is exactly Δ_i(S).

        The block recursion of the named comparison.

        Equations
        Instances For
          theorem MindFormal.A705SupportChoices.retained_eq (ρ b Δ V0 : ℝ) (l : ℕ) :
          retained ρ b Δ V0 l = ρ ^ l * V0 + (1 - ρ ^ l) * b * Δ

          FM1.3's closed form V(ℓ) = ϱ^ℓ V(0) + (1-ϱ^ℓ) b Δ.

          theorem MindFormal.A705SupportChoices.threshold_iff {M : Type u_1} [Fintype M] [DecidableEq M] (γ : M → M → ℝ) (c : M → ℝ) (S : Finset M) {i : M} (hi : i ∉ S) {ρ b d : ℝ} (hρ0 : 0 < ρ) (hρ1 : ρ < 1) (hb : 0 < b) {l : ℕ} (hl : 1 ≤ l) :
          0 < retained ρ b (contrast γ c S i) (-d) l ↔ (totalWeight γ i + c i) / 2 + ρ ^ l * d / (2 * b * (1 - ρ ^ l)) < ∑ j ∈ S, γ i j

          FM1.3's received-weight threshold for an unseeded learner i ∉ S with old advantage d > 0: positive after ℓ ≥ 1 blocks exactly when Σ_{j∈S}γ_ij > (Γ_i+c_i)/2 + ϱ^ℓ d/(2b(1-ϱ^ℓ)).

          theorem MindFormal.A705SupportChoices.least_blocks {ρ b Δ d : ℝ} (hρ0 : 0 < ρ) (hρ1 : ρ < 1) (hb : 0 < b) (hΔ : 0 < Δ) (hd : 0 < d) (l : ℕ) :
          0 < retained ρ b Δ (-d) l ↔ 1 + ⌊Real.log (b * Δ / (d + b * Δ)) / Real.log ρ⌋₊ ≤ l

          FM1.4: the least number of complete blocks making an initially negative contrast -d strictly positive is 1 + ⌊log(bΔ/(d+bΔ))/log ϱ⌋ when Δ > 0.

          theorem MindFormal.A705SupportChoices.never_blocks {ρ b Δ d : ℝ} (hρ0 : 0 < ρ) (hρ1 : ρ < 1) (hb : 0 < b) (hΔ : Δ ≤ 0) (hd : 0 < d) (l : ℕ) :
          retained ρ b Δ (-d) l < 0

          For a nonpositive contrast an initially negative value never becomes positive.

          noncomputable def MindFormal.A705SupportChoices.sizeThreshold (γ c d b ρ : ℝ) (m l : ℕ) :

          FM1.5's equal-weight size h_ℓ = (γ(𝔫-1) + c + ϱ^ℓ d/(b(1-ϱ^ℓ)))/(2γ).

          Equations
          Instances For

            FM1.5's least receiving group size max{0, 1 + ⌊h_ℓ⌋}.

            Equations
            Instances For
              theorem MindFormal.A705SupportChoices.equal_weight_iff {M : Type u_1} [Fintype M] [DecidableEq M] {γ c ρ b d : ℝ} (hγ : 0 < γ) (hρ0 : 0 < ρ) (hρ1 : ρ < 1) (hb : 0 < b) (S : Finset M) {i : M} (hi : i ∉ S) {l : ℕ} (hl : 1 ≤ l) :
              (0 < retained ρ b (contrast (fun (x x_1 : M) => γ) (fun (x : M) => c) S i) (-d) l ↔ sizeThreshold γ c d b ρ (Fintype.card M) l < ↑S.card) ∧ (sizeThreshold γ c d b ρ (Fintype.card M) l < ↑S.card ↔ leastSize (sizeThreshold γ c d b ρ (Fintype.card M) l) ≤ ↑S.card)

              FM1.5: with equal weights γ > 0 on every partner, equal cost and equal b, d, ϱ, an unseeded receiver crosses by block ℓ ≥ 1 exactly when |S| > h_ℓ, i.e. |S| ≥ max{0, 1+⌊h_ℓ⌋}.

              theorem MindFormal.A705SupportChoices.seed_retained (ρ b Δ d : ℝ) (l : ℕ) :
              retained ρ b Δ d l = ρ ^ l * d + (1 - ρ ^ l) * b * Δ

              FM1.6: the seed's retained contrast after l blocks, and the separate test.

              theorem MindFormal.A705SupportChoices.endpoint_minimum {ρ b Δ V0 : ℝ} (hρ0 : 0 ≤ ρ) (hρ1 : ρ ≤ 1) {l L : ℕ} (hlL : l ≤ L) :
              min (retained ρ b Δ V0 0) (retained ρ b Δ V0 L) ≤ retained ρ b Δ V0 l

              With fixed forcing the comparison path is monotone between its start and its fixed point, so its minimum over a release interval is at an endpoint.

              theorem MindFormal.A705SupportChoices.regimes {M : Type u_1} [Fintype M] [DecidableEq M] (γ : M → M → ℝ) (c : M → ℝ) (i : M) {ρ b : ℝ} (hb : 0 < b) :
              contrast γ c Finset.univ i = totalWeight γ i - c i ∧ contrast γ c ∅ i = -totalWeight γ i - c i ∧ (0 < totalWeight γ i + c i → b * contrast γ c ∅ i < 0) ∧ ∀ (V : ℝ), ρ * V + (1 - ρ) * b * contrast γ c Finset.univ i = V → ρ ≠ 1 → V = b * contrast γ c Finset.univ i

              After everyone changes, continued reinforcement has contrast Γ_i - c_i; the all-old profile has contrast -Γ_i - c_i, a strictly negative fixed point when Γ_i + c_i > 0. These are the two self-maintaining regimes of the comparison.

              theorem MindFormal.A705SupportChoices.faster_erases {ρ ρ' b Δ d : ℝ} (hρ' : 0 ≤ ρ') (hlt : ρ' < ρ) (hneg : b * Δ < d) {l : ℕ} (hl : 1 ≤ l) :
              retained ρ' b Δ d l < retained ρ b Δ d l

              Faster value learning (smaller retention) erases a seed faster when its own contrast is negative.

              theorem MindFormal.A705SupportChoices.five_mind :
              have γ := fun (x x_1 : Fin 5) => 1; have c := fun (x : Fin 5) => 0; have S3 := {0, 1, 2}; have S2 := {0, 1}; have S1 := {0}; retained (1 / 2) 1 (contrast γ c S3 3) (-4) 2 = 1 / 2 ∧ retained (1 / 2) 1 (contrast γ c S3 4) (-4) 2 = 1 / 2 ∧ (∀ i ∈ S3, retained (1 / 2) 1 (contrast γ c S3 i) 4 2 = 1) ∧ contrast γ c Finset.univ 0 = 4 ∧ retained (1 / 2) 1 (contrast γ c S1 0) 4 2 = -2 ∧ (∀ i ∉ S1, retained (1 / 2) 1 (contrast γ c S1 i) (-4) 2 = -5 / 2) ∧ ∀ i ∉ S2, retained (1 / 2) 1 (contrast γ c S2 i) (-4) 2 = -1

              §3's five-mind example: 𝔫 = 5, γ = b = 1, c = 0, ϱ = 1/2, two blocks, unseeded -4, seeded +4. Three seeds: receivers 1/2, seeds 1, next forcing 4. One seed: seed -2, others -5/2. Two seeds: receivers -1.