NLA-lib Explorer

NLAlib.SpectralBisection.split_basis_blocks

Library · theorem

The two rectangular bases are apart and together occupy the whole parent square payload.

NLAlib.SpectralBisection.split_basis_blocks (buf off k kp : ℕ) (hp : kp ≤ k) :
  Ops.Fp.Apart [(buf, off), (buf, off + 2 * (k * kp))] [2 * (k * kp), 2 * (k * (k - kp))] ∧
    Ops.Fp.blocks [(buf, off), (buf, off + 2 * (k * kp))] [2 * (k * kp), 2 * (k * (k - kp))] =
      Ops.Store.inBlock buf off (2 * (k * k))

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Partition.