Macaulay2 / Macaulay2/M2

option to override monomial order in leadTerm, gb, etc.

Open
#4,257 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Engine
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

This feature likely requires engine changes to do correctly, but I wish it was possible to override the ring's monomial order in calls to leadTerm or gb, without making a new ring and mapping everything over.

I understand that having rings tied to monomial orders as first class objects is pretty much a Macaulay2 truism, so I'm wondering if there are cons to having the monomial order be a separate argument in every call in engine or even top level (but of course a default order can be cached, so not every caller needs to specify the order).

This is particularly convenient in areas where working with different monomial orders simultaneously is useful.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the engine and top-level implementations of leadTerm and gb, then review how rings and monomial orders are represented and passed today. Compare the implications of a separate order argument with creating a new ring, and define the API and engine behavior needed to support simultaneous monomial orders before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.