Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-generatedprecheck pending
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.

Exact dyadic bisection for square-root endpoints

Definition

Input: a nonnegative exact dyadic rational x and integer request n≥1. Output: an exact dyadic lower and upper bound for x; no finite storage format is needed by this procedure.

  1. If x=0, return [0,0].
  2. Otherwise determine the unique integer j with 2j≤x<2j+1 from the exact dyadic representation, put m=⌊j/2⌋ and δ=2m−n.
  3. Set integer indices L=0 and U=2n+1. While U−L>1, put Q=⌊(L+U)/2⌋. If (Qδ)2≤x, replace L by Q; otherwise replace U by Q.
  4. Return the exact dyadic pair [Lδ,Uδ]. A caller that stores these endpoints in a selected finite format must separately round the lower endpoint down and the upper endpoint up, propagating the resulting subnormal or overflow status.

All comparisons and multiplications in the loop are exact integer/dyadic operations.

Depends on

Used by

Dependency tree · two levels

3 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