Skip to content

Commit 1c1f6dc

Browse files
committed
chore: mark coordinateChange_apply_snd simp
1 parent 83b8b5c commit 1c1f6dc

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

Mathlib/Geometry/Manifold/VectorBundle/Basic.lean

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,9 @@ theorem ContMDiffWithinAt.change_section_trivialization {f : M → TotalSpace F
405405
(he : f x ∈ e.source) (he' : f x ∈ e'.source) :
406406
ContMDiffWithinAt IM 𝓘(𝕜, F) n (fun y ↦ (e' (f y)).2) s x := by
407407
rw [Trivialization.mem_source] at he he'
408-
refine (hp.coordChange hf he he').congr_of_eventuallyEq ?_ ?_
409-
· filter_upwards [hp.continuousWithinAt (e.open_baseSet.mem_nhds he)] with y hy
410-
rw [Function.comp_apply, e.coordChange_apply_snd _ hy]
411-
· rw [Function.comp_apply, e.coordChange_apply_snd _ he]
408+
refine (hp.coordChange hf he he').congr_of_eventuallyEq ?_ (by simp [he])
409+
filter_upwards [hp.continuousWithinAt (e.open_baseSet.mem_nhds he)] with y hy
410+
simp_all
412411

413412
theorem Bundle.Trivialization.contMDiffWithinAt_snd_comp_iff₂ {f : M → TotalSpace F E}
414413
(hp : ContMDiffWithinAt IM IB n (π F E ∘ f) s x)

Mathlib/Geometry/Manifold/VectorBundle/MDifferentiable.lean

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,9 @@ lemma MDifferentiableWithinAt.change_section_trivialization
212212
(he : f x₀ ∈ e.source) (he' : f x₀ ∈ e'.source) :
213213
MDiffAt[s] (fun x ↦ (e' (f x)).2) x₀ := by
214214
rw [Trivialization.mem_source] at he he'
215-
refine (hf.coordChange he'f he he').congr_of_eventuallyEq ?_ ?_
216-
· filter_upwards [hf.continuousWithinAt (e.open_baseSet.mem_nhds he)] with y hy
217-
rw [Function.comp_apply, e.coordChange_apply_snd e' hy]
218-
· rw [Function.comp_apply, e.coordChange_apply_snd _ he]
215+
refine (hf.coordChange he'f he he').congr_of_eventuallyEq ?_ (by simp [he])
216+
filter_upwards [hf.continuousWithinAt (e.open_baseSet.mem_nhds he)] with y hy
217+
simp_all
219218

220219
namespace Bundle.Trivialization
221220

Mathlib/Topology/FiberBundle/Trivialization.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ theorem mk_coordChange (e₁ e₂ : Trivialization F proj) {b : B} (h₁ : b ∈
739739
· rwa [e₁.proj_symm_apply' h₁]
740740
· rwa [e₁.proj_symm_apply' h₁]
741741

742+
@[simp]
742743
theorem coordChange_apply_snd (e₁ e₂ : Trivialization F proj) {p : Z} (h : proj p ∈ e₁.baseSet) :
743744
e₁.coordChange e₂ (proj p) (e₁ p).snd = (e₂ p).snd := by
744745
rw [coordChange, e₁.symm_apply_mk_proj (e₁.mem_source.2 h)]
@@ -902,7 +903,7 @@ noncomputable def piecewiseLe [LinearOrder B] [OrderTopology B] (e e' : Triviali
902903
rintro p rfl
903904
ext1
904905
· simp [*]
905-
· simp [coordChange_apply_snd, *]
906+
· simp [*]
906907

907908
open Classical in
908909
/-- Given two bundle trivializations `e`, `e'` over disjoint sets, `e.disjoint_union e' H` is the

0 commit comments

Comments
 (0)