PqxdhSessionModel.lean
Wire-Level send / recv Models and Reachable PQXDH Sessions
Trusted in part. Computational/ uses ReachablePqxdhSession, firstMessageBody, wirePrekey, and wireWhisper (via SignalSession/); sendWirePending, sendModelPq, recvModelPq, and honestBundle are checked by Lean. See Computational/.
Defines the CLI's one-byte wire framing (2 ‖ SignalMessage vs 3 ‖ PreKeySignalMessage), the pending-session send model sendWirePending over V1 SPQR (pqxdhSpqrSession), the inductive closure ReachablePqxdhSession of PQXDH-initialized sessions under pqxdhSessionParams, and untagged proof-target helpers (sendModelPq, recvModelPq, honestBundle).
@[expose] public sectionset_option autoImplicit falsenamespace CryptoVerification.E2Eopen CryptoGames CryptoGames.LibsignalSession CryptoGames.LibsignalSessionApiopen CryptoVerification.LibsignalProtoCodecWire tags
def wireWhisper
WIRE_WHISPER: the tag of a bare SignalMessage on the wire.
def wireWhisper : BitVec 8 := 2#8def wirePrekey
WIRE_PREKEY: the tag of a PreKeySignalMessage on the wire.
def wirePrekey : BitVec 8 := 3#86 declarations not shown (lines 46–131): theorems, which Lean checks, or definitions that no headline statement uses
CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification., CryptoVerification.
end CryptoVerification.E2E