"Source: Text/Code/CodeZ4.text";
"Line: 1130";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/CodeZ4.text, line: 1130
// Example: H169E12 ()
print "Example: H169E12";
ei := GetEchoInput();
SetEchoInput(true);
C := LinearCode<Integers(4), 4 | [[1,0,0,3],[0,1,1,3]]>;
L := CosetRepresentatives(C);
Set(RSpace(Integers(4),4)) eq {v+ci : v in Set(C), ci in L};
K := KernelZ2CodeZ4(C);
L := CosetRepresentatives(C, K);
{C!0} join Set(KernelCosetRepresentatives(C)) eq L;
Set(C) eq {v+ci : v in Set(K), ci in L};
SetEchoInput(ei);
