cfahlgren1's picture
download
raw
7.12 kB
import Mathlib
namespace OAI
noncomputable section
open scoped InnerProductSpace
namespace Problem367
section LiftGram
variable {π•œ E F G : Type*} [RCLike π•œ]
variable [NormedAddCommGroup E] [InnerProductSpace π•œ E]
variable [NormedAddCommGroup F] [InnerProductSpace π•œ F]
variable [NormedAddCommGroup G] [InnerProductSpace π•œ G]
theorem lift_cross_bound_of_operator (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
(T : F β†’L[π•œ] E) {ρ : ℝ} (hT : β€–Tβ€– ≀ ρ)
(hinner : βˆ€ x y, inner π•œ (A x) (B y) = inner π•œ x (T y)) :
βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€– := by
intro x y
rw [hinner]
calc
β€–inner π•œ x (T y)β€– ≀ β€–xβ€– * β€–T yβ€– := norm_inner_le_norm _ _
_ ≀ β€–xβ€– * (β€–Tβ€– * β€–yβ€–) :=
mul_le_mul_of_nonneg_left (T.le_opNorm y) (norm_nonneg _)
_ ≀ β€–xβ€– * (ρ * β€–yβ€–) :=
mul_le_mul_of_nonneg_left
(mul_le_mul_of_nonneg_right hT (norm_nonneg _)) (norm_nonneg _)
_ = ρ * β€–xβ€– * β€–yβ€– := by ring
theorem lift_sum_gram_bounds (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) (x : E) (y : F) :
(1 - ρ) * (β€–xβ€– ^ 2 + β€–yβ€– ^ 2) ≀ β€–A x + B yβ€– ^ 2 ∧
β€–A x + B yβ€– ^ 2 ≀ (1 + ρ) * (β€–xβ€– ^ 2 + β€–yβ€– ^ 2) := by
have hc := (RCLike.abs_re_le_norm (inner π•œ (A x) (B y))).trans (hcross x y)
have hl := (abs_le.mp hc).1
have hu := (abs_le.mp hc).2
have hdiff : 0 ≀ ρ * (β€–xβ€– - β€–yβ€–) ^ 2 := mul_nonneg hρ (sq_nonneg _)
rw [norm_add_sq (π•œ := π•œ), A.norm_map, B.norm_map]
constructor <;> nlinarith
theorem lift_sum_norm_lower_bound (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ) (hρ1 : ρ < 1)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) (z : E Γ— F) :
Real.sqrt (1 - ρ) * β€–zβ€– ≀ β€–A z.1 + B z.2β€– := by
have hpos : 0 ≀ 1 - ρ := by linarith
have hlow := (lift_sum_gram_bounds A B hρ hcross z.1 z.2).1
have hsqrt := Real.sq_sqrt hpos
have hfst : Real.sqrt (1 - ρ) * β€–z.1β€– ≀ β€–A z.1 + B z.2β€– := by
apply (sq_le_sqβ‚€ (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))
(norm_nonneg _)).mp
rw [mul_pow, hsqrt]
nlinarith [mul_nonneg hpos (sq_nonneg β€–z.2β€–)]
have hsnd : Real.sqrt (1 - ρ) * β€–z.2β€– ≀ β€–A z.1 + B z.2β€– := by
apply (sq_le_sqβ‚€ (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))
(norm_nonneg _)).mp
rw [mul_pow, hsqrt]
nlinarith [mul_nonneg hpos (sq_nonneg β€–z.1β€–)]
rw [Prod.norm_def, mul_max_of_nonneg]
Β· exact max_le hfst hsnd
Β· exact Real.sqrt_nonneg _
theorem lift_sum_injective (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ) (hρ1 : ρ < 1)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) :
Function.Injective (fun z : E Γ— F => A z.1 + B z.2) := by
let R := A.toContinuousLinearMap.coprod B.toContinuousLinearMap
have hbound : βˆƒ c > 0, βˆ€ z, c * β€–zβ€– ≀ β€–R zβ€– :=
⟨Real.sqrt (1 - ρ), Real.sqrt_pos.2 (by linarith),
lift_sum_norm_lower_bound A B hρ hρ1 hcross⟩
obtain ⟨K, hK⟩ := (antilipschitzWith_iff_exists_mul_le_norm (f := R)).2 hbound
exact hK.injective
theorem lift_sum_isClosed_range [CompleteSpace E] [CompleteSpace F]
(A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ) (hρ1 : ρ < 1)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) :
IsClosed (Set.range (fun z : E Γ— F => A z.1 + B z.2)) := by
let R := A.toContinuousLinearMap.coprod B.toContinuousLinearMap
have hbound : βˆƒ c > 0, βˆ€ z, c * β€–zβ€– ≀ β€–R zβ€– :=
⟨Real.sqrt (1 - ρ), Real.sqrt_pos.2 (by linarith),
lift_sum_norm_lower_bound A B hρ hρ1 hcross⟩
obtain ⟨K, hK⟩ := (antilipschitzWith_iff_exists_mul_le_norm (f := R)).2 hbound
exact hK.isClosed_range R.uniformContinuous
def liftSumL2 (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G) :
WithLp 2 (E Γ— F) β†’L[π•œ] G :=
(A.toContinuousLinearMap.comp (WithLp.fstL 2 π•œ E F)) +
(B.toContinuousLinearMap.comp (WithLp.sndL 2 π•œ E F))
@[simp] theorem liftSumL2_apply (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
(z : WithLp 2 (E Γ— F)) : liftSumL2 A B z = A z.fst + B z.snd := rfl
theorem liftSumL2_gram_bounds (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–)
(z : WithLp 2 (E Γ— F)) :
(1 - ρ) * β€–zβ€– ^ 2 ≀ β€–liftSumL2 A B zβ€– ^ 2 ∧
β€–liftSumL2 A B zβ€– ^ 2 ≀ (1 + ρ) * β€–zβ€– ^ 2 := by
simpa only [WithLp.prod_norm_sq_eq_of_L2, liftSumL2_apply] using
lift_sum_gram_bounds A B hρ hcross z.fst z.snd
theorem liftSumL2_norm_lower_bound (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ) (hρ1 : ρ < 1)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–)
(z : WithLp 2 (E Γ— F)) :
Real.sqrt (1 - ρ) * β€–zβ€– ≀ β€–liftSumL2 A B zβ€– := by
apply (sq_le_sqβ‚€ (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))
(norm_nonneg _)).mp
rw [mul_pow, Real.sq_sqrt (by linarith : 0 ≀ 1 - ρ)]
exact (liftSumL2_gram_bounds A B hρ hcross z).1
theorem norm_liftSumL2_le (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) :
β€–liftSumL2 A Bβ€– ≀ Real.sqrt (1 + ρ) := by
apply ContinuousLinearMap.opNorm_le_bound _ (Real.sqrt_nonneg _)
intro z
apply (sq_le_sqβ‚€ (norm_nonneg _)
(mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))).mp
rw [mul_pow, Real.sq_sqrt (by linarith : 0 ≀ 1 + ρ)]
exact (liftSumL2_gram_bounds A B hρ hcross z).2
theorem liftSumL2_antilipschitz (A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ) (hρ1 : ρ < 1)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) :
AntilipschitzWith ⟨(Real.sqrt (1 - ρ))⁻¹, by positivity⟩ (liftSumL2 A B) := by
apply ContinuousLinearMap.antilipschitz_of_bound
intro z
have hs : 0 < Real.sqrt (1 - ρ) := Real.sqrt_pos.2 (by linarith)
have h := liftSumL2_norm_lower_bound A B hρ hρ1 hcross z
change β€–zβ€– ≀ (Real.sqrt (1 - ρ))⁻¹ * β€–liftSumL2 A B zβ€–
exact (le_inv_mul_iffβ‚€ hs).2 h
def liftSumL2EquivRange [CompleteSpace E] [CompleteSpace F] [CompleteSpace G]
(A : E β†’β‚—α΅’[π•œ] G) (B : F β†’β‚—α΅’[π•œ] G)
{ρ : ℝ} (hρ : 0 ≀ ρ) (hρ1 : ρ < 1)
(hcross : βˆ€ x y, β€–inner π•œ (A x) (B y)β€– ≀ ρ * β€–xβ€– * β€–yβ€–) :
WithLp 2 (E Γ— F) ≃L[π•œ] (liftSumL2 A B).range :=
(liftSumL2 A B).equivRange
(liftSumL2_antilipschitz A B hρ hρ1 hcross).injective
((liftSumL2_antilipschitz A B hρ hρ1 hcross).isClosed_range
(liftSumL2 A B).uniformContinuous)
end LiftGram
end Problem367
end
end OAI

Xet Storage Details

Size:
7.12 kB
Β·
Xet hash:
7b3daa0e68d40ecdeba3b9b3ee8c768cd24586f6258560bc718d955e12b9dd62

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.