# Crystal cells: scope and provenance

This release enumerates all 118 elements and provides **67 complete, selected
crystalline reference cells**. An unavailable geometry stays null. There is no
fabricated crystal for a missing or incompletely specified entry.

The geometric object is a **primitive repeating cell plus its atomic basis**, with
periodic boundary conditions. It is not a minimum thermodynamically stable free
cluster. For example, fcc gold has one atom per primitive cell and four atoms per
conventional cubic cell. Neither count means an isolated atom, or four atoms,
already has bulk gold reflectance. Surface morphology and finite-size electronic
structure matter for a physical nanocrystal.

## Reproducible source

The bundled source is the official Atomic Simulation Environment (ASE) data module
at commit `c77931fd38c5fdaa560bc204488fad5e4c50f4c8` (18 September 2026):

- [Pinned ASE reference source](https://gitlab.com/ase/ase/-/blob/c77931fd38c5fdaa560bc204488fad5e4c50f4c8/ase/data/__init__.py)
- [Official ASE data documentation](https://docs.ase-lib.org/ase/data.html)
- [Official primitive-cell construction](https://docs.ase-lib.org/_modules/ase/build/bulk.html)
- [Official lattice-vector definitions](https://docs.ase-lib.org/_modules/ase/lattice.html)

The upstream code attributes its reference-state values to Ashcroft and Mermin,
*Solid State Physics* (1976), the periodic table inside the front cover and page
127. These are rounded compiled reference values; the table supplies no
datum-specific pressure, temperature, measurement error or phase-stability model.
The magnetic-moment field is deliberately discarded because ASE says those values
are not sourced from Ashcroft and Mermin or anywhere in particular.

`fetch_crystal_reference.py` extracts only the chemical-symbol, element-name and
reference-state assignments with a restricted AST parser. It never executes the
downloaded source. Normal offline use needs neither ASE nor a network connection.
The raw source and the derived JSON are bundled and SHA-256 pinned.
The unmodified ASE license notice, LGPL2.1 and accompanying GPL2 texts are
included in `data/crystal_references/`; `ATTRIBUTION.md` identifies the upstream
source and the JSON extraction under LGPL-2.1-or-later.

## Geometry checks and corroborating prototypes

Lattice vectors are rows of a 3-by-3 matrix `A`; Cartesian atom positions are
`fractional @ A`. Fractional coordinates lie in `[0,1)`. Every rendered primitive
cell has positive determinant and a finite, nonduplicate basis. Equivalent
origins and rotations can change the displayed coordinates without changing the
periodic structure.

| Family | Primitive atoms | Source for the geometric prototype |
|---|---:|---|
| fcc | 1 | [AFLOW A1](https://aflow.org/p/A_cF4_225_a-001/) |
| bcc | 1 | [AFLOW A2](https://aflow.org/p/A_cI2_229_a-001/) |
| hcp | 2 | [AFLOW A3](https://aflow.org/p/A_hP2_194_c-001/) |
| Diamond | 2 | [AFLOW A4](https://aflow.org/p/A_cF8_227_a-001/) |
| In, body-centered tetragonal | 1 | [AFLOW A6](https://aflow.org/p/A_tI2_139_a-001/) |
| Beta-Sn, body-centered tetragonal basis | 2 | [AFLOW A5](https://aflow.org/p/A_tI4_141_a-001/) |
| As, Sb, Bi rhombohedral | 2 | [AFLOW A7](https://aflow.org/p/A_hR2_166_c-001/) |
| Alpha-Sm rhombohedral | 3 | [AFLOW C19](https://aflow.org/p/A_hR3_166_ac-001/) |
| Solid alpha-Hg rhombohedral | 1 | [AFLOW A10](https://aflow.org/p/A_hR1_166_a-002/) |

The AFLOW encyclopedia supplies primitive vectors, complete basis descriptions
and references to crystallographic studies. Its 2024 release is described in
[Eckert et al., Computational Materials Science 240, 112988](https://doi.org/10.1016/j.commatsci.2024.112988).
It corroborates the structure constructions; numerical lattice constants in this
release remain the separate ASE compilation and are not silently substituted
from AFLOW examples measured under other conditions.

## Explicit omissions and phase choices

- H, He, N, O and F have isolated atomic or molecular reference entries in ASE,
  not solid-crystal bases. No monatomic close-packed solid is invented for them.
- Ne, Ar, Kr and Xe cells represent low-temperature solid phases, although those
  elements are gases at 298 K near one bar. Hg represents a cooled solid phase,
  although mercury is liquid at those ambient conditions. Helium needs pressure
  to crystallize; cooling at ambient pressure is insufficient.
- Carbon explicitly selects the diamond allotrope. It does not label diamond as
  carbon's unique phase or as the thermodynamically stable ambient-pressure phase.
  Tin selects beta-tin, distinct from low-temperature alpha-tin. Lithium selects
  room-temperature bcc, not a claimed unique zero-temperature ground state.
- ASE labels Se and Te as hcp while explicitly noting that their three-atom bases
  are missing. Those entries remain unresolved rather than using a two-atom hcp
  basis.
- La, Pr and Nd are withheld because the short hcp labels do not encode their
  double-hcp stacking. [AFLOW's alpha-La prototype](https://aflow.org/p/A_hP4_194_ac-001/)
  specifies four atoms with ABAC stacking and lists Pr and Nd in this structure.
- Pa, U and Np are withheld because a tetragonal/orthorhombic label with lengths
  does not supply enough centering and basis information for their actual cells.
- B, P, S, Cl, Mn, Ga, Br and I have explicitly missing bases in the chosen source.
  Pu is also unsupported. Null entries are missing-source states, not claims that
  these elements cannot crystallize.
- Unknown or unassessed heavy-element states are not extrapolated into a measured
  periodic table. The `state_at_298K_near_1bar` field is only a coarse contextual
  annotation, not a phase diagram or a prediction for synthetic elements.

## What the geometry can and cannot test

Repeating cells support explicit position matrices and interference calculations.
They do not by themselves determine a material's dielectric function, absorption,
interband transitions, surface oxidation or observed color. A color computed from
measured optical constants is a data-driven reconstruction; it is not a new
prediction of those constants from a four-dimensional geometry. A hypothetical
4D lift may be visualized separately, but does not establish an extra physical
dimension. No lattice constants are fitted to visible colors in this release.
