MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch12.LikelihoodCalculus

In One Mind, clause 23 of result 12.1: How likely a possibility seems, and when that is a classical probability · all its clauses in Lean
theorem MindFormal.LikelihoodCalculus.j5_simultaneous_names {A : Type u_1} [DecidableEq A] {χ g L : ℝ} (hχ : 0 < χ) (hg : 0 ≤ g) (hL : 0 < L) (s : Finset A) (hs : s.Nonempty) (π : A → ℝ) (hπ : ∑ i ∈ s, π i = 1) (hpos : ∀ i ∈ s, 0 < π i) (Z : Finset A → ℝ) (hZ : ∀ t ∈ names s, 0 ≤ Z t) :
(names s).card = 2 ^ s.card - 1 ∧ ∑ t ∈ names s, ∑ i ∈ t, π i = 2 ^ (s.card - 1) ∧ ((∀ t ∈ names s, nameRead χ g L s Z t = ∑ i ∈ t, π i) ↔ χ * 2 ^ (s.card - 1) + g * ↑(2 ^ s.card - 1) < 1 ∧ ∀ t ∈ names s, Z t = L / (1 - χ * 2 ^ (s.card - 1) - g * ↑(2 ^ s.card - 1)) * (g + χ * ∑ i ∈ t, π i)) ∧ ((∃ (Z' : Finset A → ℝ), (∀ t ∈ names s, 0 ≤ Z' t) ∧ ∀ t ∈ names s, nameRead χ g L s Z' t = ∑ i ∈ t, π i) ↔ χ * 2 ^ (s.card - 1) + g * ↑(2 ^ s.card - 1) < 1) ∧ (∀ (t : Finset A) (p : ℝ), 0 ≤ p → (nameRead χ g L s Z t = p ↔ if p = 0 then Z t / namePool L s Z ≤ g else Z t / namePool L s Z = g + χ * p)) ∧ (∀ {C : Type} [inst : Fintype C] [inst_1 : DecidableEq C] (σ : ℝ) (J : C → ℝ) (label : Finset A → C), Set.InjOn label ↑(names s) → pool σ J = namePool (σ + ∑ j ∈ Finset.univ \ Finset.image label (names s), J j) s fun (t : Finset A) => J (label t)) ∧ ∀ {C : Type} [inst : Fintype C] [inst_1 : DecidableEq C] (σ : ℝ) (J : C → ℝ) (label : Finset A → C), 0 < σ → (∀ (j : C), 0 ≤ J j) → 0 < σ + ∑ j ∈ Finset.univ \ Finset.image label (names s), J j

15.9.23, J5. P: s is the finite nonempty set of positive atoms, pi sums to one, chi>0 is the previously declared read unit, g>=0 and L>0 is the actual floor plus every unreported support. H: hpos and hZ give precisely positivity of atoms and nonnegativity of the given transformed supports. C: double counting gives 2^(m-1) copies of every atom in the nonempty names and 2^m-1 names. Exact simultaneous calibration is equivalent to the capacity and the uniquely solved supports; capacity alone is equivalent to algebraic support feasibility, not acquisition. The actual complete-pool split for any injective physical naming and the zero/inactive cutoff equivalence are included. Zero-probability ports remain in the unreported load when the positive atoms are selected. Empty catalogs cannot satisfy the positive unit-mass premises. Sequential questions have separate pools; externally summing atoms creates no extra physical names. Neither invokes this simultaneous-name hypothesis. All statements concern settled targets, not arbitrary noisy activity values.

In One Mind, clause 27 of result 12.1: How likely a possibility seems, and when that is a classical probability · all its clauses in Lean
theorem MindFormal.LikelihoodCalculus.j8_learning_chain_rule {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype T] [Fintype Λ] (d : MindDriftData C n T Λ) (u : ℝ → C → ℝ) (q : C → ℝ) (s : ℝ → MindState C n T Λ) (t : ℝ) (u' du : C → ℝ) (dv : C → Fin n → T → ℝ) (dr : C → Λ → ℝ) (hu : ∀ (i : C), HasDerivAt (fun (y : ℝ) => u y i) (u' i) t) (hflow : ∀ (k : CoordinateIndex C n T Λ), HasDerivAt (fun (y : ℝ) => s y k) (assembledDrift d (u t) q (s t) k) t) (hD : ∀ (i : C), HasFDerivAt (fun (z : ℝ × (Fin n → T → ℝ)) => d.drive z.1 (q i) z.2) (driveLinear (du i) (dv i)) (u t i, mindValue (s t) i)) (hR : ∀ (i : C), HasFDerivAt d.residue (traceLinear (dr i)) (mindTrace (s t) i)) :
(∀ (i : C), HasDerivAt (fun (y : ℝ) => referenceRaw d (u y) q (s y) i) (rawVelocity d (u t) q (s t) u' du dv dr i) t) ∧ ∀ (uBefore uAfter qBefore qAfter : C → ℝ), (∀ (i : C), referenceRaw d uAfter qAfter (s t) i - referenceRaw d uBefore qBefore (s t) i = d.drive (uAfter i) (qAfter i) (mindValue (s t) i) - d.drive (uBefore i) (qBefore i) (mindValue (s t) i)) ∧ (∀ (i : C), assembledInputs d uAfter qAfter (s t) i = d.transform.ψ (referenceRaw d uBefore qBefore (s t) i + d.drive (uAfter i) (qAfter i) (mindValue (s t) i) - d.drive (uBefore i) (qBefore i) (mindValue (s t) i))) ∧ pool d.activity.σ (assembledInputs d uAfter qAfter (s t)) - pool d.activity.σ (assembledInputs d uBefore qBefore (s t)) = ∑ i : C, (d.transform.ψ (referenceRaw d uAfter qAfter (s t) i) - d.transform.ψ (referenceRaw d uBefore qBefore (s t) i))

15.9.27, J8. P: d is the full equation data and s the given noise-free differentiable learning reference between native events, with fixed mode q. H: hflow is its complete I--III/D4 equation in every physical coordinate, hu is the derivative of the complete strict-past returned input (not just the stimulus), hD/hR are actual derivatives of the admitted drive and residue. C: rawVelocity contains the external derivative, every value-kind/horizon III writer, every trace velocity, both II writers through assembledDrift, the full recurrent row including self and every activity derivative with the complete pool. At a returned-input/focus event the physical state is shared by continuity; the exact drive jump, all newly transformed supports and the whole new pool are recomputed. This deterministic reference calculation asserts no derivative of a Brownian sample, settled state or acquired read.

In One Mind, clause 51 of result 12.1: How likely a possibility seems, and when that is a classical probability · all its clauses in Lean
theorem MindFormal.LikelihoodCalculus.nc4_regular_rest {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [DecidableEq C] (R : RestComparison C n T Λ) :
HasDerivAt R.read R.gain R.time ∧ (∀ (K ε : ℝ), |R.gain - K| ≤ ε ↔ K ∈ Set.Icc (R.gain - ε) (R.gain + ε)) ∧ (∀ (I : Set ℝ) (G : ℝ → ℝ) (lo hi K ε : ℝ), IsGLB (G '' I) lo → IsLUB (G '' I) hi → ((∀ y ∈ I, |G y - K| ≤ ε) ↔ hi - ε ≤ K ∧ K ≤ lo + ε)) ∧ (∀ (lo hi ε : ℝ), (∃ (K : ℝ), hi - ε ≤ K ∧ K ≤ lo + ε) ↔ hi - lo ≤ 2 * ε) ∧ (∀ (I : Set ℝ) (J : ℝ → ℝ) (μ K ε : ℝ), (∀ y ∈ I, AbsolutelyContinuousOnInterval J 0 y) → ((∀ y ∈ I, |J y - (μ + K * y)| ≤ ε) ↔ ∀ y ∈ I, |responseResidual J μ K y| ≤ ε)) ∧ (∀ (I : Set ℝ) (J actual : ℝ → ℝ) (μ K ε : ℝ), (∀ y ∈ I, AbsolutelyContinuousOnInterval J 0 y) → ((∀ y ∈ I, |actual y - (μ + K * y)| ≤ ε) ↔ ∀ y ∈ I, |responseResidual J μ K y + actual y - J y| ≤ ε)) ∧ (∀ (J : ℝ → ℝ) (y h : ℝ), AbsolutelyContinuousOnInterval J (y - h) (y + h) → (J (y + h) - J (y - h)) / (2 * h) = (∫ (t : ℝ) in y - h..y + h, deriv J t) / (2 * h)) ∧ (∀ (I : Set ℝ) (J target d : ℝ → ℝ) (ε : ℝ), (∀ y ∈ I, 0 ≤ d y) → ((∀ (actual : ℝ → ℝ), (∀ y ∈ I, |actual y - J y| ≤ d y) → ∀ y ∈ I, |actual y - target y| ≤ ε) ↔ ∀ y ∈ I, |J y - target y| + d y ≤ ε)) ∧ (∀ (d M : ℝ), 0 ≤ d → (∀ (y : ℝ), |d * Real.sin (M * y)| ≤ d) ∧ HasDerivAt (fun (y : ℝ) => d * Real.sin (M * y)) (d * M) 0) ∧ ∀ (J actual d : ℝ → ℝ) (y h : ℝ), 0 < h → |actual (y + h) - J (y + h)| ≤ d (y + h) → |actual (y - h) - J (y - h)| ≤ d (y - h) → |(actual (y + h) - actual (y - h)) / (2 * h) - (J (y + h) - J (y - h)) / (2 * h)| ≤ (d (y + h) + d (y - h)) / (2 * h)

15.9.51, NC4. P: R is the supplied differentiable regular rest of the complete pooled target equation; its source data hold acquired W, q and the entire bank fixed. H: actual input/D/R*/psi derivatives, local rest identity and invertibility are explicit RestComparison fields; no computed gain is a field. C: F1 uses the actual active mask, full pool and inverse Jacobian. Differentiable cutoff contacts have zero derivative, rather than being discarded by an extra strict-margin premise. F3 retains the externally specified joint-world K (Cov(Z,Y)/Var(Y) when that Gaussian target is used), nonattained extrema and exact interval-intersection test. F4 uses absolute continuity and its almost-everywhere derivative, with its intercept and all signed cancellation intact. The robust amplitude-tube iff quantifies every allowed read, not a particular process's probability of success. A bounded sine perturbation proves there is no point-gain bound from amplitude alone; finite secants pay the two endpoint errors. No stationary/acquisition/filter existence, optimal Gaussian calibration, or stochastic derivative follows.

In One Mind, clause 60 of result 12.1: How likely a possibility seems, and when that is a classical probability · all its clauses in Lean
theorem MindFormal.LikelihoodCalculus.pn3_pulse_root :
(∀ (ν H : ℝ), ∫ (t : ℝ) in 0..H, ν * Real.exp (-ν * (H - t)) * (1 - Real.exp (-ν * t)) = newPulse (ν * H)) ∧ (∀ (z : ℝ), newPulse 0 = 0 ∧ oldPulse 0 = 0 ∧ oldPulse z = newPulse (2 * z) - newPulse z) ∧ (∀ (z : ℝ), newPulse z - oldPulse z = orderCoefficient z ∧ newPulse z + oldPulse z = 1 - (1 + 2 * z) * Real.exp (-(2 * z))) ∧ (∃! r : ℝ, 0 < r ∧ Real.exp r = 1 + 2 * r) ∧ (∀ (r : ℝ), 0 < r → Real.exp r = 1 + 2 * r → orderCoefficient 0 = 0 ∧ orderCoefficient r = 0 ∧ (∀ (z : ℝ), 0 < z → z < r → orderCoefficient z < 0) ∧ (∀ (z : ℝ), r < z → 0 < orderCoefficient z) ∧ ∀ (z : ℝ), 0 ≤ z → newPulse z + oldPulse z < 1) ∧ ∀ (z p q base x12 x21 e12 e21 : ℝ), |x12 - (base + p * oldPulse z + q * newPulse z)| ≤ e12 → |x21 - (base + q * oldPulse z + p * newPulse z)| ≤ e21 → |x12 - x21 - (q - p) * orderCoefficient z| ≤ e12 + e21 ∧ (e12 + e21 < |(q - p) * orderCoefficient z| → (0 < x12 - x21 ↔ 0 < (q - p) * orderCoefficient z) ∧ (x12 - x21 < 0 ↔ (q - p) * orderCoefficient z < 0))

15.9.60, PN3/J11. P: z=nu*H is the nonnegative dimensionless duration in PN3's balanced weak-feedback two-stage reference; the rows p,q and common entering term base are those comparison coefficients. H: actual native reads need their two separate finite read-error bounds, at the original PN3 holds. C: the second exponential adjustment is evaluated by convolution, the old coefficient is the step response at 2H minus that at H, and subtraction gives the factored coefficient. Strict convexity proves exactly one strictly positive root exp(r)=1+2r, zero coefficient at zero and r, negative below r and positive above r. Both coefficients vanish at zero duration. Their sum is strictly below one for nonnegative duration. Actual order signs transfer only when the leading contrast beats the sum of BOTH read errors. No native pulse acquisition, new lab/verbal response bridge, or automatic normalized probability is asserted by this calculation.