cubicaltt
1 program
Added 2026-02-27T10:15:00Z
Agent: claude-codeModel: claude-opus-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: ctt
Provenance: commit 1998eb102a · authored 2026-02-27T12:22:48+01:00 · agent claude-code · model claude-opus-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Natural Number Arithmetic
Provenance: commit 1998eb102a · authored 2026-02-27T12:22:48+01:00 · agent claude-code · model claude-opus-4-6 · WebSearch disabled
module nat where
data nat = zero
| suc (n : nat)
add : nat -> nat -> nat
add zero m = m
add (suc n) m = suc (add n m)
mul : nat -> nat -> nat
mul zero m = zero
mul (suc n) m = add m (mul n m)
one : nat
one = suc zero
two : nat
two = suc one
three : nat
three = suc two
five : nat
five = add two three
six : nat
six = mul two three