← Research
Research · Singular Quadrature & C17 Kernels

Duffy-Paneled Elliptic Toroidal Quadrature and Runge-Free Product Interpolation in C17

Proving numerically—rather than assuming algebraically—that local three-dimensional Interacting Quantum Atoms (IQA) and its two-dimensional interatomic surface flux reproduce six-dimensional Coulomb and cumulant pair integrals to microhartree precision on H₂⁺ and HeH⁺ required an independent, high-precision six-dimensional axisymmetric reference kernel in portable C17. Here we document the azimuthal toroidal Legendre recurrences (_bo_eto_iqa_fast.c) and subtracted Gauss–Legendre ring kernels (rfwb_iqa.c), together with the mode-independent four-triangle τ3 Duffy cell operator and Runge-free Jacobian–density product upsampling in _bo_eto_iqa_fast.c.

Under audit (4 December 2026).An internal audit by an AI agent reports the problems below on this page. They are not yet corrected or independently confirmed. Please do not rely on these statements meanwhile.

1. Azimuthal Ring Green's Kernels Gm(s1,z1;s2,z2) and Toroidal Legendre Recurrences

Integrating cos(m(ϕ1−ϕ2))/|𝐫1−𝐫2| over both azimuthal angles reduces six-dimensional Coulomb and m≥0 cumulant integrals on axisymmetric domains to four-dimensional meridian integrals weighted by toroidal ring kernels. Arithmetic–geometric mean iteration evaluates K(k2) and E(k2) in fewer than six iterations to 16 digits with k2=4s1s2/[(s1+s2)2+(z1−z2)2]. In _bo_eto_iqa_fast.c, higher azimuthal channels m>0 are evaluated in batch via exact half-integer toroidal Legendre functions Qm−1/2(χ) using forward recurrence near coalescence (χ<1.5) and Miller's backward recurrence away from the ring (χ≥1.5), cross-checked against rfwb_iqa.c's Lipschitz-regularized 24-node Gauss–Legendre subtracted kernel (cos(2mt)−1)/1−k2cos2t.

2. Mode-Independent Four-Triangle τ3 Duffy Diagonal Cell Operator Dm

As two meridian rings coalesce ((s2,z2)→(s1,z1), k2→1), Gm diverges logarithmically as −ln[(s1−s2)2+(z1−z2)2]. On each diagonal reference cell c1=c2 around node (u0,v0)∈[−1,1]2, splitting the square into four triangles of altitude L and base 2 and introducing the cubic simplicial Duffy map (u2−u0,v2−v0)=(±Lτ3,(η−v0)τ3) multiplies the integrand by Jacobian 3Lτ5 (for (τ,η)∈[0,1]×[−1,1]), turning τ5lnτ into a C4-smooth function at τ=0:

Mode-independent intra-cell Duffy operator Dm[p1, p2] contracted across all M modes Idiag(c)[fν] = ∑p1=1nper ∑p2=1nper fν(p1) Dmν(c)[p1,p2] fν(p2)

Crucially, Dm(c) depends only on cell geometry and m∈{0,…,6}, never on the M=71 Full-CI modes fν: assembling Dm(c) once per OpenMP thread and contracting all M modes by dense matrix–vector products cuts diagonal singular quadrature cost by over 10×.

3. Runge-Free Jacobian–Density Product Upsampling across Compactified Near-Cells

Adjacent cells sharing an edge or corner still experience near-singular lnd gradients and are upsampled onto composite 3×12 Gauss–Legendre subgrids. On compactified outer radial cells (r=LW/(1−W)), however, the coordinate Jacobian J(u,v)∝r2(1−W)−2 grows by six orders of magnitude across a single angular panel near θ→π/2 while the exponential density fν(u,v)∼e−2ζr drops to 10−24. Interpolating J and fν separately and multiplying them afterwards triggers severe Runge overshoot (1.20×10−2Ha on H2+ at compressed R=1.00bohr). Interpolating the smooth, exponentially decaying product hν(u,v)=J(u,v)fν(u,v) directly (for panel node counts ku,kv≤24):

Charge-conserving Jacobian–mode product upsampling (exact polynomial moment conservation) fν,upw(qu,qv) = wquup wqvup ∑a,b La(uqu) Lb(vqv) [J(ua,vb)fν(ua,vb)] ⟹ ∑qu,qv fν,upw = ∑a,b wawbJfν

preserves cell charge to machine precision (10−16) and reduces compressed R=1.00bohr H2+ Hartree error by 4,700× down to 2.56×10−6Ha.

4. Verified 10–11-Digit H2+ and Microhartree Full-CI HeH+ Green's-Theorem Closure

With this independent C17 toroidal benchmark in place, both Born–Oppenheimer Exponential-Type Orbital foundation scans (H₂⁺ across 123 geometries and HeH⁺ across 86 geometries at ΔR=0.05bohr) verify the punctured-basin Green's-theorem bridge |VIQA(ΩA)−(Vpot(ΩA)−ΔVsurf(ΩA))|≤7.65×10−10Ha on H2+, and 1.90×10−6Ha at Re (≤6.99×10−7Ha on bounded ΩH, ≤2.74×10−5Ha across R∈[1.20,3.00], and ≤3.88×10−5Ha across all 86 geometries) on Full-CI HeH+—retiring six-dimensional pair-basin integration permanently for all subsequent polyatomic rungs of The Ladder.

References

Provenance tags indicate whether the primary text ([read]), publisher abstract ([abstract]), or DOI bibliographic record ([record]) was checked directly during preparation.

Comments, questions or contributions? Please open an issue or a pull request on GitHub.