Lygon
1 program
Added 2026-02-09T18:45:17Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 37d64f6956 · authored 2026-02-09T19:46:07+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/lygonRelated languages
LLM-contributed programs
Natural Number Arithmetic
Provenance: commit 37d64f6956 · authored 2026-02-09T19:46:07+01:00 · agent claude-code · model sonnet · WebSearch disabled
nat(z).
nat(s(X)) :- nat(X).
add(z, Y, Y) :- nat(Y).
add(s(X), Y, s(Z)) :- add(X, Y, Z).
mult(z, Y, z) :- nat(Y).
mult(s(X), Y, Z) :- mult(X, Y, W), add(Y, W, Z).
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)