Proof of Theorem 2, p. 16 — the interchanged schedule is feasible and costs no more: V^π2 − V^π1 ≤ 0
ProvedDischargeTiming.Ranking.interchange_costWork under the standing assumptions ( continuously differentiable and nonincreasing on , ). Fix an initial state, an exogenous arrival path, a horizon and a feasible schedule (the policy ) with trajectory . Let be strongly dominating types with , let , , with and . Assume , , and that the kept cohort is discharged at ( if ) or is present at the horizon ( if ).
Let (the policy ) be the interchanged schedule, which discharges the patient at and the patient at instead. Then is feasible on the horizon and
that is, the total cost of is at most that of .
This is the single interchange step of the proof of Theorem 2, in the case treated in the main text, where both interchanged patients stay within the maximum LOS.
Formalization Note Total cost is the finite-horizon cost with terminal valuation of the mission's model. The hypothesis is added: the extra discharge at must respect the minimum LOS (4). The page's case condition ", i.e. that is not beyond type patient's maximum LOS" is stated for both patients, and , which is what makes both shifted unit vectors exist.
import Mathlib import Definitions.Def_DischargeTiming_Ranking_Model
namespace DischargeTiming.Ranking
theorem interchange_cost {M J : ℕ} (P : Model M J) (hP : P.Standing) (x0 : State M J)
(arr : ℕ → Fin M → ℕ) (H : ℕ) (D : ℕ → Action M J)
(hD : FeasibleSchedule P x0 arr H D)
(m1 m2 : Fin M) (t1 t2 : Fin (J + 1))
(hdom : StronglyDominates P m1 ((t1 : ℕ) : ℝ) m2 ((t2 : ℕ) : ℝ))
(hL : P.L m1 ≤ t1)
(k k' : ℕ) (hkk' : k < k') (hk'H : k' ≤ H)
(h1 : (t1 : ℕ) + (k' - k) ≤ J) (h2 : (t2 : ℕ) + (k' - k) ≤ J)
(hD2 : 1 ≤ D k m2 t2) (hD1 : D k m1 t1 < traj x0 arr D k m1 t1)
(hlate : k' < H → 1 ≤ D k' m1 (losShift t1 (k' - k) h1))
(hterm : k' = H → 1 ≤ traj x0 arr D H m1 (losShift t1 (k' - k) h1)) :
FeasibleSchedule P x0 arr H
(interchange D k k' m1 t1 (losShift t1 (k' - k) h1) m2 t2 (losShift t2 (k' - k) h2))
∧ totalCost P x0 arr H
(interchange D k k' m1 t1 (losShift t1 (k' - k) h1) m2 t2 (losShift t2 (k' - k) h2))
- totalCost P x0 arr H D
= dischargeCost P (unitAction m1 t1)
+ dischargeCost P (unitAction m2 (losShift t2 (k' - k) h2))
- dischargeCost P (unitAction m2 t2)
- dischargeCost P (unitAction m1 (losShift t1 (k' - k) h1))
∧ totalCost P x0 arr H
(interchange D k k' m1 t1 (losShift t1 (k' - k) h1) m2 t2 (losShift t2 (k' - k) h2))
≤ totalCost P x0 arr H D := by sorry
end DischargeTiming.Ranking
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.