How this calculation works
Enumerate the complete Graver basis of a bounded positive integer row matrix using a justified finite norm bound and exact conformal-minimality tests.
G(A)=nonzero integer kernel vectors minimal under conformal order; ||g||1≤(2mΔ+1)^m, here m=1.A worked example
For A=(1,2,1), the complete basis contains eight signed moves. The mixed move(−1,1,−1) is necessary alongside pair-supported moves.
Good to know
Positive 1×3 or 1×4 integer row with entries 1–5. Complete enumeration through general Steinitz norm bound 2Δ+1, exact kernel and conformal-minimality filtering, both signs included,≤1000 displayed moves. No general matrix Graver construction.
Reference: Eisenbrand, Hunkenschröder, Klein: Graver norm bound (opens in a new tab) ↗
Kernel moves across integer fibers
A row matrix A defines fibers of integer vectors having the same weighted sum. An integer kernel move changes a vector without changing that sum. The Graver basis selects the nonzero moves that cannot be decomposed into smaller sign-compatible kernel moves.
This is a stronger finite object than one relation between monomials or one factorization of a single target value. The basis can support many different fibers. Its definition depends on coordinate signs as well as the equation A g equals zero, so an arbitrary lattice basis is not generally a Graver basis.
Compare this with the Principal toric ideal calculator from a rank one exponent relation. Find all conformally indecomposable integer kernel moves across fibers, rather than one principal toric relation or one target factorization count.
Positive small row matrices
Enter three or four positive integer entries, each at most five. Repeated entries are permitted and remain distinct coordinate positions. Their equality can create a short move transferring one unit between equal-weight coordinates; merging those positions would change the kernel problem.
The implemented domain is one row, not an arbitrary multidimensional constraint matrix. All kernel arithmetic uses integers, and both signs of every primitive move are included. This convention is important when comparing a list that stores just one representative from each pair with its negative.
The repeated-weight worked example
For the default row one-two-one, a move preserves the sum of the first coordinate, twice the second and the third. The vectors minus-one-zero-one and its negative transfer between equal weights. Pair-supported moves involving the weight-two coordinate also appear.
The complete list contains eight signed moves, including minus-one-one-minus-one and its negative. This mixed-support relation uses one unit of the middle coordinate against one unit in each outer coordinate. Omitting it merely because the row has duplicate entries would leave an incomplete Graver basis.
Conformal order gives the minimality rule
A vector h is conformally below g when every coordinate has a compatible sign and no larger absolute value. If a nonzero proper kernel vector h lies below g, then g decomposes into h and g minus h without sign cancellation. Such a g is not Graver-minimal.
The implementation generates all kernel candidates inside the complete norm bound, orders them by their one-norm and retains those without an already retained conformal subvector. A smaller nonminimal kernel subvector itself contains a minimal one, so filtering by retained minimal vectors is sufficient after this norm ordering.
Why a finite search can be complete
Blindly searching a chosen coordinate box would not prove that no longer primitive move exists. The bound used here follows from a general Steinitz-based theorem for integer matrices with m rows and maximum entry magnitude Delta. It bounds the one-norm by two m Delta plus one raised to m.
For one row this becomes two Delta plus one, independent of the three-or-four coordinate count. Every candidate with total absolute coordinate sum at most that value is enumerated. The theorem supplies completeness; the exact enumeration supplies the particular basis. Neither role can be replaced by a favorable sample of short relations.
Counts and signs in the result
The result reports the full signed basis, the theorem's norm bound, the number of kernel candidates examined and the largest norm actually retained. The largest observed basis norm can be much smaller than the proven bound without invalidating the construction or making the extra enumeration unnecessary.
Every retained move should satisfy the kernel equation exactly, and its negative should also be present. A list with twice another package's size may simply use both signs. Compare sign conventions and coordinate order before interpreting such a discrepancy as mathematical disagreement.
Scope before optimization use
A Graver basis supplies potential augmentation directions, but it does not by itself solve an unspecified integer optimization problem. Feasible steps also depend on variable bounds, a target fiber and an objective. The page does not infer those additional constraints from the row matrix alone.
For verification, test each reported vector against every proper sign-compatible bounded subvector on a small example. The independent validation uses that direct test rather than only repeating the same sorted filtering algorithm. Larger entries, more rows or more coordinates require a different implementation and should not be simulated by truncating an unsupported search.
A few questions, answered
Does a lattice basis suffice?
Not generally. Graver minimality requires all conformally indecomposable kernel moves, not just a spanning set.
Why include both signs?
The full signed Graver basis is used here; some lists keep only one representative per opposite pair.
Why is the search complete?
The stated Steinitz norm bound covers every Graver element in the supported one-row domain.
Does it optimize an integer program?
No. It constructs kernel moves; feasibility bounds and an objective require a separate optimization problem.