MindFormal v1.0.0One Mind

MindFormal.Run.A640Standards.FiniteQuotient

structure MindFormal.A640Standards.NativeRows.SolvedQuotient {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace I] [MeasurableSpace R] (κ : ProbabilityTheory.Kernel X Y) :
Type (max (max (max u_1 u_2) u_3) u_4)

The equality is the printed sufficient-quotient hold on the joint next cell and every retained encounter mark. It is stronger than matching a transition marginal or binning an unresolved first-passage problem.

Instances For
    Equations
    Instances For
      noncomputable def MindFormal.A640Standards.NativeRows.SolvedQuotient.row {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace I] [MeasurableSpace R] {κ : ProbabilityTheory.Kernel X Y} (q : SolvedQuotient κ) (ok : R → Bool) (i : I) :
      Equations
      Instances For
        noncomputable def MindFormal.A640Standards.NativeRows.SolvedQuotient.invariant {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [MeasurableSpace R] {κ : ProbabilityTheory.Kernel X Y} (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) :
        PMF I
        Equations
        Instances For
          theorem MindFormal.A640Standards.NativeRows.SolvedQuotient.invariant_real {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [MeasurableSpace R] {κ : ProbabilityTheory.Kernel X Y} (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) (i : I) :
          noncomputable def MindFormal.A640Standards.NativeRows.SolvedQuotient.entering {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [MeasurableSpace R] {κ : ProbabilityTheory.Kernel X Y} (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) :

          A representative lift is constructed internally. Its cell law is the unique stationary finite row, so the sufficient joint kernel gives exactly the same next-cell and queried-mark law for every representative choice.

          Equations
          Instances For
            instance MindFormal.A640Standards.NativeRows.SolvedQuotient.entering_probability {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [MeasurableSpace R] {κ : ProbabilityTheory.Kernel X Y} (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) :
            theorem MindFormal.A640Standards.NativeRows.SolvedQuotient.integral_row {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [MeasurableSpace R] [MeasurableSingletonClass R] {κ : ProbabilityTheory.Kernel X Y} [ProbabilityTheory.IsMarkovKernel κ] (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) [Finite R] (ok : R → Bool) :
            ∫ (x : X), NativeRows.row κ q.read ok x ∂q.entering v hv simple = ∑ i : I, QuotientMatrix.stationary q.matrix v i * q.row ok i
            theorem MindFormal.A640Standards.NativeRows.SolvedQuotient.integral_row_of_cell_law {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [MeasurableSpace R] [MeasurableSingletonClass R] {κ : ProbabilityTheory.Kernel X Y} (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) [Finite R] (π : MeasureTheory.Measure X) (cellLaw : ProbabilityTheory.HasLaw q.cell (q.invariant v hv simple).toMeasure π) (ok : R → Bool) :
            ∫ (x : X), NativeRows.row κ q.read ok x ∂π = ∑ i : I, QuotientMatrix.stationary q.matrix v i * q.row ok i

            Sufficiency applies to every actual entering law with this cell distribution. A representative lift does not claim stationarity on X.

            theorem MindFormal.A640Standards.NativeRows.SolvedQuotient.price {X : Type u_1} {Y : Type u_2} {I : Type u_3} {R : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [Fintype I] [Nonempty I] [MeasurableSpace I] [MeasurableSingletonClass I] [Fintype R] [MeasurableSpace R] [MeasurableSingletonClass R] {κ : ProbabilityTheory.Kernel X Y} [ProbabilityTheory.IsMarkovKernel κ] (q : SolvedQuotient κ) (v : I → ℝ) (hv : ∑ i : I, v i = 1) (simple : ∀ (z : I → ℝ), q.matrix.mulVec z = z → ∃ (c : ℝ), z = fun (x : I) => c) (ok : R → Bool) {C : Type u_5} [DecidableEq C] (act : R → C) (c : C) :
            (law κ (q.entering v hv simple) q.read ⋯).price ok act c = (∑ i : I, QuotientMatrix.stationary q.matrix v i * q.row (fun (r : R) => ok r && decide (act r = c)) i) / ∑ i : I, QuotientMatrix.stationary q.matrix v i * q.row ok i