MindFormal v1.0.0One Mind

MindFormal.Example.A695GamesRoles.PartnerPrefix

theorem MindFormal.A695GamesRoles.Learner.partner_prefix_value (G : CountableContinuationRepair.SharpPath 7 2 Unit Unit) {K : ℕ} {epsilon : ℝ} {arm : Bool} (he : epsilon ∈ Set.Ioc 0 1) (hn11 : epsilon ^ 11 ≤ tiny) (hn : ∀ t ∈ Set.Icc 0 (RetainedCalendar.horizon epsilon), ∀ (c : CoordinateIndex (Fin 7) 2 Unit Unit), |G.driver t.toNNReal c| ≤ epsilon ^ 11) (hd : G.data = nativeData 1 K epsilon ⋯) (hs : G.state 0 = start arm 1) (hk : ∀ t ∈ Set.Icc 0 (RetainedCalendar.horizon epsilon), ∀ (b : Fin 2), reward K (G.input t) b ∈ Set.Icc 0 28) (hi : ∀ (b : Fin 2) (s t : ℝ), IntervalIntegrable (fun (r : ℝ) => reward K (G.input r) b) MeasureTheory.volume s t) (hcost : ∀ (s : ℝ), reward K (G.input s) 1 = 0) (hp : RetainedCalendar.partnerPrice epsilon ≤ 1 / 1000) (count : ℕ) (hc : count ≤ 3) (htrain : ∀ j < count, ∀ s ∈ RetainedCalendar.trainingReceipt epsilon j, reward K (G.input s) 0 = RetainedEligibility.trainingReward arm) {t : ℝ} (ht : t ∈ Set.Icc 0 (RetainedCalendar.horizon epsilon)) (hbefore : t ≤ RetainedCalendar.freeTime epsilon count + 5) (i : Fin 7) (b : Fin 2) :
|mindValue (G.state t) i b () - RetainedEligibility.value arm 3 epsilon t i b| ≤ 1 / 1000

A value read before a native query uses only the already fixed training commitments. Every short free-return and idle discrepancy is charged by the prefix price rather than silently averaged away.

theorem MindFormal.A695GamesRoles.Learner.partner_bank_bounds (z : State) {arm : Bool} {epsilon t : ℝ} (he : 0 ≤ epsilon) (ht : 0 ≤ t) (hb : ∀ (i : Fin 7) (b : Fin 2), |mindValue z i b () - RetainedEligibility.value arm 3 epsilon t i b| ≤ 1 / 1000) (i : Fin 7) :
mindValue z i 0 () - mindValue z i 1 () ∈ Set.Icc (-1 / 500) (3001 / 500)

Complete benefit and cost read bounds; the two value rates remain strictly positive and unequal in the native system.

theorem MindFormal.A695GamesRoles.Learner.partner_learned_contrast (z : State) {arm : Bool} {epsilon t : ℝ} (he : 0 < epsilon) (ht : RetainedCalendar.period epsilon ≤ t) (hb : ∀ (i : Fin 7) (b : Fin 2), |mindValue z i b () - RetainedEligibility.value arm 3 epsilon t i b| ≤ 1 / 1000) :
49 / 100 ≤ (if arm = true then 1 else -1) * (mindValue z 0 0 () - mindValue z 0 1 () - (mindValue z 1 0 () - mindValue z 1 1 ()))