Proposition 3, p. 18 — mean and variance of the within-radius trip length L_r, both increasing in R and decreasing in r
ProvedStallEconomy.TripLength.proposition_3Fix the Euclidean edge length of the diamond service zone and a walking radius with . The stall is uniform on the inner diamond , the next customer is uniform on , independently, and the stall's repositioning trip length is with the Manhattan distance. Then:
- and are both increasing in and decreasing in : for each they are non-increasing functions of on , and for each they are non-decreasing functions of on .
The proposition solves the paper's rendezvous problem: once the rendezvous are known to be uniform on the inner diamond, the first two moments of the trip length are explicit, and part 3 says that a longer customer walk shortens the stall's repositioning and a larger zone lengthens it.
Formalization Note. Parts 1 and 2 are stated for all and , the paper's range. Part 3 is stated about the defined quantities meanL and varL (the integrals), not about the closed forms, and "increasing/decreasing" is read as weak monotonicity on the paper's range, which is what the derivative signs on p. 51 give. is the edge length itself; the paper writes .
import Mathlib import Definitions.Def_StallEconomy_TripLength_Setting
namespace StallEconomy.TripLength
theorem proposition_3 :
(∀ R r : ℝ, 0 < R → 0 ≤ r → r ≤ R / Real.sqrt 2 →
meanL R r = (7 * Real.sqrt 2 * R ^ 3 - 22 * R ^ 2 * r + 2 * Real.sqrt 2 * R * r ^ 2 + 12 * r ^ 3)
/ (15 * R ^ 2)) ∧
(∀ R r : ℝ, 0 < R → 0 ≤ r → r ≤ R / Real.sqrt 2 →
varL R r = (22 * R ^ 6 - 22 * Real.sqrt 2 * R ^ 5 * r - 140 * Real.sqrt 2 * R ^ 3 * r ^ 3
+ 400 * R ^ 2 * r ^ 4 - 48 * Real.sqrt 2 * R * r ^ 5 - 144 * r ^ 6) / (225 * R ^ 4)) ∧
(∀ R : ℝ, 0 < R → AntitoneOn (fun r => meanL R r) (Set.Icc 0 (R / Real.sqrt 2))) ∧
(∀ R : ℝ, 0 < R → AntitoneOn (fun r => varL R r) (Set.Icc 0 (R / Real.sqrt 2))) ∧
(∀ r : ℝ, 0 ≤ r → MonotoneOn (fun R => meanL R r) {R : ℝ | 0 < R ∧ r ≤ R / Real.sqrt 2}) ∧
(∀ r : ℝ, 0 ≤ r → MonotoneOn (fun R => varL R r) {R : ℝ | 0 < R ∧ r ≤ R / Real.sqrt 2}) := by sorry
end StallEconomy.TripLength
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.