NLA-lib Explorer

NLAlib.Ops.«tacticStep_[_]As_____»

Library · def

step h [facts] as m₁ hfr₁ ⟨pat⟩: the call step in named form. The goal is a Wp or a Writes of a call, or of a call followed by more (.seq (.call …) c). h says that the operation satisfies its contract (I.Satisfies md o (R.spec adm), or I.IsFn of a block function). The tactic applies the footprint rule for the shape of the outputs (one cell, one block, two blocks) and the sequence rule (Writes.then_; Writes.seq_le against the declared footprint inside a Writes; Writes.mono for a last call), proves the side goals (shapes by wp_shape, the admitted operands by wp_adm, live handles and room by wp_side, the blocks read by reads, the domain by wp_dom, apartness by disjoint, the footprint by fp_sub), introduces the fresh memory m₁, the frame hfr₁ and the postcondition (position, outputs, relation, reduced by storeNF) destructured by pat, and records the lengths and the length of the store at m₁ (from the frame) for the later side goals. A side goal that is not proved is left under its name (hadm, hlive, hr, hdom, hz, hap, hle).

NLAlib.Ops.«tacticStep_[_]As_____» : ParserDescr

Full source on GitHub

Import NLAlib.Ops.Logic.Step.