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.
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.
Depends on
- Arbitrary-length mixed-radix and Bluestein DFT
- The Axiom of Countable Choice ($\mathrm{AC}_\omega$)
- Periodic cardinal-spline assignment and unitary mesh transform
- Neutral point sources and Fourier data on a three-dimensional torus
- Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add
- Deterministic reciprocal particle-mesh Ewald potential, energy, and force bounds
- Total deterministic Ewald and particle-mesh error certificate
- Mixed-radix and Bluestein reductions compute every finite DFT in O(N log N) arithmetic
Used by
Dependency tree · two levels
42 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Multi-Level Ewald: A hybrid multigrid / Fast Fourier Transform approach to the electrostatic particle-mesh problem (2011) (standard reference, not scraped)
- Markus Deserno and Christian Holm, How to mesh up Ewald sums (I): A theoretical and numerical comparison of various particle mesh routines (1998) (standard reference, not scraped)