NLA-lib Explorer

NLAlib.Ops.EntryCodec.disj_regionFp_triangles

Library · theorem

Upper and strict lower triangle words occupy disjoint blocks, for every fixed-width entry representation. The two index maps are the ordinary and transposed column-major maps.

NLAlib.Ops.EntryCodec.disj_regionFp_triangles {K E : Type} (C : Ops.EntryCodec K E) (n b off : ℕ) :
  (C.regionFp b off n (fun i j ↦ i * n + j) fun j ↦ j).Disj
    (C.regionFp b off n (fun i j ↦ j * n + i) fun j ↦ j + 1)

Full source on GitHub

Import NLAlib.Ops.Logic.EntryRows.