Left to Solve
Problems / MathOverflow (not formalized)

Known Methods for "Mutexing" Antiparallel Arcs in Graphs

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

Statement

I recently faced the problem of calculating shortest paths in undirected graphs in the presence of negative edge weights; I could not find any applicable algorithms via online search.

Transforming the undirected graph to a directed one by replacing each edge with a pair of antiparallel arcs and and then applying the Bellman-Ford algorithm is not an option, because egdes with negative weight correspond to a negative cycle consisting of a pair of antiparallel arcs.

Imposing the constraint, that the successor of a vertex must not be equal to its immediate predecessor doesn't rule out all negative cycles that contain a pair of antiparallel arcs, and apart from that, leaves open the question of which of the antiparallel arcs should be excluded.

After some experimenting I found this candidate transformation of a pair of antiparallel arcs (and thus for undirected edges):

That transformation also can't rule out antiparallel arcs from appearing in a partial shortest path constructed with the Bellman-Ford algorithm; it appears to me however, that calculating the shortest path via mincost flow reliably rules out antiparallel arcs from appearing in the …

Posed by Manfred Weis · graph-theory, algorithms

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-300026.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-300026.lean

import Mathlib

/-!
# Known Methods for "Mutexing" Antiparallel Arcs in Graphs

Source: https://mathoverflow.net/questions/300026
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_300026

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

theorem main : sorry := by
  sorry

end OMA.S_mo_300026