Helper for Theorem 19.1: cones generated by finite sets are polyhedral.
Helper for Theorem 19.1: mixed convex hull of finitely many generators is polyhedral.
Helper for Corollary 19.1.1: positive multiples preserve IsDirectionOf.
Helper for Corollary 19.1.1: positive multiples of an extreme direction are extreme directions.
Helper for Corollary 19.1.1: extreme directions are nonzero.
Helper for Corollary 19.1.1: if any extreme direction exists, then there are infinitely many extreme-direction vectors.
Helper for Corollary 19.1.1: finiteness of extreme-direction vectors is equivalent to the absence of extreme directions.
Helper for Corollary 19.1.1: polyhedral sets admit finitely many extreme-direction representatives up to positive scaling.
Helper for Corollary 19.1.1: the nonnegative half-space in Fin 1 → ℝ is polyhedral.
Helper for Corollary 19.1.1: the nonnegative half-space in Fin 1 → ℝ has direction
vector 1.
Helper for Corollary 19.1.1: the nonnegative half-space in Fin 1 → ℝ has an extreme
direction.
Helper for Corollary 19.1.1: a polyhedral half-space in Fin 1 → ℝ has an extreme
direction.
Helper for Corollary 19.1.1: a polyhedral set can have infinitely many extreme-direction vectors.
Helper for Corollary 19.1.1: the global finite-extreme-direction-vector claim is false,
as witnessed by the dimension-1 counterexample.
Helper for Corollary 19.1.1: polyhedral sets have finitely many extreme points.
Helper for Corollary 19.1.1: corrected direction claim via finitely many extreme-direction representatives up to positive scaling.
Corollary 19.1.1 (formalized via rays): A polyhedral convex set has at most a finite number of extreme points and finitely many extreme-direction representatives up to positive scaling.
Text 19.0.8: A convex function f : ℝ^n → (-∞, +∞] is called polyhedral convex if its
epigraph epi f = {(x, μ) ∈ ℝ^{n+1} | f x ≤ μ} is a polyhedral convex set in ℝ^{n+1}.
Equations
- IsPolyhedralConvexFunction n f = (ConvexFunctionOn Set.univ f ∧ IsPolyhedralConvexSet (n + 1) ((fun (p : (Fin n → ℝ) × ℝ) => (prodLinearEquiv_append p).ofLp) '' epigraph Set.univ f))
Instances For
Helper for Text 19.0.9: any function with the theorem's
max-affine-plus-indicator representation never takes the value ⊥.
Helper for Text 19.0.9: any function admitting the theorem's max-affine-plus-indicator representation is not the constant bottom function.
Helper for Text 19.0.9: a max-affine-plus-indicator representation yields both
pointwise non-⊥ values and global non-constancy at ⊥.
Helper for Text 19.0.9: the constant function x ↦ ⊥ satisfies
IsPolyhedralConvexFunction in the present formalization.
Helper for Text 19.0.9: the constant function x ↦ ⊥ cannot be represented by the
max-affine-plus-indicator normal form from the theorem statement.
Helper for Text 19.0.9: the constant function x ↦ ⊥ provides both sides of
the counterexample data used to refute the biconditional schema.
Helper for Text 19.0.9: if the biconditional schema is assumed at a fixed
polyhedral-convex function f, then f must be pointwise non-⊥.
Helper for Text 19.0.9: the constant-⊥ instance of the biconditional schema
forces a contradiction with pointwise non-⊥.
Helper for Text 19.0.9: instantiating the theorem schema at the constant-⊥
function yields a contradiction in the current EReal formalization.
Helper for Text 19.0.9: in each fixed dimension n, the constant-⊥
function is an explicit witness where the biconditional schema fails.
Helper for Text 19.0.9: the target biconditional schema cannot hold for all
functions f : ℝ^n → EReal, since it fails at the constant-⊥ function.
Helper for Text 19.0.9: a concrete (n, f) witness shows the target schema
fails at the constant-⊥ function.
Helper for Text 19.0.9: if the biconditional schema held for all dimensions and functions, it would contradict the explicit counterexample.
Helper for Text 19.0.9: a theorem-schema claiming the biconditional for all dimensions
and functions is refuted by the constant-⊥ counterexample.
Helper for Text 19.0.9: if the transformed epigraph image is empty, then f
admits the max-affine-plus-indicator representation (the f = ⊤ branch).
Helper for Text 19.0.9: in the forward direction, the empty transformed-epigraph
branch is discharged by the dedicated f = ⊤ representation lemma.
Helper for Text 19.0.9: any represented function satisfies the theorem's
pointwise non-⊥ side condition.
Helper for Text 19.0.9: membership in a transformed-image subset of Euclidean
space can be transported to function coordinates via WithLp.toLp.
Helper for Text 19.0.9: unpacking prodLinearEquiv_append_coord equals unpacking
prodLinearEquiv_append after the coordinate-to-Euclidean coercion.
Helper for Text 19.0.9: the packed-coordinate embedding recovers each base
coordinate at Fin.castSucc.
Helper for Text 19.0.9: dot products against packed normals (b_i, -1) decode to
the affine expression dotProduct (b_i) x - μ at pulled-back coordinates.
Helper for Text 19.0.9: dot products against packed normals (b_i, 0) decode to
dotProduct (b_i) x at pulled-back coordinates.
Helper for Text 19.0.9: the transformed-epigraph image is upward closed in the last coordinate at fixed base point.
Helper for Text 19.0.9: nonemptiness of the transformed-epigraph image yields a base point and scalar with finite-epigraph inequality data.
Helper for Text 19.0.9: polyhedrality of the transformed epigraph image yields a finite raw halfspace presentation.
Helper for Text 19.0.9: in the k = 0 branch, feasibility of the domain-inequality
family yields a witness that the split-halfspace set is nonempty.
Helper for Text 19.0.9: equality of transformed-epigraph images determines the
underlying EReal-valued function uniquely.
Helper for Text 19.0.9: equality of packed-coordinate transformed-epigraph
images determines the underlying EReal-valued function uniquely.
Helper for Text 19.0.9: the lower-bound guard on the unpacked scalar coordinate is a polyhedral halfspace in packed coordinates.
Helper for Text 19.0.9: the guarded packed-normal constraint form is polyhedral.
Helper for Text 19.0.9: packed normals with last coordinate -1 decode to
the split affine expression after unpacking coordinates.
Helper for Text 19.0.9: an epigraph upper bound on the represented value at x
forces x to satisfy all domain-side inequalities.
Helper for Text 19.0.9: the same represented upper bound yields an upper bound on the corresponding affine supremum term.
Helper for Text 19.0.9: each active affine piece (i < k) is bounded above by
μ whenever the represented value at x is bounded by μ.
Helper for Text 19.0.9: for n = 1, k = m = 1, and zero coefficients,
the packed point corresponding to (x, μ) = (-1, 0) belongs to the transformed
epigraph image of the represented function.
Helper for Text 19.0.9: under the same concrete data, the point above violates
the split Fin.cases affine-constraint family.
Helper for Text 19.0.9: the concrete one-dimensional witness separates the
transformed epigraph image from the split Fin.cases constraints.
Helper for Text 19.0.9: a max-affine-plus-indicator representation has transformed
epigraph image equal to packed-normal constraints with the k = 0 last-coordinate guard.
Helper for Text 19.0.9: polyhedrality of the transformed-epigraph image implies
convexity of the represented function on univ.
Helper for Text 19.0.9: in a nonempty raw halfspace presentation of the transformed epigraph image, each raw normal has nonpositive last coordinate.
Helper for Text 19.0.9: from a nonempty transformed epigraph image and the repaired
polyhedral/non-⊥ hypotheses, reconstruct a max-affine-plus-indicator representation.
Helper for Text 19.0.9: under a nonpositive last-coordinate hypothesis, each raw normal is classified as either strictly negative or exactly zero on the last coordinate.
Helper for Text 19.0.9: if one raw halfspace has strictly negative last coefficient, then the subtype of negative-index constraints is nonempty, so its finite cardinal is nonzero.
Helper for Text 19.0.9: convert a nonempty transformed-epigraph raw halfspace presentation with nonpositive/negative last-coordinate data into finite split packed constraints in the exact guarded normal form.
Helper for Text 19.0.9: once finite split packed-constraint data is available for the transformed epigraph image, transport through the representation-image identity and conclude equality of functions.
Helper for Text 19.0.9: from a nonempty transformed epigraph image and the repaired
polyhedral/non-⊥ hypotheses, reconstruct a max-affine-plus-indicator representation.
Helper for Text 19.0.9: any max-affine-plus-indicator representation induces
IsPolyhedralConvexFunction via transformed-epigraph polyhedrality.
Text 19.0.9: A convex function f on ℝ^n is polyhedral convex iff it can be expressed as
f = h + δ(· | C), where h(x) is the maximum of finitely many affine functions
⟨x, b_i⟩ - β_i, and C is the intersection of finitely many closed half-spaces
⟨x, b_i⟩ ≤ β_i. In this EReal formalization, the codomain condition
f : ℝ^n → (-∞, +∞] is encoded by the pointwise non-⊥ hypothesis.
Text 19.0.10: A convex function f is finitely generated if there exist vectors
a₁, …, a_m and scalars α_i such that for every x, f x is the infimum of
∑ i, λ i * α i over coefficients λ_i with ∑ i, λ i • a_i = x,
∑_{i < k} λ_i = 1, and λ_i ≥ 0 for all i = 1, …, m.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Helper for Text 19.0.10: the coefficient constraints appearing in the finitely generated representation can be read as one bundled conjunction.
Helper for Text 19.0.10: any feasible coefficient family contributes its linear objective value as an element of the representation infimum set.
Helper for Text 19.0.10: unpacking the definition immediately yields convexity on univ,
so this definition introduces no extra proof obligation beyond its fields.
Helper for Corollary 19.1.2: unpack the global finite-generation data from the definition.
Helper for Corollary 19.1.2: strict epigraph inequality at (x, μ) yields feasible
Text 19.0.10 coefficients whose objective value is strictly below μ.
Helper for Corollary 19.1.2: any feasible Text 19.0.10 coefficients whose objective value
is bounded above by μ certify epigraph membership at (x, μ).
Helper for Corollary 19.1.2: any feasible Text 19.0.10 coefficients whose objective value
is strictly below μ certify epigraph membership at (x, μ).
Helper for Corollary 19.1.2: membership of (x, μ) in the transformed epigraph image is
equivalent to ordinary epigraph membership at (x, μ) via the append-coordinate linear equivalence.
Helper for Corollary 19.1.2: transformed-epigraph image membership directly yields
ordinary epigraph membership at (x, μ).
Helper for Corollary 19.1.2: transformed-epigraph image membership implies the defining
epigraph inequality f x ≤ μ after coercion to EReal.
Helper for Corollary 19.1.2: packing coefficient-representation data into finite generation of the transformed epigraph.
Helper for Corollary 19.1.2: non-strict direct feasible objective data yields membership in the transformed epigraph image.
Helper for Corollary 19.1.2: strict objective feasibility data directly yields membership in the transformed epigraph image.
Helper for Corollary 19.1.2: strict epigraph inequality gives feasible coefficients with a non-strict objective upper bound.
Helper for Corollary 19.1.2: strict epigraph inequality yields transformed-epigraph
membership by extracting feasible coefficients and weakening < to ≤.
Helper for Corollary 19.1.2: unpacking finite-generation data and applying the strict inequality decode step yields transformed-epigraph membership.
Helper for Corollary 19.1.2: dropping a nonnegative vertical term from an objective
decomposition preserves an upper bound, both in ℝ and after coercion to EReal.
Helper for Corollary 19.1.2: summing over indices < k in Fin (k + m) is the same
as summing over Fin k via Fin.castAdd.
Helper for Corollary 19.1.2: summing over indices not < k in Fin (k + m) is the same
as summing over the right block via Fin.natAdd.
Helper for Corollary 19.1.2: the Text 19.0.10 normalization constraint transports to the
left packed block via the canonical cast induced by k ≤ m.
Helper for Corollary 19.1.2: decoding second coordinates after packing by Fin.append
and prodLinearEquiv_append_coord recovers the appended second-coordinate family.
Helper for Corollary 19.1.2: split a packed-index sum into the left block, the vertical singleton slot, and the right block.
Helper for Corollary 19.1.2: decoding a packed three-block linear sum (left points,
vertical singleton, right directions) recovers the original first-coordinate linear sum,
since the vertical block contributes 0.
Helper for Corollary 19.1.2: decoding a packed three-block objective sum yields the original objective plus the vertical coefficient contribution.
Helper for Corollary 19.1.2: a packed-objective equality is equivalent to equality of the decoded left-plus-vertical-plus-right objective decomposition.
Helper for Corollary 19.1.2: a packed-objective upper bound and nonnegativity of the
vertical singleton coefficient imply the corresponding upper bound for the original objective,
both in ℝ and after coercion to EReal.
Helper for Corollary 19.1.2: if the packed objective equals μ and the vertical singleton
coefficient is nonnegative, then the decoded original objective is at most μ both in ℝ and,
after coercion, in EReal.
Helper for Corollary 19.1.2: nonnegativity of all packed right-block coefficients yields both nonnegativity of the distinguished vertical singleton and nonnegativity of every shifted right-block coefficient.
Helper for Corollary 19.1.2: if all packed right-block coefficients are nonnegative, then the distinguished vertical singleton coefficient is nonnegative.
Helper for Corollary 19.1.2: a packed objective equality together with nonnegativity of
all packed right-block coefficients yields the decoded original-objective bounds in ℝ and
EReal.
Helper for Corollary 19.1.2: if the packed objective equals μ and all packed
right-block coefficients are nonnegative, then the decoded original objective is at most μ
in ℝ.
Helper for Corollary 19.1.2: if the packed objective equals μ and all packed right-block
coefficients are nonnegative, then the decoded original objective is at most μ after coercion
to EReal.
Helper for Corollary 19.1.2: transporting a packed decoded objective equality and
nonnegative vertical singleton coefficient yields the decoded original-objective bound in
both ℝ and EReal.
Helper for Corollary 19.1.2: transporting a packed decoded objective equality together
with nonnegativity of all packed right-block coefficients yields the decoded original-objective
bound in both ℝ and EReal.
Helper for Corollary 19.1.2: transporting packed decoded objective data together
with nonnegativity of all packed right-block coefficients yields the decoded original-objective
bound in ℝ.
Helper for Corollary 19.1.2: transporting packed decoded objective data together
with nonnegativity of all packed right-block coefficients yields the decoded original-objective
bound after coercion to EReal.
Helper for Corollary 19.1.2: if the packed objective equals μ and the vertical singleton
coefficient is nonnegative, then the decoded original objective is at most μ in ℝ.
Helper for Corollary 19.1.2: if the packed objective equals μ and the vertical singleton
coefficient is nonnegative, then the decoded original objective is at most μ after coercion to
EReal.