Left to Solve
Problems / MathOverflow (not formalized)

Distance-preserving graph contraction to a given set of vertices

Open, not yet stated in LeanMathOverflow (not formalized)Combinatoricsdifficulty55/100

Statement

I am trying to resolve the following problem and was wondering if there already exists consecrated algorithms to solve it.

Let be a weighted graph with vertices connected through weighted edges . Given a subset , perform graph contraction such that all edges are removed until only the vertices in remain and the distance-preserving edges connecting them. If there exists more than one edges connecting two nodes from , pick the smallest weight and remove the other(s).

The "Distance-preserving graph contractions" paper from Bernstein et al. was the closest I could find to my problem, but their goal is different (for one, they are not bound by a set ).

The min-cut class of problems seems also close-by, but not exactly what I want.

Can you please point me in the right direction?

Thank you!

Posed by Paul Irofti · graph-theory

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-309299.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-309299.lean

import Mathlib

/-!
# Distance-preserving graph contraction to a given set of vertices

Source: https://mathoverflow.net/questions/309299
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_309299

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_309299