OAI/Combinatorics/Ramsey/CycleClique/Construction/LongestPaths.lean
5 declarations, 0 contain sorry, 0 declared as axioms
Maximum-order paths starting at a prescribed vertex.
- def
OAI.CycleClique.Construction.IsIndexedPathline 9 - theorem
OAI.CycleClique.Construction.indexedPath_snocline 13 - theorem
OAI.CycleClique.Construction.exists_longest_path_fromline 27Source documentation
Finite cardinality bounds path order, so maximizing it uses only well-ordering of natural numbers.
theorem exists_longest_path_from {V : Type*} [Fintype V] (G : SimpleGraph V) (x : V) : ∃ r, ∃ f : Fin (r + 1) → V, IsIndexedPath G f ∧ f 0 = x ∧ ∀ q (g : Fin (q + 1) → V), IsIndexedPath G g → g 0 = x → q ≤ r := by … - theorem
OAI.CycleClique.Construction.longest_path_endpoint_neighborsline 55Source documentation
Every neighbour of the last vertex of a longest fixed-start path lies on that path.
theorem longest_path_endpoint_neighbors {V : Type*} {G : SimpleGraph V} {x : V} {r : ℕ} {f : Fin (r + 1) → V} (hf : IsIndexedPath G f) (hstart : f 0 = x) (hmax : ∀ q (g : Fin (q + 1) → V), IsIndexedPath G g → g 0 = x → q ≤ r) : ∀ v, G.Adj (f (Fin.last r)) v → v ∈ Set.range f := by … - theorem
OAI.CycleClique.Construction.longest_path_degree_boundline 68Source documentation
The endpoint neighbourhood alone gives the elementary lower bound on the order of a longest fixed-start path.
theorem longest_path_degree_bound {V : Type*} [Fintype V] {G : SimpleGraph V} {x : V} {r : ℕ} {f : Fin (r + 1) → V} (hf : IsIndexedPath G f) (hstart : f 0 = x) (hmax : ∀ q (g : Fin (q + 1) → V), IsIndexedPath G g → g 0 = x → q ≤ r) : (G.neighborSet (f (Fin.last r))).ncard ≤ r := by …