Machine-checked finite algebra behind the entanglement offset of a gapped free-fermion chain.
Jeromie Beasley
Cut a block out of a gapped chain of fermions. The trace of its entanglement Hamiltonian, the offset, is the log-odds of finding the block completely empty versus completely full:
The paper measures this number, shows that a symmetry of the cut arrangement forces it to vanish, and recognises a closed form for it across the Rice–Mele family (matched numerically; its derivation is still open). This repository proves, in Lean 4 with Mathlib, the finite algebra that argument stands on. Every proof is checked by the Lean kernel on every push.
| If you want to… | Open |
|---|---|
| See the main results in plain Mathlib terms | OffsetLean/Headline.lean |
| Know exactly what is not proved | LIMITATIONS.md |
| Check where every file came from | PROVENANCE.md |
| See the proofs themselves | OperatorFirst/ |
| See the statements that must be rejected | FalseControls/ |
Seven statements, each written using only Lean core and Mathlib notions, so no definition from this project is needed to read them. Each is proved by citing a theorem in the library.
| # | Statement | In words |
|---|---|---|
| 1 | asymmetry_eq_tanh_half_offset |
For positive p, m: (m − p)/(m + p) = tanh((log m − log p)/2) |
| 2 | endpoint_amplitude_lt_one |
With positive hopping, the endpoint amplitude v / √(Emin·Emax) is strictly inside (−1, 1) |
| 3 | asymmetry_relative_error |
Perturbing each probability by at most a fraction ε < 1 moves the asymmetry by at most ε/(1 − ε) |
| 4 | compression_formation_domain |
A compressed symmetric projector with both projected embeddings injective gives det C > 0, det(1 − C) > 0, asymmetry inside (−1, 1) |
| 5 | bounded_convergent_not_monotone |
Bounded and convergent does not imply monotone (a false step, refuted) |
| 6 | band_equation_forces_zero |
An exact band equation on infinitely many points forces both polynomial components to vanish |
| 7 | boundary_column_forces_affine |
A determinant with a single boundary column of top degree one is an affine polynomial |
The proof files keep their original module names so their hashes match the verified sources exactly. Grouped by subject:
| Subject | Files | Theorems |
|---|---|---|
| The offset as log-odds: occupations, flip symmetry, finite log-odds of empty versus full, determinant ratios, counterexamples to over-reaching claims | Offset, OffsetFock |
53 |
| Reflection and the endpoint formula: sublattice reflection, the offset is minus twice the odd part, asymmetry = tanh(offset/2), strict band products, refuted monotonicity | OffsetEndpoint |
30 |
| Transfer and error control: three-site interpolation, transfer mixing, relative-error bounds, conditional endpoint assembly | EndpointProgress, EndpointTransfer |
25 |
| Finite covariance and band obstruction: compressed projectors are Gram matrices, strict formation domain, exact band forces zero | FiniteCovariance, BandObstruction |
11 |
| Boundary-column degree mechanism: Laurent coefficient bounds, determinant column budgets, one boundary column forces an affine polynomial | LaurentBoundary |
20 |
Rice–Mele sign symmetry: flipping every B-sublattice site sends hopping signs (a, b) → (−a, −b) and leaves the determinant unchanged |
RiceMeleOddSymmetry |
4 |
The explicit odd-boundary matrix: equation (9) at every finite size, entry degree bounds, the explicit basis change and its inverse, the determinant bound carried back to the original matrix, the onsite chart i t + c/t, the dispersion-chart identity |
BoundaryModel |
13 |
| Total | 156 |
Every push runs the proof check on GitHub:
- Build: every module compiles against Lean v4.33.0 and Mathlib
v4.33.0. - Independent replay: every module is re-checked by Lean's separate kernel checker.
- Axiom audit: every one of the 163 named theorems depends only on
propext,Classical.choiceandQuot.sound, the three standard axioms of Mathlib. Nosorry, no project axioms, nonative_decide. - False controls: 15 deliberately false statements must fail to compile, and fail for a mathematical reason, not a typo. This shows the checker can say no.
The evidence (axiom log, control logs, report.json with the SHA-256 of every
file) is attached to each run.
To check it yourself with Lean installed:
lake exe cache get
lake build
python3 scripts/verify.pyLean proves exactly the statements written, under exactly the hypotheses
written. The infinite-chain limit, the closed form's derivation, energy
calibration and any cosmological reading are outside these proofs; see
LIMITATIONS.md for the complete list.
The Offset Belongs to the Boundary, Jeromie Beasley. DOI 10.5281/zenodo.22181748.
Citation metadata is in CITATION.cff. The Lean code and
scripts are released under the MIT License; prose and figures under
CC BY 4.0; see LICENSING.md. How AI tools were used is stated in AI_USE.md.