Skip to content

Commit 971bdd8

Browse files
grunwegmichaellee94
andcommitted
feat: local frames in a vector bundle (#30083)
We construct local frames on a vector from local trivialisations. The former constructs, given a trivialisation `e` of the vector bundle and a basis of the model fibre, `Basis.localFrame` is a local frame on `e.baseSet` A future PR will use this to define the local extension of a tangent vector to a vector field near a point. From the path towards geodesics and the Levi-Civita connection. Co-authored-by: Patrick Massot [patrickmassot@free.fr](mailto:patrickmassot@free.fr) Co-authored-by: michaellee94 <michael.a.rodrigues.lee@gmail.com>
1 parent 486b45d commit 971bdd8

File tree

2 files changed

+279
-59
lines changed

2 files changed

+279
-59
lines changed

Mathlib/Algebra/Module/Equiv/Basic.lean

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,30 @@ end AddEquiv
321321

322322
namespace LinearMap
323323

324+
/-- Pointwise application of a family of linear forms to a family of vectors -/
325+
def piApply {V : M → Type*} [CommSemiring R] [∀ x, AddCommMonoid (V x)] [∀ x, Module R (V x)] :
326+
(Π x : M, V x →ₗ[R] R) →ₗ[R] (Π x : M, V x) →ₗ[R] M → R where
327+
toFun e :=
328+
{ toFun s x := e x (s x)
329+
map_add' := by intros; ext; simp
330+
map_smul' := by intros; ext; simp }
331+
map_add' := by intros; ext; simp
332+
map_smul' := by intros; ext; simp
333+
334+
@[simp]
335+
theorem piApply_apply {V : M → Type*}
336+
[CommSemiring R] [∀ x, AddCommMonoid (V x)] [∀ x, Module R (V x)]
337+
(e : Π x : M, V x →ₗ[R] R) (s : Π x : M, V x) :
338+
piApply e s = fun x ↦ e x (s x) :=
339+
rfl
340+
341+
@[simp]
342+
theorem piApply_apply_apply {V : M → Type*}
343+
[CommSemiring R] [∀ x, AddCommMonoid (V x)] [∀ x, Module R (V x)]
344+
(e : Π x : M, V x →ₗ[R] R) (s : Π x : M, V x) (x : M) :
345+
piApply e s x = e x (s x) :=
346+
rfl
347+
324348
variable (R S M)
325349
variable [Semiring R] [Semiring S] [AddCommMonoid M] [Module R M]
326350

0 commit comments

Comments
 (0)