Footprints, disjointness and kept facts
Library · Source module
Footprints, disjointness and kept facts
A footprint NLAlib.Ops.Fp is a set of cells (buffer, index): the cells a run may write. It is a predicate, ordered by inclusion (F ≤ G) and joined by ⊔, built from NLAlib.Ops.Store.inBlock, NLAlib.Ops.Store.inBuf, the output blocks of a call (NLAlib.Ops.Fp.blocks) and matrix layouts (NLAlib.Ops.MatLayout.fp).
A fact about a store is kept by a run that does not write what it reads (NLAlib.Ops.Store.EqOff.keep): a predicate reads only the cells G (NLAlib.Ops.Store.ReadsOnly), and G is disjoint from the footprint of the run (NLAlib.Ops.Fp.Disj). This is the frame rule with a bundle of facts.
Main results
* NLAlib.Ops.Fp.blocks, NLAlib.Ops.Fp.Apart, NLAlib.Ops.Fp.Disj: footprints of calls. * NLAlib.Ops.Store.EqOff.keep: kept facts. * NLAlib.Ops.Store.EqOff.trans': frames compose by ⊔. * NLAlib.Ops.Store.EqOff.updBlock_of_le: the step of the frame tactic. * NLAlib.Ops.Mem.eq_updBlocks_of_eqOff: a frame on the output blocks and the blocks read back give the equation of a contract in operand form (any number of outputs). * NLAlib.Ops.HoldsWords: the cells of a store that hold words, kept off a footprint.
Declarations
- NLAlib.Ops.Fp
- NLAlib.Ops.Fp.Apart
- NLAlib.Ops.Fp.Apart.append
- NLAlib.Ops.Fp.Apart.append_iff
- NLAlib.Ops.Fp.Apart.disj_getD
- NLAlib.Ops.Fp.Apart.disj_getD_of_lt
- NLAlib.Ops.Fp.Apart.disj_select
- NLAlib.Ops.Fp.Apart.disj_tail_head
- NLAlib.Ops.Fp.Apart.of_disj_getD
- NLAlib.Ops.Fp.Apart.subviews
- NLAlib.Ops.Fp.Apart.take_drop
- NLAlib.Ops.Fp.Disj
- NLAlib.Ops.Fp.Disj.mono
- NLAlib.Ops.Fp.Disj.ne_cells
- NLAlib.Ops.Fp.Disj.symm
- NLAlib.Ops.Fp.above
- NLAlib.Ops.Fp.above_apply
- NLAlib.Ops.Fp.apart_of_nodup
- NLAlib.Ops.Fp.apart_singleton
- NLAlib.Ops.Fp.blocks
- NLAlib.Ops.Fp.blocks_append
- NLAlib.Ops.Fp.blocks_cons
- NLAlib.Ops.Fp.blocks_nil
- NLAlib.Ops.Fp.bot_apply
- NLAlib.Ops.Fp.cells
- NLAlib.Ops.Fp.cells_apply
- NLAlib.Ops.Fp.disj_blocks_of_forall_getD
- NLAlib.Ops.Fp.disj_blocks_of_ne
- NLAlib.Ops.Fp.disj_bot_left
- NLAlib.Ops.Fp.disj_bot_right
- NLAlib.Ops.Fp.disj_columns_block
- NLAlib.Ops.Fp.disj_iff
- NLAlib.Ops.Fp.disj_inBlock_of_le
- NLAlib.Ops.Fp.disj_inBlock_of_ne
- NLAlib.Ops.Fp.disj_sup_left
- NLAlib.Ops.Fp.disj_sup_right
- NLAlib.Ops.Fp.exists_mem_of_blocks
- NLAlib.Ops.Fp.inBlock_add
- NLAlib.Ops.Fp.inBlock_apply
- NLAlib.Ops.Fp.inBlock_getD_le_blocks
- NLAlib.Ops.Fp.inBlock_le_inBlock
- NLAlib.Ops.Fp.inBlock_le_inBuf
- NLAlib.Ops.Fp.inBuf_apply
- NLAlib.Ops.Fp.le_iff
- NLAlib.Ops.Fp.sup_apply
- NLAlib.Ops.HoldsWords
- NLAlib.Ops.HoldsWords.cons_of_eqOff
- NLAlib.Ops.HoldsWords.get
- NLAlib.Ops.HoldsWords.mono
- NLAlib.Ops.HoldsWords.of_eqOff
- NLAlib.Ops.HoldsWords.pair_of_eqOff
- NLAlib.Ops.HoldsWords.readBlock_pair
- NLAlib.Ops.Mem.eqOff_updBlocks
- NLAlib.Ops.Mem.eq_updBlocks_of_eqOff
- NLAlib.Ops.Mem.length_eq_of_readBlocks
- NLAlib.Ops.Mem.map_length_of_readBlocks
- NLAlib.Ops.Mem.readBlocks_congr
- NLAlib.Ops.Mem.readBlocks_cons_eq_some
- NLAlib.Ops.Mem.readBlocks_updBlocks
- NLAlib.Ops.Mem.updBlocks_advance
- NLAlib.Ops.Store.Below
- NLAlib.Ops.Store.Below.keep
- NLAlib.Ops.Store.Below.mono
- NLAlib.Ops.Store.Below.readBlock
- NLAlib.Ops.Store.Below.refl
- NLAlib.Ops.Store.Below.symm
- NLAlib.Ops.Store.Below.trans
- NLAlib.Ops.Store.EqOff.below_of_above
- NLAlib.Ops.Store.EqOff.keep
- NLAlib.Ops.Store.EqOff.of_above
- NLAlib.Ops.Store.EqOff.trans'
- NLAlib.Ops.Store.EqOff.updBlock_of_le
- NLAlib.Ops.Store.ReadsOnly
- NLAlib.Ops.Store.ReadsOnly.and
- NLAlib.Ops.Store.ReadsOnly.mono
- NLAlib.Ops.Store.below_pop
- NLAlib.Ops.Store.below_push
- NLAlib.Ops.Store.readBlock_column
- NLAlib.Ops.Store.readBlock_columns
- NLAlib.Ops.Store.readsOnly_get
- NLAlib.Ops.Store.readsOnly_readBlock
- NLAlib.Ops.tacticFpBlock
- NLAlib.Ops.«tacticDisjoint[_]»
- NLAlib.Ops.«tacticFp_mem[_]»
- NLAlib.Ops.«tacticFp_sub[_]»