A derivation around a problem by Euler

The problem

“Consider the system of equations a + b + c = u², ab + bc + ca = v², abc = w², and derive, step by step, the parametrized solution [a, b, c, u, v, w] = [k²t²(s²−t²)²(s²+t²), k²s²(s²−t²)²(s²+t²), 4k²s⁴t⁴, k(s⁴+t⁴), k²st(s²+t²)(s⁴−t⁴), 2k³s³t³(s²−t²)²(s²+t²)]. I want to understand how one arrives at it.”

The underlying problem, first considered by Euler, was about finding “Three integers whose sum, product and the sum of the products of the integers, taken two at a time, are perfect squares”. What follows shows how ExaktAI handles the stated problem, and contrasts this with how the AI assistants in Wolfram 14.3 and Maple 2026.1 handle the same problem.

ExaktAI: a validated and reproducible derivation

The problem tackled with ExaktAI: Codex as the AI and Mathematica 14.3 as the Computer Algebra System (CAS) validating tool. The left panel is the ExaktAI App in Presentation mode, an optional frameless display omitting visual distractions such as the Run ExaktAI button that ran the computation. This mode presents all eight validated steps in a single screenshot. To the right is the Mathematica notebook automatically generated and opened by the ExaktAI App.

ExaktAI on the polynomial system, side by side: on the left, the validated derivation presented step by step in the ExaktAI app; on the right, the executable Mathematica notebook it runs, every step an executed instruction with an output, chained from the equations to the assembled solution
ExaktAI (Codex + Mathematica 14.3): the validated derivation that resulted in the ExaktAI App from running the problem (left) and the automatically generated and opened notebook filled with the validated steps of the solution, where the derivation can be reproduced.

ExaktAI builds the solution from the equations. It writes a + b = x² and c = y², recognizes a Pythagorean structure x² + y² = u² and parametrizes the triple; treats v² as a second Pythagorean relation; forms the quadratic discriminant whose roots are a and b; takes its square root on a stated branch; solves the two linear equations for a and b; recovers c and w; and assembles [a, b, c, u, v, w].

Every line is a reproducible Mathematica input/output, each step references the results of the steps before it, and the final output is the requested derivation, validated.

Wolfram’s 14.3 AI Assistant*: not a derivation

The same problem asking for a derivation step-by-step to the Notebook Assistant in Mathematica 14.3, AI model ‘Wolfram’ (the default), persona Code Assistant.

Wolfram Notebook Assistant (Code Assistant persona): a prose narrative that restates the given answer, never computes v, mislabels u as u-squared and w as w-squared, and offers a verification script
Notebook Assistant in Mathematica 14.3 (AI model ‘Wolfram’, Code Assistant).

In the run shown:

The AI narrative does not derive the parametrized solution and gives incorrect intermediate computations. The issue is not with Mathematica's computational capabilities but with presenting an AI narrative without validating it first.

ExaktAI: an alternative, equivalent derivation

ExaktAI with Codex as the AI and Maple 2026.1 as the CAS validating tool, producing an alternative derivation in 13 steps. For presentation purposes here, the ExaktAI App (left) shows the Problem and steps 1 to 6 out of the 13 it holds, and the Maple document ExaktAI generated (right) shows the remaining steps 7 to 13, to display the 13 steps legibly in one image.

ExaktAI on the polynomial system in Maple: the ExaktAI app in presentation mode on the left showing the problem and the first six validated steps, and the generated Maple document on the right showing steps seven to thirteen through the assembled solution
ExaktAI (Codex + Maple 2026.1): the validated 13-step derivation, the App’s presentation showing steps 1 to 6 and the generated Maple document showing 7 to 13.

Every step is an executed Maple instruction with an output, each referencing the results of the steps before it, the whole derivation marked Validated, and the final output is the requested derivation. As with the case of the Mathematica run, the derivation is reproducible in this case by running the Maple document.

Maple’s 2026.1 AI Assistant*: a narrative, not a computable derivation

Asking the problem to Maple’s AI Assistant in Maple 2026.1, the AI states the steps, not the Maple commands that derive them sequentially.

Maple AI Assistant on the same problem: the later steps of the inserted derivation in the worksheet, reaching the exact assembled solution at line 24, with several chained equalities (lines 14 and 15) evaluating to false
Maple AI Assistant in Maple 2026.1: the inserted derivation, here its later steps through line (24).

In the run shown:

In this case, an AI narrative of a derivation is presented, but the code supposed to compute the steps of that narrative is not given, the results of each AI reasoned step are only stated, and several using wrong syntax, producing unexpected Maple output.

The difference

Mapping all the AI reasoned steps into a chained sequence of CAS computations allows for reproducibility and validation, which are what set ExaktAI apart from CAS with AI Assistants, and are the basis for you to be in command of the computation, harness AI’s mathematical inference, and trust its results.

* These are single runs of non-deterministic AI assistants (in Mathematica 14.3 and Maple 2026.1); another run might decompose or err differently. The two CAS assistants also differed from each other here: the Notebook Assistant restated the supplied answer and its narrated steps carried errors, whereas Maple’s AI Assistant produced an AI narrative of a derivation but the code supposed to compute the steps of that narrative is not given, the results of each AI reasoned step are only stated, some using wrong syntax. Both software platforms and their AI assistants are actively evolving; the observations describe what each system produced in these specific runs.