NLA-lib Explorer

NLAlib.Cholesky.mul_add_ne

Library · theorem

Two different positions of a matrix stored by columns have different offsets.

NLAlib.Cholesky.mul_add_ne {n c c' r r' : ℕ} (hr : r < n) (hr' : r' < n) (h : c ≠ c' ∨ r ≠ r') :
  c * n + r ≠ c' * n + r'

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Cholesky.Routine.