Documentation

TauCeti.Analysis.Matrix.Contraction

Contracting an endomorphism of ℝⁿ with a matrix #

For a real n × n matrix A, the contraction H ↦ ∑ᵢⱼ Aᵢⱼ ⟪H eᵢ, eⱼ⟫ of endomorphisms H of ℝⁿ is a continuous linear functional. Applied to the Hessian of a function u, it is the non-divergence-form operator ∑ᵢⱼ Aᵢⱼ ∂ᵢ∂ⱼu with constant coefficients A.

Main declarations #

The contraction H ↦ ∑ᵢⱼ Aᵢⱼ ⟪H eᵢ, eⱼ⟫ of an endomorphism of ℝⁿ with a matrix A, as a continuous linear functional.

Instances For
    @[simp]
    theorem Matrix.contraction_apply {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (H : EuclideanSpace ℝ (Fin n) →L[ℝ] EuclideanSpace ℝ (Fin n)) :
    A.contraction H = ∑ i : Fin n, ∑ j : Fin n, A i j * inner ℝ (H (EuclideanSpace.single i 1)) (EuclideanSpace.single j 1)

    Matrix.contraction A evaluates to ∑ᵢⱼ Aᵢⱼ ⟪H eᵢ, eⱼ⟫.

    @[simp]
    theorem Matrix.contraction_add {n : ℕ} (A B : Matrix (Fin n) (Fin n) ℝ) :

    The contraction is additive in the matrix.

    @[simp]
    theorem Matrix.contraction_sub {n : ℕ} (A B : Matrix (Fin n) (Fin n) ℝ) :

    The contraction commutes with subtraction of matrices.

    @[simp]
    theorem Matrix.contraction_smul {n : ℕ} (c : ℝ) (A : Matrix (Fin n) (Fin n) ℝ) :

    The contraction is homogeneous in the matrix.

    Contraction with the identity matrix is the trace.

    theorem Matrix.abs_contraction_le {n : ℕ} {M : Matrix (Fin n) (Fin n) ℝ} {ε : ℝ} (hM : ∀ (i j : Fin n), |M i j| ≤ ε) (H : EuclideanSpace ℝ (Fin n) →L[ℝ] EuclideanSpace ℝ (Fin n)) :
    |M.contraction H| ≤ ↑n ^ 2 * ε * ‖H‖

    If every entry of M is at most ε in absolute value, then |∑ᵢⱼ Mᵢⱼ ⟪H eᵢ, eⱼ⟫| ≤ n² ε ‖H‖.

    theorem Matrix.abs_sum_sum_mul_apply_single_single_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {M : Matrix ι ι ℝ} {ε : ℝ} (hM : ∀ (i j : ι), |M i j| ≤ ε) (B : EuclideanSpace ℝ ι →L[ℝ] EuclideanSpace ℝ ι →L[ℝ] ℝ) :
    |∑ i : ι, ∑ j : ι, M i j * (B (EuclideanSpace.single i 1)) (EuclideanSpace.single j 1)| ≤ ↑(Fintype.card ι) ^ 2 * ε * ‖B‖

    If every entry of M is at most ε in absolute value, then for a continuous bilinear form B on EuclideanSpace ℝ ι, |∑ᵢⱼ Mᵢⱼ B eᵢ eⱼ| ≤ (card ι)² ε ‖B‖. Applied to the second derivative of a function, this bounds the principal part ∑ᵢⱼ Mᵢⱼ ∂ᵢ∂ⱼh of a non-divergence-form operator by the operator norm of the Hessian.

    theorem Matrix.abs_sum_sum_mul_apply_single_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] (A : Matrix ι ι ℝ) (T : EuclideanSpace ℝ ι →L[ℝ] EuclideanSpace ℝ ι) :
    |∑ i : ι, ∑ j : ι, A i j * (T (EuclideanSpace.single j 1)).ofLp i| ≤ (∑ i : ι, ∑ j : ι, |A i j|) * ‖T‖

    For an endomorphism T of EuclideanSpace ℝ ι, the contraction ∑ᵢⱼ Aᵢⱼ (T eⱼ)ᵢ, such as the principal part ∑ᵢⱼ aⁱʲ ∂ᵢ∂ⱼu with T a Hessian operator, is at most (∑ᵢⱼ |Aᵢⱼ|) ‖T‖ in absolute value.