Documentation

HighDimProb.RandomMatrix.Basic

Basic random matrix vocabulary #

Verified Wikipedia reference:

@[implicit_reducible]
instance HighDimProb.instMeasurableSpaceMatrix {m : Type u_1} {n : Type u_2} {alpha : Type u_3} [MeasurableSpace alpha] :

Product measurable-space structure for finite matrices.

Formula reference: a random matrix is a matrix-valued random object; the product measurable-space instance supplies the measurable side of that vocabulary. See https://en.wikipedia.org/wiki/Random_matrix

@[reducible, inline]
abbrev HighDimProb.RandomMatrix (Omega : Type u_1) [MeasurableSpace Omega] (m n : ) :
Type u_1

An m x n real random matrix with concrete finite dimensions.

Formula reference: this is the Lean type for a finite-dimensional random matrix; see https://en.wikipedia.org/wiki/Random_matrix

Instances For
    def HighDimProb.matrixEntry {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (A : RandomMatrix Omega m n) (i : Fin m) (j : Fin n) :

    Entry random variable of a random matrix.

    Formula reference: matrix-valued randomness is checked entrywise here; see https://en.wikipedia.org/wiki/Random_matrix

    Instances For
      @[reducible, inline]
      abbrev HighDimProb.IsRandomMatrix {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (P : MeasureTheory.Measure Omega) (A : RandomMatrix Omega m n) :

      Entrywise measurability predicate for random matrices.

      Formula reference: this predicate records that each matrix entry is a real random variable, matching the entrywise view of a random matrix; see https://en.wikipedia.org/wiki/Random_matrix

      Instances For
        @[simp]
        theorem HighDimProb.matrixEntry_apply {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (A : RandomMatrix Omega m n) (i : Fin m) (j : Fin n) (omega : Omega) :
        matrixEntry A i j omega = A omega i j

        Formula reference: this unfolds the entry random variable A_ij; see https://en.wikipedia.org/wiki/Random_matrix

        def HighDimProb.scaledRandomMatrix {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (theta : ) (A : RandomMatrix Omega m n) :
        RandomMatrix Omega m n

        Pointwise scalar multiple of a random matrix.

        This names the object-level adapter so theorem statements can refer to a scaled random matrix without exposing an anonymous lambda.

        Instances For
          def HighDimProb.scaledRandomMatrixFamily {Omega : Type u_1} [MeasurableSpace Omega] {I : Type u_2} {m n : } (theta : ) (A : IRandomMatrix Omega m n) :
          IRandomMatrix Omega m n

          Indexed family of pointwise scalar multiples of random matrices.

          This is the family-level adapter used by trace-MGF and Matrix Bernstein routes when a finite family is rescaled by a scalar parameter.

          Instances For
            def HighDimProb.negRandomMatrix {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (A : RandomMatrix Omega m n) :
            RandomMatrix Omega m n

            Pointwise negation of a random matrix.

            This names the object-level negative adapter so public theorem statements can refer to a negated random matrix without exposing an anonymous lambda.

            Instances For
              @[simp]
              theorem HighDimProb.scaledRandomMatrix_apply {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (theta : ) (A : RandomMatrix Omega m n) (omega : Omega) :
              scaledRandomMatrix theta A omega = SMul.smul theta (A omega)
              @[simp]
              theorem HighDimProb.scaledRandomMatrixFamily_apply {Omega : Type u_1} [MeasurableSpace Omega] {I : Type u_2} {m n : } (theta : ) (A : IRandomMatrix Omega m n) (i : I) :
              @[simp]
              theorem HighDimProb.scaledRandomMatrixFamily_apply_apply {Omega : Type u_1} [MeasurableSpace Omega] {I : Type u_2} {m n : } (theta : ) (A : IRandomMatrix Omega m n) (i : I) (omega : Omega) :
              scaledRandomMatrixFamily theta A i omega = SMul.smul theta (A i omega)
              @[simp]
              theorem HighDimProb.negRandomMatrix_apply {Omega : Type u_1} [MeasurableSpace Omega] {m n : } (A : RandomMatrix Omega m n) (omega : Omega) :
              negRandomMatrix A omega = -A omega
              theorem HighDimProb.isRandomMatrix_scaledRandomMatrix {Omega : Type u_1} [MeasurableSpace Omega] {P : MeasureTheory.Measure Omega} {m n : } {A : RandomMatrix Omega m n} (theta : ) (hA : IsRandomMatrix P A) :

              Pointwise scalar multiplication preserves entrywise random-matrix measurability.

              theorem HighDimProb.isRandomMatrix_scaledRandomMatrixFamily {Omega : Type u_1} [MeasurableSpace Omega] {P : MeasureTheory.Measure Omega} {I : Type u_2} {m n : } {A : IRandomMatrix Omega m n} (theta : ) (hA : ∀ (i : I), IsRandomMatrix P (A i)) (i : I) :

              Pointwise scalar multiplication preserves entrywise random-matrix measurability for indexed families.

              Pointwise negation preserves entrywise random-matrix measurability.

              def HighDimProb.rankOneMatrix {n : } (x : Fin n) :
              Matrix (Fin n) (Fin n)

              Deterministic rank-one self outer-product matrix associated to a vector.

              Formula reference: the outer product has entries x_i * x_j; see https://en.wikipedia.org/wiki/Outer_product .

              Instances For
                @[simp]
                theorem HighDimProb.rankOneMatrix_apply {n : } (x : Fin n) (i j : Fin n) :
                rankOneMatrix x i j = x i * x j

                Formula reference: this unfolds the rank-one outer-product entry x_i * x_j; see https://en.wikipedia.org/wiki/Outer_product .

                def HighDimProb.rankOneRandomMatrix {Omega : Type u_1} [MeasurableSpace Omega] {n : } (X : RandomVector Omega n) :
                RandomMatrix Omega n n

                Rank-one self outer-product random matrix associated to a random vector.

                Formula reference: the outer product has entries x_i * x_j; see https://en.wikipedia.org/wiki/Outer_product . This declaration only exposes the object-level vector-to-matrix map; measurability and integrability remain separate assumptions/bridges, matching the random-vector convention at https://en.wikipedia.org/wiki/Random_vector .

                Instances For
                  def HighDimProb.rankOneRandomMatrixFamily {Omega : Type u_1} [MeasurableSpace Omega] {I : Type u_2} {n : } (X : IRandomVector Omega n) :
                  IRandomMatrix Omega n n

                  Indexed family of rank-one self outer-product random matrices.

                  This names the family-level adapter so downstream APIs can refer to the rank-one matrix family directly.

                  Instances For
                    @[simp]
                    theorem HighDimProb.rankOneRandomMatrix_apply {Omega : Type u_1} [MeasurableSpace Omega] {n : } (X : RandomVector Omega n) (omega : Omega) (i j : Fin n) :
                    rankOneRandomMatrix X omega i j = X omega i * X omega j

                    Formula reference: this unfolds the rank-one outer-product entry X_i(omega) * X_j(omega); see https://en.wikipedia.org/wiki/Outer_product .

                    @[simp]
                    theorem HighDimProb.rankOneRandomMatrixFamily_apply {Omega : Type u_1} [MeasurableSpace Omega] {I : Type u_2} {n : } (X : IRandomVector Omega n) (i : I) :
                    @[simp]
                    theorem HighDimProb.matrixEntry_rankOneRandomMatrix {Omega : Type u_1} [MeasurableSpace Omega] {n : } (X : RandomVector Omega n) (i j : Fin n) (omega : Omega) :
                    matrixEntry (rankOneRandomMatrix X) i j omega = X omega i * X omega j

                    Formula reference: the matrix entry of a rank-one outer product is the product of the corresponding vector coordinates; see https://en.wikipedia.org/wiki/Outer_product .

                    theorem HighDimProb.isRealRandomVariable_matrixEntry {Omega : Type u_1} [MeasurableSpace Omega] {P : MeasureTheory.Measure Omega} {m n : } {A : RandomMatrix Omega m n} (hA : IsRandomMatrix P A) (i : Fin m) (j : Fin n) :

                    Entries of an IsRandomMatrix are real random variables.

                    Formula reference: entrywise random-variable structure is the finite-matrix specialization of random matrices; see https://en.wikipedia.org/wiki/Random_matrix

                    Rank-one self outer products of random vectors are random matrices.

                    Formula reference: each entry is the product X_i * X_j; measurability follows from closure of measurable real functions under multiplication. See https://en.wikipedia.org/wiki/Outer_product and https://en.wikipedia.org/wiki/Measurable_function .

                    Entrywise measurability gives measurability of the matrix-valued map.

                    Formula reference: this upgrades entrywise measurable random variables to a matrix-valued random object; see https://en.wikipedia.org/wiki/Random_matrix

                    theorem HighDimProb.isRandomMatrix_of_sub_measurable_entries {Omega : Type u_1} [mOmega : MeasurableSpace Omega] {P : MeasureTheory.Measure Omega} {m n : } {A : RandomMatrix Omega m n} (mSub : MeasurableSpace Omega) (hSub : mSub mOmega) (hA : ∀ (i : Fin m) (j : Fin n), Measurable fun (omega : Omega) => A omega i j) :

                    Entrywise measurability in a smaller measurable space gives ambient random-matrix measurability when the smaller space is below the ambient one.