Alphabeta Math
Pipeline-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.

✓ 6 results · all verified · 2 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Fast multipole expansions and error

1 · Prerequisites

None. This page is self-contained.

2 · Summary

For planar charges, Finite planar quadtree and separated interaction lists fixes half-open dyadic cells, a fixed logarithm branch per far pair, direct near pairs, and the separated-cell ratio ρ=(aC+aD)/RCD<1. The finite traversal terminates and partitions every ordered off-diagonal source-target pair by Planar FMM lists partition all ordered off-diagonal particle pairs. The fixed-order procedure Fixed-order planar Laplace fast multipole procedure carries P2M and M2M moments upward, converts far multipoles to local polynomials by M2L, shifts local polynomials by L2L, evaluates by L2P, and adds near pairs exactly. Planar Laplace multipole and local translation identities derives each coefficient formula. Global planar FMM potential and derivative error sums the local potential and differentiated-series tails over the finite far list; force means the branch-independent complex derivative of the stated logarithmic potential.

The work claim keeps tree size, list construction visits, far-list size, and direct-near pair count explicit. Under the recorded linear-size level restriction and bounded-list hypotheses, Planar FMM operation count under explicit linear-size tree and list bounds bounds the arithmetic, prescribed logarithm evaluations, and list-processing work by O(N(p+1)2) after the tree and point-to-cell arrays are supplied. Deep clustered data must use its actual depth and counts.

For three-dimensional Laplace, Degree-indexed spherical harmonic spaces in three dimensions fixes the sphere inner product and regular solid harmonic convention. Three-dimensional Laplace spherical-harmonic addition theorem proves the normalized addition identity and Legendre bound. The separate single-cluster procedure Single-cluster three-dimensional Laplace multipole evaluator and Three-dimensional Laplace cluster expansion error and work give its spherical tail and basis-evaluation cost; they do not transfer the planar tree-translation count to 3D.

The schematic shows one admissible planar far pair. Each square has side 1, the source and target centers are c=0 and d=4, and the dashed circles are their circumscribed disks of radius a=b=2/2. Their center distance R=4 exceeds a+b=2, so the local logarithm series converges throughout the source-target difference disk. The arrow labels the M2L coefficient conversion. The diagram records geometry only; every identity and error bound is proved algebraically in the items above.

\begin{tikzpicture}[scale=0.8, every node/.style={font=\small}]
  \draw[fill=blue!10,draw=blue] (-0.5,-0.5) rectangle (0.5,0.5);
  \draw[fill=red!10,draw=red] (3.5,-0.5) rectangle (4.5,0.5);
  \draw[dashed,blue] (0,0) circle (0.70710678);
  \draw[dashed,red] (4,0) circle (0.70710678);
  \fill[blue] (0,0) circle (1.6pt);
  \fill[red] (4,0) circle (1.6pt);
  \draw[<->] (0,-1.05) -- node[below] {$R=4$} (4,-1.05);
  \draw[->,thick] (0.85,0.35) -- node[above] {M2L} (3.15,0.35);
  \node[blue] at (0,0.82) {$C$, radius $a$};
  \node[red] at (4,0.82) {$D$, radius $b$};
\end{tikzpicture}

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Finite planar quadtree and separated interaction lists

Definition

Let N≥0, I={1,…,N}, source positions zj∈C and charges qj∈C for j∈I, and target positions equal to the same labelled positions. A root square is a closed square of side s0>0 containing every source position. Its cells are the dyadic subsquares obtained by repeatedly bisecting each side. At each split use half-open child squares, with the outer top and right edges included in the last child, so every point belongs to exactly one child. A finite quadtree is a finite rooted tree of such cells in which each internal cell has its four geometric children and each leaf contains at most s labels for a fixed integer s≥1. Empty children are retained as geometric cells but are skipped in source and target lists. For a cell C, write cC for its center, sC for its side length, IC={j:zj∈C}, and aC=sC/2 for the radius of its circumscribed disk.

A cell pair (C,D) is source-separated from target-separated when RCD:=∣cD−cC∣>aC+aD; C is the source cell and D the target cell. For every such pair fix an analytic logarithm LCD on the open disk {w:∣w−(cD−cC)∣<RCD}. This disk excludes zero and contains all differences zi−zj with i∈ID, j∈IC. For each direct near particle pair (j,i) fix one value Lji of the logarithm of zi−zj, when this difference is nonzero. Once the recursive rule below terminates, for a collision-free configuration define the exact target potential and its complex derivative using the resulting lists as follows: Here F and N denote the far and direct near lists produced by that rule. ui:=∑(j,i)∈NqjLji+∑(C,D)∈Fi∈ID ∑j∈ICqjLCD(zi−zj),gi:=∑j≠iqjzi−zj. Thus each ordered source-target pair contributes its source charge times the fixed direct-near branch value or the fixed far-cell branch value prescribed by its list entry. The complex derivative is independent of the chosen logarithm values.

The recursive interaction decomposition of an ordered pair of nonempty cells (C,D) is defined as follows. If C=D is a leaf, record as direct near pairs all (j,i)∈IC×ID with j≠i. If C=D is internal, replace (C,D) by all ordered pairs (E,F) of its nonempty children. If C≠D and RCD>aC+aD, record the far cell pair (C,D). If both cells are leaves and the pair is not separated, record all direct near particle pairs (j,i)∈IC×ID with j≠i. In every other case, if exactly one cell is nonleaf, split that cell; if both are nonleaf, split the one of larger side length, breaking a tie by splitting the source cell. Replace the pair by the child pairs having nonempty source and target sets. For N≥1, start at the root pair; for N=0, make no recursive calls and set both lists to empty. The resulting lists are the far interaction list F and the direct near-pair list N. Their termination and exact pair-partition property are mathematical assertions, proved separately.

For a far pair (C,D) put ρCD=(aC+aD)/RCD<1 and QC=∑j∈IC∣qj∣. Two leaves are adjacent when their closed squares meet. A tree is 2:1 level-restricted when any adjacent leaves have depths differing by at most one. It is linear-size level-restricted for this decomposition when it is 2:1 level-restricted and there are fixed constants CT,CV such that its number T of nonempty cells and the number V of recursive cell-pair inspections satisfy T≤CTmax⁡(1,N) and V≤CVmax⁡(1,N). A list is bounded when there are fixed constants CF,CN with ∣F∣≤CFT and ∣N∣≤CNmax⁡(1,N). The work theorem uses these explicit counts; 2:1 balance alone is not asserted to supply them.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Degree-indexed spherical harmonic spaces in three dimensions

Definition

Let S2={x∈R3:∣x∣=1} with its usual surface-area measure dS, normalized so ∫S2dS=4π. For an integer ℓ≥0, let Hℓ be the complex vector space of restrictions to S2 of homogeneous degree-ℓ polynomials P(x1,x2,x3) satisfying ΔP=0. Give Hℓ the inner product ⟨f,g⟩=∫S2fg‾ dS, linear in the first argument. An orthonormal basis is not fixed by this definition; the addition-theorem item proves that dim⁡Hℓ=2ℓ+1 and that such a finite basis exists.

If Yℓm∈Hℓ is later chosen from an orthonormal basis and v≠0, its associated homogeneous harmonic polynomial is Hℓm(v)=∣v∣ℓYℓm(v/∣v∣). At v=0 use the polynomial value: H00(0)=Y00 and Hℓm(0)=0 for ℓ>0. This is the regular-solid-harmonic convention used in the 3D evaluator.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Fixed-order planar Laplace fast multipole procedure

Definition

Use the data, quadtree and interaction decomposition of Finite planar quadtree and separated interaction lists. Fix an expansion order p≥1. If two different labels have the same position, return status collision before evaluating any singular interaction: the requested potential is undefined. Otherwise take as input a finite quadtree from the definition, together with its point-to-cell membership arrays and leaf threshold s. For N=0 return empty outputs. For N≥1, construct F and N by the recursive decomposition in the definition. The tree and point-to-cell membership are preprocessing inputs; their construction is not part of the arithmetic passes below.

Using the supplied membership data, make a root-first list of nonempty cells: at each nonempty internal cell inspect its four children and recurse only into children E with IE≠∅; never descend into an empty subtree. Use the reverse list order for the bottom-up pass and the root-first order for the top-down pass. Use exact complex arithmetic throughout. For each nonempty leaf C form the particle-to-multipole (P2M) moments Mn(C)=∑j∈ICqj(zj−cC)n,0≤n≤p. For the upward multipole-to-multipole (M2M) pass, process nonempty internal cells bottom-up. For each such parent C and each 0≤n≤p, form its moments from its nonempty children by Mn(C)=∑E child of CIE≠∅∑r=0n(nr)(cE−cC)n−rMr(E). An empty child has zero moments and is skipped. Thus the upward pass visits only parent-child edges whose two cells are nonempty.

Initialize the local coefficient vector of every nonempty cell to zero before processing any far pair. For each far pair (C,D) set δ=cD−cC, R=∣δ∣, choose the fixed logarithm LCD, and add to the target cell D's local coefficients the multipole-to-local (M2L) coefficients L0(D)+=M0(C)LCD(δ)−∑n=1pMn(C)nδn, Lk(D)+=(−1)k+1(M0(C)kδk+∑n=1p(n+k−1k)Mn(C)nδn+k),1≤k≤p. After all M2L additions, perform a top-down downward local-to-local (L2L) pass over parent-child edges whose two cells are nonempty. For each parent D and each nonempty child E, add Lj(E)+=∑k=jp(kj)Lk(D)(cE−cD)k−j,0≤j≤p. For a target i in leaf D, return the far potential ∑k=0pLk(D)(zi−cD)k and far derivative ∑k=1pkLk(D)(zi−cD)k−1. Add the exact direct near contributions qjLji and qj/(zi−zj), respectively, for (j,i)∈N. Denote the resulting potential and derivative approximations by u~i and g~i, respectively. The derivative output differentiates the truncated local polynomial and adds the exact near derivatives; its value is independent of logarithm branches.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Planar FMM lists partition all ordered off-diagonal particle pairs

Statement

For a finite quadtree and a nonempty root pair as in Finite planar quadtree and separated interaction lists, the recursive interaction decomposition terminates. The Cartesian pair sets IC×ID of its far cell pairs, together with its direct near particle pairs, are pairwise disjoint and partition {(j,i)∈I×I:j≠i}.

Facts & Assumptions

Given: A finite quadtree with its source/target labels, the recursive pair rule, and distinct positions for distinct labels.

[F1]

Finite planar quadtree and separated interaction lists: each internal cell's four child cells partition its labels; the recursive rule either records a separated cell pair, records the off-diagonal pairs in two leaves directly, or replaces a cell pair by its nonempty child-pair partition.

Proof

1.1givenF1induction

For a cell C let h(C) be its remaining tree height, and for a pair (C,D) use h(C)+h(D). Every nonterminal call split by [F1] selects a nonleaf cell (both coordinates when C=D); each child call strictly lowers the height of every split coordinate and leaves any unsplit coordinate fixed. The measure is a nonnegative integer, so every branch terminates. The recursion is finitely branching (at most sixteen child pairs at a simultaneous equal-cell split), hence its finite-depth recursion tree is finite.

2.1F1step 1.1algebra

If the source cell is split, its child label sets are disjoint and cover the source labels, so the child Cartesian products are a disjoint cover of IC×ID. The same statement holds when the target cell is split. When C=D is internal, splitting both ordered coordinates gives all ordered child products, also disjoint. Thus each recursive replacement preserves exactly the parent pair set.

3.1F1step 2.1induction

A terminal far cell pair records its entire Cartesian product IC×ID. A terminal near pair of leaves records exactly that product with the diagonal labels removed. By step 2.1, induction from the root pair shows these terminal records cover the off-diagonal part of the root product without overlap.

4.1F1step 3.1algebra∎

A far cell pair has disjoint circumscribed disks because RCD>aC+aD; hence its label sets cannot intersect and its product contains no diagonal pair. Removing the diagonal only at terminal leaf pairs therefore leaves exactly all ordered pairs (j,i) with j≠i, each once.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Three-dimensional Laplace spherical-harmonic addition theorem

Statement

For every integer ℓ≥0, the space Hℓ of Degree-indexed spherical harmonic spaces in three dimensions has dimension 2ℓ+1. For any orthonormal basis {Yℓm:−ℓ≤m≤ℓ}, there is a basis-independent normalized zonal polynomial Pℓ such that ∑m=−ℓℓYℓm(ω)Yℓm(ω′)‾=2ℓ+14πPℓ(ω⋅ω′),Pℓ(1)=1. It obeys ∣Pℓ(t)∣≤1 for −1≤t≤1 and the generating identity 11−2rt+r2=∑ℓ=0∞rℓPℓ(t),−1≤t≤1,0≤r<1.

Facts & Assumptions

Given: The unit sphere, surface measure, inner product, and homogeneous harmonic polynomial spaces of Degree-indexed spherical harmonic spaces in three dimensions.

[F1]

Degree-indexed spherical harmonic spaces in three dimensions: Hℓ consists of restrictions of homogeneous degree-ℓ polynomials annihilated by the three-dimensional Laplacian, with inner product ∫S2fg‾ dS and total sphere area 4π.

Proof

1.1givenF1algebra

Let Pℓ be the homogeneous degree-ℓ polynomials in three variables; it has (ℓ+22) monomials. For a homogeneous polynomial g of degree d, direct differentiation and Euler's identity give Δ(∣x∣2sg)=2s(2d+2s+1)∣x∣2s−2g+∣x∣2sΔg. If ℓ≥2, put n=ℓ−2, J=⌊n/2⌋, Aj=2(j+1)(2n−2j+3), c0=1/A0, and cj=−cj−1/Aj for 1≤j≤J. For f∈Pn, the degree-ℓ polynomial q=∑j=0Jcj∣x∣2(j+1)Δjf satisfies Δq=f: the coefficients of ∣x∣2jΔjf telescope by c0A0=1 and cjAj+cj−1=0, and ΔJ+1f=0. Hence Δ:Pℓ→Pℓ−2 is onto; for ℓ=0,1 the target is zero.

2.1F1step 1.1algebra

Restriction of a homogeneous polynomial to S2 is injective, because homogeneity recovers its value at every nonzero x from its value at x/∣x∣. Rank-nullity therefore gives dim⁡Hℓ=(ℓ+22)−(ℓ2)=2ℓ+1 for ℓ≥2, and direct counting gives 1 and 3 for ℓ=0,1. Gram-Schmidt on any finite spanning list gives an orthonormal basis; no choice axiom is used.

3.1givenF1step 2.1algebra

For an orthonormal basis define Kℓ(ω,ω′)=∑mYℓm(ω)Yℓm(ω′)‾. A unitary basis change leaves this sum unchanged, and rotations carry one orthonormal basis of Hℓ to another, so Kℓ is rotation-invariant. Thus Kℓ(ω,ω) is constant in ω; integrating it over the sphere gives 2ℓ+1, so this constant is (2ℓ+1)/(4π).

4.1F1step 3.1algebra

Fix ω′. After rotating it to the third coordinate axis, use w=x1+ix2 and wˉ=x1−ix2. A rotation sends these to eiθw and e−iθwˉ, so an invariant monomial wawˉbx3c must have a=b. The invariant homogeneous polynomials are therefore sums of (x12+x22)jx3ℓ−2j, whose restrictions to the sphere are polynomials f(t) of degree at most ℓ, with t=x3. The polar-coordinate Laplacian is ∂rr+2r−1∂r+r−2ΔS2; applying it to rℓf(cos⁡θ) gives ΔS2f=−ℓ(ℓ+1)f. For a zonal f, the angular term is (sin⁡θ)−1∂θ(sin⁡θ∂θf)=(1−t2)f′′−2tf′ by t=cos⁡θ, so (1−t2)f′′−2tf′+ℓ(ℓ+1)f=0. Writing f(t)=∑k=0ℓaktk yields (k+2)(k+1)ak+2+(ℓ(ℓ+1)−k(k+1))ak=0. For ℓ≥1, the equation at k=ℓ−1, using aℓ+1=0, gives 2ℓaℓ−1=0; descending through k=ℓ−3,ℓ−5,… forces every coefficient of parity opposite to ℓ to vanish. For k=ℓ−2,ℓ−4,…, the coefficient ℓ(ℓ+1)−k(k+1) is positive, so each lower coefficient of parity ℓ is determined by the next one. Thus the zonal solution space has dimension at most one (for ℓ=0 it is the constants). The function Kℓ(⋅,ω′) is a zonal harmonic, and Kℓ(ω′,ω′)=(2ℓ+1)/(4π)>0, so a nonzero such solution exists. Define Pℓ(t)=Kℓ(ω,ω′)/Kℓ(ω′,ω′) when t=ω⋅ω′. Rotation invariance makes this depend only on t, and Pℓ(1)=1. The diagonal value in step 3.1 now gives the displayed addition theorem.

5.1step 3.1step 4.1algebra

Cauchy-Schwarz applied to the finite basis sum gives ∣Kℓ(ω,ω′)∣≤Kℓ(ω,ω)Kℓ(ω′,ω′)=(2ℓ+1)/(4π). Dividing by the diagonal constant proves ∣Pℓ(t)∣≤1.

6.1givenF1step 4.1algebra∎

Fix ω′∈S2 and let u(x)=∣ω′−x∣−1 for ∣x∣<1. The radial formula Δ∣x−ω′∣−1=f′′(r)+2f′(r)/r=0 away from ω′ shows u is harmonic in the unit ball. Its homogeneous Taylor term of degree ℓ is therefore harmonic, since the homogeneous terms in Δu=0 of each degree vanish separately; it is also invariant under rotations fixing ω′. By step 4.1 it has the form bℓrℓPℓ(ω⋅ω′). On the ray x=rω′, u(rω′)=(1−r)−1=∑ℓ≥0rℓ, so coefficient comparison gives bℓ=1. Finally u(rω)=(1−2r(ω⋅ω′)+r2)−1/2, whose Taylor series in r has radius at least 1: its possible denominator zeros are t±i1−t2, both of modulus one. This proves the generating identity for 0≤r<1.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Planar Laplace multipole and local translation identities

Statement

For the P2M, M2M, M2L, L2L and L2P formulas of Fixed-order planar Laplace fast multipole procedure, P2M gives the source moments about a leaf center, M2M gives exactly the same moments about a parent center, and the finite M2L coefficients are the degree-0 through degree-p Taylor coefficients of the order-p source multipole polynomial about the target center. L2L is exact re-centering of the resulting degree-p polynomial, and L2P evaluates it exactly. For every n≥0 define Mn(C)=∑j∈ICqj(zj−cC)n; the algorithm stores only n≤p. For a far pair (C,D) and z in the target cell, the fixed-branch source potential also has the absolutely convergent outer expansion M0(C)LCD(z−cC)−∑n=1∞Mn(C)/(n(z−cC)n).

Facts & Assumptions

Given: A far source/target cell pair, its fixed analytic logarithm, finite source moments, and the order-p translation formulas.

[F1]

Finite planar quadtree and separated interaction lists: for a far pair with centers cC,cD, radii aC,aD, and R=∣cD−cC∣, one has aC+aD<R and one analytic logarithm is fixed on a disk containing all pair differences.

[F2]

Fixed-order planar Laplace fast multipole procedure: P2M stores Mn=∑jqj(zj−cC)n; M2M uses the binomial shift over nonempty children (empty children have zero moments); M2L uses the displayed finite local coefficients; L2L uses the binomial re-centering formula over nonempty-cell edges; L2P evaluates the local polynomial and its derivative.

Proof

1.1givenF1algebra

For ∣w∣<1, the geometric series 1/(1+t)=∑r=0∞(−t)r converges uniformly on each closed disk ∣t∣≤r0<1. Integrating it from 0 to w gives the analytic branch identity log⁡(1+w)=∑m=1∞(−1)m+1wm/m.

1.2F2algebra

For a nonempty child cell E of C, write zj−cC=(zj−cE)+(cE−cC) and apply the finite binomial theorem to its nth power. Summing over the sources in each nonempty child and then over the nonempty children gives Mn(C)=∑E∑r=0n(nr)(cE−cC)n−rMr(E) for every n≤p; empty children contribute zero. This is exactly the M2M pass.

1.3F2algebra

If a parent local polynomial is ∑k=0pLk(z−cD)k, put z−cD=(z−cE)+(cE−cD) and expand each power. The coefficient of (z−cE)j is ∑k=jp(kj)Lk(cE−cD)k−j; hence L2L exactly re-centers the polynomial without adding truncation error.

2.1F1step 1.1algebra

For a far pair (C,D), put z−cC=D0+x with D0=cD−cC and ∣x∣≤aD. Then ∣D0+x∣≥R−aD>aC. Substituting w=−(zj−cC)/(z−cC) into the branch-normalized series from step 1.1 and summing the finite source set gives M0(C)LCD(z−cC)−∑n≥1Mn(C)/[n(z−cC)n]. The branch is LCD because both z−cC and z−zj lie in its disk and the difference of their logarithms is the series that vanishes at zj=cC. The convergence is absolute because ∣zj−cC∣/∣z−cC∣<1.

2.2F1step 1.1algebra

For a far pair put D=cD−cC, x=z−cD and y=zj−cC. By [F1], ∣x−y∣≤∣x∣+∣y∣<R=∣D∣. The branch-normalized logarithm therefore has expansion LCD(D+x−y)=LCD(D)+∑m≥1(−1)m+1(x−y)m/(mDm).

3.1F2step 2.2algebra

Expand (x−y)m by the binomial theorem and set m=n+k. For n≥1,k≥0, the coefficient of xkyn is (−1)k+1(n+k−1k)/(nDn+k), since (n+kk)/(n+k)=(n+k−1k)/n. The terms with n=0 are M0LCD(D) for k=0 and (−1)k+1M0/(kDk) for k≥1; the terms with k=0,n≥1 are −Mn/(nDn). Summing yn over sources replaces it by Mn, and retaining 0≤n,k≤p yields precisely the M2L formulas in [F2].

4.1F2step 1.3algebra∎

Substitution of a target point into the re-centered degree-p polynomial is exactly L2P, and termwise differentiation gives its derivative formula. These are finite polynomial identities and require no additional convergence assumption.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Planar FMM operation count under explicit linear-size tree and list bounds

Statement

Let N≥1 and p≥1. Suppose the finite quadtree and recursive interaction decomposition supplied to Fixed-order planar Laplace fast multipole procedure are linear-size level-restricted and have bounded lists in the exact sense of Finite planar quadtree and separated interaction lists: T,V≤C N, K:=∣F∣≤C T, and J:=∣N∣≤C N for a constant C independent of N,p. Counting each complex addition, multiplication, division by a nonzero number, coefficient copy, cell-pair inspection, and evaluation of a fixed logarithm branch at one argument as one operation, the FMM passes and direct near evaluation use at most C0(N(p+1)+(T+K)(p+1)2+V+J) operations for an absolute implementation constant C0. Hence the total counted work is O(N(p+1)2), and therefore O(Np2) for p≥1. The input quadtree construction and point-to-cell preprocessing are not included; a highly clustered input must report its actual tree depth, node count, and list/traversal counts before a linear-in-N conclusion is made.

Facts & Assumptions

Given: A finite quadtree, its cell-membership arrays, the recursive pair decomposition, and a fixed order p≥1.

[F1]

Finite planar quadtree and separated interaction lists: T counts nonempty cells, V counts recursive pair inspections, K counts far cell pairs, and J counts direct near particle pairs; the linear-size and bounded-list assumptions are explicit inequalities on these counts.

[F2]

Fixed-order planar Laplace fast multipole procedure: P2M, M2M, M2L, L2L, L2P, and direct near evaluation are finite sums with the displayed index ranges; M2M and L2L process only parent-child edges whose two cells are nonempty.

[F3]

Planar FMM lists partition all ordered off-diagonal particle pairs: each off-diagonal pair appears once in the far or direct list.

Proof

1.1givenF1F2algebra

At each nonempty leaf, P2M accumulates p+1 moments per resident source, so the total is at most N(p+1) operations up to a constant. The nonempty cells form a rooted connected subtree, so enumerating them by inspecting four children per nonempty internal cell costs O(T) and yields exactly T−1 parent-child edges whose two cells are nonempty. On each such edge, M2M or L2L evaluates triangular sums with ∑n=0p(n+1)=(p+1)(p+2)/2 terms, hence at most O((p+1)2) operations. Empty-child moments are zero and their edges are skipped. Initializing the local vectors costs O(T(p+1)), and both this and the O(T) enumeration cost are absorbed in the displayed bound.

1.2givenF1F2algebra

For each of the K far pairs, M2L forms p+1 coefficients, each using at most p+1 terms, and evaluates the fixed logarithm once at the pair center; this costs O(K(p+1)2) because p≥1. L2P evaluates one degree-p polynomial and its derivative at each of N targets in O(N(p+1)) operations.

1.3givenF1F2F3algebra

The recursive list decomposition uses V cell-pair inspections. Each of the J direct near particle-pair evaluations uses a constant number of arithmetic operations and one fixed-logarithm evaluation. By [F3] no required pair is counted twice or omitted; the work to dispatch the finite lists is included in these counts.

2.1givenstep 1.1step 1.2step 1.3algebra∎

Adding the counts from steps 1.1, 1.2, and 1.3 gives the displayed operation bound after increasing one absolute constant C0. The assumptions T,V≤CN, K≤CT, and J≤CN then give O(N(p+1)2); since p≥1, (p+1)2≤4p2, giving O(Np2). No bound on the cost of constructing the input quadtree or assigning its points was used.

AlgorithmAlgorithm: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Single-cluster three-dimensional Laplace multipole evaluator

Definition

Fix an integer p≥0, a finite set of source labels J with positions yj∈R3 and charges qj∈C, a center c, and a radius a≥0 with ∣yj−c∣≤a. For each 0≤ℓ≤p, supply an orthonormal basis {Yℓm:−ℓ≤m≤ℓ} of Hℓ from Degree-indexed spherical harmonic spaces in three dimensions; its existence and dimension are given by Three-dimensional Laplace spherical-harmonic addition theorem. Form moments Mℓm=∑j∈JqjHℓm(yj−c)‾. For every target x with r=∣x−c∣>a, evaluate the truncated single-cluster multipole field U~p(x)=4π∑ℓ=0p12ℓ+11rℓ+1∑m=−ℓℓMℓmYℓm ⁣(x−cr). The output is an approximation to U(x)=∑j∈Jqj/∣x−yj∣. This is the source-cluster-to-target evaluator only; it makes no 3D tree-translation or global all-target complexity claim.

For the arithmetic count, store each basis polynomial by its monomial coefficient array. Basis setup is done once for the chosen p. To evaluate the displayed formula directly, evaluate every basis polynomial by summing its monomials at each source and target point, then accumulate the moments and target sums. This convention makes the basis-evaluation work explicit rather than treating each special-function evaluation as free.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Global planar FMM potential and derivative error

Statement

Assume the collision-free exact-arithmetic branch of Fixed-order planar Laplace fast multipole procedure with order p≥1. For each target i in leaf Di, let Fi={(C,D)∈F:i∈ID} be its far cell interactions. For (C,D)∈Fi put RCD=∣cD−cC∣, ρCD=(aC+aD)/RCD<1, and QC=∑j∈IC∣qj∣. If ui is the exact fixed-branch logarithmic potential and u~i the algorithm output, then ∣ui−u~i∣≤∑(C,D)∈FiQCρCDp+1(p+1)(1−ρCD). If gi=∑j≠iqj/(zi−zj) and g~i is the algorithm's complex derivative output, then ∣gi−g~i∣≤∑(C,D)∈FiQCRCDρCDp1−ρCD. Near interactions are exact. The second estimate is branch-independent; no floating-point rounding error is included.

Facts & Assumptions

Given: Collision-free finite sources, a finite quadtree, order p≥1, and the exact-arithmetic local expansions in Fixed-order planar Laplace fast multipole procedure.

[F1]

Finite planar quadtree and separated interaction lists: each far pair has RCD>aC+aD and one analytic logarithm on a disk containing every source-target difference in that pair.

[F2]

Fixed-order planar Laplace fast multipole procedure: P2M/M2M moments are computed through order p, M2L retains source moment indices n≤p and local degrees k≤p, L2L re-centers finite polynomials exactly, and direct near pairs are evaluated exactly.

[F3]

Planar Laplace multipole and local translation identities: these finite formulas are the corresponding source and target truncations of the absolutely convergent logarithmic series.

[F4]

Planar FMM lists partition all ordered off-diagonal particle pairs: the far cell products and exact near pairs partition all ordered off-diagonal source-target pairs.

Proof

1.1givenF1F2F3algebra

Fix a far interaction (C,D) contributing to target i, and write D0=cD−cC, x=zi−cD, yj=zj−cC, and R=∣D0∣. Then ∣x∣≤aD, ∣yj∣≤aC, and ρ=(aC+aD)/R<1 by [F1]. The series in [F3] for each source is the double binomial expansion of LCD(D0+x−yj). The algorithm retains all terms with source index n≤p and target degree k≤p; every omitted term has total degree m=n+k≥p+1.

2.1givenstep 1.1algebra

For total degree m, the sum of absolute values of the potential terms for one source is at most ∣qj∣∑k=0m(mk)∣x∣k∣yj∣m−k/(mRm)=∣qj∣(∣x∣+∣yj∣)m/(mRm)≤∣qj∣ρm/m. Summing sources and omitted degrees gives an interaction error at most QC∑m=p+1∞ρm/m≤QCρp+1/((p+1)(1−ρ)), since 1/m≤1/(p+1) for m≥p+1.

2.2givenF1step 1.1algebra

For each total degree m≥1, the sum of absolute differentiated monomials for one source, before multiplying by qj, is ∑k=1mkm(mk)∣x∣k−1∣yj∣m−kRm=(∣x∣+∣yj∣)m−1Rm≤ρm−1R. Here a zeroth power is 1, including at zero. Every subset of these monomials, in particular the omitted subset from the rectangular truncation n,k≤p, has absolute sum bounded by the same nonnegative full sum. The series and its differentiated monomials converge absolutely and uniformly on ∣x∣≤aD because ρ<1, so termwise differentiation is valid. By step 1.1, omitted terms have m≥p+1; multiplying by ∣qj∣ and summing sources and degrees bounds the interaction derivative error by QCR−1∑m=p+1∞ρm−1=QCR−1ρp/(1−ρ). The derivative of any additive branch constant is zero.

3.1givenF2F3F4step 2.1step 2.2algebra∎

By [F4], each off-diagonal particle pair is either one exact direct near interaction or belongs to exactly one far cell product. M2M and L2L introduce no additional truncation error by [F2]–[F3], and L2P evaluates the stored polynomial exactly. Therefore the total potential and derivative errors for target i are bounded by the sums of the finite per-interaction bounds from steps 2.1 and 2.2; all near terms contribute zero error.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Three-dimensional Laplace cluster expansion error and work

Statement

For the single-cluster evaluator of Single-cluster three-dimensional Laplace multipole evaluator, let Q=∑j∈J∣qj∣. If a target satisfies r=∣x−c∣>a, then its potential error obeys ∣U(x)−U~p(x)∣≤Qr(a/r)p+11−a/r. If a target region is contained in a ball of radius b centered at d, with R=∣d−c∣>a+b, then every target in the region has error at most QR−b(a/(R−b))p+11−a/(R−b). Let S=∣J∣ and let T0 be the number of targets. Under the monomial-coefficient evaluation convention of the algorithm, forming moments and evaluating the truncated field costs O((S+T0)(p+1)4) arithmetic operations after the basis coefficient arrays have been prepared. If all basis values at sources and targets are supplied, the coefficient accumulation and expansion evaluation alone cost O((S+T0)(p+1)2). This is a single-cluster estimate; it is not a 3D multilevel FMM tree complexity theorem.

Facts & Assumptions

Given: A finite 3D source cluster in a ball B(c,a), an orthonormal basis of each Hℓ through degree p, and targets strictly outside B(c,a).

[F1]

Degree-indexed spherical harmonic spaces in three dimensions: Hℓ is the degree-ℓ homogeneous harmonic polynomial space restricted to the unit sphere, with the surface-area inner product; its regular solid harmonics are homogeneous degree-ℓ polynomials.

[F2]

Three-dimensional Laplace spherical-harmonic addition theorem: the normalized spherical-harmonic addition identity and ∣Pℓ(t)∣≤1 hold, and ∑ℓ≥0rℓPℓ(t)=(1−2rt+r2)−1/2 for 0≤r<1.

[F3]

Single-cluster three-dimensional Laplace multipole evaluator: moments are Mℓm=∑jqjHℓm(yj−c)‾, and the output sums the corresponding basis expansion through degree p.

Proof

1.1givenF1F2algebra

For a source yj, put vj=yj−c, rj=∣vj∣≤a, and ωj=vj/rj when rj>0. For a target put r=∣x−c∣>a and ω=(x−c)/r. Applying the generating identity and then the addition identity in [F2] with ratio rj/r<1 gives 1∣x−yj∣=∑ℓ=0∞rjℓrℓ+1Pℓ(ω⋅ωj)=4π∑ℓ=0∞12ℓ+1rjℓrℓ+1∑m=−ℓℓYℓm(ω)Yℓm(ωj)‾. For rj=0, the same formula follows by the limit: the degree-zero term is 1/r and all positive-degree regular solid harmonics vanish at the center.

1.2givenF1F2algebra

The dimension result in [F2] gives ∑ℓ=0p(2ℓ+1)=(p+1)2 coefficients. At degree ℓ, each homogeneous polynomial has at most (ℓ+22) monomials and there are 2ℓ+1 basis polynomials. Evaluating all basis values at one point by the prescribed monomial sums therefore uses at most a constant times ∑ℓ=0p(2ℓ+1)(ℓ+22)=O((p+1)4) operations.

2.1givenF2F3step 1.1algebra

Summing the finite source set with weights qj and grouping the finite sums over m produces exactly the moments and the truncated evaluator in [F3]. The remainder magnitude is at most ∑j∣qj∣∑ℓ=p+1∞rjℓrℓ+1∣Pℓ(ω⋅ωj)∣≤Qr∑ℓ=p+1∞(a/r)ℓ=Qr(a/r)p+11−a/r, using [F2] and the geometric-series formula.

3.1givenstep 2.1algebra

If ∣x−d∣≤b, the triangle inequality gives r=∣x−c∣≥R−b>a. The function ap+1/(rp+1(r−a)), equal to r−1(a/r)p+1/(1−a/r), is nonincreasing for r>a because its denominator is nondecreasing; substituting r=R−b in step 2.1 gives the stated uniform target-region bound.

4.1F3step 1.2algebra∎

Repeating this basis evaluation at S source points and T0 target points costs O((S+T0)(p+1)4). The remaining moment and target accumulations use (p+1)2 coefficients per point, hence O((S+T0)(p+1)2) additional operations; if basis values are supplied, this latter count is the full coefficient-stage cost.

5 · Examples, counterexamples and false statements

None yet.

Sources