Sparse-entry miss copy — definitions #
An update scan must preserve every unmatched sparse entry. This module first emits the decoded address/value pair to the output stream and then restores the ordinary next-entry scan invariant.
def
Complexity.RAM.RegisterStore.Machine.EntryMatchTapes.encodeTapes
{n : ℕ}
(tapes : EntryMatchTapes n)
:
View the decoded address and value tapes as entry-emission sources.
Instances For
@[simp]
theorem
Complexity.RAM.RegisterStore.Machine.EntryMatchTapes.encodeTapes_address
{n : ℕ}
(tapes : EntryMatchTapes n)
:
@[simp]
theorem
Complexity.RAM.RegisterStore.Machine.EntryMatchTapes.encodeTapes_value
{n : ℕ}
(tapes : EntryMatchTapes n)
:
def
Complexity.RAM.RegisterStore.Machine.entryMissCopiedWork
{n : ℕ}
(tapes : EntryMatchTapes n)
(entry : Entry)
(work : Fin n → Tape)
(i : Fin n)
:
Exact work family after the decoded address and value have been emitted. Only their heads change; their canonical contents and every other tape remain literal copies of the readable-match endpoint.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Emit the decoded unmatched entry and restore the next-iteration scratch invariant.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Complexity.RAM.RegisterStore.Machine.entryMissCopyTime
{n : ℕ}
(tapes : EntryMatchTapes n)
(entry : Entry)
(queryBits : List Bool)
(initialWork matchedWork : Fin n → Tape)
:
Compositional runtime bound for copying and cleaning one unmatched entry.
Equations
- One or more equations did not get rendered due to their size.