01Why Raw AI Fails at Math
Most AI tutoring tools are built around a simple premise: give a student a chat or voice window backed by a general language model, instruct the model to act like a math teacher, and let it invent the lesson in real time. In a brief demonstration, that can look compelling. Over the course of a full academic year, it breaks down.
Asking a live model to improvise an entire mathematics class forces it to perform four demanding jobs at the same moment: select a sound instructional sequence, build clear visual mathematics, speak at the right grade level without skipping steps, and keep every calculation error-free. When all four are improvised on the fly, instructional quality becomes unpredictable. Ask the same chatbot to explain dividing by fractions twice and you receive two different lessons. One may begin with a clear visual count; the next may jump straight to shortcuts or terminology a sixth grader has not yet learned.
Visual structure is the second major failure mode. Effective math teaching lives on a board where equations grow downward line by line, earlier work remains visible, and attention settles on one term at a time. Scrolling chat threads bury prior steps and ask a student to parse dense paragraphs of prose while trying to hold unfamiliar mathematics in working memory. Even strong models introduce silent leaps: omitting intermediate algebraic steps, shifting notation mid-problem, misreading a graph, or agreeing with flawed student reasoning whenever the student sounds confident.
Finally, raw AI lacks curriculum discipline and pedagogical restraint. A standalone chatbot sees only the immediate prompt. It does not maintain a structured map of earlier mastery, trace an eighth-grade equation mistake back to a seventh-grade negative-sign gap, or hold back a formula that belongs three units later. Because general models are trained to be helpful and agreeable, their default response when a child says "I am stuck" is to solve the problem outright. The student experiences temporary relief, moves past the question, and cannot reproduce the method independently.
02The Adaptive Spine Architecture
Our core engineering principle is to separate what should be stable from what should be live. A strong human teacher does not invent a course sequence or their main chalkboard examples from scratch at nine in the morning. They enter class with carefully selected problems, a tested order of ideas, and deliberate diagrams. What happens live is their responsiveness to the child sitting across from them.
2.1Prepared living boards
Piero's proprietary Adaptive Spine Architecture applies that division of labor in software. A lesson in Piero is not a prerecorded video. It is a structured blueprint of ordered spoken beats and synchronized chalkboard actions that the browser performs in real time. Every lesson opens with one shared Foundation part that introduces the underlying concept through actual mathematics and visuals rather than prose alone, followed by a dedicated Worked Example for each micro-skill in the lesson. Every equation, label, highlight, graph, and diagram is authored and verified before a student ever enters the room.
On the board itself, we enforce one teaching beat per action. An equation appears first. The highlight, connecting arrow, intermediate calculation, or graph shift each arrive in their own step, building downward so prior work remains visible. Splitting work into atomic beats serves a direct instructional purpose: it creates clean stopping points throughout the explanation. Because every element on the chalkboard is an addressable object, the live tutor can inspect, focus, pause, replay, and build on the exact state of the board.
2.2Handling a raised hand
When a student raises their hand mid-lesson by pressing the Spacebar, Piero finishes the current sentence cleanly and pauses any remaining board actions inside that beat. The runtime records the exact stopping point: what has already been spoken, what remains unspoken, and what is currently visible on screen.
In a single live turn, Piero answers the exact confusion directly. He frames the relevant object on the main board, triggers subtle chalk highlights synchronized to the phrases he speaks, and opens a side chalk panel whenever fresh scratch work or a compact sketch helps clarify the step. Code governs typography and layout so the panel stays clean and legible. If revisiting an earlier explanation from the same lesson helps, Piero can temporarily overlay a replay of that exact earlier beat on the main board without disturbing the paused problem underneath.
Just as important are the boundaries placed around live responses. During active instruction, Piero teaches strictly inside the approach, notation, and grade level of the current lesson. He receives only immediate lesson context: what has already been taught in this lesson, the current visible board, and the titles of upcoming parts so he knows to defer later material rather than teaching ahead. Once the student understands, Piero picks the cleanest re-entry point back onto the prepared rail: continuing the unspoken remainder of the paused beat, restarting that beat from the top, stepping back slightly, or moving straight ahead if the discussion already resolved the point. He delivers a brief spoken bridge and resumes the lesson seamlessly.
2.3Unified Socratic practice and mastery
Each worked example transitions directly into practice on that exact skill. Guided practice and independent practice run on one unified engine built around verified step-by-step solutions with Socratic stops placed before each meaningful mathematical decision. Routine arithmetic proceeds without unnecessary friction; genuine conceptual choices require the student to think.
In guided practice, Piero pauses at each decision gate and automatically skips redundant stops whenever a student solves multiple steps ahead. In independent practice, students enter an answer directly, plot on an interactive coordinate or number-line grid, or indicate they are not sure without guessing. If a submitted answer is incorrect, the student's work remains on screen while Piero asks them to walk through their reasoning. He credits every step they completed accurately, advances the board to the exact gate where thinking broke down, and opens help right there.
Every practice item operates under a two-hint progressive budget: a lighter first nudge, followed by a stronger second push that keeps the student responsible for the final step. Only if the student still misses after the second hint does the system step into the verified prepared walkthrough, closing with a spoken check-in before moving on. Questions about wording, notation, or graphing controls never grade an attempt or spend a hint. If a student claims they already know a skill or lesson, Piero verifies prior mastery through a quick proof check requiring clear reasoning before advancing. Progression across the curriculum is governed by demonstrated mastery rather than passive completion.
03Developing Our Curriculum from Illustrative Mathematics
A reliable teaching engine still depends on the strength of the curriculum inside it. We did not ask AI to generate a syllabus from scratch. Instead, we anchored our scope and sequence in IM® K–12 Math (First Edition, © 2019–2021), authored by Illustrative Mathematics® and licensed under CC BY 4.0. It offers deep mathematical coherence and rigorous alignment to Common Core standards across Grade 6, Grade 7, Grade 8, Algebra 1, Geometry, and Algebra 2. Piero is independent and is not affiliated with or endorsed by Illustrative Mathematics.
However, a classroom curriculum cannot be placed unchanged into a one-on-one adaptive homeschool program. IM® K–12 Math was designed for classrooms of twenty-five students participating in partner discussions, paper manipulatives, and gradual multi-day explorations. Our goal was to preserve its mathematical integrity while rebuilding it into crisp, individually measurable micro-skills that a student can master efficiently. Throughout development, original source documents stayed strictly separated from our derived skill list, outlines, blueprints, and generated lessons.
3.1Defining a micro-skill
We started from the 740 lessons across all six courses that include standalone practice problems. During initial capture, every lesson was analyzed independently, examining its student-facing goals, lesson summary, and practice questions without suppressing skills that overlapped with neighboring lessons. That raw first pass produced 1,329 capabilities.
We define a micro-skill as a distinct problem-solving capability: the concrete mathematical work a student performs to solve a specific class of problem, sized so it can be taught through a representative worked example and demonstrated in roughly four to five independent practice items. A lesson splits into separate skills only when the underlying mathematical decision changes enough to merit its own teaching step. For instance, in Algebra 1 substitution, solving when a variable is already isolated is one skill, and rearranging an equation before substituting is a second skill, while substituting and simplifying stay together inside each skill. In elimination, adding or subtracting matching coefficients, multiplying one equation first, and multiplying both equations first each form a distinct skill.
3.2Rule-based refinement across 31 passes
From the 1,329-skill starting list, we carried out 31 versioned review passes across the full curriculum. Each pass applied one explicit rule and recorded a complete change log with the rationale behind every decision, keeping the entire history inspectable and reversible.
First, where the source devoted separate lessons to informal stepping stones such as tape diagrams, double number lines, balanced hangers, or partial quotients, we reserved intuitive models for conceptual explanations inside the Foundation and kept student skills focused on the plain, standard methods expected on exams and in later courses. Second, whenever a redundant or warm-up lesson was removed, we audited every lesson that followed it. If a kept skill relied on an idea introduced in a dropped lesson, that concept was carried forward as an explicit Foundation add-on inside the kept lesson so nothing silently disappeared.
Third, we treated Grades 6 through Algebra 2 as one continuous ladder rather than six isolated silos. True duplicate lessons were cut because our diagnostic benchmark detects earlier gaps and routes students straight back to the original skill. Where a higher course extends a central idea, it may open with a concise review skill before adding the new step. Fourth, we explicitly restored standard procedures and exam-ready topics that classroom editions sometimes omit or leave implicit, including reversing an inequality sign when multiplying or dividing by a negative, cross-multiplying proportions, simplifying square roots, compound inequalities, polygon angle sums, exterior angles of a triangle, the midpoint formula, the discriminant, simple interest, mode, function composition, and a dedicated Algebra 2 lesson on rules for logarithms.
Fifth, we removed exercises requiring physical classroom tools such as a compass or protractor, ensuring every skill can be practiced directly through equation entry, our built-in graphing calculator, or our interactive coordinate and number-line grid. Formal paragraph and two-column geometry proof writing is currently held outside the practice format while skills that apply proved geometric theorems remain in. Sixth, we rewrote story-based classroom titles into plain mathematical titles, such as changing "Tiling the Plane" to "Finding Area with Rectangles," so parents can read a progress report or transcript and see exactly what was learned. Every worked example was audited to avoid terms the student had not yet met, and every answer was recalculated from scratch.
3.3Course scope, prerequisites, and authoring
The resulting curriculum map spans 46 units, 551 focused lessons, and 923 micro-skills, connected by 713 direct lesson-level prerequisite links, 153 of which cross between courses.
Table 1. Published course breakdown across Piero's Grades 6–12 skill graph.
| Course | Units | Lessons | Micro-Skills |
|---|---|---|---|
| Grade 6 | 8 | 90 | 138 |
| Grade 7 | 8 | 95 | 152 |
| Grade 8 | 8 | 84 | 145 |
| Algebra 1 | 7 | 97 | 173 |
| Geometry | 8 | 85 | 142 |
| Algebra 2 | 7 | 100 | 173 |
| Total (713 prerequisite links; 153 cross-course) | 46 | 551 | 923 |
Grades 4 and 5 source foundations are also retained to support targeted earlier gap repair, with Precalculus, AP Calculus AB/BC, and AP Statistics planned next.
Once the skill list was finalized, each lesson moved through separate, specialized authoring stages: an outline deciding what belongs in the shared Foundation versus each Worked Example, an instructional blueprint locking down exact mathematics and demonstrations, and then dedicated chalkboard and narration production written in plain, precise English. For practice coverage, we supplement IM® K–12 Math with open problem collections from the Utah Middle School Math Project (CC BY 3.0) for Grades 6 through 8 and the Mathematics Vision Project (CC BY 4.0) for high school, alongside original variations where a skill needs greater depth. Every selected problem carries one unambiguous mathematical answer checked independently. Separately, our adaptive placement benchmark and review bank contains more than 9,200 skill-tagged multiple-choice questions spanning all 551 lessons.
The Piero Curriculum and Engineering Team