MindFormal v1.0.0One Mind

MindFormal.Tools.ScalarExit.TargetDerivatives

theorem MindFormal.ScalarExit.joint_derivative_comp (f : ℝ × ℝ → ℝ) (u v : ℝ → ℝ) {x du dv : ℝ} (hf : DifferentiableAt ℝ f (u x, v x)) (hu : HasDerivAt u du x) (hv : HasDerivAt v dv x) :
HasDerivAt (fun (y : ℝ) => f (u y, v y)) (deriv (fun (z : ℝ) => f (z, v x)) (u x) * du + deriv (fun (z : ℝ) => f (u x, z)) (v x) * dv) x

The two-variable chain rule, with both partials computed from the same Fréchet derivative. Separate partial differentiability is not substituted.

theorem MindFormal.ScalarExit.mass_joint_differentiable {K : ℝ} (hK : 0 < K) :
Differentiable ℝ fun (p : ℝ × ℝ) => mass K p.1 p.2

Joint regularity follows from the exact erfi primitive, including the moving endpoint; the single-variable partials alone would not suffice.

theorem MindFormal.ScalarExit.accuracy_joint_differentiable {K d L : ℝ} (hK : 0 < K) (hL : 0 < L) :
DifferentiableAt ℝ (fun (p : ℝ × ℝ) => accuracy K p.1 p.2) (d, L)
theorem MindFormal.ScalarExit.gap_target_derivatives {K a t₁ t₂ : ℝ} (hK : 0 < K) (hL : 0 < 2 * a - (t₁ + t₂)) (F : ℝ → ℝ) (hF : DifferentiableAt ℝ F (2 * a - (t₁ + t₂))) :
HasDerivAt (fun (q : ℝ) => F (2 * a - (q + t₂)) - accuracy K (q - t₂) (2 * a - (q + t₂))) (-deriv F (2 * a - (t₁ + t₂)) + deriv (accuracy K (t₁ - t₂)) (2 * a - (t₁ + t₂)) - deriv (fun (d : ℝ) => accuracy K d (2 * a - (t₁ + t₂))) (t₁ - t₂)) t₁ ∧ HasDerivAt (fun (q : ℝ) => F (2 * a - (t₁ + q)) - accuracy K (t₁ - q) (2 * a - (t₁ + q))) (-deriv F (2 * a - (t₁ + t₂)) + deriv (accuracy K (t₁ - t₂)) (2 * a - (t₁ + t₂)) + deriv (fun (d : ℝ) => accuracy K d (2 * a - (t₁ + t₂))) (t₁ - t₂)) t₂

OC1.10's two target derivatives retain the prescribed matched-total preparation, so each changes both discrimination and the boundary lead.