def
MindFormal.A640SharedReports.Buffer.done
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
(k : ℕ)
:
Equations
- MindFormal.A640SharedReports.Buffer.done entry deadline h k = (MindFormal.A640SharedReports.Buffer.inWindow entry deadline h k ∨ (↑h k).2 = Sum.inr ())
Instances For
theorem
MindFormal.A640SharedReports.Buffer.exists_done
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
:
noncomputable def
MindFormal.A640SharedReports.Buffer.index
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
:
Equations
- MindFormal.A640SharedReports.Buffer.index entry deadline h = Nat.find ⋯
Instances For
noncomputable def
MindFormal.A640SharedReports.Buffer.copied
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
:
Equations
- MindFormal.A640SharedReports.Buffer.copied entry deadline h = (↑h (MindFormal.A640SharedReports.Buffer.index entry deadline h)).2
Instances For
theorem
MindFormal.A640SharedReports.Buffer.measurable_index
{N : ℕ}
(entry deadline : ℝ)
:
Measurable (index entry deadline)
theorem
MindFormal.A640SharedReports.Buffer.measurable_copied
{N : ℕ}
(entry deadline : ℝ)
:
Measurable (copied entry deadline)
theorem
MindFormal.A640SharedReports.Buffer.copied_actual
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
(hc : copied entry deadline h ≠ Sum.inr ())
:
A nonempty buffered result is literally an earlier source label in its declared send window. There is no answer-correction operation.
theorem
MindFormal.A640SharedReports.Buffer.copied_first
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
(k : ℕ)
(hk : inWindow entry deadline h k)
(he : ∀ j < k, (↑h j).1 < entry ∧ (↑h j).2 ≠ Sum.inr ())
:
The first qualifying source mark is copied when every earlier slot is an actual, nonempty mark before the send window.
theorem
MindFormal.A640SharedReports.Buffer.copied_absent
{C : Type u_1}
(entry deadline : ℝ)
(h : FiniteActionHistory C)
(k : ℕ)
(hk : (↑h k).2 = Sum.inr ())
(he : ∀ j < k, (↑h j).1 < entry ∧ (↑h j).2 ≠ Sum.inr ())
:
A completed absence stays absence if every earlier actual mark lies strictly before the send window.