Spec Picture
Mumford-style picture of the prime spectrum of Z, k[x], Z[i], Z[sqrt d], Z[x]/(f), k[x,y]/(F), their quotients and fields. The learner clicks points and types ideals and elements to see V(I), D(f), closures, generic points, radicals and chains; picks what to invert to see which primes survive a localisation; or clicks base points of Spec A to see the fibres of Spec B -> Spec A, sized by residue degree and ringed by multiplicity (contraction, extension, Dedekind-Kummer, lying over, going up, an empty fibre for a non-integral map).
Used in: Ring Theory
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | by mode, e.g. "Spec ℤ", "Spec ℤ[i] → Spec ℤ" | Title bar text. |
| controls | string[] | all controls shown | Ids of the hideable panels and readouts to show (see the controls registry, e.g. panel.vanishing-set, readout.closure, readout.residue-field, readout.extension, panel.going-up). Core controls always show. Page building fills this from the subject's topic scope. |
| mode | "closed-sets" | "localisation" | "morphism" | inferred: base/extension/polynomial/basePrime/selectedUpstairs -> morphism, invert/localiseAt -> localisation, else closed-sets | closed-sets: Spec R with V(I), V(J), D(f), closures, generic points, components, radicals, chains. localisation: which primes survive in S^{-1}R. morphism: Spec B -> Spec A with fibres over a chosen base point. |
| ring | string | "Z" | closed-sets / localisation: the ring R. Z; Z_n, Z/(n); Q, R, C, F_p; Q[x], R[x], C[x], F_p[x] and quotients like C[x]/(x^2 - 1); Z[i], Z[sqrt(-5)], Z[x]/(x^3 - 2) (monic f), drawn as columns over Spec Z; Q[x,y]/(F), R[x,y]/(F), C[x,y]/(F), drawn as columns over Spec k[x]. Rings of dimension 2 (Z[x], k[x,y]) are not drawn. |
| ideal | string | none (the learner can type one) | closed-sets: the ideal I, as generators: "(12)", "(6, 10)", "(x^2 + 1)", "((x-1)*(x+2))", "(3, 1 + sqrt(-5))". V(I) is filled amber; with the right readouts the components and the radical are named. |
| compareIdeal | string | none | closed-sets: a second ideal J (dashed rings) to compare with I: inclusion of ideals against inclusion of closed sets, and equal radicals. |
| element | string | none (the learner can type one) | closed-sets: an element f; D(f) is haloed, and (with residue fields taught) the value of f in each residue field is written under the points. |
| selectedPoint | string | none | A point selected at start, as its ideal: "(0)" (the generic point), "(5)", "(x - 1)", "(2 + i)". The readout names it, its residue field, its closure and what it is the generic point of. |
| compareRing | string | none | closed-sets: a second spectrum drawn below (e.g. Q next to Z for dimensions). Ignored when it is the ambient ring of a quotient ring (Z for Z_12), which is already drawn faded. |
| showChains | boolean | false | closed-sets: start with the chain of primes (0) ⊊ m drawn and the Krull dimension read off. morphism: start with the going-up lift of (0) ⊊ p (complete it by selecting a prime over p). |
| invert | string | "6" in localisation mode | localisation: the element(s) inverted, S = {1, s, s^2, ...}: "6", "2, 3", "x". "complement of (5)" (or "Z \ (5)") means S = R minus the prime (5), like localiseAt. |
| localiseAt | string | none | localisation: localise at this prime, S = R minus p: "(5)", "(x)". The learner can click another point. |
| base | string | "Z" (k[x] for an extension k[x,y]/(F)) | morphism: the base ring A: Z, or Q[x] / R[x] / C[x] for a curve extension. A mismatch with the extension is reported inline. |
| extension | string | "Z[i]" | morphism: the ring B over A: Z[i], Z[sqrt(-5)], Z[x]/(x^3 - 2) (monic) over Z; C[x,y]/(y^2 - x), C[x,y]/(x*y - 1) over C[x] (non-monic in y gives a non-integral map with empty fibres). |
| polynomial | string | none | morphism: alternative to extension, B = A[t]/(polynomial): "x^3 - 2" over Z, "y^2 - x" over C[x]. |
| basePrime | number | string | 5 (over Z) / a special fibre (over k[x]) | morphism: the base point whose fibre is selected: a prime p (or "(p)"), 0 / "(0)" for the generic point; over k[x] a number a (the point x = a) or "(x - a)". |
| selectedUpstairs | string | none | morphism: a prime of B selected at start, e.g. "(2 + i)", "(3, 1 + sqrt(-5))", "(x - 1, y - 1)"; the readout contracts it to A. |
| compare | string | {base, extension, polynomial, basePrime} | none | morphism: a second map drawn below with its own selection: an extension over the same base ("C[x,y]/(x*y - 1)") or a full spec ({"base": "C[x]", "extension": "C[x,y]/(x*y - 1)"}). |
PreviousNext