PostQuantumeXtendedDiffieHellman-model

Verso-based documentation for the PQXDH-lean formalization, rendered with verso-blueprint.

Live site: beneficial-ai-foundation.github.io/PostQuantumeXtendedDiffieHellman-model

Chapters

ChapterSource
Diffie-Hellmandocs/PQXDHDocs/DocDH.lean
Key Derivation Functiondocs/PQXDHDocs/DocKDF.lean
Authenticated Encryptiondocs/PQXDHDocs/DocAEAD.lean
Key Encapsulation Mechanismdocs/PQXDHDocs/DocKEM.lean
X3DH Protocoldocs/PQXDHDocs/DocX3DH.lean
PQXDH Protocoldocs/PQXDHDocs/DocPQXDH.lean
Security Definitionsdocs/PQXDHDocs/DocSecurityDefs.lean
Passive Message Secrecydocs/PQXDHDocs/DocX3DHPassiveSecrecy.lean
perm_draws Tacticdocs/PQXDHDocs/DocPermDraws.lean

Building

Requires Lean 4 (v4.28.0).

# Build the Lean library
lake build

# Build the documentation site (outputs to _out/blueprint/)
./scripts/build-blueprint.sh

To view locally:

python3 -m http.server 8080 -d _out/blueprint

Then open http://localhost:8080.

Project layout

├── 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)

License

See LICENSE.