Is there an option to calculate the codimension of an ideal or submodule in Sage. For example, I have the following ideal
I=(1+x+y+xy,1+y+z+yz,1+x+z+xz)
in Z2[x,y,z] or the following free submodule
\begin{align}
\left(0001+x+y+xy1+y+z+yz1+x+z+xz1+z1+x000001+x1+y000
in (Z2[x,y,z])3
where Z2[x,y,z]3 is a polynomial ring in variables x,y,z over field F2.