geometry-ai999x — offline, verified geometry 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
geometry-ai999x is an offline, deterministic Python solver that answers geometry questions with verified results from 76 certified capabilities, gives 375 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.
geometry-ai999x is a compact, deterministic geometry engine for Python. It reads a question in plain English (or a typed call), picks a certified geometry 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 geometry 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 375 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: plane and solid figures, coordinate geometry, conic sections, polygons and polyhedra, computational geometry, transformations, spherical geometry and curves and surfaces.
Model overview
| Property | Value |
|---|---|
| Package | geometry-ai999x 1.0.0 (import geometry_ai999x) |
| Type | Deterministic neuro-symbolic geometry engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 76 certified procedures |
| Knowledge pack | version 1.0.0 |
| Golden answers | 375 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 geometry-ai999x
# or straight from this repository:
pip install https://huggingface.co/AI999X/geometry-ai999x/resolve/main/dist/geometry_ai999x-1.0.0-py3-none-any.whl
import geometry_ai999x as geometry
geometry.ask("Find the circumcenter and circumradius of the triangle with vertices (0, 0), (4, 0) and (0, 3).").show()
# -> SOLVED — cx = 2, cy = 1.5, radius = 2.5 (triangle_circumcircle)
geometry.ask("Find the convex hull of the points (0, 0), (2, 1), (4, 0), (3, 3), (1, 2), (2, 4).").show()
# -> SOLVED — hull = [[0.0, 0.0], [4.0, 0.0], [3.0, 3.0], [2.0, 4.0]], n_vertices = 4, area = 9, perimeter = 13.0486 (convex_hull)
geometry.ask("Where does the line y = x + 1 intersect the circle x^2 + y^2 = 25?").show()
# -> SOLVED — count = 2, x1 = -4, y1 = -3, x2 = 3 (circle_line_intersection)
geometry.ask("Find the volume and surface area of a regular icosahedron with edge 2.").show()
# -> SOLVED — vertices = 12, edges = 30, faces = 20, euler_characteristic = 2 (platonic_solid)
geometry.solve("great_circle_distance", lat1=51.5074, lon1=-0.1278, lat2=40.7128, lon2=-74.006).show()
# -> SOLVED — central_angle = 50.0942, distance = 5570.22 (great_circle_distance)
geometry.ask("Who created you?").message
# -> geometry-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
Command line: geometry-ai999x "<question>", geometry-ai999x --capabilities. The outputs above were produced by running this exact code on geometry-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
76 certified procedures. A few of them:
- Procedures: Angle between two lines; Angle between two planes; Arc length of a parabola; Area and spherical excess of a spherical triangle; Area of a triangle from base and height; Area of an annulus (ring); Area of the intersection of two convex polygons; Barycentric coordinates of a point in a triangle; Centroid of a polygon; Circle: area, circumference and diameter; Circular sector: arc length, area and chord; Circular segment: area, chord, height, arc; Circumcircle: the circle through three points; Classify a conic section from its general equation; Classify a triangle by its sides and angles; Closest pair of points; Cone: volume, slant height and surface area; Convex hull of points in the plane; Cuboid (rectangular box): volume, surface area, space diagonal; Curvature of a polynomial graph at a point; Curvature of a torus at a point; Curvature of an ellipse at a point; Cylinder: volume and surface area; Delaunay triangulation and Voronoi diagram: counts …
geometry_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.
All 76 formulas
Show every formula, by topic
Computational geometry / convex hulls
Convex hull of points in the plane
Computational geometry / enclosing shapes
Minimum-area enclosing rectangle
Smallest enclosing circle of points
Computational geometry / intersections
Intersection of two line segments
Computational geometry / point location
Point in polygon test
Computational geometry / polygon clipping
Area of the intersection of two convex polygons
Computational geometry / proximity
Closest pair of points
Distance from a point to a segment
Farthest pair of points (diameter of a point set)
Nearest neighbour of a query point
Computational geometry / shape comparison
Hausdorff distance between two point sets
Computational geometry / triangulations
Delaunay triangulation and Voronoi diagram: counts
Conic sections / ellipses
Perimeter of an ellipse (exact, by the complete elliptic integral)
Conic sections / general second-degree equation
Classify a conic section from its general equation
Coordinate geometry / circles
Intersection of a circle and a line
Intersection of two circles
Tangents from a point to a circle
Coordinate geometry / lines
Angle between two lines
Intersection point of two lines
Coordinate geometry / paths
Length of a polyline (path through points)
Coordinate geometry / triangle centres
Circumcircle: the circle through three points
Incircle of a triangle: incentre and inradius
Orthocentre of a triangle
Coordinate geometry / triangles
Barycentric coordinates of a point in a triangle
Triangle from vertex coordinates: area, perimeter, centroid, angles
Curves / arc length
Arc length of a parabola
Curves / curvature
Curvature of a polynomial graph at a point
Curvature of an ellipse at a point
Curves / space curves
Helix: curvature, torsion and length per turn
Plane figures / circles
Area of an annulus (ring)
Circle: area, circumference and diameter
Circular sector: arc length, area and chord
Circular segment: area, chord, height, arc
Plane figures / quadrilaterals
Rectangle: area, perimeter and diagonal
Rhombus from its diagonals: area, side, perimeter
Trapezoid: area and midsegment
Plane figures / triangles
Area of a triangle from base and height
Classify a triangle by its sides and angles
Medians, altitudes and angle bisectors of a triangle
Polygons / convexity
Is a polygon convex?
Polygons / coordinates
Centroid of a polygon
Interior angles of a polygon from its vertices
Polygon from vertices: area, perimeter, orientation
Polygons / lattice polygons
Pick's theorem: lattice points of a polygon
Polygons / regular polygons
Polygon angles and diagonals
Regular polygon: area, perimeter, apothem, circumradius
Polyhedra / regular polyhedra
Platonic solids: counts, Euler characteristic, volume, surface, radii
Solid coordinate geometry / lines
Distance between two lines in space (skew or parallel)
Solid coordinate geometry / lines and planes
Intersection of a line and a plane
Solid coordinate geometry / planes
Angle between two planes
Distance from a point to a plane
Plane through three points
Solid coordinate geometry / polyhedra
Tetrahedron from four vertices: volume and surface area
Solid coordinate geometry / spheres
Sphere through four points (circumsphere of a tetrahedron)
Solid coordinate geometry / triangles
Triangle in space: area and perimeter from vertices
Solid geometry / solid angles
Solid angle of a cone
Solid angle subtended by a triangle
Solids / cones
Cone: volume, slant height and surface area
Frustum of a cone: volume and surface area
Solids / cylinders
Cylinder: volume and surface area
Solids / ellipsoids
Spheroid (ellipsoid of revolution): surface area and volume
Solids / prisms
Cuboid (rectangular box): volume, surface area, space diagonal
Right prism on a regular polygon base: volume and surface area
Solids / pyramids
Right rectangular (or square) pyramid: volume and surface area
Solids / solids of revolution
Torus: volume and surface area
Solids / spheres
Sphere: volume and surface area
Spherical cap: volume, curved area, base radius
Spherical geometry / distances
Great-circle distance between two points on a sphere
Spherical geometry / navigation
Initial bearing (forward azimuth) along a great circle
Spherical geometry / spherical triangles
Area and spherical excess of a spherical triangle
Surfaces / curvature
Curvature of a torus at a point
Gaussian and mean curvature of a quadratic surface z = f(x, y)
Transformations / dilations
Dilation (enlargement) of a point
Transformations / reflections
Reflection of a point in a line
Transformations / rotations
Rotation of a point
Transformations / rotations in space
Rotation of a point in space about an axis
Out of scope
- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified geometry 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 (plane and solid figures, coordinate geometry, conic sections, polygons and polyhedra, computational geometry, transformations, spherical geometry and curves and surfaces); 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{geometry_ai999x_1_0_0,
title = {geometry-ai999x: an offline, verified geometry solver},
author = {Farabi, Ibnul Jaif}, organization = {AI999X},
year = {2026}, version = {1.0.0},
url = {https://huggingface.co/AI999X/geometry-ai999x}
}
Contact
Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/geometry-ai999x/discussions or visit https://ai999x.com.
Support the project
geometry-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
- 21
Collections including AI999X/geometry-ai999x
Evaluation results
- identical on every platform on Golden answers (375 documented questions, Windows + Linux Python 3.10-3.14)self-reported1.000