MindFormal v1.0.0One Mind

MindFormal.Run.EncounterKernel

The conditional marked encounter, common to transactions, market ledgers, games and messages. The entering record is declared explicitly; there is no claim that the physical state alone is Markov.

noncomputable def MindFormal.encounterKernel {Ω : Type u_1} {X : Type u_2} {Y : Type u_3} [MeasurableSpace Ω] [MeasurableSpace X] [MeasurableSpace Y] [StandardBorelSpace Y] [Nonempty Y] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure μ] (enter : Ω → X) (record : Ω → Y) :

The whole output record is conditioned together. Prices, refusals, deadlines, reports, deliveries, terminal states and clocks can all remain coordinates, with their dependence retained.

Equations
Instances For
    theorem MindFormal.encounter_conditional_read {Ω : Type u_1} {X : Type u_2} {Y : Type u_3} [MeasurableSpace Ω] [MeasurableSpace X] [MeasurableSpace Y] [StandardBorelSpace Y] [Nonempty Y] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (enter : Ω → X) (record : Ω → Y) (he : Measurable enter) (hr : Measurable record) (f : Y → ℝ) (hf : MeasureTheory.StronglyMeasurable f) (hi : MeasureTheory.Integrable (fun (ω : Ω) => f (record ω)) μ) :
    μ[fun (ω : Ω) => f (record ω) | MeasurableSpace.comap enter inferInstance] =ᵐ[μ] fun (ω : Ω) => ∫ (r : Y), f r ∂(encounterKernel μ enter record) (enter ω)

    TX1.1, MC1.1: the constructed regular conditional distribution gives the exact conditional accounting identity for every integrable record read. Measurability of the entering and complete output record is named. A Markov property at a random encounter is an additional claim, not inferred here.

    structure MindFormal.MarkedMass (R : Type u_1) [Fintype R] :
    Type u_1

    A finite projection of the actual joint marked encounter. The weights may already integrate an entering invariant law, with refusals retained.

    • mass : R → ℝ
    • nonnegative (r : R) : 0 ≤ self.mass r
    • total : ∑ r : R, self.mass r = 1
    Instances For

      Push the probability space through the actual finite mark. All correlations and every default mark survive this construction.

      Equations
      Instances For
        def MindFormal.MarkedMass.accepted {R : Type u_1} [Fintype R] (M : MarkedMass R) (ok : R → Bool) :
        Equations
        Instances For
          noncomputable def MindFormal.MarkedMass.price {R : Type u_1} {P : Type u_2} [Fintype R] [DecidableEq P] (M : MarkedMass R) (ok : R → Bool) (read : R → P) (p : P) :
          Equations
          Instances For
            theorem MindFormal.MarkedMass.accepted_price_normalized {R : Type u_1} {P : Type u_2} [Fintype R] [Fintype P] [DecidableEq P] (M : MarkedMass R) (ok : R → Bool) (read : R → P) (hp : 0 < M.accepted ok) :
            (∀ (p : P), 0 ≤ M.price ok read p) ∧ ∑ p : P, M.price ok read p = 1

            PM1.4: conditioning the complete joint law on actual acceptance gives a normalized price distribution. No independent-acceptance or independent- quote factorization is used; positive accepted mass is indispensable.

            noncomputable def MindFormal.MarkedMass.timeRead {R : Type u_1} [Fintype R] (M : MarkedMass R) (duration reward : R → ℝ) :

            OM1.1: time sampling weights marked encounters by their full duration. The positive mean duration is a named occupation hypothesis; existence or convergence to a stationary encounter distribution is not asserted.

            Equations
            Instances For
              theorem MindFormal.MarkedMass.equal_duration_corner {R : Type u_1} [Fintype R] (M : MarkedMass R) (f : R → ℝ) {h : ℝ} (hh : h ≠ 0) :
              (M.timeRead (fun (x : R) => h) fun (r : R) => h * f r) = ∑ r : R, M.mass r * f r

              Equal encounter durations cancel from an encounter-normalized read.