Skip to content

Commit

Permalink
Addd some functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalCreator666 committed Jan 17, 2025
1 parent b29f7b4 commit c99541e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
12 changes: 12 additions & 0 deletions DeRhamCohomology/ContinuousAlternatingMap/Curry.lean
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ def uncurrySum.summand (f : E [⋀^ι]→L[𝕜] E [⋀^ι']→L[𝕜] F) (σ :
simp [ContinuousMultilinearMap.flipAlternating]
rfl

theorem uncurrySum.summand_mk'' (f : E [⋀^ι]→L[𝕜] E [⋀^ι']→L[𝕜] F) (σ : Equiv.Perm (ι ⊕ ι')) :
uncurrySum.summand f (Quotient.mk'' σ) = Equiv.Perm.sign σ •
(ContinuousMultilinearMap.uncurrySum
(f.toContinuousMultilinearMap.flipAlternating.toContinuousMultilinearMap.flipMultilinear) :
ContinuousMultilinearMap 𝕜 (fun _ => E) F).domDomCongr σ :=
rfl

/-- Swapping elements in `σ` with equal values in `v` results in an addition that cancels -/
theorem uncurrySum.summand_add_swap_smul_eq_zero (f : E [⋀^ι]→L[𝕜] E [⋀^ι']→L[𝕜] F)
(σ : Equiv.Perm.ModSumCongr ι ι') {v : ι ⊕ ι' → E}
Expand Down Expand Up @@ -198,6 +205,11 @@ def uncurrySum (f : E [⋀^ι]→L[𝕜] E [⋀^ι']→L[𝕜] F) : E [⋀^ι
(fun σ _ => Finset.mem_univ _) fun σ _ =>
Equiv.swap_smul_involutive i j σ }

theorem uncurrySum_coe (f : E [⋀^ι]→L[𝕜] E [⋀^ι']→L[𝕜] F) :
((uncurrySum f).toContinuousMultilinearMap : ContinuousMultilinearMap 𝕜 (fun _ => E) F) =
∑ σ : Equiv.Perm.ModSumCongr ι ι', uncurrySum.summand f σ :=
ContinuousMultilinearMap.ext fun _ => rfl

def uncurryFinAdd (f : E [⋀^Fin m]→L[𝕜] E [⋀^Fin n]→L[𝕜] F) :
E [⋀^Fin (m + n)]→L[𝕜] F :=
ContinuousAlternatingMap.domDomCongr finSumFinEquiv (uncurrySum f)
Expand Down
11 changes: 9 additions & 2 deletions DeRhamCohomology/ContinuousAlternatingMap/Wedge.lean
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,18 @@ theorem wedge_product_lsmul {g : M [⋀^Fin m]→L[𝕜] 𝕜} {h : M [⋀^Fin n
/- Associativity of wedge product -/
theorem wedge_assoc (g : M [⋀^Fin m]→L[𝕜] N) (h : M [⋀^Fin n]→L[𝕜] N) (f : N →L[𝕜] N →L[𝕜] N)
(l : M [⋀^Fin p]→L[𝕜] N) (f' : N →L[𝕜] N →L[𝕜] N) :
ContinuousAlternatingMap.domDomCongr finAssoc.symm (g ∧[f] h ∧[f'] l) = ((g ∧[f] h) ∧[f'] l) := by sorry
ContinuousAlternatingMap.domDomCongr finAssoc.symm (g ∧[f] h ∧[f'] l) = ((g ∧[f] h) ∧[f'] l) := by
rw[wedge_product, ContinuousLinearMap.compContinuousAlternatingMap₂, uncurryFinAdd,
uncurrySum, ContinuousAlternatingMap.ext_iff]
intro x
sorry

/- Left distributivity of wedge product -/
theorem add_wedge (g₁ g₂ : M [⋀^Fin m]→L[𝕜] N) (h : M [⋀^Fin n]→L[𝕜] N') (f : N →L[𝕜] N' →L[𝕜] N'') :
((g₁ + g₂) ∧[f] h) = (g₁ ∧[f] h) + (g₂ ∧[f] h) := by sorry
((g₁ + g₂) ∧[f] h) = (g₁ ∧[f] h) + (g₂ ∧[f] h) := by
ext x
sorry


/- Right distributivity of wedge product -/
theorem wedge_add (g : M [⋀^Fin m]→L[𝕜] N) (h₁ h₂ : M [⋀^Fin n]→L[𝕜] N') (f : N →L[𝕜] N' →L[𝕜] N'') :
Expand Down

0 comments on commit c99541e

Please sign in to comment.