"Source: Text/Code/CodeZ4.text";
"Line: 1217";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/CodeZ4.text, line: 1217
// Example: H169E14 ()
print "Example: H169E14";
ei := GetEchoInput();
SetEchoInput(true);
C := HadamardCodeZ4(3,6);
C;
I, Ibin := InformationSet(C);
I;
Ibin;
#PunctureCode(C, {1..32} diff Set(I)) eq #C;
Cbin := GrayMapImage(C);
V := VectorSpace(GF(2), 7);
#{V![c[i] : i in Ibin] : c in Cbin} eq #Cbin;
IsInformationSet(C, I);
IsInformationSet(C, Ibin);
IsInformationSet(C, [1, 2, 5, 17]);
IsInformationSet(C, [1, 2, 3, 4, 9, 10, 33]);
D := LinearCode<Integers(4), 5 | [[2,0,0,2,0],[0,2,0,2,2],[0,0,2,2,0]]>;
IsInformationSet(D, [1,3,5]);
SetEchoInput(ei);
