cfahlgren1/math / lean /OAI /InformationTheory /Entanglement /MatrixFamilyDensity.lean
cfahlgren1's picture
download
raw
3.84 kB
14
def familyTraceMeasure (W : ι → PositiveMatrixMeasure Ω n) : Measure Ω :=
body · 1 line
  ∑ a, (W a).traceMeasure
16
instance familyTraceMeasureIsFiniteMeasure (W : ι → PositiveMatrixMeasure Ω n) :
    IsFiniteMeasure (familyTraceMeasure W) := by
body · 2 lines
  unfold familyTraceMeasure
  infer_instance
20
lemma trace_absolutelyContinuous_family (W : ι → PositiveMatrixMeasure Ω n) (a : ι) :
    (W a).traceMeasure ≪ familyTraceMeasure W := by
proof · 3 lines
  apply Measure.absolutelyContinuous_of_le
  exact Finset.single_le_sum (f := fun i => (W i).traceMeasure)
    (fun i _ => by exact bot_le) (Finset.mem_univ a)
25
lemma familyTraceMeasure_real (W : ι → PositiveMatrixMeasure Ω n) (s : Set Ω) :
    (familyTraceMeasure W).real s=∑ a, (W a).traceMeasure.real s := by
proof · 2 lines
  simp only [familyTraceMeasure,measureReal_def,Measure.coe_finsetSum,Finset.sum_apply]
  exact ENNReal.toReal_sum (fun a _ => measure_ne_top _ _)
30
def familyDensity (W : ι → PositiveMatrixMeasure Ω n) (a : ι) : Ω → Mat n :=
body · 1 line
  (W a).positiveDensity (familyTraceMeasure W)
32
lemma familyDensity_psd (W : ι → PositiveMatrixMeasure Ω n) (a : ι) (t : Ω) :
    (familyDensity W a t).PosSemidef := (W a).positiveDensity_psd _ _
34
lemma familyDensity_measurable [DecidableEq n] (W : ι → PositiveMatrixMeasure Ω n) (a : ι) :
    Measurable (familyDensity W a) := (W a).positiveDensity_measurable _
36
lemma familyDensity_integrable (W : ι → PositiveMatrixMeasure Ω n) (a : ι) (i j : n) :
    Integrable (fun t => familyDensity W a t i j) (familyTraceMeasure W) :=
proof · 1 line
  (W a).positiveDensity_integrable (trace_absolutelyContinuous_family W a) i j
39
lemma familyDensity_trace_integrable (W : ι → PositiveMatrixMeasure Ω n) (a : ι) :
    Integrable (fun t => (Matrix.trace (familyDensity W a t)).re) (familyTraceMeasure W) :=
proof · 1 line
  (W a).positiveDensity_trace_integrable (trace_absolutelyContinuous_family W a)
42
lemma familyDensity_setIntegral (W : ι → PositiveMatrixMeasure Ω n) (a : ι)
    {s : Set Ω} (hs : MeasurableSet s) (i j : n) :
    (∫ t in s, familyDensity W a t i j ∂familyTraceMeasure W)=(W a).value s i j :=
proof · 1 line
  (W a).positiveDensity_setIntegral (trace_absolutelyContinuous_family W a) hs i j
46
lemma familyDensity_trace_setIntegral (W : ι → PositiveMatrixMeasure Ω n) (a : ι)
    {s : Set Ω} (hs : MeasurableSet s) :
    (∫ t in s, (Matrix.trace (familyDensity W a t)).re ∂familyTraceMeasure W)=
      (W a).traceMeasure.real s :=
proof · 1 line
  (W a).positiveDensity_trace_setIntegral (trace_absolutelyContinuous_family W a) hs
52
theorem familyDensity_trace_sum_one (W : ι → PositiveMatrixMeasure Ω n) :
    ∀ᵐ t ∂familyTraceMeasure W, (∑ a, (Matrix.trace (familyDensity W a t)).re)=1 := by
proof · 8 lines
  refine Integrable.ae_eq_of_forall_setIntegral_eq _ _
    (integrable_finsetSum _ (fun a _ => familyDensity_trace_integrable W a))
    (integrable_const (1 : ℝ)) ?_
  intro s hs _
  rw [integral_finsetSum _ (fun a _ => (familyDensity_trace_integrable W a).integrableOn)]
  simp_rw [familyDensity_trace_setIntegral W _ hs]
  rw [← familyTraceMeasure_real]
  simp
62
lemma familyDensity_total_integral (W : ι → PositiveMatrixMeasure Ω n) :
    (∑ a, ∫ t, (Matrix.trace (familyDensity W a t)).re ∂familyTraceMeasure W)=
      (familyTraceMeasure W).real Set.univ := by
proof · 4 lines
  rw [familyTraceMeasure_real]
  apply Finset.sum_congr rfl
  intro a _
  simpa using familyDensity_trace_setIntegral W a MeasurableSet.univ

Xet Storage Details

Size:
3.84 kB
·
Xet hash:
d2528be82d8f3585d6afc350c06d62c5593b5e9a6bda3b8b350808d650e1341f

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