Skip to main content

algebra-ai999x — offline, verified algebra 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.1

algebra-ai999x is an offline, deterministic Python solver that answers algebra questions with verified results from 54 certified capabilities, gives 214 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.

algebra-ai999x is a compact, deterministic algebra engine for Python. It reads a question in plain English (or a typed call), picks a certified algebra 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.

Buy me a coffee License Python Offline

Highlights

  • Verified, not generated. Every answer is computed by a certified algebra 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 214 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: quadratic equations, linear equations and systems, inequalities and absolute value, functions and composition, exponents and logarithms, sequences and series, counting, matrices, and certified proofs of identities and theorems.

Model overview

Property Value
Package algebra-ai999x 1.0.1 (import algebra_ai999x)
Type Deterministic neuro-symbolic algebra engine (rule-based reading + certified symbolic capabilities)
Capabilities 19 certified derivations, 35 certified procedures
Knowledge pack version 0.2.0
Golden answers 214 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 algebra-ai999x
import algebra_ai999x as algebra

algebra.ask("Solve x^2 - 5x + 6 = 0.").show()
# -> SOLVED — x1 = 2, x2 = 3, discriminant = 1  (quadratic_roots)
algebra.solve("quadratic_roots", a=1, b=0, c=4).show()
# -> SOLVED — x1 = 2j, x2 = -2j, discriminant = -16  (quadratic_roots)
algebra.solve("linear_system_2x2", a=2, b=3, c=12, d=4, e=-1, f=10).show()
# -> SOLVED — x = 3, y = 2  (linear_system_2x2)
algebra.ask("Prove that (a + b)^2 = a^2 + 2ab + b^2.").show()
# -> SOLVED — 1. (a + b)**2 = (a + b) * (a + b)   [definition of squaring]  (perfect_square_trinomial)
algebra.solve("quadratic_roots", a=0, b=2, c=1).show()
# -> INVALID_INPUT — Roots of a quadratic equation: a must not be 0: with a = 0 the equation is linear, not quadratic.
algebra.ask("Who created you?").message
# -> algebra-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.

Command line: algebra-ai999x "<question>", algebra-ai999x --capabilities. The outputs above were produced by running this exact code on algebra-ai999x 1.0.1.

How every answer is verified

  1. 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.
  2. 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).
  3. Computing — exact symbolic or high-precision numeric evaluation.
  4. 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, 35 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: Add rational expressions with same denominator; 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; Combinations and permutations; Composition of two linear functions; Compound interest; Determinant and inverse of a 2 by 2 matrix; Determinant of 2x2 matrix; Discriminant of a quadratic; Distance between two points; Doubling time of exponential growth; Factoring a monic quadratic; Line through two points; Matrix scalar multiple definition; Midpoint of a line segment; Multiply rational expressions; Perimeter of a rectangle; Product and modulus of complex numbers; Product of two binomials; Root of a linear equation; Roots of a quadratic equation; Slope of a perpendicular line …

algebra_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.

Out of scope

  • Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
  • Questions outside its certified algebra 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 (quadratic equations, linear equations and systems, inequalities and absolute value, functions and composition, exponents and logarithms, sequences and series, counting, matrices, and certified proofs of identities and theorems); anything else is refused with a reason.
  • ask() reads documented question forms and common phrasings; unusual wording may be refused — use solve() 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{algebra_ai999x_1_0_1,
  title  = {algebra-ai999x: an offline, verified algebra solver},
  author = {Farabi, Ibnul Jaif}, organization = {AI999X},
  year   = {2026}, version = {1.0.1},
  url    = {https://huggingface.co/AI999X/algebra-ai999x}
}

Contact

Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/algebra-ai999x/discussions or visit https://ai999x.com.

Support the project

algebra-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

Metadata

Release files for algebra-ai999x 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for algebra-ai999x 1.0.1
File Interpreter ABI Platform
algebra_ai999x-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / algebra_ai999x-1.0.1-py3-none-any.whl

Download URL algebra_ai999x-1.0.1-py3-none-any.whl
Size 572.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94ca380c2248d53e83cd5ba7186c499c0ea4852b029714702cbe81aca3175774
BLAKE2b-256 checksum
How to use checksums
ded9f72e629d1bd4c0f58bd1ec23b3bdffcf14e3c2c55ba61a7b0b8bc216bae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release history Release notifications | RSS feed

1.2.0

1 release file

1.1.0

1 release file

This release

1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page