Skip to content

NumberFieldSignature ​

The signature (r1,r2)(r_1, r_2) of Q(a)\mathbb{Q}(a): its real embeddings, and its pairs of complex conjugate ones.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageNumberFieldSignature✓
NumberFieldSignature(a)(r1,r2)(r_1, r_2) with r1+2r2r_1 + 2r_2 the degree, r1r_1 counted by a Sturm sequence
Typed signatures
TypePackageApplies
(number) -> list<integer>number-theoryalways

Domain: Number theory

Details
  • By Dirichlet's unit theorem the units of OK\mathcal{O}_K have rank r1+r2−1r_1 + r_2 - 1

Examples

Basic #

one real cube root of 2, and a complex pair

live ↗
InNumberFieldSignature(23)\mathrm{NumberFieldSignature}(\sqrt[3]{2})Out[1,1]\bigl\lbrack1, 1\bigr\rbrack

all five roots real

live ↗
InNumberFieldSignature(PolynomialRoot(x5−5x3+4x−1,1))\mathrm{NumberFieldSignature}(\mathrm{PolynomialRoot}(x^5-5x^3+4x-1, 1))Out[5,0]\bigl\lbrack5, 0\bigr\rbrack
Applications #
live ↗
InNumberFieldSignature(2)\mathrm{NumberFieldSignature}(\sqrt{2})Out[2,0]\bigl\lbrack2, 0\bigr\rbrack
live ↗
InNumberFieldSignature(i)\mathrm{NumberFieldSignature}(i)Out[0,1]\bigl\lbrack0, 1\bigr\rbrack
live ↗
InNumberFieldSignature(33)\mathrm{NumberFieldSignature}(\sqrt[3]{3})Out[1,1]\bigl\lbrack1, 1\bigr\rbrack
About
Examples5
Checked againstWolfram Language 5 agree
CrosswalkWolfram Language

Implementation

primitive · kernela kernel — an algorithm over mutable state that would not be readable as a tree

nativeenginetypescriptpackages/ce-patches/src/compute-engine/library/algebraic-numbers.ts
mappedwolframpackages/oracle/src/mappings.ts

See also: NumberFieldDiscriminant