|
1 | | -(* mathcomp analysis (c) 2017 Inria and AIST. License: CeCILL-C. *) |
| 1 | +(* mathcomp analysis (c) 2025 Inria and AIST. License: CeCILL-C. *) |
2 | 2 | From HB Require Import structures. |
3 | 3 | From mathcomp Require Import all_ssreflect ssralg ssrnum matrix interval poly. |
4 | 4 | From mathcomp Require Import sesquilinear. |
@@ -174,7 +174,7 @@ Proof. by move=> ?; apply: DiffDef. Qed. |
174 | 174 |
|
175 | 175 | Section jacobian. |
176 | 176 |
|
177 | | -Definition jacobian n m (R : numFieldType) (f : 'rV[R]_n.+1 -> 'rV[R]_m.+1) p := |
| 177 | +Definition jacobian n m (R : numFieldType) (f : 'rV[R]_n -> 'rV[R]_m) p := |
178 | 178 | lin1_mx ('d f p). |
179 | 179 |
|
180 | 180 | End jacobian. |
@@ -352,7 +352,7 @@ Section DifferentialR2. |
352 | 352 | Variable R : numFieldType. |
353 | 353 | Implicit Type (V : normedModType R). |
354 | 354 |
|
355 | | -Lemma deriveEjacobian m n (f : 'rV[R]_m.+1 -> 'rV[R]_n.+1) (a v : 'rV[R]_m.+1) : |
| 355 | +Lemma deriveEjacobian m n (f : 'rV[R]_m -> 'rV[R]_n) (a v : 'rV[R]_m) : |
356 | 356 | differentiable f a -> 'D_ v f a = v *m jacobian f a. |
357 | 357 | Proof. by move=> /deriveE->; rewrite /jacobian mul_rV_lin1. Qed. |
358 | 358 |
|
@@ -684,10 +684,10 @@ apply: DiffDef; first exact/linear_differentiable/scalel_continuous. |
684 | 684 | by rewrite diff_lin //; apply: scalel_continuous. |
685 | 685 | Qed. |
686 | 686 |
|
687 | | -Lemma differentiable_coord m n (M : 'M[R]_(m.+1, n.+1)) i j : |
688 | | - differentiable (fun N : 'M[R]_(m.+1, n.+1) => N i j : R ) M. |
| 687 | +Lemma differentiable_coord m n (M : 'M[R]_(m, n)) i j : |
| 688 | + differentiable (fun N : 'M[R]_(m, n) => N i j : R ) M. |
689 | 689 | Proof. |
690 | | -have @f : {linear 'M[R]_(m.+1, n.+1) -> R}. |
| 690 | +have @f : {linear 'M[R]_(m, n) -> R}. |
691 | 691 | by exists (fun N : 'M[R]_(_, _) => N i j); do 2![eexists]; do ?[constructor]; |
692 | 692 | rewrite ?mxE// => ? *; rewrite ?mxE//; move=> ?; rewrite !mxE. |
693 | 693 | rewrite (_ : (fun _ => _) = f) //; exact/linear_differentiable/coord_continuous. |
|
0 commit comments