Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-05
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.

Subset sum polynomial-time many-one reduces to partition

Statement

SUBSET SUM polynomial-time many-one reduces to PARTITION.

Facts & Assumptions

Given: A SUBSET SUM instance (a1,…,an;k) and the total A:=a1+⋯+an.

[L1]

A polynomial-time many-one reduction is a total polynomial-time function preserving membership in both directions, by Polynomial-time many-one reductions.

[F1]

SUBSET SUM asks for a subcollection summing to k, and PARTITION asks for a split into two subcollections of equal total sum, by Subset sum and partition decision problems.

Proof

technique · direct
1.1F1givenconstruct

If k>A, map the instance to the one-element list (1) for PARTITION. This is a correct no-instance because no subcollection of a1,…,an can exceed the total A, and the list (1) cannot be partitioned into two equal sums. Thus it remains to treat the case k≤A. Define b:=2A−k and c:=A+k, and output the PARTITION instance with list (a1,…,an,b,c).

2.1step 1.1algebra

The new total sum is A+b+c=A+(2A−k)+(A+k)=4A, so any equal partition must split the numbers into two subcollections each summing to 2A.

3.1step 1.1step 2.1construct

If the SUBSET SUM instance is positive, choose I⊆{1,…,n} with ∑i∈Iai=k. Then ∑i∈Iai+b=k+(2A−k)=2A. The complementary numbers among a1,…,an therefore sum to A−k, and (A−k)+c=(A−k)+(A+k)=2A. So the augmented list is a yes-instance of PARTITION.

3.2step 1.1step 2.1algebra

Conversely, suppose the augmented list has a partition into two subcollections each summing to 2A. The numbers b and c cannot lie on the same side because b+c=3A>2A, and they cannot both be absent from one side because then that side would use only the original ai and so would sum at most A<2A. Hence exactly one of b,c lies on each side. The side containing b must then contain original numbers summing to 2A−b=2A−(2A−k)=k. Those numbers witness a yes-instance of SUBSET SUM.

4.1L1step 1.1step 3.1step 3.2∎

The construction adds only two binary integers computed from A and k, so it is polynomial-time. Steps 3.1 and 3.2 establish the required iff, and [L1] therefore gives a polynomial-time many-one reduction from SUBSET SUM to PARTITION.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

4 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