Verso-based documentation for the PQXDH-lean formalization, rendered with verso-blueprint.
Live site: beneficial-ai-foundation.github.io/PQXDH
| Chapter | Source |
|---|---|
| Diffie-Hellman | docs/PQXDHDocs/DocDH.lean |
| Key Derivation Function | docs/PQXDHDocs/DocKDF.lean |
| Authenticated Encryption | docs/PQXDHDocs/DocAEAD.lean |
| Key Encapsulation Mechanism | docs/PQXDHDocs/DocKEM.lean |
| X3DH Protocol | docs/PQXDHDocs/DocX3DH.lean |
| PQXDH Protocol | docs/PQXDHDocs/DocPQXDH.lean |
| Security Definitions | docs/PQXDHDocs/DocSecurityDefs.lean |
| Passive Message Secrecy | docs/PQXDHDocs/DocX3DHPassiveSecrecy.lean |
perm_draws Tactic |
docs/PQXDHDocs/DocPermDraws.lean |
Requires Lean 4 (v4.28.0).
# Build the Lean library
lake build
# Build the documentation site (outputs to _out/blueprint/)
./scripts/build-blueprint.shTo view locally:
python3 -m http.server 8080 -d _out/blueprintThen open http://localhost:8080.
├── PQXDHLean/ # Lean source (library)
├── docs/ # Verso documentation project
│ ├── lakefile.toml # docs lakefile (depends on verso-blueprint + parent)
│ ├── Main.lean # docs entry point (CSS, JS, config)
│ └── PQXDHDocs/ # chapter sources + SourceBlock utility
├── scripts/
│ └── build-blueprint.sh
├── lakefile.toml # Main library lakefile
└── _out/blueprint/ # Generated HTML (git-ignored)
See LICENSE.