Skip to content

Commit 3ba1ec5

Browse files
chore: remove unnecessary set_option lines (leanprover-community#38805)
I removed 335 unnecessary `set_option` line(s) across 135 file(s). Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
1 parent 177caf0 commit 3ba1ec5

135 files changed

Lines changed: 1 addition & 336 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.

Mathlib/Algebra/Category/ModuleCat/ChangeOfRings.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ lemma extendScalars_assoc :
10371037
erw [h₂]
10381038
rw [h₃, ExtendScalars.map_tmul, h₄]
10391039

1040-
set_option backward.isDefEq.respectTransparency false in
10411040
/-- The associativity compatibility for the extension of scalars, in the exact form
10421041
that is needed in the definition `CommRingCat.moduleCatExtendScalarsPseudofunctor`
10431042
in the file `Mathlib/Algebra/Category/ModuleCat/Pseudofunctor.lean` -/

Mathlib/Algebra/Homology/Additive.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ namespace ChainComplex
206206

207207
variable {α : Type*} [AddRightCancelSemigroup α] [One α] [DecidableEq α]
208208

209-
set_option backward.isDefEq.respectTransparency false in
210209
theorem map_chain_complex_of (F : W₁ ⥤ W₂) [F.PreservesZeroMorphisms] (X : α → W₁)
211210
(d : ∀ n, X (n + 1) ⟶ X n) (sq : ∀ n, d (n + 1) ≫ d n = 0) :
212211
(F.mapHomologicalComplex _).obj (ChainComplex.of X d sq) =

Mathlib/Algebra/Lie/Derivation/Basic.lean

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ section
291291

292292
variable {R L : Type*} [CommRing R] [LieRing L] [LieAlgebra R L]
293293

294-
set_option backward.isDefEq.respectTransparency false in
295294
/-- The commutator of two Lie derivations on a Lie algebra is a Lie derivation. -/
296295
instance instBracket : Bracket (LieDerivation R L L) (LieDerivation R L L) where
297296
bracket D1 D2 := LieDerivation.mk ⁅(D1 : Module.End R L), (D2 : Module.End R L)⁆ (fun a b => by
@@ -332,7 +331,6 @@ section
332331

333332
variable (R L : Type*) [CommRing R] [LieRing L] [LieAlgebra R L]
334333

335-
set_option backward.isDefEq.respectTransparency false in
336334
/-- The Lie algebra morphism from Lie derivations into linear endomorphisms. -/
337335
def toLinearMapLieHom : LieDerivation R L L →ₗ⁅R⁆ L →ₗ[R] L where
338336
toFun := toLinearMap
@@ -355,7 +353,6 @@ section Inner
355353
variable (R L M : Type*) [CommRing R] [LieRing L] [LieAlgebra R L]
356354
[AddCommGroup M] [Module R M] [LieRingModule L M] [LieModule R L M]
357355

358-
set_option backward.isDefEq.respectTransparency false in
359356
/-- The natural map from a Lie module to the derivations taking values in it. -/
360357
@[simps!]
361358
def inner : M →ₗ[R] LieDerivation R L M where

Mathlib/Algebra/Lie/Extension.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ lemma lie_incl_mem_ker {E : Extension R M L} (x : E.L) (y : M) :
298298
⁅x, E.incl y⁆ ∈ E.proj.ker := by
299299
rw [LieHom.mem_ker, LieHom.map_lie, proj_incl, lie_zero]
300300

301-
set_option backward.isDefEq.respectTransparency false in
302301
/-- The Lie algebra isomorphism from the kernel of an extension to the kernel of the projection. -/
303302
noncomputable def toKer (E : Extension R M L) :
304303
M ≃ₗ⁅R⁆ E.proj.ker where

Mathlib/Algebra/Lie/LieTheorem.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ local notation "π" => LieModule.toEnd R _ V
4949

5050
private abbrev T (w : A) : Module.End R V := (π w) - χ w • 1
5151

52-
set_option backward.isDefEq.respectTransparency false in
5352
set_option backward.privateInPublic true in
5453
/-- An auxiliary lemma used only in the definition `LieModule.weightSpaceOfIsLieTower` below. -/
5554
private lemma weightSpaceOfIsLieTower_aux (z : L) (v : V) (hv : v ∈ weightSpace V χ) :

Mathlib/Algebra/Lie/OfAssociative.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ variable {R : Type u} {M₁ : Type v} {M₂ : Type w}
394394
variable [CommRing R] [AddCommGroup M₁] [Module R M₁] [AddCommGroup M₂] [Module R M₂]
395395
variable (e : M₁ ≃ₗ[R] M₂)
396396

397-
set_option backward.isDefEq.respectTransparency false in
398397
/-- A linear equivalence of two modules induces a Lie algebra equivalence of their endomorphisms. -/
399398
def lieConj : Module.End R M₁ ≃ₗ⁅R⁆ Module.End R M₂ :=
400399
{ e.conj with

Mathlib/Algebra/Lie/Semisimple/Basic.lean

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ theorem HasTrivialRadical.eq_bot_of_isSolvable [HasTrivialRadical R L]
5555
(I : LieIdeal R L) [hI : IsSolvable I] : I = ⊥ :=
5656
sSup_eq_bot.mp radical_eq_bot _ hI
5757

58-
set_option backward.isDefEq.respectTransparency false in
5958
instance [HasTrivialRadical R L] : LieModule.IsFaithful R L L := by
6059
rw [isFaithful_self_iff]
6160
exact HasTrivialRadical.eq_bot_of_isSolvable _
@@ -69,7 +68,6 @@ theorem hasTrivialRadical_iff_no_solvable_ideals :
6968
HasTrivialRadical R L ↔ ∀ I : LieIdeal R L, IsSolvable I → I = ⊥ :=
7069
⟨@HasTrivialRadical.eq_bot_of_isSolvable _ _ _ _ _, hasTrivialRadical_of_no_solvable_ideals⟩
7170

72-
set_option backward.isDefEq.respectTransparency false in
7371
theorem hasTrivialRadical_iff_no_abelian_ideals :
7472
HasTrivialRadical R L ↔ ∀ I : LieIdeal R L, IsLieAbelian I → I = ⊥ := by
7573
rw [hasTrivialRadical_iff_no_solvable_ideals]
@@ -97,7 +95,6 @@ protected lemma isAtom_iff_eq_top (I : LieIdeal R L) : IsAtom I ↔ I = ⊤ := i
9795
variable {R L} in
9896
lemma eq_top_of_isAtom (I : LieIdeal R L) (hI : IsAtom I) : I = ⊤ := isAtom_iff_eq_top.mp hI
9997

100-
set_option backward.isDefEq.respectTransparency false in
10198
instance : HasTrivialRadical R L := by
10299
rw [hasTrivialRadical_iff_no_abelian_ideals]
103100
intro I hI
@@ -296,7 +293,6 @@ instance (priority := 100) instHasTrivialRadical : HasTrivialRadical R L := by
296293

297294
end IsSemisimple
298295

299-
set_option backward.isDefEq.respectTransparency false in
300296
/-- A simple Lie algebra is semisimple. -/
301297
instance (priority := 100) IsSimple.instIsSemisimple [IsSimple R L] :
302298
IsSemisimple R L := by

Mathlib/Algebra/Lie/Semisimple/Lemmas.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ variable (k L M : Type*) [Field k] [CharZero k]
3939
[AddCommGroup M] [Module k M] [LieRingModule L M] [LieModule k L M] [Module.Finite k M]
4040
[IsIrreducible k L M] [IsFaithful k L M] [IsTriangularizable k L M]
4141

42-
set_option backward.isDefEq.respectTransparency false in
4342
lemma hasCentralRadical_and_of_isIrreducible_of_isFaithful :
4443
HasCentralRadical k L ∧ (∀ x, x ∈ center k L ↔ toEnd k L M x ∈ k ∙ LinearMap.id) := by
4544
have _i := nontrivial_of_isIrreducible k L M

Mathlib/Algebra/Lie/Solvable.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ theorem le_solvable_ideal_solvable {I J : LieIdeal R L} (h₁ : I ≤ J) (_ : Is
355355

356356
variable (R L)
357357

358-
set_option backward.isDefEq.respectTransparency false in
359358
instance (priority := 100) ofAbelianIsSolvable [IsLieAbelian L] : IsSolvable L := by
360359
use 1
361360
rw [← abelian_iff_derived_one_eq_bot, lie_abelian_iff_equiv_lie_abelian LieIdeal.topEquiv]
@@ -379,7 +378,6 @@ theorem LieIdeal.solvable_iff_le_radical [IsNoetherian R L] (I : LieIdeal R L) :
379378
IsSolvable I ↔ I ≤ radical R L :=
380379
fun h => le_sSup h, fun h => le_solvable_ideal_solvable h inferInstance⟩
381380

382-
set_option backward.isDefEq.respectTransparency false in
383381
theorem center_le_radical : center R L ≤ radical R L :=
384382
have h : IsSolvable (center R L) := inferInstance
385383
le_sSup h

Mathlib/Algebra/Lie/TensorProduct.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ expression of the fact that `L` acts by linear endomorphisms. It simplifies the
4747
def hasBracketAux (x : L) : Module.End R (M ⊗[R] N) :=
4848
(toEnd R L M x).rTensor N + (toEnd R L N x).lTensor M
4949

50-
set_option backward.isDefEq.respectTransparency false in
5150
/-- The tensor product of two Lie modules is a Lie ring module. -/
5251
instance lieRingModule : LieRingModule L (M ⊗[R] N) where
5352
bracket x := hasBracketAux x

0 commit comments

Comments
 (0)