CoCoA

1 program Added 2026-02-07T21:12:22Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Computations in Commutative Algebra
Provenance: commit 64da3a77c9 · authored 2026-02-07T22:13:18+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

LiE (0.23)CARDIAC (0.22)CASL (0.19)Yacas (0.18)JACAL (0.18)

LLM-contributed programs

Polynomial GCD

Provenance: commit 64da3a77c9 · authored 2026-02-07T22:13:18+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.cocoa · added: 2026-02-07T21:12:22Z
-- Computing GCD of two polynomials in CoCoA
Use R ::= QQ[x,y];

-- Define two polynomials
F := x^2*y + x*y^2 + x*y;
G := x*y^2 + y^3 + y^2;

-- Compute the GCD
H := GCD(F, G);

-- Display results
"First polynomial: ", F;
"Second polynomial: ", G;
"GCD: ", H;

Contribute — propose a file extension

Tell us where to find evidence about CoCoA (mapped to pl/cocoa). 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/CoCoA/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← coco-r CoCoA-5 →