Skip to content

Lean 4 formalization of the exchange protocol schemas.

License

Notifications You must be signed in to change notification settings

structural-explainability/ExchangeProtocol

Repository files navigation

Structural Explainability: Exchange Protocol

License: MIT Build Status Check Links

Lean 4 formalization of the exchange protocol schemas.

What This Formalizes

This repository provides a Lean 4 formalization of the structural core of the Exchange Protocol, including canonical record schemas for entities, relationships, and exchanges; a shared RecordEnvelope; retention-policy data shapes; and basic graph-oriented data structures. The code machine-checks the well-formedness and typing of these structures and verifies that the protocol's core representations are internally consistent and composable, without embedding causal, normative, or policy interpretations.

Build and Run

lake update
lake build
lake exe verify

Citation

CITATION.cff

License

MIT