Build the idea in three steps
- Minimal a b c packs the suspect: it is a Fermat42 solution, and among all Fermat42 solutions its |c| is the smallest — the ranking rule is Int.natAbs, the absolute value.
- exists_minimal proves the smallest exists: gather every |c| that solutions realize into a set of natural numbers; it is non-empty, for the given solution witnesses it, so Nat.find reads off the least.
- This is the same well-ordering step the case of three leans on — a descent needs a gauge, and here the gauge is |c|.
A small example
Candidates are ranked strictly: a solution with c = 10 loses to a solution with c = 6, so only the smallest badge can remain — the descent will need exactly that certificate.