From 18386e18619c03283e7f74590c09c51ac1062f66 Mon Sep 17 00:00:00 2001 From: KellyJDavis Date: Sat, 31 Oct 2026 11:09:44 +0100 Subject: [PATCH] Add About, Roadmap and Get Involved pages; simplify the README - The website has About, Roadmap and Get Involved pages, and the header on every page (website, books, blueprint, API docs, 404) links to them. - Header links are spaced more tightly so that seven entries fit. - The footer separates documentation links from project links. - The README is simplified and shows the Axiom 3 diagram, in light and dark versions. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 + README.md | 58 +++++--------- blueprint/src/extra_styles.css | 2 + blueprint/src/webtheme/site-header.html | 6 ++ web/Main.lean | 5 +- web/README.md | 10 ++- web/Site.lean | 3 + web/Site/About.lean | 51 ++++++++++++ web/Site/Components.lean | 94 +++++++++++++++++++++++ web/Site/Diagram.lean | 5 +- web/Site/GetInvolved.lean | 30 ++++++++ web/Site/Links.lean | 38 ++++++--- web/Site/Roadmap.lean | 39 ++++++++++ web/Site/Theme.lean | 65 ++++++++++++++-- web/docs-theme/physicslib4-docs.css | 3 + web/docs-theme/site-header.html | 6 ++ web/redirects/404.html | 8 ++ web/static_files/axiom3-diagram-dark.svg | 29 +++++++ web/static_files/axiom3-diagram-light.svg | 29 +++++++ 19 files changed, 423 insertions(+), 60 deletions(-) create mode 100644 web/Site/About.lean create mode 100644 web/Site/GetInvolved.lean create mode 100644 web/Site/Roadmap.lean create mode 100644 web/static_files/axiom3-diagram-dark.svg create mode 100644 web/static_files/axiom3-diagram-light.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index bf0515b..54df7f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ file is where its history lives. The first release, 1.0, is in preparation. +- The website has About, Roadmap and Get Involved pages, and the header on every page links to them. + - The Jekyll home page is retired: the Verso website is served at the root, with redirects from the old page URLs, and the Lean and Mathlib versions are stated in `README.md` alone. The blueprint's text column and the API docs' welcome page are centred as in the books, and the web blueprint's diff --git a/README.md b/README.md index fd6a12b..7d4424b 100644 --- a/README.md +++ b/README.md @@ -1,49 +1,29 @@ # physicslib4 -**A Lean 4 formalisation of the mathematical foundations of physics** +A Lean 4 library for axiomatic physics. -## Goal - -This project works towards a formal resolution of **Hilbert's 6th problem** — the axiomatisation of the mathematical foundations of physics — in the [Lean 4 theorem prover](https://leanprover-community.github.io). - -Hilbert's 6th problem calls for a rigorous mathematical treatment of the axioms underlying physical theories, analogous to what Euclidean geometry received from Hilbert's own *Grundlagen der Geometrie*. Modern physics has produced candidate axiom systems — operator-algebraic frameworks for quantum mechanics and quantum field theory chief among them — but these have never been subjected to the kind of machine-checked formal scrutiny that Lean makes possible. This project aims to change that. - -## AQFT in Minkowski and Lorentzian Spacetime +Official website at . -physicslib4 formalises **Algebraic Quantum Field Theory (AQFT)**, specifically a sharpened version of the [Haag–Kastler axioms (1964)](https://doi.org/10.1063/1.1704187), in both Minkowski and curved (Lorentzian) spacetime. This covers: +

+ + + A causal diamond B containing two smaller diamonds B₁ and B₂. Dashed light-cone lines from B₁ bound its causal future and past, and B₂ lies outside them. + +

-- The GNS construction and its role in representing states on C\*-algebras. -- Causal structure: Minkowski and Lorentzian spacetimes, timelike/spacelike/null vectors, chronological and causal futures and pasts, the Alexandrov topology. -- The sharpened Haag–Kastler axioms (Local Algebras, Isotony, Local Commutativity, Quasilocal Algebra, Lorentz/Isometric Covariance) and their curved-spacetime generalisations. -- Local von Neumann algebras, irreducibility, and the equivalence of purity, irreducibility of the GNS representation, and extremality in the state space. -- KMS states, Killing-flow automorphism groups, and thermal representations in curved spacetime. +

Axiom 3 in one picture: the diamonds B₁ and B₂ are spacelike separated inside B, so their observables commute.

-The blueprint gives full mathematical detail; see the links below. +# What's physicslib4? -## Scope +physicslib4 aims to formalise axiomatic physical theories in the [Lean 4 theorem prover](https://leanprover-community.github.io). The library covers algebraic quantum field theory: the [Haag–Kastler axioms](https://doi.org/10.1063/1.1704187) in Minkowski and curved spacetime, the GNS construction, spectral theory and Stone's theorem. -AQFT on fixed Minkowski or Lorentzian spacetime is a significant milestone, but not the end goal. Both settings treat spacetime as a fixed background and do not account for backreaction — the mutual influence between matter and geometry that is central to general relativity. A complete answer to Hilbert's 6th problem will ultimately require going further. - -The repository is therefore designed to grow. Future work may include, for example: - -- An axiomatisation of quantum mechanics (which would fall squarely within the project's scope). -- Quantum field theory on dynamical spacetimes. -- Connections to semiclassical gravity and beyond. - -Contributions in any of these directions are welcome. +## Goal -## Links +This project works towards a formal resolution of **Hilbert's 6th problem**: a rigorous mathematical treatment of the axioms underlying physical theories. -| Resource | Link | -|---|---| -| Landing page | https://physicslib.github.io/physicslib4/ | -| Blueprint (web) | https://physicslib.github.io/physicslib4/blueprint/ | -| Blueprint (PDF) | https://physicslib.github.io/physicslib4/blueprint.pdf | -| Dependency graph | https://physicslib.github.io/physicslib4/blueprint/dep_graph_document.html | -| API documentation | https://physicslib.github.io/physicslib4/docs/ | -| Original Haag–Kastler paper | https://doi.org/10.1063/1.1704187 | +Hilbert asked for a treatment analogous to what Euclidean geometry received from his own *Grundlagen der Geometrie*. Modern physics has produced candidate axiom systems — operator-algebraic frameworks for quantum mechanics and quantum field theory chief among them — but these have never been subjected to the kind of machine-checked formal scrutiny that Lean makes possible. This project aims to change that. -## Getting Started +# Getting Started Requires [Lean 4](https://leanprover-community.github.io/get_started.html) and [Mathlib4](https://github.com/leanprover-community/mathlib4), both at v4.35.0, as pinned by `lean-toolchain` and `lakefile.toml`. @@ -54,13 +34,13 @@ lake exe cache get # download prebuilt dependencies lake build # build the project ``` -## Contributing +# Contributing -Contributions are welcome. The blueprint is the canonical guide to what is stated and what is proved. The tutorial's chapter ["Doing it yourself"](https://physicslib.github.io/physicslib4/tutorial/Doing-it-yourself/) explains how to set up Lean, add a result to the blueprint and the library, and run the checks; a pull request against `main` is merged once it passes all status checks, has no conflicts with `main`, and is approved by a reviewer. +Contributions are welcome; see [Get Involved](https://physicslib.github.io/physicslib4/get-involved/). The [blueprint](https://physicslib.github.io/physicslib4/blueprint/) is the canonical guide to what is stated and what is proved. The tutorial's chapter ["Doing it yourself"](https://physicslib.github.io/physicslib4/tutorial/Doing-it-yourself/) explains how to set up Lean, add a result to the blueprint and the library, and run the checks; a pull request against `main` is merged once it passes all status checks, has no conflicts with `main`, and is approved by a reviewer. -## Acknowledgements +# Acknowledgements -We are grateful to Rudolf Haag and Daniel Kastler for their foundational work, and to the authors of [Entanglement in Algebraic Quantum Field Theories](https://arxiv.org/abs/2410.16599) for their clear presentation of the GNS construction that this blueprint in part follows. We thank the Mathlib maintainers and the broader Lean community for their support, and Project Numina for partially supporting this research. +We are grateful to Rudolf Haag and Daniel Kastler for their foundational work, and to the authors of [Entanglement in Algebraic Quantum Field Theories](https://arxiv.org/abs/2410.16599) for their clear presentation of the GNS construction that the blueprint in part follows. We thank the Mathlib maintainers and the broader Lean community for their support, and Project Numina for partially supporting this research. --- diff --git a/blueprint/src/extra_styles.css b/blueprint/src/extra_styles.css index 6c2114f..a2920d2 100644 --- a/blueprint/src/extra_styles.css +++ b/blueprint/src/extra_styles.css @@ -152,6 +152,8 @@ header.site-header .mobile-nav .nav-list { display: flex; flex-direction: column header.site-header .mobile-nav .nav-item { margin: var(--space-1) 0; width: 100%; } header.site-header .mobile-nav .nav-link { width: 100%; justify-content: flex-start; padding: var(--space-2) var(--space-4); } +header.site-header .desktop-menu .nav-link { padding-left: var(--space-2); padding-right: var(--space-2); } +@media (max-width: 1150px) { header.site-header .navbar { padding: 0 var(--space-2); } } @media (max-width: 1024px) { body > header.site-header { background-color: var(--color-bg); } header.site-header .desktop-menu { display: none; } diff --git a/blueprint/src/webtheme/site-header.html b/blueprint/src/webtheme/site-header.html index a6311e2..0da1a79 100644 --- a/blueprint/src/webtheme/site-header.html +++ b/blueprint/src/webtheme/site-header.html @@ -12,7 +12,10 @@
      + + + @@ -23,7 +26,10 @@