Tldr

Lattice Dimers is my open project on dimer coverings of two lattices: the square lattice, whose perfect matchings are domino tilings, and the king’s graph, the square lattice with both diagonals, whose perfect matchings are domicule tilings. It holds exact solvers in Rust, Python and JavaScript, a paper and a companion note on the entropy of the king’s graph, contributions to five OEIS entries, two of them new, and a site with notebooks, a gallery and benchmarks.

What it is

A domino covers two cells that share a side. A domicule covers two cells that share a side or only a corner. Counting their tilings of rectangles, cylinders and tori exactly is the engineering half of the project. For dominoes the count has a closed form. For the king’s graph, Kasteleyn’s method does not apply, so the counts come from transfer matrices and the research half is the entropy per site of those tilings.

The project began as two blog posts in Polish, Domino Tiling (in Polish) and Domino tiling library (in Polish), which describe the first domino solvers and their test and benchmark runners. The domicule solvers, the research on the king’s graph and the OEIS entries grew from that code.

What it holds

  • Solvers: 13 algorithms for rectangles, cylinders and tori, each in Rust, Python and JavaScript.
  • Research: the paper The dimer entropy of the king’s graph and the companion note Log-convexity of strip dimer counts on the king’s graph, with scripts, data and proofs.
  • OEIS: entry texts, b-files and PARI/GP programs for five sequences.
  • The site: a gallery that draws and numbers tilings, benchmark tables and notebooks whose code cells run when the site is built.

Notes

whatwhere
Site with notebooks, gallery and benchmarksdawidrylko.github.io/lattice-dimers
Repositorygithub.com/dawidrylko/lattice-dimers
Code and data, tag king-entropy-v1.0.0doi:10.5281/zenodo.23686293
Paper, The dimer entropy of the king’s graphdoi:10.5281/zenodo.23686056, PDF
Note, Log-convexity of strip dimer counts on the king’s graphdoi:10.5281/zenodo.23686087, PDF
A004003domino tilings of the square
A239264domicule tilings of the rectangle
A239273domicule tilings of the square
A401670domicule tilings of the torus
A401673domicule tilings of the square by the number of diagonal domicules

The code is MIT. The papers, notes and data are CC BY 4.0. Author: Dawid Ryłko, ORCID 0009-0008-6307-9015.