structure
MindFormal.A641Practice.HeldQueryComparison
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
(d : MindDriftData C n T Λ)
(factors : Finset C)
(outcome : C)
(L z w : ℝ)
:
Type (max (max u_1 u_2) u_3)
AS6's declared held-link, held-support query comparison. Every transformed numerator outside the presented factors and outcome is charged to L. These are comparison conditions, separately restored to a moving native history only by its complete finite enclosure.
- nonempty : factors.Nonempty
- distinct : outcome ∉ factors
- nonnegative (t : ℝ) : 0 ≤ t → ∀ (i : C), 0 ≤ mindActivity (self.state t) i
- links (t : ℝ) : 0 ≤ t → ∀ j ∈ factors, mindRelation (self.state t) outcome j = w
- other_raw (t : ℝ) : 0 ≤ t → rawInput (fun (j : C) => d.drive (self.input t j) (self.pulse t j) (mindValue (self.state t) j)) (fun (j : C) => d.residue (mindTrace (self.state t) j)) (mindRelation (self.state t)) (mindActivity (self.state t)) outcome - ∑ j ∈ factors, mindRelation (self.state t) outcome j * mindActivity (self.state t) j = 0
- equation (t : ℝ) : 0 ≤ t → ∀ (i : C), i = outcome ∨ i ∈ factors → HasDerivWithinAt (fun (s : ℝ) => mindActivity (self.state s) i) (d.activity.ν * (normalizedTarget d.activity.σ d.activity.g (assembledInputs d (self.input t) (self.pulse t) (self.state t)) i - mindActivity (self.state t) i)) (Set.Ici 0) t
Instances For
noncomputable def
MindFormal.A641Practice.HeldQueryComparison.cueIndex
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
:
C
Equations
- Q.cueIndex = Exists.choose ⋯
Instances For
theorem
MindFormal.A641Practice.HeldQueryComparison.cueIndex_mem
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
:
noncomputable def
MindFormal.A641Practice.HeldQueryComparison.cue
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
(t : ℝ)
:
Equations
- Q.cue t = MindFormal.mindActivity (Q.state t) Q.cueIndex
Instances For
def
MindFormal.A641Practice.HeldQueryComparison.response
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
(t : ℝ)
:
Equations
- Q.response t = MindFormal.mindActivity (Q.state t) outcome
Instances For
theorem
MindFormal.A641Practice.HeldQueryComparison.cue_equal
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
{j : C}
(hj : j ∈ factors)
(t : ℝ)
:
0 ≤ t → mindActivity (Q.state t) j = Q.cue t
theorem
MindFormal.A641Practice.HeldQueryComparison.frame
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
{t : ℝ}
(ht : 0 ≤ t)
:
CompleteQueryFrame d (Q.input t) (Q.pulse t) (Q.state t) factors outcome z w (Q.cue t)
theorem
MindFormal.A641Practice.HeldQueryComparison.pool_eq
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
{t : ℝ}
(ht : 0 ≤ t)
:
theorem
MindFormal.A641Practice.HeldQueryComparison.U_positive
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
:
theorem
MindFormal.A641Practice.HeldQueryComparison.a_nonnegative
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
:
theorem
MindFormal.A641Practice.HeldQueryComparison.cue_equation
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
{t : ℝ}
(ht : 0 ≤ t)
:
theorem
MindFormal.A641Practice.HeldQueryComparison.response_equation
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
{t : ℝ}
(ht : 0 ≤ t)
:
theorem
MindFormal.A641Practice.HeldQueryComparison.target_eq
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
{t : ℝ}
(ht : 0 ≤ t)
:
theorem
MindFormal.A641Practice.HeldQueryComparison.positive_branch
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
{d : MindDriftData C n T Λ}
{factors : Finset C}
{outcome : C}
{L z w : ℝ}
(Q : HeldQueryComparison d factors outcome L z w)
(hz : d.activity.g * Q.U < z)
{α : ℝ}
(hα : 0 < α)
:
have r := queryCueRoot Q.U Q.a d.activity.g z;
have H := queryOutcome Q.U Q.a d.activity.g r;
Q.a * r = queryRaw Q.U Q.a d.activity.g z ∧ (∀ (t : ℝ), 0 ≤ t → Q.cue t ≤ r) ∧ MonotoneOn Q.cue (Set.Ici 0) ∧ Filter.Tendsto Q.cue Filter.atTop (nhds r) ∧ MonotoneOn (fun (t : ℝ) => queryOutcome Q.U Q.a d.activity.g (Q.cue t)) (Set.Ici 0) ∧ ((∃ (t : ℝ), 0 ≤ t ∧ α ≤ Q.response t) ↔ α < H)