Documentation

LeanPool.HighContrastHomogenization.Support.CoarseGraining.Definitions

Coarse-graining support: Support.CoarseGraining.Definitions #

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

noncomputable def HCPolySupport.volumeAverage {d : ℕ} (U : Set (Vec d)) (f : Vec d → ℝ) :

The Lebesgue integral over U multiplied by the inverse real value of its volume.

Equations
Instances For
    noncomputable def HCPolySupport.volumeAverageVec {d : ℕ} (U : Set (Vec d)) (f : Vec d → Vec d) :
    Vec d

    The coordinatewise volume average of a vector field on U.

    Equations
    Instances For
      noncomputable def HCPolySupport.volumeAverageMat {d : ℕ} (U : Set (Vec d)) (f : Vec d → Mat d) :
      Mat d

      The entrywise volume average of a matrix field on U.

      Equations
      Instances For
        theorem HCPolySupport.volumeAverage_eq_zero_of_integral_eq_zero {d : ℕ} {U : Set (Vec d)} {f : Vec d → ℝ} (h : ∫ (x : Vec d) in U, f x = 0) :
        noncomputable def HCPolySupport.muValueSet {d : ℕ} (U : Set (Vec d)) (P : BlockVec d) (a : CoeffField d) :

        The averaged block energies of states admissible for the prescribed constant pair P.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def HCPolySupport.Mu {d : ℕ} (U : Set (Vec d)) (P : BlockVec d) (a : CoeffField d) :

          The real infimum of averaged block energies of states admissible for P.

          Equations
          Instances For
            theorem HCPolySupport.muValueSet_nonempty {d : ℕ} (U : Set (Vec d)) (P : BlockVec d) (a : CoeffField d) :
            theorem HCPolySupport.le_Mu_of_forall_mem_muValueSet {d : ℕ} {U : Set (Vec d)} {P : BlockVec d} {a : CoeffField d} {c : ℝ} (hc : ∀ m ∈ muValueSet U P a, c ≤ m) :
            c ≤ Mu U P a
            theorem HCPolySupport.le_Mu_of_forall_isBlockMuAdmissible {d : ℕ} {U : Set (Vec d)} {P : BlockVec d} {a : CoeffField d} {c : ℝ} (hc : ∀ (X : BlockState d), IsBlockMuAdmissible U P X → c ≤ volumeAverage U (blockEnergyDensity a X)) :
            c ≤ Mu U P a
            noncomputable def HCPolySupport.blockResponseIntegrand {d : ℕ} (a : CoeffField d) (P Q : BlockVec d) (X : BlockState d) :
            Vec d → ℝ

            The block response density -X·A X / 2 - P·A X + Q·X, with A the block coefficient.

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

              Square-integrability of the flux and integrability of the block energy on U.

              Instances For
                noncomputable def HCPolySupport.blockJValueSet {d : ℕ} (U : Set (Vec d)) (P Q : BlockVec d) (a : CoeffField d) :

                Averaged block response densities of response-space states with integrable energy and L² flux.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def HCPolySupport.BlockJ {d : ℕ} (U : Set (Vec d)) (P Q : BlockVec d) (a : CoeffField d) :

                  The real supremum of the admissible averaged block response values.

                  Equations
                  Instances For
                    noncomputable def HCPolySupport.scalarResponseIntegrand {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (p q : Vec d) (u : AHarmonicFunction a U) :
                    Vec d → ℝ

                    The scalar response density -∇u·symm(a)∇u / 2 - p·a∇u + q·∇u.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      noncomputable def HCPolySupport.responseJValueSet {d : ℕ} (U : Set (Vec d)) (p q : Vec d) (a : CoeffField d) :

                      The averaged scalar response densities of all a-harmonic H¹ functions on U.

                      Equations
                      Instances For
                        noncomputable def HCPolySupport.ResponseJ {d : ℕ} (U : Set (Vec d)) (p q : Vec d) (a : CoeffField d) :

                        The real supremum of averaged scalar responses over a-harmonic H¹ functions.

                        Equations
                        Instances For
                          def HCPolySupport.IsCoarseBlockMatrix {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (Abar : BlockMat d) :

                          A symmetric block matrix representing Mu U P a as one half of its quadratic form.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def HCPolySupport.HasQuadraticMu {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :

                            Mu is quadratic in the note-faithful sense: after passing to the full 2d-dimensional coordinate space, it is one half of a quadratic form.

                            Equations
                            Instances For
                              noncomputable def HCPolySupport.coarseBlockEntry {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (α β : BlockCoord d) :

                              A polarized entry of Mu: twice the basis energy on the diagonal, and the energy of the basis sum minus the two basis energies off the diagonal.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                noncomputable def HCPolySupport.coarseBlockMatrix {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :

                                The block matrix assembled from polarized basis values of Mu.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem HCPolySupport.Mu_restrictCoeffField_eq {d : ℕ} {U : Set (Vec d)} (hU : MeasurableSet U) (P : BlockVec d) (a : CoeffField d) :
                                  Mu U P (restrictCoeffField U a) = Mu U P a
                                  theorem HCPolySupport.coarseBlockMatrix_eq_of_mu_eq {d : ℕ} {U V : Set (Vec d)} {a b : CoeffField d} (hmu : ∀ (P : BlockVec d), Mu U P a = Mu V P b) :
                                  theorem HCPolySupport.Mu_eq_half_blockVecDot_coarseBlockMatrix {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} (hex : ∃ (Abar : BlockMat d), IsCoarseBlockMatrix U a Abar) (P : BlockVec d) :
                                  theorem HCPolySupport.existsUnique_coarseBlockMatrix {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} (hex : ∃ (Abar : BlockMat d), IsCoarseBlockMatrix U a Abar) :
                                  noncomputable def HCPolySupport.coarseStarredBlockMatrixInv {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :

                                  The note-faithful \mathbf A_*^{-1}(U; a) obtained from \mathbf A(U; a) by reflection.

                                  Equations
                                  Instances For
                                    def HCPolySupport.IsSigmaStarCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (sigmaStar : Mat d) :

                                    A symmetric matrix whose inverse quadratic form represents twice ResponseJ U 0 q a.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      def HCPolySupport.IsKappaCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (sigmaStar kappa : Mat d) :

                                      Representation of the corrected mixed response by the bilinear form q·sigmaStar⁻¹ kappa p.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        def HCPolySupport.IsSigmaCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (sigma sigmaStar kappa : Mat d) :

                                        A symmetric matrix representing the p-response after subtracting the kappa quadratic correction.

                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          def HCPolySupport.IsSigmaStarInvCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (sigmaStarInv : Mat d) :

                                          A symmetric matrix representing twice the pure q-response as a quadratic form.

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

                                            A polarized entry of the pure q-response, with twice the basis response on the diagonal.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              noncomputable def HCPolySupport.sigmaStarInvCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :
                                              Mat d

                                              The matrix assembled from polarized values of the pure q-response.

                                              Equations
                                              Instances For
                                                @[simp]
                                                theorem HCPolySupport.sigmaStarInvCoarse_apply_same {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (i : Fin d) :
                                                sigmaStarInvCoarse U a i i = 2 * ResponseJ U 0 (Pi.single i 1) a
                                                @[simp]
                                                theorem HCPolySupport.sigmaStarInvCoarse_apply_of_ne {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) {i j : Fin d} (hij : i ≠ j) :
                                                sigmaStarInvCoarse U a i j = ResponseJ U 0 (Pi.single i 1 + Pi.single j 1) a - ResponseJ U 0 (Pi.single i 1) a - ResponseJ U 0 (Pi.single j 1) a
                                                theorem HCPolySupport.eq_sigmaStarInvCoarse_of_isSigmaStarInvCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStarInv : Mat d} (hS : IsSigmaStarInvCoarse U a sigmaStarInv) :
                                                sigmaStarInv = sigmaStarInvCoarse U a
                                                theorem HCPolySupport.isSigmaStarInvCoarse_sigmaStarInvCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} (hex : ∃ (sigmaStarInv : Mat d), IsSigmaStarInvCoarse U a sigmaStarInv) :
                                                theorem HCPolySupport.existsUnique_sigmaStarInvCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} (hex : ∃ (sigmaStarInv : Mat d), IsSigmaStarInvCoarse U a sigmaStarInv) :
                                                ∃! sigmaStarInv : Mat d, IsSigmaStarInvCoarse U a sigmaStarInv
                                                theorem HCPolySupport.isSigmaStarInvCoarse_of_isSigmaStarCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) :
                                                theorem HCPolySupport.sigmaStarInvCoarse_eq_inv_of_isSigmaStarCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) :
                                                noncomputable def HCPolySupport.sigmaStarCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :
                                                Mat d

                                                The matrix inverse of the polarized pure q-response matrix.

                                                Equations
                                                Instances For
                                                  theorem HCPolySupport.eq_sigmaStarCoarse_of_isSigmaStarCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hdet : IsUnit (Matrix.det sigmaStar)) :
                                                  sigmaStarCoarse U a = sigmaStar
                                                  theorem HCPolySupport.sigmaStarCoarse_isSymm_of_isSigmaStarCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hdet : IsUnit (Matrix.det sigmaStar)) :

                                                  Representation of the corrected mixed response by the bilinear form q·M p.

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    noncomputable def HCPolySupport.sigmaStarInvKappaCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :
                                                    Mat d

                                                    The matrix of mixed basis responses corrected by subtracting pure responses and adding p·q.

                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For
                                                      theorem HCPolySupport.isSigmaStarInvKappaCoarse_of_isKappaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar kappa : Mat d} (hK : IsKappaCoarse U a sigmaStar kappa) :
                                                      IsSigmaStarInvKappaCoarse U a (sigmaStar⁻¹ * kappa)
                                                      theorem HCPolySupport.sigmaStarInvKappaCoarse_eq_mul_of_isKappaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar kappa : Mat d} (hK : IsKappaCoarse U a sigmaStar kappa) :
                                                      sigmaStarInvKappaCoarse U a = sigmaStar⁻¹ * kappa
                                                      noncomputable def HCPolySupport.kappaCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :
                                                      Mat d

                                                      The product of the coarse sigmaStar matrix and the corrected mixed-response matrix.

                                                      Equations
                                                      Instances For
                                                        theorem HCPolySupport.eq_kappaCoarse_of_isKappaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigmaStar kappa : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hK : IsKappaCoarse U a sigmaStar kappa) (hdet : IsUnit (Matrix.det sigmaStar)) :
                                                        kappaCoarse U a = kappa
                                                        noncomputable def HCPolySupport.sigmaCorrectedResponse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (p : Vec d) :

                                                        The pure p-response minus one half of the canonical kappaᵀ sigmaStarInv kappa quadratic form.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          def HCPolySupport.IsSigmaCanonicalCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (sigma : Mat d) :

                                                          A symmetric matrix representing twice the canonically corrected p-response.

                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            noncomputable def HCPolySupport.sigmaEntry {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (i j : Fin d) :

                                                            A polarized entry of the canonically corrected p-response.

                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For
                                                              noncomputable def HCPolySupport.sigmaCoarse {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) :
                                                              Mat d

                                                              The matrix assembled from polarized values of the canonically corrected p-response.

                                                              Equations
                                                              Instances For
                                                                @[simp]
                                                                theorem HCPolySupport.sigmaCoarse_apply_same {d : ℕ} (U : Set (Vec d)) (a : CoeffField d) (i : Fin d) :
                                                                theorem HCPolySupport.eq_sigmaCoarse_of_isSigmaCanonicalCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigma : Mat d} (hSigma : IsSigmaCanonicalCoarse U a sigma) :
                                                                sigma = sigmaCoarse U a
                                                                theorem HCPolySupport.existsUnique_sigmaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} (hex : ∃ (sigma : Mat d), IsSigmaCanonicalCoarse U a sigma) :
                                                                ∃! sigma : Mat d, IsSigmaCanonicalCoarse U a sigma
                                                                theorem HCPolySupport.isSigmaCanonicalCoarse_of_isSigmaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigma sigmaStar kappa : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hK : IsKappaCoarse U a sigmaStar kappa) (hSigma : IsSigmaCoarse U a sigma sigmaStar kappa) (hdet : IsUnit (Matrix.det sigmaStar)) :
                                                                theorem HCPolySupport.sigmaCoarse_eq_of_isSigmaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigma sigmaStar kappa : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hK : IsKappaCoarse U a sigmaStar kappa) (hSigma : IsSigmaCoarse U a sigma sigmaStar kappa) (hdet : IsUnit (Matrix.det sigmaStar)) :
                                                                sigmaCoarse U a = sigma
                                                                theorem HCPolySupport.sigmaCoarse_isSymm_of_isSigmaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigma sigmaStar kappa : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hK : IsKappaCoarse U a sigmaStar kappa) (hSigma : IsSigmaCoarse U a sigma sigmaStar kappa) (hdet : IsUnit (Matrix.det sigmaStar)) :
                                                                noncomputable def HCPolySupport.bCoarse {d : ℕ} (sigma sigmaStar kappa : Mat d) :
                                                                Mat d

                                                                The matrix sigma + kappaᵀ sigmaStar⁻¹ kappa.

                                                                Equations
                                                                Instances For
                                                                  theorem HCPolySupport.bCoarse_smul {d : ℕ} {sigma sigmaStar kappa : Mat d} (hdet : IsUnit (Matrix.det sigmaStar)) {lam : ℝ} (hlam : 0 < lam) :
                                                                  bCoarse (lam • sigma) (lam • sigmaStar) (lam • kappa) = lam • bCoarse sigma sigmaStar kappa
                                                                  theorem HCPolySupport.bCoarse_isSymm_of_isSigmaCoarse {d : ℕ} {U : Set (Vec d)} {a : CoeffField d} {sigma sigmaStar kappa : Mat d} (hS : IsSigmaStarCoarse U a sigmaStar) (hSigma : IsSigmaCoarse U a sigma sigmaStar kappa) :
                                                                  Matrix.IsSymm (bCoarse sigma sigmaStar kappa)
                                                                  noncomputable def HCPolySupport.aCoarse {d : ℕ} (sigma kappa : Mat d) :
                                                                  Mat d

                                                                  The matrix sigma - kappaᵀ.

                                                                  Equations
                                                                  Instances For
                                                                    noncomputable def HCPolySupport.aStarCoarse {d : ℕ} (sigmaStar kappa : Mat d) :
                                                                    Mat d

                                                                    The matrix sigmaStar - kappaᵀ.

                                                                    Equations
                                                                    Instances For