Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-6.1-sol)audited 2026-10-02
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.

Double-tree shortcutting on the four-vertex square metric

Example

Let the four vertices be A,B,C,D, with the four cyclic side lengths AB=BC=CD=DA=1 and diagonals AC=BD=2. For T={AB,BC,CD}, the doubled-tree Euler walk A-B-C-D-C-B-A has cost 6. First-visit shortcutting gives the tour A-B-C-D-A of cost 4; in particular the closing edge D-A has length 1, at most the bypass D-C-B-A of length 3. The MST has weight 3, the optimum tour has weight 4, and the output meets the 2⋅MST bound.

Facts & Assumptions

Given: The four-vertex graph with distances d(A,B)=d(B,C)=d(C,D)=d(D,A)=1 and d(A,C)=d(B,D)=2, the tree T={AB,BC,CD}, and the doubled-tree algorithm.

[F1]

A metric-TSP instance has nonnegative symmetric rational lengths with d(u,u)=0 and the triangle inequality d(u,w)≤d(u,v)+d(v,w), a tour is a cyclic ordering with cost the sum of consecutive lengths including the closing edge, and all ties are resolved by fixed orders. (Metric traveling-salesperson problem)

[F2]

A spanning tree of a graph is a spanning connected acyclic subgraph, its weight is the sum of its edge lengths, and a tree on n≥1 vertices has exactly n−1 edges. (Spanning trees of a graph, Real edge-weighted graphs, total tree weight and minimum spanning trees, A tree on n≥1 vertices has n−1 edges)

[F3]

Doubling the edges of a spanning tree and shortcutting an Euler circuit in first-visit order yields a Hamiltonian tour of cost at most 2w(T), with each shortcut edge bounded by the length of the walk segment it replaces. (Euler-tour shortcutting of a doubled tree does not increase metric cost)

[F4]

A minimum spanning tree T satisfies w(T)≤OPT⁡TSP, and the double-tree algorithm returns a tour of cost at most 2w(T)≤2OPT⁡TSP in polynomial time. (A minimum spanning tree lower-bounds metric-TSP optimum, Double-tree shortcutting is a 2-approximation for metric TSP)

Verification

technique · direct
1.1F1givenalgebra

The six stated distances are nonnegative and symmetric with d(u,u)=0; every distance between distinct vertices is 1 or 2, so for any three vertices with u≠v≠w one has d(u,v)+d(v,w)≥1+1=2≥d(u,w), and inserting v=u or v=w gives the equality d(u,w)=d(u,v)+d(v,w). The triangle inequality therefore holds and the data form a metric-TSP instance on four vertices.

2.1F2step 1.1algebra

The edge set T={AB,BC,CD} has 4 vertices, 3 edges, and forms the path A−B−C−D, hence is connected and acyclic, a spanning tree; its weight is w(T)=1+1+1=3. Every spanning tree of a four-vertex graph has exactly 3 edges by [F2] and every edge length is at least 1, so every spanning tree has weight at least 3; therefore T is a minimum spanning tree and w(T)=3.

2.2F1step 1.1algebra

Every tour is a cyclic ordering of the four vertices and consists of four edges, each of length at least 1, so every tour has cost at least 4; the cyclic ordering A−B−C−D−A has cost 1+1+1+1=4. Hence OPT⁡TSP=4.

3.1F3step 2.1algebra

Doubling the three tree edges produces the multigraph with edges AB,BA,BC,CB,CD,DC; it is connected and the degrees are deg⁡(A)=2, deg⁡(B)=4, deg⁡(C)=4, deg⁡(D)=2, all even. The closed walk A−B−C−D−C−B−A uses each of the six edges exactly once, so it is an Euler circuit of the doubled multigraph, with total cost 1+1+1+1+1+1=6=2w(T).

4.1F3step 2.2step 3.1algebra

The vertices occur for the first time along this walk in the order A,B,C,D, so first-visit shortcutting yields the tour A−B−C−D−A. Its segments are the walks A→B, B→C, C→D of length 1 each and the return segment D→C→B→A of length 3; the shortcut edge DA has length 1≤3, the sum of the segment lengths, so the shortcut tour has cost 1+1+1+1=4≤6=2w(T), and by step 2.2 it equals OPT⁡TSP.

5.1F4step 2.2step 4.1algebra∎

The computed tree satisfies w(T)=3≤4=OPT⁡TSP, in agreement with the minimum-spanning-tree lower bound, and the shortcut tour has cost 4≤6=2w(T)≤2OPT⁡TSP=8, so this instance realizes the double-tree guarantee of [F4] with a strict improvement over the doubled walk.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

22 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