File size: 3,377 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import Mathlib.Analysis.Calculus.DifferentialForm.Basic
import Mathlib.Analysis.Calculus.ContDiff.Operations
import Mathlib.Analysis.Complex.Basic

/-! # Basic -/

namespace OAI.Analysis.DifferentialForms.Manifold.Basic

/-!
# Smooth complex-valued real differential forms on a normed space

The tangent space of a real normed vector space is canonically the vector space
itself. A differential form is therefore a smoothly varying continuous real
alternating multilinear map. The coefficients are complex, and scalar
multiplication acts on these coefficients, not on the real tangent arguments.
-/

open scoped ContDiff

variable (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E]

/-- The value of a complex-valued real differential form at one point. -/
abbrev FormValue (n : β„•) := E [β‹€^Fin n]β†’L[ℝ] β„‚

/-- An unbundled complex-valued real differential form. -/
abbrev RawForm (n : β„•) := E β†’ FormValue E n

/-- Actual infinitely differentiable forms form a complex linear subspace. -/
def smoothFormSubmodule (n : β„•) : Submodule β„‚ (RawForm E n) where
  carrier := {form | ContDiff ℝ ∞ form}
  zero_mem' := by
    change ContDiff ℝ ∞ (fun _ : E => (0 : FormValue E n))
    exact contDiff_const
  add_mem' := by
    intro form otherForm hform hotherForm
    change ContDiff ℝ ∞ form at hform
    change ContDiff ℝ ∞ otherForm at hotherForm
    change ContDiff ℝ ∞ (fun x => form x + otherForm x)
    exact hform.add hotherForm
  smul_mem' := by
    intro c form hform
    change ContDiff ℝ ∞ form at hform
    change ContDiff ℝ ∞ (fun x => c β€’ form x)
    exact hform.const_smul c

/-- A bundled smooth complex-valued real differential form. -/
abbrev SmoothForm (n : β„•) := β†₯(smoothFormSubmodule E n)

namespace SmoothForm

variable {E} {n : β„•}

instance : CoeFun (SmoothForm E n) (fun _ => RawForm E n) := ⟨fun form => form.1⟩

/-- The smoothness proof is part of the subtype, with its usual analytic meaning. -/
theorem smooth (form : SmoothForm E n) : ContDiff ℝ ∞ (form : RawForm E n) := form.2

/-- Bundle a genuinely smooth form. -/
def ofSmooth (form : RawForm E n) (hform : ContDiff ℝ ∞ form) : SmoothForm E n := ⟨form, hform⟩

@[simp] theorem ofSmooth_apply (form : RawForm E n) (hform : ContDiff ℝ ∞ form) (x : E) :
    ofSmooth form hform x = form x := rfl

@[ext] theorem ext {form otherForm : SmoothForm E n} (h : βˆ€ x, form x = otherForm x) : form = otherForm :=
  Subtype.ext (funext h)

@[simp] theorem zero_apply (x : E) : (0 : SmoothForm E n) x = 0 := rfl

@[simp] theorem add_apply (form otherForm : SmoothForm E n) (x : E) :
    (form + otherForm) x = form x + otherForm x := rfl

@[simp] theorem neg_apply (form : SmoothForm E n) (x : E) : (-form) x = -form x := rfl

@[simp] theorem sub_apply (form otherForm : SmoothForm E n) (x : E) :
    (form - otherForm) x = form x - otherForm x := rfl

@[simp] theorem smul_apply (c : β„‚) (form : SmoothForm E n) (x : E) :
    (c β€’ form) x = c β€’ form x := rfl

/-- Evaluation of a form at a point is complex linear. -/
def eval (x : E) : SmoothForm E n β†’β‚—[β„‚] FormValue E n where
  toFun := fun form => form x
  map_add' := fun _ _ => rfl
  map_smul' := fun _ _ => rfl

@[simp] theorem eval_apply (x : E) (form : SmoothForm E n) : eval x form = form x := rfl

end SmoothForm

end OAI.Analysis.DifferentialForms.Manifold.Basic