MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.BothClues

theorem MindFormal.MarketLearning.bothCluesProbability {Ω : 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) :
theorem MindFormal.MarketLearning.history_following_both_clues {Ω : Type u_1} [_inst : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [_inst_1 : Fintype T] [_inst_2 : Fintype Λ] [_inst_3 : Fintype J] (E : Bool → StateExperiment Ω N n T Λ J) (chosen : Fin N) {H : Bool → NNReal} (_hH : ∀ (caseArg : Bool), H caseArg ≤ (E caseArg).horizon) (y : Bool → Ω → C(NNReal, MindState (Fin N) n T Λ)) (_hadapt : ∀ (caseArg : Bool), MeasureTheory.StronglyAdapted (E caseArg).ground.filtration fun (t : NNReal) (z : Ω) => (y caseArg z) t) (g : Bool → Ω → ℝ → MindState (Fin N) n T Λ) (hg : ∀ (caseArg : Bool) (z : Ω), IntervalIntegrable (g caseArg z) MeasureTheory.volume 0 ↑(H caseArg)) (v defect : (caseArg : Bool) → Ω → C(↑(HorizonTime ↑(H caseArg)), MindState (Fin N) n T Λ)) (f : (caseArg : Bool) → CoordinateIndex (Fin N) n T Λ → J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure (E caseArg).ground.filtration (E caseArg).ground.μ (E caseArg).horizon))) (clearance : Bool → NNReal) (b Q : Bool → CoordinateIndex (Fin N) n T Λ → ℝ) {L entering mode comparison epsilon : Bool → ℝ} (_hL : ∀ (caseArg : Bool), 0 ≤ L caseArg) (_he : ∀ (caseArg : Bool), 0 ≤ entering caseArg) (_hm : ∀ (caseArg : Bool), 0 ≤ mode caseArg) (_hc : ∀ (caseArg : Bool), 0 ≤ comparison caseArg) (_hQ : ∀ (caseArg : Bool) (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ Q caseArg c) (_hb : ∀ (caseArg : Bool) (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ b caseArg c) (_hpos : ∀ (caseArg : Bool) (c : CoordinateIndex (Fin N) n T Λ), Q caseArg c ≠ 0 → 0 < b caseArg c) (cap : Bool → Set Ω) (_hcapm : ∀ (caseArg : Bool), MeasurableSet (cap caseArg)) (_hcap : ∀ (caseArg : Bool), 1 - epsilon caseArg ≤ (E caseArg).ground.μ.real (cap caseArg)) (_budget : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ (c : CoordinateIndex (Fin N) n T Λ), Transactions.comparisonBracket (E caseArg) (Transactions.coordinateRead c) (f caseArg c) (Transactions.comparisonExit (E caseArg) (y caseArg) (clearance caseArg)) (H caseArg) z ≤ ENNReal.ofReal (Q caseArg c)) (_href : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, reflectedForcing ⋯ mindFloor (g caseArg z) ⋯ ((y caseArg z) 0) (v caseArg z) = Transactions.referenceRestriction (H caseArg) (y caseArg z)) (_hrefdriver : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ (t : ↑(HorizonTime ↑(H caseArg))) (c : CoordinateIndex (Fin N) n T Λ), (v caseArg z) t c = ItoFiltration.itoVecCont (E caseArg).ground.brownian (E caseArg).horizon (f caseArg c) ⟨↑t, ⋯⟩ z + (defect caseArg z) t c) (_hdefect : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ (t : ↑(HorizonTime ↑(H caseArg))), ‖(defect caseArg z) t‖ ≤ comparison caseArg) (_hstart : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ‖↑((E caseArg).supportHistory z).start - (y caseArg z) 0‖ ≤ entering caseArg) (_hmodes : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, IntervalIntegrable (fun (s : ℝ) => ‖assembledDrift ((E caseArg).supportHistory z).data ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput s) ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode s) ((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction (H caseArg) (y caseArg z))) s) - g caseArg z s‖) MeasureTheory.volume 0 ↑(H caseArg)) (_hmode : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ (t : ↑(HorizonTime ↑(H caseArg))), ∫ (s : ℝ) in 0..↑t, ‖assembledDrift ((E caseArg).supportHistory z).data ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput s) ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode s) ((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction (H caseArg) (y caseArg z))) s) - g caseArg z s‖ ≤ mode caseArg) (_hlip : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ (t : ↑(HorizonTime ↑(H caseArg))) (x : MindState (Fin N) n T Λ), PhysicalMindState x → ‖x - (Transactions.referenceRestriction (H caseArg) (y caseArg z)) t‖ ≤ ↑(clearance caseArg) → ‖assembledDrift ((E caseArg).supportHistory z).data ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput ↑t) ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode ↑t) x - assembledDrift ((E caseArg).supportHistory z).data ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput ↑t) ((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode ↑t) ((Transactions.referenceRestriction (H caseArg) (y caseArg z)) t)‖ ≤ L caseArg * ‖x - (Transactions.referenceRestriction (H caseArg) (y caseArg z)) t‖) (_hclose : ∀ (caseArg : Bool), Transactions.transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg) (comparison caseArg) < ↑(clearance caseArg)) (hyphys : ∀ (caseArg : Bool) (z : Ω) (t : NNReal), PhysicalMindState ((y caseArg z) t)) (c : Bool → Bool) (K : Bool → ℕ) (guardMod scoreMod : Bool → Fin N → ℝ) (_hgm : ∀ (caseArg : Bool) (j : Fin N), 0 ≤ guardMod caseArg j) (_hsm : ∀ (caseArg : Bool) (j : Fin N), 0 ≤ scoreMod caseArg j) (_guardLip : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ t ∈ Set.Icc 0 ↑(H caseArg), ∀ (x : PhysicalState N n T Λ), ‖↑x - (y caseArg z) t.toNNReal‖ ≤ ↑(clearance caseArg) → ∀ (j : Fin N), |(((E caseArg).supportHistory z).reads.guards (c caseArg)) x j - (((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j| ≤ guardMod caseArg j * ‖↑x - (y caseArg z) t.toNNReal‖) (_scoreLip : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ t ∈ Set.Icc 0 ↑(H caseArg), ∀ (x : PhysicalState N n T Λ), ‖↑x - (y caseArg z) t.toNNReal‖ ≤ ↑(clearance caseArg) → ∀ (j : Fin N), |(((E caseArg).supportHistory z).reads.scores (c caseArg)) x j - (((E caseArg).supportHistory z).reads.scores (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j| ≤ scoreMod caseArg j * ‖↑x - (y caseArg z) t.toNNReal‖) (lo hi : Bool → Ω → ℕ → ℝ) (_htimes : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ k ≤ K caseArg, 0 ≤ lo caseArg z k ∧ lo caseArg z k ≤ hi caseArg z k ∧ hi caseArg z k ≤ ↑(H caseArg)) (_hreleases : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ k ≤ K caseArg, Transactions.windowRelease (hi caseArg z) (((E caseArg).supportHistory z).pause (c caseArg)) k ≤ hi caseArg z k) (_before : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ k ≤ K caseArg, ∀ t ∈ Set.Ico (Transactions.windowRelease (lo caseArg z) (((E caseArg).supportHistory z).pause (c caseArg)) k) (lo caseArg z k), ∀ (j : Fin N), (((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j + guardMod caseArg j * Transactions.transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg) (comparison caseArg) < 0) (_qualifies : ∀ (caseArg : Bool), ∀ z ∈ cap caseArg, ∀ k ≤ K caseArg, guardMod caseArg chosen * Transactions.transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg) (comparison caseArg) ≤ (((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) (hi caseArg z k).toNNReal, ⋯⟩ chosen) {R : Type u_5} {O : Type u_6} [_outcomes : Fintype O] (weight : R → Bool → O → ℝ) (redemption : O → ℝ) (record : R) (_nonnegative : ∀ (clue : Bool) (o : O), 0 ≤ weight record clue o) (_observed : ∀ (clue : Bool), 0 < ∑ o : O, weight record clue o) (price scale : ℝ) (_scale : 0 < scale) (tradeCode : Fin N → Fin 3) (buy : Bool) (_code : tradeCode chosen = if buy = true then 0 else 1) (_criterion : if buy = true then price < min (clueMean weight redemption record false) (clueMean weight redemption record true) else max (clueMean weight redemption record false) (clueMean weight redemption record true) < price) (offset : Bool → Ω → ℕ → ℝ → ℝ) (_onWindow : ∀ (o : Bool), ∀ z ∈ cap o, ∀ k ≤ K o, ∀ t ∈ Set.Icc (lo o z k) (hi o z k), guardMod o chosen * Transactions.transactionError (↑(H o)) (L o) (entering o) ‖b o‖ (mode o) (comparison o) ≤ (((E o).supportHistory z).reads.guards (c o)) ⟨(y o z) t.toNNReal, ⋯⟩ chosen) (_calibrated : ∀ (o : Bool), ∀ z ∈ cap o, ∀ k ≤ K o, ∀ t ∈ Set.Icc (lo o z k) (hi o z k), ∀ (j : Fin N), (((E o).supportHistory z).reads.scores (c o)) ⟨(y o z) t.toNNReal, ⋯⟩ j = offset o z k t + (fun (clue : Bool) (j : Fin N) => if tradeCode j = 0 then scale * (clueMean weight redemption record clue - price) else if tradeCode j = 1 then -scale * (clueMean weight redemption record clue - price) else 0) o j) (_gap : ∀ (o : Bool), ∀ z ∈ cap o, ∀ k ≤ K o, ∀ (j : Fin N), j ≠ chosen → (scoreMod o j + scoreMod o chosen) * Transactions.transactionError (↑(H o)) (L o) (entering o) ‖b o‖ (mode o) (comparison o) < (fun (clue : Bool) (j : Fin N) => if tradeCode j = 0 then scale * (clueMean weight redemption record clue - price) else if tradeCode j = 1 then -scale * (clueMean weight redemption record clue - price) else 0) o chosen - (fun (clue : Bool) (j : Fin N) => if tradeCode j = 0 then scale * (clueMean weight redemption record clue - price) else if tradeCode j = 1 then -scale * (clueMean weight redemption record clue - price) else 0) o j) :
(∀ (clue : Bool), 0 < (fun (clue : Bool) (j : Fin N) => if tradeCode j = 0 then scale * (clueMean weight redemption record clue - price) else if tradeCode j = 1 then -scale * (clueMean weight redemption record clue - price) else 0) clue chosen) ∧ ∀ (clue : Bool), ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ cap clue ∧ 1 - min 1 (epsilon clue + ∑ j : CoordinateIndex (Fin N) n T Λ, Transactions.bracketPrice (b clue j) (Q clue j)) ≤ (E clue).ground.μ.real good ∧ ∀ z ∈ good, ∀ k ≤ K clue, ∃ t ∈ Set.Icc (lo clue z k) (hi clue z k), (E clue).supportRecord (H clue) (c clue) k z = (t, Sum.inl chosen)

The same received joint table determines both clue means. Under (1.6) and complete margins both actual continuations follow the recorded direction.