Skip to content

Commit 27acfb0

Browse files
committed
Merge branch 'master' into MR-covariant-derivatives
2 parents 81a676b + 4dca366 commit 27acfb0

334 files changed

Lines changed: 2874 additions & 1057 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Archive/Imo/Imo2024Q3.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ lemma p_le_two_mul_k {n : ℕ} (hn : N' a N + 2 < n) (hs : Small a (a n)) : p a
876876
convert Finset.exists_ne_map_eq_of_card_lt_of_maps_to (t := Finset.Icc 1 (k a)) ?_ ?_
877877
· simp
878878
· rintro i -
879-
simp [Finset.mem_Icc]
879+
simp
880880
rw [← Small, hc.small_apply_add_two_mul_iff_small i (by omega)]
881881
simp [hs, hc.one_le_apply]
882882
have hs' : Small a (a (n + 2 * x)) := by rwa [hc.small_apply_add_two_mul_iff_small x (by omega)]

Mathlib.lean

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,6 +1585,7 @@ import Mathlib.Analysis.InnerProductSpace.Dual
15851585
import Mathlib.Analysis.InnerProductSpace.EuclideanDist
15861586
import Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho
15871587
import Mathlib.Analysis.InnerProductSpace.JointEigenspace
1588+
import Mathlib.Analysis.InnerProductSpace.Laplacian
15881589
import Mathlib.Analysis.InnerProductSpace.LaxMilgram
15891590
import Mathlib.Analysis.InnerProductSpace.LinearMap
15901591
import Mathlib.Analysis.InnerProductSpace.LinearPMap
@@ -2280,6 +2281,7 @@ import Mathlib.CategoryTheory.Limits.Shapes.IsTerminal
22802281
import Mathlib.CategoryTheory.Limits.Shapes.KernelPair
22812282
import Mathlib.CategoryTheory.Limits.Shapes.Kernels
22822283
import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer
2284+
import Mathlib.CategoryTheory.Limits.Shapes.MultiequalizerPullback
22832285
import Mathlib.CategoryTheory.Limits.Shapes.NormalMono.Basic
22842286
import Mathlib.CategoryTheory.Limits.Shapes.NormalMono.Equalizers
22852287
import Mathlib.CategoryTheory.Limits.Shapes.PiProd
@@ -2403,6 +2405,8 @@ import Mathlib.CategoryTheory.Monoidal.DayConvolution
24032405
import Mathlib.CategoryTheory.Monoidal.Discrete
24042406
import Mathlib.CategoryTheory.Monoidal.End
24052407
import Mathlib.CategoryTheory.Monoidal.ExternalProduct
2408+
import Mathlib.CategoryTheory.Monoidal.ExternalProduct.Basic
2409+
import Mathlib.CategoryTheory.Monoidal.ExternalProduct.KanExtension
24062410
import Mathlib.CategoryTheory.Monoidal.Free.Basic
24072411
import Mathlib.CategoryTheory.Monoidal.Free.Coherence
24082412
import Mathlib.CategoryTheory.Monoidal.Functor
@@ -3683,6 +3687,7 @@ import Mathlib.Geometry.Manifold.DerivationBundle
36833687
import Mathlib.Geometry.Manifold.Diffeomorph
36843688
import Mathlib.Geometry.Manifold.Elaborators
36853689
import Mathlib.Geometry.Manifold.GroupLieAlgebra
3690+
import Mathlib.Geometry.Manifold.Instances.Icc
36863691
import Mathlib.Geometry.Manifold.Instances.Real
36873692
import Mathlib.Geometry.Manifold.Instances.Sphere
36883693
import Mathlib.Geometry.Manifold.Instances.UnitsOfNormedAlgebra
@@ -3716,6 +3721,7 @@ import Mathlib.Geometry.Manifold.VectorBundle.Hom
37163721
import Mathlib.Geometry.Manifold.VectorBundle.LocalFrame
37173722
import Mathlib.Geometry.Manifold.VectorBundle.MDifferentiable
37183723
import Mathlib.Geometry.Manifold.VectorBundle.Pullback
3724+
import Mathlib.Geometry.Manifold.VectorBundle.Riemannian
37193725
import Mathlib.Geometry.Manifold.VectorBundle.SmoothSection
37203726
import Mathlib.Geometry.Manifold.VectorBundle.Tangent
37213727
import Mathlib.Geometry.Manifold.VectorBundle.Tensoriality
@@ -4752,6 +4758,7 @@ import Mathlib.Order.Category.Preord
47524758
import Mathlib.Order.Category.Semilat
47534759
import Mathlib.Order.Chain
47544760
import Mathlib.Order.Circular
4761+
import Mathlib.Order.Circular.ZMod
47554762
import Mathlib.Order.Closure
47564763
import Mathlib.Order.Cofinal
47574764
import Mathlib.Order.CompactlyGenerated.Basic

Mathlib/Algebra/Algebra/Subalgebra/Directed.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ variable (K)
4444
it on each subalgebra, and proving that it agrees on the intersection of subalgebras. -/
4545
noncomputable def iSupLift (dir : Directed (· ≤ ·) K) (f : ∀ i, K i →ₐ[R] B)
4646
(hf : ∀ (i j : ι) (h : K i ≤ K j), f i = (f j).comp (inclusion h))
47-
(T : Subalgebra R A) (hT : T = iSup K): ↥T →ₐ[R] B :=
47+
(T : Subalgebra R A) (hT : T = iSup K) : ↥T →ₐ[R] B :=
4848
{ toFun := Set.iUnionLift (fun i => ↑(K i)) (fun i x => f i x)
4949
(fun i j x hxi hxj => by
5050
let ⟨k, hik, hjk⟩ := dir i j

Mathlib/Algebra/BigOperators/Finsupp/Fin.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ lemma sum_cons [AddCommMonoid M] (n : ℕ) (σ : Fin n →₀ M) (i : M) :
2323
exact Fin.sum_cons i σ
2424

2525
lemma sum_cons' [Zero M] [AddCommMonoid N] (n : ℕ) (σ : Fin n →₀ M) (i : M)
26-
(f : Fin (n+1) → M → N) (h : ∀ x, f x 0 = 0) :
26+
(f : Fin (n + 1) → M → N) (h : ∀ x, f x 0 = 0) :
2727
(sum (Finsupp.cons i σ) f) = f 0 i + sum σ (Fin.tail f) := by
2828
rw [sum_fintype _ _ (fun _ => by apply h), sum_fintype _ _ (fun _ => by apply h)]
2929
simp_rw [Fin.sum_univ_succ, cons_zero, cons_succ]

Mathlib/Algebra/BigOperators/Group/Finset/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ variable {s : Finset ι} {t : Finset κ} {f : ι → M} {g : κ → M}
212212

213213
@[to_additive]
214214
lemma prod_of_injOn (e : ι → κ) (he : Set.InjOn e s) (hest : Set.MapsTo e s t)
215-
(h' : ∀ i ∈ t, i ∉ e '' s → g i = 1) (h : ∀ i ∈ s, f i = g (e i)) :
215+
(h' : ∀ i ∈ t, i ∉ e '' s → g i = 1) (h : ∀ i ∈ s, f i = g (e i)) :
216216
∏ i ∈ s, f i = ∏ j ∈ t, g j := by
217217
classical
218218
exact (prod_nbij e (fun a ↦ mem_image_of_mem e) he (by simp [Set.surjOn_image]) h).trans <|

Mathlib/Algebra/BrauerGroup/Defs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ end IsBrauerEquivalent
8484
variable (K)
8585

8686
/-- `CSA` equipped with Brauer Equivalence is indeed a setoid. -/
87-
def Brauer.CSA_Setoid: Setoid (CSA K) where
87+
def Brauer.CSA_Setoid : Setoid (CSA K) where
8888
r := IsBrauerEquivalent
8989
iseqv := IsBrauerEquivalent.is_eqv
9090

Mathlib/Algebra/Category/AlgCat/Limits.lean

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,20 +109,20 @@ def limitConeIsLimit : IsLimit (limitCone.{v, w} F) := by
109109
simp only [Functor.mapCone_π_app, forget_map, map_one, Pi.one_apply]
110110
· intro x y
111111
ext j
112-
simp only [Functor.comp_obj, forget_obj, Equiv.toFun_as_coe, Functor.mapCone_pt,
112+
simp only [Functor.comp_obj, forget_obj, Functor.mapCone_pt,
113113
Functor.mapCone_π_app, forget_map, Equiv.symm_apply_apply,
114-
Types.Small.limitCone_pt, equivShrink_symm_mul]
114+
Types.Small.limitCone_pt, equivShrink_symm_mul, EquivLike.coe_apply]
115115
apply map_mul
116116
· ext j
117-
simp only [Functor.comp_obj, forget_obj, Equiv.toFun_as_coe, Functor.mapCone_pt,
117+
simp only [Functor.comp_obj, forget_obj, Functor.mapCone_pt,
118118
Functor.mapCone_π_app, forget_map, Equiv.symm_apply_apply,
119-
equivShrink_symm_zero]
119+
equivShrink_symm_zero, EquivLike.coe_apply]
120120
apply map_zero
121121
· intro x y
122122
ext j
123-
simp only [Functor.comp_obj, forget_obj, Equiv.toFun_as_coe, Functor.mapCone_pt,
123+
simp only [Functor.comp_obj, forget_obj, Functor.mapCone_pt,
124124
Functor.mapCone_π_app, forget_map, Equiv.symm_apply_apply,
125-
Types.Small.limitCone_pt, equivShrink_symm_add]
125+
Types.Small.limitCone_pt, equivShrink_symm_add, EquivLike.coe_apply]
126126
apply map_add
127127
· intro r
128128
simp only [Equiv.algebraMap_def, Equiv.symm_symm]

Mathlib/Algebra/Category/ModuleCat/ExteriorPower.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace AlternatingMap
4040
variable {M : ModuleCat.{v} R} {N : ModuleCat.{max u v} R} {n : ℕ}
4141

4242
@[ext]
43-
lemma ext {φ φ' : M.AlternatingMap N n} (h : ∀ (x : Fin n → M), φ x = φ' x ) :
43+
lemma ext {φ φ' : M.AlternatingMap N n} (h : ∀ (x : Fin n → M), φ x = φ' x) :
4444
φ = φ' :=
4545
_root_.AlternatingMap.ext h
4646

Mathlib/Algebra/Category/ModuleCat/Presheaf/Free.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ noncomputable def freeHomEquiv : (freeObj F ⟶ G) ≃ (F ⟶ G.presheaf ⋙ for
8585

8686
lemma free_hom_ext {ψ ψ' : freeObj F ⟶ G}
8787
(h : freeAdjunctionUnit R F ≫ Functor.whiskerRight ((toPresheaf _).map ψ) _ =
88-
freeAdjunctionUnit R F ≫ Functor.whiskerRight ((toPresheaf _).map ψ') _ ) : ψ = ψ' :=
88+
freeAdjunctionUnit R F ≫ Functor.whiskerRight ((toPresheaf _).map ψ') _) : ψ = ψ' :=
8989
freeHomEquiv.injective h
9090

9191
variable (R) in

Mathlib/Algebra/Category/ModuleCat/Topology/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ abbrev ofHom {X Y : Type v}
8585
(f : X →L[R] Y) : of R X ⟶ of R Y :=
8686
ConcreteCategory.ofHom f
8787

88-
@[simp] lemma hom_ofHom {X Y : Type v}
88+
@[simp] lemma hom_ofHom {X Y : Type v}
8989
[AddCommGroup X] [Module R X] [TopologicalSpace X] [ContinuousAdd X] [ContinuousSMul R X]
9090
[AddCommGroup Y] [Module R Y] [TopologicalSpace Y] [ContinuousAdd Y] [ContinuousSMul R Y]
9191
(f : X →L[R] Y) :

0 commit comments

Comments
 (0)