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.
Ewald periodic potentials and particle mesh error
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Approximation and Compactness in C(K)
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Character Groups and Elementary LCA Duals
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Lp Spaces and Test-Function Conventions
- Complex Norms and Realification
- Complex Power Series and Analytic Functions
- Complexification, Realification and Real Structures
- Computed fast transforms and convolution
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Connectedness
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Darboux, L'Hôpital, and Taylor's Theorem
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Distributions Test Functions and Differentiation
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Equivalent Forms of Completeness
- Euclidean Surface Measure, Divergence, and Green Identities
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Fourier Analysis and the Fast Fourier Transform
- Finite Probability and the Probabilistic Method
- Finite-precision direct factorizations and least squares
- Foundations of the Real Numbers for Analysis
- Fourier Transform Convolution and Approximate Identities
- Fubini and Change of Variables
- Function Space Topologies and the Exponential Law
- Fundamental Trigonometric Identities
- Further Trigonometric Identities and Inverse Functions
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Hausdorff via the Diagonal
- Hereditary and Productive Behaviour of the Separation Axioms
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Matrix Norms, Condition Numbers and Numerical Stability
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Minkowski Theory and Number Field Class Groups
- Mixed Partials, Taylor Formulae, and Extrema
- Modes of Convergence Egorov and Lusin
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Norming and Separation under Hahn–Banach
- Order, Zorn's Lemma, and the Axiom of Choice
- Orthonormal Bases, Parseval and Fourier Series
- Outer Measure and the Caratheodory Extension Theorem
- Outward rounded interval and ball arithmetic
- Pointwise Extended-Real Function Products
- Poisson Summation Sampling and Lattice Duality
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Radon Measures and the Riesz Markov Kakutani Theorem
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Schwartz Space and the Plancherel Theorem
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Smooth Partitions of Unity and Exhaustions
- Stone–Weierstrass in General
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tempered Distributions and the Fourier Transform
- The Ascoli–Arzelà Theorem
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Formal Laurent Series Field ℝ((t⁻¹)): Cauchy Complete, Non-Archimedean, Not Complete
- The Fundamental Group of the Circle
- The Fundamental Theorems of Calculus
- The Inverse and Implicit Function Theorems
- The Inverse Function Theorem Completed
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Uniform Spaces: the Three Definitions
- Urysohn's Lemma and the Tietze Extension Theorem
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
Summary
This page defines the neutral mean-zero Poisson problem on an arbitrary full-rank three-dimensional torus and proves the Gaussian Ewald split, its renormalized self term, and uniform real and reciprocal tail bounds. It then defines a causal periodic cardinal-spline assignment with a negative-sign unitary mesh transform. Exact signed aliases, deconvolution normalization, derivative-window bounds, and the knot branch feed a deterministic pointwise PME potential, energy, and force certificate. The total error keeps real cutoff, reciprocal cutoff, omitted modes, assignment aliases, force differentiation, self correction, and certified arithmetic enclosures as separate terms. Point-source potential claims are made only away from source images.
The evaluator has a separate termination proof covering its explicit integer boxes, finite spline support and self-correction pairs, capped transform subcalls, and bounded enclosure requests. Unresolved cutoffs, arithmetic, branch choices, or tolerances return an explicit status; termination does not require the requested accuracy to be attainable.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Causal cardinal spline window
Definition
For set , including both endpoints. For an integer , define the causal order- window by Here , is the factorial of the nonnegative integer with , and for integers , . Convolution means the integral operation when the integrand is measurable and integrable, as in Convolution of two functions on . The displayed formula is finite at every and directly defines to vanish outside ; the local alias lemma proves that it agrees with the -fold convolution of and establishes the resulting integral, positivity, partition, Fourier-transform, and derivative identities.
Neutral point sources and Fourier data on a three-dimensional torus
Definition
Let , let , let , and let . These are the full-rank lattice and covolume conventions of Full-rank lattices, covolume, and the dual lattice. The reciprocal lattice is . For write Thus is a character of ; the ordinary Fourier frequency is , while is the angular physical frequency.
A finite point-source configuration consists of an integer , points that are pairwise distinct when , and real charges . It is neutral when . For a smooth periodic test function , the point-source distribution is the linear functional Here smooth means that the periodic lift to has continuous derivatives of every order, and the test-function topology is generated by the seminorms over all derivative multi-indices . A periodic distribution is a continuous complex-linear functional for this topology. Its distributional Laplacian is defined by .
For a smooth periodic , its Fourier coefficient is The source coefficient is in particular, neutral data have . For a periodic distribution , define . The mean-zero periodic Poisson solution is a periodic distribution satisfying and . This definition fixes the zero-mode convention; no nonneutral periodic solution is implicit.
The Coulomb energy convention is the half-sum of each source charge times the regular part of its potential, after subtracting its own singular term . The resulting finite part is called the renormalized self-energy convention. Its Ewald formula is established in this development.
Remarks
- The Coulomb normalization is in three dimensions. No dielectric factor, surface term, nonneutralizing background, or alternative boundary condition is part of this definition.
- The dual lattice in the Poisson formula uses exponent ; multiplying its frequency by gives .
Gaussian screened Coulomb kernel and its self limit
Statement
Assume Countable Choice. For , define Here , is the distribution , and a test function is a smooth compactly supported function . For put and . Then extends continuously to , distributionally on , and . Moreover, for every , and for every ,
Facts & Assumptions
Given: Countable Choice, , a point , , and an arbitrary .
Countable Choice is assumed in the local divergence theorem and its volume interfaces (The Axiom of Countable Choice ()).
The bounded divergence theorem applies to punctured balls and smooth vector fields on their closures (Divergence on a bounded C1 Euclidean domain).
The integral function of a continuous integrand has derivative equal to that integrand (The first fundamental theorem: if is integrable on and continuous at , then ; in particular a continuous has as a primitive).
Absolutely integrable products may be integrated by successive coordinates (Fubini's theorem for L^1 functions on a sigma-finite product).
The chain rule differentiates using its derivative and (The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with ).
For , the substitution gives ; its Jacobian is (A C^1 diffeomorphism satisfies the change-of-variables formula for L^1 functions).
Proof
By [F2], , and [F5] gives for . Differentiating again gives . Since , the integral definition yields , and the derivative formula yields . Thus and as . For , the radial Laplacian formula follows by differentiating and summing . Applying it to gives away from the origin.
Let on the punctured ball , where is outside the support of . The product rule gives . By [F1] its integral is the boundary flux. The outer flux is zero; at the inner sphere both and are bounded, and its area is , so the flux tends to zero. Taking proves , using step 1.1. By [F3], [F4], and [F6], applied coordinatewise and with , .
Step 1.1 gives , so . By [F3] and evenness, . For , ; multiplying by gives . This proves the bound for .
On the punctured ball . Put . The product rule gives , so [F1] makes the integral of equal to its boundary flux. The outer flux is zero. The inner outward normal is , hence ; the flux is . Since , its first term tends to and the second is bounded by , hence tends to zero. Therefore distributionally. Subtracting step 2.1 proves .
Differentiating for gives . Apply step 2.2 with to its second term to obtain the displayed derivative bound.
Remarks
- The distributional delta is in the unscreened Coulomb part. The smooth Gaussian term has no delta mass.
- The self expansion is the source of the Ewald energy correction after the potential is multiplied by .
Periodic cardinal-spline assignment and unitary mesh transform
Definition
Fix neutral point-source data from Neutral point sources and Fourier data on a three-dimensional torus, an Ewald parameter , integers , an assignment order , and write . Let and take from Causal cardinal spline window. Define the periodic causal assignment weights, for and , by The sums are finite because is supported on . They collect every support index into its grid residue; if , distinct support indices that wrap to the same residue are added. The spread grid is
Use the negative-sign unitary tensor DFT convention which is the product transform of The unitary discrete Fourier transform on . Signed frequency representatives are chosen before evaluating windows. A retained set is finite, symmetric under , injective modulo , and satisfies for each coordinate. In particular, even-grid Nyquist modes are not silently retained.
For , put when and
. Define
Only modes with are admissible for division. A computed
implementation must first certify a strictly positive lower bound for
; otherwise it returns denominator-inconclusive without dividing.
For , define
The denominator is the complex conjugate of the printed window multiplier; this
sign is part of the definition. Set
The exact retained reciprocal energy is
and the mesh reciprocal energy is
Let be the declared physical mesh derivative: it is wherever the classical derivative exists. A grid knot is a point with for some coordinate . At a knot, take the one-sided vector limits from all adjacent open mesh boxes. Define to be any selected one-sided limit or the arithmetic average of all those limits. This is a procedure value and does not assert that the classical derivative exists there. The energy-gradient mesh force is Define the diagonal mesh-self correction and corrected reciprocal energy by Whether the declared force is the derivative of this corrected energy, and the error bound it satisfies, are proved separately.
Remarks
- is the physical derivative in the cell coordinates .
- Every reciprocal mode omitted from , including Nyquist modes, belongs to the separately bounded reciprocal truncation error.
- This definition makes no accuracy claim about an FFT or a floating-point implementation. The error theorem supplies those conditions separately.
Poisson periodization of a normalized Gaussian on a full-rank lattice
Statement
Assume Countable Choice and use the full-rank cell and angular frequencies of Neutral point sources and Fourier data on a three-dimensional torus. Here denotes the Schwartz space of smooth functions whose derivatives decay faster than every inverse polynomial. For let For every the two series below converge absolutely, locally uniformly in , and The lattice Poisson theorem is applied only to this Schwartz Gaussian; it is not applied to a compactly supported or finite-smoothness assignment window.
Facts & Assumptions
Given: Countable Choice, an invertible cell matrix , , , , , , and .
Countable Choice is required by the published lattice Poisson theorem and the Gaussian transform supplier (The Axiom of Countable Choice ()).
For , both lattice series converge absolutely and the periodization satisfies under Countable Choice (Poisson summation for a full-rank lattice).
With , for under Countable Choice (Euclidean Gaussian transform with the 2π normalization).
The normalized Gaussian in the screened-kernel definition is (Gaussian screened Coulomb kernel and its self limit).
The lattice is , its dual is , and the physical angular frequency for index is (Neutral point sources and Fourier data on a three-dimensional torus).
Proof
Put . By [F2], the Fourier transform of is . Multiplying the input by cancels , so Each derivative of is a polynomial times . For every degree and integer , choose an integer ; the inequality for bounds on , and continuity bounds it on the unit ball. Hence , so [F1] applies.
Fix a compact set and choose with on . Since is invertible, for . For , uniformly on , so with . This majorant is summable: , since for . The remaining finitely many indices have bounded terms. Bounding every series tail by the corresponding majorant tail proves absolute uniform convergence on .
Apply [F1] to . Every has the unique form with ; by [F4], . Therefore and . Substitution in the periodization formula gives exactly the displayed reciprocal series, and [F1] supplies absolute convergence on both sides. At , absolute convergence of the reciprocal series gives . Since , this same sum bounds reciprocal-series tails uniformly in all . Together with step 1.2 this proves both asserted local uniform convergence claims.
Uniform lattice-shell counts and explicit Gaussian tail controllers
Statement
Assume Countable Choice. For an invertible real matrix , put and Here is the Euclidean operator norm. Uniformly over every translate and every integer shell ,
For , any integer , and integer , set For any integer satisfying , define and recursively for , Then the finite controller satisfies . Such a exists for every , , and integer .
Facts & Assumptions
Given: Countable Choice, the full-rank cell matrix and angular reciprocal lattice from Neutral point sources and Fourier data on a three-dimensional torus, an arbitrary invertible , a translate , , integer , and .
Each coset of a full-rank lattice has a representative in its closed fundamental parallelotope, whose coordinates lie in (Fundamental parallelotopes of a lattice tile Euclidean space with covolume volume).
is the nonnegative Gaussian tail for (Gaussian screened Coulomb kernel and its self limit).
For every real there is an integer greater than (Every complete ordered field is Archimedean).
Integration by parts holds on a finite interval when the factors and derivatives satisfy the stated integrability hypotheses (If are differentiable on with integrable, then ).
Countable Choice is assumed by the Gaussian-tail and lattice-tiling interfaces used here (The Axiom of Countable Choice ()).
Proof
Under Countable Choice [A1], use [F1] to replace modulo by a vector with . Thus . If lies in the shell , then . The number of integer triples with this bound is at most , proving the uniform shell count.
Choose with , which exists by [F3]. For , the derivative of has the sign of , so is nonincreasing. Therefore . Expanding by the binomial theorem gives .
The formulas for and follow by the substitutions and . For , choose an integer ; shows is integrable at infinity. Apply [F4] on and let ; the same inequality makes the boundary term vanish. This gives . Hence the finite sum through plus the integral tail in step 1.2 equals and bounds .
Remarks
- The shell estimate is intentionally coarse. Its cubic factor is enough because every later term has Gaussian decay; no asymptotic lattice-point theorem is used.
- For real-space estimates take . For reciprocal estimates take , whose lattice points are exactly the angular physical frequencies .
Smooth torus test functions have rapidly convergent Fourier pairings
Statement
Assume Countable Choice. Let , , , , and let be a smooth -periodic function. With the Fourier coefficients of Neutral point sources and Fourier data on a three-dimensional torus, for every derivative order , Consequently the Fourier series of and every differentiated series converge uniformly to and its corresponding derivatives. More generally, if a coefficient sequence satisfies for some and , then converges absolutely and defines a continuous periodic distribution. A periodic distribution is determined by its Fourier coefficients.
Facts & Assumptions
Given: Countable Choice, , the lattice data of Neutral point sources and Fourier data on a three-dimensional torus, a smooth periodic , and a sequence with for fixed finite and .
Countable Choice is assumed by the periodic Fourier uniqueness theorem used below (The Axiom of Countable Choice ()).
The cell has volume , its angular characters are , and the Fourier coefficient is (Neutral point sources and Fourier data on a three-dimensional torus, Fundamental parallelotopes of a lattice tile Euclidean space with covolume volume).
The lattice characters are orthogonal on : for and otherwise (Orthogonality of the lattice characters over a fundamental domain).
Integration by parts on a closed interval holds for differentiable factors with integrable derivatives; periodic endpoint values cancel when the factors are periodic (If are differentiable on with integrable, then ).
For every real , converges (The p-series for a real exponent p converges exactly when p is greater than one).
A function series dominated termwise by a convergent scalar series converges uniformly (Weierstrass M-test for complex-valued function series).
Uniform convergence of the derivatives, together with convergence at one point, identifies the derivative of the uniform limit on a closed interval (If continuously differentiable functions converge at one point and their derivatives converge uniformly on a closed interval, then the functions converge uniformly to a differentiable function whose derivative is the derivative limit).
A continuous periodic function with all Fourier coefficients zero vanishes identically on the torus (Continuous lattice-periodic functions are determined by their lattice Fourier coefficients).
Linear change of variables sends to the fundamental cube, and an absolutely integrable function on the cube may be integrated successively in its three coordinates (A C^1 diffeomorphism satisfies the change-of-variables formula for L^1 functions, Fubini's theorem for L^1 functions on a sigma-finite product).
Proof
Put , which is smooth and -periodic. Change variables to the unit cube and integrate successively in the three coordinates using [F8]. In coordinates the physical Laplacian is the constant-coefficient operator . Repeatedly apply [F3] to the real and imaginary parts in each coordinate; periodicity makes every opposite-face boundary term cancel, and the character is an eigenfunction with eigenvalue . Thus for every integer , The last inequality follows because the Fourier coefficient is the normalized integral over the cell [F1].
Since , the number of integer vectors with is at most . For any fixed , choose an integer ; the shell sum of is then bounded by a constant times a convergent p-series [F4]. Hence .
Enumerate by increasing and lexicographically within each finite shell. For each derivative order, step 2.1 and [F5] make the Fourier series and its formal derivative series uniformly convergent. Apply [F6] to the real and imaginary parts along each coordinate line; the uniform derivative limits are the derivatives of the sum. By [F2], termwise integration shows that the sum has the same Fourier coefficients as ; [F7] makes the continuous difference zero. Each derivative series likewise has the coefficients of the corresponding derivative of , by periodic integration by parts [F3], so [F7] identifies it with that derivative. Hence the Fourier partial sums converge in every smooth seminorm.
Choose in step 1.1. The shell count of step 2.1 gives This is a bound by the seminorm , a finite sum of the smooth seminorms in the source-data definition, so is a continuous linear functional. If a periodic distribution has the same Fourier coefficients as , their difference vanishes on every character and hence on every trigonometric polynomial; by the smooth convergence of step 3.1 and continuity of the distribution, it vanishes on every smooth test function. Therefore the coefficients determine it.
Exact three-dimensional spline assignment aliases and FFT normalization
Statement
Use the periodic cardinal-assignment model of Periodic cardinal-spline assignment and unitary mesh transform, with integers , order , grid size , a retained signed mode satisfying , and . Put , , and Then the single-particle assignment factor and the spread-grid coefficient obey the absolutely convergent identities where and . In particular The mesh coefficient also has the exact finite representation , so no cell-volume or grid-size factor remains after the displayed conversion. The alias bound below uses only the Fourier series of the compact spline; the lattice Poisson theorem is not applied to that spline.
For define Then , , and for . For and , Thus every alias controller has a finite p-series remainder bound. The periodic assignment also satisfies , so the spread-grid zero mode is for neutral data.
Facts & Assumptions
Given: A full-rank cell, neutral finite charges, integers , , with , and the periodic assignment, DFT, , , , and definitions of Neutral point sources and Fourier data on a three-dimensional torus and Periodic cardinal-spline assignment and unitary mesh transform.
and, for , is the finite truncated-power formula supported on ; convolution is the integral operation defined in Convolution of two functions on . The periodic weights, signed mode restrictions, and denominator have the definitions displayed on the A page (Causal cardinal spline window, Periodic cardinal-spline assignment and unitary mesh transform).
The mesh transform has the negative-sign unitary normalization in dimension three (Periodic cardinal-spline assignment and unitary mesh transform, The unitary discrete Fourier transform on ).
For every real , the p-series converges (The p-series for a real exponent p converges exactly when p is greater than one).
Nonnegative iterated integrals may be interchanged; this justifies the convolution and periodic partition calculations (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product).
An absolutely summable Fourier coefficient series converges uniformly by the complex Weierstrass test (Weierstrass M-test for complex-valued function series).
The derivatives of sine and cosine are cosine and minus sine, so the real and imaginary parts of have the elementary primitives used to evaluate its finite-interval integral (The derivatives of sine and cosine are cosine and minus sine).
Absolutely integrable products may be interchanged and factored in the convolution transform calculation (Fubini's theorem for L^1 functions on a sigma-finite product).
Proof
Define and recursively , so by the convolution definition [F1]. For , the integral is the length of , giving on , on , and zero outside; this is the truncated-power formula. For , integrate the formula for term by term; reindexing the second sum and applying Pascal's identity gives the stated formula for . Thus for all . The recursion gives nonnegativity and support in . The formula gives , and its value at is the th finite difference of the degree- polynomial , hence is zero; therefore the zero extension is continuous at both support endpoints. Differentiating the formula on each polynomial interval and applying Pascal's identity gives ; for this identity holds on open intervals, with the one-sided values at integers.
From the transform factor, for and , . The phase factors have modulus one; if , every shifted sinc numerator vanishes. Since , . Summing over positive and negative and applying [F3] gives the total bound for . For real put . Since decreases, for each integer . Summing and taking the limit gives , proving the stated finite remainder, including noninteger thresholds. The tensor product has total nonzero alias mass .
From step 1.1, is the convolution of copies of . Fubini [F7] factors its Fourier integral as . For , the sine and cosine primitives from [F6] give ; at the integral is . Therefore and . The same primitive gives for and for nonzero integers .
For , write and interchange the nonnegative sum and integral by [F4]. Except at finitely many for which is an integer, exactly one integer has ; the exceptional set has integral zero, so . For , use and Tonelli [F4]; the inductive identity for makes the sum inside the integral equal to . Thus for every .
For one coordinate, set and . The sum is locally finite and continuous, and reindexing shows . Only finitely many contribute on . Substitution and partition of into give its th Fourier coefficient as , using step 2.1. For , these coefficients are , hence absolutely summable by [F3]. Their Fourier series converges uniformly by [F5] to a continuous function with the same coefficients as .
In one coordinate, summing the periodic residue weights over is the same as summing over all integers ; by step 2.2 this sum is . Taking the product over the three coordinates gives . Therefore for neutral data.
Let be the difference between and the uniform Fourier sum in step 3.1. Every Fourier coefficient of is zero. For , define . It is a finite nonnegative trigonometric polynomial with integral by step 2.1; the vanishing coefficients of therefore give . Given , uniform continuity of gives such that when is within of an integer. Away from those points, the geometric-sum formula gives . Hence . Letting and then yields . Thus the series in step 3.1 equals .
Multiply the identity established by steps 3.1 and 4.1 by , put , and reindex . Since is real, ; step 2.1 then gives . In the finite-grid periodic sum, each index has the same phase as residue , since . Thus the identity holds for the periodized assignment weights.
Apply step 5.1 in each of the three coordinates and multiply the absolutely convergent series. Dividing by yields . By [F2], . Substitute the single-particle identity, divide by , and interchange the absolutely convergent alias series with the finite particle sum. This gives with exactly the stated factor and no cell-volume factor.
Since , the identity for gives and . Also for every , so the exact identity for gives . These are the asserted source-assignment alias bounds.
Remarks
- The negative-sign unitary transform produces the conjugate multiplier for the causal window . Dividing by would introduce a deterministic phase error.
- Periodic wrapping accumulates all predecessor support residues, including duplicate residues when ; the proof uses that full finite sum.
- The proof of the spline Fourier series is local and choice-free. The Countable Choice branch enters later through Gaussian Poisson summation.
The mean-zero Fourier distribution solves the neutral periodic Poisson equation
Statement
Assume Countable Choice and a neutral finite point-source configuration on the cell of Neutral point sources and Fourier data on a three-dimensional torus. Put The polynomially bounded sequence defines a periodic distribution by Fourier pairing. It is the unique mean-zero periodic distribution satisfying .
Facts & Assumptions
Given: Countable Choice, , a finite configuration with , and a smooth periodic test function .
The proof uses Countable Choice through the smooth Fourier pairing and the lattice periodic uniqueness supplier (The Axiom of Countable Choice ()).
The source distribution satisfies and its Fourier coefficient is ; distributions are defined by continuous linear pairings on smooth periodic tests (Neutral point sources and Fourier data on a three-dimensional torus).
Every polynomially bounded coefficient sequence defines a continuous periodic distribution by ; smooth Fourier series converge to the test function in every smooth seminorm (Smooth torus test functions have rapidly convergent Fourier pairings).
Since , one has and the zero character is the constant function (Neutral point sources and Fourier data on a three-dimensional torus).
Proof
Define by the displayed coefficients. For , so the sequence is polynomially bounded. Under Countable Choice [A1], [F2] therefore defines a continuous periodic distribution with exactly these coefficients; its zero Fourier coefficient is zero by construction.
For a smooth periodic , use Countable Choice [A1], [F3], and the coefficient pairing of [F2] to compute The sums converge absolutely by [F2]. Reindex the full Fourier series by ; [F2] gives . The omitted zero term contributes by neutrality. Hence , proving .
If are two mean-zero periodic distribution solutions, let . Testing against each character gives for every . Thus all nonzero Fourier coefficients of vanish, and its zero coefficient vanishes because both solutions have mean zero. Under [A1], the smooth Fourier partial sums converge in every smooth seminorm by [F2]; continuity of as a distribution then makes vanish on every smooth test function. Therefore .
Derivative-window alias bounds including the P=2 knot branch
Statement
Use the data and aliases of Exact three-dimensional spline assignment aliases and FFT normalization. Write and, for , for ; when , set for . Put For , define and For the physical derivative alias error satisfies Each series has a finite p-series controller: for , where for . For , after summing exactly over , the respective omitted tails are at most
For the approved case, the absolute derivative p-series above diverges when . Instead use the finite derivative of the local piecewise window sum. At every open mesh box and each one-sided knot limit, put This is a computable finite bound for the same physical derivative error. At a grid knot, use the declared branch from Periodic cardinal-spline assignment and unitary mesh transform: it is a selected one-sided value or their average and obeys the bound, but is not asserted to be a classical derivative there. Thus for the full range the bound is on , with wherever the classical derivative exists.
Facts & Assumptions
Given: A cell matrix , integers , spline order , signed mode with and , a fractional point , and the assignment factors of the periodic mesh definition.
The exact signed alias expansion of has coefficients with , and is the causal -fold cardinal window (Exact three-dimensional spline assignment aliases and FFT normalization, Periodic cardinal-spline assignment and unitary mesh transform).
The physical gradient is , and (Neutral point sources and Fourier data on a three-dimensional torus).
Uniform convergence of a series and its derivative series on a closed interval permits termwise differentiation, with real and imaginary parts treated separately (If continuously differentiable functions converge at one point and their derivatives converge uniformly on a closed interval, then the functions converge uniformly to a differentiable function whose derivative is the derivative limit).
Proof
Suppose and first take . For , because . Since and , [F3] proves absolute convergence and the stated bounds. To prove the remainders locally, put . For and each integer , monotonicity gives . Summing and taking the limit yields . Apply this with and to the two majorants above. If , all shifted factors and both series vanish.
Now let . The convolution is the length of , hence is on , on , and outside . Its derivative is on , on , and outside, with the indicated one-sided values at . On every open mesh box, only finitely many window translates are nonzero, so direct differentiation gives The periodic residue version is identical because are integers and the phase is unchanged when is shifted by . For every non-knot , one translate lies in and one in , so ; at a knot the same sum of absolute one-sided values is at most . Also and by the partition identity proved in [F1]. Therefore . Since , the fractional derivative error is at most .
For , [F1] gives The absolute derivative sum in coordinate is finite by step 1.1 and the product bounds . Apply [F4] to finite partial sums on each coordinate interval; their values converge at one point by the absolute series and their derivative series converge uniformly by this bound. Thus the displayed series differentiates termwise. Subtracting the term gives The last equality follows by summing the term separately: the sum including is , from which the base is removed.
The physical gradient is times the three fractional derivative components. Hence [F2] and step 2.1 give This proves the branch.
Applying to the three component bounds as in step 3.1 gives . At a knot each one-sided limit satisfies the same coordinate bounds, and an average lies in their convex hull, so the declared branch value also satisfies them. No classical differentiability at a knot is used.
Remarks
- For the absolute Fourier derivative majorant diverges at nonzero . The finite piecewise window derivative avoids that invalid rearrangement.
- A tighter certified enclosure may subdivide the closed mesh boxes and bound the finite piecewise expression on each box. The explicit above is a valid initial enclosure and does not require a supremum oracle.
The alpha-independent Ewald potential and renormalized energy
Statement
Assume Countable Choice and neutral finite point-source data from Neutral point sources and Fourier data on a three-dimensional torus, with pairwise distinct source positions in . For put For every off-source point , the absolutely convergent Ewald potential is the off-source representative of the unique mean-zero periodic solution of . Hence it is independent of .
Define the regular part at by The limit exists, is independent of , and the renormalized energy is The prime-exclusion written as omits only each particle's own zero-image singularity.
Facts & Assumptions
Given: Countable Choice; an invertible cell matrix , its covolume , the lattice , and the angular reciprocal lattice ; a finite neutral source configuration with pairwise distinct torus positions; and .
Countable Choice is used by Gaussian lattice Poisson summation and by the periodic distribution uniqueness interface (The Axiom of Countable Choice ()).
For and , , and (Gaussian screened Coulomb kernel and its self limit).
The normalized Gaussian periodizes as with absolute convergence (Poisson periodization of a normalized Gaussian on a full-rank lattice).
The neutral source has a unique mean-zero periodic distribution solution of , with coefficients for and zero mode fixed to zero (The mean-zero Fourier distribution solves the neutral periodic Poisson equation).
The shell count and finite Gaussian controllers apply to both and the angular reciprocal lattice; is finite and has the stated finite upper controller (Uniform lattice-shell counts and explicit Gaussian tail controllers).
The real cell translates tile and have volume (Neutral point sources and Fourier data on a three-dimensional torus, Fundamental parallelotopes of a lattice tile Euclidean space with covolume volume).
Integration by parts applies on every finite interval to the smooth Gaussian integrand (If are differentiable on with integrable, then ).
A nonnegative integral over a product or countable partition may be evaluated by Tonelli's theorem (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product).
A compact ball contains a nonnegative smooth bump supported in any prescribed larger open ball (A smooth bump between concentric Euclidean balls).
The mean of every nonconstant lattice character on the cell is zero: for (Orthogonality of the lattice characters over a fundamental domain).
Proof
Write . For define the periodized Gaussian source By [F2] applied to each translate and then summed over the finite source set, Neutrality gives , so the term vanishes. Both series are absolutely convergent; [F4] supplies uniform Gaussian tails for the lattice sums and their derivatives.
Define and . The finitely many nonzero modes with cause no difficulty, and [F4] bounds the remaining Gaussian shells; with , the reciprocal series is absolutely and uniformly convergent. Thus termwise integration over the finite-volume cell is valid, and [F10] gives . For the real part, [F4], [F5], and Tonelli [F8] give For the last equality, set and use the tail identity in [F1]. Tonelli [F8] gives Integration by parts [F7] on gives ; the boundary term tends to zero since for . Taking and using [F6] yields , so . Multiplying by gives the displayed value. Hence , and has mean zero.
On compact sets avoiding all source images, the real sum and each differentiated tail converge uniformly by the bounds of [F1] and the shell controller [F4]. The reciprocal series and every derivative converge uniformly because each derivative adds only a fixed power of to a Gaussian tail. Thus both are continuous off-source, periodic, and their Fourier operations below are legitimate.
The distributional identity in [F1], summed over the locally finite source images, gives . Absolute tail control from [F4] lets the distribution pairing pass through the image sum. Termwise differentiation of the uniformly convergent reciprocal series for gives where the last equality is step 1.1 and . Therefore .
The sum is a mean-zero periodic distribution solution by steps 3.1 and 1.2. Uniqueness [F3] makes it equal to the same Fourier distribution for every . Its absolutely convergent representative is continuous off-source by step 2.1. If two such representatives differed at a point, one real or imaginary component of their difference would keep a strict sign on a small ball; choose a nonnegative smooth bump supported there using [F9]. Their distribution pairings with that bump would differ, contradicting equality to . Thus the displayed potential is independent of .
Near , the unique term with its own zero image is . By [F1], subtracting leaves the finite limit from that term; every other real term is continuous near because positions are distinct modulo , and the reciprocal term is smooth. This proves existence and alpha-independence of the regular part by step 4.1. Multiplying those regular parts by gives the real-space sum with and the self contribution . The reciprocal contribution is All rearrangements are absolutely convergent by [F4]. This is exactly the stated renormalized energy.
Remarks
- The cell shape enters through and ; no cubic-cell assumption is made.
- Neutrality removes the obstruction. The theorem fixes the mean-zero convention and includes no surface term for another boundary convention.
- The real-space potential is singular at source images. The reciprocal series is smooth; any uniform field or potential error for the point-source model must exclude collisions or state a regularized source norm.
Deterministic reciprocal particle-mesh Ewald potential, energy, and force bounds
Statement
Assume Countable Choice and neutral finite source data on the cell from Neutral point sources and Fourier data on a three-dimensional torus. Fix , integers , an order , and a finite symmetric set whose signed representatives are injective modulo and satisfy . Require for every , and let be the positive Ewald coefficient. Use the assignment factors of Periodic cardinal-spline assignment and unitary mesh transform, and put .
For a query point write modulo and define the retained exact and mesh reciprocal potentials by Define and . For each mode let be the source-alias controller in Exact three-dimensional spline assignment aliases and FFT normalization, and let be the derivative-alias controller in Derivative-window alias bounds including the P=2 knot branch.
Let a complex-vector derivative/gather value satisfy for a stated , where is the declared derivative branch of Periodic cardinal-spline assignment and unitary mesh transform and . The uncorrected mesh and exact reciprocal forces are Then for every query point , and for every particle ,
For the declared energy-gradient gather (so ), the mesh force is wherever the classical derivative exists. This holds everywhere for and off the assignment knots for ; at a knot the selected one-sided derivative or its average is a procedure value, with the same bound but without a differentiability claim.
The optional diagonal self correction is For its finite cyclic implementation, set on , Then is real and even, , and, on every differentiable branch (or as the same declared one-sided branch at a knot), Consequently this local cyclic-kernel expression computes and its derivative exactly in real arithmetic. The finite tensor-transform gathers also have the exact real-arithmetic forms These identities hold with the declared derivative branch, including the selected one-sided knot value. It satisfies In the energy-gradient branch its exactly differentiated force is and The corrected force is the negative classical energy gradient in the same differentiable cases; at a knot it is only the declared branch value. No pointwise error estimate here replaces an RMS estimate, and no claim is made that a different spectral differentiation rule is the gradient of the mesh energy.
Facts & Assumptions
Given: Countable Choice; a neutral finite source configuration, , , and ; an order- periodic mesh assignment; a finite symmetric retained mode set with ; and a derivative/gather residual .
Countable Choice is assumed by the Gaussian Poisson and mean-zero periodic Ewald suppliers (The Axiom of Countable Choice ()).
The cell coordinates obey , , the source coefficient is , and the charges are real (Neutral point sources and Fourier data on a three-dimensional torus).
The positive coefficient and exact retained reciprocal energy are those in the alpha-independent Ewald formula (The alpha-independent Ewald potential and renormalized energy).
For each retained mode, , , and ; has finite p-series remainder controllers (Exact three-dimensional spline assignment aliases and FFT normalization).
The declared derivative branch obeys , including the finite selected branch at knots (Periodic cardinal-spline assignment and unitary mesh transform, Derivative-window alias bounds including the P=2 knot branch).
; the derivative follows from the sine/cosine derivatives and the chain rule (Neutral point sources and Fourier data on a three-dimensional torus, The derivatives of sine and cosine are cosine and minus sine, The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with ).
The exact retained reciprocal potential is , and the reciprocal energy is (The alpha-independent Ewald potential and renormalized energy).
The mesh factors are finite sums of the assignment weights, , and the declared branch is classical wherever the derivative exists; the chain rule differentiates these factors componentwise there (Periodic cardinal-spline assignment and unitary mesh transform, The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with ).
The periodic assignment weights are real, , and (Periodic cardinal-spline assignment and unitary mesh transform).
Proof
Under the Countable Choice assumption [A1], the Ewald supplier gives the reciprocal potential and energy formulas [F6]. Because the charges and assignment weights are real, , , , , , and . Thus the sums over symmetric are real and their displayed real-part forms agree with the reciprocal potentials. By [F3], , , and . Since , [F6] gives the exact reciprocal potential. For each mode, using . Sum with to obtain the potential bound.
The identity and [F3] give . Multiplying by and summing proves the energy bound.
The mode sums are finite. For , and for off the assignment knots, [F4] supplies the classical derivatives. Since by [F3], [F7] gives . Differentiating yields , so negating and summing proves in those differentiable cases. Also by [F5]; differentiating gives , so the negative derivative is exactly . At a knot the chosen derivative is a procedure value, not a classical derivative.
Decompose the force integrand as . By [F3], [F4], the given residual bound , and from [F5], its norm is at most . Multiply by and sum to prove the uncorrected force bound.
Expanding with shows that subtracting replaces the diagonal terms by . In , the diagonal terms are . The remaining difference is a sum over of . Each parenthesized difference is bounded by using [F3]; and . Multiplication by and summation proves the corrected energy estimate.
Because is symmetric and , the finite sum defining is real and satisfies . Put . Expanding the finite sums gives by [F8]. Subtracting therefore gives exactly .
By [F8], . Also differentiating the finite sum for gives on a classical branch and on the declared one-sided branch. Substituting these identities into the finite mode formulas for and and interchanging the finite mode and grid sums yields exactly the two tensor-transform gather forms in the Statement.
Differentiate the finite sum on any declared derivative branch. Symmetry makes the two product-rule sums equal, so . The identity is algebraic in the one-sided polynomial derivatives as well, so it holds for the declared knot branch values.
Where the energy-gradient derivative exists, [F7] gives . By step 2.1 this is also the finite cyclic-kernel expression displayed in the Statement. Subtracting this gradient from that of yields the displayed corrected force. At a knot the same algebra defines the selected corrected branch, without claiming it is a gradient. Put , , and . Since , the exact force is unchanged when is replaced by . The finite sums and [F3] give and . Repeating the force decomposition in step 1.4 with these primed coefficients and proves the corrected force bound.
Explicit real and reciprocal Ewald potential, energy, and force tail bounds
Statement
Assume Countable Choice and the neutral finite configuration and full-rank cell of Neutral point sources and Fourier data on a three-dimensional torus. Fix . Let , choose real and reciprocal cutoffs , and put , . Let be the shell constant for and the shell constant for the angular reciprocal lattice. For the real-space cutoff, retain all with except . For the reciprocal cutoff, retain all with . Use the controller of Uniform lattice-shell counts and explicit Gaussian tail controllers. Then the omitted tails in the exact Ewald potential, energy, and particle force satisfy and For a certified finite value, replace each by the corresponding finite upper controller . The real force is evaluated only away from collisions; no field bound is asserted at a point source.
The exact force is the negative gradient of the renormalized energy. With and , it is The prime excludes only ; the absolutely convergent reciprocal sum is real by pairing and .
Facts & Assumptions
Given: Countable Choice, a neutral finite source configuration on , , , and the real/reciprocal Ewald formulas of The alpha-independent Ewald potential and renormalized energy.
Countable Choice is part of the Ewald formulas' Gaussian Poisson and periodic distribution prerequisites (The Axiom of Countable Choice ()).
Every translate of either lattice has at most points in the shell , and the resulting Gaussian-polynomial tail is bounded by or its finite controller (Uniform lattice-shell counts and explicit Gaussian tail controllers).
The reciprocal coefficient is and (The alpha-independent Ewald potential and renormalized energy).
The off-source potential and renormalized energy have the absolutely convergent Ewald formulas displayed in The alpha-independent Ewald potential and renormalized energy.
Continuously differentiable partial sums whose derivatives converge uniformly on a closed interval and whose values converge at one point have a differentiable limit with the termwise derivative (If continuously differentiable functions converge at one point and their derivatives converge uniformly on a closed interval, then the functions converge uniformly to a differentiable function whose derivative is the derivative limit).
Away from collisions, kernel and reciprocal summands are differentiable in the source coordinates by the chain rule and the sine/cosine derivatives (The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with , The derivatives of sine and cosine are cosine and minus sine).
Uniform limits of continuous real functions are continuous, and a real map with continuous partial derivatives on a neighborhood is totally differentiable (The uniform limit of continuous real-valued functions on a metric space is continuous, If all partial derivatives exist on a neighbourhood and are continuous at a point, then the map is totally differentiable there with Jacobian derivative).
Proof
Fix a collision-free configuration and choose a small closed product of coordinate balls around its source positions, using local torus lifts, that remains collision-free. Finitely many nearby nonself images then stay a positive distance from the singularity. For large real-space shell index , [F1] bounds the kernel by a constant times and its first position derivatives by . [F2] bounds the shell count uniformly over every translate; since the source-difference vectors stay in a bounded set, forces the corresponding distance to infinity uniformly. Thus the real energy series and each first-derivative series converge uniformly on this product. Finite partial sums are continuously differentiable and their values converge at one point by [F4]. Under [A1], apply [F5] along each real coordinate line to justify termwise differentiation of the real energy.
For the reciprocal energy, [F3] gives and Gaussian decay of , while [F6] gives . The derivative of each summand is bounded by . All nonzero modes in shells therefore have a summable position-uniform majorant by [F2]; the remaining bounded ball contains finitely many modes because the reciprocal lattice is full rank. The energy summands themselves are bounded by , whose shell sum also converges by [F2]–[F3]. Thus the reciprocal energy and all its first-derivative series converge uniformly on the same product. Finite partial sums have values converging at one point by [F4], so [F5] gives their termwise derivatives along every coordinate line.
Under Countable Choice [A1], use the Ewald representation [F4]. For , the shell index is at least . By [F1], each omitted real potential term is at most . The shell count [F2] and bound the total image tail for one source by . Summing gives .
For a reciprocal mode in the omitted shell , with , [F3] gives the potential summand bound . Multiply by [F2], use , and sum to obtain . The energy summand is one half the coefficient times , so the same count yields .
Each coordinate derivative obtained in steps 1.1–1.2 is a locally uniform limit of continuous finite-sum derivatives, hence is continuous by [F7]. The open collision-free configuration set is a finite-dimensional Euclidean open set in local lifts. Applying the continuous-partials clause of [F7] shows the Ewald energy is totally differentiable there, with the termwise derivatives computed below as its gradient.
In a finite real-space partial sum truncated by the symmetric condition , differentiating terms with in the first position gives one half of . Terms with in the second position give . By [F6] and the chain rule, for , so this radial vector gradient is odd. Reindexing the second sum by preserves the finite truncation and the excluded self term, and makes it equal to the first half. Passing to the limit is justified by step 1.1, so the full real energy gradient is .
For each reciprocal mode, [F6] gives . In real and imaginary coordinates, , so differentiating a finite reciprocal partial energy gives . Step 1.2 justifies passage to the full sum. The constant self term has zero derivative. Negating the real gradient in step 2.2 and this reciprocal gradient gives the force formula in the Statement; opposite reciprocal modes are conjugate pairs, so their sum is real.
The real energy has the factor and charge-pair absolute sum at most , so the same shell estimate as in step 1.3 gives . The radial derivative bound [F1] and imply . The real force formula proved in step 2.2, the shell count [F2], and give exactly .
By the reciprocal force formula in step 3.1, each omitted reciprocal force mode has magnitude at most , using from [F6]. Since , this is at most . The shell count [F2] and sum over give .
The shell bounds are uniform in every translate, so no source-position dependence was introduced. Replacing by its finite upper controller preserves each inequality. Adding the real and reciprocal omitted terms by the triangle inequality gives the total Ewald cutoff error for potential, energy, and force.
Remarks
- The constants and depend on the cell shape through the two lattice bases. The estimate does not assume a cubic cell.
- If the reciprocal retained set is not the full ball , every additional omitted mode, including omitted Nyquist modes, must be included in the reciprocal remainder.
Total deterministic Ewald and particle-mesh error certificate
Statement
Assume Countable Choice and a neutral finite point-source configuration on from Neutral point sources and Fourier data on a three-dimensional torus. Fix , real and reciprocal cutoffs , a mesh with integers and order , and a finite symmetric retained set that is injective modulo and has and for every . Put and let This in-ball omitted set is finite. Write , , , and for the shell constants in Uniform lattice-shell counts and explicit Gaussian tail controllers. Choose integers , such that and . Let be that supplier's finite upper controller for , and put
For , define the finite real-space potential at an off-source point by and the finite real energy by where the prime omits exactly . Let The cutoff index set is held fixed in this force sum; the cutoff indicator is not differentiated. Set where uses the uncorrected energy and force of Deterministic reciprocal particle-mesh Ewald potential, energy, and force bounds, and uses its optional diagonal self-corrected branch. For the uncorrected branch suppose the derivative/gather residuals are ; the corrected branch uses the energy-gradient gather, so .
Suppose the computed finite outputs have certified arithmetic radii relative to , respectively. Define Then, for every off-source and each particle , Here are the exact mean-zero periodic Ewald potential, renormalized energy, and particle force. The finite omitted-mode sums explicitly charge every mode in the radial ball that the mesh did not retain, including Nyquist modes. Missing arithmetic radii do not produce a certificate; no RMS estimate is substituted for these deterministic bounds.
For the formal exact-constant work count, let be the total number of candidate real-image indices inspected in the finite potential, energy, and force loops, and let be the total number of mode and finite controller entries inspected in constructing the omitted-mode ledger and error certificate. Count each such outer-loop inspection as one work unit and count the transform arithmetic in the formal exact-constant model of Mixed-radix and Bluestein reductions compute every finite DFT in O(N log N) arithmetic. For fixed , the finite evaluation uses work units, with at most three tensor transforms before optional mesh-self correction. The correction adds when its cyclic kernel is precomputed. These counts do not include interval precision, elementary-function evaluation, memory traffic, bit complexity, or the transform subroutine's integer factor search and phase evaluation; no operation count is used as an accuracy bound.
Facts & Assumptions
Given: Countable Choice; a neutral finite source configuration on a full-rank cell; , , a finite admissible retained mode set ; integer mesh dimensions and ; valid finite Gaussian tail-controller indices ; and actual arithmetic radii for the finite computations.
Countable Choice is required by the Gaussian periodization and mean-zero periodic Poisson theorem (The Axiom of Countable Choice ()).
, , , the data are neutral, and source positions are distinct (Neutral point sources and Fourier data on a three-dimensional torus).
The exact off-source potential and renormalized energy are the absolutely convergent Ewald formulas with reciprocal coefficient and self term ; the exact particle force differentiates the real and reciprocal Ewald terms under the collision-free convention (The alpha-independent Ewald potential and renormalized energy, Explicit real and reciprocal Ewald potential, energy, and force tail bounds).
The finite real/reciprocal Ewald omissions are bounded by the displayed formulas, and replacing each by gives a finite certified upper bound (Explicit real and reciprocal Ewald potential, energy, and force tail bounds).
The reciprocal particle-mesh potential, energy, and force aliases have the deterministic pointwise/per-particle bounds in Deterministic reciprocal particle-mesh Ewald potential, energy, and force bounds; the optional self-corrected energy/force branch has its corresponding improved retained-mode bounds there.
A full-rank lattice has only finitely many points in a bounded ball; equivalently implies (Full-rank lattices, covolume, and the dual lattice).
The radii bound the actual finite arithmetic outputs' differences from the exact-real finite truncated expressions defined in the Statement (given arithmetic enclosure interface).
Differentiating the finite source coefficient gives by the chain rule and sine/cosine derivatives (The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with , The derivatives of sine and cosine are cosine and minus sine, Neutral point sources and Fourier data on a three-dimensional torus).
In the formal exact-constant model, an arbitrary-length one-dimensional DFT is exact and costs arithmetic operations at length ; integer factor search and interval/phase evaluation are excluded (Arbitrary-length mixed-radix and Bluestein DFT, Mixed-radix and Bluestein reductions compute every finite DFT in O(N log N) arithmetic).
Proof
From [F1], , so implies . Only finitely many integer vectors lie in that bounded ball by [F5]. Therefore and are finite, and all missing in-ball sums in the Statement are finite.
Choose as in the Statement. The finite Gaussian controllers bound the exact real and reciprocal shell tails by [F3], giving .
For each omitted in-ball mode , and give potential magnitude at most . Its energy term is . By [F7], differentiating its finite reciprocal energy term gives exact force , whose magnitude is at most . Summing these inequalities over the finite omitted set accounts for every in-ball mode, including modes excluded by Nyquist restrictions.
The retained-mode mesh errors are bounded by [F4]. In the uncorrected energy branch this is ; in the corrected branch it is . The force contributions are the corresponding and sums in [F4], and the retained potential contribution is .
The exact Ewald series is the sum of the full real-space term, all retained reciprocal modes, all in-ball omitted reciprocal modes, and the reciprocal tail beyond , with the exact self constant in the energy. The finite approximations include the real terms through , the selected mesh approximation on , and that same self constant. Thus their exact-real differences split into the real cutoff tail, the reciprocal shell tail, the finite omitted in-ball terms, and the retained mesh alias/differentiation error. Step 1.2 bounds the real and reciprocal cutoff tails, step 1.3 accounts for every omitted in-ball mode, and step 1.4 bounds the retained mesh error. By [F3], [F4], and the triangle inequality, the absolute values or norms of these parts sum to the first terms displayed in each .
The arithmetic assumptions [F6] give , , and . Applying the triangle inequality to step 2.1 yields the three stated certificates. If an arithmetic radius is unavailable, the corresponding inequality has no supplied numerical right-hand side and no certificate is returned.
For fixed , the finite support enclosure gives at most candidates per coordinate. Thus each particle's spread and potential/force gathers use support tuples; grid initialization costs and is absorbed by the transform count. A tensor transform along coordinate consists of one-dimensional transforms of length . By [F8] this costs , and summing over the three coordinates gives . The uncorrected computation uses one forward transform and at most two inverse/gather transforms. The finite real-image and mode/controller loops contribute by definition, proving the stated total count. The optional correction adds one transform to form its cyclic kernel and at most support-pair products per particle, which gives its stated cost. The arithmetic radii are certified separately and do not follow from this operation count.
Certified three-dimensional particle-mesh Ewald evaluator
Definition
Assume Countable Choice. Inputs are a full-rank real cell matrix , a finite
neutral configuration of pairwise-distinct torus positions and real
charges , an Ewald parameter , cutoffs , integers
, an order , a mesh-self-correction flag, an optional off-source
query point , requested nonnegative tolerances for each requested output,
and integer controller indices ,
, and . The inputs must satisfy
and
for the shell controllers. The arithmetic
interface is one fixed instance of
Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add,
with representable set and certified outward enclosures for every
finite arithmetic node, elementary-function evaluation, transform phase, and
final arithmetic radius. There is an optional positive integer enclosure-work
cap , defaulting to when omitted. Each non-transform
validation, enclosure, or comparison request executes its supplied certificate
lookup/evaluation program for at most program
instructions, including control-flow steps. Its numerical primitives are exact
rational arithmetic/comparisons, fixed-format rounded operations, and reads of
finite supplied certificate data. Elementary functions
and refinement loops are implemented through these counted instructions, not
as uncapped oracle calls. On exhaustion, unavailable data, a nonfinite bound,
an uncertified required divisor or an unresolved comparison, return
arithmetic-inconclusive, except where an explicit cutoff, transform, or
window-denominator branch below names its more specific status. Do not retry
with larger budgets inside a run. A larger cap may be supplied for another
run; no accepted enclosure loses its required soundness. Supplied finite
certificate data and the cap are part of the arithmetic interface, so this
rule does not impose a precision or accuracy restriction on successful outputs. Every particle and optional query point also has a
certified representative interval in after reduction modulo the
cell. Transform calls use common controls: an exact rational phase tolerance
with , integer exponent limits ,
integer precision , finite integer cap , integer
elementary-series cap , and integer radix-two depth
required by
Arbitrary-length mixed-radix and Bluestein DFT. Every vector passed to a
transform has real and imaginary coordinates in , and the outward
enclosures include phase and arithmetic errors from the entire transform call.
If is certified, return nonneutral. Otherwise check
neutrality, distinctness, full rank, valid scalar/integer controls, and the
required input enclosures using the bounded interface above. A certified
violation of these input conditions returns invalid-input; unavailable or
unresolved evidence returns arithmetic-inconclusive. If a query point is
certified to be a source image, return collision for that potential query;
if its off-source status is unresolved, return arithmetic-inconclusive.
A controller inequality that is certified false is invalid-input; an
unresolved one is arithmetic-inconclusive.
-
Compute a certified outward upper bound for and set . Enumerate every integer triple in the finite box . For each nonzero , compute a certified interval for and an interval for . Include in if , exclude it if , and return
cutoff-inconclusiveif neither comparison is certified. Retain from exactly the signed modes satisfying for every coordinate and store them in . This set is finite, symmetric and injective modulo the mesh. Every other mode in is kept in the finite omitted-mode ledger ; it is never assigned zero error. -
Initialize the full grid to zero. Use each particle's supplied certified representative interval . For each coordinate , enclose by ; if , return
arithmetic-inconclusive. Enumerate every integer from through . This finite list contains every translate with and has at most entries. For every triple , evaluate , reduce modulo to the grid residue , add the term to , and store the particle's finite support tuples for later gathers. This Cartesian list computes the periodic assignment exactly because each integer is uniquely . Accumulate all terms that wrap to the same residue; when , do not drop duplicate contributions. The support is the causal predecessor support of the window, not an unspecified symmetric nearest-node rule. -
For each coordinate fiber, call Arbitrary-length mixed-radix and Bluestein DFT with the supplied common transform controls on its representable center vector. If an input cannot be represented, a call returns any
inconclusiveorrange-failurestatus, or a normalization scale fails, returntransform-inconclusiveand retain that substatus. Apply the negative-sign unitary tensor DFT by dividing each returned unnormalised coordinate transform by , with outward enclosures for every scale operation. The required mathematical output convention is the unitary transform. The correctness-and-cost supplier proves the formal exact-constant transform identity; it is not used as a floating-point error bound. -
For each retained , form the window multiplier and obtain an outward lower bound for . If any lower bound is nonpositive, return
denominator-inconclusivewithout division. Otherwise set Use the conjugated denominator forced by the negative-sign DFT and the causal window. The signed mode representative is used in every window factor; residues are used only as storage indices. -
For every tensor-transform call in this step, use Arbitrary-length mixed-radix and Bluestein DFT with the same model and controls as in Step 3, divide each coordinate output by , and propagate a failed or unrepresentable subcall or failed normalization as
transform-inconclusive. Form mode arrays on the full mesh-frequency grid, placing retained signed modes in their unique residues and setting all other entries to zero. Set on . Apply the per-coordinate unitary normalization to the negative-sign tensor DFT of , conjugate the output, and multiply by ; the inverse-transform target array is . If a query point was supplied, use its supplied representative and the finite-support routine of Step 2 to compute the off-source mesh potential . For forces set on , zero elsewhere, and apply the same per-coordinate normalization to its negative-sign tensor DFT, then multiply by to form . Evaluate by differentiating the finite support products on the selected mesh box and applying ; aggregate all tuple derivative contributions by residue, retaining duplicate wraps. Then , gathering only the at most candidate support contributions per particle. For at a knot, use the one-sided derivative from the adjacent box immediately to the right in each knot coordinate (box index modulo ), consistently for the full derivative vector and both correction factors. Determine this right-hand mesh-box index by the bounded certificate interface, allowing a supplied exact knot equality; if its floor/branch cannot be certified, returnarithmetic-inconclusive. This is the selected branch from the assignment definition and is not asserted to be a classical gradient. Computed enclosures retain outward bounds on residual imaginary parts. The mesh energy is .If mesh-self correction is enabled, place on retained residues and zero elsewhere. Apply the same normalized negative-sign tensor DFT to and multiply by to form the cyclic kernel . For each particle evaluate over all support-residue pairs, retaining duplicate-wrap contributions, and set . Replace the mesh energy by . Replace the uncorrected force by , using the same selected derivative branch. The equality of this finite cyclic-kernel computation with the correction and its branch derivative is proved in Deterministic reciprocal particle-mesh Ewald potential, energy, and force bounds. Outward enclosures include the kernel transform, local products, derivative-window factors, and subtraction.
-
For each query/particle pair and particle pair, use certified representatives . If , then . Compute an outward upper bound for the right-hand side, set , and for each required query or particle pair enumerate every integer index in . For each candidate compute an outward interval for its image distance and an interval for ; include the image if , exclude it if , and return
cutoff-inconclusiveotherwise. Use these finite lists to compute the real potential when requested, real energy, and real force, excluding exactly the own zero-image term from energy and force before any singular kernel division. For every other retained image certify a positive lower distance bound before dividing; otherwise returnarithmetic-inconclusive. Keep the force convention as the finite sum of differentiated retained pair kernels; do not differentiate the hard-cutoff membership indicator. Add the ordinary Ewald energy constant to the total energy. The point-source potential is only returned off all source images. -
Compute and ; if either floor is not determined by its certified enclosure, return
cutoff-inconclusive. Construct finite real and reciprocal shell controllers with the supplied . For each retained mode, compute outward bounds for and by summing the source/derivative alias terms through and adding the supplier's finite p-series remainders; for , use its finite derivative-window controller. Use for the declared analytic-window gather in both force branches; place all finite arithmetic errors in the supplied radii . Include every omitted mode in and the mesh-self correction if enabled. Add the actual outward arithmetic radii for all spread, transform, solve, gather, summation, and correction nodes. The outward enclosures for finite controllers themselves use the bounded enclosure interface above; its name does not authorize an unbounded oracle or refinement search. If a required arithmetic radius or controller enclosure is unavailable, returnarithmetic-inconclusive. Otherwise retain the computed intervals and total error radii for the final output. Use the same bounded interface for tolerance comparisons: returncertifiedwhen every requested radius is certified to meet its tolerance,certified-over-tolerancewhen at least one is certified to exceed it, andarithmetic-inconclusiveif neither decision is certified. The total-certificate theorem proves the error bounds and formal operation-count properties for this evaluation; operation counts do not certify accuracy.
The certified particle-mesh Ewald evaluator terminates with finite outputs or an explicit status
Statement
Assume Countable Choice and use the finite input data and arithmetic interface
of Certified three-dimensional particle-mesh Ewald evaluator, with its finite positive
, finite indices , and transform controls
.
Every execution terminates, either with a declared failure/inconclusive status
(including the potential-query collision status), or with finite computed
intervals and error radii labelled certified or
certified-over-tolerance. Missing or unresolved evidence cannot force an
unbounded refinement search and cannot yield an accuracy certificate.
Once Steps 1 and 6 have obtained their finite integer bounds , the reciprocal candidate list has at most triples and each real-pair candidate list has at most triples. Each particle or query has at most assignment-support tuples. There are at most four tensor transforms, including mesh-self correction, each consisting of one-dimensional calls. The optional correction uses at most support-pair terms. These finite bounds do not require the requested tolerances to be achievable. On either valid final-output branch, the error radii retain the guarantees of Total deterministic Ewald and particle-mesh error certificate for the same potential, energy, force, and optional mesh-self correction.
Facts & Assumptions
Given: A finite source count , a finite optional query, the input controls and bounded enclosure programs specified by the evaluator. Countable Choice is assumed for its Ewald error suppliers; the termination argument uses only finite enumerations and integer induction.
Certified three-dimensional particle-mesh Ewald evaluator: every non-transform validation/enclosure/comparison request is capped at counted program instructions, including control flow; failed or unresolved requests return their specified status. Its integer boxes, support loops, tensor calls, correction pairs, and fixed controller truncations are the displayed instructions.
Certified dyadic enclosures for unit-circle phases tries only and uses series through and two fixed elementary expression DAGs in each attempt. Certified range evaluation for elementary real and complex functions evaluates a finite DAG once in topological order, with fixed series degree, finite domain pieces and finite canonical trigonometric-cell lists, returning a status on an unresolved piece. Its square-root endpoints use Exact dyadic bisection for square-root endpoints with request , and its arithmetic and endpoint conversions follow Outward-rounded interval, rectangle and ball operations and Dyadic floating-point format and directed rounding.
Computed unitary radix-two FFT with certified twiddle phases decrements its nonnegative depth cap on recursive calls and otherwise returns at the cap. The cyclic mode of Computed FFT cyclic convolution and zero-padded linear convolution makes three such FFT calls and finitely many pointwise operations. All rounded scalar arithmetic has the success or range-failure behavior of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add.
Arbitrary-length mixed-radix and Bluestein DFT has base length one, power-of-two calls to [F3], composite calls at proper factor lengths, and a prime branch padded to the least power of two at least , using only the cyclic convolution in [F3] and the phases in [F2].
Causal cardinal spline window defines by a finite sum of truncated-power terms. The assignment and derivative suppliers provide the corresponding finite polynomial/one-sided derivatives and finite alias controllers, including the separate branch (Periodic cardinal-spline assignment and unitary mesh transform, Exact three-dimensional spline assignment aliases and FFT normalization, Derivative-window alias bounds including the P=2 knot branch).
Uniform lattice-shell counts and explicit Gaussian tail controllers defines by a sum from through and four integral-controller terms , with depending only on . The finite alias remainders in [F5] are explicit formulas, not remaining infinite-series evaluations.
Total deterministic Ewald and particle-mesh error certificate proves the potential, energy, and force radii, for both self-correction branches, conditional on the actual outward arithmetic enclosures. It is used here only after termination has been proved, not to infer termination from a conditional work count.
Proof
Each non-transform request [F1] either returns its supplied certified data or consumes at most the positive finite instruction budget and exits. Each counted instruction on finite rational data or fixed-format operands terminates, with the model's range-failure outcome when appropriate. Thus no request can perform unbounded precision refinement, wait for an undecided equality, or search until a valid radius appears. Initial validation uses finitely many particle pairs and scalar/integer conditions. It either exits with a declared status, or supplies the finite data needed by the first step.
A phase call has at most precision attempts by [F2]. At each attempt the Machin sums have terms and rational tails. Its elementary DAGs are finite. Topological sorting removes a node at each successful iteration or reports a cycle, so it finishes. For every finite positive-endpoint logarithm interval, only finitely many dyadic bins lie between its endpoints; arctangent uses at most seven fixed pieces. For sine/cosine the algorithm computes finite when and examines only , otherwise returning a status. Every series has its fixed truncation degree; the exponential squaring count is the finite integer . Square-root endpoint bisection starts with integer gap and at each iteration replaces it by at most its ceiling half, so at most iterations suffice. Directed conversion of a rational endpoint searches a finite representable set using integer comparisons. All other rational endpoint arithmetic terminates, and unresolved domains or nonfinite conversions return statuses. Therefore each elementary call and each capped phase call terminates, including when its requested phase tolerance is unmet.
Induction on the integer proves termination of each radix-two call: length one returns directly, depth zero at larger length returns inconclusive, and otherwise its two children have depth . Each finite butterfly list uses only scalar operations and the terminating phase calls of step 1.2. An inverse call adds only two finite conjugations around its forward call. Hence a radix-two call has a finite binary recursion tree, of at most nodes. A cyclic convolution has just three such calls and a finite list of products/scalings, so it terminates too.
In Step 1 of the evaluator, obtaining the finite bound either succeeds in bounded work or exits by step 1.1. Its outward endpoint has an exactly computable integer ceiling . The box has integer triples; each distance/cutoff decision uses a bounded request and either includes, excludes, or returns cutoff-inconclusive. Retained-mode restrictions are finite integer comparisons. Thus both the retained set and omitted-mode ledger are constructed in finite work. Their symmetry, strict mesh restrictions and injection modulo the mesh are preserved because successful comparisons certify the exact radial membership: two strictly interior signed representatives differing by a mesh multiple must coincide coordinatewise.
In Step 2, if an assignment-coordinate interval has width greater than one, the stated exit occurs. Otherwise its integer support endpoints are finite, and the interval from to has length at most . Any interval of length at most contains at most integers, so the triple list has at most entries. The finite formula for in [F5] uses integer powers, factorials, binomial coefficients, and summands, all finite for the given integer . Each arithmetic/enclosure request terminates by step 1.1. Reduction modulo each positive and accumulation keep duplicate wraps rather than starting another loop. The same proof applies to the optional query support and to the finite polynomial derivatives. If a selected right-hand box cannot be certified within its budget, the explicit arithmetic-inconclusive branch returns; an exact knot certificate selects the same one-sided derivative in both correction factors.
In Step 6 the bounded request for either exits or gives a finite ceiling . For each needed pair the box has candidates. There are at most query/source pairs and particle pairs for each of the energy and force sums. For a true retained image, gives , so the box misses none. Each candidate uses a bounded include/exclude/cutoff-inconclusive test. The own zero-image term is omitted before singular kernel evaluation; every other kernel division requires a certified positive distance bound or exits. Its elementary values and finite derivative arithmetic use step 1.1. The real potential, energy, force and ordinary Ewald self constant thus finish, without differentiating the cutoff indicator.
For arbitrary transform length , trial division can examine and thus terminates. A composite non-power-of-two branch has factors , makes length- calls and length- calls, and a finite twiddle list. Strong induction on proves these calls terminate, with length one the base case. A power of two uses step 2.1. At a prime, start at one and double until the padding length is at least . This search is finite since by integer induction, and its least resulting power satisfies . There are finitely many chirp phases, one cyclic convolution of length , and finitely many final products; steps 1.2 and 2.1 finish them. Thus all transform calls terminate with their actual supplied caps; no sufficient-depth or phase-success assumption is needed.
Step 7's floor requests terminate or return cutoff-inconclusive. With determined floors, [F6] constructs the real controller using summands and the reciprocal controller using summands, plus four terms apiece. The recurrence reduces by two and stops at zero or one; no search for larger is performed. For each of finitely many retained modes, each one-dimensional source/derivative alias sum through has terms, followed by the explicit p-series remainder. Their tensor products need no infinite summation; even a direct finite triple list would have at most entries. For , [F5] instead supplies the finite derivative-window bound. The omitted ledger is finite by step 2.2. All controller elementary values, arithmetic radii and final sums are bounded requests under step 1.1. This proves finite construction or an explicit arithmetic-inconclusive exit.
The full grid has finite size . Each tensor transform has exactly coordinate fibers in direction ; every one-dimensional call terminates by step 3.1. Step 3 uses one tensor transform; Step 5 uses at most one potential transform, one force transform, and one optional kernel transform. Thus there are at most four tensor transforms, with finitely many normalizations. Failed calls/scales return transform-inconclusive; bounded denominator certification in Step 4 returns denominator-inconclusive before an unsafe division. Retained-mode and grid array construction are finite. All gathers visit the finite supports from step 2.3, and self correction visits at most ordered tuple pairs per particle. These polynomial products, derivatives and finite sums therefore terminate while retaining the same energy, force, and diagonal correction formulas.
Finally there are finitely many requested output radii and tolerance comparisons. Each is bounded by [F1]; proven satisfaction gives certified, proven excess gives certified-over-tolerance, and an unresolved decision returns arithmetic-inconclusive. Steps 1.1–3.2 prove that every preceding branch or subcall finishes; their finite concatenation therefore terminates with the stated record. Divisor, branch and enclosure checks prevent undefined successful outputs. On a valid final-output branch the unchanged arithmetic-enclosure assumptions and finite formulas meet [F7], so its potential, energy, force and optional self-correction error guarantees apply. No work-count premise was used to infer termination.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Markus Deserno and Christian Holm, How to mesh up Ewald sums (I): A theoretical and numerical comparison of various particle mesh routines (1998)
- Multi-Level Ewald: A hybrid multigrid / Fast Fourier Transform approach to the electrostatic particle-mesh problem (2011)
- Hark Lee and Wei Cai, Ewald Summation for Coulomb Interactions in a Periodic Supercell (2009 lecture notes)
- Cameron F. Abrams, Modern Molecular Simulations (CHE T580, 2021 lecture notes)
- Multi-Level Ewald: A hybrid multigrid / Fast Fourier Transform approach to the electrostatic particle-mesh problem (full-text article, 2011)
- Lior Silberman, Fourier Series and the Poisson Summation Formula (Math 613 lecture notes)