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

From ApCoCoAWiki
(adding a description.)
m (insert version info)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
     <title>Char2.GBasisF8</title>
+
     <title>CharP.GBasisF8</title>
     <short_description>computing a gbasis of a given ideal in <formula>\mathbb{F}_{8}</formula></short_description>
+
     <short_description>Computing a Groebner Basis of a given ideal in <tt>F_8</tt>.</short_description>
 
<syntax>
 
<syntax>
$char2.GBasisF8(Ideal):List
+
CharP.GBasisF8(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.
 +
<par/>
 +
This command computes a Groebner basis in the field <tt>F_8 = (Z/(2))[x]/(x^3 + x +1)</tt>.
  
This command computes a Groebner basis in the field <formula> \mathbb{F}_{8} = (/mathbb{Z}_{\setminus(2)} [x])_{\setminus(x^3 + x +1)}</formula>. It uses the ApCoCoA Server and the ApCoCoALib's class [[ApCoCoALib:RingF8|RingF8]].  
+
<itemize>
 +
<item>@param <em>Ideal</em> An Ideal in a Ring over <tt>Z</tt>, where the elements <tt>0,...,7</tt> represent the elements of the field <tt>F_8</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>
 +
</itemize>
  
The command's input is a an Ideal in a Ring over Z, where the elements 0,..., 7 represent the field's elements. Details on this representation can be found [[ApCoCoA:Representation_of_finite_fields|here]]. For short, the binary representation of the number represents the coefficient vector if the polynomial in the field, e.g.
+
<example>
<formula> 11 = 8 + 2 + 1 = 2^3 + 2^1 + 2^0</formula>
+
Use R::=QQ[x,y,z];
So the number <formula>11</formula> corresponds to the polynomial <formula>x^3 + x + 1</formula>.
+
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.GBasisF8(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 + 4x, 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.GBasisF4</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.GBasisF4|CharP.GBasisF4</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>
     <key>heldt</key>
+
 
     <key>char2.GBasisF8</key>
+
    <types>
     <wiki-category>Package_char2</wiki-category>
+
      <type>apcocoaserver</type>
 +
      <type>ideal</type>
 +
      <type>groebner</type>
 +
    </types>
 +
 
 +
     <key>GBasisF8</key>
 +
     <key>charP.GBasisF8</key>
 +
    <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.GBasisF8

Computing a Groebner Basis of a given ideal in F_8.

Syntax

CharP.GBasisF8(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_8 = (Z/(2))[x]/(x^3 + x +1).

  • @param Ideal An Ideal in a Ring over Z, where the elements 0,...,7 represent the elements of the field F_8. 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.GBasisF8(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 + 4x, x^2, xy]
-------------------------------


See also

GBasis

Introduction to CoCoAServer

Introduction to Groebner Basis in CoCoA

CharP.GBasisF2

CharP.GBasisF4

CharP.GBasisF16

CharP.GBasisF32

CharP.GBasisF64

CharP.GBasisF128

CharP.GBasisF256

CharP.GBasisF512

CharP.GBasisF1024

CharP.GBasisF2048

CharP.GBasisModSquares

Representation of finite fields