Is there an efficient way to represent all non-simple cycles of a digraph up to the number of vertices?
Statement
Given two digraphs and , I want a method for creating a bijection between all non-simple cycles of for all . That means, given and being the sets of all non-simple cycles of length in and respectively, there is a bijection between these two sets. Here, non-simple cycles refers to a closed walk on the graph where we are allowing repeated vertices and edges.
First, it is known that tr where is the adjacency matrix of a graph gives the number of non-simple cycles of length . So, in polynomial time, it is possible to determine whether such a bijection can exist between graphs and . The question is how to find this bijection without simply enumerating all the possible cycles and pairing them off one by one which is at least an exponential algorithm.
My first thought was to use a cycle basis. However, when considering non-simple cycles, there isn't a unique vector representation in since edges can repeat.
Are there any other representations of the cycles in a graph besides a cycle basis that could reduce the number of cycles to be considered to a polynomial amount?
Posed by LukeMSki · graph-theory, computational-complexity
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-304776.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-304776.lean
import Mathlib /-! # Is there an efficient way to represent all non-simple cycles of a digraph up to the number of vertices? Source: https://mathoverflow.net/questions/304776 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_304776 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_304776