Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passaudited 2026-08-01
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Kruskal's greedy edge procedure produces a minimum spanning tree

Statement

Let (G,w) be a connected real edge-weighted graph. Start with the edgeless spanning forest, repeatedly add a minimum-weight edge whose addition creates no cycle, and stop when no such edge remains. With ties broken arbitrarily, the output is a minimum spanning tree.

Facts & Assumptions

Given: A connected finite weighted graph (G,w).

[L2]

Spanning-tree exchanges preserve spanning trees (The spanning-tree exchange lemma).

[L3]

Induction is valid over the finitely many chosen edges (The cardinality ∣A∣ of a finite set, The principle of mathematical induction).

[L4]

Adding an edge outside a spanning tree creates a unique fundamental cycle (Every edge outside a spanning tree determines a unique fundamental cycle).

[F1]

G is connected, and a connected acyclic spanning subgraph is a spanning tree.

[F2]

Kruskal chooses a least-weight edge among the currently eligible edges.

Proof

technique · induction on the number of chosen edges
1.1

Maintain the invariant that the current forest F is contained in some MST. It holds initially by L1.

baseL1
1.2

Suppose F⊆T for an MST T, and Kruskal chooses e. If e∈T, the invariant persists.

ih
2.1

If e∉T, let C be its fundamental cycle in T+e. Some edge f∈E(C)∖{e} is not in F; otherwise the T-path C−e would lie in F and adding e to F would create a cycle. Since F+f is a subgraph of the acyclic tree T, the edge f is eligible for Kruskal.

step 1.2L4
3.1

At the moment e is chosen, f is eligible, so w(e)≤w(f). The exchange T−f+e is a spanning tree of no greater weight, hence an MST containing F+e.

step 2.1L2F2
4.1

Thus the invariant holds after every choice.

step 1.2step 3.1L3
5.1

On termination, F must be connected: otherwise a path of G between two components of F would contain a first edge joining distinct components, and that edge would still be eligible. Thus F is a spanning tree. The invariant then forces F itself to be an MST.

step 4.1F1L1
6.1

Therefore every tie-breaking execution returns a minimum spanning tree.

step 5.1discharge-induction∎

Depends on

Used by

Dependency tree · two levels

25 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources