Skip to content

Commit 9e64402

Browse files
authored
Merge pull request #203 from vneiger/fix_detail_spec_repeated_monomials
Specify explicitly that repeated monomials in input files are not expected
2 parents cb68ebe + 282da51 commit 9e64402

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ Polynomials may be multiline, thus `,` as a separator.
4949

5050
Coefficients can be rational, using `/`, e.g. `-2/3*x2*y1^2+...`.
5151

52+
In each polynomial, a single occurrence of each monomial is expected; the
53+
behaviour of msolve's parser is undefined if some monomial is repeated, as in
54+
`x1+x2+x3+x4-x1`.
55+
5256
# Basic usage
5357

5458
Some basic commands are as follows:

doc/msolve-tutorial.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,9 @@ \section{Input file format}\label{sec:input}
411411
and with a line break (no comma or line break for the last one).
412412
\end{enumerate}
413413

414-
414+
In each given polynomial, \msolve expects a single occurrence of each monomial;
415+
if some monomial appears several times (e.g.\ as in \verb#x+2*y+2*z-x#),
416+
the behaviour of \msolve's parser is undefined.
415417

416418
When one wants to solve this system over $\frac{\Z}{65521\Z}$ one just replaces
417419
$0$ by $65521$ in the second line. Note that in the positive characteristic case

0 commit comments

Comments
 (0)