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)
LLM (this repo) · 1

Related languages

Cubical Agda (0.27)Cubix (0.24)cooltt (0.22)CubeScript (0.20)Cubical (0.20)

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
code.ctt · license: MIT · added: 2026-02-27T10:15:00Z
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

Contribute — propose a file extension

Tell us where to find evidence about cubicaltt (mapped to pl/cubicaltt). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/cubicaltt/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Cubically Cubix →