MindFormal v1.0.0One Mind

MindFormal.Tools.A640Standards.StakesRamp

theorem MindFormal.A640Standards.StakesRamp.stake_margin (bi bj di dj Ti Tj z : ℝ) :
(bj - dj * z) * Ti - (bi - di * z) * Tj = bj * Ti - bi * Tj + z * (di * Tj - dj * Ti)
theorem MindFormal.A640Standards.StakesRamp.stake_deadline (h bi di Ti z : ℝ) :
h * Ti - (bi - di * z) = h * Ti - bi + di * z
theorem MindFormal.A640Standards.StakesRamp.outward_root {a slope : ℝ} (ha : 0 < a) (hs : slope < 0) :
(FirstExit.outward fun (z : NNReal) => 0 ≤ a + slope * ↑z) = ↑(NNReal.mk (-a / slope) ⋯)
theorem MindFormal.A640Standards.StakesRamp.ramp_error {ν t : ℝ} (hν : 0 < ν) (ht : 0 ≤ t) (p u : ℝ) :
expConv ν p (fun (s : ℝ) => p + u * s) t - (p + u * t) = -u / ν * (1 - Real.exp (-ν * t))

The initial value is calibrated. Only the named activity comparison holds its target equal to the ramp; learning of that target is separate.

theorem MindFormal.A640Standards.StakesRamp.ramp_boundary {ν ε u : ℝ} (hν : 0 < ν) (hε : 0 < ε) (hsmall : ν * ε < |u|) :
have t := -Real.log (1 - ν * ε / |u|) / ν; 0 < t ∧ |-u / ν * (1 - Real.exp (-ν * t))| = ε
theorem MindFormal.A640Standards.StakesRamp.payoff_scaling {C : Type u_1} [Fintype C] (q U : C → ℝ) {c : ℝ} (hc : 0 < c) :