Source: Integration at 605cbc581c27.

Open-source integration work after Rubi 4.17.3.0#

Use the released Rubi profile as the reference. A supplement has its own identity and priority. Consumers can enable it after the released rules. Keep its applications and test results identifiable in a trace. This survey covers the following specific upstream contributions.

Source and change examinedDecision
SymbolicIntegration.jl special-function implementation and testsInclude four Airy rules and six one-step examples. No Airy head appeared in the released rule sources or the distributed OSR tests.
SymbolicIntegration.jl Bessel and Hankel rulesInclude six positive-real moment rules for J, Y and first-kind Hankel, with nine conformance cases. Scope and guards
SymbolicIntegration.jl integer-order cylinder testsInclude all 12 cylinder-function integral assertions as independent benchmarks. Five exercise modified Bessel I, K or second-kind Hankel. Test vectors and reproduction
SymPy manualintegrate rules and regression testsInclude six integration problems with reference primitives. None of the six input trees occurred among the 72,523 distributed examples after sorting scalar sum and product operands. Product-to-sum and completing the square already have mathematical precedents. The new inputs exercise their composition.
Symja Rubi port and later independent test fixesThe generated port overlaps Rubi. The later changes include dispatch, unsupported substitutions and evaluation of RootSum. These supply engine regression candidates. No portable additional identity was established from these changes.
REDUCE limit on work in tidysqrtA resource limit belongs in an engine benchmark with a budget.

Airy rules#

The supplement manifest references four directed integrations. For either standard Airy solution F = Ai or Bi, integrate F′(a + bx) to F(a + bx)/b when a and b are independent of x and b is nonzero. If a guard is false or unknown, decline the rewrite. Integrate x F(x) to F′(x) by the equation F″(x) = x F(x). Both solutions are entire. The statements are valid over real or complex arguments, up to an additive constant. The experimental OpenMath Airy dictionary specifies the derivative order as the first operand of Ai2 and Bi2. Pinned CAS implementation · OpenMath airy · DLMF §9.2

The six OSR fixtures cover both signs of the affine slope and both first moments. Each records one direct application of the supplement. Rubi supplied no step count for them. The import retains the upstream MIT notice.

SymPy regressions#

The six examples contain stable IDs, OSR-Expr integrands, the integration variable and reference primitives. Four pair sine or cosine of x² with sine or cosine of x. Two integrate x times sine or cosine of x²+x. The primitives use the standard Fresnel C and S normalization, with integrands cos(πt²/2) and sin(πt²/2). Product-to-sum followed by completing the square gives primitives equivalent up to a constant. SymPy source tests · DLMF §7.2 · Upstream license

These test-only vectors use the existing OSR expression syntax. Their container records source, revision and path. The official v0.1 test-file schema requires an integer step count and SymPy’s tests assert a primitive without recording a Rubi trace. Keep these vectors outside that manifest. Benchmarks can identify them by source revision and case ID and compare differentiated outputs.

Checks#

Run just test to check the rule trees, guards, fixture assignments and numerical derivatives. Airy and Fresnel examples cover three real arguments. The checks use only the Python standard library. Symbolic differentiation was also checked with SymPy 1.14.0 for all four general formulas and the twelve Airy and Fresnel examples. The four Airy and six Bessel/Hankel rules have formal verification status unproved. Promote a supplemental rule to the v1 verification catalogue only after its symbol mapping, hypotheses and theorem agree with the source.