pk_free_hole_tail_attachment_outside_short_arc
In a graph with no induced path on k vertices, fix an induced k-cycle in cyclic order and an induced path on d vertices disjoint from it, with 1 ≤ d and d+1 < k. Only the final path vertex sees the cycle, and it has at least one cycle neighbor. This final vertex has a neighbor at an index at least d+1. Thus its attachments cannot all belong to the first d+1 vertices of the given cyclic ordering.
Statement
theorem pk_free_hole_tail_attachment_outside_short_arc {V : Type*} (G : SimpleGraph V) {k d : ℕ} (hd : 0 < d) (hk : d+1 < k) (hp : IsPkFree G k) (f : SimpleGraph.cycleGraph k ↪g G) (p : SimpleGraph.pathGraph d ↪g G) (apart : ∀ i j, p i ≠ f j) (e : Fin d) (he : e.val+1=d) (onlyEnd : ∀ i j, G.Adj (p i) (f j) → i=e) (touch : ∃ j, G.Adj (p e) (f j)) : ∃ j : Fin k, d+1 ≤ j.val ∧ G.Adj (p e) (f j)
- Source
- OP-606, residual longest-hole route for arXiv:2610.36290, Conjecture 1.1. Experiment 44743.
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- Used by 3
- pk_free_hole_dominating_exit_two_turn_captureIn a P_k-free graph with an induced k-cycle, k at least six, let D be a connected far region whose boundary vertices have neighbors on the…
- pk_free_hole_four_site_gate_completeSuppose a vertex outside an induced k-cycle in a P_k-free graph, k at least five, has at least one neighbor on the cycle and all such…
- pk_free_hole_tight_arc_has_both_endpointsSuppose an induced d-vertex path is disjoint from an induced k-cycle in a graph without an induced k-vertex path, with d positive and d+1…
The proof, explained
We proceed by contradiction: assuming the endpoint $p(e)$ of the tail path $P_d$ has no neighbor on the cycle $C_k$ at index $d+1$ or greater, all its cycle attachments must lie at indices at most $d$. We take the maximum index $a \le d$ among these attachments and construct a sequence $F$ of $k$ vertices by walking along the path $p$ from $0$ to $d-1 = e$, hopping to $f(a)$ on the cycle, and continuing along the cycle via indices $a + (i - d)$ for $d \le i < k$. Because $a \le d$ and $d + 1 < k$, these cycle indices never wrap around, so by a helper lemma on short arcs, cycle adjacency is strictly consecutive difference; together with the uniqueness of $p(e)$ as the attachment vertex and $a$ as the maximal neighbor, no shortcut chords exist. This shows $F$ is an induced $P_k$ in $G$, contradicting the hypothesis that $G$ is $P_k$-free.
On a cycle $C_k$, two vertices $a$ and $b$ satisfying $a + 1 < k + b$ and $b + 1 < k + a$ are adjacent if and only if $a + 1 = b$ or $b + 1 = a$.
By definition of adjacency on $C_k$ (`SimpleGraph.cycleGraph_adj'`), vertices $a$ and $b$ are adjacent if and only if their cyclic difference in either direction is $1$. By trichotomy (`lt_trichotomy`), we consider three cases: if $a < b$, then the forward difference is $b - a$ while the backward modular difference is $k + a - b$ (`Fin.coe_sub_iff_lt.mpr`, `Fin.sub_val_of_le`). The bound $a + 1 < k + b$ ensures $k + a - b > 1$, ruling out wraparound adjacency, so adjacency is equivalent to $b - a = 1$ (i.e. $a + 1 = b$). The case $a = b$ has no edges since cycles have no self-loops (`le_refl`). The case $b < a$ is symmetric, leaving $b + 1 = a$.
uses
SimpleGraph.cycleGraph_adj',lt_trichotomy,Fin.coe_sub_iff_lt.mpr,Fin.sub_val_of_le,le_reflrw [SimpleGraph.cycleGraph_adj'] rcases lt_trichotomy a b with h|rfl|h · rw [Fin.coe_sub_iff_lt.mpr h,Fin.sub_val_of_le h.le] have ha : a.val < b.val := h omega · simp [Fin.sub_val_of_le (le_refl a)] · rw [Fin.sub_val_of_le h.le,Fin.coe_sub_iff_lt.mpr h] have hb : b.val < a.val := h omega
Under the assumption for contradiction that $p(e)$ has no cycle neighbor at index $\ge d+1$, the set $S$ of cycle neighbors of $p(e)$ has a maximum element $a \le d$, and every cycle neighbor $j$ satisfies $j \le a$.
We assume for contradiction that no cycle vertex $f(j)$ with $j \ge d+1$ is adjacent to $p(e)$. We form the finite set $S$ of all cycle indices $j \in \{0, \dots, k-1\}$ such that $p(e) \sim f(j)$. By hypothesis, $p(e)$ has at least one neighbor on the cycle, so $S$ is nonempty and has a well-defined maximum element $a$. Under the contradiction hypothesis, every neighbor of $p(e)$ must have index $\le d$, so in particular $a \le d$. By definition of the maximum (`Finset.le_max'`), any neighbor $j$ of $p(e)$ satisfies $j \le a$.
uses
Finset.le_max'classical by_contra! hn let S := Finset.univ.filter (fun j : Fin k => G.Adj (p e) (f j)) have mem (j : Fin k) : j ∈ S ↔ G.Adj (p e) (f j) := by simp [S] have hS : S.Nonempty := by obtain ⟨j,hj⟩ := touch; exact ⟨j,(mem _).mpr hj⟩ let a := S.max' hS have hA := (mem a).mp (S.max'_mem hS) have ha : a.val ≤ d := by by_contra! h; exact hn a h hA have hmax (j : Fin k) (h : G.Adj (p e) (f j)) : j.val ≤ a.val := Finset.le_max' S j ((mem j).mpr h)
Define a sequence of $k$ vertices $F(i)$ by taking $p(i)$ for $i < d$ and $f(a + i - d)$ for $i \ge d$. Then for any $i < d$ and $j \ge d$, $F(i)$ is adjacent to $F(j)$ in $G$ if and only if $i + 1 = j$ (which holds precisely when $i = d-1$ and $j = d$).
For each $i \in \{0, \dots, k-1\}$, we define an index $\text{idx}(i) = a + (i - d)$ on the cycle; since $a \le d$, this index is strictly bounded by $a + (k - 1 - d) \le k - 1 < k$, so it is well-defined. We define $F(i)$ to be the path vertex $p(i)$ when $i < d$, and the cycle vertex $f(\text{idx}(i))$ when $i \ge d$. To characterize edges between the two parts, suppose $p(i) \sim f(\text{idx}(j))$ with $i < d \le j$. By hypothesis, only the endpoint $p(e)$ of the path can be adjacent to the cycle, forcing $i = e = d - 1$ (`congrArg`, `Fin.val`). Since $f(\text{idx}(j))$ is adjacent to $p(e)$, its index must be at most $a$, which means $a + (j - d) \le a$, forcing $j \le d$ and hence $j = d$. Conversely, if $i + 1 = j$, then $i = d - 1 = e$ and $\text{idx}(j) = a$ (`Fin.ext`), and $p(e) \sim f(a)$ holds because $a \in S$.
uses
congrArg,Fin.val,Fin.extlet idx (i : Fin k) : Fin k := ⟨a.val+(i.val-d),by have := i.isLt; omega⟩ let F (i : Fin k) : V := if h : i.val < d then p ⟨i.val,h⟩ else f (idx i) have cross (i j : Fin k) (hi : i.val < d) (hj : d ≤ j.val) : G.Adj (p ⟨i.val,hi⟩) (f (idx j)) ↔ i.val+1 = j.val := by constructor · intro h have h₁ := congrArg Fin.val (onlyEnd _ _ h) have h₂ := hmax _ (by rwa [← onlyEnd _ _ h]) change i.val = e.val at h₁ change a.val + (j.val-d) ≤ a.val at h₂ omega · intro h have hi' : (⟨i.val,hi⟩ : Fin d) = e := Fin.ext (by change i.val=e.val; omega) have hj' : idx j = a := Fin.ext (by change a.val+(j.val-d)=a.val; omega) rwa [hi',hj']
The map $F : \{0, \dots, k-1\} \to V$ is injective.
Suppose $F(i) = F(j)$. We analyze cases depending on whether $i$ and $j$ are less than $d$: if both are $< d$, $p(i) = p(j)$, so $i = j$ by injectivity of the path embedding $p$ (`Fin.ext`, `congrArg`). If one is $< d$ and the other is $\ge d$, one vertex lies in the image of $p$ and the other in the image of $f$, which contradicts the assumption that $p$ and $f$ are vertex-disjoint. If both are $\ge d$, then $f(\text{idx}(i)) = f(\text{idx}(j))$, so $\text{idx}(i) = \text{idx}(j)$ by injectivity of $f$ (`congrArg`, `Fin.val`), which yields $a + (i - d) = a + (j - d) \implies i = j$ (`Fin.ext`).
uses
Fin.ext,congrArg,Fin.valhave inj : Function.Injective F := by intro i j h by_cases hi : i.val < d <;> by_cases hj : j.val < d · simp only [F,dif_pos hi,dif_pos hj] at h exact Fin.ext (congrArg (fun z : Fin d => z.val) (p.injective h)) · simp only [F,dif_pos hi,dif_neg hj] at h exact (apart _ _ h).elim · simp only [F,dif_neg hi,dif_pos hj] at h exact (apart _ _ h.symm).elim · simp only [F,dif_neg hi,dif_neg hj] at h have h₁ := congrArg Fin.val (f.injective h) change a.val+(i.val-d)=a.val+(j.val-d) at h₁ exact Fin.ext (by omega)
The map $F$ is an induced embedding of the path $P_k$ into $G$, which contradicts the assumption that $G$ is $P_k$-free.
We invoke the hypothesis that $G$ has no induced path of length $k$. It suffices to verify that $F(i)$ is adjacent to $F(j)$ in $G$ if and only if $|i - j| = 1$ (`SimpleGraph.pathGraph_adj`). We check all cases: (1) When both $i, j < d$, $F$ restricts to the induced path embedding $p$, so adjacency is preserved. (2) When $i < d \le j$, our previous cross-adjacency lemma establishes $F(i) \sim F(j) \iff i + 1 = j$. (3) When $j < d \le i$, symmetry of adjacency (`G.adj_comm`) reduces this to the previous case, yielding $j + 1 = i$. (4) When both $i, j \ge d$, $F(i) \sim F(j)$ is equivalent to cycle adjacency of $\text{idx}(i)$ and $\text{idx}(j)$. Since $a \le d$ and $i, j < k$, the indices $\text{idx}(i) = a + i - d$ and $\text{idx}(j) = a + j - d$ satisfy the non-wraparound bounds of `arc_adj`, which reduces cycle adjacency to $|\text{idx}(i) - \text{idx}(j)| = 1 \iff |i - j| = 1$. Thus $F$ is an induced $P_k$, completing the contradiction.
uses
SimpleGraph.pathGraph_adj,G.adj_comm,arc_adjapply hp refine ⟨{ toFun := F, inj' := inj, map_rel_iff' := ?_ }⟩ intro i j change G.Adj (F i) (F j) ↔ (SimpleGraph.pathGraph k).Adj i j rw [SimpleGraph.pathGraph_adj] by_cases hi : i.val < d <;> by_cases hj : j.val < d · simp only [F,dif_pos hi,dif_pos hj,p.map_rel_iff,SimpleGraph.pathGraph_adj] · simp only [F,dif_pos hi,dif_neg hj,cross i j hi (by omega)] omega · simp only [F,dif_neg hi,dif_pos hj] rw [G.adj_comm,cross j i hj (by omega)] omega · simp only [F,dif_neg hi,dif_neg hj,f.map_rel_iff] have hir := i.isLt have hjr := j.isLt rw [arc_adj _ _ (by dsimp [idx]; omega) (by dsimp [idx]; omega)] dsimp [idx] omega
In a $P_k$-free graph, the final vertex of a disjoint path of length $d$ attached to an induced cycle $C_k$ must have a cycle neighbor at index at least $d+1$.
The main theorem follows directly by applying the helper theorem `Op606Tail.force`, which proves the result under identical hypotheses.
uses
Op606Tail.forceexact Op606Tail.force G hd hk hp f p apart e he onlyEnd touch
SimpleGraph.cycleGraph_adj'- Two vertices $u, v$ in a cycle graph of size $n$ are adjacent if and only if their cyclic difference $u - v$ or $v - u$ is $1$.
lt_trichotomy- In a linearly ordered type, for any two elements $a$ and $b$, exactly one of $a < b$, $a = b$, or $b < a$ holds.
Fin.coe_sub_iff_lt.mpr- For $a < b$ in $\text{Fin } n$, the difference $a - b$ in $\text{Fin } n$ has numerical value $n + a - b$.
Fin.sub_val_of_le- For $b \le a$ in $\text{Fin } n$, the difference $a - b$ in $\text{Fin } n$ has numerical value $a - b$.
le_refl- The inequality relation is reflexive: $a \le a$ for every element $a$.
Finset.le_max'- Every element of a nonempty finite set of linearly ordered elements is less than or equal to the maximum element of the set.
congrArg- If two inputs are equal, applying the same function to both yields equal outputs: $a = b \implies f(a) = f(b)$.
Fin.val- The canonical projection mapping an element of $\text{Fin } n$ to its underlying natural number.
Fin.ext- Two elements of $\text{Fin } n$ are equal if and only if their underlying natural number values are equal.
SimpleGraph.pathGraph_adj- Two vertices $u, v$ in a path graph of size $n$ are adjacent if and only if $u + 1 = v$ or $v + 1 = u$.
G.adj_comm- Adjacency in a simple graph $G$ is symmetric: vertex $u$ is adjacent to $v$ if and only if $v$ is adjacent to $u$.
arc_adj- Two vertices $a, b$ on a cycle graph $C_k$ satisfying $a + 1 < k + b$ and $b + 1 < k + a$ are adjacent if and only if $a + 1 = b$ or $b + 1 = a$.
Op606Tail.force- In a $P_k$-free graph, if a disjoint path of length $d$ has only its endpoint adjacent to an induced cycle $C_k$, that endpoint must have a neighbor on the cycle with index at least $d+1$.
- The helper lemma `arc_adj` establishes that on a cycle $C_k$, vertices that do not wrap around modulo $k$ have adjacency determined purely by numeric difference $|a - b| = 1$. The linear inequalities $a + 1 < k + b$ and $b + 1 < k + a$ are discharged using the `omega` decision procedure.
- The forbidden embedding $F$ concatenates the path $p$ with a shifted segment of the cycle $f$. The arithmetic verification that the shifted indices $a + (i - d)$ do not overflow $k$ relies on the contradiction hypothesis $a \le d$ together with $d + 1 < k$, and is handled by `omega`.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
namespace Op606Tailprivate theorem arc_adj {k : ℕ} (a b : Fin k) (h₁ : a.val+1 < k+b.val) (h₂ : b.val+1 < k+a.val) : (SimpleGraph.cycleGraph k).Adj a b ↔ a.val+1=b.val ∨ b.val+1=a.val := by rw [SimpleGraph.cycleGraph_adj'] rcases lt_trichotomy a b with h|rfl|h · rw [Fin.coe_sub_iff_lt.mpr h,Fin.sub_val_of_le h.le] have ha : a.val < b.val := h omega · simp [Fin.sub_val_of_le (le_refl a)] · rw [Fin.sub_val_of_le h.le,Fin.coe_sub_iff_lt.mpr h] have hb : b.val < a.val := h omegatheorem force {V : Type*} (G : SimpleGraph V) {k d : ℕ} (hd : 0 < d) (hk : d+1 < k) (hp : IsPkFree G k) (f : SimpleGraph.cycleGraph k ↪g G) (p : SimpleGraph.pathGraph d ↪g G) (apart : ∀ i j, p i ≠ f j) (e : Fin d) (he : e.val+1=d) (onlyEnd : ∀ i j, G.Adj (p i) (f j) → i=e) (touch : ∃ j, G.Adj (p e) (f j)) : ∃ j : Fin k, d+1 ≤ j.val ∧ G.Adj (p e) (f j) := by classical by_contra! hn let S := Finset.univ.filter (fun j : Fin k => G.Adj (p e) (f j)) have mem (j : Fin k) : j ∈ S ↔ G.Adj (p e) (f j) := by simp [S] have hS : S.Nonempty := by obtain ⟨j,hj⟩ := touch; exact ⟨j,(mem _).mpr hj⟩ let a := S.max' hS have hA := (mem a).mp (S.max'_mem hS) have ha : a.val ≤ d := by by_contra! h; exact hn a h hA have hmax (j : Fin k) (h : G.Adj (p e) (f j)) : j.val ≤ a.val := Finset.le_max' S j ((mem j).mpr h) let idx (i : Fin k) : Fin k := ⟨a.val+(i.val-d),by have := i.isLt; omega⟩ let F (i : Fin k) : V := if h : i.val < d then p ⟨i.val,h⟩ else f (idx i) have cross (i j : Fin k) (hi : i.val < d) (hj : d ≤ j.val) : G.Adj (p ⟨i.val,hi⟩) (f (idx j)) ↔ i.val+1 = j.val := by constructor · intro h have h₁ := congrArg Fin.val (onlyEnd _ _ h) have h₂ := hmax _ (by rwa [← onlyEnd _ _ h]) change i.val = e.val at h₁ change a.val + (j.val-d) ≤ a.val at h₂ omega · intro h have hi' : (⟨i.val,hi⟩ : Fin d) = e := Fin.ext (by change i.val=e.val; omega) have hj' : idx j = a := Fin.ext (by change a.val+(j.val-d)=a.val; omega) rwa [hi',hj'] have inj : Function.Injective F := by intro i j h by_cases hi : i.val < d <;> by_cases hj : j.val < d · simp only [F,dif_pos hi,dif_pos hj] at h exact Fin.ext (congrArg (fun z : Fin d => z.val) (p.injective h)) · simp only [F,dif_pos hi,dif_neg hj] at h exact (apart _ _ h).elim · simp only [F,dif_neg hi,dif_pos hj] at h exact (apart _ _ h.symm).elim · simp only [F,dif_neg hi,dif_neg hj] at h have h₁ := congrArg Fin.val (f.injective h) change a.val+(i.val-d)=a.val+(j.val-d) at h₁ exact Fin.ext (by omega) apply hp refine ⟨{ toFun := F, inj' := inj, map_rel_iff' := ?_ }⟩ intro i j change G.Adj (F i) (F j) ↔ (SimpleGraph.pathGraph k).Adj i j rw [SimpleGraph.pathGraph_adj] by_cases hi : i.val < d <;> by_cases hj : j.val < d · simp only [F,dif_pos hi,dif_pos hj,p.map_rel_iff,SimpleGraph.pathGraph_adj] · simp only [F,dif_pos hi,dif_neg hj,cross i j hi (by omega)] omega · simp only [F,dif_neg hi,dif_pos hj] rw [G.adj_comm,cross j i hj (by omega)] omega · simp only [F,dif_neg hi,dif_neg hj,f.map_rel_iff] have hir := i.isLt have hjr := j.isLt rw [arc_adj _ _ (by dsimp [idx]; omega) (by dsimp [idx]; omega)] dsimp [idx] omegaend Op606Tailtheorem pk_free_hole_tail_attachment_outside_short_arc {V : Type*} (G : SimpleGraph V) {k d : ℕ} (hd : 0 < d) (hk : d+1 < k) (hp : IsPkFree G k) (f : SimpleGraph.cycleGraph k ↪g G) (p : SimpleGraph.pathGraph d ↪g G) (apart : ∀ i j, p i ≠ f j) (e : Fin d) (he : e.val+1=d) (onlyEnd : ∀ i j, G.Adj (p i) (f j) → i=e) (touch : ∃ j, G.Adj (p e) (f j)) : ∃ j : Fin k, d+1 ≤ j.val ∧ G.Adj (p e) (f j) := by exact Op606Tail.force G hd hk hp f p apart e he onlyEnd touch