caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Harrison, John R" <john.r.harrison@intel.com>
To: "guanhua he" <guanhua.he@durham.ac.uk>
Cc: <caml-list@inria.fr>
Subject: RE: [Caml-list] Is Grobner Basis calculation implemented in OCaml?
Date: Mon, 22 Oct 2007 08:28:09 -0700	[thread overview]
Message-ID: <509223F0BF55E74FA1247D17207E7A0C0208D961@orsmsx419.amr.corp.intel.com> (raw)
In-Reply-To: <471C8807.1040605@dur.ac.uk>

Hi Guanhua,

| Does anyone know whether there is a library implemented to calculate
| Grobner Basis in OCaml? If there is, could you tell me where can I
find
| it, please?

There is a simple implementation here:

  http://www.cl.cam.ac.uk/~jrh13/atp/OCaml/grobner.ml

However this is a *very* straightforward version, just designed to
explain the algorithm rather than to be useful for serious problems.
It relies on some other code in the same directory (go up a bit to
"http://www.cl.cam.ac.uk/~jrh13/atp/" for more information) but the
dependencies are not that great and it would be quite easy to
separate.

There is a somewhat better implementation available as part of the
HOL Light prover (also available from my home page as above), which is
in a similar style and could also be ripped out without much effort.
It's better in that it uses Buchberger's first and second criteria for
ignoring S-polynomials, and also queues the S-polynomials in a
reasonable heuristic order.

John.


      reply	other threads:[~2007-10-22 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071022100005.DCE6DBC69@yquem.inria.fr>
2007-10-22 11:22 ` guanhua he
2007-10-22 15:28   ` Harrison, John R [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=509223F0BF55E74FA1247D17207E7A0C0208D961@orsmsx419.amr.corp.intel.com \
    --to=john.r.harrison@intel.com \
    --cc=caml-list@inria.fr \
    --cc=guanhua.he@durham.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).