calculus-ai999x — offline, verified calculus solver with step-by-step answers
Install · Capability guide · Evaluation · AI999X on Hugging Face · Website · Support: Buy Me a Coffee
License: Apache-2.0 · Author: Ibnul Jaif Farabi (creator and engineer) · Organization: AI999X · Version 1.0.0
Field: Mathematics & Statistics · Tasks: Question Answering, Token Classification, Text Classification, Sentence Similarity, Feature Extraction
calculus-ai999x is an offline, deterministic Python solver that answers calculus questions with verified results from 71 certified capabilities, gives 374 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.
calculus-ai999x is a compact, deterministic calculus engine for Python. It reads a question in plain English (or a typed call), picks a certified calculus capability, computes the answer exactly, checks it, and returns the result with its steps, units, LaTeX and assumptions — or an honest refusal that says what is missing. It runs fully offline on any CPU, needs no GPU, no API key and no internet, and is built to give zero wrong answers: when it is not sure, it refuses instead of guessing.
Highlights
- Verified, not generated. Every answer is computed by a certified calculus capability and checked (substituted back, dimension-checked or compared with an independent computation) before it is returned.
- Zero wrong answers by design. Seven explicit outcomes — SOLVED, NEEDS_INPUT, AMBIGUOUS, INVALID_INPUT, OUT_OF_SCOPE, UNRECOGNIZED_FORMAT, INTERNAL_ERROR — never a silent guess. Every one of its 374 documented answers is reproduced exactly on every tested platform.
- Plain-English questions and a guaranteed typed interface.
ask()reads documented question forms;solve(capability_id, **inputs)always solves a supported task with valid inputs. - Explains itself. Steps, formulas in LaTeX, units, assumptions and the model used, ready for notebooks, tutoring apps and homework checkers.
- Small and portable. Pure Python (sympy, mpmath); identical answers on Windows and Linux (Python 3.10, 3.11, 3.12, 3.13, 3.14).
- Coverage: limits, derivatives, integrals, series, Taylor polynomials, multivariable and vector calculus, special functions and numerical differentiation and integration.
Model overview
| Property | Value |
|---|---|
| Package | calculus-ai999x 1.0.0 (import calculus_ai999x) |
| Type | Deterministic neuro-symbolic calculus engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 71 certified procedures |
| Knowledge pack | version 1.0.0 |
| Golden answers | 374 documented answers, identical on every tested platform |
| Platforms tested | Windows (Python 3.13), Linux x86-64 (Python 3.10, 3.11, 3.12, 3.13, 3.14) |
| Runtime | CPU only, offline; no GPU, no network, no API key |
| License | Apache-2.0 |
| Creator / engineer | Ibnul Jaif Farabi |
| Organization | AI999X |
Quickstart
pip install calculus-ai999x
# or straight from this repository:
pip install https://huggingface.co/AI999X/calculus-ai999x/resolve/main/dist/calculus_ai999x-1.0.0-py3-none-any.whl
import calculus_ai999x as calculus
calculus.ask("Find the limit of (x^2 - 4)/(x - 2) as x approaches 2.").show()
# -> SOLVED — limit = 4 (limit_at_point)
calculus.ask("Find the absolute maximum and minimum of x^3 - 3x on [0, 2].").show()
# -> SOLVED — absolute_max = 2, absolute_min = -2, critical_points = [1.0] (extrema_on_interval)
calculus.ask("Find the Taylor polynomial of degree 3 of exp(x) about x = 0 and evaluate it at x = 0.5.").show()
# -> SOLVED — coefficients = [1.0, 1.0, 0.5, 0.16666666666666666], value = 1.64583, function_value = 1.64872, error = 0.00288794 (taylor_polynomial)
calculus.ask("Find the line integral of F = (-y, x) along x = cos(t), y = sin(t) from t = 0 to t = 2pi.").show()
# -> SOLVED — line_integral = 6.28319 (line_integral_vector)
calculus.solve("definite_integral", f="x^2*exp(-x)", a=0, b=2).show()
# -> SOLVED — integral = 0.646647 (definite_integral)
calculus.ask("Who created you?").message
# -> calculus-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
Command line: calculus-ai999x "<question>", calculus-ai999x --capabilities. The outputs above were produced by running this exact code on calculus-ai999x 1.0.0.
How every answer is verified
- Reading — the question is turned into typed quantities (value, unit, kind, role) and one asked quantity; every stated number must be used or the question is refused.
- Planning — only certified capabilities may answer; a capability applies only under the conditions the wording states (for example a pendulum, a liquid at rest, boiling).
- Computing — exact symbolic or high-precision numeric evaluation.
- Checking — dimensions, substitution back into the defining equation, and agreement between independent readings; any disagreement becomes a refusal, never a number.
Capabilities are certified before they ship: each must reproduce hand-worked reference cases, reject a deliberately wrong variant (a control), and leave every benchmark answer unchanged.
Capabilities
71 certified procedures. A few of them:
- Procedures: Absolute extrema on a closed interval; Arc length of a graph; Arc length of a parametric curve; Area between two curves; Area enclosed by two curves; Area in polar coordinates; Average rate of change; Average value of a function; Bessel function of the first kind; Beta function; Centroid of a region under a curve; Chebyshev polynomial; Critical points and their classification; Curl; Curvature of a graph; Definite integral; Derivative at a point; Derivative of an integral (fundamental theorem); Directional derivative; Divergence; Double integral over a rectangle; Double integral over a region; Error function; Finite-difference derivative …
calculus_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.
All 71 formulas
Show every formula, by topic
Fourier series
Fourier coefficients
Derivatives
Derivative at a point
Higher derivative at a point
Implicit differentiation
Mean value theorem
Second derivative at a point
Derivatives / concavity
Inflection points
Derivatives / curvature
Curvature of a graph
Derivatives / linearization
Linear approximation
Derivatives / motion
Velocity and acceleration from position
Derivatives / optimization
Absolute extrema on a closed interval
Critical points and their classification
Derivatives / rates of change
Average rate of change
Derivatives / tangent and normal lines
Normal line
Tangent line
Integrals
Definite integral
Derivative of an integral (fundamental theorem)
Integrals / Riemann sums
Left Riemann sum
Right Riemann sum
Integrals / applications
Average value of a function
Integrals / arc length
Arc length of a graph
Integrals / area
Area between two curves
Area enclosed by two curves
Integrals / centroids
Centroid of a region under a curve
Integrals / improper integrals
Improper integral to infinity
Integrals / surface area
Surface area of revolution
Integrals / volumes of revolution
Volume of revolution (disk method)
Volume of revolution (shell method)
Volume of revolution (washer method)
Limits
Limit at a point
Limit at infinity
Multiple integrals
Double integral over a rectangle
Double integral over a region
Surface area of a graph
Triple integral over a box
Multivariable calculus
Directional derivative
Gradient
Partial derivative
Tangent plane
Multivariable calculus / change of variables
Jacobian determinant
Multivariable calculus / optimization
Second derivative test (two variables)
Numerical differentiation
Finite-difference derivative
Numerical integration
Gauss-Legendre quadrature
Midpoint rule
Simpson's rule
Trapezoidal rule
Numerical methods / root finding
Newton's method
Parametric curves
Arc length of a parametric curve
Slope and concavity of a parametric curve
Polar curves
Area in polar coordinates
Series
Partial sum of a geometric series
Ratio test
Sum of an arithmetic series
Sum of an infinite geometric series
Sum of an infinite series
Series / Taylor
Taylor polynomial
Special functions
Bessel function of the first kind
Beta function
Error function
Gamma function
Regularized incomplete gamma functions
Special functions / orthogonal polynomials
Chebyshev polynomial
Legendre polynomial
Special functions / series
Riemann zeta function
Vector calculus
Curl
Divergence
Green's theorem on a rectangle
Laplacian
Line integral of a vector field
Line integral with respect to arc length
Outward flux through a box (divergence theorem)
Out of scope
- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified calculus capabilities, and any question whose stated numbers it cannot all use — it refuses with the reason instead.
- High-stakes engineering, medical or legal decisions without independent review.
Limitations
- It answers what its certified capabilities cover (limits, derivatives, integrals, series, Taylor polynomials, multivariable and vector calculus, special functions and numerical differentiation and integration); anything else is refused with a reason.
ask()reads documented question forms and common phrasings; unusual wording may be refused — usesolve()for guaranteed results.- Results are as correct as the certified relations and their stated conditions; a certified relation is a checked model, not a claim about every physical situation.
Citation
@software{calculus_ai999x_1_0_0,
title = {calculus-ai999x: an offline, verified calculus solver},
author = {Farabi, Ibnul Jaif}, organization = {AI999X},
year = {2026}, version = {1.0.0},
url = {https://huggingface.co/AI999X/calculus-ai999x}
}
Contact
Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/calculus-ai999x/discussions or visit https://ai999x.com.
Support the project
calculus-ai999x is free and open source. If it helps you, you can support further development on Buy Me a Coffee.
Created and engineered by Ibnul Jaif Farabi · AI999X · ai999x.com
- Downloads last month
- 25
Collections including AI999X/calculus-ai999x
Evaluation results
- identical on every platform on Golden answers (374 documented questions, Windows + Linux Python 3.10-3.14)self-reported1.000