cfahlgren1's picture
download
raw
1.18 kB
import OAI.Analysis.IrrationalRotation.Model.ProductSampling
namespace OAI
noncomputable section
open MeasureTheory
open scoped ENNReal BigOperators
namespace Invariant233.ProductModel.PrefixPatterns
def replacement (I : Finset ℕ) (xz : EndpointPair) : EndpointPair :=
(xz.1, selectedEndpoint I xz.1 xz.2)
def rectangleDensity (U V : Set Circle) : Circle × Circle → ℝ≥0∞ :=
(U ×ˢ V).indicator (fun _ => (circleMeasure U * circleMeasure V)⁻¹)
def patternDensity (I : Finset ℕ) (g : Base → ℝ≥0∞)
(U V : ℕ → Set Circle) (xz : EndpointPair) : ℝ≥0∞ :=
g xz.1 * ∏ i ∈ I, rectangleDensity (U i) (V i) (xz.1 i, xz.2 i)
def patternLaw (I : Finset ℕ) (g : Base → ℝ≥0∞)
(U V : ℕ → Set Circle) : Measure EndpointPair :=
((baseMeasure.prod baseMeasure).withDensity (patternDensity I g U V)).map
(replacement I)
def mixtureLaw {C : Type*} [Fintype C] (w : C → ℝ≥0∞)
(I : C → Finset ℕ) (g : C → Base → ℝ≥0∞)
(U V : C → ℕ → Set Circle) : Measure EndpointPair :=
∑ c, w c • patternLaw (I c) (g c) (U c) (V c)
end Invariant233.ProductModel.PrefixPatterns
end
end OAI

Xet Storage Details

Size:
1.18 kB
·
Xet hash:
cc5c04b060f4370d3c64e76e929e55030daa3bc20fd34b168be7140ef83d761f

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