Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Relational Precondition Adjunction

Abstract

Relational strongest postconditions are adjoint to universal weakest preconditions.

Theorem 1.1 (Relational adjunction and the may-must distinction).

Proof. Machine-checked in Lean as D5/S3/ObserverMemory/Knowledge/RelationalPreconditionAdjunction.relational_adjunction_and_may_not_guarantee (✓ std3). ∎

Source. Repository-derived.

Commentary.

The relation is a set of source-target pairs. The relational strongest postcondition and existential precondition are respectively the pinned library’s relational image and preimage. The universal weakest precondition contains states whose every related outcome is in the target.

The first displayed conjunct states both directions of the relational adjunction for arbitrary source and target predicates.

The remaining public conjuncts use a Boolean relation that allows both outcomes from false and the singleton successful outcome true. A successful path exists, while the false outcome refutes a universal success guarantee.

References