MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch11.PageReductions.PreparationOnEvent

TR3 R3 on the original admitted experiment: the full writer, fresh activity, whole mutual block and finite readiness bill. This composition lemma retains an already billed event; the final constructor discharges its tube premise, so readiness charges it only once.

theorem MindFormal.PageReductions.Preparation.readiness_on_event {Ω : Type u_1} [MeasurableSpace Ω] {N : ℕ} (P : Flat.Parameters N) (B : EquationGround Ω (Flat.Coord N)) (hB : CompletedEquationGround B) (H a h : NNReal) (ha : 0 < a) (hh : 0 < h) (hH : a + h ≤ H) (W : ConstructedWorld (Flat.mind P) B) {K : Type u_2} [Fintype K] (cut : K → ℝ) (inputJump targetJump : K → Fin N → ℝ) (hc : ∀ (k : K), 0 ≤ cut k) (hsat : P.saturated = false) (hres : P.residue = 0) (F : Finset (Fin N)) (f : Fin N) (hf : f ∈ F) {U X K0 bx bw b0 sw : ℝ} (hU : 0 ≤ U) (hK : 0 ≤ K0) (hbx : 0 < bx) (hb0 : 0 < b0) (hnw : ∀ (i j : Fin N), P.noise (Sum.inl (i, j)) = sw) (hn : ∀ i ∈ F, ∀ j ∈ F, ∀ (c : CoordinateIndex (Fin N) 1 Unit Unit), P.noise ((ContentPermutation.coord (Equiv.swap i j)) c) = P.noise c) (hs : ∀ i ∈ F, ∀ j ∈ F, ∀ (c : CoordinateIndex (Fin N) 1 Unit Unit), P.source ((ContentPermutation.coord (Equiv.swap i j)) c) = P.source c) (hshared : ∀ i ∈ F, ∀ j ∈ F, ∀ k ∈ F, P.source (Sum.inl (i, j)) = P.source (Sum.inl (i, k))) (hX : 1 - P.activity.g + 2 * bx < X) (hbar : X < P.attention) (hu : ∀ s ∈ Set.Icc 0 (↑a + ↑h), ∀ (i : Fin N), 0 ≤ Page.stepSignal cut inputJump s i ∧ Page.stepSignal cut inputJump s i ≤ U) (hmodel : ∀ s ∈ Set.Icc 0 (↑a + ↑h), ∀ (i : Fin N), normalizedTarget P.activity.σ P.activity.g (Page.stepSignal cut inputJump s) i = Page.stepSignal cut targetJump s i) (hworld : ∀ᵐ (ω : Ω) ∂B.μ, ∀ᵐ (s : ℝ), s ∈ Set.Icc 0 (↑a + ↑h) → ∀ (hist : FiniteActionHistory (Fin N)), ChronologicalHistory hist → strictPastInput W.world s hist ω = Page.stepSignal cut inputJump s) (hfresh : ∀ᵐ (ω : Ω) ∂B.μ, ∀ s ∈ Set.Icc 0 (↑a + ↑h), ∀ (hist : FiniteActionHistory (Fin N)), ChronologicalHistory hist → ∀ i ∈ F, strictPastInput W.world s hist ω i = 0) (hclose : ∀ t ∈ Set.Icc 0 (↑a + ↑h), ∀ (i j : Fin N), Flat.firstOrderMatrix P cut inputJump targetJump i j t + Flat.linkError P U X K0 (Page.jumpVariation cut targetJump (↑a + ↑h)) bx bw (↑a + ↑h) < K0) (A : Set Ω) (hA : MeasurableSet A) {e : ℝ} (hp : 1 - e ≤ B.μ.real A) (hnoise : ∀ᵐ (ω : Ω) ∂B.μ, ω ∈ A → (∀ s ∈ Set.Icc 0 (↑a + ↑h), ∀ (i : Fin N), |((Flat.experimentWorld P B hB H W).supportHistory ω).driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ bx) ∧ ∀ s ∈ Set.Icc 0 (↑a + ↑h), ∀ (i j : Fin N), |((Flat.experimentWorld P B hB H W).supportHistory ω).driver s.toNNReal (Sum.inl (i, j))| ≤ bw) :
have E := Flat.experimentWorld P B hB H W; have d := freshCeiling P K0 X bx; have v := driftPrice P d K0 X; ∃ (C : Set Ω), MeasurableSet C ∧ C ⊆ A ∧ 1 - min 1 (e + 2 * Real.exp (-(b0 ^ 2 / (2 * sw ^ 2 * ↑a))) + 2 * normalCDF ((b0 + v * ↑a + v * ↑h) / (sw * √↑h)) - 1) ≤ B.μ.real C ∧ ∀ᵐ (ω : Ω) ∂B.μ, ω ∈ C → ∀ i ∈ F, ∀ j ∈ F, mindRelation ((E.supportHistory ω).state ↑(preparationTime E f a h ω)) i j = 0