Documentation

LeanPool.HighContrastHomogenization.Provider.Recurrence.RoundedGrid

High-contrast homogenization: Provider.Recurrence.RoundedGrid #

Imported from the Apache-2.0 HighContrastHomogenization development at commit 7a13dbcd8d6609264a713373f5c69ceeac870472.

The rounded adapted grid #

The rounded adapted grid of a metric replaces a positive symmetric matrix m by the entrywise rounding

Q_ā„“(m) = 3^{-ā„“} ⌈3^ā„“ š“›(m)āŒ‰, š“›(m) := |m^{-1}|^{1/2} m^{1/2},

at an alignment scale ā„“ ≄ k_0(d). Two properties of that convention are what the adapted geometry rests on, and both are proved here.

The first is that Q_ā„“(m) is again positive. The eigenvalues of the normalized square root š“›(m) are the numbers (Ī»_i(m)/Ī»_min(m))^{1/2} ≄ 1, so š“›(m) ≄ I; rounding moves each entry by less than 3^{-ā„“}, and the spectral norm of a d Ɨ d matrix is at most d times the largest absolute value of its entries, so the rounding perturbs the quadratic form by at most d 3^{-ā„“} ≤ d 3^{-k_0(d)}. This is exactly the quantity the choice of k_0(d) controls, and kZero_spec bounds it by 1/101. Hence Q_ā„“(m) stays positive definite, and the adapted cells ā‹„_j^q = qā–”_j are genuine cells.

The second is integrality. Every entry of Q_ā„“(m) is 3^{-ā„“} times an integer, so for every scale j ≄ ā„“ the matrix 3^j Q_ā„“(m) has integer entries and the aligned translation vectors 3^j q w, w ∈ ℤ^d, lie in ℤ^d. That is the integrality clause of the aligned subdivision in the coarse-block properties taken from HC, and it is what lets stationarity be applied to the child cells.

The normalized square root #

The square root of a nonnegative multiple of a positive semidefinite matrix scales by the square root of the multiple.

The identity is its own square root.

The normalization of the rounded adapted grid is at least the identity. Scaling a positive definite matrix by |m^{-1}| puts it above the identity: conjugating m^{-1} ≤ |m^{-1}| I by m^{1/2} gives I ≤ |m^{-1}| m.

The normalized square root is at least the identity. Its eigenvalues are the numbers (λ_i(m)/λ_min(m))^{1/2}, the least of which is one.

The normalized square root is symmetric.

Rounding moves each entry by less than 3^{-ā„“} #

The entries of the rounded grid, in terms of the normalized square root.

The rounding error of the rounded adapted grid. Every entry of Q_ā„“(m) - š“›(m) is nonnegative and at most 3^{-ā„“}.

The rounded grid is symmetric.

Positivity of the rounded grid #

theorem HCPolySupport.HighContrast.Recurrence.neg_le_dotProduct_mulVec_of_abs_entry_le {d : ā„•} {E : Mat d} {delta : ā„} (hE : āˆ€ (i k : Fin d), |E i k| ≤ delta) (x : Fin d → ā„) :
-(delta * ↑d * āˆ‘ i : Fin d, x i * x i) ≤ x ā¬įµ„ Matrix.mulVec E x

The quadratic form of a matrix with small entries is small: the entrywise bound Ī“ gives |x Ā· E x| ≤ dĪ“|x|², the spectral-norm-by-entries estimate the reference text uses on the rounding error.

The rounded grid is positive definite. This is where the choice of k_0(d) is used: at an alignment ā„“ ≄ k_0(d) the rounding error d 3^{-ā„“} is at most the 1/101 of kZero_spec, which the normalization š“›(m) ≄ I absorbs.

A rounded adapted grid is positive definite.

Integrality of the aligned translations #

theorem HCPolySupport.HighContrast.Recurrence.exists_int_roundedGrid {d : ā„•} (l : ℤ) (m : Mat d) (i k : Fin d) :
∃ (c : ℤ), roundedGrid l m i k = 3 ^ (-l) * ↑c

Every entry of the rounded grid is 3^{-ā„“} times an integer.

theorem HCPolySupport.HighContrast.Recurrence.exists_int_zpow_smul_of_isRoundedGrid {d : ā„•} {l : ℤ} {q : Mat d} (hq : IsRoundedGrid l q) {j : ℤ} (hj : l ≤ j) :
∃ (n : Fin d → Fin d → ℤ), āˆ€ (i k : Fin d), 3 ^ j * q i k = ↑(n i k)

3^j q has integer entries at every scale at or above the alignment. This is the integrality clause of the aligned subdivision in the coarse-block properties taken from HC.

theorem HCPolySupport.HighContrast.Recurrence.exists_intVec_adaptedCellCenter {d : ā„•} {l : ℤ} {q : Mat d} (hq : IsRoundedGrid l q) {j : ℤ} (hj : l ≤ j) (w : Fin d → ℤ) :
∃ (v : Fin d → ℤ), adaptedCellCenter q j w = fun (i : Fin d) => ↑(v i)

The aligned translation vectors are integral. For a rounded grid at alignment ā„“ and any scale j ≄ ā„“, the center 3^j q w of an aligned adapted cell lies in ℤ^d.