The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Normed.Module.Alternating.Uncurry.Fin
19 declarations. Mathlib docs · Source
Uncurrying continuous alternating maps
Given a continuous function f which is linear in the first argument
and is alternating form in the other n arguments,
this file defines a continuous alternating form ContinuousAlternatingMap.alternatizeUncurryFin f
in n + 1 arguments.
This function is given by
ContinuousAlternatingMap.alternatizeUncurryFin f v =
∑ i : Fin (n + 1), (-1) ^ (i : ℕ) • f (v i) (removeNth i v)
Given a continuous alternating map f of n + 1 arguments,
each term in the sum above written for f.curryLeft equals the original map,
thus f.curryLeft.alternatizeUncurryFin = (n + 1) • f.
We do not multiply the result of alternatizeUncurryFin by (n + 1)⁻¹
so that the construction works for 𝕜-multilinear maps over any normed field 𝕜,
not only a field of characteristic zero.
Main results
-
ContinuousAlternatingMap.alternatizeUncurryFin_curryLeft: the round-trip formula for currying/uncurrying, see above. -
ContinuousAlternatingMap.alternatizeUncurryFin_alternatizeUncurryFinLM_comp_of_symmetric: Iffis a symmetric bilinear map taking values in the space of continuous alternating maps, then the twice uncurriedfis zero.
The latter theorem will be used to prove that the second exterior derivative of a differential form is zero.
theorem ContinuousAlternatingMap.constOfIsEmptyLIE.congr_simp E1 #
∀ (𝕜 : Type u) (E : Type wE) (F : Type wF) (ι : Type v) [inst : NontriviallyNormedField 𝕜]
[inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : SeminormedAddCommGroup F]
[inst_4 : NormedSpace 𝕜 F] [inst_5 : Fintype ι] [inst_6 : IsEmpty ι],
ContinuousAlternatingMap.constOfIsEmptyLIE 𝕜 E F ι = ContinuousAlternatingMap.constOfIsEmptyLIE 𝕜 E F ι
theorem ContinuousAlternatingMap.map_insertNth E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E [⋀^Fin (n + 1)]→L[𝕜] F) (p : Fin (n + 1)) (x : E) (v : Fin n → E),
f (p.insertNth x v) = (-1) ^ ↑p • f (Matrix.vecCons x v)
If f is a continuous (n + 1)-multilinear alternating map, x is an element of the domain,
and v is an n-vector, then the value of f at v with x inserted at the pth place
equals (-1) ^ p times the value of f at v with x prepended.
theorem ContinuousAlternatingMap.neg_one_pow_smul_map_insertNth E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E [⋀^Fin (n + 1)]→L[𝕜] F) (p : Fin (n + 1)) (x : E) (v : Fin n → E),
(-1) ^ ↑p • f (p.insertNth x v) = f (Matrix.vecCons x v)
theorem ContinuousAlternatingMap.neg_one_pow_smul_map_removeNth_add_eq_zero_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ} (f : E [⋀^Fin n]→L[𝕜] F)
{v : Fin (n + 1) → E} {i j : Fin (n + 1)},
v i = v j → i ≠ j → (-1) ^ ↑i • f (i.removeNth v) + (-1) ^ ↑j • f (j.removeNth v) = 0
Let v be an (n + 1)-tuple with two equal elements v i = v j, i ≠ j.
Let w i (resp., w j) be the vector v with ith (resp., jth) element removed.
Then (-1) ^ i • f (w i) + (-1) ^ j • f (w j) = 0.
This follows from the fact that these two vectors differ by a permutation of sign (-1) ^ (i + j).
These are the only two nonzero terms in the proof of map_eq_zero_of_eq
in the definition of AlternatingMap.alternatizeUncurryFin.
def ContinuousAlternatingMap.alternatizeUncurryFinCLM E1 #
(𝕜 : Type u_1) →
(E : Type u_2) →
(F : Type u_3) →
[inst : NontriviallyNormedField 𝕜] →
[inst_1 : NormedAddCommGroup E] →
[inst_2 : NormedSpace 𝕜 E] →
[inst_3 : NormedAddCommGroup F] →
[inst_4 : NormedSpace 𝕜 F] → {n : ℕ} → (E →L[𝕜] E [⋀^Fin n]→L[𝕜] F) →L[𝕜] E [⋀^Fin (n + 1)]→L[𝕜] F
AlternatingMap.alternatizeUncurryFin as a continuous linear map.
theorem ContinuousAlternatingMap.norm_alternatizeUncurryFinCLM_le E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ},
‖ContinuousAlternatingMap.alternatizeUncurryFinCLM 𝕜 E F‖ ≤ ↑n + 1
def ContinuousAlternatingMap.alternatizeUncurryFin E1 #
{𝕜 : Type u_1} →
{E : Type u_2} →
{F : Type u_3} →
[inst : NontriviallyNormedField 𝕜] →
[inst_1 : NormedAddCommGroup E] →
[inst_2 : NormedSpace 𝕜 E] →
[inst_3 : NormedAddCommGroup F] →
[inst_4 : NormedSpace 𝕜 F] → {n : ℕ} → (E →L[𝕜] E [⋀^Fin n]→L[𝕜] F) → E [⋀^Fin (n + 1)]→L[𝕜] F
Given a continuous function which is linear in the first argument
and is alternating in the other n arguments,
build a continuous alternating form in n + 1 arguments.
The function is given by
alternatizeUncurryFin f v = ∑ i : Fin (n + 1), (-1) ^ (i : ℕ) • f (v i) (removeNth i v)
Note that the round-trip with curryLeft multiplies the form by n + 1,
since we want to avoid division in this definition.
theorem ContinuousAlternatingMap.alternatizeUncurryFinCLM_apply E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E →L[𝕜] E [⋀^Fin n]→L[𝕜] F),
(ContinuousAlternatingMap.alternatizeUncurryFinCLM 𝕜 E F) f = ContinuousAlternatingMap.alternatizeUncurryFin f
theorem ContinuousAlternatingMap.norm_alternatizeUncurryFin_le E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E →L[𝕜] E [⋀^Fin n]→L[𝕜] F), ‖ContinuousAlternatingMap.alternatizeUncurryFin f‖ ≤ (↑n + 1) * ‖f‖
theorem ContinuousAlternatingMap.alternatizeUncurryFin_apply E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E →L[𝕜] E [⋀^Fin n]→L[𝕜] F) (v : Fin (n + 1) → E),
(ContinuousAlternatingMap.alternatizeUncurryFin f) v = ∑ i, (-1) ^ ↑i • (f (v i)) (i.removeNth v)
theorem ContinuousAlternatingMap.toAlternatingMap_alternatizeUncurryFin E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E →L[𝕜] E [⋀^Fin n]→L[𝕜] F),
(ContinuousAlternatingMap.alternatizeUncurryFin f).toAlternatingMap =
AlternatingMap.alternatizeUncurryFin (ContinuousAlternatingMap.toAlternatingMapLinear ∘ₗ ↑f)
theorem ContinuousAlternatingMap.alternatizeUncurryFin_add E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f g : E →L[𝕜] E [⋀^Fin n]→L[𝕜] F),
ContinuousAlternatingMap.alternatizeUncurryFin (f + g) =
ContinuousAlternatingMap.alternatizeUncurryFin f + ContinuousAlternatingMap.alternatizeUncurryFin g
theorem ContinuousAlternatingMap.alternatizeUncurryFin_curryLeft E3 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E [⋀^Fin (n + 1)]→L[𝕜] F), ContinuousAlternatingMap.alternatizeUncurryFin f.curryLeft = (n + 1) • f
theorem ContinuousAlternatingMap.alternatizeUncurryFin_smul E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ} {S : Type u_5}
[inst_5 : Monoid S] [inst_6 : DistribMulAction S F] [inst_7 : ContinuousConstSMul S F] [inst_8 : SMulCommClass 𝕜 S F]
(c : S) (f : E →L[𝕜] E [⋀^Fin n]→L[𝕜] F),
ContinuousAlternatingMap.alternatizeUncurryFin (c • f) = c • ContinuousAlternatingMap.alternatizeUncurryFin f
theorem ContinuousAlternatingMap.alternatizeUncurryFin_constOfIsEmptyLIE_comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] (f : E →L[𝕜] F),
ContinuousAlternatingMap.alternatizeUncurryFin (↑↑(ContinuousAlternatingMap.constOfIsEmptyLIE 𝕜 E F (Fin 0)) ∘SL f) =
(ContinuousAlternatingMap.ofSubsingleton 𝕜 E F 0) f
theorem ContinuousAlternatingMap.alternatizeUncurryFin_alternatizeUncurryFinCLM_comp_apply E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
(f : E →L[𝕜] E →L[𝕜] E [⋀^Fin n]→L[𝕜] F) (v : Fin (n + 2) → E),
(ContinuousAlternatingMap.alternatizeUncurryFin (ContinuousAlternatingMap.alternatizeUncurryFinCLM 𝕜 E F ∘SL f)) v =
∑ i,
∑ j ≥ i,
(-1) ^ (↑i + ↑j) •
(((f (v i.castSucc)) (v j.succ)) (j.removeNth (i.castSucc.removeNth v)) -
((f (v j.succ)) (v i.castSucc)) (j.removeNth (i.castSucc.removeNth v)))
If f is a continuous bilinear map taking values in the space of continuous alternating maps,
then evaluation of the twice uncurried f on a tuple of vectors v
can be represented as a sum of
$$ f(v_i, v_j; v_0, \dots, \hat{v_i}, \dots, \hat{v_j}, \dots, v_{n+1}) - f(v_j, v_i; v_0, \dots, \hat{v_i}, \dots, \hat{v_j}, \dots, v_{n+1}) $$
over all (i j : Fin (n + 2)), i < j, taken with appropriate signs.
Here $\hat{v_i}$ and $\hat{v_j}$ mean that these vectors are removed from the tuple.
We use pairs of i j : Fin (n + 1), i ≤ j,
to encode pairs (i.castSucc : Fin (n + 2), j.succ : Fin (n + 2)),
so the power of -1 is off by one compared to the informal texts.
In particular, if f is symmetric in the first two arguments,
then the resulting alternating map is zero,
see alternatizeUncurryFin_alternatizeUncurryFinCLM_comp_of_symmetric below.
theorem ContinuousAlternatingMap.alternatizeUncurryFin_alternatizeUncurryFinCLM_comp_of_symmetric E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {n : ℕ}
{f : E →L[𝕜] E →L[𝕜] E [⋀^Fin n]→L[𝕜] F},
(∀ (x y : E), (f x) y = (f y) x) →
ContinuousAlternatingMap.alternatizeUncurryFin (ContinuousAlternatingMap.alternatizeUncurryFinCLM 𝕜 E F ∘SL f) = 0
If f is a symmetric continuous bilinear map
taking values in the space of continuous alternating maps,
then the twice uncurried f is zero.
theorem ContinuousAlternatingMap.fderivCompContinuousLinearMap_eq_alternatizeUncurryFin E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {n : ℕ} (f : F [⋀^Fin (n + 1)]→L[𝕜] G) (g : E →L[𝕜] F),
f.fderivCompContinuousLinearMap g =
ContinuousAlternatingMap.alternatizeUncurryFinCLM 𝕜 E G ∘SL
ContinuousLinearMap.postcomp E (ContinuousAlternatingMap.compContinuousLinearMapCLM g ∘SL f.curryLeft)
The derivative of compContinuousLinearMap can be represented
in terms of alternatizeUncurryFinCLM.
theorem ContinuousAlternatingMap.alternatizeUncurryFin_fderivCompContinuousLinearMap_eq_zero E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {n : ℕ} (f : F [⋀^Fin n]→L[𝕜] G) (g : E →L[𝕜] F)
{h : E →L[𝕜] E →L[𝕜] F},
(∀ (x y : E), (h x) y = (h y) x) →
ContinuousAlternatingMap.alternatizeUncurryFin (f.fderivCompContinuousLinearMap g ∘SL h) = 0
alternatizeUncurryFin of fderivCompContinuousLinearMap f g
composed with a symmetric bilinear map is zero.