cfahlgren1's picture
download
raw
2.8 kB
import Mathlib
import OAI.Computability.VertexCover.Analysis.PoincareOne
namespace OAI
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
namespace VertexCover.Cube
open MeasureTheory ProbabilityTheory
open scoped ENNReal
theorem law_eq_restrict_volume (ι : Type*) [Fintype ι] :
law ι = (1/2 : ℝ≥0∞) ^ Fintype.card ι •
volume.restrict (Set.univ.pi (fun _ : ι => Set.Icc (-1 : ℝ) 1)) := by
apply Measure.pi_eq
intro s hs
rw [Measure.smul_apply, Measure.restrict_apply (MeasurableSet.univ_pi hs),
← Set.pi_inter_distrib, volume_pi_pi]
simp only [intervalLaw, Measure.smul_apply, Measure.restrict_apply (hs _),
smul_eq_mul, Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ]
theorem law_ac (ι : Type*) [Fintype ι] : law ι ≪ volume := by
rw [law_eq_restrict_volume]
intro s hs
have hz : volume.restrict (Set.univ.pi (fun _ : ι => Set.Icc (-1 : ℝ) 1)) s = 0 :=
le_antisymm ((Measure.restrict_le_self s).trans_eq hs) zero_le
simp only [Measure.smul_apply, hz, smul_zero]
end VertexCover.Cube
namespace VertexCover.Cube
open MeasureTheory ProbabilityTheory
open scoped ENNReal
noncomputable def blockLaw (ι κ : Type*) [Fintype ι] [Fintype κ] :
Measure (ι → κ → ℝ) := Measure.pi (fun _ : ι => law κ)
instance blockLaw_probability (ι κ : Type*) [Fintype ι] [Fintype κ] :
IsProbabilityMeasure (blockLaw ι κ) := by
unfold blockLaw
infer_instance
theorem blockLaw_eq_restrict_volume (ι κ : Type*) [Fintype ι] [Fintype κ] :
blockLaw ι κ = ((1/2 : ℝ≥0∞) ^ Fintype.card κ) ^ Fintype.card ι •
volume.restrict (Set.univ.pi (fun _ : ι =>
Set.univ.pi (fun _ : κ => Set.Icc (-1 : ℝ) 1))) := by
apply Measure.pi_eq
intro s hs
rw [Measure.smul_apply, Measure.restrict_apply (MeasurableSet.univ_pi hs),
← Set.pi_inter_distrib, volume_pi_pi]
simp only [law_eq_restrict_volume, Measure.smul_apply,
Measure.restrict_apply (hs _), smul_eq_mul, Finset.prod_mul_distrib,
Finset.prod_const, Finset.card_univ]
theorem blockLaw_ac (ι κ : Type*) [Fintype ι] [Fintype κ] :
blockLaw ι κ ≪ volume := by
rw [blockLaw_eq_restrict_volume]
intro s hs
have hz : volume.restrict (Set.univ.pi (fun _ : ι =>
Set.univ.pi (fun _ : κ => Set.Icc (-1 : ℝ) 1))) s = 0 :=
le_antisymm ((Measure.restrict_le_self s).trans_eq hs) zero_le
simp only [Measure.smul_apply, hz, smul_zero]
end VertexCover.Cube
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end OAI

Xet Storage Details

Size:
2.8 kB
·
Xet hash:
91fa6dc57a6394a1a81fb2293a305b58610c5dc4f9c11f88a6e2a425f82d29cf

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