Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (5.4) — the first approximation from the direct-route policy does not exceed it

Proved
BellmanRouting.PolicySpace.approx_one_le_approx_zero

by mikedeng1 · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1shortest-pathsuccessive-approximations

Let N=n+1≥2N = n + 1 \ge 2N=n+1≥2 and tij>0t_{ij} > 0tij​>0 for i≠ji \ne ji=j. Let f(0)f^{(0)}f(0) be the direct-route policy (5.2), fi(0)=tiNf_i^{(0)} = t_{iN}fi(0)​=tiN​ for i≠Ni \ne Ni=N and fN(0)=0f_N^{(0)} = 0fN(0)​=0, and let f(1)f^{(1)}f(1) be given by (5.3): fi(1)=min⁡j≠i[tij+fj(0)]f_i^{(1)} = \min_{j \ne i}[t_{ij} + f_j^{(0)}]fi(1)​=minj=i​[tij​+fj(0)​] for i≠Ni \ne Ni=N, fN(1)=0f_N^{(1)} = 0fN(1)​=0. Then

fi(1)≤fi(0),i=1,2,…,N.f_i^{(1)} \le f_i^{(0)}, \qquad i = 1, 2, \dots, N .fi(1)​≤fi(0)​,i=1,2,…,N.

This is the first step of the monotone decrease (5.5).

Formalization Note The paper prints (5.2) for i=1,…,Ni = 1, \dots, Ni=1,…,N, which gives fN(0)=tNNf_N^{(0)} = t_{NN}fN(0)​=tNN​. Read literally, (5.4) is then false whenever tNN>0t_{NN} > 0tNN​>0. For N=2N = 2N=2: f1(1)=t12+f2(0)=t12+t22>t12=f1(0)f_1^{(1)} = t_{12} + f_2^{(0)} = t_{12} + t_{22} > t_{12} = f_1^{(0)}f1(1)​=t12​+f2(0)​=t12​+t22​>t12​=f1(0)​. The paper's own justification ("fi(1)f_i^{(1)}fi(1)​ represents the minimum time for a path with at most one stop") requires fN(0)=0f_N^{(0)} = 0fN(0)​=0, which is what is used here. This is equivalent to the printed (5.2) under tNN=0t_{NN} = 0tNN​=0.

Preamble
import Mathlib
import Definitions.Def_BellmanRouting_PolicySpace_Routing
Formal statement
namespace BellmanRouting.PolicySpace

theorem approx_one_le_approx_zero {n : ℕ} (hn : 1 ≤ n)
    (t : Fin (n + 1) → Fin (n + 1) → ℝ) (ht : ∀ i j, i ≠ j → 0 < t i j) :
    ∀ i, approx t 1 i ≤ approx t 0 i := by sorry

end BellmanRouting.PolicySpace
Source
Bellman, On a routing problem, Quart. Appl. Math. 16 (1958), p. 89, Section 5, Eqs. (5.2)–(5.4)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me