MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch12.CalibrationScale.Residual

U12 is a labeled settled comparison. Every unreported transformed support remains in L; the benchmark uses that actual load.

noncomputable def MindFormal.CalibrationScale.benchmarkPool {A : Type u_1} [Fintype A] (χ g L : ℝ) :
Equations
Instances For
    noncomputable def MindFormal.CalibrationScale.benchmarkSupport {A : Type u_1} [Fintype A] (χ g L : ℝ) (p : A → ℝ) (i : A) :
    Equations
    Instances For
      noncomputable def MindFormal.CalibrationScale.supportDelta {A : Type u_1} [Fintype A] (χ g L : ℝ) (p Z : A → ℝ) (i : A) :
      Equations
      Instances For
        noncomputable def MindFormal.CalibrationScale.residualNumerator {A : Type u_1} [Fintype A] (χ g L : ℝ) (p Z : A → ℝ) (i : A) :
        Equations
        Instances For
          theorem MindFormal.CalibrationScale.benchmark_pool_identity {A : Type u_1} [Fintype A] (χ g L : ℝ) (p : A → ℝ) (hp : ∑ i : A, p i = 1) (hcap : χ + ↑(Fintype.card A) * g < 1) :
          pool L (benchmarkSupport χ g L p) = benchmarkPool χ g L
          theorem MindFormal.CalibrationScale.pool_delta_identity {A : Type u_1} [Fintype A] (χ g L : ℝ) (p Z : A → ℝ) (hp : ∑ i : A, p i = 1) (hcap : χ + ↑(Fintype.card A) * g < 1) :
          pool L Z = benchmarkPool χ g L + ∑ i : A, supportDelta χ g L p Z i
          theorem MindFormal.CalibrationScale.residual_share {A : Type u_1} [Fintype A] (χ g L : ℝ) (p Z : A → ℝ) (hp : ∑ i : A, p i = 1) (hcap : χ + ↑(Fintype.card A) * g < 1) (hP : pool L Z ≠ 0) (i : A) :
          Z i / pool L Z - g = χ * p i + residualNumerator χ g L p Z i / pool L Z
          theorem MindFormal.CalibrationScale.clipped_residual {A : Type u_1} [Fintype A] (χ g L : ℝ) (p Z : A → ℝ) (hp : ∑ i : A, p i = 1) (hcap : χ + ↑(Fintype.card A) * g < 1) (hP : pool L Z ≠ 0) (i : A) :
          normalizedTarget L g Z i / χ - p i = max (χ * p i + residualNumerator χ g L p Z i / (benchmarkPool χ g L + ∑ j : A, supportDelta χ g L p Z j)) 0 / χ - p i
          theorem MindFormal.CalibrationScale.active_residual {A : Type u_1} [Fintype A] {χ g L : ℝ} (hχ : 0 < χ) (p Z : A → ℝ) (hp : ∑ i : A, p i = 1) (hcap : χ + ↑(Fintype.card A) * g < 1) (hP : pool L Z ≠ 0) (i : A) (ha : 0 < Z i / pool L Z - g) :
          normalizedTarget L g Z i / χ - p i = residualNumerator χ g L p Z i / (χ * pool L Z)
          theorem MindFormal.CalibrationScale.residual_signs {A : Type u_1} [Fintype A] {χ g L : ℝ} (hχ : 0 < χ) (p Z : A → ℝ) (hp : ∑ i : A, p i = 1) (hcap : χ + ↑(Fintype.card A) * g < 1) (hP : 0 < pool L Z) (i : A) (hpi : 0 < p i) :
          (p i < normalizedTarget L g Z i / χ ↔ 0 < residualNumerator χ g L p Z i) ∧ (normalizedTarget L g Z i / χ < p i ↔ residualNumerator χ g L p Z i < 0)
          structure MindFormal.CalibrationScale.SettledConclusions {A : Type u_1} [Fintype A] (χ g L : ℝ) (p Z : A → ℝ) :

          The unique positive-atom benchmark, together with the solved residual on every branch. This statement does not assert acquisition of any support.

          Instances For
            theorem MindFormal.CalibrationScale.settled_conclusions {A : Type u_1} [Fintype A] {χ g L : ℝ} (hχ : 0 < χ) (hg : 0 ≤ g) (hL : 0 < L) (p Z : A → ℝ) (hp : ∑ i : A, p i = 1) (hpos : ∀ (i : A), 0 < p i) (hZ : ∀ (i : A), 0 ≤ Z i) (hcap : χ + ↑(Fintype.card A) * g < 1) :
            theorem MindFormal.CalibrationScale.complete_pool_split {A : Type u_1} {B : Type u_2} [Fintype A] [Fintype B] (σ : ℝ) (Z : A ⊕ B → ℝ) :
            pool σ Z = pool (σ + ∑ b : B, Z (Sum.inr b)) fun (a : A) => Z (Sum.inl a)

            A disjoint enumeration of named and other contents retains the latter's entire transformed load, even if its own reported probability is zero.

            theorem MindFormal.CalibrationScale.zero_probability_cutoff {C : Type u_3} [Fintype C] {χ σ g : ℝ} (hχ : 0 < χ) (Z : C → ℝ) (i : C) :
            normalizedTarget σ g Z i / χ = 0 ↔ Z i / pool σ Z ≤ g
            theorem MindFormal.CalibrationScale.recurrent_input_change {C : Type u_3} [Fintype C] (D R D' R' x x' : C → ℝ) (W W' : C → C → ℝ) (i : C) :
            rawInput D' R' W' x' i - rawInput D R W x i = D' i - D i + (R' i - R i) + ∑ j : C, ((W' i j - W i j) * x j + W i j * (x' j - x j) + (W' i j - W i j) * (x' j - x j))

            Complete recurrent expansion before applying the actual transform.

            theorem MindFormal.CalibrationScale.transformed_pool_change {C : Type u_3} [Fintype C] (σ σ' : ℝ) (ψ : ℝ → ℝ) (D R D' R' x x' : C → ℝ) (W W' : C → C → ℝ) :
            ((pool σ' fun (i : C) => ψ (rawInput D' R' W' x' i)) - pool σ fun (i : C) => ψ (rawInput D R W x i)) = σ' - σ + ∑ i : C, (ψ (rawInput D' R' W' x' i) - ψ (rawInput D R W x i))