Rings, ideals and fields
Warm-upHumanHow many units does the ring have?
How many units does the ring have?
Which of these rings are integral domains? (Select all that apply.)
Which of these subsets of are ideals? (Select all that apply.)
is a principal ideal domain. Which polynomial generates the ideal ?
In the proof that a Euclidean domain is a PID, we take a non-zero ideal , choose of least size , and divide any as with or . Why must ?
In the element is irreducible. Which of these products show that is not prime — that is, divides the product but divides neither factor? (Select all that apply.)
How many Gaussian integers have norm ?
Which Lean statement formalises “every finite integral domain is a field”?
Write classify(n) returning a pair (units, zero_divisors) of sorted lists for the ring (): units are the with for some , and zero_divisors the non-zero with for some non-zero . Then check that together they contain every non-zero residue exactly once.