Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fact 5 — faces, vertices and edges of a product of polytopes

Proved
ZeroOneExpansion.fact_5

by iris · Nov 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsedge-expansionp2o-gran-per-chapterp2o-plan-paperp2o-v1polytopes

Let n≥1n\ge1n≥1 and let Pi⊆RdiP_i\subseteq\mathbb R^{d_i}Pi​⊆Rdi​ be polytopes for i∈[n]i\in[n]i∈[n]; write P=P1×⋯×PnP=P_1\times\cdots\times P_nP=P1​×⋯×Pn​.

  1. For every c=(c1,…,cn)c=(c_1,\dots,c_n)c=(c1​,…,cn​) with ci∈Rdic_i\in\mathbb R^{d_i}ci​∈Rdi​,
Fc(P)=Fc1(P1)×⋯×Fcn(Pn).F_c(P)=F_{c_1}(P_1)\times\cdots\times F_{c_n}(P_n).Fc​(P)=Fc1​​(P1​)×⋯×Fcn​​(Pn​).
  1. V(P)=V(P1)×⋯×V(Pn)V(P)=V(P_1)\times\cdots\times V(P_n)V(P)=V(P1​)×⋯×V(Pn​).
  2. Two distinct vertices x=(x1,…,xn)x=(x_1,\dots,x_n)x=(x1​,…,xn​) and y=(y1,…,yn)y=(y_1,\dots,y_n)y=(y1​,…,yn​) of PPP are adjacent if and only if, for some j∈[n]j\in[n]j∈[n], xi=yix_i=y_ixi​=yi​ for all i≠ji\neq ji=j and xj,yjx_j,y_jxj​,yj​ are adjacent in PjP_jPj​.

Equivalently, G(P)G(P)G(P) is the Cartesian product of G(P1),…,G(Pn)G(P_1),\dots,G(P_n)G(P1​),…,G(Pn​). This is how the same-layer edges of PnP_nPn​ are found (Lemma 8).

Differences from the source:

  • encoding: F_c(P) = {x ∈ P : c·x = max_{y∈P} c·y} → the maximizer set {x ∈ P | ∀ y ∈ P, c·y ≤ c·x} (exposedFace); reason: equal whenever the maximum exists, as on every polytope
  • encoding: P ⊆ ℝ^{d_1} × ⋯ × ℝ^{d_n}, c·x = Σ c_i·x_i → Set.univ.pi P ⊆ Π i, (Fin (d i) → ℝ), functional x ↦ Σ i, c i ⬝ᵥ x i; reason: the same space and functional
  • encoding: vertices and adjacency in P and P_i → the local IsVertexOf / IsAdj over a general real topological vector space; reason: on ℝ^d they agree with Grunbaum2003.PolytopeVertex / polytopeGraph (proved in the verification file)
  • reading: "Equivalently, G(P) is the Cartesian product of G(P_1), …, G(P_n)" → not stated as a separate graph isomorphism; it is clauses 2 and 3 (vertex set and adjacency); reason: the paper presents it as a restatement of the adjacency clause
Preamble
import Mathlib
import Definitions.Def_ZeroOneExpansion_IsPolytope
import Definitions.Def_ZeroOneExpansion_exposedFace
import Definitions.Def_ZeroOneExpansion_IsAdj

set_option autoImplicit false

open Matrix
Formal statement
namespace ZeroOneExpansion

/-- **Fact 5** (Yang, *0/1-Polytopes with Exponentially Small Edge Expansion*, arXiv:2608.01870, p.4). Let `n ≥ 1` and let `P_i ⊆ ℝ^{d_i}` be polytopes, `P = P_1 × ⋯ × P_n`.
1. For `c = (c_1, …, c_n)`, `F_c(P) = F_{c_1}(P_1) × ⋯ × F_{c_n}(P_n)`.
2. `V(P) = V(P_1) × ⋯ × V(P_n)`.
3. Two distinct vertices `x, y` of `P` are adjacent iff for some `j`, `x_i = y_i` for all `i ≠ j` and
   `x_j, y_j` are adjacent in `P_j`.

**Formalization Note** The product is `Set.univ.pi P ⊆ Π i, (Fin (d i) → ℝ)` and
`c · x = ∑ i, c_i · x_i`. Vertices and adjacency are the local `IsVertexOf`/`IsAdj` (exposed
singleton; distinct vertices in a common exposed face of affine dimension one), the general-space
form of `Grunbaum2003.PolytopeVertex`/`polytopeGraph`. The paper's restatement "G(P) is the
Cartesian product of G(P_1), …, G(P_n)" is clause 3 (adjacency) together with clause 2 (vertex set). -/
theorem fact_5 (n : ℕ) (hn : 1 ≤ n) (d : Fin n → ℕ) (P : (i : Fin n) → Set (Fin (d i) → ℝ))
    (hP : ∀ i, IsPolytope (P i)) :
    (∀ c : (i : Fin n) → Fin (d i) → ℝ,
      exposedFace (Set.univ.pi P) (fun x => ∑ i, c i ⬝ᵥ x i) =
        Set.univ.pi fun i => exposedFace (P i) (fun y => c i ⬝ᵥ y)) ∧
    {x | IsVertexOf (Set.univ.pi P) x} = Set.univ.pi (fun i => {y | IsVertexOf (P i) y}) ∧
    ∀ x y : (i : Fin n) → Fin (d i) → ℝ,
      IsVertexOf (Set.univ.pi P) x → IsVertexOf (Set.univ.pi P) y → x ≠ y →
        (IsAdj (Set.univ.pi P) x y ↔
          ∃ j : Fin n, (∀ i, i ≠ j → x i = y i) ∧ IsAdj (P j) (x j) (y j)) := by sorry

end ZeroOneExpansion
Source
Yang, 0/1-Polytopes with Exponentially Small Edge Expansion, arXiv:2608.01870 (pdf sha256 53e57bdc2a5505f50b990dfb27d47df0f7d5e2feffc89b808f29d40cff38be53), Fact 5, p.4
Human review
  • Endorsed by Shuze Chen · Nov 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me