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

Computed Clenshaw–Curtis from an even-extension DFT

Definition

Input real numbers a<b, a natural n≥0, sampled values y0,…,yn, and the phase/FFT controls for Arbitrary-length mixed-radix and Bluestein DFT: a phase tolerance 0<τ≤1/4 (required to be exact rational when n≥1), integer dyadic exponent limits emin⁡≤emax⁡, and integers p0≥2, pmax⁡≥p0, J≥1, and dmax⁡≥0. Set m=(a+b)/2 and d=(b−a)/2. For an underlying f∈C[a,b], admissible samples satisfy y0=f(m) when n=0 and yj=f(m+dcos⁡(jπ/n)) for 0≤j≤n when n≥1, using the canonical real images of The canonical natural ι(n)=n⋅1F of a field. When n≥1, also require every yj to lie in the representable real set F of the same floating-point model instance used by the called DFT; this ensures its complex input coordinates satisfy that procedure's input condition. No representability condition is needed for n=0, when no DFT call is made. The output is an approximate real quadrature value or the first status returned by the called DFT procedure.

  1. If n=0, return (b−a)y0, the midpoint convention of Clenshaw–Curtis quadrature with the midpoint zero-degree case.
  2. If n≥1, form z∈C2n by zj:=yj+0i for 0≤j≤n and z2n−j:=yj+0i for 1≤j<n. This is the even extension (y0,…,yn,yn−1,…,y1), with real samples embedded as complex numbers with zero imaginary part. Call Arbitrary-length mixed-radix and Bluestein DFT on z with length 2n and the same controls (τ,emin⁡,emax⁡,p0,pmax⁡,J,dmax⁡). If it returns a status instead of a vector, return that status.
  3. Otherwise, take the real parts Xk of output entries 0≤k≤n, form the DCT-I coefficients a0=X0/(2n), an=Xn/(2n), and ak=Xk/n for 1≤k<n as in Type-I cosine transform for Chebyshev–Lobatto data, and return d∑k=0nakμk with the exact moments μk in Clenshaw–Curtis quadrature with the midpoint zero-degree case.

The postprocessing is exact real arithmetic applied to the approximate DFT output. The procedure makes no end-to-end floating-point error or stability claim; it only propagates the DFT routine's declared failure statuses.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

24 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