Stochastic Linear Programming 02: Finiteness and Smoothness of Expected Fixed RecourseTextbook
Motivation
A two-stage stochastic linear program chooses a first-stage decision before uncertain coefficients are known and then uses recourse variables to repair the decision after the data are observed. The resulting expected recourse cost is central to existence, stability, and numerical methods: if it can be infinite, an apparently feasible model may still have no meaningful expected objective; if it is differentiable with a continuous gradient, deterministic smooth optimization methods become available on the feasible first-stage domain. Chapter III of Peter Kall's Stochastic Linear Programming develops these properties for fixed recourse. This mission packages two complete results from that development: Theorem 12 on continuous differentiability and Theorem 15 on the exact finiteness criterion under complete recourse.
Theorem 12 is the goal. Theorem 15 is retained as a separate source theorem from the same expected-recourse setting, not as a lemma asserted to prove Theorem 12. Keeping both statements makes the distinction between the general feasible-domain regime and the stronger complete-recourse regime explicit.
Setting
Fix a deterministic matrix (W\in\mathbb R^{m\times p}). A random data point is a triple (d=(A,b,q)), where (A\in\mathbb R^{m\times n}), (b\in\mathbb R^m), and (q\in\mathbb R^p), with arbitrary joint probability law μ. For a first-stage vector (x\in\mathbb R^n), the pointwise recourse value is the extended-real linear-program value
The extended-real convention records an infeasible recourse problem as (+\infty) and an unbounded-below problem as (-\infty). The recourse domain is
Thus (K) requires almost-sure feasibility but does not assume complete recourse and does not exclude a value of (-\infty). The signed extended expectation follows Kall's equation III.(8): it is the integral of the positive part minus the integral of the negative part. A separate real-valued expected-recourse adapter integrates (Q(x,d).\mathrm{toReal}); the target uses that adapter only after explicitly concluding almost-sure finiteness and integrability, so totalization at infinities does not hide a divergent cost.
The shared moment condition is exactly the disjunction from Theorem 10 and Corollary 11: all coordinates of (A,b,q) are square integrable; or (q) is almost surely constant while (A,b) are integrable; or (A,b) are almost surely constant while (q) is integrable; or all three random coefficient ranges are bounded. No independence or finite-support hypothesis is imposed.
Finally, (W) has complete recourse when every right-hand side (z\in\mathbb R^m) admits a nonnegative (y) satisfying (Wy=z). This is stronger than membership of one decision in (K), but it does not by itself prevent an unbounded-below recourse cost.
Formalization targets
Theorem 12: continuous gradient of expected fixed recourse
Assume one of the four moment alternatives, assume the signed expected recourse is strictly above (-\infty) at every (x\in K), and assume the joint law μ is absolutely continuous with respect to Lebesgue measure on the full finite-dimensional coefficient space. Then the pointwise recourse value is finite almost everywhere and its real projection is integrable for each (x\in K). Moreover, there is a continuous field of linear functionals (g(x)) such that
including boundary points of (K). In Lean this is stated by ContinuousOn g K together with HasFDerivWithinAt for the expected-recourse function at every point of (K). It is not weakened to differentiability only on the interior, and it does not add complete recourse.
Theorem 15: finiteness iff almost-sure dual feasibility
Under complete recourse and one of the same four moment alternatives, for an arbitrary fixed (x\in\mathbb R^n),
The left side means that the signed extended expectation equals a real number, not merely that a totalized real integral returns a value. The right side requires feasibility of the dual inequalities almost surely; it does not require attainment or optimality. This full equivalence is the mission's supporting milestone.
Significance
Theorem 12 supplies a smooth expected objective on the entire source feasible domain under an absolutely continuous data law. That conclusion is stronger than convexity or local Lipschitz continuity: it provides a continuously varying derivative while retaining boundary points and the random dependence of all coefficient blocks. The explicit finiteness and integrability clauses make clear when the real expected objective faithfully represents the extended-real model.
Theorem 15 separates two different well-posedness questions. Complete recourse guarantees primal feasibility for every residual, while almost-sure feasibility of the dual inequalities is exactly what prevents the expected value from escaping the real line under the stated moment conditions. Omitting either direction would lose the source's characterization.
Both results are established in the 1976 book; the staged Lean theorem declarations contain proof placeholders. Completing them would give machine-checked versions of the source statements using reusable definitions for equality-constrained nonnegative linear-program values, pointwise recourse, expected recourse, complete recourse, the signed expectation, and the four moment regimes.
Difficulty
For differentiability, a pointwise optimal solution or dual vector need not vary continuously when the active basis changes. Absolute continuity removes coefficient configurations lying on relevant exceptional hyperplanes only after a measure-theoretic argument, and the conclusion must hold relative to a possibly closed feasible domain rather than only on an open set. One must also prove finiteness and integrability before using the real-valued expectation; simply differentiating the totalized toReal expression would not establish the source theorem.
For finiteness, complete recourse handles feasibility but not unbounded negative cost. The dual system is random through (q), and the equivalence concerns almost-sure existence of a dual-feasible vector together with a signed extended expectation. Assuming dual feasibility or integrability of the recourse value at the outset would make one direction circular.
Formalization scope
All coefficient spaces use finite Fin indices and real scalars. The law is an arbitrary probability measure on the joint product (A,b,q). The density premise for Theorem 12 is ambient absolute continuity with respect to the product Lebesgue volume; it is not a density on an unspecified lower-dimensional support. Consequently, some constant-coordinate moment branches may be incompatible with that density premise, matching the reviewed ambient interpretation rather than silently changing the measure space.
The feasible domain uses (Q(x,d)<+\infty) almost surely and includes its boundary. The signed expectation preserves positive and negative infinities. Theorem 12 assumes it is above (-\infty) on (K) and concludes the conditions needed for the separate real integral. Theorem 15 adds complete recourse but no density, independence, finite support, pre-assumed dual feasibility, or pre-assumed value integrability. Its decision (x) remains arbitrary.
The mission reuses the platform definitions of LPValue, PointwiseRecourse, ExpectedRecourse, and CompleteRecourse. The book-local Kall1976 namespace contains only the expression-essential data type, feasible domain, signed expectation, moment disjunction, and the two reviewed theorem statements. Contributions may add analytical, measure-theoretic, or linear-programming lemmas needed for proofs, but may not replace the signed expectation by a totalized real value, restrict Theorem 12 to the interior, or weaken Theorem 15 to one implication.
Selected references
- Peter Kall, Stochastic Linear Programming, Springer, 1976, Chapter III: equations (4)-(5), printed p. 41 / PDF47; equation (8), printed p. 44 / PDF50; Theorem 10 and Corollary 11, printed pp. 46-48 / PDF52-54; Theorem 12, printed p. 48 / PDF54; complete recourse, printed p. 51 / PDF57; Theorem 15, printed p. 54 / PDF60. DOI.