Proof of Theorem 1, p. 10 — the discounted residual cost after the next payment
ProvedLNChannels.Exact.last_termLet and be independent exponential random variables with rates and , let and . Starting from balance , the balance after the next payment is if rings first (node 2 pays) and otherwise. Then for every function ,
These are the second and third coefficients of the first-step equation (15).
Formalization Note The conditional expectation given is written as the unconditional expectation of , where the sign is chosen by the event ; a tie is sent to and has probability zero. The paper factors the expectation as ; the statement is the joint expectation, and no independence of from the identity of the first clock is assumed. Laws are expMeasure via push-forwards, independence is IndepFun, and integrability is part of what is to be proved.
import Mathlib set_option autoImplicit false open MeasureTheory ProbabilityTheory
namespace LNChannels.Exact
/-- Proof of Theorem 1, p. 10, "the last term equals": for independent exponential clocks
`τ^{λ₂}`, `τ^{λ₁}` and `τ = τ^{λ₂} ∧ τ^{λ₁}`, the balance moves from `n` to `n + 1` if
`τ^{λ₂}` rings first and to `n − 1` otherwise, and for every `J : ℤ → ℝ`
`E[e^{−rτ} J(X_{t+τ}) | X_t = n] = J(n + 1) λ₂/(r + λ₂ + λ₁) + J(n − 1) λ₁/(r + λ₂ + λ₁)`. -/
theorem last_term {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(τ₁ τ₂ : Ω → ℝ) (lam₁ lam₂ r : ℝ) (hlam₁ : 0 < lam₁) (hlam₂ : 0 < lam₂) (hr : 0 < r)
(hτ₁ : Measurable τ₁) (hτ₂ : Measurable τ₂)
(hlaw₁ : P.map τ₁ = expMeasure lam₁) (hlaw₂ : P.map τ₂ = expMeasure lam₂)
(hindep : IndepFun τ₂ τ₁ P) (J : ℤ → ℝ) (n : ℤ) :
∫ ω, Real.exp (-r * min (τ₂ ω) (τ₁ ω)) * J (if τ₂ ω < τ₁ ω then n + 1 else n - 1) ∂P
= J (n + 1) * (lam₂ / (r + lam₂ + lam₁))
+ J (n - 1) * (lam₁ / (r + lam₂ + lam₁)) := by sorry
end LNChannels.Exact
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.