MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch11.RolePrefix

PG1.7: prefix discrepancies on the original page-family own-noise run.

theorem MindFormal.Page.role_activity_trace_caps {Ω : Type u_1} [MeasurableSpace Ω] {N : ℕ} (P : PageFamily.Parameters N) (B : EquationGround Ω (PageFamily.Coord N)) (hB : CompletedEquationGround B) (H : NNReal) (W : ConstructedWorld (PageFamily.mind P) B) (ω : Ω) {t b X : ℝ} (hb : 0 ≤ b) (hX : 1 - P.activity.g + 2 * b ≤ X) (hnoise : ∀ s ∈ Set.Icc 0 t, ∀ (i : Fin N), |((PageFamily.experimentWorld P B hB H W).supportHistory ω).driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ b) (s : ℝ) :

PG1.7: the activity/trace ceiling follows directly from the actual normalized target and the activity innovations. No relation bound is needed. The zero start is the existing experiment's constructed start.

theorem MindFormal.Page.role_near_step_relaxation {Ω : Type u_1} [MeasurableSpace Ω] {N : ℕ} (P : PageFamily.Parameters N) (B : EquationGround Ω (PageFamily.Coord N)) (hB : CompletedEquationGround B) (H : NNReal) (W : ConstructedWorld (PageFamily.mind P) B) (ω : Ω) {K : Type u_2} [Fintype K] (cut : K → ℝ) (inputJump targetJump : K → Fin N → ℝ) {t X Kw bx : ℝ} (hbx : 0 ≤ bx) (hKw : 0 ≤ Kw) (hX : 1 - P.activity.g + 2 * bx ≤ X) (hu : ∀ s ∈ Set.Icc 0 t, 0 ≤ stepSignal cut inputJump s) (hmodel : ∀ s ∈ Set.Icc 0 t, ∀ (i : Fin N), normalizedTarget P.activity.σ P.activity.g (stepSignal cut inputJump s) i = stepSignal cut targetJump s i) (hreturn : ∀ᵐ (s : ℝ), s ∈ Set.Icc 0 t → ∀ (i : Fin N), |((PageFamily.experimentWorld P B hB H W).supportHistory ω).input s i - stepSignal cut inputJump s i| ≤ P.a) (hnoise : ∀ s ∈ Set.Icc 0 t, ∀ (i : Fin N), |((PageFamily.experimentWorld P B hB H W).supportHistory ω).driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ bx) (hcap : ∀ s ∈ Set.Icc 0 t, ∀ (i j : Fin N), |mindRelation (((PageFamily.experimentWorld P B hB H W).supportHistory ω).state s) i j| ≤ Kw) (s : ℝ) :
s ∈ Set.Icc 0 t → ∀ (i : Fin N), |mindActivity (((PageFamily.experimentWorld P B hB H W).supportHistory ω).state s) i - expConv P.activity.ν 0 (fun (r : ℝ) => stepSignal cut targetJump r i) s| ≤ PageFamily.roleTargetError P X Kw + 2 * bx

PG1.7: on a stopped prefix, a finite step display's relaxation differs pointwise from actual activity by at most d_x+2b_x. The return hold is allowed almost everywhere, so values at the finitely many display cuts impose no extra world restriction. The auxiliary relation cap is discharged by the cap induction.

theorem MindFormal.Page.role_integrated_discrepancies {Ω : Type u_1} [MeasurableSpace Ω] {N : ℕ} (P : PageFamily.Parameters N) (B : EquationGround Ω (PageFamily.Coord N)) (hB : CompletedEquationGround B) (H : NNReal) (W : ConstructedWorld (PageFamily.mind P) B) (ω : Ω) {K : Type u_2} [Fintype K] (cut : K → ℝ) (inputJump targetJump : K → Fin N → ℝ) (hc : ∀ (k : K), 0 ≤ cut k) {t X Kw bx : ℝ} (ht : 0 ≤ t) (hbx : 0 ≤ bx) (hKw : 0 ≤ Kw) (hX : 1 - P.activity.g + 2 * bx ≤ X) (hu : ∀ s ∈ Set.Icc 0 t, 0 ≤ stepSignal cut inputJump s) (hmodel : ∀ s ∈ Set.Icc 0 t, ∀ (i : Fin N), normalizedTarget P.activity.σ P.activity.g (stepSignal cut inputJump s) i = stepSignal cut targetJump s i) (hreturn : ∀ᵐ (s : ℝ), s ∈ Set.Icc 0 t → ∀ (i : Fin N), |((PageFamily.experimentWorld P B hB H W).supportHistory ω).input s i - stepSignal cut inputJump s i| ≤ P.a) (hnoise : ∀ s ∈ Set.Icc 0 t, ∀ (i : Fin N), |((PageFamily.experimentWorld P B hB H W).supportHistory ω).driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ bx) (hcap : ∀ s ∈ Set.Icc 0 t, ∀ (i j : Fin N), |mindRelation (((PageFamily.experimentWorld P B hB H W).supportHistory ω).state s) i j| ≤ Kw) (i : Fin N) :
∫ (s : ℝ) in 0..t, |mindActivity (((PageFamily.experimentWorld P B hB H W).supportHistory ω).state s) i - stepSignal cut targetJump s i| ≤ PageFamily.roleActivityError P X Kw (jumpVariation cut targetJump t) bx t ∧ ∫ (s : ℝ) in 0..t, |mindTrace (((PageFamily.experimentWorld P B hB H W).supportHistory ω).state s) i () - expConv P.rate 0 (fun (r : ℝ) => stepSignal cut targetJump r i) s| ≤ PageFamily.roleActivityError P X Kw (jumpVariation cut targetJump t) bx t

PG1.7: both integrated discrepancies follow on each stopped prefix, with V_X the actual prefix jump sum. The D4 contraction and step cost are derived above; the auxiliary cap is not a premise of the final certificate.