FormalConjectures/ErdosProblems/583.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
2 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 583
References:
- erdosproblems.com/583
- [AnBa23] Anto, Nevil and Basavaraju, Manu, Gallai's path decomposition for 2-degenerate graphs. Discrete Math. Theor. Comput. Sci. (2023), Paper No. 16, 11.
- [BBB21] A. Blanché, M. Bonamy, and N. Bonichon, Gallai's path decomposition in planar graphs. arXiv:2110.08870 (2021).
- [BoPe19] Bonamy, Marthe and Perrett, Thomas J., Gallai's path decomposition conjecture for graphs of small maximum degree. Discrete Math. (2019), 1293--1299.
- [CFZ26] Chu, Yanan and Fan, Genghua and Zhou, Chuixiang, Gallai's conjecture and the path number of odd semi-cliques. Discrete Math. (2026), Paper No. 114725, 6.
- [Ch78] Chung, F. R. K., On partitions of graphs into trees. Discrete Math. (1978), 23-30.
- [DeKo00] Dean, Nathaniel and Kouider, Mekkia, Gallai's conjecture for disconnected graphs. Discrete Math. (2000), 43--54.
- [Er71] Erdős, P., Some unsolved problems in graph theory and combinatorial analysis. Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97-109.
- [Fa02] Fan, Genghua, Subgraph coverings and edge switchings. J. Combin. Theory Ser. B (2002), 54-83.
- [Lo68] Lovász, L., On covering of graphs. Theory of Graphs (Proc. Colloq., Tihany, 1966) (1968), 231-236.
- [Py96] Pyber, L., Covering the edges of a connected graph by paths. J. Combin. Theory Ser. B (1996), 152-159.
Imports (1)
- def
Erdos583.IsPathSubgraphA subgraphHofGis a path subgraph if it is the subgraph traced out by a path inG, i.e. a walk with no repeated vertices line 56 sourceSource documentation
A subgraph
HofGis a path subgraph if it is the subgraph traced out by a path inG, i.e. a walk with no repeated vertices.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,SimpleGraph.SubgraphProof uses:
Exists,SimpleGraph.Walk,And,SimpleGraph.Walk.IsPath,Eq,SimpleGraph.Walk.toSubgraphdef IsPathSubgraph {V : Type*} {G : SimpleGraph V} (H : G.Subgraph) : Prop := … - theorem
Erdos583.erdos_583Every connected graph on $n$ vertices can be partitioned into at most $\lceil n/2\rceil$ edge-disjoint paths sorry line 66 sourceSource documentation
Every connected graph on $n$ vertices can be partitioned into at most $\lceil n/2\rceil$ edge-disjoint paths.
A problem of Erdős and Gallai.
depends on sorry what this means
Statement uses:
Fintype,SimpleGraph,SimpleGraph.Connected,Exists,Finset,SimpleGraph.Subgraph,And,Membership.mem, Erdos583.IsPathSubgraph, SimpleGraph.IsDecomposition,LE.le,Nat,Finset.card,Nat.ceil,Rat,HDiv.hDiv,Fintype.card,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous31 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_583 {V : Type*} [Fintype V] (G : SimpleGraph V) (hG : G.Connected) : ∃ D : Finset G.Subgraph, (∀ H ∈ D, IsPathSubgraph H) ∧ IsDecomposition G D ∧ D.card ≤ ⌈(Fintype.card V : ℚ) / 2⌉₊ := by …Mentions: Erdos583.IsPathSubgraph