A nonnegative bounded measurable weight reads only the declared record.
- value : R → NNReal
- measurable : Measurable self.value
- bound : NNReal
Instances For
@[instance_reducible]
instance
MindFormal.CompanionSocial.instCoeFunRecordWeightForallNNReal
{R : Type u_1}
[MeasurableSpace R]
:
CoeFun (RecordWeight R) fun (x : RecordWeight R) => R → NNReal
noncomputable def
MindFormal.CompanionSocial.selectionMass
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
(w : RecordWeight R)
:
Instances For
noncomputable def
MindFormal.CompanionSocial.selected
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
(w : RecordWeight R)
:
Equations
- MindFormal.CompanionSocial.selected μ w = (MindFormal.CompanionSocial.selectionMass μ w)⁻¹ • μ.withDensity fun (x : R) => ↑(w.value x)
Instances For
theorem
MindFormal.CompanionSocial.selectionMass_finite
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
[MeasureTheory.IsProbabilityMeasure μ]
(w : RecordWeight R)
:
theorem
MindFormal.CompanionSocial.selected_probability
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
[MeasureTheory.IsProbabilityMeasure μ]
(w : RecordWeight R)
(positive : selectionMass μ w ≠ 0)
:
theorem
MindFormal.CompanionSocial.selected_equal
{R : Type u_1}
[MeasurableSpace R]
(μ ν : MeasureTheory.Measure R)
(equal : μ = ν)
(w : RecordWeight R)
:
noncomputable def
MindFormal.CompanionSocial.iteratedSelection
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
(weights : List (RecordWeight R))
:
Equations
- MindFormal.CompanionSocial.iteratedSelection μ weights = List.foldl MindFormal.CompanionSocial.selected μ weights
Instances For
theorem
MindFormal.CompanionSocial.iteratedSelection_equal
{R : Type u_1}
[MeasurableSpace R]
(μ ν : MeasureTheory.Measure R)
(equal : μ = ν)
(weights : List (RecordWeight R))
:
def
MindFormal.CompanionSocial.ValidSelection
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
:
List (RecordWeight R) → Prop
Every selection step must have positive normalizing mass.
Equations
- One or more equations did not get rendered due to their size.
- MindFormal.CompanionSocial.ValidSelection μ [] = True
Instances For
theorem
MindFormal.CompanionSocial.iteratedSelection_probability
{R : Type u_1}
[MeasurableSpace R]
(μ : MeasureTheory.Measure R)
[MeasureTheory.IsProbabilityMeasure μ]
(ws : List (RecordWeight R))
(valid : ValidSelection μ ws)
: