Skip to content

Commit f9ae5cc

Browse files
committed
fixes
1 parent 8ba9584 commit f9ae5cc

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ noncomputable instance monoidalCategory :
141141

142142
open BraidedCategory
143143

144-
instance symmetricCategory :
144+
noncomputable instance symmetricCategory :
145145
SymmetricCategory (PresheafOfModules.{u} (R ⋙ forget₂ _ _)) where
146146
braiding M₁ M₂ :=
147147
isoMk (fun X ↦ braiding (C := ModuleCat (R.obj X)) (M₁.obj X) (M₂.obj X))

Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ lemma horn_obj_eq_univ {n : ℕ} (i : Fin (n + 1)) (m : ℕ) (h : m + 1 < n := b
9494
Finset.card_singleton, add_le_add_iff_right] at this
9595
have : n ≤ m + 1 := by simpa using this.trans Finset.card_image_le
9696
lia
97-
have : ∃ j, ¬j = i ∧ ∀ (i : Fin (m + 1)), ¬(stdSimplex.objEquiv.symm.{u} f) i = j :=
97+
have : ∃ j, ¬j = i ∧ ∀ (i : Fin (m + 1)), ¬(stdSimplex.objEquiv.{u}.symm f) i = j :=
9898
⟨j, hij, fun k hk ↦ hj ⟨k, hk⟩⟩
9999
simpa [horn_eq_iSup] using this
100100

@@ -140,7 +140,7 @@ lemma face_le_horn_iff {n : ℕ} (S : Finset (Fin (n + 2))) (j : Fin (n + 2)) :
140140

141141
lemma objEquiv_symm_notMem_horn_of_isIso {n : ℕ} (i : Fin (n + 1))
142142
{d : SimplexCategory} (f : d ⟶ ⦋n⦌) [IsIso f] :
143-
stdSimplex.objEquiv.symm.{u} f ∉ Λ[n, i].obj (op d) := by
143+
stdSimplex.objEquiv.{u}.symm f ∉ Λ[n, i].obj (op d) := by
144144
rw [mem_horn_iff, ne_eq, not_not]
145145
ext i
146146
simpa using Or.inr ⟨inv f i, by simp [stdSimplex.coe_asOrderHom_objEquiv_symm.{u}]⟩

Mathlib/CategoryTheory/Sites/Sieves.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ def uliftFunctorInclusion (S : Sieve X) :
12631263
@[simps]
12641264
def toUliftFunctor (S : Sieve X) {Y : C} (f : Y ⟶ X) (hf : S f) :
12651265
uliftYoneda.{w}.obj Y ⟶ Sieve.uliftFunctor.{w} S where
1266-
app Z g := ⟨g.down ≫ f, S.downward_closed hf g.down⟩
1266+
app Z := TypeCat.ofHom fun g ↦ ⟨g.down ≫ f, S.downward_closed hf g.down⟩
12671267

12681268
theorem uliftNatTransOfLe_comm {S T : Sieve X} (h : S ≤ T) :
12691269
uliftNatTransOfLe.{w} h ≫ uliftFunctorInclusion.{w} _ = uliftFunctorInclusion.{w} _ :=

Mathlib/RingTheory/Flat/Rank.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ attribute [local instance] Module.free_of_flat_of_isLocalRing
3636

3737
variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S] [Module.Finite R S]
3838

39+
set_option backward.isDefEq.respectTransparency false in
3940
lemma PrimeSpectrum.rankAtStalk_pos_iff_mem_range_comap (p : PrimeSpectrum R) :
4041
0 < Module.rankAtStalk (R := R) S p ↔ p ∈ Set.range (PrimeSpectrum.comap (algebraMap R S)) := by
4142
rw [Module.rankAtStalk_eq, Module.finrank_pos_iff, p.nontrivial_iff_mem_rangeComap]

0 commit comments

Comments
 (0)