math / data /lean /OAI /Probability /InvariantIsing /Haar /HaarCurveBound.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.96 kB
import OAI.Probability.InvariantIsing.Haar.HaarCurveTangent
import OAI.Probability.InvariantIsing.Haar.HaarPolynomialValue
import Mathlib.Analysis.Calculus.MeanValue
namespace OAI
/-! Integrating the coordinate-plane gradient bound along an orthogonal curve. -/
noncomputable section
open Matrix MvPolynomial Set
open scoped BigOperators
namespace InvariantIsing
lemma haarPolynomial_curve_bound {N : β„•} (p : MatrixPolynomial N)
(U : ℝ β†’ SpecialOrthogonal N) (B : ℝ β†’ Matrix (Fin N) (Fin N) ℝ)
(K Ξ΄ : ℝ) (hΞ΄ : 0 ≀ Ξ΄)
(hB : βˆ€ t ∈ Icc (0:ℝ) 1, βˆ€ i j,
HasDerivAt (fun s => (U s : Matrix (Fin N) (Fin N) ℝ) i j) (B t i j) t)
(hK : βˆ€ t ∈ Icc (0:ℝ) 1,
(βˆ‘ i, βˆ‘ j, |(B t*(U t : Matrix (Fin N) (Fin N) ℝ).transpose) i j|) ≀ K)
(hp : βˆ€ V : SpecialOrthogonal N, haarPolynomialValue (haarPolynomialGamma p p) V ≀ Ξ΄^2) :
|haarPolynomialValue p (U 1)-haarPolynomialValue p (U 0)| ≀ K*Ξ΄/2 := by
let f' := fun t => matrixPolynomialEval (U t : Matrix (Fin N) (Fin N) ℝ)
(matrixPolynomialDerivation (B t*(U t : Matrix (Fin N) (Fin N) ℝ).transpose) p)
have hd (t : ℝ) (ht : t ∈ Icc (0:ℝ) 1) :
HasDerivAt (fun s => haarPolynomialValue p (U s)) (f' t) t :=
orthogonalCurve_polynomial_derivative p U (B t) t (hB t ht)
have hb (t : ℝ) (ht : t ∈ Ico (0:ℝ) 1) : β€–f' tβ€– ≀ K*Ξ΄/2 := by
have ht' : t ∈ Icc (0:ℝ) 1 := ⟨ht.1,ht.2.le⟩
have hx := matrixPolynomial_direction_bound p
(U t : Matrix (Fin N) (Fin N) ℝ)
(B t*(U t : Matrix (Fin N) (Fin N) ℝ).transpose)
(orthogonalCurve_tangent_skew U (B t) t (hB t ht')) Ξ΄ hΞ΄ (hp (U t))
have hy := mul_le_mul_of_nonneg_right (hK t ht') hΞ΄
change |f' t| ≀ K*Ξ΄/2
dsimp [f'] at *
linarith
simpa only [Real.norm_eq_abs] using
norm_image_sub_le_of_norm_deriv_le_segment_01'
(fun t ht => (hd t ht).hasDerivWithinAt) hb
end InvariantIsing
end
end OAI