Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-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.

Bit cost of phase-sample rational reconstruction

Statement

Let N≥1, m≥0, Q=2m>4N2, and y∈{0,…,Q−1} be integers, and set L=⌈log⁡2(Q+1)⌉. Under the multitape bit-transition model of Classical bit-operation cost, Rational reconstruction from a phase sample uses O(L) Euclidean divisions and O(L3) deterministic bit transitions. No real-number arithmetic is used.

Facts & Assumptions

Given: Integers N≥1, m≥0, Q=2m>4N2, 0≤y<Q, the reconstruction routine, and the bit-cost convention.

[F1]

Rational continued fractions are computed by the Euclidean quotient algorithm; integer division has quotient and remainder u=av+r with 0≤r<v, and convergent denominators obey qj=ajqj−1+qj−2 (Rational reconstruction from a phase sample, Finite and infinite regular continued fractions, Convergents of a regular continued fraction, Division with remainder in Z: for a∈Z and b>0 there are unique q,r∈Z with a=qb+r and 0≤r<b).

[F2]

Bit cost counts transitions of a fixed finite-alphabet multitape machine and charges comparison, arithmetic, reading, and output work (Classical bit-operation cost).

Proof

1.1F1givenalgebra

Let qj be the convergent denominators, with q0=1 and q1≥1. The recurrence in [F1] gives qj+2≥qj+1+qj≥2qj whenever both indices exist. Since the terminal denominator is at most Q, every two quotient steps at least double a positive denominator, so the number of Euclidean divisions is at most 2L+O(1)=O(L).

2.1F1F2step 1.1algebra

The reduced denominator of y/Q is at most Q, so the recurrence in [F1] makes each convergent denominator at most its terminal denominator. Since 0≤y/Q<1, the normalized expansion starts with a0=0; its initial convergents satisfy 0≤p0≤q0 and 0≤p1≤q1, and the recurrence with positive later digits preserves 0≤pj≤qj. Thus all convergent numerators and denominators have O(L) bits. By the division algorithm in [F1], binary long division of two such integers can be performed by at most O(L) compare/subtract scans of at most O(L) bits, hence O(L2) multitape transitions under [F2].

3.1F1F2step 1.1step 2.1algebra

Updating a convergent numerator and denominator by [F1] uses a constant number of products and sums on O(L)-bit integers, hence O(L2) transitions per update. Each convergent candidate also requires a constant number of products yqj and pjQ, an absolute difference, a doubling, and a comparison with qj. Schoolbook multiplication and these scans each cost O(L2) transitions. There are O(L) candidates by step 1.1, so total comparison work is O(L3); writing the selected numerator and denominator costs only O(L).

4.1F1F2step 3.1∎

The routine normalizes the rational by exact Euclidean divisions and applies only the integer test from [F1]; all work is covered by the above bounds. Hence its deterministic multitape bit cost is O(L3) and it performs no floating-point comparison.

Depends on

Used by

Cited to discharge well-definedness by Rational reconstruction from a phase sample.

Dependency tree · two levels

29 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