Outer-polytope invariants, extreme-point freshness, and potential-function query bound for phased ray-oracle reconstruction
ProvedGrunbaum2003.ray_oracle_outer_polytope_invariants_and_phased_trace_boundcomputational-geometryconvex-geometryconvex-polytopesfacelatticesray-oracle
Let and let be a -polytope with equipped with a ray oracle . For any subset of discovered facet indices, let be the corresponding outer halfspace approximation. Then:
- (Extreme-to-exposed vertex identity and active-face characterization) , , and for every exposed face of and facet index , if and only if for every exposed vertex .
- (Outer-polytope persistence, fresh-facet discovery, and completion) , , every failed extreme-point verification with and yields a fresh facet , and once has and , we have and .
- (Phased trace query bound) Any halting execution that begins with at most initialization queries and executes phases—each either certifying an extreme point outside using at most query, or failing extreme-point verification on () and discovering a facet using at most queries—satisfies the total query bound
Formalization Note Polytopes are represented by IsDPolytope, ray oracles by IsPolytopeRayOracle, and machine runs by rayMachineRun.
Preamble
import Definitions.Def_Grunbaum2003_IsDPolytope import Definitions.Def_Grunbaum2003_faceCount import Definitions.Def_Grunbaum2003_IsPolytopeRayOracle import Definitions.Def_Grunbaum2003_RayInstruction import Definitions.Def_Grunbaum2003_RayConfiguration import Definitions.Def_Grunbaum2003_rayMachineStep import Definitions.Def_Grunbaum2003_rayMachineRun import Definitions.Def_Grunbaum2003_PolytopeFace import Mathlib.Analysis.Convex.Exposed import Mathlib.Analysis.Convex.Extreme import Mathlib.Analysis.Convex.Hull import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Basic import Mathlib.LinearAlgebra.Dimension.Finrank import Mathlib.LinearAlgebra.Matrix.Determinant.Basic set_option autoImplicit false open scoped BigOperators Matrix Classical
Formal statement
namespace Grunbaum2003
theorem ray_oracle_outer_polytope_invariants_and_phased_trace_bound (d : ℕ) (hd : 2 ≤ d) :
(∀ {m : ℕ} {P : Set (Fin d → ℝ)}, IsDPolytope P → (0 : Fin d → ℝ) ∈ interior P →
∀ (L : Fin m → (Fin d → ℝ) →L[ℝ] ℝ),
P = {x : Fin d → ℝ | ∀ i : Fin m, L i x ≤ 1} →
∀ {oracle : (Fin d → ℝ) → (Fin d → ℝ)}, IsPolytopeRayOracle P oracle →
(P.extremePoints ℝ = {x : Fin d → ℝ | IsExposed ℝ P {x}} ∧
faceCount P 0 = (P.extremePoints ℝ).ncard) ∧
(∀ (F : PolytopeFace P) (i : Fin m),
F.val ⊆ {x : Fin d → ℝ | L i x = 1} ↔
∀ v : Fin d → ℝ, IsExposed ℝ P {v} → v ∈ F.val → L i v = 1) ∧
(∀ S : Finset (Fin m),
P ⊆ {x : Fin d → ℝ | ∀ i ∈ S, L i x ≤ 1} ∧
P ∩ ({x : Fin d → ℝ | ∀ i ∈ S, L i x ≤ 1}).extremePoints ℝ ⊆ P.extremePoints ℝ ∧
∀ {v : Fin d → ℝ},
v ∈ ({x : Fin d → ℝ | ∀ i ∈ S, L i x ≤ 1}).extremePoints ℝ →
oracle v ≠ v →
∀ {i_new : Fin m}, L i_new (oracle v) = 1 →
i_new ∉ S ∧ (insert i_new S).card = S.card + 1) ∧
(∀ (S : Finset (Fin m)) (V_Q C : Set (Fin d → ℝ)),
{x : Fin d → ℝ | ∀ i ∈ S, L i x ≤ 1} = convexHull ℝ V_Q →
V_Q ⊆ C → C ⊆ P.extremePoints ℝ →
({x : Fin d → ℝ | ∀ i ∈ S, L i x ≤ 1}).extremePoints ℝ ⊆ C →
{x : Fin d → ℝ | ∀ i ∈ S, L i x ≤ 1} = P ∧ C = P.extremePoints ℝ)) ∧
(∀ (program : List RayInstruction) (P : Set (Fin d → ℝ)),
IsDPolytope P → (0 : Fin d → ℝ) ∈ interior P →
∀ (oracle : (Fin d → ℝ) → (Fin d → ℝ)), IsPolytopeRayOracle P oracle →
∀ (L : Fin (faceCount P (d - 1)) → (Fin d → ℝ) →L[ℝ] ℝ),
P = {x | ∀ i, L i x ≤ 1} →
∀ (t : ℕ) (c : RayConfiguration) (n : ℕ) (e : Fin n ≃ PolytopeFace P)
(N : ℕ)
(S_seq : ℕ → Finset (Fin (faceCount P (d - 1))))
(C_seq : ℕ → Finset (Fin d → ℝ))
(q_seq : ℕ → ℕ),
rayMachineRun program oracle t
{ pc := 0, head := 0, tape := fun _ => 0, queries := 0 } = some c →
program[c.pc]? = some .halt →
C_seq 0 = ∅ →
q_seq 0 ≤ d + 1 →
(∀ s < N,
(S_seq (s + 1) = S_seq s ∧
∃ v ∈ ({x : Fin d → ℝ | ∀ i ∈ S_seq s, L i x ≤ 1}).extremePoints ℝ,
v ∈ P ∧ v ∉ C_seq s ∧ C_seq (s + 1) = insert v (C_seq s) ∧
q_seq (s + 1) ≤ q_seq s + 1) ∨
(C_seq (s + 1) = C_seq s ∧
∃ v ∈ ({x : Fin d → ℝ | ∀ i ∈ S_seq s, L i x ≤ 1}).extremePoints ℝ,
oracle v ≠ v ∧
∃ i_new : Fin (faceCount P (d - 1)),
L i_new (oracle v) = 1 ∧
S_seq (s + 1) = insert i_new (S_seq s) ∧
q_seq (s + 1) ≤ q_seq s +
(1 + (d - 1) * (2 * (faceCount P (d - 1) - (S_seq s).card) + 3)))) →
c.queries ≤ q_seq N →
(∀ i : Fin n, c.tape (c.head + (i.val : ℤ)) = 1) →
c.tape (c.head + (n : ℤ)) = 0 →
(∀ i j : Fin n,
c.tape (c.head + ((n + 1 + i.val * n + j.val : ℕ) : ℤ)) =
if (∀ x : Fin d → ℝ, IsExposed ℝ P {x} → x ∈ (e i).val → x ∈ (e j).val)
then 1 else 0) →
rayMachineRun program oracle t
{ pc := 0, head := 0, tape := fun _ => 0, queries := 0 } = some c ∧
program[c.pc]? = some .halt ∧
c.queries ≤ faceCount P 0 + (d + 1) +
∑ k ∈ Finset.range (faceCount P (d - 1)),
(1 + (d - 1) * (2 * (faceCount P (d - 1) - k) + 3)) ∧
(∀ i : Fin n, c.tape (c.head + (i.val : ℤ)) = 1) ∧
c.tape (c.head + (n : ℤ)) = 0 ∧
∀ i j : Fin n,
c.tape (c.head + ((n + 1 + i.val * n + j.val : ℕ) : ℤ)) =
if (∀ x : Fin d → ℝ, IsExposed ℝ P {x} → x ∈ (e i).val → x ∈ (e j).val)
then 1 else 0) := by sorry
end Grunbaum2003Source
Peter Gritzmann, Victor Klee, and Jeffrey Westwater, Polytope Containment and Determination by Linear Probes, Proc. London Math. Soc. (3) 70 (1995), §5.2 and §5.5, Theorem 5.18, pp. 715–720