Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Topology/VectorBundle/     Datei vom 15.10.2026 mit Größe 9 kB image not shown  

Quelle  Constructions.lean   Sprache: Lean

 

/-
Copyright (c) 2022 Nicolò Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nicolò Cavalleri, Sébastien Gouëzel, Heather Macbeth, Floris van Doorn
-/

module

public import Mathlib.Analysis.Normed.Operator.Prod
public import Mathlib.Topology.FiberBundle.Constructions
public import Mathlib.Topology.VectorBundle.Basic

/-!
# Standard constructions on vector bundles

This file contains several standard constructions on vector bundles:

* `Bundle.Trivial.vectorBundle �� B F`: the trivial vector bundle with scalar field `��` and model
  fiber `F` over the base `B`

* `VectorBundle.prod`: for vector bundles `E₁` and `E₂` with scalar field `��` over a common base,
  a vector bundle structure on their direct sum `E₁ ×ᵇ E₂` (the notation stands for
  `fun x ↦ E₁ x × E₂ x`).

* `VectorBundle.pullback`: for a vector bundle `E` over `B`, a vector bundle structure on its
  pullback `f *ᵖ E` by a map `f : B' → B` (the notation is a type synonym for `E ∘ f`).

## Tags
Vector bundle, direct sum, pullback
-/


public section

noncomputable section

open Bundle Set FiberBundle

/-! ### The trivial vector bundle -/

namespace Bundle.Trivial

variable (�� : Type*) (B : Type*) (F : Type*) [NontriviallyNormedField ��] [NormedAddCommGroup F]
  [NormedSpace �� F] [TopologicalSpace B]

instance trivialization.isLinear : (trivialization B F).IsLinear �� where
  linear _ _ := ⟨fun _ _ => rfl, fun _ _ => rfl⟩

variable {��} in
theorem trivialization.coordChangeL (b : B) :
    (trivialization B F).coordChangeL �� (trivialization B F) b =
      ContinuousLinearEquiv.refl �� F := by
  ext v
  rw [Trivialization.coordChangeL_apply']
  exacts [rfl, ⟨mem_univ _, mem_univ _⟩]

instance vectorBundle : VectorBundle �� F (Bundle.Trivial B F) where
  trivialization_linear' e he := by
    rw [eq_trivialization B F e]
    infer_instance
  continuousOn_coordChange' e e' he he' := by
    obtain rfl := eq_trivialization B F e
    obtain rfl := eq_trivialization B F e'
    simp only [trivialization.coordChangeL]
    exact continuous_const.continuousOn

@[simp] lemma linearMapAt_trivialization (x : B) :
    (trivialization B F).linearMapAt �� x = LinearMap.id := by
  ext v
  rw [Trivialization.coe_linearMapAt_of_mem _ (by simp)]
  rfl

@[simp] lemma continuousLinearMapAt_trivialization (x : B) :
    (trivialization B F).continuousLinearMapAt �� x = ContinuousLinearMap.id �� F := by
  ext; simp

@[simp] lemma symmₗ_trivialization (x : B) :
    (trivialization B F).symmₗ �� x = LinearMap.id := by
  ext; simp [trivialization_symm_apply B F]

@[simp] lemma symmL_trivialization (x : B) :
    (trivialization B F).symmL �� x = ContinuousLinearMap.id �� F := by
  ext; simp [trivialization_symm_apply B F]

set_option backward.isDefEq.respectTransparency false in
@[simp] lemma continuousLinearEquivAt_trivialization (x : B) :
    (trivialization B F).continuousLinearEquivAt �� x (mem_univ _) =
      ContinuousLinearEquiv.refl �� F := by
  ext; simp

end Bundle.Trivial

/-! ### Direct sum of two vector bundles -/

section

variable (�� : Type*) {B : Type*} [NontriviallyNormedField ��] [TopologicalSpace B] (F₁ : Type*)
  [NormedAddCommGroup F₁] [NormedSpace �� F₁] (E₁ : B → Type*) [TopologicalSpace (TotalSpace F₁ E₁)]
  (F₂ : Type*) [NormedAddCommGroup F₂] [NormedSpace �� F₂] (E₂ : B → Type*)
  [TopologicalSpace (TotalSpace F₂ E₂)]

namespace Bundle.Trivialization

variable {F₁ E₁ F₂ E₂}
variable [∀ x, AddCommMonoid (E₁ x)] [∀ x, Module �� (E₁ x)]
  [∀ x, AddCommMonoid (E₂ x)] [∀ x, Module �� (E₂ x)] (e₁ e₁' : Trivialization F₁ (π F₁ E₁))
  (e₂ e₂' : Trivialization F₂ (π F₂ E₂))

instance prod.isLinear [e₁.IsLinear ��] [e₂.IsLinear ��] : (e₁.prod e₂).IsLinear �� where
  linear := fun _ ⟨h₁, h₂⟩ =>
    (((e₁.linear �� h₁).mk' _).prodMap ((e₂.linear �� h₂).mk' _)).isLinear

@[simp]
theorem coordChangeL_prod [e₁.IsLinear ��] [e₁'.IsLinear ��] [e₂.IsLinear ��] [e₂'.IsLinear ��] ⦃b⦄
    (hb : (b ∈ e₁.baseSet ∧ b ∈ e₂.baseSet) ∧ b ∈ e₁'.baseSet ∧ b ∈ e₂'.baseSet) :
    ((e₁.prod e₂).coordChangeL �� (e₁'.prod e₂') b : F₁ × F₂ →L[��] F₁ × F₂) =
      (e₁.coordChangeL �� e₁' b : F₁ →L[��] F₁).prodMap (e₂.coordChangeL �� e₂' b) := by
  rw [ContinuousLinearMap.ext_iff, ContinuousLinearMap.coe_prodMap']
  rintro ⟨v₁, v₂⟩
  change
    (e₁.prod e₂).coordChangeL �� (e₁'.prod e₂') b (v₁, v₂) =
      (e₁.coordChangeL �� e₁' b v₁, e₂.coordChangeL �� e₂' b v₂)
  rw [e₁.coordChangeL_apply e₁', e₂.coordChangeL_apply e₂', (e₁.prod e₂).coordChangeL_apply']
  exacts [rfl, hb, ⟨hb.1.2, hb.2.2⟩, ⟨hb.1.1, hb.2.1⟩]

variable {e₁ e₂} [∀ x : B, TopologicalSpace (E₁ x)] [∀ x : B, TopologicalSpace (E₂ x)]
  [FiberBundle F₁ E₁] [FiberBundle F₂ E₂]

theorem prod_apply' [e₁.IsLinear ��] [e₂.IsLinear ��] {x : B} (hx₁ : x ∈ e₁.baseSet)
    (hx₂ : x ∈ e₂.baseSet) (v₁ : E₁ x) (v₂ : E₂ x) :
    prod e₁ e₂ ⟨x, (v₁, v₂)⟩ =
      ⟨x, e₁.continuousLinearEquivAt �� x hx₁ v₁, e₂.continuousLinearEquivAt �� x hx₂ v₂⟩ :=
  rfl

end Bundle.Trivialization

open Trivialization

variable [∀ x, AddCommMonoid (E₁ x)] [∀ x, Module �� (E₁ x)] [∀ x, AddCommMonoid (E₂ x)]
  [∀ x, Module �� (E₂ x)] [∀ x : B, TopologicalSpace (E₁ x)] [∀ x : B, TopologicalSpace (E₂ x)]
  [FiberBundle F₁ E₁] [FiberBundle F₂ E₂]

set_option backward.defeqAttrib.useBackward true in
/-- The product of two vector bundles is a vector bundle. -/
instance VectorBundle.prod [VectorBundle �� F₁ E₁] [VectorBundle �� F₂ E₂] :
    VectorBundle �� (F₁ × F₂) (E₁ ×ᵇ E₂) where
  trivialization_linear' := by
    rintro _ ⟨e₁, e₂, he₁, he₂, rfl⟩
    infer_instance
  continuousOn_coordChange' := by
    rintro _ _ ⟨e₁, e₂, he₁, he₂, rfl⟩ ⟨e₁', e₂', he₁', he₂', rfl⟩
    refine (((continuousOn_coordChange �� e₁ e₁').mono ?_).prod_mapL ��
      ((continuousOn_coordChange �� e₂ e₂').mono ?_)).congr ?_ <;>
      dsimp only [prod_baseSet, mfld_simps]
    · mfld_set_tac
    · mfld_set_tac
    · rintro b hb
      rw [ContinuousLinearMap.ext_iff]
      rintro ⟨v₁, v₂⟩
      change (e₁.prod e₂).coordChangeL �� (e₁'.prod e₂') b (v₁, v₂) =
        (e₁.coordChangeL �� e₁' b v₁, e₂.coordChangeL �� e₂' b v₂)
      rw [e₁.coordChangeL_apply e₁', e₂.coordChangeL_apply e₂', (e₁.prod e₂).coordChangeL_apply']
      exacts [rfl, hb, ⟨hb.1.2, hb.2.2⟩, ⟨hb.1.1, hb.2.1⟩]

variable {�� F₁ E₁ F₂ E₂}

@[simp]
theorem Bundle.Trivialization.continuousLinearEquivAt_prod {e₁ : Trivialization F₁ (π F₁ E₁)}
    {e₂ : Trivialization F₂ (π F₂ E₂)} [e₁.IsLinear ��] [e₂.IsLinear ��] {x : B}
    (hx : x ∈ (e₁.prod e₂).baseSet) :
    (e₁.prod e₂).continuousLinearEquivAt �� x hx =
      (e₁.continuousLinearEquivAt �� x hx.1).prodCongr (e₂.continuousLinearEquivAt �� x hx.2) := by
  ext v : 2
  obtain ⟨v₁, v₂⟩ := v
  rw [(e₁.prod e₂).continuousLinearEquivAt_apply ��, Trivialization.prod]
  congrm $(prod_apply' �� hx.1 hx.2 v₁ v₂).snd

end

/-! ### Pullbacks of vector bundles -/

section

variable (R �� : Type*) {B : Type*} (F : Type*) (E : B → Type*) {B' : Type*} (f : B' → B)

-- This instance exists to avoid an nsmul diamond.
instance [Semiring R] [∀ x : B, AddCommMonoid (E x)] [i : ∀ x, Module R (E x)] (x : B') :
    SMul R ((f *ᵖ E) x) :=
  inferInstanceAs <| SMul R (E (f x))

instance [i : ∀ x : B, AddCommMonoid (E x)] (x : B') : AddCommMonoid ((f *ᵖ E) x) :=
  inferInstanceAs <| AddCommMonoid (E (f x))

instance [Semiring R] [∀ x : B, AddCommMonoid (E x)] [i : ∀ x, Module R (E x)] (x : B') :
    Module R ((f *ᵖ E) x) :=
  inferInstanceAs <| Module R (E (f x))

variable {E F} [TopologicalSpace B'] [TopologicalSpace (TotalSpace F E)] [NontriviallyNormedField ��]
  [NormedAddCommGroup F] [NormedSpace �� F] [TopologicalSpace B] [∀ x, AddCommMonoid (E x)]
  [∀ x, Module �� (E x)] {K : Type*} [FunLike K B' B] [ContinuousMapClass K B' B]

instance Bundle.Trivialization.pullback_linear (e : Trivialization F (π F E)) [e.IsLinear ��]
    (f : K) : (e.pullback (B' := B') f).IsLinear �� where
  linear _ h := e.linear �� h

instance VectorBundle.pullback [∀ x, TopologicalSpace (E x)] [FiberBundle F E] [VectorBundle �� F E]
    (f : K) : VectorBundle �� F ((f : B' → B) *ᵖ E) where
  trivialization_linear' := by
    rintro _ ⟨e, he, rfl⟩
    infer_instance
  continuousOn_coordChange' := by
    rintro _ _ ⟨e, he, rfl⟩ ⟨e', he', rfl⟩
    refine ((continuousOn_coordChange �� e e').comp
      (map_continuous f).continuousOn fun b hb => hb).congr ?_
    rintro b (hb : f b ∈ e.baseSet ∩ e'.baseSet); ext v
    change ((e.pullback f).coordChangeL �� (e'.pullback f) b) v = (e.coordChangeL �� e' (f b)) v
    rw [e.coordChangeL_apply e' hb, (e.pullback f).coordChangeL_apply' _]
    exacts [rfl, hb]

end

Messung
CHZG
9410010097

¤ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland