Course Test

Findings

Every exercise in the Course Test where RatMath's answer is not simply the independent answer: disagreements and errors first, then partial answers, then the gaps.

Fixes

The bugs the test found, and the helpers it showed were missing, are fixed in these pull requests. The first eight are merged; the rest come from the follow-up roadmap and the pages are built against their branches until they merge. The exercises below show the fixed behaviour.

Pull requestWhat it fixesExercises
ratmath/stats#7textbook quartiles (method: "halves", "tukey"); finite distributions accept Core's IntegerGrade 6: ratios, negative numbers and expressions 19, Probability 12
ratmath/algebraic#9the arithmetic reads plain numbers, so sqrt(48) worksGrade 8: linear equations, functions and the Pythagorean theorem 4, Grade 8: linear equations, functions and the Pythagorean theorem 15, Number theory 18
ratmath/geo#10dot and cross exportedPrecalculus and trigonometry 10
ratmath/symbolic#8improper integrals: "inf" ends and integrands unbounded at an endCalculus II 7, Calculus II 8, Real analysis 14
ratmath/analytic#18exact starting values, pointwise limits, sec/csc/cot, integrating factors with 1/∣x∣1/|x|, ODESolution exportedOrdinary differential equations 5, Ordinary differential equations 11, Real analysis 15, Topology 7
ratmath/numtheory#9egcd, gcd, isqrt and friends read any whole numberNumber theory 1
ratmath/chaos#8the escape test compares sizes, so long bounded orbits are not refusedDynamical systems and chaos 6
ratmath/finance#6parity takes enclosed pricesFinancial mathematics 16
ratmath/numtheory#10factorialValuation (Legendre's formula)Number theory 19
ratmath/structures#6sign/isEven of a permutation; Gauss–Wantzel inside constructible; chainComplex and homologyAbstract algebra I: groups 3, Abstract algebra II: rings, fields and Galois theory 18
ratmath/complex#7cauchyRiemann(u, v)Complex analysis 8
ratmath/stats#8summaries in meanInterval/varianceInterval; closed-form power and sampleSize; fromDensity, transform and orderStatisticHigh-school statistics (AP Statistics) 15, Probability 7, Probability 17, Probability 18, Mathematical statistics 6, Mathematical statistics 14, Mathematical statistics 15
ratmath/geo#11measurement helpers, 3D vector and plane, conicProperties; topology: surface, simplicialComplex, finite spacesGrade 7: proportional reasoning and rational numbers 16, Grade 8: linear equations, functions and the Pythagorean theorem 9, Geometry (high school) 4, Geometry (high school) 11, Geometry (high school) 14, Precalculus and trigonometry 15, Precalculus and trigonometry 16, Calculus III: several variables and vector calculus 1, Calculus III: several variables and vector calculus 2, Topology 1, Topology 9, Topology 10, Topology 11, Topology 12, Topology 14, Topology 18, Topology 20
ratmath/analytic#19termsForError, newton(..., { exact: true }), darboux, pde.classify, gradientDescentCalculus I 15, Real analysis 6, Real analysis 13, Partial differential equations 1, Optimisation 18
ratmath/algebraic#10toFixed(k, mode) on algebraic numbersGrade 8: linear equations, functions and the Pythagorean theorem 4
ratmath/discrete#7transportation, binary option on integerProgram, coreVerticesGame theory 12, Optimisation 7, Optimisation 9
ratmath/symbolic#9completeSquare, compose, sinusoid, inverse trig values, within, RealSet operations and chained inequalities, implicitDiff, leibniz, constant factors in sumAlgebra I 3, Algebra I 15, Algebra II 17, Precalculus and trigonometry 3, Precalculus and trigonometry 6, Precalculus and trigonometry 7, Calculus I 7, Calculus I 18, Fourier analysis and transforms 6
ratmath/analytic#20nFor, deltaFor and verifyCertificate; supremum, limsup, liminf; limits of f(n)g(n)f(n)^{g(n)}; uniform convergence decided both ways; pde.transport; exact finite-mode Laplace solutionsReal analysis 2, Real analysis 3, Real analysis 5, Real analysis 9, Real analysis 16, Real analysis 17, Real analysis 20, Fourier analysis and transforms 18, Partial differential equations 2
ratmath/symbolic#10eliminate (resultants over sin and cos) and reverseOrderPrecalculus and trigonometry 17, Calculus III: several variables and vector calculus 9
ratmath/chaos#9lyapunovExponent: the exponent as a certified integral against the invariant densityDynamical systems and chaos 6
ratmath/discrete#8genus of a graph by rotation systemsTopology 15
ratmath/chaos#10neutral fixed points classified beyond the linear test (nonlinear, by the Schwarzian derivative)Dynamical systems and chaos 1
ratmath/stats#9fromDensity says where its nonnegativity proof stops
ratmath/core#15digits/placeValue, US coins, toClock (its roundInteger was folded into round in Core 0.12)Grades K–2: number sense and early arithmetic 6, Grades K–2: number sense and early arithmetic 11, Grades K–2: number sense and early arithmetic 12
ratmath/core#16Core 0.12: round/floor/ceil/trunc return Integers, rounding defaults to half up, rounding(mode) roundersGrades K–2: number sense and early arithmetic 8

Packaging, not mathematics: @ratmath/chaos asks for @ratmath/complex ^0.2.0 while complex is at 0.3.0, and @ratmath/symbolic asks for @ratmath/structures ^0.1.0 while structures is at 0.5.0. Both ranges are being raised in ratmath/chaos#7 and ratmath/symbolic#7.

Disagreements (0)

None.

Errors (0)

None.

Partial answers (1)

PartlyTopology 7
Fixed point theorem
The certified fixed point of cos⁡\cos is found (since the analytic fix the exact start "1/2" works). The general statement is a proof by the intermediate value theorem, given in the answer; RatMath does not check proofs, so this counts as partial.
Fix: ratmath/analytic#18, exact starting values, pointwise limits, sec/csc/cot, integrating factors with 1/∣x∣1/|x|, ODESolution exported

Gaps: what the libraries can't do yet (4)

Can't yetTheory of computation 10
Pumping lemma
Proofs about all words are out of reach; the code only shows the minimal DFA for the finite pieces n≤Nn \le N growing with NN, which is evidence, not the pumping argument.
Can't yetTheory of computation 15
The halting problem
No computation can stand in for the diagonal argument; run with a budget reports running, as the documentation says it must.
Can't yetTopology 3
A bounded metric
Proofs are out of reach; the code only spot-checks the triangle inequality on a few rationals (it holds).
Can't yetTopology 4
Connectedness and compactness
These are statements about all open covers and all separations; nothing in RatMath decides them.