Difference between revisions of "ApCoCoA-1:CharP.GBasisF4"

From ApCoCoAWiki
m (insert version info)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
     <title>Char2.GBasisF4</title>
+
     <title>CharP.GBasisF4</title>
     <short_description>Computing a Groebner Basis of a given ideal in <formula>\mathbb{F}_{4}</formula>.</short_description>
+
     <short_description>Computing a Groebner Basis of a given ideal in <tt>F_4</tt>.</short_description>
 
<syntax>
 
<syntax>
Char2.GBasisF4(Ideal:IDEAL):LIST
+
CharP.GBasisF4(Ideal:IDEAL):LIST
 
</syntax>
 
</syntax>
 
     <description>
 
     <description>
 
<em>Please note:</em> The function(s) explained on this page is/are using the <em>ApCoCoAServer</em>. You will have to start the ApCoCoAServer in order to use it/them.
 
<em>Please note:</em> The function(s) explained on this page is/are using the <em>ApCoCoAServer</em>. You will have to start the ApCoCoAServer in order to use it/them.
 
<par/>
 
<par/>
This command computes a Groebner basis in the field <formula> \mathbb{F}_{4} = (\mathbb{Z}_{\setminus(2)} [x])_{\setminus(x^2 + x +1)}</formula>.  
+
This command computes a Groebner basis in the field <tt>F_4 = (Z/(2))[x]/(x^2 + x +1)</tt>.  
  
 
<itemize>
 
<itemize>
<item>@param <em>Ideal</em> An Ideal in a Ring over Z, where the elements 0,...,3 represent the field's elements. For short, the binary representation of the number represents the coefficient vector if the polynomial in the field, e.g. 11 = 8 + 2 + 1 = 2^3 + 2^1 + 2^0. So the number 11 corresponds to the polynomial x^3 + x + 1.</item>
+
<item>@param <em>Ideal</em> An Ideal in a Ring over <tt>Z</tt>, where the elements <tt>0,...,3</tt> represent the elements of the field <tt>F_4</tt>. For short, the binary representation of the number represents the coefficient vector if the polynomial in the field, e.g. <tt>11 = 8 + 2 + 1 = 2^3 + 2^1 + 2^0</tt>. So the number <tt>11</tt> corresponds to the polynomial <tt>x^3 + x + 1</tt>.</item>
 
<item>@return A Groebner Basis of the given ideal.</item>
 
<item>@return A Groebner Basis of the given ideal.</item>
 
</itemize>
 
</itemize>
 +
 +
<example>
 +
Use R::=QQ[x,y,z];
 +
I:=Ideal(x-y^2,x^2+xy,y^3);
 +
GBasis(I);
 +
 +
[x^2 + xy, -y^2 + x, -xy]
 +
-------------------------------
 +
Use Z::=ZZ[x,y,z];
 +
-- WARNING: Coeffs are not in a field
 +
-- GBasis-related computations could fail to terminate or be wrong
 +
 +
-------------------------------
 +
I:=Ideal(x-y^2,x^2+xy,y^3);
 +
CharP.GBasisF4(I);
 +
-- WARNING: Coeffs are not in a field
 +
-- GBasis-related computations could fail to terminate or be wrong
 +
-- CoCoAServer: computing Cpu Time = 0
 +
-------------------------------
 +
[y^2 + 2x, x^2, xy]
 +
-------------------------------
 +
</example>
 +
 
     </description>
 
     </description>
  
 
     <seealso>
 
     <seealso>
       <see>GBasis</see>
+
       <see>ApCoCoA-1:GBasis|GBasis</see>
     <see>Char2.GBasisF2</see>
+
    <see>ApCoCoA-1:Introduction to CoCoAServer|Introduction to CoCoAServer</see>
     <see>Char2.GBasisF8</see>
+
    <see>ApCoCoA-1:Introduction to Groebner Basis in CoCoA|Introduction to Groebner Basis in CoCoA</see>
     <see>Char2.GBasisF16</see>
+
     <see>ApCoCoA-1:CharP.GBasisF2|CharP.GBasisF2</see>
     <see>Char2.GBasisF32</see>
+
     <see>ApCoCoA-1:CharP.GBasisF8|CharP.GBasisF8</see>
     <see>Char2.GBasisF64</see>
+
     <see>ApCoCoA-1:CharP.GBasisF16|CharP.GBasisF16</see>
     <see>Char2.GBasisF128</see>
+
     <see>ApCoCoA-1:CharP.GBasisF32|CharP.GBasisF32</see>
     <see>Char2.GBasisF256</see>
+
     <see>ApCoCoA-1:CharP.GBasisF64|CharP.GBasisF64</see>
     <see>Char2.GBasisF512</see>
+
     <see>ApCoCoA-1:CharP.GBasisF128|CharP.GBasisF128</see>
     <see>Char2.GBasisF1024</see>
+
     <see>ApCoCoA-1:CharP.GBasisF256|CharP.GBasisF256</see>
     <see>Char2.GBasisF2048</see>
+
     <see>ApCoCoA-1:CharP.GBasisF512|CharP.GBasisF512</see>
     <see>Char2.GBasisF4096</see>
+
     <see>ApCoCoA-1:CharP.GBasisF1024|CharP.GBasisF1024</see>
     <see>Char2.GBasisModSquares</see>
+
     <see>ApCoCoA-1:CharP.GBasisF2048|CharP.GBasisF2048</see>
 +
     <see>ApCoCoA-1:CharP.GBasisModSquares|CharP.GBasisModSquares</see>
 +
     <see>ApCoCoA-1:Representation of finite fields|Representation of finite fields</see>
 
   </seealso>
 
   </seealso>
 +
 +
    <types>
 +
      <type>apcocoaserver</type>
 +
      <type>ideal</type>
 +
      <type>groebner</type>
 +
    </types>
  
 
     <key>GBasisF4</key>
 
     <key>GBasisF4</key>
     <key>char2.GBasisF4</key>
+
     <key>charP.GBasisF4</key>
     <wiki-category>Package_char2</wiki-category>
+
    <key>finite field</key>
 +
     <wiki-category>ApCoCoA-1:Package_charP</wiki-category>
 
   </command>
 
   </command>

Latest revision as of 09:55, 7 October 2020

This article is about a function from ApCoCoA-1.

CharP.GBasisF4

Computing a Groebner Basis of a given ideal in F_4.

Syntax

CharP.GBasisF4(Ideal:IDEAL):LIST

Description

Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

This command computes a Groebner basis in the field F_4 = (Z/(2))[x]/(x^2 + x +1).

  • @param Ideal An Ideal in a Ring over Z, where the elements 0,...,3 represent the elements of the field F_4. For short, the binary representation of the number represents the coefficient vector if the polynomial in the field, e.g. 11 = 8 + 2 + 1 = 2^3 + 2^1 + 2^0. So the number 11 corresponds to the polynomial x^3 + x + 1.

  • @return A Groebner Basis of the given ideal.

Example

Use R::=QQ[x,y,z];
I:=Ideal(x-y^2,x^2+xy,y^3);
GBasis(I);

[x^2 + xy, -y^2 + x, -xy]
-------------------------------
Use Z::=ZZ[x,y,z];
-- WARNING: Coeffs are not in a field
-- GBasis-related computations could fail to terminate or be wrong

-------------------------------
I:=Ideal(x-y^2,x^2+xy,y^3);
CharP.GBasisF4(I);
-- WARNING: Coeffs are not in a field
-- GBasis-related computations could fail to terminate or be wrong
-- CoCoAServer: computing Cpu Time = 0
-------------------------------
[y^2 + 2x, x^2, xy]
-------------------------------


See also

GBasis

Introduction to CoCoAServer

Introduction to Groebner Basis in CoCoA

CharP.GBasisF2

CharP.GBasisF8

CharP.GBasisF16

CharP.GBasisF32

CharP.GBasisF64

CharP.GBasisF128

CharP.GBasisF256

CharP.GBasisF512

CharP.GBasisF1024

CharP.GBasisF2048

CharP.GBasisModSquares

Representation of finite fields