Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Theorem Program

This document maps the three-paper theorem program to implemented Lean modules and runtime surfaces.

3 Paper Structure

The theorem program is organized into three stages.

StagePaper focusCore output
Paper 1coherence and effect bridgepreservation kernel and typed VM bridge premises
Paper 2quantitative and decision dynamicsbounds, decidability packages, crash and Byzantine interfaces
Paper 3reconfiguration and envelope adequacyharmony under reconfiguration, envelope exactness, admission and adherence

Paper 1 Mapping

Paper 1 centers on operational coherence and the Consume kernel.

Claim familyLean anchor modules
message-type alignment via ConsumeProtocol/Coherence/Consume.lean
subtype replacement and coherence liftProtocol/Coherence/SubtypeReplacement*.lean
coherence preservation stackProtocol/Preservation*.lean, Protocol/Coherence/*
typed effect bridge to VMRuntime/Proofs/VM/BridgeStrengthening.lean, Runtime/Proofs/EffectBisim/*

Claim scope is assumption-scoped. Delivery and monitor premises remain explicit in the bridge layer.

Paper 2 Mapping

Paper 2 adds quantitative dynamics and algorithmic decision surfaces.

Claim familyLean anchor modules
weighted quantitative descent and scheduler-lifted boundsRuntime/Proofs/WeightedMeasure/*, Runtime/Proofs/SchedulingBound*.lean, Runtime/Proofs/Lyapunov.lean
regular finite-reachability decidabilitySessionCoTypes/AsyncSubtyping/*, SessionCoTypes/Coinductive/Regular*.lean
crash-stop characterizationProtocol/CrashTolerance.lean
Byzantine exact safety interface packagedistributed adapter and theorem-pack modules

Bound classes differ by theorem. Productive-step bounds are exact under premises and scheduler-lifted totals are profile-dependent conservative bounds.

Paper 3 Mapping

Paper 3 integrates reconfiguration, exact envelope characterization, and VM adherence.

Claim familyLean anchor modules
reconfiguration harmony for link and delegationProtocol/Deployment/Linking*.lean, harmony and delegation modules
relative minimality and composed-system conservationProtocol/Coherence/*, linking and Lyapunov modules
envelope exactness and normalizationRuntime/Adequacy/EnvelopeCore/*
adequacy and runtime adherenceRuntime/Adequacy/*, Runtime/Proofs/TheoremPack/*
Byzantine envelope extensiondistributed adapters and theorem-pack Byzantine surfaces

This stage ties proof objects to runtime capability and admission surfaces.

Assumption and Boundary Model

Each theorem family is tied to explicit assumption bundles.

Boundary classMeaning
exact under assumptionstheorem gives iff or maximality class under declared premises
conservative under profiletheorem gives safe upper bound or admitted envelope class
interface onlypackage provides typed boundary and witness hooks without stronger global claim
out of scopeintentionally deferred claim class

Examples include scheduler-lifted total-step bounds as conservative and Byzantine liveness outside declared timing and fairness bundles as out of scope.

The theorem program is operationalized through theorem-pack inventory and admission gates.

Runtime/Proofs/TheoremPack/API.lean provides gate aliases. Runtime/Proofs/TheoremPack/Inventory.lean provides capability key extraction. Runtime/Adequacy/EnvelopeCore/AdmissionLogic.lean provides admission soundness, completeness, and diagnostics categories.

Rust admission paths in rust/vm/src/runtime_contracts.rs and rust/vm/src/composition.rs consume these proof-facing concepts as executable gates.