Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-generatedPipeline-generatedprecheck pass
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.

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 Bencl, finite indices JR,JK,JA, and transform controls τ,emin⁡,emax⁡,p0,pmax⁡,Jphase,dmax⁡. 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 NK,NR, the reciprocal candidate list has at most (2NK+1)3 triples and each real-pair candidate list has at most (2NR+1)3 triples. Each particle or query has at most (P+2)3 assignment-support tuples. There are at most four tensor transforms, including mesh-self correction, each consisting of ∑r=13Ng/Mr one-dimensional calls. The optional correction uses at most n(P+2)6 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 n≥0, 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.

[F1]

Certified three-dimensional particle-mesh Ewald evaluator: every non-transform validation/enclosure/comparison request is capped at Bencl 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.

[F2]

Certified dyadic enclosures for unit-circle phases tries only p0,…,pmax⁡ and uses series through Jphase 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 n=p, and its arithmetic and endpoint conversions follow Outward-rounded interval, rectangle and ball operations and Dyadic floating-point format and directed rounding.

[F3]

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.

[F4]

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 2N−1, using only the cyclic convolution in [F3] and the phases in [F2].

[F5]

Causal cardinal spline window defines WP by a finite sum of P+1 truncated-power terms. The assignment and derivative suppliers provide the corresponding finite polynomial/one-sided derivatives and finite alias controllers, including the separate P=2 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).

[F6]

Uniform lattice-shell counts and explicit Gaussian tail controllers defines U3(β,M,J) by a sum from M through J and four integral-controller terms I0,…,I3, with Is depending only on Is−2. The finite alias remainders in [F5] are explicit formulas, not remaining infinite-series evaluations.

[F7]

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

1.1givenF1F3algebra

Each non-transform request [F1] either returns its supplied certified data or consumes at most the positive finite Bencl 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.

1.2F2givenalgebra

A phase call has at most pmax⁡−p0+1 precision attempts by [F2]. At each attempt the Machin sums have Jphase+1 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 K=⌈2MX/p−⌉+1 when p−>0 and examines only −K,…,K, otherwise returning a status. Every series has its fixed truncation degree; the exponential squaring count is the finite integer max⁡(0,emax⁡+2). Square-root endpoint bisection starts with integer gap 2p+1 and at each iteration replaces it by at most its ceiling half, so at most p+1 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.

2.1F2F3step 1.2algebra

Induction on the integer dmax⁡ 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 dmax⁡−1. 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 2dmax⁡+1−1 nodes. A cyclic convolution has just three such calls and a finite list of products/scalings, so it terminates too.

2.2F1step 1.1algebra

In Step 1 of the evaluator, obtaining the finite bound BK either succeeds in bounded work or exits by step 1.1. Its outward endpoint has an exactly computable integer ceiling NK. The box has (2NK+1)3 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.

2.3F1F5step 1.1algebra

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 a−−P to a+ has length at most P+1. Any interval of length at most P+1 contains at most P+2 integers, so the triple list has at most (P+2)3 entries. The finite formula for WP in [F5] uses integer powers, factorials, binomial coefficients, and P+1 summands, all finite for the given integer P. Each arithmetic/enclosure request terminates by step 1.1. Reduction modulo each positive Mr 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 P=2 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.

2.4F1step 1.1algebra

In Step 6 the bounded request for BR either exits or gives a finite ceiling NR. For each needed pair the box has (2NR+1)3 candidates. There are at most n query/source pairs and n2 particle pairs for each of the energy and force sums. For a true retained image, ∣ta−tb∣≤3 gives ∣ℓ∣≤∥A−1∥2R+3≤BR, 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.

3.1F4step 1.2step 2.1algebra

For arbitrary transform length N, trial division can examine 2,…,N−1 and thus terminates. A composite non-power-of-two branch has factors 1<r,s<N, makes r length-s calls and s length-r calls, and a finite twiddle list. Strong induction on N 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 2N−1. This search is finite since 2j≥j+1 by integer induction, and its least resulting power M satisfies M<4N. There are finitely many chirp phases, one cyclic convolution of length M, 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.

3.2F1F5F6step 1.1step 2.2algebra

Step 7's floor requests terminate or return cutoff-inconclusive. With determined floors, [F6] constructs the real controller using JR−MR+1 summands and the reciprocal controller using JK−MK+1 summands, plus four Is terms apiece. The Is recurrence reduces s by two and stops at zero or one; no search for larger JR,JK is performed. For each of finitely many retained modes, each one-dimensional source/derivative alias sum through 1≤∣j∣≤JA has 2JA 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 (2JA+1)3 entries. For P=2, [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.

4.1F1F4F5step 1.1step 3.1step 2.2step 2.3algebra

The full grid has finite size Ng=M1M2M3. Each tensor transform has exactly Ng/Mr coordinate fibers in direction r; 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 (P+2)6 ordered tuple pairs per particle. These polynomial products, derivatives and finite sums therefore terminate while retaining the same energy, force, and diagonal correction formulas.

5.1F1F7step 1.1step 1.2step 2.1step 3.1step 2.2step 2.3step 4.1step 2.4step 3.2algebra∎

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.

Depends on

Used by

Nothing in the library uses this result yet.

Cited to discharge well-definedness by Certified three-dimensional particle-mesh Ewald evaluator.

Dependency tree · two levels

60 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