Theorem 5.1 — a defining linear system of after substituting for a vertex of
ProvedChvatalPolytopes.Substitution.substitution_defining_systemLet and be finite graphs with and . For let
be a defining linear system of the stable set polytope , with finite and all coefficients real. Let be a vertex of , let be the graph obtained from by substituting for , and for each set . Then
is a defining linear system of : a vector satisfies (5.1) if and only if .
The theorem turns a polyhedral description of the two pieces into one of the composite graph, row by row. Specialisations give defining systems for duplication of a vertex, for joins (Corollary 5.2) and for lexicographic products.
Formalization Note Vertices of are the disjoint sum , so is built in. "Defining linear system" is the set equality between the solution set, nonnegativity rows included, and . The hypothesis is implicit in the paper (its graphs follow Harary and have nonempty vertex sets, and the proof picks a vertex of ) and is made explicit: with , and the system (5.1) reduces to and the statement fails.
import Mathlib import Definitions.Def_ChvatalPolytopes_Shared_StablePolytope import Definitions.Def_ChvatalPolytopes_Substitution_substitute
namespace ChvatalPolytopes.Substitution
/-- **Theorem 5.1** (Chvátal 1975, p. 145). Let `G₁ = (V₁, E₁)` and `G₂ = (V₂, E₂)` be graphs with
`V₁ ∩ V₂ = ∅`. For `k ∈ {1, 2}`, let
`−x_u ≤ 0 (u ∈ V_k)`, `Σ (a_{iu} x_u : u ∈ V_k) ≤ b_i (i ∈ J_k)`
be a defining linear system of `P(G_k)`. Let `v` be a vertex of `G₁` and let `G` be the graph
obtained from `G₁` by substituting `G₂` for `v`. For each `i ∈ J₁`, set
`a⁺_{iv} = max {a_{iv}, 0}`. Then
`−x_u ≤ 0 (u ∈ V₂ ∪ (V₁ − {v}))`,
`a⁺_{iv} Σ (a_{ju} x_u : u ∈ V₂) + b_j Σ (a_{iu} x_u : u ∈ V₁ − {v}) ≤ b_i b_j
(i ∈ J₁, j ∈ J₂)` (5.1)
is a defining linear system of `P(G)`, i.e. its solution set equals `P(G) = conv S(G)`.
Conventions: vertices of `G` are `{u : V₁ // u ≠ v} ⊕ V₂` (`inl` = `V₁ − {v}`, `inr` = `V₂`), so
`V₁ ∩ V₂ = ∅` is built in; `J₁`, `J₂` are finite index types, coefficients real; "defining linear
system of `P(G_k)`" is the set equality `h₁`/`h₂`.
**Implicit hypothesis made explicit:** `[Nonempty V₂]`. The paper's graphs have nonempty vertex
sets (Harary), and its proof picks "an arbitrary vertex `w` of `G₂`" (p. 148). With `V₂ = ∅` the
statement is false (take `J₂ = ∅` and `V₁ ≠ {v}`: then (5.1) is only `x ≥ 0`). -/
theorem substitution_defining_system {V₁ V₂ : Type*} [Fintype V₁] [DecidableEq V₁]
[Fintype V₂] [DecidableEq V₂] [Nonempty V₂] (G₁ : SimpleGraph V₁) (G₂ : SimpleGraph V₂)
{J₁ J₂ : Type*} [Fintype J₁] [Fintype J₂]
(a₁ : J₁ → V₁ → ℝ) (b₁ : J₁ → ℝ) (a₂ : J₂ → V₂ → ℝ) (b₂ : J₂ → ℝ)
(h₁ : {x : V₁ → ℝ | (∀ u, 0 ≤ x u) ∧ ∀ i, ∑ u, a₁ i u * x u ≤ b₁ i} = Shared.stablePolytope G₁)
(h₂ : {x : V₂ → ℝ | (∀ u, 0 ≤ x u) ∧ ∀ j, ∑ u, a₂ j u * x u ≤ b₂ j} = Shared.stablePolytope G₂)
(v : V₁) :
{x : {u : V₁ // u ≠ v} ⊕ V₂ → ℝ |
(∀ u, 0 ≤ x u) ∧
∀ i j, max (a₁ i v) 0 * ∑ u : V₂, a₂ j u * x (.inr u)
+ b₂ j * ∑ w : {u : V₁ // u ≠ v}, a₁ i w * x (.inl w) ≤ b₁ i * b₂ j} =
Shared.stablePolytope (substitute G₁ v G₂) := by sorry
end ChvatalPolytopes.Substitution
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, and are arbitrary finite types with decidable equality, and is additionally assumed nonempty. is a simple graph on and is a simple graph on . and are arbitrary finite index types, possibly empty, and nothing else is assumed about them. The data are real coefficients and right-hand sides
together with a vertex . No sign, integrality or other restriction is placed on any or .
The statement uses two definitions from the bundle whose code is not shown here: , the bundle's stablePolytope, which assigns to a simple graph on a vertex type a set of points in ; and , the bundle's substitute, which produces a simple graph on the vertex type . This read-back cannot unfold either of them. The theorem's meaning depends entirely on what they actually compute.
Hypotheses.
- The set of all with for every and for every is exactly equal to .
- The set of all with for every and for every is exactly equal to .
Conclusion. Write for the disjoint union, kept as a separately tagged copy of each part. For , write for the coordinates of the first part and for those of the second. The set of all satisfying both
- for every , and
- for every pair , :
is exactly equal, as a set, to .
Only the coefficient of is replaced by its positive part. The multiplier is used as is, whatever its sign, as is the right-hand side . The conclusion is a set equality, so it asserts both inclusions.
Degenerate cases. Because is given, is never empty. cannot be empty because of the explicit nonemptiness assumption.
- . The index set is empty. The second sum is the empty sum , so each constraint reduces to . In this case consists of the copy of only.
- or empty. The second family of constraints is vacuous, and the left-hand set is the whole nonnegative orthant of . The theorem then asserts that is that orthant. Here or requires the corresponding to be the nonnegative orthant of , which is nonzero-dimensional since is nonempty. Whether this is possible depends on the unseen definition of . For example, if always returns a bounded set, the hypotheses cannot all hold, and the statement is vacuous in this case.
- Zero or negative right-hand sides. If , every constraint for that reads . If , the term drops out and the constraint reads . Negative values are allowed by the types and constrained only through and .
- Total-function defaults. The statement contains no division, natural-number subtraction, integrals, suprema or extended reals, so there are none to account for. All sums are finite sums over finite types.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.