def
MindFormal.MarketReplay.IsEncounterMemory
{A Price M : Type}
{N : A → ℕ}
{deadline minimum : NNReal}
(m : ValidMemory M A N Price deadline minimum)
:
A fresh encounter-chain state has just begun its offered or idle phase.
Equations
- MindFormal.MarketReplay.IsEncounterMemory m = ((↑m).2.2 = MindFormal.MarketReplay.fresh (↑m).2.2.1)
Instances For
theorem
MindFormal.MarketReplay.isEncounterMemory_iff
{A Price M : Type}
{N : A → ℕ}
{deadline minimum : NNReal}
(m : ValidMemory M A N Price deadline minimum)
:
Freshness is an ordinary age and finite-label condition.
theorem
MindFormal.MarketReplay.isEncounterMemory_measurable
{A Price M : Type}
{N : A → ℕ}
[MeasurableSpace A]
[MeasurableSpace Price]
[MeasurableSpace M]
[Finite A]
(deadline minimum : NNReal)
:
MeasurableSet {m : ValidMemory M A N Price deadline minimum | IsEncounterMemory m}
The fresh encounter-chain memories form a measurable set.
One finite menu lists every ordered pair. Valid market plans select only distinct parties; unused list entries impose no restriction.
Equations
- MindFormal.MarketReplay.pairLists A = List.ofFn fun (k : Fin (Fintype.card (A × A))) => [((Fintype.equivFin (A × A)).symm k).1, ((Fintype.equivFin (A × A)).symm k).2]
Instances For
noncomputable def
MindFormal.MarketReplay.marketMenu
{A Price M : Type}
{S : Type u_1}
{N : A → ℕ}
[Fintype A]
[MeasurableSpace A]
[MeasurableSingletonClass A]
[Fintype Price]
[MeasurableSpace Price]
[MeasurableSingletonClass Price]
[MeasurableSpace M]
[MeasurableSpace S]
(deadline minimum : NNReal)
(hm : 0 < minimum)
(memory : S → ValidMemory M A N Price deadline minimum)
(hmem : Measurable memory)
:
CompletionMenu S A ↑deadline
The completion menu reads the outstanding pair or idle interval from memory. Its bounds are the primitive valid-plan bounds.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.MarketReplay.firstCompletion_partyEnd
{A : Type}
{N : A → ℕ}
[Fintype A]
[Nonempty A]
{n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
{Source : Type u_4}
[MeasurableSpace Source]
(deadline : NNReal)
{Memory : Type u_5}
[MeasurableSpace Memory]
(P : CurrentSegmentProgram A (↑deadline) N n T Λ Memory Source)
(p : P.State × Source)
(a : A)
:
The existing capped native first-act read equals a fresh party's end.
theorem
MindFormal.MarketReplay.stepDuration_phaseEnd
{A Price M : Type}
{N : A → ℕ}
[Fintype A]
[MeasurableSpace A]
[MeasurableSingletonClass A]
[Fintype Price]
[MeasurableSpace Price]
[MeasurableSingletonClass Price]
[MeasurableSpace M]
[Nonempty A]
{n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
{Source : Type u_4}
[MeasurableSpace Source]
(deadline minimum : NNReal)
(hm : 0 < minimum)
(P : CurrentSegmentProgram A (↑deadline) N n T Λ (ValidMemory M A N Price deadline minimum) Source)
(p : P.State × Source)
(hf : IsEncounterMemory p.1.2)
:
From a fresh state the existing menu step ends exactly at the market phase end on its computed native V records.