Documentation

LeanPool.NandakumarRamanaRao.NRR.PrimeModel.ZeroSumAlgebra

Algebra on the zero-sum representation #

The pre-existing ZeroSum n type is the subtype of functions Fin n → ℝ whose coordinates sum to zero. This module equips it with the pointwise additive and real-linear structures and records the coordinate-sum linear map.

Sum of all coordinates, as a linear map.

Equations
Instances For
    @[simp]
    theorem NRR.coordinateSum_apply {n : ℕ} (v : Fin n → ℝ) :
    (coordinateSum n) v = ∑ i : Fin n, v i

    Identify zero-sum coordinate vectors with the kernel of coordinate summation.

    Equations
    Instances For
      @[simp]
      theorem NRR.ZeroSum.add_apply {n : ℕ} (u v : ZeroSum n) (i : Fin n) :
      ↑(u + v) i = ↑u i + ↑v i
      @[simp]
      theorem NRR.ZeroSum.neg_apply {n : ℕ} (u : ZeroSum n) (i : Fin n) :
      ↑(-u) i = -↑u i
      @[simp]
      theorem NRR.ZeroSum.sub_apply {n : ℕ} (u v : ZeroSum n) (i : Fin n) :
      ↑(u - v) i = ↑u i - ↑v i
      @[simp]
      theorem NRR.ZeroSum.smul_apply {n : ℕ} (c : ℝ) (u : ZeroSum n) (i : Fin n) :
      ↑(c • u) i = c * ↑u i

      The inclusion of the zero-sum representation into the full coordinate space.

      Equations
      Instances For
        @[simp]
        theorem NRR.ZeroSum.coeLinearMap_apply {n : ℕ} (v : ZeroSum n) :
        coeLinearMap v = fun (i : Fin n) => ↑v i

        The existing zero-sum subtype is linearly equivalent to the kernel of coordinate summation.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Coordinate summation is surjective when there is at least one coordinate.

          theorem NRR.ZeroSum.finrank {n : ℕ} (hn : 0 < n) :

          Dimension of the standard zero-sum representation.