Left to Solve
Problems / MathOverflow (not formalized)

Which functions preserve the connectivity of graphs/components?

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

Statement

I am somewhat stuck working on an issue and would really love some guidance. I will state the problem, my current state and what led to it in case the solution lies beyond where I was looking

• The problem:

Given an undirected, weighted (with possibly negative weights) graph, I wish to apply injective maps on that graph (they need not be homomorphisms, actually they don't even have to be injective but for my case injective is enough) and I am stuck on the question "Which transformations preserve connected components" in the sense that if exists a path between and then exists a path between and

Note that this is a weaker condition than homomorphism because I don't care how long the paths are, only that the map preserves the fact that a path exists or does not exist between two vertices.

In an ideal world, I would even like to be able to describe these transformations as linear transformations acting on the adjacency matrix of the graph.

• Few things that I have noted so far are:

• It is a well known fact the an adjacency matrix is permutation equivalent to a diagonal block matrix where the blocks represent the connected components.

• This means that …

Posed by Elayeek · linear-algebra, graph-theory, adjacency-matrices

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

import Mathlib

/-!
# Which functions preserve the connectivity of graphs/components?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_227446