Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 1.66 KB

README.md

File metadata and controls

72 lines (51 loc) · 1.66 KB

Grobner

Docker CI

A fornalisation of Grobner basis in ssreflect. It contains one file

grobner.v

It defines

From mathcomp Require Import all_ssreflect all_algebra.
From SsrMultinomials Require Import ssrcomplements freeg mpoly.
From mathcomp.contrib.grobner Require Import grobner.

Print ideal.

(*
ideal =
fun (R : ringType) (n : nat) (L : seq {mpoly R[n]}) (p : {mpoly R[n]})
  =>
  exists t, p = sum_(i < size L) t`_i * L`_i
*)

(* it is decidable *)

Check idealfP.
(*
idealfP
     : forall (R : fieldType)  (n : nat) (p : {mpoly R[n]})
              (l : seq {mpoly R[n]}),
       reflect (ideal l p) (idealf l p)
*)

Meta

Building and installation instructions

To build and install manually, do:

git clone https://github.com/thery/grobner.git
cd grobner
make   # or make -j <number-of-cores-on-your-machine> 
make install