Algfield - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Algfield

compute an irreducible representation for a field extension

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

evala(Algfield(S, G))

Parameters

S

-

set of algebraic numbers in RootOf notation

G

-

(optional) set of algebraic numbers in RootOf notation (a ground field)

Description

• 

Given a set of RootOfs representing algebraic numbers (see algnum) or algebraic functions (see algfun), this function attempts to compute a set of irreducible RootOfs representing the same field. The set S may also contains algebraic numbers in radical notation (see radnum), which be will converted to the RootOf notation.

• 

Algebraic functions in RootOf notation (algfun) or radical notation (radfun) are also valid inputs, but in this case, this routine will usually fail to find an irreducible representation if some factorizations are found (see below).

• 

A set S of RootOfs is called irreducible (or independent) if the RootOfs satisfy no non-trivial algebraic relations. In other words, the polynomial defining a RootOf R in S must be irreducible over the field generated by the RootOfs in S which do not contain R. This function is similar to Indep and radfield.

• 

Typically, this function may be used to preprocess an expression involving reducible algebraic numbers in RootOf notation before invoking a procedure which requires the RootOfs to be irreducible.

• 

The output is a five element list of the following form (the first three elements are the most important ones):

  

[[r_1=f_1(R_1,...,R_s), r_2=f_2(R_1,....,R_s),...., r_t=f_t(R_1,...,R_s)],

  

[[R_1=g_1(r_1,...,r_t), R_2=g_2(r_1,....,r_t),...., R_s=g_s(r_1,...,r_t)],

  

{R_1,...,R_s},

  

return_code,

  

{V_1=W_1,...,V_u=W_u}]

  

where the r_i's are the input RootOfs, the R_i's are the output RootOfs, the f_i's are the expressions of the r_i's in terms of the R_i's and the g_i's are the expressions of the R_i's in terms of the r_i's.

– 

The first sublist is a forward substitution list meant to be used in conjunction with the eval and subs commands. The purpose of this list is to transform an expression so that it involves only a set of irreducible RootOfs.

– 

The second sublist is a backward substitution list meant to restore the original RootOfs.

– 

The third element is the set of irreducible RootOfs.

– 

The return code can be true, if the routine could find a set of irreducible RootOfs to express the input, false if such a set could not be found and some unresolved relations exist (see example below). The latter usually happens when the input contains reducible algebraic functions.

– 

The fifth element is a set of unresolved relations.

• 

Note that trivial substitutions of the form R=R are omitted so that the number of elements in the forward (resp. backward) substitution list may not be t (resp. s).

• 

If a second argument G is given, then the RootOfs in the set G are considered as independent.

• 

WARNINGS:

– 

The running time of this algorithm is, in general, exponential in the number of input RootOfs, and so is the degree of the extension generated by the input.

– 

Since the ordering of objects may vary from a session to another, the output may change accordingly. The ordering may also have an influence on the running time.

Examples

r1RootOf_Z44,index=3

r1RootOf_Z44,index=3

(1)

evalaAlgfieldr1

RootOf_Z44,index=3=RootOf_Z22,index=2,RootOf_Z22,index=2=RootOf_Z44,index=3,RootOf_Z22,index=2,true,

(2)

r2RootOf_Z23,index=1

r2RootOf_Z23,index=1

(3)

r3RootOf_Z26,index=1

r3RootOf_Z26,index=1

(4)

evalaAlgfieldr1,r2,r3

RootOf_Z44,index=3=RootOf_Z26,index=1RootOf_Z23,index=13,,RootOf_Z26,index=1,RootOf_Z23,index=1,true,

(5)

evalaAlgfieldr1,r2,r3

RootOf_Z44,index=3=RootOf_Z26,index=1RootOf_Z23,index=13,,RootOf_Z26,index=1,RootOf_Z23,index=1,true,

(6)

aliass1=RootOf_Z41+r12,index=1:

aliass2=RootOf_Z22,index=2:

evalaAlgfields1

RootOf_Z44,index=3=s2,s1=RootOf_Z2+s2+1,index=1,s2=RootOf_Z44,index=3,RootOf_Z2+s2+1,index=1=s1,s2,RootOf_Z2+s2+1,index=1,true,

(7)

Factorization algorithms for polynomials over algebraic extension fields usually require irreducible RootOfs. In the example below, the polynomial p is transformed and its coefficients are restored after the factorization step.

aliasζ3=RootOf_Z31,index=2:

px3+x2ζ3xζ321+xζ3

px3+x2ζ3xζ32+xζ31

(8)

AevalaAlgfieldζ3:

p1factorevalp,A1:

evalp1,A2

x2+2ζ3xζ3x+ζ3

(9)

Some examples of failure:

evalaAlgfieldRootOf_Z2x2,index=1

,,,false,RootOf_Z2x2,index=1=x,RootOf_Z2x2,index=1=x

(10)

Here, Algfield failed because none of the possible factors is equal, as a function of the complex variable x, to the input function.

r4RootOf_Z44

r4RootOf_Z44

(11)

evalaAlgfieldr4

,,,false,RootOf_Z44=RootOf_Z22,RootOf_Z44=RootOf_Z2+2

(12)

Algfield fails because there are two possible choices for r4. The possible relations are given by the fifth element of the list.

r5RootOf_Z23

r5RootOf_Z23

(13)

evalaAlgfieldr2,r5

,,RootOf_Z23,index=1,false,RootOf_Z23=RootOf_Z23,index=1,RootOf_Z23=RootOf_Z23,index=1

(14)

Algfield does not know whether r2=r5 or not.

See Also

evala

Indep

RootOf,indexed