FormalConjectures/ErdosProblems/583.lean

GitHub source file

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:

Imports (1)
  1. def Erdos583.IsPathSubgraph A subgraph H of G is a path subgraph if it is the subgraph traced out by a path in G, i.e. a walk with no repeated vertices line 56 source

    Source documentation

    A subgraph H of G is a path subgraph if it is the subgraph traced out by a path in G, i.e. a walk with no repeated vertices.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: SimpleGraph, SimpleGraph.Subgraph

    Proof uses: Exists, SimpleGraph.Walk, And, SimpleGraph.Walk.IsPath, Eq, SimpleGraph.Walk.toSubgraph

    def IsPathSubgraph {V : Type*} {G : SimpleGraph V} (H : G.Subgraph) : Prop :=
    …
  2. theorem Erdos583.erdos_583 Every connected graph on $n$ vertices can be partitioned into at most $\lceil n/2\rceil$ edge-disjoint paths sorry line 66 source

    Source 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.ofNat

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    31 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