Alphabeta Math
Pipeline-generated
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.

11 results · all verified · 8 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 3 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Counting Complexity and Sharp-P

1 · Prerequisites

2 · Summary

This draft page develops the assigned conventions and keeps every resource, type, and quantifier explicit.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

Sharp-P and Gap-P functions

Definition

A #P function maps each input to the number of accepting paths of a binary-branching polynomial-time nondeterministic machine. A GapP function is accepting paths minus rejecting paths of such a machine. Function values are represented in binary.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

NumberSAT

Definition

An input to NumberSAT is well formed when it encodes a Boolean formula φ together with an ordered list (x1,,xn) of distinct variables and every variable occurring in φ appears in that list. Its value is the exact number of assignments a:{x1,,xn}{0,1} that satisfy φ. Declared variables count even when unused, so the count ranges over all 2n assignments to the list. Every input not having this form is malformed and has value zero.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

NumberSAT belongs to Sharp-P

Statement

NumberSAT belongs to #P.

Facts & Assumptions

Given: an encoded formula with its ordered declared-variable list.

[L1]

#P counts accepting paths of a binary nondeterministic polynomial-time machine. by Sharp-P and Gap-P functions.

Proof

technique · direct
1.1

First check the formula syntax and declared-variable list deterministically; on malformed input reject without making a nondeterministic choice. On a valid input with n declared variables, make exactly n binary choices, interpret them in the declared order as an assignment, evaluate the formula, and accept exactly when it is true.

L1givenconstruct
2.1

The 2n computation paths are in bijection with the 2n declared assignments, and a path accepts exactly when its assignment satisfies the formula. At n=0 there is one path, corresponding to the empty assignment; malformed input has no accepting path. Thus the accepting-path count is exactly NumberSAT(φ).

L1step 1.1
3.1

The machine runs in polynomial time, so its counting function belongs to #P by [L1].

L1step 2.1
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

Parsimonious reductions between counting functions

Definition

A parsimonious reduction f to g is a polynomial-time map r with f(x)=g(r(x)) for every input x. This exact count equality is stronger than a decision many-one reduction, which preserves only nonzeroness.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-07Open item page →

The Cook--Levin construction can be made parsimonious

Statement

For every fixed polynomial-time nondeterministic machine N, one can compute in polynomial time a formula φN,x together with an ordered list VN,x of all its declared variables, whose satisfying assignments are in bijection with the accepting computation paths of N on x. Consequently x(φN,x,VN,x) is a parsimonious reduction from the accepting-path count of N to NumberSAT.

Facts & Assumptions

Given: a fixed nondeterministic polynomial-time machine N.

[L1]

A bounded tableau records one computation branch, including the unique state-tagged head position in each row, by A bounded computation tableau for a nondeterministic Turing-machine run.

[L2]

The standard local tableau constraints are satisfiable exactly when an accepting bounded tableau exists, by The Cook-Levin formula is satisfiable if and only if an accepting bounded tableau exists.

[L3]

The Cook--Levin formula is computable in polynomial time for fixed N, by The Cook-Levin reduction map is computable in polynomial time.

[L5]

NumberSAT counts assignments to the complete ordered declared-variable list, including unused variables, by NumberSAT.

[L4]

A parsimonious reduction preserves the exact numerical count, by Parsimonious reductions between counting functions.

Proof

technique · direct
1.1

Replace N by a fixed one-tape simulator N. Between two transitions of N, the simulator's sweeps are deterministic; at an original nondeterministic transition it makes exactly the same tagged choice as N. Each such choice first enters a distinct intermediate state labelled by its transition tag, before deterministically executing that transition; these states are part of the recorded configuration. Even choices with the same eventual successor therefore give different tableau rows. Erasing the deterministic simulation steps and reading these tags is a bijection between accepting paths. The standard multitape-to-one-tape simulation has polynomial slowdown. Choose a polynomial T(n)n+1 bounding both its running time and every tape position it can visit, and pad every halted branch to time T(n). This supplies all hypotheses of [L1]--[L3].

givenconstruct
2.1

Use one-hot tableau variables for the symbol (including the tagged state) in every time-cell position. The initial-row, exactly-one-symbol, local-transition, and accepting constraints use only those variables. Take their conjunction as φN,x without introducing auxiliary variables. Let VN,x list every cell variable Xt,c,a once, in lexicographic order of time, cell, and a fixed order on the simulator alphabet. Output the encoded pair (φN,x,VN,x), which is well formed for NumberSAT.

L1L5step 1.1construct
3.1

An accepting path fixes every cell of its padded tableau and therefore one truth value for every tableau variable. Every declared variable is such a cell variable, so none contributes a free choice. Conversely, any satisfying assignment gives exactly one legal accepting tableau by [L2], and the retained choice tags recover exactly one accepting path of N, hence exactly one accepting path of N by step 1.1. These maps are inverse, so #accN(x)=NumberSAT(φN,x,VN,x).

L1L2L5step 1.1step 2.1
4.1

The tableau has polynomial dimensions, its local constraints have polynomial total size, and [L3] supplies the polynomial-time construction. Enumerating the polynomially many declared variable names in the specified order also takes polynomial time. Together with the exact equality in step 3.1, [L4] proves parsimony.

L3L4step 3.1
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

NumberSAT is Sharp-P-complete under parsimonious reductions

Statement

NumberSAT is #P-complete under parsimonious reductions.

Facts & Assumptions

Given: an arbitrary function f#P.

[L1]

Such an f is the accepting-path count of a fixed polynomial-time nondeterministic machine, by Sharp-P and Gap-P functions.

[L2]

NumberSAT#P, by NumberSAT belongs to Sharp-P.

[L3]

The Cook--Levin construction can preserve accepting paths in a bijection with satisfying assignments, by The Cook--Levin construction can be made parsimonious.

[L4]

Parsimony means exact count equality under a polynomial-time map, by Parsimonious reductions between counting functions.

Proof

technique · direct
1.1

Choose a machine N with f(x)=#accN(x) as supplied by [L1]. Apply [L3] to compute the formula r(x)=φN,x in polynomial time.

L1L3givenconstruct
2.1

For every input x, the bijection in [L3] gives the exact chain f(x)=#accN(x)=#sat(φN,x)=NumberSAT(r(x)). Thus r is a parsimonious reduction by [L4].

L3L4step 1.1
3.1

Since f was arbitrary, step 2.1 proves #P-hardness, and [L2] proves membership.

L2step 2.1
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

The nonnegative function class FP

Definition

On this page FP is the class of total nonnegative integer-valued functions whose binary outputs are computable in deterministic polynomial time.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

FP is contained in Sharp-P

Statement

FP#P for the page's nonnegative integer-valued function convention.

Facts & Assumptions

Given: fFP.

[L1]

An FP function is total, nonnegative, binary-valued, and computable in polynomial time, by The nonnegative function class FP.

[L2]

A #P function counts accepting paths of a binary-branching polynomial-time nondeterministic machine, by Sharp-P and Gap-P functions.

Proof

technique · direct
1.1

On input x, compute m=f(x) using [L1] and let k=max(1,bin(m)). Make exactly k binary nondeterministic choices, producing one path for every integer u[0,2k). Accept iff u<m.

L1givenconstruct
2.1

Exactly the m values u=0,,m1 accept; all power-of-two padding values reject. This remains correct at m=0, when no path accepts. The output length and hence k are polynomially bounded by the running time in [L1].

step 1.1algebra
3.1

The constructed machine runs in polynomial time and has accepting-path count f(x), so f#P by [L2].

L2step 2.1
PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

Sharp-P is closed under sum and product

Statement

If f,g#P, then f+g and fg belong to #P.

Facts & Assumptions

Given: polynomial-time nondeterministic machines Mf,Mg whose accepting-path counts are f,g.

[L1]

#P functions are accepting-path counts. by Sharp-P and Gap-P functions.

Proof

technique · direct
1.1

For the sum, make one initial binary choice. On its 0 branch simulate Mf(x) and on its 1 branch simulate Mg(x). The accepting paths are a disjoint tagged union, so their number is f(x)+g(x).

L1givenconstruct
1.2

For the product, simulate Mf(x); after each accepting path, independently simulate Mg(x), while every rejecting Mf path rejects. Each of the f(x) accepting first-stage paths has exactly g(x) accepting continuations, so the total is f(x)g(x). This also covers either count being zero.

L1givenconstructalgebra
2.1

Both composite machines run in polynomial time, so [L1] puts their two counting functions in #P.

L1step 1.1step 1.2
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

MajoritySAT

Definition

MajoritySAT asks whether NumberSAT(phi)>2^(n-1), where n is the declared-variable count. At n=0 this is equivalent to the empty assignment satisfying phi.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

PP is strict sign testing for Gap-P

Statement

A language L lies in PP if and only if there is a gGapP such that xL    g(x)>0.

Facts & Assumptions

Given: the PP and GapP conventions.

[L1]

A GapP value is the difference between accepting and rejecting path counts, by Sharp-P and Gap-P functions.

[L2]

PP uses a strict acceptance-probability threshold of 1/2, by The classes RP, coRP, ZPP, BPP, and PP.

Proof

technique · direct
1.1

Let a PP machine use exactly p(x) random bits, padding unused bits if necessary, and let a(x) and r(x) be its accepting and rejecting choice- string counts. Then g=ar is in GapP by [L1], and g(x)>0 exactly when a(x)>2p(x)1, the strict PP condition in [L2].

L1L2given
1.2

Conversely write g=fh with f,h#P. Normalize their machines to guess the same p(x)-bit string, rejecting invalid encodings, so each has exactly 2p total paths. Construct a machine with one leading choice: on branch 0 run the machine for f with its labels unchanged; on branch 1 run the machine for h with accept and reject exchanged. It has f(x)+(2ph(x)) accepting paths out of 2p+1, a strict majority exactly when f(x)h(x)>0.

L1L2givenconstruct
2.1

Steps 1.1 and 1.2 prove the two implications, including the strict zero boundary.

step 1.1step 1.2
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

MajoritySAT is PP-complete

Statement

MajoritySAT is PP-complete under polynomial-time many-one reductions.

Facts & Assumptions

Given: the declared-variable convention for formulas.

[L1]

MajoritySAT uses the strict threshold NumberSAT(φ)>2n1, including its n=0 interpretation, by MajoritySAT.

[L2]

PP is strict sign testing for GapP, by PP is strict sign testing for Gap-P.

[L3]

Cook--Levin can preserve accepting paths exactly, by The Cook--Levin construction can be made parsimonious.

Proof

technique · direct
1.1

On a well-formed formula with n declared variables, a probabilistic machine chooses the n assignment bits uniformly and accepts exactly on a satisfying assignment. Its acceptance probability is NumberSAT(φ)/2n, so [L1] gives membership in PP; for n=0 the unique random string is the empty assignment.

L1given
1.2

For hardness, normalize a PP machine to 2p paths with p1, a of them accepting. By [L3] obtain a formula φ with exactly a satisfying assignments. Add uniquely forced variables until its declared count q obeys qp, preserving its count. For u=(uq1,,u0) let T(u)=uq1up1; exactly 2q2p1 assignments satisfy T. With a fresh selector z, put θ=(¬zφ)(zT). Then #θ=a+2q2p1>2q    a>2p1. The formula and its declared list are produced in polynomial time.

L2L3givenconstructalgebra
2.1

Step 1.2 is a membership-preserving reduction from every PP language to MajoritySAT, and step 1.1 gives membership; hence MajoritySAT is PP-complete.

L1step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

PP is closed under complement

Statement

If LPP, then its complement belongs to PP.

Facts & Assumptions

Given: LPP.

[L1]

GapP values are integer differences of accepting and rejecting path counts, by Sharp-P and Gap-P functions.

[L2]

A language is in PP exactly when membership is strict positivity of a GapP function, by PP is strict sign testing for Gap-P.

Proof

technique · direct
1.1

By [L2], choose gGapP with L={x:g(x)>0}. Since g is integer-valued, xL    g(x)0    1g(x)>0.

L2givenalgebra
2.1

If g is witnessed by a machine, exchanging its accepting and rejecting labels witnesses g in GapP. A deterministic accepting machine witnesses the constant-one gap, and a leading tagged branch adds two gap functions. Hence 1gGapP by [L1].

L1step 1.1construct
3.1

Applying [L2] to 1g shows that LPP. The added 1 is exactly what turns the non-strict condition g0 into strict positivity, including g=0.

L2step 1.1step 2.1
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

Polynomial time with a Sharp-P oracle

Definition

P#P is deterministic polynomial time with oracle access to the fixed #P-complete function NumberSAT of NumberSAT is Sharp-P-complete under parsimonious reductions. The machine may make polynomially many adaptive queries of polynomial length, each answered by the binary expansion of the integer value rather than by a membership bit. Equivalently, one may use any fixed #P function complete under polynomial-time parsimonious reductions; completeness makes the resulting class independent of that choice.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-07Open item page →

NP is contained in P with a Sharp-P oracle

Statement

NPP#P.

Facts & Assumptions

Given: LNP with polynomial-time verifier R(x,y) and a polynomial witness-length bound p.

[L1]

A #P oracle returns the exact binary integer value of its counting function, by Polynomial time with a Sharp-P oracle.

[L2]

#P functions count accepting paths, by Sharp-P and Gap-P functions.

Proof

technique · direct
1.1

Define h(x)={y{0,1}p(x):R(x,y)=1}. A nondeterministic machine guesses the p(x) bits and accepts exactly when R does, so h#P by [L2].

L2givenconstruct
2.1

A deterministic polynomial-time oracle machine makes the single query h(x) and accepts iff the returned binary integer is nonzero. The answer has at most p(x)+1 bits, and h(x)>0 exactly when an NP witness exists.

L1step 1.1
3.1

This oracle machine decides L, proving the containment.

step 2.1

5 · Examples, counterexamples and false statements

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passaudited 2026-09-07Open item page →

Sharp-P is a language class

Statement

#P is a class of languages, so every member has only a Boolean yes/no value on each input.

Facts & Assumptions

Given: formulas φ(x,y)=xy and ψ(x,y)=(xy)(¬x¬y), each with declared list (x,y).

[L1]

#P is defined as a class of numerical functions. by Sharp-P and Gap-P functions.

Refutation

technique · direct
1.1

By direct enumeration, NumberSAT(φ)=3 and NumberSAT(ψ)=2. NumberSAT is a #P function, while neither 2 nor 3 is a Boolean membership value.

L1givenalgebra
2.1

The associated decision language SAT retains only the predicate NumberSAT(θ)>0; it answers yes on both displayed formulas and forgets their distinct counts.

step 1.1
3.1

Thus, under [L1], #P is a numerical function class rather than a language class.

L1step 1.1step 2.1
False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-07Open item page →

Every decision many-one reduction is parsimonious

Statement

Every polynomial-time many-one reduction between decision problems preserves the exact number of witnesses.

Facts & Assumptions

Given: a formula θ with declared variables x1,,xn and a fresh variable y.

[L1]

A decision many-one reduction need preserve only membership, by Polynomial-time many-one reductions.

[L2]

A parsimonious reduction preserves exact counts, by Parsimonious reductions between counting functions.

[L3]

NumberSAT counts assignments to every declared variable, including an unused one, by NumberSAT.

Refutation

technique · direct
1.1

Define r(θ)=θ(y¬y) and declare y in addition to the original variables. The map is polynomial time, and θ is satisfiable iff r(θ) is satisfiable, so it is a SAT-to-SAT many-one reduction by [L1].

L1givenconstruct
2.1

Each satisfying assignment of θ has exactly two extensions, one for each value of y. Hence [L3] gives NumberSAT(r(θ))=2NumberSAT(θ). For the concrete input θ=x1, the counts are 1 and 2, so the map is not parsimonious under [L2].

L2L3step 1.1algebra
3.1

This one polynomial-time decision reduction refutes the universal claim.

step 1.1step 2.1

Sources