Advanced maths

Squarefree monomial ideal Alexander dual calculator

Compute the squarefree monomial ideal Alexander dual as exact minimal generator supports, with redundancy removal and a double-dual check.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Compute the squarefree monomial ideal Alexander dual as exact minimal generator supports, with redundancy removal and a double-dual check.

THE FORMULAI∨ = intersection over generator supports E of (xi : i∈E); minimal generators correspond to minimal hitting sets.

A worked example

For I=(x0x1,x1x2), minimal hitting sets of {{0,1},{1,2}} are {1} and {0,2}. Therefore I∨=(x1,x0x2), and dualizing again recovers I.

Good to know

One to twelve declared variables and at most thirty squarefree generator supports. Exact subset enumeration and minimality checks; repeated variables inside a support are rejected. Empty input denotes the zero ideal, while an empty support denotes generator 1 and hence the unit ideal. Double dual is relative to the declared ground set.

Duality for squarefree monomial ideals

A squarefree monomial uses each variable at most once, so its support is a set of variable indices. A monomial ideal generated by such supports can be described combinatorially as a hypergraph. Its Alexander dual is the intersection of the variable-generated prime ideals attached to those supports.

A squarefree monomial belongs to that intersection precisely when its support meets every original generator support. The dual’s minimal generators are therefore the inclusion-minimal hitting sets. This construction is algebraic and combinatorial; it is unrelated to the Alexander polynomial of a knot despite the shared historical name.

Generator supports versus minimal hitting sets and a double-dual arrowOriginal supports{0,1} {1,2}Minimal hitting sets{1} {0,2}I = (x₀x₁, x₁x₂)I∨ = (x₁, x₀x₂)Double dual returns the normalized original ideal
Scroll across to see the full diagram.
The dual generators are all inclusion-minimal hitting sets, including both the singleton {1} and the larger set {0,2}.

Compare this with the Monomial ideal multigraded Betti table calculator. Construct the dual ideal/minimal transversal generators, rather than compute a Betti table or Alexander polynomial of a knot.

Declare the ground set explicitly

Choose the number of variables, labeled zero through n−1, and supply each generator as a list of distinct indices. The declared ground set remains fixed even if a variable does not occur in any generator. This prevents an unused variable from being silently deleted when interpreting duality or comparing outputs.

An empty outer list represents an ideal with no generators, namely the zero ideal. An empty support inside the list represents the monomial one, which generates the whole ring. These two inputs are very different and must remain distinguishable in both parsing and display.

Remove redundant generators first

If support E is contained in support F, then the monomial for E divides the monomial for F. Including F adds nothing to the generated ideal, so it can be removed. Repeated supports are redundant for the same reason. The normalized list is an antichain under inclusion.

This normalization improves the hitting-set search and makes the result easier to compare. It does not change the ideal or its dual. A list such as {{0},{0,1}} normalizes to {{0}}, whereas {{0},{1}} keeps both entries. Counting entered rows without removing divisibility redundancy would not count minimal generators.

Enumerate minimal transversals exactly

The supported ground set is small enough to examine every variable subset. A subset is a hitting set if it intersects every normalized input support. It is minimal when deleting any one of its variables destroys that property. The surviving supports form the minimal generator list of the Alexander dual.

Minimal here means inclusion-minimal, not globally smallest cardinality. Different minimal transversals can have different sizes and all are required. Keeping only the shortest hitting sets would generally return the wrong ideal, even if it solved a separate minimum set-cover problem successfully.

Work through two overlapping generators

For I=(x0x1,x1x2), variable 1 alone meets both supports, giving the minimal hitting set {1}. A hitting set that avoids variable 1 must contain both 0 and 2, giving {0,2}. No proper subset of {0,2} hits both original supports.

Hence I∨=(x1,x0x2). Repeating the hitting-set construction on {{1},{0,2}} gives {{0,1},{1,2}}, exactly the original normalized ideal. The example illustrates why the dual may contain minimal generators of different degrees: one dual generator is linear and the other quadratic.

Handle zero and unit ideals deliberately

For the zero ideal, there are no supports to hit, so every subset satisfies the condition and the unique minimal one is the empty set. Its monomial is one, making the dual the unit ideal. For the unit ideal, the empty generator support cannot be hit by any variable subset, so its dual is zero.

These conventions make duality involutive at the boundary: zero and unit exchange and then return. They also prevent an empty display from being ambiguously labeled as no result. The interface should show the normalized ideal and explain whether an empty support means one, rather than printing a blank monomial.

Verify the involution and its limits

Dualizing twice must recover the original normalized squarefree generator supports over the same declared variables. Independently verify that every returned generator hits every original support and that deleting any element makes it fail. Those tests establish both membership and inclusion-minimality, not just a plausible generator count.

The initial page does not generalize silently to nonsquarefree exponents, where a generalized Alexander dual requires an additional bounding vector and different conventions. It also does not compute Betti numbers or infer homology from the dual alone. Keep those separate algebraic tasks explicit when using this result in a larger workflow.

A few questions, answered

Does minimal mean smallest size?

No. Every inclusion-minimal hitting set is required, including ones larger than the smallest.

What does an empty support mean?

It is the monomial one, so the input ideal is the unit ideal.

What does an empty generator list mean?

It is the zero ideal, whose dual is the unit ideal.

Can I use repeated variable powers?

No. This page is squarefree; nonsquarefree generalized duality needs extra conventions.

Find your calculator

Start typing to explore the library.