theorem
MindFormal.Concepts.GradedOddness.calibrated_native_ratings
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
{A : Type u_5}
[Finite A]
(E : A → StateExperiment Ω N n T Λ J)
(H : A → NNReal)
(hH : ∀ (a : A), H a ≤ (E a).horizon)
(refData : A → MindDriftData (Fin N) n T Λ)
(R : (a : A) → Ω → LearningReference (refData a) (H a))
(stream : A → Set Ω)
(allowance loading : A → CoordinateIndex (Fin N) n T Λ → ℝ)
(mismatch : A → Ω → ℝ → ℝ)
(failure e0 L delta clearance : A → ℝ)
(ha : ∀ (a : A) (c : CoordinateIndex (Fin N) n T Λ), 0 < allowance a c)
(hm : ∀ (a : A), MeasurableSet (stream a))
(hmass : ∀ (a : A), 1 - failure a ≤ (E a).ground.μ.real (stream a))
(hstart : ∀ (a : A), ∀ ω ∈ stream a, ‖↑((E a).start.state ω) - ↑(R a ω).start‖ ≤ e0 a)
(he0 : ∀ (a : A), 0 ≤ e0 a)
(hL : ∀ (a : A), 0 ≤ L a)
(hd : ∀ (a : A), 0 ≤ delta a)
(hi_ : ∀ (a : A), ∀ ω ∈ stream a, IntervalIntegrable (mismatch a ω) MeasureTheory.volume 0 ↑(H a))
(hb :
∀ (a : A),
∀ ω ∈ stream a,
∀ (t : ↑(HorizonTime ↑(H a))),
Logic.Reasoning.pendingAt (E a) (H a) 0 ω ↑t → ∫ (s : ℝ) in 0..↑t, mismatch a ω s ≤ delta a)
(drift :
∀ (a : A),
∀ ω ∈ stream a,
∀ (t : ↑(HorizonTime ↑(H a))),
Logic.Reasoning.pendingAt (E a) (H a) 0 ω ↑t →
∀ (s : MindState (Fin N) n T Λ),
PhysicalMindState s →
‖s - (R a ω).path t‖ ≤ clearance a →
‖assembledDrift (E a).mind.drift (((E a).supportHistory ω).input ↑t) (((E a).supportHistory ω).pulse ↑t)
s - learningForcing (refData a) ⋯ (R a ω).input (R a ω).mode (R a ω).path ↑t‖ ≤ L a * ‖s - (R a ω).path t‖ + mismatch a ω ↑t)
(amplitude :
∀ (a : A),
∀ ω ∈ stream a,
∀ (t : ↑(HorizonTime ↑(H a))),
Logic.Reasoning.pendingAt (E a) (H a) 0 ω ↑t →
∀ (s : MindState (Fin N) n T Λ),
PhysicalMindState s →
‖s - (R a ω).path t‖ ≤ clearance a →
∀ (c : CoordinateIndex (Fin N) n T Λ),
∑ j : J,
(E a).mind.amplitude (s, ((E a).supportHistory ω).input ↑t, ((E a).supportHistory ω).pulse ↑t) c
j ^ 2 ≤ loading a c ^ 2)
(hroom : ∀ (a : A), 2 * (e0 a + ‖allowance a‖ + delta a) * Real.exp (2 * L a * ↑(H a)) < clearance a)
(modulus : A → Fin N → ℝ)
(hmod : ∀ (a : A) (j : Fin N), 0 ≤ modulus a j)
(reads :
∀ (a : A),
∀ ω ∈ stream a,
∀ (t : ↑(HorizonTime ↑(H a))),
Logic.Reasoning.pendingAt (E a) (H a) 0 ω ↑t →
∀ (s : MindState (Fin N) n T Λ) (hs : PhysicalMindState s),
‖s - (R a ω).path t‖ ≤ clearance a →
∀ (j : Fin N),
|((E a).mind.reads.guards false) ⟨s, hs⟩ j - ((E a).mind.reads.guards false) ⟨(R a ω).path t, ⋯⟩ j| ≤ modulus a j * ‖s - (R a ω).path t‖)
(lo hi : A → ℝ)
(w : A → Fin N)
(hlo : ∀ (a : A), 0 ≤ lo a)
(hlh : ∀ (a : A), lo a ≤ hi a)
(hhi : ∀ (a : A), hi a ≤ ↑(H a))
(before :
∀ (a : A),
∀ ω ∈ stream a,
∀ t ∈ Set.Ico 0 (lo a),
∀ (j : Fin N),
((E a).mind.reads.guards false) ((R a ω).realPath t) j + modulus a j * (2 * (e0 a + ‖allowance a‖ + delta a) * Real.exp (2 * L a * ↑(H a))) < 0)
(ready :
∀ (a : A),
∀ ω ∈ stream a,
modulus a (w a) * (2 * (e0 a + ‖allowance a‖ + delta a) * Real.exp (2 * L a * ↑(H a))) ≤ ((E a).mind.reads.guards false) ((R a ω).realPath (hi a)) (w a))
(wrong :
∀ (a : A),
∀ ω ∈ stream a,
∀ t ∈ Set.Icc 0 (hi a),
∀ (j : Fin N),
j ≠ w a →
((E a).mind.reads.guards false) ((R a ω).realPath t) j + modulus a j * (2 * (e0 a + ‖allowance a‖ + delta a) * Real.exp (2 * L a * ↑(H a))) < 0)
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(same : ∀ (a : A), (E a).ground.μ = μ)
(code : Fin N ⊕ Unit → ℝ)
(range : ∀ (o : Fin N ⊕ Unit), code o ∈ Set.Icc 1 7)
(anchors : Fin 7 → ℝ)
(ordered : StrictMono anchors)
(K wr : ℝ)
(hwr : 0 < wr)
(z : A → ℝ)
(bin : A → Fin 7)
(best :
∀ (a : A) (j : Fin 7),
K + wr * (2 * anchors j * z a - anchors j ^ 2) ≤ K + wr * (2 * anchors (bin a) * z a - anchors (bin a) ^ 2))
(coded : ∀ (a : A), code (Sum.inl (w a)) = ↑↑(bin a) + 1)
(a b : A)
(k next : Fin 7)
:
↑next = ↑k + 1 →
z a < (anchors k + anchors next) / 2 →
(anchors k + anchors next) / 2 < z b →
6 * (min 1
(failure a + ∑ c : CoordinateIndex (Fin N) n T Λ with loading a c ≠ 0,
2 * Real.exp (-(allowance a c ^ 2 / (2 * loading a c ^ 2 * ↑(H a))))) + min 1
(failure b + ∑ c : CoordinateIndex (Fin N) n T Λ with loading b c ≠ 0,
2 * Real.exp (-(allowance b c ^ 2 / (2 * loading b c ^ 2 * ↑(H b)))))) < ↑↑(bin b) - ↑↑(bin a) →
bin a < bin b ∧ ∫ (ω : Ω), ratingRead (E a) (H a) code ω ∂μ < ∫ (ω : Ω), ratingRead (E b) (H b) code ω ∂μ
A common learned seven-bin scale plus complete moving native margins. The maximizers are of the prepared raw receiver inputs; actual acts and means are derived from the original experiments. One bin pays at most six points times the two complete failure allowances.