NLA-lib Explorer

The call step in named form

Library · Source module

The call step in named form

step h [facts] as m₁ hfr₁ ⟨pat⟩ is one step of a program proof at a call, on the footprint rules: the continuation is proved from a fresh memory m₁ with the frame hfr₁ of the call and its postcondition, destructured by pat. The inputs the call reads are found by kept, which looks for each block in the context at the current memory, or at an earlier memory across the frames and the agreements (Store.Below) in the context, or as a sub-block of a block read there: facts are carried lazily, where they are used, never restated after every step.

Main results

* NLAlib.Ops.writes_call_cell_of, NLAlib.Ops.writes_call1_of, NLAlib.Ops.writes_call2_of: the call rules with the blocks read given, the form step applies. * kept, reads, step: the tactics.

Declarations