Closing and reading back the slots of a Givens log
Library · Source module
Closing and reading back the slots of a Givens log
A program that runs a fixed number of trials, each in its own slot of a slotted log (NLAlib.HoldsSlottedLog), closes exactly that many slots, whatever happens: a trial that is not accepted leaves its slot's valid word zero, and the slot is rejected (NLAlib.HoldsSlottedLog.reject) without a write. This file collects the bookkeeping of closed slots: the entries of appended and rejected slots, rejecting many slots at once, the log seen from a later slot, and the read-back of the slots after a prefix (NLAlib.slottedLogRead), which names the unitary of a run by a measurable function of the memory.
Main results
* NLAlib.HoldsSlottedLog.validate_of_eqOff: a positive valid word closes the pending slot. * NLAlib.slottedLogValidate_writes_of_exactNat: the validation with an exact literal one. * NLAlib.slottedLogWrite_pos: writing an entry keeps the tape position. * NLAlib.slotEntries_replicate_none: rejected slots have no entries. * NLAlib.eq_replicate_none_of_slotEntries_eq_nil: closed slots without entries are rejected. * NLAlib.HoldsSlottedLog.rejects: reject c empty slots. * NLAlib.HoldsSlottedLog.drop: the log after a prefix of its slots. * NLAlib.slottedLogRead_drop: the read-back after a prefix is a read-back. * NLAlib.HoldsSlottedLog.slotEntries_read_drop: the valid entries after a prefix are read back. * NLAlib.measurable_givensLog_slottedLogRead_drop: their unitary is measurable. * NLAlib.exists_readBlock_padEntries_iff: an accepted block, cell by cell. * NLAlib.measurableSet_exists_holdsSlottedLog_append: the stores holding c closed slots after a prefix form a measurable event.
Declarations
- NLAlib.HoldsSlottedLog.drop
- NLAlib.HoldsSlottedLog.rejects
- NLAlib.HoldsSlottedLog.slotEntries_read_drop
- NLAlib.HoldsSlottedLog.validate_of_eqOff
- NLAlib.eq_replicate_none_of_slotEntries_eq_nil
- NLAlib.exists_readBlock_padEntries_iff
- NLAlib.getElem?_flatMap_entryWords
- NLAlib.measurableSet_exists_holdsSlottedLog_append
- NLAlib.measurable_givensLog_slottedLogRead_drop
- NLAlib.padEntries_planes
- NLAlib.replicate_zero_flatMap_entryWords
- NLAlib.slotEntries_replicate_none
- NLAlib.slottedLogRead_drop
- NLAlib.slottedLogValidate_writes_of_exactNat
- NLAlib.slottedLogWrite_pos