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.
Even and perfect-power preprocessing returns a proper factor
Statement
For a promised composite , the even branch and the finite integer-root precheck in Shor factoring with verified output and bounded outer retries return a proper factor whenever they return. If is even, the even branch returns . If for integers and and is odd, the root-search branch is reached, detects an exact-power representation with and , and returns its base as a proper factor. Writing , its schoolbook bit cost is .
Facts & Assumptions
Given: A composite integer , , and the even/perfect-power preprocessing instructions in Shor factoring with verified output and bounded outer retries.
Divisibility means exactly when for an integer (Divisibility in : when for some integer ); integer powers are natural monoid powers with and (Powers : natural exponents in a monoid and integer exponents in a group, with ).
Integer order is translation invariant, products of positive integers are positive, and the natural embedding preserves order (The integers form a totally ordered ring, The integers form a commutative ring, The naturals embed in the integers).
The binary search and exponent range are those in Shor factoring with verified output and bounded outer retries; its capped repeated-squaring powers use integers at most . Schoolbook multiplication of two -bit integers costs bit operations (Shor factoring cost-accounting branches).
Proof
If is even, . Since , , so the returned integer is a proper factor.
Suppose the precheck finds with and . Then , so by [F1]. The power , so ; hence and its explicit divisibility verification returns a proper factor.
Conversely, suppose with and . If is even, step 1.1 shows that the earlier even branch returns , so the root search is not reached. Now suppose is odd. Then the root-search branch is reached, and , so and the loop includes this exponent. If the algorithm has not already returned on an earlier exact-power match in this root search, then for this fixed , if , because the factor and every summand are positive by [F2]. Hence is strictly increasing, so binary search on finds ; capping values above at preserves each comparison with . If the algorithm already returned on an earlier root-search match, that match was itself an exact-power representation of , and step 1.2 shows that its returned base is a proper factor. Thus the odd perfect-power input returns a proper factor through the root search, while the even case is handled by step 1.1.
There are at most exponents and at most binary-search comparisons per exponent because . Each comparison uses at most capped multiplications of -bit integers, hence bit operations by [F3]. The total is for , proving the claimed bound.
Depends on
- Shor factoring with verified output and bounded outer retries
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
- The natural numbers $\mathbb{N}$ (von Neumann)
- Order on the natural numbers
- The naturals embed in the integers
- Powers $g^{n}$: natural exponents in a monoid and integer exponents in a group, with $g^{0} = e$
- The integers form a commutative ring
- The integers form a totally ordered ring
- Shor factoring cost-accounting branches
Used by
Dependency tree · two levels
50 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
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes (standard reference, not scraped)