MindFormal v1.0.0One Mind

MindFormal.Tools.A695GamesRoles.RetainedEligibility

A retained eligibility preparation, not a frozen native trace. The native comparison must pay its positive trace rate and all other rows. The resistant port retains value four; only the yielding port is eligible in this reference. Both own-action receipts enter the training force.

Equations
Instances For
    noncomputable def MindFormal.A695GamesRoles.RetainedEligibility.value (focal : Bool) (initial rate t : ℝ) :
    Fin 7 → Fin 2 → ℝ
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A695GamesRoles.RetainedEligibility.value_zero (focal : Bool) (initial rate : ℝ) :
      value focal initial rate 0 = retainedValue initial
      theorem MindFormal.A695GamesRoles.RetainedEligibility.value_projection (focal : Bool) (initial rate t : ℝ) (b : Fin 2) :
      ∑ i : Fin 7, eligibility i * value focal initial rate t i b = value focal initial rate t 0 b / 6
      theorem MindFormal.A695GamesRoles.RetainedEligibility.value_III (focal : Bool) (initial rate t : ℝ) (i : Fin 7) (b : Fin 2) :
      HasDerivAt (fun (s : ℝ) => value focal initial rate s i b) ((if b = 0 then 36 * rate else 72 * rate) * eligibility i * ((if b = 0 then trainingReward focal else 0) - ∑ j : Fin 7, eligibility j * value focal initial rate t j b)) t

      All entries solve the complete III comparison, including the second value kind at twice the strictly positive benefit rate. The zero rate in the trace equation belongs only to this retained-eligibility reference.

      theorem MindFormal.A695GamesRoles.RetainedEligibility.value_half {rate : ℝ} (hr : 0 < rate) (focal : Bool) (initial : ℝ) :
      value focal initial rate (Real.log 2 / rate) 0 0 = initial / 2 + 3 * trainingReward focal
      theorem MindFormal.A695GamesRoles.RetainedEligibility.contrast_half {rate : ℝ} (hr : 0 < rate) (focal : Bool) (initial : ℝ) :
      value focal initial rate (Real.log 2 / rate) 0 0 - value focal initial rate (Real.log 2 / rate) 1 0 = (initial - 4) / 2 + (if focal = true then 2 else -1) / 2