Documentation

LeanPool.HighContrastHomogenization.Support.Probability.LocalObservable

Coarse-graining support: Support.Probability.LocalObservable #

Imported from the Apache-2.0 CoarseGraining development at commit c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4.

Generic measurable local observables on coefficient space.

This file packages the common probability-theoretic pattern:

Concrete coarse observables such as Mu U P, the coarse matrix entries, and their matrix-valued packages should be bundled as instances of MeasurableLocalObservable in downstream files.

theorem HCPolySupport.restrictCoeffField_eq_of_forall_mem_eq {d : ℕ} {U : Set (Vec d)} {a₁ a₂ : CoeffField d} (h : ∀ x ∈ U, a₁ x = a₂ x) :

Compatibility spelling for the restriction-local restriction identity.

Compatibility spelling for the restriction-local map identity.

Compatibility spelling for the restriction-local map comparison.

Compatibility spelling for the restriction-local integral identity.

Compatibility spelling for the restriction-local integral comparison.

theorem HCPolySupport.IsRestrictionLocalObservable.mono {β : Type u_1} {d : ℕ} {U V : Set (Vec d)} {X : CoeffField d → β} (hX : IsRestrictionLocalObservable U X) (hUV : U ⊆ V) :
theorem HCPolySupport.IsLocalObservable.mono {β : Type u_1} {d : ℕ} {U V : Set (Vec d)} {X : CoeffField d → β} (hX : IsLocalObservable U X) (hUV : U ⊆ V) :

Compatibility spelling for IsRestrictionLocalObservable.mono.

theorem HCPolySupport.measurable_of_isLocalObservable_restrictionSigma {β : Type u_1} [MeasurableSpace β] {d : ℕ} {U : Set (Vec d)} {X : CoeffField d → β} (hX_meas : Measurable X) (hX_local : IsLocalObservable U X) :

Compatibility spelling for the restriction-local measurability theorem.

theorem HCPolySupport.measurable_of_isRestrictionLocalObservable_restrictionSigma_mono {β : Type u_1} [MeasurableSpace β] {d : ℕ} {U V : Set (Vec d)} {X : CoeffField d → β} (hX_meas : Measurable X) (hX_local : IsRestrictionLocalObservable U X) (hUV : U ⊆ V) :
theorem HCPolySupport.measurable_of_isLocalObservable_restrictionSigma_mono {β : Type u_1} [MeasurableSpace β] {d : ℕ} {U V : Set (Vec d)} {X : CoeffField d → β} (hX_meas : Measurable X) (hX_local : IsLocalObservable U X) (hUV : U ⊆ V) :

Compatibility spelling for the monotone restriction-local measurability theorem.

structure HCPolySupport.MeasurableLocalObservable (d : ℕ) (U : Set (Vec d)) (β : Type u_1) [MeasurableSpace β] :
Type u_1

A coefficient-space observable that is both measurable and pointwise restriction-local on U.

Instances For

    The explicit restriction-local spelling of the bundled locality field.

    def HCPolySupport.MeasurableLocalObservable.mono {β : Type u_1} [MeasurableSpace β] {d : ℕ} {U V : Set (Vec d)} (X : MeasurableLocalObservable d U β) (hUV : U ⊆ V) :

    Regard an observable local to U as local to a containing region V.

    Equations
    • X.mono hUV = { toFun := X.toFun, measurable_toFun := ⋯, isLocal_toFun := ⋯ }
    Instances For
      @[simp]
      theorem HCPolySupport.MeasurableLocalObservable.mono_apply {β : Type u_1} [MeasurableSpace β] {d : ℕ} {U V : Set (Vec d)} (X : MeasurableLocalObservable d U β) (hUV : U ⊆ V) (a : CoeffField d) :
      (X.mono hUV).toFun a = X.toFun a

      The constant observable with value c, local to any region.

      Equations
      Instances For
        def HCPolySupport.MeasurableLocalObservable.comp {β : Type u_1} [MeasurableSpace β] {d : ℕ} {U : Set (Vec d)} {γ : Type u_2} [MeasurableSpace γ] (X : MeasurableLocalObservable d U β) (f : β → γ) (hf : Measurable f) :

        Compose a local observable with a measurable function of its value.

        Equations
        • X.comp f hf = { toFun := f ∘ X.toFun, measurable_toFun := ⋯, isLocal_toFun := ⋯ }
        Instances For

          The pair of two measurable observables local to the same region.

          Equations
          Instances For
            def HCPolySupport.MeasurableLocalObservable.pi {d : ℕ} {U : Set (Vec d)} {ι : Type u_2} {γ : ι → Type u_3} [(i : ι) → MeasurableSpace (γ i)] (X : (i : ι) → MeasurableLocalObservable d U (γ i)) :
            MeasurableLocalObservable d U ((i : ι) → γ i)

            The coordinate family formed from measurable observables local to the same region.

            Equations
            Instances For

              The pointwise negation of a measurable local observable.

              Equations
              Instances For

                The pointwise sum of two measurable local observables.

                Equations
                Instances For

                  The pointwise difference of two measurable local observables.

                  Equations
                  Instances For

                    Multiply a measurable local observable by a fixed scalar.

                    Equations
                    Instances For
                      def HCPolySupport.MeasurableLocalObservable.finsetPi {d : ℕ} {ι : Type u_2} {γ : ι → Type u_3} [(i : ι) → MeasurableSpace (γ i)] (s : Finset ι) {V : ι → Set (Vec d)} (X : (i : ι) → MeasurableLocalObservable d (V i) (γ i)) :
                      MeasurableLocalObservable d (⋃ i ∈ s, V i) ((i : ↥s) → γ ↑i)

                      The finite coordinate family of observables, local to the union of their regions.

                      Equations
                      Instances For
                        theorem HCPolySupport.MeasurableLocalObservable.measurable_subtypeFinsetSum {ι : Type u_2} (s : Finset ι) {γ : Type u_3} [MeasurableSpace γ] [AddCommMonoid γ] [MeasurableAdd₂ γ] :
                        Measurable fun (y : ↥s → γ) => ∑ i : ↥s, y i
                        noncomputable def HCPolySupport.MeasurableLocalObservable.finsetSum {d : ℕ} {ι : Type u_2} {γ : Type u_3} [MeasurableSpace γ] [AddCommMonoid γ] [MeasurableAdd₂ γ] (s : Finset ι) {V : ι → Set (Vec d)} (X : (i : ι) → MeasurableLocalObservable d (V i) γ) :
                        MeasurableLocalObservable d (⋃ i ∈ s, V i) γ

                        The finite sum of observables, local to the union of their regions.

                        Equations
                        Instances For
                          noncomputable def HCPolySupport.MeasurableLocalObservable.finsetAverage {d : ℕ} {ι : Type u_2} {γ : Type u_3} [MeasurableSpace γ] [AddCommMonoid γ] [MeasurableAdd₂ γ] [SMul ℝ γ] [MeasurableConstSMul ℝ γ] (s : Finset ι) {V : ι → Set (Vec d)} (X : (i : ι) → MeasurableLocalObservable d (V i) γ) :
                          MeasurableLocalObservable d (⋃ i ∈ s, V i) γ

                          The finite sum multiplied by inverse cardinality, local to the union of the regions.

                          Equations
                          Instances For
                            theorem HCPolySupport.MeasurableLocalObservable.iIndepFun_of_isRestrictionUnitRangeDependent {d : ℕ} {ι : Type u_2} {γ : ι → Type u_3} [(i : ι) → MeasurableSpace (γ i)] {P : MeasureTheory.Measure (CoeffField d)} [MeasureTheory.IsProbabilityMeasure P] {V : ι → Set (Vec d)} (hP : IsRestrictionUnitRangeDependent P) (hsep : Pairwise fun (i j : ι) => AreUnitSeparated (V i) (V j)) (X : (i : ι) → MeasurableLocalObservable d (V i) (γ i)) :
                            ProbabilityTheory.iIndepFun (fun (i : ι) => (X i).toFun) P
                            theorem HCPolySupport.MeasurableLocalObservable.indepFun_finset_of_isRestrictionUnitRangeDependent {d : ℕ} {ι : Type u_2} {γ : ι → Type u_3} [(i : ι) → MeasurableSpace (γ i)] {P : MeasureTheory.Measure (CoeffField d)} [MeasureTheory.IsProbabilityMeasure P] {V : ι → Set (Vec d)} (hP : IsRestrictionUnitRangeDependent P) (hsep : Pairwise fun (i j : ι) => AreUnitSeparated (V i) (V j)) (X : (i : ι) → MeasurableLocalObservable d (V i) (γ i)) (S T : Finset ι) (hST : Disjoint S T) :
                            ProbabilityTheory.IndepFun (fun (a : CoeffField d) (i : ↥S) => (X ↑i).toFun a) (fun (a : CoeffField d) (i : ↥T) => (X ↑i).toFun a) P
                            @[reducible, inline]

                            Explicit restriction-local spelling for the unchanged raw coefficient-field observable bundle.

                            Equations
                            Instances For

                              The explicit restriction-local spelling of the bundled locality field.

                              @[simp]
                              theorem HCPolySupport.RandomCoeffField.restrictSet_apply {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) (U : Set (Vec d)) (ω : Ω) :
                              theorem HCPolySupport.RandomCoeffField.integral_comp_restrictSet_eq_of_isLocalObservable {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] (μ : MeasureTheory.Measure Ω) {U : Set (Vec d)} {X : CoeffField d → E} (hX_local : IsRestrictionLocalObservable U X) :
                              ∫ (ω : Ω), X ((A.restrictSet U).toFun ω) ∂μ = ∫ (ω : Ω), X (A.toFun ω) ∂μ
                              theorem HCPolySupport.RandomCoeffField.indepFun_comp_of_indep_restrictionSigma {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) {β : Type u_2} {γ : Type u_3} [MeasurableSpace β] [MeasurableSpace γ] {μ : MeasureTheory.Measure Ω} {U V : Set (Vec d)} (hμ : ProbabilityTheory.Indep (A.restrictionSigma U) (A.restrictionSigma V) μ) (X : MeasurableLocalObservable d U β) (Y : MeasurableLocalObservable d V γ) :
                              ProbabilityTheory.IndepFun (fun (ω : Ω) => X.toFun (A.toFun ω)) (fun (ω : Ω) => Y.toFun (A.toFun ω)) μ
                              theorem HCPolySupport.RandomCoeffField.iIndepFun_comp_of_iIndep_restrictionSigma {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) {ι : Type u_2} {β : ι → Type u_3} [(i : ι) → MeasurableSpace (β i)] {μ : MeasureTheory.Measure Ω} {U : ι → Set (Vec d)} (hμ : ProbabilityTheory.iIndep (fun (i : ι) => A.restrictionSigma (U i)) μ) (X : (i : ι) → MeasurableLocalObservable d (U i) (β i)) :
                              ProbabilityTheory.iIndepFun (fun (i : ι) (ω : Ω) => (X i).toFun (A.toFun ω)) μ
                              theorem HCPolySupport.RandomCoeffField.indepFun_comp_finset_of_iIndep_restrictionSigma {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) {ι : Type u_2} {β : ι → Type u_3} [(i : ι) → MeasurableSpace (β i)] {μ : MeasureTheory.Measure Ω} {U : ι → Set (Vec d)} (hμ : ProbabilityTheory.iIndep (fun (i : ι) => A.restrictionSigma (U i)) μ) (X : (i : ι) → MeasurableLocalObservable d (U i) (β i)) (S T : Finset ι) (hST : Disjoint S T) :
                              ProbabilityTheory.IndepFun (fun (ω : Ω) (i : ↥S) => (X ↑i).toFun (A.toFun ω)) (fun (ω : Ω) (i : ↥T) => (X ↑i).toFun (A.toFun ω)) μ
                              theorem HCPolySupport.RandomCoeffField.indepFun_comp_finsetSum_of_iIndep_restrictionSigma {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) {ι : Type u_2} {β : Type u_3} [MeasurableSpace β] [AddCommMonoid β] [MeasurableAdd₂ β] {μ : MeasureTheory.Measure Ω} {U : ι → Set (Vec d)} (hμ : ProbabilityTheory.iIndep (fun (i : ι) => A.restrictionSigma (U i)) μ) (X : (i : ι) → MeasurableLocalObservable d (U i) β) (S T : Finset ι) (hST : Disjoint S T) :
                              theorem HCPolySupport.RandomCoeffField.indepFun_comp_finsetAverage_of_iIndep_restrictionSigma {Ω : Type u_1} [MeasurableSpace Ω] {d : ℕ} (A : RandomCoeffField Ω d) {ι : Type u_2} {β : Type u_3} [MeasurableSpace β] [AddCommMonoid β] [MeasurableAdd₂ β] [SMul ℝ β] [MeasurableConstSMul ℝ β] {μ : MeasureTheory.Measure Ω} {U : ι → Set (Vec d)} (hμ : ProbabilityTheory.iIndep (fun (i : ι) => A.restrictionSigma (U i)) μ) (X : (i : ι) → MeasurableLocalObservable d (U i) β) (S T : Finset ι) (hST : Disjoint S T) :