def
MindFormal.Judgment.numberOrDeferred
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(S : NativeSchedule guard score H pause)
(numbers : Set (Fin N))
(after : ℝ)
(k : ℕ)
:
The first numerical event or the first deferred search is a defined functional of the existing native schedule. Earlier nonnumerical actions retain their own times, pauses and returned inputs.
Equations
Instances For
noncomputable def
MindFormal.Judgment.firstNumberIndex
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(S : NativeSchedule guard score H pause)
(numbers : Set (Fin N))
(after : ℝ)
:
Equations
- MindFormal.Judgment.firstNumberIndex S numbers after = Nat.find ⋯
Instances For
noncomputable def
MindFormal.Judgment.numberCut
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(S : NativeSchedule guard score H pause)
(numbers : Set (Fin N))
(after : ℝ)
:
Equations
- MindFormal.Judgment.numberCut S numbers after = (S.search (MindFormal.Judgment.firstNumberIndex S numbers after)).event.elim H Prod.fst
Instances For
theorem
MindFormal.Judgment.firstNumber_prior
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(S : NativeSchedule guard score H pause)
(numbers : Set (Fin N))
(after : ℝ)
{k : ℕ}
(hk : k < firstNumberIndex S numbers after)
:
theorem
MindFormal.Judgment.first_number_of_pending_scores
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(S : NativeSchedule guard score H pause)
(numbers : Set (Fin N))
(after : ℝ)
(w : Fin N)
(bar : ℝ)
(hH : 0 ≤ H)
(hw : w ∈ numbers)
(output : Fin N → Bool)
(houtput : ∀ j ∈ numbers, output j = true)
(hguard : ∀ (t : ℝ) (j : Fin N), guard t j = if output j = true then score t j - bar else -1)
(reference error : ℝ → Fin N → ℝ)
(bounds : ∀ t ∈ Set.Icc 0 (numberCut S numbers after), ∀ (j : Fin N), |score t j - reference t j| ≤ error t j)
(release : S.release (firstNumberIndex S numbers after) ≤ H)
(qualifies : bar < reference H w - error H w)
(rivals : ∀ t ∈ Set.Icc after H, ∀ j ∈ numbers, j ≠ w → reference t j + error t j < bar)
:
AN9 at the actual first numerical search. A pending reference stops at its hit, or at H if no numerical event occurs. Qualification at H is only used in the latter case; the reference is never propagated past an answer.
theorem
MindFormal.Judgment.firstNumber_record_measurable
{N : ℕ}
{Ω : Type u_1}
[MeasurableSpace Ω]
{n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
(E : StateExperiment Ω N n T Λ J)
(H : NNReal)
(numbers : Set (Fin N))
(after : ℝ)
:
Measurable fun (ω : Ω) =>
E.supportRecord H false (firstNumberIndex ((E.supportHistory ω).native (↑H) false) numbers after) ω
Selecting the first numerical slot is measurable on the original native record. Neither a new observation process nor a supplied selection law is used.