MindFormal v1.0.0One Mind

MindFormal.Tools.ScalarExit.Tilt

theorem MindFormal.ScalarExit.cross_integral (f g w : ℝ → ℝ) (hf : Continuous f) (hg : Continuous g) (hw : Continuous w) (L : ℝ) :
∫ (z : ℝ) (y : ℝ) in 0..L, (w z - w y) * (f z * g y - f y * g z) = 2 * (((∫ (z : ℝ) in 0..L, w z * f z) * ∫ (z : ℝ) in 0..L, g z) - (∫ (z : ℝ) in 0..L, f z) * ∫ (z : ℝ) in 0..L, w z * g z)

The symmetrized covariance identity on a compact interval.

theorem MindFormal.ScalarExit.quadratic_moment_order {K d L : ℝ} (hK : 0 < K) (hd : 0 < d) (hL : 0 < L) :
moment 2 K (-d) L * mass K d L < moment 2 K d L * mass K (-d) L

Strict likelihood-ratio ordering raises the quadratic moment. This is OC1.9's product-density argument; its strict inequality is proved by integration.

theorem MindFormal.ScalarExit.accuracy_derivative_K (K d : ℝ) {L : ℝ} (hL : 0 < L) :
HasDerivAt (fun (q : ℝ) => accuracy q d L) (((moment 2 K d L + 2 * d * moment 1 K d L) * mass K (-d) L - mass K d L * (moment 2 K (-d) L - 2 * d * moment 1 K (-d) L)) / (mass K d L + mass K (-d) L) ^ 2) K

The noise-scale derivative includes both the quadratic tilt and the signed first moments; neither term is discarded.

theorem MindFormal.ScalarExit.accuracy_derivative_K_pos {K d L : ℝ} (hK : 0 < K) (hd : 0 < d) (hL : 0 < L) :
0 < deriv (fun (q : ℝ) => accuracy q d L) K