top | item 38169718

(no title)

a3_nm | 2 years ago

The following open research problem. Given an undirected graph G with two vertices s and t, the task is to determine whether there is an undirected path connecting s and t which is simple (no repeated vertices) and has length divisible by 3.

It is not known whether this problem is NP-hard, or whether it can be solved in polynomial time; apparently the question is open since the early 90s.

(The problem is also open for paths of length p mod q for any fixed p and q (fixed means they are constants, and are not given as input), whenever q>2. The problem is known to be in PTIME for 0 mod 2 and 1 mod 2, and to be NP-hard when the graph is directed. Pointers to related work here: https://gitlab.com/a3nm/modpath)

discuss

order

sdenton4|2 years ago

An old favorite open graph theory problem:

In your right hand, take any collection of trees with 2, 3, ..., n vertices. These have a total of 1+2+...+n-1 edges, ie, n choose 2.

In your left hand, take the complete graph with n vertices. This, of course, has the same number of edges.

Conjecture: it is always possible to pack/embed the trees into the complete graph in such a way that all edges are matched exactly once.

The problem has been open for like fifty years, lacking a counter-example or a proof. One can assume Erdos thought hard about it at some point...

a3_nm|2 years ago

Interesting! It looks like this is called the "Gyárfás tree packing conjecture".

4death4|2 years ago

What makes it NP-hard? Naively, I would assume the number of simple paths between any two nodes in a graph to a polynomial function of the number of nodes plus the number of edges, so checking every path wouldn't be hard.

penteract|2 years ago

In the complete graph on n vertices, there are (n-2)! simple paths of length n-1 between any pair of distinct vertices, which is more than any polynomial in the number of vertices or edges.

3np|2 years ago

> What makes it NP-hard?

That's the question, isn't it?

fuzzer371|2 years ago

I mean, so what if there is?

melvinmelih|2 years ago

voxl|2 years ago

I can't tell if you're making a joke, a troll, or genuinely believe what ChatGPT tells you with out bothering to test it.

This is why I hate the AI hype, because people do legitimately do this and think "wow it's so smart." When I explained the halting problem using Python to a student he asked "did you use ChatGPT?" No. Of course not...

a3_nm|2 years ago

Yes, ChatGPT is really bad at those things...