LI3.2 derived from complete verified references, including III during every test interval. No value-credit path is supplied as a separate premise.
noncomputable def
MindFormal.DevaluationComparison.credit
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{d : MindDriftData (Fin N) n T Λ}
{H : NNReal}
(R : LearningReference d H)
(i : Fin N)
(b : Fin n)
(a : T)
(s : ℝ)
:
Equations
- MindFormal.DevaluationComparison.credit R i b a s = d.presence (MindFormal.mindTrace (↑(R.realPath s)) i) * d.η b * d.response (MindFormal.assembledResidual d (R.input s) (↑(R.realPath s)) a) b
Instances For
theorem
MindFormal.DevaluationComparison.value
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{d : MindDriftData (Fin N) n T Λ}
{H : NNReal}
(R : LearningReference d H)
(i : Fin N)
(b : Fin n)
(a : T)
{t : ℝ}
(ht : 0 ≤ t)
(hH : t ≤ ↑H)
:
theorem
MindFormal.DevaluationComparison.comparison
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{d : MindDriftData (Fin N) n T Λ}
{H : NNReal}
(C D : LearningReference d H)
(i : Fin N)
(weight : Fin n → T → ℝ)
{t : ℝ}
(ht : 0 ≤ t)
(hH : t ≤ ↑H)
:
have O := fun (R : LearningReference d H) (w : ℝ) =>
mindActivity (↑(R.realPath w)) i + ∑ b : Fin n, ∑ a : T, weight b a * mindValue (↑(R.realPath w)) i b a;
O D t - O C t = (Real.exp (-d.activity.ν * t) * (mindActivity (↑(D.realPath 0)) i - mindActivity (↑(C.realPath 0)) i) + d.activity.ν * ∫ (s : ℝ) in 0..t, Real.exp (-d.activity.ν * (t - s)) * (D.target i s - C.target i s)) + ∑ b : Fin n, ∑ a : T, weight b a * (mindValue (↑(D.realPath 0)) i b a - mindValue (↑(C.realPath 0)) i b a) + ∑ b : Fin n, ∑ a : T, weight b a * ∫ (s : ℝ) in 0..t, credit D i b a s - credit C i b a s
theorem
MindFormal.DevaluationComparison.native
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{d : MindDriftData (Fin N) n T Λ}
{H : NNReal}
(C D : LearningReference d H)
(i : Fin N)
(weight : Fin n → T → ℝ)
{t : ℝ}
(ht : 0 ≤ t)
(hH : t ≤ ↑H)
:
have O := fun (R : LearningReference d H) (w : ℝ) =>
mindActivity (↑(R.realPath w)) i + ∑ b : Fin n, ∑ a : T, weight b a * mindValue (↑(R.realPath w)) i b a;
O D t - O C t = (Real.exp (-d.activity.ν * t) * (mindActivity (↑(D.realPath 0)) i - mindActivity (↑(C.realPath 0)) i) + d.activity.ν * ∫ (s : ℝ) in 0..t, Real.exp (-d.activity.ν * (t - s)) * (D.target i s - C.target i s)) + ∑ b : Fin n, ∑ a : T, weight b a * (mindValue (↑(D.realPath 0)) i b a - mindValue (↑(C.realPath 0)) i b a) + ∑ b : Fin n, ∑ a : T, weight b a * ∫ (s : ℝ) in 0..t, credit D i b a s - credit C i b a s ∧ (∀ (G : PhysicalGlobalData N n T Λ) (Htest : ℝ) (k : ℕ) (u : ℝ),
((G.native Htest false).search k).event = some (u, i) ↔ (G.native Htest false).release k ≤ u ∧ u ≤ Htest ∧ 0 ≤ (G.reads.guards false) (G.realPath u) i ∧ (∀ (s : ℝ),
(G.native Htest false).release k ≤ s →
s < u → ∀ (j : Fin N), (G.reads.guards false) (G.realPath s) j < 0) ∧ (∀ (j : Fin N),
0 ≤ (G.reads.guards false) (G.realPath u) j →
PracticeSequence.score G u j ≤ PracticeSequence.score G u i) ∧ ∀ (j : Fin N),
0 ≤ (G.reads.guards false) (G.realPath u) j →
PracticeSequence.score G u j = PracticeSequence.score G u i → i ≤ j) ∧ (∀ (c v omega : ℝ), c - omega ≥ c - v ↔ omega ≤ v) ∧ ∀ (ci cj di dj : ℝ), ci - cj ≥ ci - di - (cj - dj) ↔ dj ≤ di