cfahlgren1's picture
download
raw
4.56 kB
import OAI.Analysis.FiniteFactor.Coupling.Mixture
namespace OAI
namespace FiniteFactor
open MeasureTheory
noncomputable section
namespace CouplingParameters
variable (p : CouplingParameters)
def minimumLength : Fin 5 → ℝ :=
![p.width 0/2, p.width 0/2, p.width 1/2, p.width 1/2, 1/p.m]
theorem minimumLength_pos (i : Fin 5) : 0 < p.minimumLength i := by
have h₀ := p.width_pos 0
have h₁ := p.width_pos 1
fin_cases i <;> simp [minimumLength] <;> linarith [p.m_pos]
theorem minimumLength_le (right : Bool) (i : Fin 5) :
p.minimumLength i ≤ p.endpointLength right i := by
have h₀ := p.width_upper 0
have h₁ := p.width_upper 1
cases right <;> fin_cases i <;>
simp [minimumLength, endpointLength, leftLength, rightLength] <;> linarith
theorem weighted_minimumLength_le (i : Fin 5) :
p.replacementMass i / p.minimumLength i ≤ ![2*p.kappa, 2*p.kappa, 2*p.kappa, 2*p.kappa, 1] i := by
have h₀ := p.rho_div_width_le 0
have h₁ := p.rho_div_width_le 1
have he (w r : ℝ) : r / (w/2) = 2*(r/w) := by ring
fin_cases i <;> dsimp [replacementMass, minimumLength]
all_goals try { rw [he]; linarith }
unfold tagMass
split
· rw [div_self (ne_of_gt (one_div_pos.mpr p.m_pos))]
· simp
theorem weighted_inverse_length_le (right : Bool) (i : Fin 5) :
p.replacementMass i * (p.endpointLength right i)⁻¹ ≤
![2*p.kappa, 2*p.kappa, 2*p.kappa, 2*p.kappa, 1] i := by
rw [← div_eq_mul_inv]
exact (div_le_div_of_nonneg_left (p.replacementMass_nonneg i)
(p.minimumLength_pos i) (p.minimumLength_le right i)).trans
(p.weighted_minimumLength_le i)
theorem endpointDensity_upper (right : Bool) (t : ℝ) :
p.endpointDensity right t ≤ 2+8*p.kappa := by
have hb : (∑ i, p.replacementMass i * p.endpointComponentDensity right i t) ≤
∑ i : Fin 5, ![2*p.kappa, 2*p.kappa, 2*p.kappa, 2*p.kappa, 1] i := by
apply Finset.sum_le_sum
intro i _
exact (mul_le_mul_of_nonneg_left (intervalDensity_le (p.endpointLength_pos right i).le t)
(p.replacementMass_nonneg i)).trans (p.weighted_inverse_length_le right i)
simp [Fin.sum_univ_succ] at hb
change p.diagonalMass + _ ≤ _
simp [Fin.sum_univ_succ]
linarith [p.diagonalMass_le]
theorem endpointDensity_lt_ten (right : Bool) (t : ℝ) :
p.endpointDensity right t < 10 := by
linarith [p.endpointDensity_upper right t, p.kappa_le]
theorem weighted_minimumLength_energy (i : Fin 5) :
(p.replacementMass i)^2 / p.minimumLength i =
![2*p.kappa^2/p.m, 2*p.kappa^2/p.m, 2*p.kappa^2/p.m, 2*p.kappa^2/p.m, p.tagMass] i := by
have he (w r : ℝ) : r^2 / (w/2) = 2*(r^2/w) := by ring
fin_cases i <;> dsimp [replacementMass, minimumLength]
all_goals try { rw [he, p.rho_energy]; ring }
unfold tagMass
split
· field_simp
· simp
theorem endpointDensity_energy (right : Bool) :
(∫ t, p.endpointDensity right t ^ 2 ∂unitIntervalMeasure) ≤
1 + 40*p.kappa^2/p.m + 5*p.tagMass := by
have hbase := mixtureDensity_energy_le p.diagonalMass p.replacementMass
(p.endpointComponentDensity right)
(fun i => (memLp_const _).indicator (p.endpointInterval_measurable right i))
(fun i => intervalDensity_integral (p.endpointInterval_measurable right i)
(p.endpointLength_pos right i) (p.endpointInterval_mass right i))
p.mass_sum (fun i => (p.endpointLength right i)⁻¹)
(fun i => by
unfold endpointComponentDensity
rw [intervalDensity_energy (p.endpointInterval_measurable right i)
(p.endpointLength_pos right i) (p.endpointInterval_mass right i)]
linarith)
have hb : (∑ i, p.replacementMass i ^ 2 * (p.endpointLength right i)⁻¹) ≤
∑ i : Fin 5, ![2*p.kappa^2/p.m, 2*p.kappa^2/p.m, 2*p.kappa^2/p.m, 2*p.kappa^2/p.m, p.tagMass] i := by
apply Finset.sum_le_sum
intro i _
rw [← div_eq_mul_inv, ← p.weighted_minimumLength_energy i]
exact div_le_div_of_nonneg_left (sq_nonneg _) (p.minimumLength_pos i) (p.minimumLength_le right i)
simp only [Fintype.card_fin] at hbase
simp [Fin.sum_univ_succ] at hb
change (∫ t, p.endpointDensity right t ^ 2 ∂unitIntervalMeasure) ≤ _ at hbase
simp [Fin.sum_univ_succ] at hbase
ring_nf at hbase hb ⊢
linarith
theorem endpointDensity_source_energy (right : Bool) :
(∫ t, p.endpointDensity right t ^ 2 ∂unitIntervalMeasure) ≤
1 + 20*(2*p.kappa^2/p.m + p.tagMass) := by
have := p.endpointDensity_energy right
have hn := p.tagMass_nonneg
ring_nf at this ⊢
linarith
end CouplingParameters
end
end FiniteFactor
end OAI

Xet Storage Details

Size:
4.56 kB
·
Xet hash:
5114d8add870a6b563d98fdb7e59a59e879357f9ff4dd1b51de6938f07abe55b

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