A single network learns fragment-local two-electron reduced density matrices as a cellular sheaf with physics-fixed restriction maps, so that the sheaf’s consistency residual becomes a per-region estimator of electronic nearsightedness.
A single network learns transferable, fragment-local two-electron reduced density matrices (2-RDMs), organised as a cellular sheaf with operator-valued stalks and physics-fixed compression restrictions. The construction yields a diagnostic. Under a state-dependent metric the sheaf’s consistency residual is a per-region estimator of nearsightedness-of-electronic-matter at the model’s context radius. The narrative is in the electronic-structure article; this note records the construction and its results.
Which coordinate is spent (the design space)
A sheaf-type architecture is a functor
Invertibility is the pivot
One coordinate has outsized consequences.
Proposition. Invertibility ⇒ local system
If every restriction is invertible,
is a local system: transport is an isomorphism, no information is destroyed, and the comparison map from a global object to its restrictions is injective. A separation failure is the existence of distinct globals with identical restrictions, so such a failure can occur only with non-invertible restrictions.
Corollary. A nonlinear fibre forces invertibility
If
is a category of manifolds rather than linear spaces, a structure-preserving morphism cannot fail to be injective while staying a morphism; transport must be a diffeomorphism, hence a group action. Architectures on -bundles, learned maps, versor actions, or congruence by an invertible matrix are all in the invertible regime and cannot represent a situation in which restricting genuinely discards information, which is exactly the situation of a quantum marginal.
The construction
- Stalks. For a fragment
with one-particle space in an atom-localised orthonormal basis, , with a positive semidefinite (PSD) 2-RDM as a stalk element. - Restrictions. For
, orbital-block compression , the 2-RDM of the partial trace over modes outside . These restrictions are fixed by physics rather than learned, and they compose on the nose ( ). - Base and cover. Objects are fragments, morphisms chemistry-preserving induced-subgraph monomorphisms; a cover is a family of
-hop atomic neighbourhoods , whose nonempty intersections form the nerve. With , and sections . - Two radii. Stalk radius
and message-passing depth give a derived context radius , so a prediction depends only on atoms within graph distance of .
Proposition. A stalk is a Euclidean Jordan algebra; the restriction is a Peirce projection
is a euclidean-jordan-algebra with and ; its symmetric cone is the PSD 2-RDMs. Compression is the quadratic representation of the projector, , which by the Peirce fact is the orthogonal projection onto with kernel . It is positive but not a Jordan homomorphism, and above all singular, so the invertibility argument above applies. The restrictions are allowed to lose information because the Jordan product needs no inverses.
Fixing the restriction is what makes the residual a measurement
Quantities sit in three tiers. A hard quantity is exact by construction with zero parameters, a soft quantity is penalised and its residual reported, and a free quantity is learned. Positivity is correctly hard, since a Cholesky form gives it exactly and “how PSD is it” carries no chemistry; consistency is correctly soft.
Why the restrictions must be fixed
If restrictions were learned, then for any per-fragment invertible
the pair has the same overlap residual, a gauge redundancy, and makes every family consistent. Whatever number the loss then reports is a statement about the model’s own learned geometry, not about the object. With restrictions fixed and non-invertible there is no gauge, the section space is external, and the residual is a comparison against a ruler that was not fit to the data. This is the precondition for the nearsightedness claim.
Assembly is Möbius inversion, cancellation-free
The intersection poset
Proposition. Cancellation-free assembly
Every pair index visible in some cover fragment has a unique minimal fragment in
containing it, so the indices partition. Hence
whereis on the indices minimally assigned to . It agrees with the alternating sum by Möbius inversion but is a sum of disjoint non-negative-weight contributions, so per-fragment errors add rather than amplify. Indices whose atoms lie in no cover fragment are left unassigned, and that set is exactly the separation gap below.
What descent fails, and in what degree
The nerve poset glues automatically, so sheafhood there is vacuous; the substantive question is descent for the Grothendieck topology on
Both failures are one comparison map's defect, in degree zero
Separation (injectivity). By the Peirce fact
, the pair entries whose modes sit on atoms more than apart. This kernel is structural and unconditional but soft, since the discarded weight is small for gapped systems and shrinks with without closing. It exists because the restrictions are non-invertible.
Gluing (surjectivity). A consistent family need not come from any-electron state; deciding this is the overlapping quantum marginal problem, QMA-complete. No small-parameter rescue. Both live at ; nothing here is .
Remark. N-representability is orthogonal to the sheaf
The sheaf apparatus (
, , projections) is a functor of the Hilbert layer alone. N-representability structures the cone layer, which that apparatus does not see. A family can be perfectly consistent and grossly non-representable, or representable per fragment and inconsistent. Identifying N-representability with a cohomological obstruction merges independent axes and wrongly predicts that improving consistency improves representability.
The state-dependent metric
State-dependence cannot enter through the cochain spaces; it enters through the inner product, which fixes the adjoint and hence
The unweighted loss mis-calibrates (it treats a well-determined core orbital and a diffuse one alike, and up-weights large fragments); the
The residual estimates nearsightedness
Observation. A section always exists
The true family
satisfies exactly. Residual is therefore not caused by the separation gap.
The network computes
Proposition. Residual = nearsightedness
At the Bayes-optimal readout,
which vanishes for all edges iffis a.s. determined by , that is, iff nearsightedness-of-electronic-matter holds at scale on that overlap. (Compression is linear and commutes with conditional expectation, so each side equals its conditional; subtract.)
The decay test. Track the calibrated residual
A second orthogonal residual from cover change
The residual
| diagnostic | measures | blind to |
|---|---|---|
| whether conditioning at radius | the separation gap | |
| the long-range content the smaller cover structurally discards | misspecification both covers share |
Hypothesis.
Realising it
The readout must be variable-size, PSD,
What would falsify it
The two claims are independent. The within-cover claim dies if
Fibers in the recent sheaf-network literature
The stalk here is a matrix-valued, positive semidefinite fiber whose dimension is set by the fragment basis, which is exactly the fiber-design axis the 2026 sheaf-network literature has opened. Sheaf networks native to the SPD manifold carry a covariance matrix on each fiber and reach state of the art on molecular benchmarks (Peng et al.), and Hilbert-bundle formulations take the fiber to be a function space whose sheaf Laplacian converges to the connection Laplacian under refinement, which is the basis-set-independent limit a fragment density matrix wants. Both read the choice of stalk, not just the base, as the substantive design decision.
At the mean-field rung the connection is tighter still. Harish shows the positive-semidefinite-shifted single-particle molecular Hamiltonian, in a localised atomic-orbital basis, is itself the Laplacian of an
- K. Harish, equivariant cellular sheaves for molecular electronic structure (arXiv:2608.23571).
- Peng et al., sheaf neural networks on the SPD manifold (arXiv:2604.20308).
- Hilbert bundles and cellular sheaves (arXiv:2605.06395); F. Barbero et al., Sheaf Neural Networks with Connection Laplacians (arXiv:2206.08702).
Transport across geometry
The construction above spends its structure on consistency at fixed geometry, but a second, orthogonal direction lets the fragmentation stay fixed while the geometry moves and asks the learned 2-RDM to transport smoothly as the molecule deforms or the active space slides. Consistency there is not a hard physical law but a transfer prior, so its natural operator is a connection-laplacian
Take the base to be the conformation manifold
This targets exactly the failures a fixed-geometry model cannot see, namely extrapolation off the training manifold and the force discontinuities that spoil ab-initio molecular dynamics. When only the active space moves, a
In the transport direction the connection is computed from geometry rather than learned, and only the fibrewise update is learned, so a message-passing layer reads
The two directions compose. Indexing fragments inside each conformer and conformers over the deformation manifold gives an iterated grothendieck-construction
Property. The two consistencies separate by a spectral sequence
Within-conformer (sheaf) consistency and across-conformer (transport) consistency are the two filtration degrees of the double complex on the iterated fibration, so a spectral sequence separates them and they can be diagnosed independently. Both remain orthogonal to N-representability, which lives on the cone layer neither Laplacian sees. In practice build the transport direction first as a smooth predictor over geometry, then add the fragment sheaf as the inner refinement.
Equation card
A compressed reference.
Setup
Cellular sheaf
of fragment 2-RDMs: stalk (a positive semidefinite (PSD) 2-RDM), restriction = compression , coboundary , sections , Laplacian . Context radius .
Restriction = Peirce projection. On the euclidean-jordan-algebra
Invertibility pivot. Invertible restrictions ⟹ local system ⟹ no separation gap; a quantum marginal needs non-invertible restrictions, so the compressions are fixed and singular by design.
Assembly (cancellation-free). → mobius-inversion, kan-extension, replacing the many-body expansion
State-dependent metric.
Residual = nearsightedness. At the Bayes-optimal readout
vanishing for all edges iff nearsightedness holds at scale
Thesis
Fix the restrictions by physics and the consistency residual stops being a property of the model and becomes a measurement of the physics, namely a per-region estimator of nearsightedness at the context radius, with an independent cover-change companion for the long-range content it cannot see.
References
The ingredients are classical; the contribution is the compatibility condition with untouchable restrictions and the residual’s identification with nearsightedness.
- W. Kohn, Density functional and density matrix method scaling linearly with the number of atoms, Phys. Rev. Lett. 76 (1996) 3168; E. Prodan, W. Kohn, Nearsightedness of electronic matter, PNAS 102 (2005) 11635.
- J. Hansen, T. Gebhart, Sheaf neural networks (2020); C. Bodnar et al., Neural sheaf diffusion, NeurIPS, 2022.
- D. A. Mazziotti (ed.), Reduced-Density-Matrix Mechanics, Adv. Chem. Phys. 134, 2007 (N-representability, PQGT).
- J. Faraut, A. Korányi, Analysis on Symmetric Cones, Oxford, 1994 (Euclidean Jordan algebras, Koecher–Vinberg).
- S. Mac Lane, Categories for the Working Mathematician, 2nd ed., Springer, 1998 (Kan extensions); G.-C. Rota, On the foundations of combinatorial theory I, Z. Wahrsch. 2 (1964) 340 (Möbius inversion).