Preferences

Color Theme

Atomized Semilattices Playground — Interactive Tutorial

Learn Atoms, Full Crossing, and Redundancy Removal. References: Finite Atomized Semilattices, Infinite Atomized Semilattices, and Semantic Embeddings in Semilattices.

1. Atoms and Atomizations
2. Restrictions and Subalgebras
3. Grounding
4. Products
5. Join Models
6. Full Playground
Loading WebAssembly engine…

Constants

Constants are the basic building blocks of a semilattice. They represent the generators whose meets form all elements. Choose how many constants your model uses (e.g., a, b, c, d).

Atomization

An atomization is an encoding of a semilattice as a set of "atoms". You can think of this encoding as analogous to representing a function by its Fourier transform. Atoms are not elements of the semilattice itself, but they can be viewed as minimal elements of an extended structure, called an atomized semilattice, which extends the partial order of the original semilattice. Each atom is uniquely determined by a set of constants, called its upper constant segment. It can be shown that the atomization corresponds to a subdirect decomposition of the semilattice.

The "freest model" is the most general model for a given set of constants, and it is atomized with one atom per constant. In the freest model, every term (a join of constants) represents a different element. It has |C| atoms and 2|C|−1 elements.

Model Display

It shows the model M as a set of atoms. The Hasse diagram visualizes the semilattice encoded by this set of atoms. A term t (a join of constants) is said to contain an atom if at least one of the constants in t lies in the upper constant segment of the atom. Each node in the Hasse diagram of the semilattice corresponds to an equivalence class of terms that contain exactly the same atoms.

Duples

A duple is an inequality between two terms (e.g. a·b ≤ c). Enforcing a duple on a model amounts to applying the full crossing operator, which removes some atoms and introduces new ones so that the inequality holds. This is how we build models that satisfy specific algebraic constraints.

The full crossing □a·b, c of the duple over a semilattice atomized by M produces an atomization □a·b, c M that encodes the freest semilattice that satisfies all the positive atomic sentences of M (all its "greater than or equal to" relations between terms), together with the additional inequality a·b ≤ c.

Model Setup

Build or import a base model, then apply operations: restrictions (project onto a subset of constants), renames (substitute constants), or subalgebras (extract a sub-semilattice generated by specified terms via rename or full crossing).

Model Setup

Build or import a base model, then apply grounding (adding joins of constants) or crossing operations (enforcing duples). Grounding computes the join-closure of a subset of constants, while crossing enforces an inequality between terms.

Model A

Define model A for the product. Models A and B must use disjoint sets of constants. The product computes the cartesian product of the two models by taking their union and extracting a subalgebra generated by all pairs of constants (one from each model).

Model B

Define model B for the product. Its constants are automatically offset to be disjoint from A. For example, if A uses {a, b} then B uses {c, d}.

Constant Pool

The shared pool of constants available to both models. Each model selects which constants it uses. Unlike Products, models in a Join may share constants.

Model A

Select constants and define atoms for model A. Shared constants with model B will be handled by priming and crossing when computing the join.

Model B

Select constants and define atoms for model B. For shared constants with A, the join computation renames them to primed copies in B, enforces equality via crossings, then restricts to the original constants.

Model Setup

The full playground lets you build a base model and then apply any sequence of operations — grounding, restriction, rename, subalgebra, or crossing — branching into a tree of derived models. Each derived model can itself be the source for further operations.