Monomial Exponent Grid

Monomial ideals in k[x, y] as shaded staircases on the exponent grid. The learner clicks points to edit generators and test membership by divisibility (with radical and a primary verdict, witness marked), ticks corner, primary or given components to intersect them back to I (red points show what an incomplete or wrong decomposition misses, redundant components and shared radicals are flagged), or clicks monomials m to see (I : m) and collect the associated primes.

Used in: Ring Theory

Props

PropTypeDefaultDescription
titlestringby mode, e.g. "Monomial ideal on the exponent grid"Title bar text.
controlsstring[]all controls shownIds of the hideable controls and text blocks to show (see the controls registry, e.g. readout.primary, view.primary, colon.associated, mode.annihilators). Core controls always show. Page building fills this from the subject's topic scope.
mode"staircase" | "decomposition" | "annihilators"inferred: decompositions/view/omit -> decomposition, else staircasestaircase: edit generators and test membership; radical, prime and primary readouts. decomposition: intersect corner (irreducible), primary or given components back to I. annihilators: click a monomial m to shade the colon ideal (I : m) and collect the associated primes.
variablesstring[]["x", "y"]The two variable names (horizontal, vertical axis). Exactly two; other lengths show a message and fall back to x, y.
generators(string | number[])[]["x^4", "x^2*y", "x*y^3"]Monomial generators of I, as monomials ("x^2*y", "x^2 y", "xy") or exponent pairs [2, 1]. Redundant generators are kept and marked. [] is the zero ideal. The learner can edit them in staircase mode.
compare(string | number[])[]noneStaircase mode: a second ideal J drawn side by side with its own readouts (e.g. a primary ideal next to a non-primary one with the same radical).
selectedstring | number[]noneStaircase mode: a monomial tested for membership at start. Annihilators mode: the monomial m whose colon ideal (I : m) is shown at start (and its associated prime counted as found).
view"irreducible" | "primary" | "given""given" when decompositions is set, else "irreducible"Decomposition mode: corner ideals (the irreducible components), corners grouped by radical (primary components), or the first decomposition from decompositions.
decompositionsstring[][]noneDecomposition mode: decompositions of I to check, each a list of monomial ideals such as ["(x)", "(x,y)^2"] or ["(x)", "(x^2, y)"]. Powers (I)^k are expanded. Each gets its own tab.
omitnumber[][]Decomposition mode: indices (0-based) of components left unticked at start in the starting view, so the intersection starts too large.
gridSizenumber[]largest exponent + 3, between 5 and 10 (square)[width, height]: how many exponents 0..w-1 and 0..h-1 are drawn (at most 14).
editablebooleantrueStaircase mode: false fixes the generators, so clicks only test membership.