p. 15 — in the construction, two jobs can run simultaneously iff their vertices are adjacent
ProvedResourceScheduling.Graph.pair_resourceFeasible_iff_adjLet be a graph on the vertex set and consider the scheduling instance constructed from (one job per vertex, one unit resource per non-adjacent pair , required by and only), on any machine environment. For two distinct vertices ,
where a set of jobs is resource feasible when for every resource .
In the paper's words: "two jobs can be executed simultaneously if and only if the corresponding vertices are adjacent". This is the property of the construction on which both reductions rest.
Formalization Note. Vertices are indexed from . The machine count and speeds are arbitrary parameters, since the resource data of the construction do not depend on them.
import Mathlib import Definitions.Def_ResourceScheduling_Graph_Construction
namespace ResourceScheduling.Graph
/-- p. 15: in the constructed instance, two distinct jobs `J_j, J_k` can be executed
simultaneously (the set `{j, k}` satisfies every resource constraint) if and only if the vertices
`j, k` are adjacent. The machine environment plays no role. -/
theorem pair_resourceFeasible_iff_adj {N : ℕ} (G : SimpleGraph (Fin N)) [DecidableRel G.Adj]
(y m : ℕ) (q : Fin m → ℝ) (hq : ∀ i, 0 < q i) (j k : Fin N) (hjk : j ≠ k) :
((construct G y).toInstance m q hq).ResourceFeasibleSet {j, k} ↔ G.Adj j k := by sorry
end ResourceScheduling.Graph
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let:
- ;
- be a simple graph on with decidable adjacency;
- be arbitrary;
- be arbitrary positive reals;
- be two distinct vertices.
The instance. Consider the scheduling instance obtained from as follows:
- one job per vertex;
- one resource per unordered non-adjacent pair (with ), each of size ;
- the jobs and require unit of that resource and all other jobs ;
- threshold , machines with speeds , and no precedence.
Theorem.
Resource feasible means that for every resource , . The statement does not depend on , or .
Degenerate cases.
- : no two distinct vertices exist, so the statement is vacuous.
- : allowed. Machines play no role in the statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.