Documentation

LeanPool.HighContrastHomogenization.Support.Book.Ch02.Matrices

Coarse-graining support: Support.Book.Ch02.Matrices #

Imported from the Apache-2.0 CoarseGraining development at commit c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4.

noncomputable def HCPolySupport.Book.Ch02.averageMat {d : ℕ} (U : Domain d) (A : Vec d → Mat d) :
Mat d

Public normalized matrix average over a Chapter 2 domain.

Equations
Instances For
    noncomputable def HCPolySupport.Book.Ch02.averagedSymmPartInv {d : ℕ} (U : Domain d) (a : CoeffOn U) :
    Mat d

    The note-facing harmonic-mean matrix \fint_U symmPart(a)^{-1}.

    Equations
    Instances For

      The note-facing upper coefficient average \fint_U (symmPart(a) + skewPart(a)^t symmPart(a)^{-1} skewPart(a)).

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

        The harmonic-mean matrix depends only on the coefficient field up to a.e. equality on the domain.

        The upper coefficient average depends only on the coefficient field up to a.e. equality on the domain.

        The coarse-grained response matrices extracted from the quadratic response functional. We keep sigmaStarInv primitive at this stage; constructing sigmaStar itself belongs to the later positivity/invertibility theorem.

        • sigma : Mat d

          The matrix parameter σ in the coarse quadratic response representation.

        • sigmaStarInv : Mat d

          The primitive matrix parameter representing σ*⁻¹ in the coarse quadratic response.

        • kappa : Mat d

          The coupling matrix κ in the coarse quadratic response representation.

        Instances For

          The derived coarse matrix sigmaStar = sigmaStarInv^{-1}.

          Equations
          Instances For

            The derived coarse matrix b = sigma + kappa^t sigmaStarInv kappa.

            Equations
            Instances For

              The derived coarse coefficient matrix a = sigma - kappa^t.

              Equations
              Instances For
                theorem HCPolySupport.Book.Ch02.CoarseMatrices.ext {d : ℕ} {M N : CoarseMatrices d} (hsigma : M.sigma = N.sigma) (hsigmaStarInv : M.sigmaStarInv = N.sigmaStarInv) (hkappa : M.kappa = N.kappa) :
                M = N
                noncomputable def HCPolySupport.Book.Ch02.mixedResponse {d : ℕ} (U : Domain d) (a : CoeffOn U) (p q : Vec d) :

                The mixed response appearing in the definition of the coarse skew matrix.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def HCPolySupport.Book.Ch02.sigmaStarInvEntry {d : ℕ} (U : Domain d) (a : CoeffOn U) (i j : Fin d) :

                  Entry formula for the canonical coarse matrix sigmaStarInv.

                  The diagonal entries are extracted from the pure q response, while the off-diagonal entries use the usual polarization identity.

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

                    The entry formula for sigmaStarInv is symmetric by construction.

                    theorem HCPolySupport.Book.Ch02.sigmaStarInvEntry_eq_ofAEEq {d : ℕ} {U : Domain d} {a b : CoeffOn U} (h : a.AEEq b) (i j : Fin d) :

                    The entry formula for sigmaStarInv depends only on the coefficient field up to a.e. equality on the domain.

                    noncomputable def HCPolySupport.Book.Ch02.sigmaStarInvCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                    Mat d

                    The canonical coarse matrix sigmaStarInv(U; a) extracted from J(U,0,q;a).

                    Equations
                    Instances For

                      The canonical matrix sigmaStarInv(U; a) is symmetric by polarization.

                      The canonical matrix sigmaStarInv(U; a) is invariant under a.e. changes of coefficient representative.

                      noncomputable def HCPolySupport.Book.Ch02.sigmaStarCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                      Mat d

                      The canonical coarse matrix sigmaStar(U; a), represented as the nonsingular-inverse expression of sigmaStarInv(U; a). The later positivity theory proves that this is the genuine inverse in the note-facing cases.

                      Equations
                      Instances For

                        The canonical matrix sigmaStar(U; a) is invariant under a.e. changes of coefficient representative.

                        The canonical matrix sigmaStar(U; a) is symmetric.

                        theorem HCPolySupport.Book.Ch02.mixedResponse_eq_ofAEEq {d : ℕ} {U : Domain d} {a b : CoeffOn U} (h : a.AEEq b) (p q : Vec d) :
                        mixedResponse U a p q = mixedResponse U b p q

                        The mixed response depends only on the coefficient field up to a.e. equality on the domain.

                        noncomputable def HCPolySupport.Book.Ch02.sigmaStarInvKappaCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                        Mat d

                        The canonical mixed matrix sigmaStarInv(U; a) * kappa(U; a), extracted directly from the mixed response.

                        Equations
                        Instances For

                          The canonical mixed matrix is invariant under a.e. changes of coefficient representative.

                          noncomputable def HCPolySupport.Book.Ch02.kappaCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                          Mat d

                          The canonical coupling matrix kappa(U; a).

                          Equations
                          Instances For

                            The canonical coupling matrix is invariant under a.e. changes of coefficient representative.

                            Under nondegeneracy, sigmaStar(U; a) is the right inverse of sigmaStarInv(U; a).

                            Under nondegeneracy, sigmaStar(U; a) is the left inverse of sigmaStarInv(U; a).

                            Under nondegeneracy, the canonical kappa definition really solves sigmaStarInv * kappa = sigmaStarInvKappa.

                            noncomputable def HCPolySupport.Book.Ch02.canonicalSigmaCorrectedResponse {d : ℕ} (U : Domain d) (a : CoeffOn U) (p : Vec d) :

                            The canonical corrected p-response whose quadratic form defines sigma(U; a).

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

                              The canonical corrected response is invariant under a.e. changes of coefficient representative.

                              noncomputable def HCPolySupport.Book.Ch02.sigmaEntry {d : ℕ} (U : Domain d) (a : CoeffOn U) (i j : Fin d) :

                              Entry formula for the canonical coarse matrix sigma.

                              As for sigmaStarInv, the diagonal entries come from the quadratic values and the off-diagonal entries from polarization.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                theorem HCPolySupport.Book.Ch02.sigmaEntry_comm {d : ℕ} (U : Domain d) (a : CoeffOn U) (i j : Fin d) :
                                sigmaEntry U a i j = sigmaEntry U a j i

                                The entry formula for sigma is symmetric by construction.

                                theorem HCPolySupport.Book.Ch02.sigmaEntry_eq_ofAEEq {d : ℕ} {U : Domain d} {a b : CoeffOn U} (h : a.AEEq b) (i j : Fin d) :
                                sigmaEntry U a i j = sigmaEntry U b i j

                                The entry formula for sigma depends only on the coefficient field up to a.e. equality on the domain.

                                noncomputable def HCPolySupport.Book.Ch02.sigmaCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                                Mat d

                                The canonical coarse matrix sigma(U; a).

                                Equations
                                Instances For

                                  The canonical matrix sigma(U; a) is symmetric by polarization.

                                  The canonical matrix sigma(U; a) is invariant under a.e. changes of coefficient representative.

                                  noncomputable def HCPolySupport.Book.Ch02.coarseMatrices {d : ℕ} (U : Domain d) (a : CoeffOn U) :

                                  The canonical package of coarse-grained response matrices.

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

                                    The canonical package of coarse-grained response matrices is invariant under a.e. changes of coefficient representative.

                                    The sigma component of the canonical matrix package is symmetric.

                                    The sigmaStarInv component of the canonical matrix package is symmetric.

                                    noncomputable def HCPolySupport.Book.Ch02.sigmaCorrectedResponse {d : ℕ} (U : Domain d) (a : CoeffOn U) (M : CoarseMatrices d) (p : Vec d) :

                                    The corrected p-response whose quadratic form defines sigma.

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

                                      The corrected response for a fixed matrix package depends only on the coefficient field up to a.e. equality on the domain.

                                      noncomputable def HCPolySupport.Book.Ch02.bCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                                      Mat d

                                      Canonical derived coarse matrix b(U; a) = sigma + kappa^t sigmaStarInv kappa.

                                      Equations
                                      Instances For
                                        noncomputable def HCPolySupport.Book.Ch02.aCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                                        Mat d

                                        Canonical derived coarse coefficient matrix a(U; a) = sigma - kappa^t.

                                        Equations
                                        Instances For
                                          noncomputable def HCPolySupport.Book.Ch02.aStarCoarse {d : ℕ} (U : Domain d) (a : CoeffOn U) :
                                          Mat d

                                          Canonical derived adjoint coarse coefficient matrix.

                                          Equations
                                          Instances For
                                            theorem HCPolySupport.Book.Ch02.bCoarse_eq_ofAEEq {d : ℕ} {U : Domain d} {a b : CoeffOn U} (h : a.AEEq b) :
                                            bCoarse U a = bCoarse U b

                                            The canonical derived matrix b(U; a) is invariant under a.e. changes of coefficient representative.

                                            theorem HCPolySupport.Book.Ch02.aCoarse_eq_ofAEEq {d : ℕ} {U : Domain d} {a b : CoeffOn U} (h : a.AEEq b) :
                                            aCoarse U a = aCoarse U b

                                            The canonical derived matrix a(U; a) is invariant under a.e. changes of coefficient representative.

                                            The canonical derived matrix aStar(U; a) is invariant under a.e. changes of coefficient representative.