Max-min normal form for continuous piecewise linear functions
ProvedWangSun.maxmin_normal_formThroughout, is a fixed dimension and functions are real valued on . An -order hinge is a function of the form with and affine; IsHH f means that is a finite sum of -order hinges. CPWL is the class of continuous piecewise linear functions, presented as the sublattice of generated by the affine maps. These notions are supplied by the definition module WangSunCPWL.
Max-min normal form. Every continuous piecewise linear function is a maximum of minima of finitely many affine functions, and the index set may be taken rectangular: for every CPWL there are integers and affine functions , for and , such that
Rectangularity costs nothing: repeating an entry inside a minimum does not change it, so families of different sizes can be padded to a common length .
The statement is the lattice-theoretic normal form for the sublattice of generated by the affine maps, and it holds because is a distributive lattice under and : a join of meets is preserved by joins, and meets of joins of meets redistribute into joins of meets. Its difficulty is combinatorial rather than geometric - no bound on or in terms of is asserted. It is the entry point to the Wang-Sun theorem, which converts this normal form into a signed sum of maxima of at most affine arguments.
import Definitions.Def_WangSunCPWL
open Finset
variable {n : ℕ}namespace WangSun
theorem maxmin_normal_form {f : (Fin n → ℝ) → ℝ} (hf : CPWL f) :
∃ (I J : ℕ) (L : Fin (I + 1) → Fin (J + 1) → ((Fin n → ℝ) →ᵃ[ℝ] ℝ)),
f = fun x => (univ : Finset (Fin (I + 1))).sup' univ_nonempty
(fun i => (univ : Finset (Fin (J + 1))).inf' univ_nonempty (fun j => L i j x)) := by
sorry
end WangSun