def
MindFormal.StateExperiment.pendingPhaseRecord
{Ω : Type u_1}
[MeasurableSpace Ω]
{N 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)
{dr : MindDriftData (Fin N) n T Λ}
(R : (k : ℕ) → Ω → LearningReference dr (H k))
(lo hi : (k : ℕ) → ↑(HorizonTime ↑(H k)))
(e : ℕ → ℝ)
(policy : Ω → (k : ℕ) → (Fin k → ActionSlot (Fin N)) → Set (Fin N))
(k : ℕ)
(ω : Ω)
:
A predicate of the existing native record and full state, not another record or a supplied certificate. The policy can inspect only earlier slots.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.StateExperiment.pending_record_entry
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
(E : StateExperiment Ω N n T Λ J)
(M : ℕ)
(stream : Set Ω)
(H : ℕ → NNReal)
{dr : MindDriftData (Fin N) n T Λ}
(R : (k : ℕ) → Ω → LearningReference dr (H k))
(lo hi : (k : ℕ) → ↑(HorizonTime ↑(H k)))
(e : ℕ → ℝ)
(policy : Ω → (k : ℕ) → (Fin k → ActionSlot (Fin N)) → Set (Fin N))
(K : ℕ → Ω → Set (PhysicalState N n T Λ))
(hzero : ∀ ω ∈ stream, E.start.state ω ∈ K 0 ω)
(hcarry :
∀ (k : ℕ),
k + 1 < M →
∀ ω ∈ stream,
∀ t ∈ Set.Icc (lo k) (hi k), ∀ (z : PhysicalState N n T Λ), ‖↑z - (R k ω).path t‖ ≤ e k → z ∈ K (k + 1) ω)
(k : ℕ)
(hk : k < M)
(ω : Ω)
(hω : ω ∈ stream ∧ ∀ j < k, E.pendingPhaseRecord H R lo hi e policy j ω)
:
DescribedChoice.queryCut E k ω = ↑(DescribedChoice.queryCutValue E k ω) ∧ (E.supportHistory ω).realPath ↑(DescribedChoice.queryCutValue E k ω) ∈ K k ω ∧ DescribedChoice.queryCutValue E k ω ≤ ∑ j ∈ Finset.range k, H j ∧ ((E.supportHistory ω).native (↑E.horizon) false).release k = ↑(DescribedChoice.queryCutValue E k ω) + DescribedChoice.queryPause E k
The entering enclosure and release follow from the immediately preceding attained record, with the complete physical state retained.
theorem
MindFormal.StateExperiment.pending_policy
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
(E : StateExperiment Ω N n T Λ J)
(M : ℕ)
(stream : Set Ω)
(hstream : MeasurableSet stream)
(H range : ℕ → NNReal)
(hH : ∀ k < M, 0 < H k)
(hrange : ∀ k < M, 0 < range k)
{dr : MindDriftData (Fin N) n T Λ}
(R : (k : ℕ) → Ω → LearningReference dr (H k))
(lo hi : (k : ℕ) → ↑(HorizonTime ↑(H k)))
(policy : Ω → (k : ℕ) → (Fin k → ActionSlot (Fin N)) → Set (Fin N))
(a : ℕ → Ω → Fin N)
(K : ℕ → Ω → Set (PhysicalState N n T Λ))
(d0 b L Δ room Lg Lf : ℕ → ℝ)
(hd0 : ∀ k < M, 0 ≤ d0 k)
(hb : ∀ k < M, 0 < b k)
(hL : ∀ k < M, 0 ≤ L k)
(hΔ : ∀ k < M, 0 ≤ Δ k)
(hLg : ∀ k < M, 0 ≤ Lg k)
(hLf : ∀ k < M, 0 ≤ Lf k)
(hroom : ∀ k < M, 2 * (d0 k + b k + Δ k) * Real.exp (2 * L k * ↑(H k)) < room k)
(hcalendar : ∀ k < M, ∑ j ∈ Finset.range k, H j + H k ≤ E.horizon)
(hlo : ∀ k < M, DescribedChoice.queryPause E k ≤ ↑(lo k))
(hlh : ∀ k < M, lo k ≤ hi k)
(hzero : ∀ ω ∈ stream, E.start.state ω ∈ K 0 ω)
(henter : ∀ k < M, ∀ ω ∈ stream, ∀ z ∈ K k ω, ‖↑z - ↑(R k ω).start‖ ≤ d0 k)
(hcarry :
∀ (k : ℕ),
k + 1 < M →
∀ ω ∈ stream,
∀ t ∈ Set.Icc (lo k) (hi k),
∀ (z : PhysicalState N n T Λ),
‖↑z - (R k ω).path t‖ ≤ 2 * (d0 k + b k + Δ k) * Real.exp (2 * L k * ↑(H k)) → z ∈ K (k + 1) ω)
(m : ℕ → Ω → ℝ → ℝ)
(G : ℕ → CoordinateIndex (Fin N) n T Λ → ℝ)
:
have e := fun (k : ℕ) => 2 * (d0 k + b k + Δ k) * Real.exp (2 * L k * ↑(H k));
have done := E.pendingPhaseRecord H R lo hi e policy;
have entered := fun (k : ℕ) => stream ∩ {ω : Ω | ∀ j < k, done j ω};
(∀ k < M, ∀ ω ∈ entered k, IntervalIntegrable (m k ω) MeasureTheory.volume 0 ↑(H k)) →
(∀ k < M,
∀ ω ∈ entered k,
∀ (t : ↑(HorizonTime ↑(H k))),
↑(↑(DescribedChoice.queryCutValue E k ω) + ↑t).toNNReal ≤ E.nativePrompt k 0 ω →
∫ (s : ℝ) in 0..↑t, m k ω s ≤ Δ k) →
(∀ k < M,
∀ ω ∈ entered k,
∀ s ∈ Set.Ioc 0 E.horizon,
DescribedChoice.queryCut E k ω < ↑s →
↑s ≤ DescribedChoice.queryCut E k ω + ↑(H k) →
↑s ≤ E.nativePrompt k 0 ω →
∀ (x : PhysicalState N n T Λ),
‖↑x - ↑((E.supportHistory ω).path (DescribedChoice.queryCutValue E k ω))‖ ≤ ↑(range k) →
∀ (i : CoordinateIndex (Fin N) n T Λ),
∑ j : J,
E.mind.amplitude (↑x, (E.supportHistory ω).input ↑s, (E.supportHistory ω).pulse ↑s) i j ^ 2 ≤ G k i ^ 2) →
(∀ k < M,
∀ ω ∈ entered k,
∀ (t : ↑(HorizonTime ↑(H k))),
↑(↑(DescribedChoice.queryCutValue E k ω) + ↑t).toNNReal ≤ E.nativePrompt k 0 ω →
∀ (z : MindState (Fin N) n T Λ),
PhysicalMindState z →
‖z - (R k ω).path t‖ ≤ room k →
‖assembledDrift (E.supportHistory ω).data
((E.supportHistory ω).input (↑(DescribedChoice.queryCutValue E k ω) + ↑t))
((E.supportHistory ω).pulse (↑(DescribedChoice.queryCutValue E k ω) + ↑t)) z - learningForcing dr ⋯ (R k ω).input (R k ω).mode (R k ω).path ↑t‖ ≤ L k * ‖z - (R k ω).path t‖ + m k ω ↑t) →
(∀ k < M,
∀ ω ∈ entered k,
∀ (t : ↑(HorizonTime ↑(H k))),
↑(↑(DescribedChoice.queryCutValue E k ω) + ↑t).toNNReal ≤ E.nativePrompt k 0 ω →
room k + ‖(R k ω).path t - ↑(R k ω).start‖ + d0 k < ↑(range k)) →
(∀ k < M,
∀ ω ∈ entered k,
∀ (t : ↑(HorizonTime ↑(H k))) (z : PhysicalState N n T Λ),
‖↑z - (R k ω).path t‖ ≤ room k →
∀ (i : Fin N),
|((E.supportHistory ω).reads.guards false) z i - ((E.supportHistory ω).reads.guards false) ((R k ω).realPath ↑t) i| ≤ Lg k * ‖↑z - (R k ω).path t‖) →
(∀ k < M,
∀ ω ∈ entered k,
∀ (t : ↑(HorizonTime ↑(H k))) (z : PhysicalState N n T Λ),
‖↑z - (R k ω).path t‖ ≤ room k →
∀ (i : Fin N),
|((E.supportHistory ω).reads.scores false) z i - ((E.supportHistory ω).reads.scores false) ((R k ω).realPath ↑t) i| ≤ Lf k * ‖↑z - (R k ω).path t‖) →
(∀ k < M,
∀ ω ∈ entered k,
∀ (t : ↑(HorizonTime ↑(H k))),
DescribedChoice.queryPause E k ≤ ↑t →
t < lo k →
∀ (i : Fin N),
((E.supportHistory ω).reads.guards false) ((R k ω).realPath ↑t) i < -(Lg k * e k)) →
(∀ k < M,
∀ ω ∈ entered k,
Lg k * e k ≤ ((E.supportHistory ω).reads.guards false) ((R k ω).realPath ↑(hi k)) (a k ω)) →
(∀ k < M,
∀ ω ∈ entered k,
∀ t ∈ Set.Icc (lo k) (hi k),
∀ i ∉ policy ω k fun (j : Fin k) => E.supportRecord E.horizon false (↑j) ω,
-(Lg k * e k) ≤ ((E.supportHistory ω).reads.guards false) ((R k ω).realPath ↑t) i →
∃ (w : Fin N),
Lg k * e k ≤ ((E.supportHistory ω).reads.guards false) ((R k ω).realPath ↑t) w ∧ ((E.supportHistory ω).reads.scores false) ((R k ω).realPath ↑t) i + 2 * (Lf k * e k) < ((E.supportHistory ω).reads.scores false) ((R k ω).realPath ↑t) w) →
∃ (good : Set Ω),
MeasurableSet good ∧ good ⊆ stream ∧ 1 - min 1
(E.ground.μ.real streamᶜ + ∑ k : Fin M,
∑ i : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (b ↑k) (G (↑k) i) (H ↑k)) ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, ∀ k < M, done k ω
A finite generated native policy on one original own-noise experiment. Every phase starts at the preceding attained act, includes its refractory interval, and stops at its own next act. Arbitrary physical-state enclosure transport derives the entering error; no phase success, native interval or failure chance is supplied. All scalar prices are summed on one event.