MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch11.PageReductions.RoleCalendarCertificate

TR3's complete calendar realization. All targets, stopping clocks, strict-past worlds, novel timing, and address-copy holds are constructed. Only the source's original numerical coefficient tests remain conditional.

theorem MindFormal.PageReductions.Flat.role_calendar_certificate {Ω : Type u_1} [MeasurableSpace Ω] {N K J : ℕ} (P : Parameters N) (B : EquationGround Ω (Coord N)) (hB : CompletedEquationGround B) (H h hc a0 h0 l blank : NNReal) (ha0 : 0 < a0) (hh0 : 0 < h0) (hh : 0 < h) (hhc : 0 < hc) (hH : a0 + h0 + (l + blank) + h + hc ≤ H) (oldStart oldEnd : Fin K → ℝ) (oldValue : Fin K → Fin N → ℝ) (newStart newEnd : Fin J → ℝ) (newValue : Fin J → Fin N → ℝ) (ho0 : ∀ (k : Fin K), 0 ≤ oldStart k) (hon : ∀ (k : Fin J), 0 ≤ newStart k) (hoo : ∀ (k : Fin K), oldStart k ≤ oldEnd k) (hno : ∀ (k : Fin J), newStart k ≤ newEnd k) (hoe : ∀ (k : Fin K), oldEnd k ≤ ↑a0) (hne : ∀ (k : Fin J), newEnd k ≤ ↑l) (hod : Pairwise fun (k j : Fin K) => Disjoint (Set.Ioc (oldStart k) (oldEnd k)) (Set.Ioc (oldStart j) (oldEnd j))) (hnd : Pairwise fun (k j : Fin J) => Disjoint (Set.Ioc (newStart k) (newEnd k)) (Set.Ioc (newStart j) (newEnd j))) (hsat : P.saturated = false) (hres : P.residue = 0) (cue right : Fin N) (hrcue : right ≠ cue) (hright : P.outputs right = true) (hwrong : ∀ (i : Fin N), P.outputs i = true → i ≠ right → i ≠ cue) (address : Fin N → Fin N) (F : Finset (Fin N)) (f : Fin N) (hf : f ∈ F) {U X K0 K1 K2 M bx bw bqx bqw bc bwc b0 sx sw : ℝ} (hU : 0 ≤ U) (hold : ∀ (k : Fin K) (i : Fin N), 0 ≤ oldValue k i ∧ oldValue k i ≤ U) (hnew : ∀ (k : Fin J) (i : Fin N), 0 ≤ newValue k i ∧ newValue k i ≤ U) (hfresh : ∀ (k : Fin K), ∀ i ∈ F, oldValue k i = 0) (hK0 : 0 ≤ K0) (hK1 : 0 ≤ K1) (hK2 : 0 ≤ K2) (hM : 0 ≤ M) (hbx : 0 < bx) (hbw : 0 < bw) (hbqx : 0 < bqx) (hbqw : 0 < bqw) (hbc : 0 < bc) (hbwc : 0 < bwc) (hb0 : 0 < b0) (hnx : ∀ (i : Fin N), P.noise (Sum.inr (Sum.inl i)) = sx) (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 + bqx + bc) < X) (hatt : X < P.attention) :
have W0 := Calendar.world P B oldStart oldEnd oldValue ⋯; let E0 := experimentWorld P B hB H W0; let τ0 := Preparation.preparationTime E0 f a0 h0; have hτ0 := ⋯; have holdMax := ⋯; have hnewMax := ⋯; have W := Role.delayedWorld P B τ0 hτ0 oldStart oldEnd oldValue newStart newEnd newValue (↑l + ↑blank) cue address (max P.activity.σ U) ⋯ holdMax hnewMax; have T := fun (ω : Ω) => τ0 ω + (l + blank); have a := fun (ω : Ω) => τ0 ω + l; have cap := a0 + h0 + (l + blank); have cut := fun (ω : Ω) => Page.pulseCut (Role.splice oldStart newStart ↑(τ0 ω)) (Role.splice oldEnd newEnd ↑(τ0 ω)); have inputJump := Page.pulseJump (Sum.elim oldValue newValue); have targetJump := Page.pulseJump fun (k : Fin K ⊕ Fin J) => normalizedTarget P.activity.σ P.activity.g (Sum.elim oldValue newValue k); (∀ (ω : Ω), ∀ t ∈ Set.Icc 0 ↑(T ω), ∀ (i j : Fin N), firstOrderMatrix P (cut ω) inputJump targetJump i j t + linkError P U X K0 (Page.jumpVariation (cut ω) targetJump ↑(T ω)) bx bw ↑(T ω) < K0) → (∀ (ω : Ω) (i : Fin N), ∑ j : Fin N, |firstOrderMatrix P (cut ω) inputJump targetJump i j ↑(T ω)| ≤ M) → Query.rate N P.activity.σ M < 1 → K0 + P.gain * ↑h * Query.force P P.activity.σ X K1 + bqw < K1 → (∀ (ω : Ω), ↑(a ω) ≤ ↑(T ω) - P.pause false) → Query.blankRate P K0 < 1 → (∀ (ω : Ω), ∀ t ∈ Set.Icc (↑(T ω) - P.pause false) ↑(T ω), Query.blankError P X K0 (2 * bx) (t - ↑(a ω)) < P.action) → (∀ (ω : Ω) (i : Fin N), P.outputs i = true → i ≠ right → max (firstOrderMatrix P (cut ω) inputJump targetJump i cue ↑(T ω) / (4 * P.activity.σ) - P.activity.g) 0 + M * Query.rate N P.activity.σ M / (2 * P.activity.σ) + Query.pathPrice P X (Query.relationError P X K1 (linkError P U X K0 (Page.jumpVariation (cut ω) targetJump ↑(T ω)) bx bw ↑(T ω)) bqw ↑h) M bqx (Query.blankError P X K0 (2 * bx) (↑(T ω) - ↑(a ω))) < P.action) → (∀ (ω : Ω), P.action < firstOrderMatrix P (cut ω) inputJump targetJump right cue ↑(T ω) / (4 * P.activity.σ) - P.activity.g - Query.fixedPrice P M - Query.latePrice P X (Query.relationError P X K1 (linkError P U X K0 (Page.jumpVariation (cut ω) targetJump ↑(T ω)) bx bw ↑(T ω)) bqw ↑h) M bqx ↑h) → K1 + P.gain * ↑hc * Query.force P P.activity.σ X K2 + bwc < K2 → ↑N * K2 * X < P.activity.σ → 0 < Query.copyTarget P K2 X → P.awareness < Query.copyTarget P K2 X * (1 - Real.exp (-P.activity.ν * ↑hc)) - 4 * bc → (∀ t ∈ Set.Icc 0 (↑a0 + ↑h0), ∀ (i j : Fin N), firstOrderMatrix P (Page.pulseCut oldStart oldEnd) (Page.pulseJump oldValue) (Page.pulseJump fun (k : Fin K) => normalizedTarget P.activity.σ P.activity.g (oldValue k)) i j t + linkError P U X K0 (Page.jumpVariation (Page.pulseCut oldStart oldEnd) (Page.pulseJump fun (k : Fin K) => normalizedTarget P.activity.σ P.activity.g (oldValue k)) (↑a0 + ↑h0)) bx bw (↑a0 + ↑h0) < K0) → have E := experimentWorld P B hB H W; have τ0 := Preparation.preparationTime (experimentWorld P B hB H W0) f a0 h0; have v := Preparation.driftPrice P (Preparation.freshCeiling P K0 X bx) K0 X; ∃ (A : Set Ω), MeasurableSet A ∧ 1 - min 1 (min 1 (tubePrice N sx sw bx bw ↑cap) + min 1 (tubePrice N sx sw bqx bqw ↑h) + min 1 (tubePrice N sx sw bc bwc ↑hc) + 2 * Real.exp (-(b0 ^ 2 / (2 * sw ^ 2 * ↑a0))) + 2 * Preparation.normalCDF ((b0 + v * ↑a0 + v * ↑h0) / (sw * √↑h0)) - 1) ≤ B.μ.real A ∧ ∀ᵐ (ω : Ω) ∂B.μ, ω ∈ A → τ0 ω ≤ T ω ∧ (∀ i ∈ F, ∀ j ∈ F, mindRelation ((E.supportHistory ω).state ↑(τ0 ω)) i j = 0) ∧ ∃ (n : ℕ), ∃ τ ∈ Set.Icc (↑(T ω)) (↑(T ω) + ↑h), E.supportRecord H false n ω = (τ, Sum.inl right) ∧ (∀ (m : ℕ) (s : ℝ) (i : Fin N), E.supportRecord H false m ω = (s, Sum.inl i) → ↑(T ω) ≤ s → τ ≤ s) ∧ P.awareness < mindActivity ((E.supportHistory ω).state (τ + ↑hc)) (address right)