MindFormal v1.0.0One Mind

MindFormal.Chapters.CountableScopeRepair.NativeStatistics

noncomputable def MindFormal.CountableScopeRepair.nativeResidual {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Countable J] (E : NativeHistory Ω N n T Λ J) (R : NNReal) (fav riv : Fin N) (slot : Ω → ℕ) (ell : Fin N → ℝ) (ω : Ω) :

The source's observed binary residual, read from the original records.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.CountableScopeRepair.native_residual_measurable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Countable J] (E : NativeHistory Ω N n T Λ J) (R : NNReal) (fav riv : Fin N) (slot : Ω → ℕ) (hs : Measurable slot) (ell : Fin N → ℝ) :
    Measurable (nativeResidual E R fav riv slot ell)
    theorem MindFormal.CountableScopeRepair.native_residual_range {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Countable J] (E : NativeHistory Ω N n T Λ J) (R : NNReal) (fav riv : Fin N) (slot : Ω → ℕ) (ell : Fin N → ℝ) (band : Set (Fin N)) (range : ∀ k ∈ band, ell k ∈ Set.Icc (1 / 2) 1) (delay : ℝ) {ω : Ω} (hω : ω ∈ feeCompleted E R (fun (x : Ω) => fav) (fun (x : Ω) => riv) (fun (x : Ω) => 0) slot band delay) :
    nativeResidual E R fav riv slot ell ω ∈ Set.Icc (-1 / 2) 1

    Completion, including the declared rating band, proves the half-range bound needed by conditional Hoeffding.

    theorem MindFormal.CountableScopeRepair.native_residual_mean {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Countable J] (E : NativeHistory Ω N n T Λ J) (R : NNReal) (fav riv : Fin N) (slot : Ω → ℕ) (hs : Measurable slot) (ell : Fin N → ℝ) (D : Set Ω) :
    ∫ (ω : Ω), nativeResidual E R fav riv slot ell ω ∂E.ground.μ[|D] = (∫ (ω : Ω) in D, feeRating E R slot ell ω ∂E.ground.μ) / E.ground.μ.real D - E.ground.μ.real (D ∩ {ω : Ω | (feeAnswerRecord E R (fun (x : Ω) => fav) (fun (x : Ω) => riv) (fun (x : Ω) => 0) ω).2 = Sum.inl fav}) / E.ground.μ.real D

    The native completion law has exactly the OC1.16 gap as its residual mean.

    theorem MindFormal.CountableScopeRepair.native_key_exchange {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Countable J] (E : NativeHistory Ω N n T Λ J) (R : NNReal) (fav riv : Fin N) (hne : fav ≠ riv) (slot : Ω → ℕ) (hs : Measurable slot) (ell : Fin N → ℝ) (band : Set (Fin N)) (delay : ℝ) (I : Set ℝ) (hI : MeasurableSet I) (positive : 0 < E.ground.μ.real (feeCompleted E R (fun (x : Ω) => fav) (fun (x : Ω) => riv) (fun (x : Ω) => 0) slot band delay ∩ feeRating E R slot ell ⁻¹' I)) :
    have D := feeCompleted E R (fun (x : Ω) => fav) (fun (x : Ω) => riv) (fun (x : Ω) => 0) slot band delay ∩ feeRating E R slot ell ⁻¹' I; have C := fun (k : Fin N) => {ω : Ω | (feeAnswerRecord E R (fun (x : Ω) => fav) (fun (x : Ω) => riv) (fun (x : Ω) => 0) ω).2 = Sum.inl k}; E.ground.μ.real (D ∩ C fav) / E.ground.μ.real D + E.ground.μ.real (D ∩ C riv) / E.ground.μ.real D = 1

    Changing only the external correct key preserves every native lead and report; the two completed correct-first probabilities add to one.