Documentation

LeanPool.HighContrastHomogenization.Entry.Geometry.QuadraticForm

High-contrast homogenization: Entry.Geometry.QuadraticForm #

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

Quadratic forms and the Euclidean operator norm #

The matrix analysis behind e.rounded.grid.bounds is carried out entirely with quadratic forms v ⬝ᵥ (M *ᵥ v) and squared Euclidean norms vecNormSq. This file provides:

The print's |·| on matrices is the Euclidean operator norm; Mathlib's scoped instance Matrix.Norms.L2Operator is exactly that norm, and every use of it below goes through the single inequality Matrix.l2_opNorm_mulVec.

Symmetric forms #

The form of a symmetric matrix is symmetric.

For symmetric M, |M v|² = ⟨v, M² v⟩.

Cauchy–Schwarz for a positive semidefinite form.

The operator norm bridge #

|M v|² ≤ ‖M‖² |v|² for the Euclidean operator norm.

theorem HCPolySupport.HighContrast.Geometry.opNorm_le_of_vecNormSq_mulVec_le {d : ℕ} {M : Mat d} {K : ℝ} (hK : 0 ≤ K) (h : ∀ (v : Vec d), vecNormSq (Matrix.mulVec M v) ≤ K ^ 2 * vecNormSq v) :

The converse: a uniform bound |M v|² ≤ K² |v|² bounds the operator norm.

Form bounds from vector bounds and back #

A vector bound |M v| ≤ K |v| bounds the form: |⟨v, M v⟩| ≤ K |v|².

⟨v, M v⟩ ≤ ‖M‖ |v|².

For a symmetric matrix R with R * R = P: ⟨u, R u⟩ ≤ √‖P‖ |u|².

theorem HCPolySupport.HighContrast.Geometry.vecNormSq_mulVec_le_of_dotProduct_le {d : ℕ} {M : Mat d} (hM : Matrix.transpose M = M) (hpos : ∀ (x : Vec d), 0 ≤ x ⬝ᵥ Matrix.mulVec M x) {K : ℝ} (hK : 0 ≤ K) (h : ∀ (x : Vec d), x ⬝ᵥ Matrix.mulVec M x ≤ K * vecNormSq x) (v : Vec d) :

For a symmetric positive semidefinite M, a bound ⟨x, M x⟩ ≤ K |x|² on the form gives the vector bound |M v|² ≤ K² |v|².

A lower bound c |x|² ≤ ⟨x, M x⟩ on the form gives c² |v|² ≤ |M v|².