Skip to content

Commit a2d3ce4

Browse files
committed
chore: general golfs using these lemmas
1 parent 4e92f4e commit a2d3ce4

4 files changed

Lines changed: 5 additions & 13 deletions

File tree

Mathlib/Geometry/Manifold/VectorBundle/Hom.lean

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,7 @@ lemma ContMDiffWithinAt.clm_apply_of_inCoordinates
197197
exact FiberBundle.mem_baseSet_trivializationAt' (b₂ m₀)
198198
filter_upwards [A, A'] with m hm h'm
199199
rw [inCoordinates_eq hm h'm]
200-
simp only [coe_comp', ContinuousLinearEquiv.coe_coe, Trivialization.continuousLinearEquivAt_apply,
201-
Trivialization.continuousLinearEquivAt_symm_apply, Function.comp_apply]
202-
congr
203-
rw [Trivialization.symm_apply_apply_mk (trivializationAt F₁ E₁ (b₁ m₀)) hm (v m)]
200+
simp [*]
204201

205202
/-- Consider a `C^n` map `v : M → E₁` to a vector bundle, over a base map `b₁ : M → B₁`, and
206203
another base map `b₂ : M → B₂`. Given linear maps `ϕ m : E₁ (b₁ m) → E₂ (b₂ m)` depending smoothly

Mathlib/Geometry/Manifold/VectorBundle/MDifferentiable.lean

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,7 @@ lemma MDifferentiableWithinAt.clm_apply_of_inCoordinates
696696
exact FiberBundle.mem_baseSet_trivializationAt' (b₂ m₀)
697697
filter_upwards [A, A'] with m hm h'm
698698
rw [inCoordinates_eq hm h'm]
699-
simp only [coe_comp', ContinuousLinearEquiv.coe_coe, Trivialization.continuousLinearEquivAt_apply,
700-
Trivialization.continuousLinearEquivAt_symm_apply, Function.comp_apply]
701-
congr
702-
rw [Trivialization.symm_apply_apply_mk (trivializationAt F₁ E₁ (b₁ m₀)) hm (v m)]
699+
simp [hm]
703700

704701
/-- Consider a differentiable map `v : M → E₁` to a vector bundle, over a basemap `b₁ : M → B₁`, and
705702
another basemap `b₂ : M → B₂`. Given linear maps `ϕ m : E₁ (b₁ m) → E₂ (b₂ m)` depending

Mathlib/Topology/FiberBundle/Constructions.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ theorem Prod.left_inv {x : TotalSpace (F₁ × F₂) (E₁ ×ᵇ E₂)}
169169
Prod.invFun' e₁ e₂ (Prod.toFun' e₁ e₂ x) = x := by
170170
obtain ⟨x, v₁, v₂⟩ := x
171171
obtain ⟨h₁ : x ∈ e₁.baseSet, h₂ : x ∈ e₂.baseSet⟩ := h
172-
simp only [Prod.toFun', Prod.invFun', symm_apply_apply_mk, h₁, h₂]
172+
simp [Prod.toFun', Prod.invFun', h₁, h₂]
173173

174174
theorem Prod.right_inv {x : B × F₁ × F₂}
175175
(h : x ∈ (e₁.baseSet ∩ e₂.baseSet) ×ˢ (univ : Set (F₁ × F₂))) :
176176
Prod.toFun' e₁ e₂ (Prod.invFun' e₁ e₂ x) = x := by
177177
obtain ⟨x, w₁, w₂⟩ := x
178178
obtain ⟨⟨h₁ : x ∈ e₁.baseSet, h₂ : x ∈ e₂.baseSet⟩, -⟩ := h
179-
simp only [Prod.toFun', Prod.invFun', apply_mk_symm, h₁, h₂]
179+
simp [Prod.toFun', Prod.invFun', h₁, h₂]
180180

181181
theorem Prod.continuous_inv_fun :
182182
ContinuousOn (Prod.invFun' e₁ e₂) ((e₁.baseSet ∩ e₂.baseSet) ×ˢ univ) := by

Mathlib/Topology/VectorBundle/Hom.lean

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,7 @@ lemma ContinuousWithinAt.clm_apply_of_inCoordinates
357357
apply hb₂
358358
apply (trivializationAt F₂ E₂ (b₂ m₀)).open_baseSet.mem_nhds
359359
exact FiberBundle.mem_baseSet_trivializationAt' (b₂ m₀)
360-
filter_upwards [A, A'] with m hm h'm
361-
simp [inCoordinates_eq hm h'm,
362-
Trivialization.symm_apply_apply_mk (trivializationAt F₁ E₁ (b₁ m₀)) hm (v m)]
360+
filter_upwards [A, A'] with m hm h'm using by simp [inCoordinates_eq hm h'm, hm]
363361

364362

365363
/-- Consider a continuous map `v : M → E₁` to a vector bundle, over a base map `b₁ : M → B₁`, and

0 commit comments

Comments
 (0)