NLA-lib Explorer

NLAlib.Ops.Mem.readBlocks_cons_eq_some

Library · theorem

Reading several blocks, one at a time (for split_reads, by name: not a simp lemma, so that the core's store_simp is unchanged).

NLAlib.Ops.Mem.readBlocks_cons_eq_some {K : Type} {m : Ops.Mem K} {a : ℕ × ℕ} {as : List (ℕ × ℕ)}
  {n : ℕ} {ns : List ℕ} {X : List (List K)} :
  m.readBlocks (a :: as) (n :: ns) = some X ↔
    ∃ x xs, m.store.readBlock a.1 a.2 n = some x ∧ m.readBlocks as ns = some xs ∧ X = x :: xs

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.