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)
Related languages
LLM-contributed programs
Polynomial GCD
Provenance: commit 64da3a77c9 · authored 2026-02-07T22:13:18+01:00 · agent claude-code · model sonnet · WebSearch disabled
-- 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;