AFTD Auto-Formalizing Theoretical Domains

pk_free_hole_edge_neighborhood_guard_obstruction

theoremverified

There is a connected nine-vertex graph with no induced six-vertex path, an induced six-cycle, and a robber vertex r outside the closed neighborhood of the cycle. For every ordered pair of consecutive cycle vertices u,v, r has a neighbor adjacent to u but outside the closed neighborhood of v. At this robber position, no choice of endpoint on any cycle edge covers all one-step threats to the closed neighborhoods of both endpoints.

Statement

theorem pk_free_hole_edge_neighborhood_guard_obstruction :
    ∃ G : SimpleGraph (Fin 9), G.Connected ∧ IsPkFree G 6 ∧
      ∃ (f : SimpleGraph.cycleGraph 6 ↪g G) (r : Fin 9),
        (∀ i, r ≠ f i ∧ ¬G.Adj r (f i)) ∧
        ∀ i j, (SimpleGraph.cycleGraph 6).Adj i j →
          ∃ z, G.Adj r z ∧ G.Adj z (f i) ∧ z ≠ f j ∧ ¬G.Adj z (f j)
Source
OP-606 and arXiv:2610.36290. Experiment 44743. Obstruction to extending one-cop edge-neighborhood guarding to arbitrary shortest-hole lengths.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
  • IsPkFreeA simple graph G is P_k-free if it contains no induced subgraph isomorphic to the path on k vertices.
  • three_token_odd_cycle_matching_bound_negationIt is not the case that for all integers k ≥ 2, the independence number of the 3-token graph of the odd cycle C_{2k+1} is equal to ((2 * k…
  • Arena.Reachable.transReachability is transitive.
  • g$g(S,M) = \dim_{\mathbb{F}_p}(S^{\perp}_M) - \dim_{\mathbb{F}_p}(S_M)$.
  • cFor a group $G$ and an element $s \in G$, the local count $c_G(s)$ is the cardinality of the set of elements $g \in G$ such that…

The proof, explained

The theorem is proved by exhibiting an explicit 9-vertex graph G with an induced 6-cycle hole C₆ on vertices {0, ..., 5} and a robber vertex r = 8. The graph G connects vertex 8 to two intermediate vertices 6 and 7, which dominate the even and odd cycle vertices respectively. Connectedness is verified by showing all vertices are at distance at most 2 from vertex 8, and P₆-freeness is established by an exhaustive finite decision procedure checking that no 6-tuple of vertices forms an induced path. Finally, because vertices 6 and 7 each dominate one parity of the cycle without edges to the other parity, the robber at vertex 8 has a neighbor adjacent to u but outside the closed neighborhood of v for every directed cycle edge (u, v), defeating any single-endpoint guard strategy.

  1. The bitmask relation defines an undirected, loopless simple graph on 9 vertices. automation

    The adjacency relation rel tests the y-th bit of an explicit 9-element array of bitmasks mask. Symmetry (x ~ y iff y ~ x) and irreflexivity (no vertex has a self-loop) are verified for all pairs by the decision procedure decide.

    lines 14–19

    def graph : SimpleGraph (Fin 9) where
      Adj := rel
      symm := ⟨by decide⟩
      loopless := ⟨by decide⟩
    
    instance : DecidableRel graph.Adj := inferInstanceAs (DecidableRel rel)
  2. The 6-cycle C₆ embeds as an induced subgraph of the 9-vertex graph on vertices {0, 1, 2, 3, 4, 5}. automation

    The function `near` maps each vertex of C₆ to the corresponding vertex in Fin 9. Injectivity is proved via Fin.ext and congrArg, and the condition that adjacency in the graph coincides with adjacency in C₆ is verified exhaustively by decide.

    lines 20–27

    uses Fin.ext, congrArg

    def near (i : Fin 6) : Fin 9 := ⟨i.val,by omega⟩
    
    def hole : SimpleGraph.cycleGraph 6 ↪g graph where
      toFun := near
      inj' := fun _ _ h => Fin.ext (congrArg (fun i : Fin 9 => i.val) h)
      map_rel_iff' := by decide
    
  3. The 9-vertex graph is connected.

    Exhaustive verification shows that every vertex z is either 8, adjacent to 8, or at distance 2 from 8 via some vertex u. Reachability from 8 is established in each case using SimpleGraph.Reachable.rfl and edge transitivity. By symmetry and transitivity, any two vertices i and j are connected via vertex 8.

    lines 28–36

    uses SimpleGraph.Reachable.rfl

    theorem connected : graph.Connected := by
      have cover : ∀ z : Fin 9, z = 8 ∨ graph.Adj 8 z ∨ ∃ u, graph.Adj 8 u ∧ graph.Adj u z := by decide
      have hr (z : Fin 9) : graph.Reachable 8 z := by
        rcases cover z with rfl|h|⟨u,hu,uz⟩
        · exact SimpleGraph.Reachable.rfl
        · exact h.reachable
        · exact hu.reachable.trans uz.reachable
      exact ⟨fun i j => (hr i).symm.trans (hr j)⟩
    
  4. A boolean predicate on Fin 9 that evaluates to true on the entire range of vertices holds for any specific vertex.

    The helper lemma apply_all applies List.all_eq_true.mp to the premise (List.finRange 9).all P = true, with list membership i ∈ List.finRange 9 discharged by simplification.

    lines 37–38

    uses List.all_eq_true.mp

    private theorem apply_all {P : Fin 9 → Bool} (h : (List.finRange 9).all P=true) (i : Fin 9) : P i=true := List.all_eq_true.mp h _ (by simp)
    
  5. An exhaustive decision procedure confirms that no 6-tuple of vertices forms an induced P₆. automation

    Assuming an induced embedding f : P₆ ↪g graph, the induced subgraph property f.map_rel_iff equates adjacency in the graph with adjacency in P₆. The boolean predicate `test` exhaustively checks all 6-tuples of vertices and confirms by decide that none satisfies the induced path relations. Specializing `test` to f(0) using apply_all produces hypothesis h₀.

    lines 39–46

    uses apply_all

    theorem no_path : IsPkFree graph 6 := by
      rintro ⟨f⟩
      have pair (i j : Fin 6) : graph.Adj (f i) (f j) ↔ (SimpleGraph.pathGraph 6).Adj i j := f.map_rel_iff
    
      have test : (List.finRange 9).all (fun a => (List.finRange 9).all (fun b => if graph.Adj a b then (List.finRange 9).all (fun c => if graph.Adj b c ∧ a ≠ c ∧ ¬graph.Adj a c then (List.finRange 9).all (fun d => if graph.Adj c d ∧ a ≠ d ∧ ¬graph.Adj a d ∧ b ≠ d ∧ ¬graph.Adj b d then (List.finRange 9).all (fun e => if graph.Adj d e ∧ a ≠ e ∧ ¬graph.Adj a e ∧ b ≠ e ∧ ¬graph.Adj b e ∧ c ≠ e ∧ ¬graph.Adj c e then (List.finRange 9).all (fun f => if graph.Adj e f ∧ a ≠ f ∧ ¬graph.Adj a f ∧ b ≠ f ∧ ¬graph.Adj b f ∧ c ≠ f ∧ ¬graph.Adj c f ∧ d ≠ f ∧ ¬graph.Adj d f then false else true) else true) else true) else true) else true))=true := by decide
    
      have h0 := apply_all test (f 0)
    
  6. The first path edge f(0) ~ f(1) holds, advancing the search condition to f(1).

    The adjacency f(0) ~ f(1) follows from SimpleGraph.pathGraph_adj for 0 and 1. Specializing h₀ to f(1) via apply_all and reducing the conditional using if_pos c1 yields hypothesis h₁.

    lines 47–52

    uses apply_all, SimpleGraph.pathGraph_adj, if_pos

      have c1 : graph.Adj (f 0) (f 1) := ((pair 0 1).mpr (by rw [SimpleGraph.pathGraph_adj]; decide))
    
      have h1 := apply_all h0 (f 1)
    
      simp only [if_pos c1] at h1
    
  7. Vertex f(2) is adjacent to f(1), distinct from f(0), and non-adjacent to f(0), advancing the search condition to f(2).

    The edge and non-edge conditions c₂ are established using SimpleGraph.pathGraph_adj and the injectivity of f. Specializing h₁ to f(2) via apply_all and simplifying with if_pos c₂ yields hypothesis h₂.

    lines 53–60

    uses apply_all, SimpleGraph.pathGraph_adj, if_pos

      have c2 : graph.Adj (f 1) (f 2) ∧ (f 0) ≠ (f 2) ∧ ¬graph.Adj (f 0) (f 2) := ⟨((pair 1 2).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),
        (fun h => (by decide : (0 : Fin 6) ≠ 2) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 2) ((pair 0 2).mp h))⟩
    
      have h2 := apply_all h1 (f 2)
    
      simp only [if_pos c2] at h2
    
  8. Vertex f(3) is adjacent to f(2), distinct from f(0) and f(1), and non-adjacent to f(0) and f(1), advancing the search condition to f(3).

    The conditions c₃ are proved from the definition of P₆ via SimpleGraph.pathGraph_adj and injectivity. Specializing h₂ to f(3) with apply_all and simplifying with if_pos c₃ yields hypothesis h₃.

    lines 61–70

    uses apply_all, SimpleGraph.pathGraph_adj, if_pos

      have c3 : graph.Adj (f 2) (f 3) ∧ (f 0) ≠ (f 3) ∧ ¬graph.Adj (f 0) (f 3) ∧ (f 1) ≠ (f 3) ∧ ¬graph.Adj (f 1) (f 3) := ⟨((pair 2 3).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),
        (fun h => (by decide : (0 : Fin 6) ≠ 3) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 3) ((pair 0 3).mp h)),
        (fun h => (by decide : (1 : Fin 6) ≠ 3) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 1 3) ((pair 1 3).mp h))⟩
    
      have h3 := apply_all h2 (f 3)
    
      simp only [if_pos c3] at h3
    
  9. Vertex f(4) is adjacent to f(3), distinct from f(0), f(1), f(2), and non-adjacent to each of them, advancing the search condition to f(4).

    The conditions c₄ are verified using SimpleGraph.pathGraph_adj and injectivity. Specializing h₃ to f(4) with apply_all and simplifying with if_pos c₄ yields hypothesis h₄.

    lines 71–82

    uses apply_all, SimpleGraph.pathGraph_adj, if_pos

      have c4 : graph.Adj (f 3) (f 4) ∧ (f 0) ≠ (f 4) ∧ ¬graph.Adj (f 0) (f 4) ∧ (f 1) ≠ (f 4) ∧ ¬graph.Adj (f 1) (f 4) ∧ (f 2) ≠ (f 4) ∧ ¬graph.Adj (f 2) (f 4) := ⟨((pair 3 4).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),
        (fun h => (by decide : (0 : Fin 6) ≠ 4) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 4) ((pair 0 4).mp h)),
        (fun h => (by decide : (1 : Fin 6) ≠ 4) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 1 4) ((pair 1 4).mp h)),
        (fun h => (by decide : (2 : Fin 6) ≠ 4) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 2 4) ((pair 2 4).mp h))⟩
    
      have h4 := apply_all h3 (f 4)
    
      simp only [if_pos c4] at h4
    
  10. Vertex f(5) satisfies all path conditions relative to the preceding vertices, reducing the hypothesis to false = true and proving P₆-freeness.

    The conditions c₅ for the sixth vertex are verified using SimpleGraph.pathGraph_adj and injectivity. Specializing h₄ to f(5) with apply_all and simplifying with if_pos c₅ forces h₅ to evaluate to false = true. The contradiction tactic completes the proof that no induced P₆ exists.

    lines 83–97

    uses apply_all, SimpleGraph.pathGraph_adj, if_pos

      have c5 : graph.Adj (f 4) (f 5) ∧ (f 0) ≠ (f 5) ∧ ¬graph.Adj (f 0) (f 5) ∧ (f 1) ≠ (f 5) ∧ ¬graph.Adj (f 1) (f 5) ∧ (f 2) ≠ (f 5) ∧ ¬graph.Adj (f 2) (f 5) ∧ (f 3) ≠ (f 5) ∧ ¬graph.Adj (f 3) (f 5) := ⟨((pair 4 5).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),
        (fun h => (by decide : (0 : Fin 6) ≠ 5) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 5) ((pair 0 5).mp h)),
        (fun h => (by decide : (1 : Fin 6) ≠ 5) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 1 5) ((pair 1 5).mp h)),
        (fun h => (by decide : (2 : Fin 6) ≠ 5) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 2 5) ((pair 2 5).mp h)),
        (fun h => (by decide : (3 : Fin 6) ≠ 5) (f.injective h)),
        (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 3 5) ((pair 3 5).mp h))⟩
    
      have h5 := apply_all h4 (f 5)
    
      simp only [if_pos c5] at h5
      contradiction
    
  11. There exists a connected, P₆-free graph with an induced C₆ hole and a robber vertex outside its closed neighborhood such that no endpoint of any cycle edge covers both endpoints against robber attacks. automation

    The existential statement is witnessed by Op606Guard.graph, its connectedness theorem Op606Guard.connected, its P₆-freeness theorem Op606Guard.no_path, the 6-cycle embedding Op606Guard.hole, and vertex 8 as the robber r. The non-adjacency of vertex 8 to all cycle vertices and the existence of uncovered one-step threats for every directed cycle edge are verified by decide.

    lines 100–106

    uses Op606Guard.graph, Op606Guard.connected, Op606Guard.no_path, Op606Guard.hole

    theorem pk_free_hole_edge_neighborhood_guard_obstruction :
        ∃ G : SimpleGraph (Fin 9), G.Connected ∧ IsPkFree G 6 ∧
          ∃ (f : SimpleGraph.cycleGraph 6 ↪g G) (r : Fin 9),
            (∀ i, r ≠ f i ∧ ¬G.Adj r (f i)) ∧
            ∀ i j, (SimpleGraph.cycleGraph 6).Adj i j →
              ∃ z, G.Adj r z ∧ G.Adj z (f i) ∧ z ≠ f j ∧ ¬G.Adj z (f j) := by
      exact ⟨Op606Guard.graph,Op606Guard.connected,Op606Guard.no_path,Op606Guard.hole,8,by decide,by decide⟩
Fin.ext
Two elements of Fin n are equal if and only if their underlying natural numbers are equal.
congrArg
Equal arguments to a function yield equal values (x = y implies f(x) = f(y)).
SimpleGraph.Reachable.rfl
Every vertex in a graph is reachable from itself by a path of length zero.
List.all_eq_true.mp
If a boolean predicate evaluates to true on all elements of a list, then it evaluates to true on any element of that list.
apply_all
A boolean predicate on Fin 9 that holds across List.finRange 9 holds for any given vertex.
SimpleGraph.pathGraph_adj
In the path graph Pₙ, vertices u and v are adjacent if and only if their indices differ by 1.
if_pos
If proposition c is true, then `if c then t else e` simplifies to t.
Op606Guard.graph
The explicit 9-vertex simple graph whose adjacency relation is defined by bitmask testing.
Op606Guard.connected
The graph Op606Guard.graph is connected.
Op606Guard.no_path
The graph Op606Guard.graph contains no induced 6-vertex path (it is P₆-free).
Op606Guard.hole
An induced subgraph embedding of the 6-cycle C₆ into Op606Guard.graph on vertices 0 through 5.

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

set_option maxHeartbeats 3000000set_option synthInstance.maxSize 2048set_option maxRecDepth 8000namespace Op606Guarddef mask : Fin 9 → ℕ := ![98,133,74,148,104,145,277,298,192]def rel (x y : Fin 9) : Prop := (mask x).testBit y.val = trueinstance : DecidableRel rel := fun x y => inferInstanceAs (Decidable ((mask x).testBit y.val = true))def graph : SimpleGraph (Fin 9) where  Adj := rel  symm := ⟨by decide⟩  loopless := ⟨by decide⟩instance : DecidableRel graph.Adj := inferInstanceAs (DecidableRel rel)def near (i : Fin 6) : Fin 9 := ⟨i.val,by omega⟩def hole : SimpleGraph.cycleGraph 6 ↪g graph where  toFun := near  inj' := fun _ _ h => Fin.ext (congrArg (fun i : Fin 9 => i.val) h)  map_rel_iff' := by decidetheorem connected : graph.Connected := by  have cover : ∀ z : Fin 9, z = 8 ∨ graph.Adj 8 z ∨ ∃ u, graph.Adj 8 u ∧ graph.Adj u z := by decide  have hr (z : Fin 9) : graph.Reachable 8 z := by    rcases cover z with rfl|h|⟨u,hu,uz⟩    · exact SimpleGraph.Reachable.rfl    · exact h.reachable    · exact hu.reachable.trans uz.reachable  exact ⟨fun i j => (hr i).symm.trans (hr j)⟩private theorem apply_all {P : Fin 9 → Bool} (h : (List.finRange 9).all P=true) (i : Fin 9) : P i=true := List.all_eq_true.mp h _ (by simp)theorem no_path : IsPkFree graph 6 := by  rintro ⟨f⟩  have pair (i j : Fin 6) : graph.Adj (f i) (f j) ↔ (SimpleGraph.pathGraph 6).Adj i j := f.map_rel_iff  have test : (List.finRange 9).all (fun a => (List.finRange 9).all (fun b => if graph.Adj a b then (List.finRange 9).all (fun c => if graph.Adj b c ∧ a ≠ c ∧ ¬graph.Adj a c then (List.finRange 9).all (fun d => if graph.Adj c d ∧ a ≠ d ∧ ¬graph.Adj a d ∧ b ≠ d ∧ ¬graph.Adj b d then (List.finRange 9).all (fun e => if graph.Adj d e ∧ a ≠ e ∧ ¬graph.Adj a e ∧ b ≠ e ∧ ¬graph.Adj b e ∧ c ≠ e ∧ ¬graph.Adj c e then (List.finRange 9).all (fun f => if graph.Adj e f ∧ a ≠ f ∧ ¬graph.Adj a f ∧ b ≠ f ∧ ¬graph.Adj b f ∧ c ≠ f ∧ ¬graph.Adj c f ∧ d ≠ f ∧ ¬graph.Adj d f then false else true) else true) else true) else true) else true))=true := by decide  have h0 := apply_all test (f 0)  have c1 : graph.Adj (f 0) (f 1) := ((pair 0 1).mpr (by rw [SimpleGraph.pathGraph_adj]; decide))  have h1 := apply_all h0 (f 1)  simp only [if_pos c1] at h1  have c2 : graph.Adj (f 1) (f 2) ∧ (f 0) ≠ (f 2) ∧ ¬graph.Adj (f 0) (f 2) := ⟨((pair 1 2).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),    (fun h => (by decide : (0 : Fin 6) ≠ 2) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 2) ((pair 0 2).mp h))⟩  have h2 := apply_all h1 (f 2)  simp only [if_pos c2] at h2  have c3 : graph.Adj (f 2) (f 3) ∧ (f 0) ≠ (f 3) ∧ ¬graph.Adj (f 0) (f 3) ∧ (f 1) ≠ (f 3) ∧ ¬graph.Adj (f 1) (f 3) := ⟨((pair 2 3).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),    (fun h => (by decide : (0 : Fin 6) ≠ 3) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 3) ((pair 0 3).mp h)),    (fun h => (by decide : (1 : Fin 6) ≠ 3) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 1 3) ((pair 1 3).mp h))⟩  have h3 := apply_all h2 (f 3)  simp only [if_pos c3] at h3  have c4 : graph.Adj (f 3) (f 4) ∧ (f 0) ≠ (f 4) ∧ ¬graph.Adj (f 0) (f 4) ∧ (f 1) ≠ (f 4) ∧ ¬graph.Adj (f 1) (f 4) ∧ (f 2) ≠ (f 4) ∧ ¬graph.Adj (f 2) (f 4) := ⟨((pair 3 4).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),    (fun h => (by decide : (0 : Fin 6) ≠ 4) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 4) ((pair 0 4).mp h)),    (fun h => (by decide : (1 : Fin 6) ≠ 4) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 1 4) ((pair 1 4).mp h)),    (fun h => (by decide : (2 : Fin 6) ≠ 4) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 2 4) ((pair 2 4).mp h))⟩  have h4 := apply_all h3 (f 4)  simp only [if_pos c4] at h4  have c5 : graph.Adj (f 4) (f 5) ∧ (f 0) ≠ (f 5) ∧ ¬graph.Adj (f 0) (f 5) ∧ (f 1) ≠ (f 5) ∧ ¬graph.Adj (f 1) (f 5) ∧ (f 2) ≠ (f 5) ∧ ¬graph.Adj (f 2) (f 5) ∧ (f 3) ≠ (f 5) ∧ ¬graph.Adj (f 3) (f 5) := ⟨((pair 4 5).mpr (by rw [SimpleGraph.pathGraph_adj]; decide)),    (fun h => (by decide : (0 : Fin 6) ≠ 5) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 0 5) ((pair 0 5).mp h)),    (fun h => (by decide : (1 : Fin 6) ≠ 5) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 1 5) ((pair 1 5).mp h)),    (fun h => (by decide : (2 : Fin 6) ≠ 5) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 2 5) ((pair 2 5).mp h)),    (fun h => (by decide : (3 : Fin 6) ≠ 5) (f.injective h)),    (fun h => (by rw [SimpleGraph.pathGraph_adj]; decide : ¬(SimpleGraph.pathGraph 6).Adj 3 5) ((pair 3 5).mp h))⟩  have h5 := apply_all h4 (f 5)  simp only [if_pos c5] at h5  contradictionend Op606Guardtheorem pk_free_hole_edge_neighborhood_guard_obstruction :    ∃ G : SimpleGraph (Fin 9), G.Connected ∧ IsPkFree G 6 ∧      ∃ (f : SimpleGraph.cycleGraph 6 ↪g G) (r : Fin 9),        (∀ i, r ≠ f i ∧ ¬G.Adj r (f i)) ∧        ∀ i j, (SimpleGraph.cycleGraph 6).Adj i j →          ∃ z, G.Adj r z ∧ G.Adj z (f i) ∧ z ≠ f j ∧ ¬G.Adj z (f j) := by  exact ⟨Op606Guard.graph,Op606Guard.connected,Op606Guard.no_path,Op606Guard.hole,8,by decide,by decide⟩
See it in the graphDiscuss this resultChallenge it