The formula \Delta u = \sum_{i=1}^n u_{x_ix_i} in
Evans (2010) combines a choice of coordinate derivatives
with assumptions under which they exist. We fix those operators and state the
regularity needed to interpret them classically.
The starting point is the Fréchet derivative, the linear first-order
approximation that carries the chain rule, the inverse function theorem, and
variational calculus in normed spaces. Out of that single notion we build the
gradient, divergence, and Laplacian as finite coordinate operations, so that
"u(x,y)=x^2-y^2 is harmonic" unfolds all the way down to iterated Fréchet
derivatives along basis directions. The
verified computer algebra system of the computation chapter uses the same
conventions. Asking it for the Laplacian of the model harmonic polynomial
#cas [ laplacian x , y ] #cas [laplacian x, y]
Domain: (x, y) ∈ ℝ^2
Input ( scalar ℝ ): (x ^ 2 - y ^ 2)
Output ( scalar ℝ ): 0
[CAS.Command.details] More details Variables: x, y [CAS.Command.computation] Analytic domain conditions Raw checked nonzero requirements: (none) Raw checked positivity requirements: (none) [CAS.Command.computation] Checked coordinate computations [CAS.Command.computation] Second partial ∂_x∂_x [CAS.Command.computation] Partial derivative in x [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: 2*x^1*1 - 2*y^1*0 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: 2*x additional nonzero requirements: (none) [CAS.Command.computation] Partial derivative in x [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: (0*x^1 + 2*1*x^0*1)*1 + 2*x^1*0 - (0*y^1 + 2*1*y^0*0)*0 - 2*y^1*0 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: 2 additional nonzero requirements: (none) summand: 2 [CAS.Command.computation] Second partial ∂_y∂_y [CAS.Command.computation] Partial derivative in y [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: 2*x^1*0 - 2*y^1*1 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally normalized result: -(2*y) [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: -2*y additional nonzero requirements: (none) [CAS.Command.computation] Partial derivative in y [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: (0*x^1 + 2*1*x^0*0)*0 + 2*x^1*0 - (0*y^1 + 2*1*y^0*1)*1 - 2*y^1*0 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: -2 additional nonzero requirements: (none) summand: -2 [CAS.Command.computation] Sum and normalize the diagonal second partials Summands: 2, -2 Normalized sum: 0 [CAS.explanation] Proof evidence [CAS.explanation.checkedEvidence] Checked proof steps [CAS.explanation.checkedStep] First partial in x: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] First partial in x: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ ( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] First partial in x: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] First partial in x: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
( fderiv ℝ (fun y ↦ CAS.Verified.Expr.eval y . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) x ) ( EuclideanSpace.single 0 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] Second partial in x: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] Second partial in x: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] Second partial in x: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] Second partial in x: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . nonzero →
( fderiv ℝ
(fun y ↦
CAS.Verified.Expr.eval y . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) )
x )
( EuclideanSpace.single 0 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] First partial in y: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] First partial in y: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ ( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] First partial in y: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] First partial in y: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
( fderiv ℝ (fun y ↦ CAS.Verified.Expr.eval y . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) x ) ( EuclideanSpace.single 1 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] Second partial in y: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] Second partial in y: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] Second partial in y: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] Second partial in y: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . nonzero →
( fderiv ℝ
(fun y ↦
CAS.Verified.Expr.eval y . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) )
x )
( EuclideanSpace.single 1 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] Analytic Laplacian assembly Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) →
(∀ ( i : Fin 2 ), CAS.Verified.Expr.ValidAt x . ofLp ( CAS.Verified.Expr.diff i ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) →
CAS.Verified.Expr.eval x . ofLp ( Δₛ ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) =
PDE.laplacian (fun y ↦ CAS.Verified.Expr.eval y . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) x Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.closedLaplacian_eval_eq_laplacian [CAS.explanation.plannerMetadata] Planner metadata (not proof) ( x ^ 2 - y ^ 2 )
produces a checked zero residual, rendered from the compiler's own output:
Expand... #cas [laplacian x, y]
Domain: (x, y) ∈ ℝ^2
Input ( scalar ℝ ): (x ^ 2 - y ^ 2)
Output ( scalar ℝ ): 0
[CAS.Command.details] More details Variables: x, y [CAS.Command.computation] Analytic domain conditions Raw checked nonzero requirements: (none) Raw checked positivity requirements: (none) [CAS.Command.computation] Checked coordinate computations [CAS.Command.computation] Second partial ∂_x∂_x [CAS.Command.computation] Partial derivative in x [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: 2*x^1*1 - 2*y^1*0 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: 2*x additional nonzero requirements: (none) [CAS.Command.computation] Partial derivative in x [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: (0*x^1 + 2*1*x^0*1)*1 + 2*x^1*0 - (0*y^1 + 2*1*y^0*0)*0 - 2*y^1*0 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: 2 additional nonzero requirements: (none) summand: 2 [CAS.Command.computation] Second partial ∂_y∂_y [CAS.Command.computation] Partial derivative in y [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: 2*x^1*0 - 2*y^1*1 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally normalized result: -(2*y) [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: -2*y additional nonzero requirements: (none) [CAS.Command.computation] Partial derivative in y [CAS.Command.computation] 1. Apply symbolic differentiation rules raw result: (0*x^1 + 2*1*x^0*0)*0 + 2*x^1*0 - (0*y^1 + 2*1*y^0*1)*1 - 2*y^1*0 [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally [CAS.Command.computation] 3. Apply checked side-conditioned cleanup displayed result: -2 additional nonzero requirements: (none) summand: -2 [CAS.Command.computation] Sum and normalize the diagonal second partials Summands: 2, -2 Normalized sum: 0 [CAS.explanation] Proof evidence [CAS.explanation.checkedEvidence] Checked proof steps [CAS.explanation.checkedStep] First partial in x: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] First partial in x: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ ( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] First partial in x: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] First partial in x: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
( fderiv ℝ (fun y ↦ CAS.Verified.Expr.eval y . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) x ) ( EuclideanSpace.single 0 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] Second partial in x: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] Second partial in x: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] Second partial in x: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] Second partial in x: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . nonzero →
( fderiv ℝ
(fun y ↦
CAS.Verified.Expr.eval y . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) )
x )
( EuclideanSpace.single 0 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 0
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] First partial in y: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] First partial in y: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ ( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] First partial in y: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] First partial in y: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . nonzero →
( fderiv ℝ (fun y ↦ CAS.Verified.Expr.eval y . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) x ) ( EuclideanSpace.single 1 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1 ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] Second partial in y: indexed rules compute Expr.diff Proposition: ( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . rawDerivative =
CAS.Verified.Expr.diff 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff [CAS.explanation.checkedStep] Second partial in y: normalization preserves evaluation Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . simplifiedDerivative =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . rawDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative [CAS.explanation.checkedStep] Second partial in y: side-conditioned display normalization Proposition: ∀ ( ρ : Fin 2 → ℝ ),
CAS.Verified.Expr.Alg.SideHolds ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . nonzero →
CAS.Verified.Expr.eval ρ
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . rhs =
CAS.Verified.Expr.eval ρ
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) . simplifiedDerivative Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.displayDerivativeRoute_sound [CAS.explanation.checkedStep] Second partial in y: analytic semantics of the displayed result Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) →
CAS.Verified.Expr.Alg.SideHolds x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . nonzero →
( fderiv ℝ
(fun y ↦
CAS.Verified.Expr.eval y . ofLp
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) )
x )
( EuclideanSpace.single 1 1 ) =
CAS.Verified.Expr.eval x . ofLp
( CAS.Command.displayDerivativeRoute
( CAS.Verified.Expr.DiffDerivation.build 1
( ( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 0 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 0 ) ) . sub
( ( ( CAS.Verified.Expr.nat 2 ) . mul ( 𝕏[ 1 ] . pow 1 ) ) . mul ( CAS.Verified.Expr.nat 1 ) ) ) ) ) . rhs Validation: proof term checked by the kernel against this proposition Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative [CAS.explanation.checkedStep] Analytic Laplacian assembly Proposition: ∀ ( x : ℝ^ 2 ),
CAS.Verified.Expr.ValidAt x . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) →
(∀ ( i : Fin 2 ), CAS.Verified.Expr.ValidAt x . ofLp ( CAS.Verified.Expr.diff i ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) ) →
CAS.Verified.Expr.eval x . ofLp ( Δₛ ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) =
PDE.laplacian (fun y ↦ CAS.Verified.Expr.eval y . ofLp ( ( 𝕏[ 0 ] . pow 2 ) . sub ( 𝕏[ 1 ] . pow 2 ) ) ) x Validation: proof term checked by the kernel against this proposition Theorem: CAS.Verified.Expr.closedLaplacian_eval_eq_laplacian [CAS.explanation.plannerMetadata] Planner metadata (not proof) The calculation certifies \Delta(x^2-y^2)=2-2=0 for the same coordinate
Laplacian used in the later analytic statements.
On the unit disk, this polynomial is harmonic but does not solve the
zero-boundary Dirichlet problem: its boundary values at (1,0) and
(0,1) are 1 and -1. On the circle
(x,y)=(\cos\theta,\sin\theta), its boundary datum is
\cos(2\theta). The residual calculation verifies the interior equation;
the boundary calculation determines which Dirichlet problem it solves.
In a polynomial heat solution ,
the spatial Laplacian instead balances a time derivative.
A residual can vanish at every point while the boundary condition is
still unproved. A derivative term exists in Lean whether or not the function is
differentiable, because fderiv is a total function. A distributional identity
can hold without a locally integrable representative. The solution predicates
state separately which identities and regularity conditions are required.
Poisson: −Δu = f on a bounded smooth Ω classical u ∈ C², −Δu = f distributional ∫ u(−Δφ) = ∫ fφ semigroup evolution u(t) = S(t)u₀ uₜ = Au; a separate equation viscosity smooth tests touch u weak u ∈ H¹, ∫ ∇u·∇v = ∫ fv variational minimize E; fixed trace by parts u ∈ H¹ restrict tests u ∈ C² δE = 0 E convex regularity under the stated setting also needs the labelled hypothesis Five formulations of Poisson's equation . For \(-\Delta u=f\), take a bounded smooth domain \(\Omega\) and continuous \(f\) on its closure. A locally integrable distributional solution tests against \(\varphi\in C_c^\infty(\Omega)\). If also \(u\in H^1(\Omega)\), density extends the identity to every \(v\in H_0^1(\Omega)\). On a fixed trace class, the weak equation is the first-variation condition for the convex energy \(E(u)=\tfrac12\int_\Omega|\nabla u|^2-\int_\Omega fu\), hence is equivalent to minimizing it. Viscosity solutions use smooth functions touching \(u\) from above and below. The dashed arrows need the labelled regularity; weak solvability alone does not give \(C^2\). The separate semigroup box concerns evolution \(u_t=Au\). PDEAtlas develops semigroup tools as well as weak evolution on Gelfand triples.The routes in the figure share these operators, but require different evidence
about a proposed solution. A classical calculation supplies pointwise
identities; a weak formulation pairs the function with test functions; an
existence proof constructs an object satisfying the chosen formulation.
Integration by parts relates classical and weak formulations; regularity
can recover classical derivatives from a weak solution.
Well-posedness asks a further question about a whole family of problems.
For each allowed datum, does a solution exist, is it unique in the chosen
class, and do small changes in the data produce small changes in the solution?
The word “small” needs a topology on both spaces. The
well-posedness definition is
introduced through a Dirichlet problem on an interval, where all three
requirements are visible in one calculation. Regularity asks how many
derivatives that solution has; it is a separate conclusion.
For differentiable initial data g and constant velocity b, transport
has the classical solution u(x,t)=g(x-tb). The chain rule gives
u_t=-b\cdot\nabla g(x-tb) and \nabla_xu=\nabla g(x-tb), so
u_t+b\cdot\nabla_xu=0; substituting t=0 gives the initial datum.
3.1.2. Main objects🔗 Finite-dimensional space is Mathlib's Euclidean type \mathbb R^n.
Spacetime points carry a distinguished time coordinate and a spatial
projection. Coordinate derivatives are derived from Mathlib's Fréchet
derivative, and the familiar operators are finite coordinate constructions
built on top of it:
\nabla u = (\partial_1 u,\dots,\partial_n u),\qquad
\operatorname{div} F = \sum_{i=1}^n \partial_i F_i,\qquad
\Delta u = \sum_{i=1}^n \partial_i\partial_i u.
The coordinate identity \Delta u = \operatorname{div}(\nabla u) holds
unconditionally for these total Lean expressions. Interpreting them as
classical derivatives requires regularity. In particular, local C^2
regularity identifies this iterated-coordinate Laplacian with Mathlib's
Laplacian defined through the second Fréchet derivative.
A locally integrable function f
acts on compactly supported smooth test functions \varphi by integration,
\varphi \mapsto \int f\varphi, and distributional differentiation pushes the
derivative onto the test function with the usual sign:
\langle \partial_i T, \varphi\rangle = -\langle T, \partial_i\varphi\rangle.
Distributional differentiation also gives meaning to derivatives of
discontinuous functions. The standard illustration is the Heaviside step
function on \mathbb R. It has no derivative at the origin in any pointwise
sense, and yet its distributional derivative is the Dirac mass \delta_0,
because -\int_0^\infty \varphi'(x)\,dx = \varphi(0) for every test function
\varphi. PDE theory needs this much generality. Solutions of hyperbolic
conservation laws grow jumps like that in finite time, and elliptic theory has
to cope with forcing terms that are rough to begin with.
The second Green identity on a ball
relates the interior equations of two C^2 functions to their values and
normal derivatives on the sphere. Gauss–Green extends this calculation to
bounded C^1 graph domains, using intrinsic surface measure and outward normals.