The actual residual solution continues with its original driver increments, closed prefix and retained work. This is a splice of the installed solver.
noncomputable def
MindFormal.A617Settling.residualClosed
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
(d : A × Bool)
:
FiniteActionHistory (Fin (N d.1))
Equations
- MindFormal.A617Settling.residualClosed D c d = MindFormal.nativeActionHistory ((D.observe D.path d).closedPrefix ↑c ⋯)
Instances For
noncomputable def
MindFormal.A617Settling.residualElapsed
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
:
ResidualGroupData A (H - ↑c) N n T Λ
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MindFormal.A617Settling.residualFutureSchedule
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
(d : A × Bool)
:
NativeSchedule
(residualGuard ((residualElapsed D c).releaseRemaining d) fun (t : ℝ) =>
((D.equations.member d.1).guard d.2) ((ContinuousMap.IccExtend ⋯ (D.path d.1)) (↑c + t)))
(fun (t : ℝ) => (D.equations.member d.1).score d.2 ((ContinuousMap.IccExtend ⋯ (D.path d.1)) (↑c + t))) (H - ↑c)
((D.equations.member d.1).pause d.2)
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MindFormal.A617Settling.residualFutureHistories
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
:
FiniteClocks.Histories (A × Bool) fun (d : A × Bool) => N d.1
Equations
Instances For
theorem
MindFormal.A617Settling.residual_future_histories_join
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
(d : A × Bool)
:
theorem
MindFormal.A617Settling.residual_future_positive
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
(d : A × Bool)
:
theorem
MindFormal.A617Settling.residual_future_cutValid
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
(d : A × Bool)
:
CutValid (↑c) (residualClosed D c d) ↑(residualFutureHistories D c d)
theorem
MindFormal.A617Settling.residual_future_records
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
(d : A × Bool)
:
↑(residualFutureHistories D c d) = nativeActionHistory ((residualElapsed D c).observe (fun (a : A) => shiftPath c (D.path a)) d)
theorem
MindFormal.A617Settling.residual_elapsed_solution
{A : Type u_1}
[Fintype A]
[Nonempty A]
{H : ℝ}
{N n : A → ℕ}
{T : A → Type u_2}
{Λ : A → Type u_3}
[(a : A) → Fintype (T a)]
[(a : A) → Fintype (Λ a)]
(D : ResidualGroupData A H N n T Λ)
(c : ↑(HorizonTime H))
:
ResidualGroupSolution (residualElapsed D c) (fun (a : A) => shiftPath c (D.path a)) (residualFutureHistories D c)