R/MRatCalcpowered by RiX

RiX walkthrough 14 b

Certified Cauchy sequences in RiX

Use pure RiX rational terms and effective tail bounds to build certified real enclosures.

The plugin itself is written in RiX, so the same definitions run in the CLI, RiX Web, and RiX Notebook without a JavaScript plugin permission boundary.

A sequence is not yet a certified real

A bare rational sequence supports exact term inspection, but it has no effective information about where its limit lies:

Runnable RiX

The final status is :unsupported. Sampling more terms would be observation, not proof of a tail bound.

Supplying a tail bound and modulus

A certified sequence supplies term(n), a nonnegative error bound around that term, and a modulus choosing an index for a requested error radius:

Runnable RiX

RiX checks that the selected tail bound actually meets the requested radius. For arbitrary supplied functions, the global convergence claim remains an explicit constructor guarantee rather than a theorem inferred from source.

A verified geometric-series real

The built-in geometric constructor knows and verifies its exact remainder formula. It retains the sequence even though this particular limit is Rational:

Runnable RiX

At every row the exact limit 2 lies in the interval. Negative ratios use the same absolute remainder theorem and produce certified alternating examples.

Proof-carrying generated limits

A limit constructor makes the source of its global convergence claim visible. Evidence marked :assumed is rejected; a proof or constructor guarantee must provide both an exact tail bound and a modulus:

Runnable RiX

The Aitken delta-squared transform can accelerate a generated sequence, but the new sequence still needs its own limit proof. For geometric partial sums it collapses to the exact sum. A derived subsequence, by contrast, reuses the parent's effective tail information automatically:

Runnable RiX

Use Diagnose when a generator lacks effective tail information. Its sample is bounded observation, and its structured result states exactly what is missing:

Runnable RiX

Bounded refinement and Halo decisions

Refinement advances only while its exact work budget permits. The result keeps the best tail witness whether or not the requested width is reached:

Runnable RiX

With maxCalls=0, a relation not already proved by the initial enclosure remains undecided with :budgetExhausted evidence.

Arithmetic of certified Cauchy reals

Arithmetic results remain CauchyReal values. Effective same-family operands produce new sequences with exact computed moduli:

Runnable RiX

The Rational operand becomes an exact Cauchy-family leaf. Every computed term comes from an exact interval image of certified operand enclosures, and the derived tail bound is checked before it is returned. This can make an interval wider than a hand-optimized proof, but it never narrows away known truth.

Division and negative powers stay native only when the initial denominator certificate excludes zero. In the example, x/x crosses that conservative boundary because x initially encloses zero, so it uses the shared Oracle recipe. Oracle refinement can later separate zero; if it cannot do so within the work budget, the result is structured :unknown evidence.

Lazy terms and a paper-compatible funnel

Terms creates a bounded lazy sequence. The callback is evaluated only as elements are requested, and shallow copies keep their current cache but advance independently:

Runnable RiX

A certified effective sequence can also expose the paper-compatible refinement funnel used by Oracle. Both routes below preserve exact enclosing intervals and stop at the supplied call budget:

Runnable RiX