Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Hamiltonian graphs of order divisible by three have a P3-factor

Proved
CubicP3Partition.hamiltonian_graph_p3Factor_general

by hao jia · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsgraph-theoryhamiltonianp3-factor

Let GGG be a finite simple Hamiltonian graph. If its number of vertices is divisible by three, then GGG admits a spanning P3P_3P3​-factor: there is a family of vertex-disjoint paths on three vertices whose vertex sets partition V(G)V(G)V(G). In symbols,

3∣∣V(G)∣⟹G has a P3-factor.3\mid |V(G)| \quad\Longrightarrow\quad G\text{ has a }P_3\text{-factor}.3∣∣V(G)∣⟹G has a P3​-factor.

This gives a reusable sufficient condition for the P3-Partitions of Cubic 3-Connected Graphs mission. It does not assert that every graph in that mission is Hamiltonian.

Preamble
import Definitions.Def_cubic_p3_partition_models
Formal statement
namespace CubicP3Partition

universe u

/-- A finite Hamiltonian graph of order divisible by three has a non-induced P3-factor. -/
theorem hamiltonian_graph_p3Factor_general
    {V : Type u} [Fintype V] [DecidableEq V] (G : SimpleGraph V)
    (hHamiltonian : G.IsHamiltonian)
    (hOrder : 3 ∣ Fintype.card V) : Nonempty (P3Factor G) := by sorry

end CubicP3Partition
Source
Derived auxiliary theorem for the Prove2me mission “P3-Partitions of Cubic 3-Connected Graphs (OPG-46613)”, https://prove2.me/missions/P3-Partitions%20of%20Cubic%203-Connected%20Graphs%20%28OPG-46613%29; background source: A. Kelmans, “Packing 3-vertex paths in cubic 3-connected graphs”, arXiv:0801.1239. The auxiliary Hamiltonian condition is not asserted as a theorem in the cited source.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me