{
  "id": "2510",
  "ident": "NS.02510",
  "slug": "erdos-583",
  "title": "Erdős Problem 583",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Every connected graph on $n$ vertices can be partitioned into at most $\\lceil n/2\\rceil$\nedge-disjoint paths.\n\nA problem of Erdős and Gallai.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos583.erdos_583",
  "statement_lean": "theorem erdos_583 {V : Type*} [Fintype V] (G : SimpleGraph V) (hG : G.Connected) :\n    ∃ D : Finset G.Subgraph,\n      (∀ H ∈ D, IsPathSubgraph H) ∧\n      IsDecomposition G D ∧\n      D.card ≤ ⌈(Fintype.card V : ℚ) / 2⌉₊",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 583\n\n*References:*\n- [erdosproblems.com/583](https://www.erdosproblems.com/583)\n- [AnBa23] Anto, Nevil and Basavaraju, Manu, *Gallai's path decomposition for 2-degenerate graphs*.\n  Discrete Math. Theor. Comput. Sci. (2023), Paper No. 16, 11.\n- [BBB21] A. Blanché, M. Bonamy, and N. Bonichon, *Gallai's path decomposition in planar graphs*.\n  arXiv:2110.08870 (2021).\n- [BoPe19] Bonamy, Marthe and Perrett, Thomas J., *Gallai's path decomposition conjecture for graphs\n  of small maximum degree*. Discrete Math. (2019), 1293--1299.\n- [CFZ26] Chu, Yanan and Fan, Genghua and Zhou, Chuixiang, *Gallai's conjecture and the path number\n  of odd semi-cliques*. Discrete Math. (2026), Paper No. 114725, 6.\n- [Ch78] Chung, F. R. K., *On partitions of graphs into trees*. Discrete Math. (1978), 23-30.\n- [DeKo00] Dean, Nathaniel and Kouider, Mekkia, *Gallai's conjecture for disconnected graphs*.\n  Discrete Math. (2000), 43--54.\n- [Er71] Erdős, P., *Some unsolved problems in graph theory and combinatorial analysis*.\n  Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97-109.\n- [Fa02] Fan, Genghua, *Subgraph coverings and edge switchings*. J. Combin. Theory Ser. B (2002),\n  54-83.\n- [Lo68] Lovász, L., *On covering of graphs*. Theory of Graphs (Proc. Colloq., Tihany, 1966) (1968),\n  231-236.\n- [Py96] Pyber, L., *Covering the edges of a connected graph by paths*. J. Combin. Theory Ser. B\n  (1996), 152-159.\n-/\n\n@[expose] public section\n\nopen SimpleGraph\n\nnamespace Erdos583\n\n/--\nA subgraph `H` of `G` is a path subgraph if it is the subgraph traced out by a path in `G`,\ni.e. a walk with no repeated vertices.\n-/\ndef IsPathSubgraph {V : Type*} {G : SimpleGraph V} (H : G.Subgraph) : Prop :=\n  ∃ (u v : V) (p : G.Walk u v), p.IsPath ∧ H = p.toSubgraph\n\n/--\nEvery connected graph on $n$ vertices can be partitioned into at most $\\lceil n/2\\rceil$\nedge-disjoint paths.\n\nA problem of Erdős and Gallai.\n-/\n@[category research open, AMS 5]\ntheorem erdos_583 {V : Type*} [Fintype V] (G : SimpleGraph V) (hG : G.Connected) :\n    ∃ D : Finset G.Subgraph,\n      (∀ H ∈ D, IsPathSubgraph H) ∧\n      IsDecomposition G D ∧\n      D.card ≤ ⌈(Fintype.card V : ℚ) / 2⌉₊ := by\n  sorry\n\nend Erdos583\n",
  "statement_hash": "27f25313e83eb3fdb30118e0244dd6672e064ab82dfce46c32851cc2d7cdeafc",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}