Theorem 5.1, second step —
ProvedChvatalPolytopes.Substitution.stable_max_decompositionLet and be finite graphs with disjoint vertex sets, , and let be obtained from by substituting for . Put . Let be an integer-valued vector and for . Set
Then
This purely combinatorial identity splits the maximum weight of a stable set of into the cases "the stable set avoids " and "the stable set meets "; the proof of Theorem 5.1 builds its dual multipliers case by case from it.
Formalization Note Vertices of are the disjoint sum . Each maximum is written as the real supremum (sSup) of the image of a finite set; each of these sets is nonempty (, and contain , and contains the incidence vector of ), so every supremum is an attained maximum and no junk value of sSup arises.
import Mathlib import Definitions.Def_ChvatalPolytopes_Shared_StablePolytope import Definitions.Def_ChvatalPolytopes_Substitution_substitute
namespace ChvatalPolytopes.Substitution
/-- **Decomposition of the optimum** (Chvátal 1975, §5, pp. 145–146, proof of Theorem 5.1).
Let `G` be obtained from `G₁` by substituting `G₂` for the vertex `v` of `G₁`, and set
`W = V₁ − {v}`. Let `c = (c_u : u ∈ V₂ ∪ W)` be an integer-valued vector, `d_u = max {c_u, 0}`,
`m = max {cx : x ∈ S(G)}`, and
* `m₀ = max {Σ (d_u x_u : u ∈ W) : (x_u : u ∈ V₁) ∈ S(G₁), x_v = 0}`,
* `m₁ = max {Σ (d_u x_u : u ∈ W) : (x_u : u ∈ V₁) ∈ S(G₁), x_v = 1}`,
* `m₂ = max {Σ (d_u x_u : u ∈ V₂) : (x_u : u ∈ V₂) ∈ S(G₂)}`.
Then `m = max {Σ (d_u x_u : u ∈ V₂ ∪ W) : x ∈ S(G)}` and `m = max {m₀, m₁ + m₂}`.
Vertices of `G` are `{u : V₁ // u ≠ v} ⊕ V₂` (`inl` = `W`, `inr` = `V₂`). Each maximum is written
as `sSup` of the (finite) image set; every one of these sets is finite and nonempty (`S(G)`,
`S(G₂)` and `{x ∈ S(G₁) : x_v = 0}` contain the zero vector, `{x ∈ S(G₁) : x_v = 1}` contains the
incidence vector of `{v}`), so each `sSup` is an attained maximum. -/
theorem stable_max_decomposition {V₁ V₂ : Type*} [Fintype V₁] [DecidableEq V₁]
[Fintype V₂] [DecidableEq V₂] (G₁ : SimpleGraph V₁) (G₂ : SimpleGraph V₂) (v : V₁)
(c : {u : V₁ // u ≠ v} ⊕ V₂ → ℤ) :
let d : {u : V₁ // u ≠ v} ⊕ V₂ → ℤ := fun u => max (c u) 0
let m : ℝ := sSup ((fun x => ∑ u, (c u : ℝ) * x u) '' Shared.stableVectors (substitute G₁ v G₂))
let m₀ : ℝ := sSup ((fun x : V₁ → ℝ => ∑ w : {u : V₁ // u ≠ v}, (d (.inl w) : ℝ) * x w) ''
{x | x ∈ Shared.stableVectors G₁ ∧ x v = 0})
let m₁ : ℝ := sSup ((fun x : V₁ → ℝ => ∑ w : {u : V₁ // u ≠ v}, (d (.inl w) : ℝ) * x w) ''
{x | x ∈ Shared.stableVectors G₁ ∧ x v = 1})
let m₂ : ℝ := sSup ((fun x : V₂ → ℝ => ∑ u, (d (.inr u) : ℝ) * x u) '' Shared.stableVectors G₂)
m = sSup ((fun x => ∑ u, (d u : ℝ) * x u) '' Shared.stableVectors (substitute G₁ v G₂)) ∧
m = max m₀ (m₁ + m₂) := by sorry
end ChvatalPolytopes.Substitution
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- and are finite types with decidable equality. is a simple graph on and is a simple graph on . is a vertex of .
- .
- is the graph
substituteon . -vertices are adjacent as in and -vertices as in . A -vertex and a -vertex are adjacent exactly when the -vertex is a -neighbour of . - is an arbitrary integer vector on , and .
External definition. denotes Shared.stableVectors , a set of real vectors on the vertices of a graph . It is defined in a file not shown here, so it cannot be expanded.
Quantities. below means the real supremum operator. For a real vector on and , is the coordinate of at viewed as a vertex of .
Claim. Both of the following hold:
No hypothesis is placed on , , or .
Degenerate cases. These values are real-number suprema, not stated maxima.
- The real supremum of an empty set is , and so is the supremum of a set unbounded above. Whether any of these sets is empty or unbounded depends on the unseen definition of .
- If, for example, no has , then by this convention, not "", and the identity is asserted with that value.
- If is empty, every sum in is , so .
- If , then is empty and every sum in and is , so .
- If everywhere, then and the first conjunct is trivial.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.