math-foundations-ai999x — offline, verified math foundations 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
math-foundations-ai999x is an offline, deterministic Python solver that answers math foundations questions with verified results from 119 certified capabilities, gives 625 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.
math-foundations-ai999x is a compact, deterministic math foundations engine for Python. It reads a question in plain English (or a typed call), picks a certified math foundations 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 math foundations 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 625 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: arithmetic, algebra, functions, exponentials and logarithms, trigonometry, precalculus and complex numbers.
Model overview
| Property | Value |
|---|---|
| Package | math-foundations-ai999x 1.0.0 (import math_foundations_ai999x) |
| Type | Deterministic neuro-symbolic math foundations engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 19 certified derivations, 100 certified procedures |
| Knowledge pack | version 1.0.2 |
| Golden answers | 625 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 math-foundations-ai999x
# or straight from this repository:
pip install https://huggingface.co/AI999X/math-foundations-ai999x/resolve/main/dist/math_foundations_ai999x-1.0.0-py3-none-any.whl
import math_foundations_ai999x as math_foundations
math_foundations.ask("Solve x^2 - 5x + 6 = 0.").show()
# -> SOLVED — x1 = 2, x2 = 3, discriminant = 1 (quadratic_roots)
math_foundations.ask("In triangle ABC, a = 8, b = 10 and A = 40 degrees. Solve the triangle.").show()
# -> SOLVED — count = 2, B1 = 53.4641, C1 = 86.5359, c1 = 12.423 (law_of_sines_ssa)
math_foundations.ask("Compute (3 + 2i) / (1 - i).").show()
# -> SOLVED — re = 0.5, im = 2.5 (complex_arithmetic)
math_foundations.ask("Find the coefficient of x^3 in (2x - 1)^5.").show()
# -> SOLVED — coefficient = 80, binomial = 10 (binomial_coefficient_term)
math_foundations.solve("de_moivre_power", a=1, b=1, n=8).show()
# -> SOLVED — re = 16, im = 0, modulus = 16, argument_deg = 0 (de_moivre_power)
math_foundations.ask("Who created you?").message
# -> math-foundations-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
Command line: math-foundations-ai999x "<question>", math-foundations-ai999x --capabilities. The outputs above were produced by running this exact code on math-foundations-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
19 certified derivations, 100 certified procedures. A few of them:
- Derivations: area of rectangle; associative property of addition; cramer rule x solution; determinant cramer two variables; difference of cubes factorization; difference of squares; distributive property verification; elimination method identity; elimination solution two variables; linear equation solution formula; partial fraction decomposition linear factors; perfect square trinomial; product of sums; quadratic vertex form conversion; radical equation squaring; square of difference; substitution method identity; substitution solution two variables; sum of cubes factorization
- Procedures: Absolute value inequality |ax + b| compared with c; Add rational expressions with same denominator; Amount remaining after radioactive decay (half-life); Area of a triangle from its three sides (Heron); Arithmetic with complex numbers; Arithmetic with fractions; Asymptotes of a linear rational function; Average rate of change between two points; Average rate of change of a function between two inputs; Centre and radius of a circle from its general equation; Coefficient of a term in a binomial expansion; Combinations and permutations; Composition of two linear functions; Compound interest; Continuous exponential growth or decay; Degrees to radians; Determinant and inverse of a 2 by 2 matrix; Determinant of 2x2 matrix; Discriminant of a quadratic; Distance between two points; Distance from a point to a line; Divide a quantity in a given ratio; Domain of a square-root function; Dot product and angle between two vectors …
math_foundations_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.
All 100 formulas
Show every formula, by topic
Matrices and linear systems
Determinant of 2x2 matrix
Matrix scalar multiple definition
Rational expressions
Add rational expressions with same denominator
Multiply rational expressions
Algebra / absolute value
Absolute value inequality |ax + b| compared with c
Algebra / factoring
Factor a quadratic over the integers
Algebra / inequalities
Quadratic inequality
Algebra / polynomial division
Polynomial long division
Synthetic division and the remainder theorem
Algebra / polynomial equations
Rational roots of a polynomial (rational root theorem)
Algebra / radical equations
Radical equation sqrt(ax + b) = cx + d
Algebra / rational equations
Rational equation a/(x + b) = c/(x + d)
Algebra / rational expressions
Partial fractions (two distinct linear factors)
Algebra / sequences and series
Sum of an infinite geometric series
Algebra / systems of linear equations
System of three linear equations
Arithmetic / fractions
Arithmetic with fractions
Arithmetic / order of operations
Evaluate an arithmetic expression (order of operations)
Arithmetic / percentages
Percent change (increase or decrease)
Percent of a number
What percent one number is of another
Whole from a part and its percentage
Arithmetic / ratios and proportions
Divide a quantity in a given ratio
Solve a proportion
Unit rates and the better buy
Arithmetic / rounding
Round to decimal places
Round to significant figures
Arithmetic / scientific notation
Scientific notation
Complex numbers
Product and modulus of complex numbers
Complex numbers / De Moivre's theorem
Power of a complex number (De Moivre)
Complex numbers / arithmetic
Arithmetic with complex numbers
Complex numbers / polar form
Modulus, argument and polar form of a complex number
Complex numbers / roots
The n-th roots of a complex number
Conic sections
Centre and radius of a circle from its general equation
Coordinate plane
Distance between two points
Counting and probability
Combinations and permutations
Exponential functions
Compound interest
Exponential models
Doubling time of exponential growth
Exponentials and logarithms / exponential equations
Exponential equation ab^(cx + d) = k*
Exponentials and logarithms / growth and decay
Amount remaining after radioactive decay (half-life)
Continuous exponential growth or decay
Doubling time at a percentage growth rate
Exponentials and logarithms / laws of logarithms
Laws of logarithms (product, quotient, power)
Exponentials and logarithms / logarithmic equations
Logarithmic equation log_b(cx + d) = k
Exponentials and logarithms / logarithms
Evaluate a logarithm
Exponents and logarithms
Solution of an exponential equation
Factoring
Factoring a monic quadratic
Functions
Average rate of change of a function between two inputs
Composition of two linear functions
Functions / composition
Value of a composite function
Functions / domain
Domain of a square-root function
Functions / evaluation
Evaluate a function at a number
Functions / inverse functions
Inverse of a linear function
Functions / lines
Distance from a point to a line
Intercepts and slope of a line
Functions / piecewise functions
Evaluate a piecewise function
Functions / transformations
Image of a point under a graph transformation
Inequalities
Solution of a linear inequality
Linear and absolute value inequalities
Solution interval of |x - c| < d
Solution set of |x - c| > d
Linear equations
Root of a linear equation
Linear functions
Average rate of change between two points
Line through two points
Slope of a perpendicular line
y-intercept of a line from its slope and a point
Logarithms
Solution of a basic logarithmic equation
Matrices
Determinant and inverse of a 2 by 2 matrix
Other equations
Solutions of an absolute value equation
Polynomial equations / cubic and quartic equations
Roots of a cubic equation
Roots of a quartic equation
Polynomial equations / quadratic equations
Discriminant of a quadratic
Roots of a quadratic equation
Polynomials
Product of two binomials
Precalculus / binomial theorem
Coefficient of a term in a binomial expansion
Precalculus / conic sections
Foci, axes and eccentricity of an ellipse
Foci, eccentricity and asymptotes of a hyperbola
Focus and directrix of a parabola
Precalculus / polar coordinates
Polar to rectangular coordinates
Rectangular to polar coordinates
Precalculus / vectors
Dot product and angle between two vectors
Magnitude and direction of a vector
Quadratic functions
Vertex form of a quadratic function
Rational functions
Asymptotes of a linear rational function
Real numbers and algebraic expressions
Perimeter of a rectangle
Sequences
Term and partial sum of a geometric sequence
Term and partial sum of an arithmetic sequence
Systems of equations
Solution of two linear equations in two unknowns
The coordinate plane and graphs
Midpoint of a line segment
Trigonometry / angle measure
Degrees to radians
Radians to degrees
Trigonometry / identities
Trigonometric values from one value and the quadrant
Trigonometry / oblique triangles
Law of cosines (three sides)
Law of cosines (two sides and the included angle)
Law of sines (two angles and a side)
Law of sines, the ambiguous case (two sides and a non-included angle)
Trigonometry / right triangles
Right triangle from a leg and the hypotenuse
Right triangle from an acute angle and a side
Right triangle from its two legs
Trigonometry / triangle area
Area of a triangle from its three sides (Heron)
Trigonometry / trigonometric equations
Solve a trigonometric equation over one full turn
Trigonometry / unit circle
Exact trigonometric values on the unit circle
Out of scope
- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified math foundations 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 (arithmetic, algebra, functions, exponentials and logarithms, trigonometry, precalculus and complex numbers); 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{math_foundations_ai999x_1_0_0,
title = {math-foundations-ai999x: an offline, verified math foundations solver},
author = {Farabi, Ibnul Jaif}, organization = {AI999X},
year = {2026}, version = {1.0.0},
url = {https://huggingface.co/AI999X/math-foundations-ai999x}
}
Contact
Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/math-foundations-ai999x/discussions or visit https://ai999x.com.
Support the project
math-foundations-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
- -
Collections including AI999X/math-foundations-ai999x
Evaluation results
- identical on every platform on Golden answers (625 documented questions, Windows + Linux Python 3.10-3.14)self-reported1.000