NLA-lib Explorer

NLAlib.det_cauchyMatrix_eq_vandermonde

Library · theorem

General form: sizes are index types

Cauchy's determinant on finite labels. For field-valued families \mathbf{x},\mathbf{y} on the same finite index type, assume \mathbf{x}_i + \mathbf{y}_j \ne 0 for every pair. Order both families by the same enumeration and let \mathbf{V}_{\mathbf{x}},\mathbf{V}_{\mathbf{y}} be their Vandermonde matrices in this order. The determinant of the Cauchy matrix \mathbf{C} is \det \mathbf{C} = \frac{\det \mathbf{V}_{\mathbf{x}}\,\det \mathbf{V}_{\mathbf{y}}} {\prod_{i,j}(\mathbf{x}_i + \mathbf{y}_j)}\,. The formula includes repeated parameters and the empty index type. [HornJohnson2013, §0.9.12], with arbitrary finite labels. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730. Result: cauchy-determinant

NLAlib.det_cauchyMatrix_eq_vandermonde.{u_1, u_4} {K : Type u_1} [Field K] {n : Type u_4}
  [Fintype n] [DecidableEq n] (e : n ≃ Fin (Fintype.card n)) (x y : n → K)
  (h : ∀ (i j : n), x i + y j ≠ 0) :
  (cauchyMatrix x y).det =
    (vandermonde (x ∘ ⇑e.symm)).det * (vandermonde (y ∘ ⇑e.symm)).det / ∏ i, ∏ j, (x i + y j)

Full source on GitHub

Import NLAlib.Matrix.Structured.Cauchy.

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.