# Assistant-generated Pythagorean triples

This Vibe program was created through the live Verada IDE Assistant on
2026-11-18, using local Qwen3.8-27B through LM Studio. The Assistant also
repaired its initial parameterized entry point: `print_triples(n)` now has
a separate parameterless `main()`. Both proposals were reviewed; the final
proposal was applied and saved through the IDE. The source is retained unchanged.

The program prints every integer triple `1 <= a < b < c <= n` satisfying
`a*a + b*b == c*c`, including scaled triples, once each. Its contract supports
`1 <= n <= 100`; the saved example uses `n = 30`.

From this directory, run:

```sh
veradic run --project verada.toml --proof full --no-cache --no-assume
```

The final IDE proposal passed all 39 proof obligations. Independent native
verification then ran the exact saved program (11 triples for `n = 30`) and
a separate harness retaining `print_triples` unchanged. All 100 bounds from
1 through 100 matched both an integer-square-root oracle and an independent
Euclid-formula oracle, including order and absence of duplicates. The harness
printed 2,252 triples across those cases. See [audit-result.json](audit-result.json)
for the source hash and results. These exhaustive output checks establish the
bounded example's results; the compiler proof checks safety obligations, rather
than a separate mathematical completeness postcondition.

The [live IDE screenshot](../../images/screenshots/veradic-assistant-pythagorean.jpg)
shows this demonstration.
