StoneTemplePython said:
Technique wise, I like the rough outlines of what you did with ##P^{**}## (basically another layered exchange argument), though your setup is a little different than how I was thinking of. I'd like to suggest streamlining the argument with inequalities. You already have most of the parts.
edit: what you have in the post 5 looks fairly close to me but it doesn't feel quite 'obvious' to me that its correct-- though obvious is a slippery concept.
- - - - -
At the end of the day for any given graph, we have finitely many vertices and finitely many edge possibilities so we can make some strong claims about the minimum possible maximal path given by ##P^*##.
with
##A := \text{set of 'selected' vertices in } P##
##B := \text{set of 'selected' vertices in } P'##
##C := \text{set of 'selected' vertices in neither path} ##
##\big \vert \text{set of nodes in }P^* \big \vert ##
##= \big \vert A \cup B \cup C\big \vert ##
##= \big \vert A \big \vert + \big \vert B \big \vert + \big \vert C \big \vert##
##\geq 4 + 4 + \big \vert C \big \vert##
##\geq 4 + 4 + 0 ##
## = 8##
and with this lower bound of 7 vertices nodes this tells you a lower bound of length 7 for ##P^*##. The first equality follows by disjointness -- we of course could not do this in general if ##A## and ##B## had have vertices in common (we'd need inclusion-exclusion) but our (contradiction) assumption gives us exactly this. The final inequality is as you've pointed out. What remains is to justify the other inequality.
My suggestion would be to look at the 'crossing point' (if you're concerned about multiple crossings, there are only finitely many, so consider the final one) where you have ##(?,u_j, ?, v_k,?)##. Argue that for an undirected graph, you can always stick at least 3 other vertices in ##A## to the left and 3 other vertices in ##B## to the right for a maximal path ##P^*##.
put differently, show ##\big \vert A\big \vert \geq 4## and ##\big \vert B\big \vert \geq 4##. This is what I was thinking of with respect to ##u_4## and ##v_4## since they are the 'medians / midpoints' of the original paths given
Thank you for the advice, I've tried to follow it to make a proof:
Assume by contradiction that ##P## and ##P'## share no common vertices. Let ##P := (u_1, u_2, \dots, u_7)## and ##P' := (v_1, v_2, \dots, v_7)##. Since ##G## is connected there exists a non unique ##u_4-v_4## path. We name it ##Q##. Let ##u_i## be the vertex of ##P## closest to ##v_4##. Let ##v_j## be the vertex of ##P'## closest to ##u_4##.
We will construct a new path ##P^*## that has more than ##7## vertices and thus length greater than ##6##. First we'll show we can 'add' three vertices to the left of ##u_4##. If ##i = 4##, have ##P^* = (u_1, u_2, u_3, u_4, \dots, v_4)##. Otherwise, WLOG, suppose ##i > 4##. Then we have ##P^* = (u_1, u_2, u_3, u_4, \dots, u_{i-1}, u_i, \dots, v_4##. In either case, we were able to add three new vertices from ##P## to the left of ##u_4##. Note also that there are no elements of ##P## to the right of ##u_i##, in our currently constructed ##P^*##.
Similarly, if ##j = 4##, have ##P^* = (\dots, u_4 \dots, v_4, v_5, v_6, v_7)##. Otherwise, WLOG, suppose ##j > 4##. Then have ##P^* = (\dots, u_4, \dots, v_j, v_{j-1}, \dots, v_5, v_4, v_3, v_2, v_1)##. In either case, we were able to add three vertices from ##P'## to the right of ##v_4##. Note also that there are no elements of ##P'## to the left of ##v_j##, in our currently constructed ##P^*##.
Let ##A := \text{set of 'selected' vertices in } P##, ##B := \text{set of 'selected' vertices in } P'##, and ##C := \text{set of 'selected' vertices in neither path }##. Then ##\vert A \vert \ge 4##, ##\vert B \vert \ge 4## and ##\vert C \vert \ge 0##. Thus, ##P^*## has at least 8 vertices. We may conclude ##P^*## is a path of at least length 7. This is a contradiction to our original assumption that any path in ##G## has at most length 6.
We may conclude that ##P## and ##P'## must share at least one common vertex. []