Section-induced ray oracle, boundary frame extension, transverse coordinate axes, and Cramer facet normal recovery
ProvedGrunbaum2003.rayFrame_boundary_extension_axes_and_cramer_normalcombinatoricsconvex-geometryconvex-polytopes
This theorem formalizes the higher-dimensional boundary-frame growth and Cramer normal recovery steps of the Gritzmann–Klee–Westwater ray-oracle reconstruction algorithm:
- Section-induced ray oracle (
induced_rayOracle_of_leftInverse): If and has a continuous linear left inverse , then is a valid ray oracle for and satisfies for all . - Transverse coordinate axis and off-axis pivot (
exists_coordinate_axis_outside_frame,exists_off_axis_pivot): Every linearly independent boundary frame of size admits a standard coordinate axis , and every nonzero has an off-axis coordinate with (providing the pivot forsectionQueryProgram). - Positive boundary frame extension (
extend_positive_boundary_frame): Given an independent frame in with positive convex combination and a new boundary point sharing a defining support row , prepending yields an independent frame in and midpoint such that every active row contains the entire enlarged frame (). - Cramer facet normal recovery (
frameNormal_eq_original_active_row): When , the matrix of frame points has , and the Cramer linear functionalframeNormal vwith coefficients equals an actual defining facet row active at without any additional oracle query.
Preamble
import Definitions.Def_Grunbaum2003_IsPolytopeRayOracle import Definitions.Def_Grunbaum2003_IsDPolytope import Mathlib.Analysis.Convex.Slope import Mathlib.Analysis.Convex.Topology import Mathlib.Analysis.Normed.Operator.Banach import Mathlib.Data.Finset.Lattice.Fold import Mathlib.LinearAlgebra.FiniteDimensional.Basic import Mathlib.LinearAlgebra.LinearIndependent.Lemmas import Mathlib.LinearAlgebra.Matrix.Adjugate import Mathlib.LinearAlgebra.Matrix.Nonsingular import Mathlib.LinearAlgebra.Pi import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Linarith import Mathlib.Tactic.Positivity import Mathlib.Tactic.Ring import Mathlib.Algebra.BigOperators.Fin set_option autoImplicit false open scoped BigOperators Matrix
Formal statement
namespace Grunbaum2003
theorem rayFrame_boundary_extension_axes_and_cramer_normal :
∃ (coordinateAxis : ∀ {d : ℕ}, Fin d → Fin d → ℝ)
(frameCramerCoefficients : ∀ {d : ℕ}, Matrix (Fin d) (Fin d) ℝ → Fin d → ℝ)
(frameNormal : ∀ {d : ℕ}, Matrix (Fin d) (Fin d) ℝ → (Fin d → ℝ) →L[ℝ] ℝ),
(∀ (d : ℕ) (i : Fin d), coordinateAxis i = Pi.single i 1) ∧
(∀ (d : ℕ) (v : Matrix (Fin d) (Fin d) ℝ) (k : Fin d),
frameCramerCoefficients v k = (v.updateCol k (fun _ => 1)).det / v.det) ∧
(∀ (d : ℕ) (v : Matrix (Fin d) (Fin d) ℝ) (x : Fin d → ℝ),
frameNormal v x = ∑ k, frameCramerCoefficients v k * x k) ∧
(∀ {d n m : ℕ} (L : Fin m → (Fin d → ℝ) →L[ℝ] ℝ) {P : Set (Fin d → ℝ)},
P = {x | ∀ j, L j x ≤ 1} →
∀ {oracle : (Fin d → ℝ) → (Fin d → ℝ)}, IsPolytopeRayOracle P oracle →
∀ (f : (Fin n → ℝ) →L[ℝ] (Fin d → ℝ)) (g : (Fin d → ℝ) →L[ℝ] (Fin n → ℝ)),
Function.LeftInverse g f →
IsPolytopeRayOracle (f ⁻¹' P) (fun r => g (oracle (f r))) ∧
(∀ r, r ≠ 0 → f (g (oracle (f r))) = oracle (f r))) ∧
(∀ {d n : ℕ} (v : Fin n → Fin d → ℝ),
LinearIndependent ℝ v → n < d →
∃ i : Fin d, coordinateAxis i ∉ Submodule.span ℝ (Set.range v)) ∧
(∀ {d : ℕ} (W : Submodule ℝ (Fin d → ℝ)) (p : Fin d → ℝ),
p ∈ W → p ≠ 0 → ∀ (i : Fin d), coordinateAxis i ∉ W →
∃ j : Fin d, j ≠ i ∧ p j ≠ 0) ∧
(∀ {d n m : ℕ} (L : Fin m → (Fin d → ℝ) →L[ℝ] ℝ) {P : Set (Fin d → ℝ)},
P = {x | ∀ j, L j x ≤ 1} →
∀ (v : Fin n → Fin d → ℝ), LinearIndependent ℝ v →
∀ (w : Fin n → ℝ), (∀ i, 0 < w i) → (∑ i, w i = 1) →
(∀ i, v i ∈ P) →
∀ (p q : Fin d → ℝ), p ∈ P → q ∈ P →
p = ∑ i, w i • v i →
q ∉ Submodule.span ℝ (Set.range v) →
∀ (j : Fin m), L j p = 1 → L j q = 1 →
let V : Fin (n + 1) → Fin d → ℝ := Fin.cons q v
let W : Fin (n + 1) → ℝ := Fin.cons (1 / 2 : ℝ) (fun i => w i / 2)
let p' := (1 / 2 : ℝ) • (p + q)
LinearIndependent ℝ V ∧ (∀ i, 0 < W i) ∧ (∑ i, W i = 1) ∧
p' = ∑ i, W i • V i ∧ (∀ i, V i ∈ P) ∧ p' ∈ frontier P ∧
(∀ k : Fin m, L k p' = 1 → ∀ i, L k (V i) = 1)) ∧
(∀ {d m : ℕ} (L : Fin m → (Fin d → ℝ) →L[ℝ] ℝ) {P : Set (Fin d → ℝ)},
P = {x | ∀ j, L j x ≤ 1} →
∀ (v : Matrix (Fin d) (Fin d) ℝ), LinearIndependent ℝ v →
∀ (w : Fin d → ℝ), (∀ i, 0 < w i) → (∑ i, w i = 1) →
(∀ i, v i ∈ P) →
∀ (p : Fin d → ℝ), p ∈ frontier P → p = ∑ i, w i • v i →
v.det ≠ 0 ∧ ∃ j : Fin m, frameNormal v = L j ∧ L j p = 1) := by sorry
end Grunbaum2003Source
Grünbaum 2003, Convex Polytopes (2nd ed., Graduate Texts in Mathematics 221), §3.6, pp. 52b–52c (citing Gritzmann–Klee–Westwater 1995)