Skip to content

Commit ae02454

Browse files
committed
kill me now
1 parent 9e5e872 commit ae02454

44 files changed

Lines changed: 126 additions & 4 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/Lie/Derivation/Killing.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ lemma killingForm_restrict_range_ad_nondegenerate :
9494
convert LieAlgebra.IsKilling.killingForm_nondegenerate R 𝕀
9595
exact killingForm_restrict_range_ad R L
9696

97+
set_option backward.isDefEq.respectTransparency false in
9798
/-- The range of the adjoint action on a finite-dimensional Killing Lie algebra is full. -/
9899
@[simp]
99100
lemma range_ad_eq_top : 𝕀 = ⊤ := by

Mathlib/Algebra/Lie/Weights/Killing.lean

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ variable [FiniteDimensional K L] (H : LieSubalgebra K L) [H.IsCartanSubalgebra]
9898
section
9999
variable [IsTriangularizable K H L]
100100

101+
set_option backward.isDefEq.respectTransparency false in
101102
/-- For any `α` and `β`, the corresponding root spaces are orthogonal with respect to the Killing
102103
form, provided `α + β ≠ 0`. -/
103104
lemma killingForm_apply_eq_zero_of_mem_rootSpace_of_add_ne_zero {α β : H → K} {x y : L}
@@ -540,6 +541,7 @@ lemma traceForm_eq_zero_of_mem_ker_of_mem_span_coroot {α : Weight K H L} {x y :
540541
root_apply_coroot hβ]
541542
· simp [root_apply_coroot hα]
542543

544+
set_option backward.isDefEq.respectTransparency false in
543545
lemma exists_isSl2Triple_of_weight_isNonZero {α : Weight K H L} (hα : α.IsNonZero) :
544546
∃ h e f : L, IsSl2Triple h e f ∧ e ∈ rootSpace H α ∧ f ∈ rootSpace H (-α) := by
545547
obtain ⟨e, heα : e ∈ rootSpace H α, he₀ : e ≠ 0⟩ := α.exists_ne_zero
@@ -568,6 +570,7 @@ lemma exists_isSl2Triple_of_weight_isNonZero {α : Weight K H L} (hα : α.IsNon
568570
rw [lie_smul, lie_smul, smul_lie, this]
569571
simp [← smul_assoc, f, hh, mul_comm _ (2 * (α h)⁻¹)]
570572

573+
set_option backward.isDefEq.respectTransparency false in
571574
lemma _root_.IsSl2Triple.h_eq_coroot {α : Weight K H L} (hα : α.IsNonZero)
572575
{h e f : L} (ht : IsSl2Triple h e f) (heα : e ∈ rootSpace H α) (hfα : f ∈ rootSpace H (-α)) :
573576
h = coroot α := by
@@ -623,6 +626,7 @@ noncomputable def sl2SubalgebraOfRoot {α : Weight K H L} (hα : α.IsNonZero) :
623626
choose h e f t ht using exists_isSl2Triple_of_weight_isNonZero hα
624627
exact t.toLieSubalgebra K
625628

629+
set_option backward.isDefEq.respectTransparency false in
626630
lemma mem_sl2SubalgebraOfRoot_iff {α : Weight K H L} (hα : α.IsNonZero) {h e f : L}
627631
(t : IsSl2Triple h e f) (hte : e ∈ rootSpace H α) (htf : f ∈ rootSpace H (-α)) {x : L} :
628632
x ∈ sl2SubalgebraOfRoot hα ↔ ∃ c₁ c₂ c₃ : K, x = c₁ • e + c₂ • f + c₃ • ⁅e, f⁆ := by
@@ -675,6 +679,7 @@ This represents the image of the coroot space under the inclusion `H ↪ L`. -/
675679
noncomputable abbrev corootSubmodule (α : Weight K H L) : LieSubmodule K H L :=
676680
LieSubmodule.map H.toLieSubmodule.incl (corootSpace α)
677681

682+
set_option backward.isDefEq.respectTransparency false in
678683
open Submodule in
679684
lemma sl2SubmoduleOfRoot_eq_sup (α : Weight K H L) (hα : α.IsNonZero) :
680685
sl2SubmoduleOfRoot hα = genWeightSpace L α ⊔ genWeightSpace L (-α) ⊔ corootSubmodule α := by
@@ -715,6 +720,7 @@ lemma sl2SubmoduleOfRoot_ne_bot (α : Weight K H L) (hα : α.IsNonZero) :
715720
/-- The collection of roots as a `Finset`. -/
716721
noncomputable abbrev _root_.LieSubalgebra.root : Finset (Weight K H L) := {α | α.IsNonZero}
717722

723+
set_option backward.isDefEq.respectTransparency false in
718724
lemma restrict_killingForm_eq_sum :
719725
(killingForm K L).restrict H = ∑ α ∈ H.root, (α : H →ₗ[K] K).smulRight (α : H →ₗ[K] K) := by
720726
rw [restrict_killingForm, traceForm_eq_sum_finrank_nsmul' K H L]

Mathlib/Algebra/Lie/Weights/RootSystem.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def chainLength (α β : Weight K H L) : ℕ :=
7474

7575
lemma chainLength_of_isZero (hα : α.IsZero) : chainLength α β = 0 := dif_pos hα
7676

77+
set_option backward.isDefEq.respectTransparency false in
7778
lemma chainLength_nsmul {x} (hx : x ∈ rootSpace H (chainTop α β)) :
7879
chainLength α β • x = ⁅coroot α, x⁆ := by
7980
by_cases hα : α.IsZero
@@ -116,6 +117,7 @@ lemma rootSpace_neg_nsmul_add_chainTop_of_le {n : ℕ} (hn : n ≤ chainLength
116117
simp only [← smul_neg, ne_eq, LieSubmodule.eq_bot_iff, not_forall]
117118
exact ⟨_, toEnd_pow_apply_mem hf hx n, prim.pow_toEnd_f_ne_zero_of_eq_nat rfl hn⟩
118119

120+
set_option backward.isDefEq.respectTransparency false in
119121
lemma rootSpace_neg_nsmul_add_chainTop_of_lt (hα : α.IsNonZero) {n : ℕ} (hn : chainLength α β < n) :
120122
rootSpace H (-(n • α) + chainTop α β) = ⊥ := by
121123
by_contra e
@@ -257,6 +259,7 @@ lemma chainLength_of_eq_zsmul_add (β' : Weight K H L) (n : ℤ) (hβ' : (β' :
257259
chainBotCoeff_of_eq_zsmul_add α β hα β' n hβ', sub_eq_add_neg, add_add_add_comm,
258260
neg_add_cancel, add_zero]
259261

262+
set_option backward.isDefEq.respectTransparency false in
260263
lemma chainTopCoeff_zero_right [Nontrivial L] (hα : α.IsNonZero) :
261264
chainTopCoeff α (0 : Weight K H L) = 1 := by
262265
symm

Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Commute.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ protected theorem Commute.cfcₙ_real {a b : A} (hb : Commute a b) (f : ℝ →
193193

194194
variable [PartialOrder A] [NonnegSpectrumClass ℝ A] [StarOrderedRing A]
195195

196+
set_option backward.isDefEq.respectTransparency false in
196197
/-- A version of `Commute.cfcₙ` or `IsSelfAdjoint.commute_cfcₙ` which does not require any
197198
interaction with `star` when the base ring is `ℝ≥0`. -/
198199
@[grind ←]

Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Isometric.lean

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ variable [NormedSpace ℝ A] [IsScalarTower ℝ A A] [SMulCommClass ℝ A A]
420420
variable [NonUnitalIsometricContinuousFunctionalCalculus ℝ A IsSelfAdjoint]
421421
variable [NonnegSpectrumClass ℝ A]
422422

423+
set_option backward.isDefEq.respectTransparency false in
423424
open NNReal in
424425
instance Nonneg.instNonUnitalIsometricContinuousFunctionalCalculus :
425426
NonUnitalIsometricContinuousFunctionalCalculus ℝ≥0 A (0 ≤ ·) :=
@@ -442,6 +443,7 @@ variable {A : Type*} [NormedRing A] [StarRing A] [NormedAlgebra ℝ A] [PartialO
442443
variable [StarOrderedRing A] [IsometricContinuousFunctionalCalculus ℝ A IsSelfAdjoint]
443444
variable [NonnegSpectrumClass ℝ A]
444445

446+
set_option backward.isDefEq.respectTransparency false in
445447
lemma IsGreatest.nnnorm_cfc_nnreal [Nontrivial A] (f : ℝ≥0 → ℝ≥0) (a : A)
446448
(hf : ContinuousOn f (σ ℝ≥0 a) := by cfc_cont_tac) (ha : 0 ≤ a := by cfc_tac) :
447449
IsGreatest (f '' σ ℝ≥0 a) ‖cfc f a‖₊ := by
@@ -521,6 +523,7 @@ variable [IsScalarTower ℝ A A] [SMulCommClass ℝ A A] [PartialOrder A]
521523
variable [StarOrderedRing A] [NonUnitalIsometricContinuousFunctionalCalculus ℝ A IsSelfAdjoint]
522524
variable [NonnegSpectrumClass ℝ A]
523525

526+
set_option backward.isDefEq.respectTransparency false in
524527
lemma IsGreatest.nnnorm_cfcₙ_nnreal (f : ℝ≥0 → ℝ≥0) (a : A)
525528
(hf : ContinuousOn f (σₙ ℝ≥0 a) := by cfc_cont_tac) (hf0 : f 0 = 0 := by cfc_zero_tac)
526529
(ha : 0 ≤ a := by cfc_tac) : IsGreatest (f '' σₙ ℝ≥0 a) ‖cfcₙ f a‖₊ := by
@@ -535,24 +538,28 @@ lemma IsGreatest.nnnorm_cfcₙ_nnreal (f : ℝ≥0 → ℝ≥0) (a : A)
535538
· exact ⟨x, quasispectrum.algebraMap_mem ℝ hx, by simp⟩
536539
· exact ⟨x.toNNReal, ha'.apply_mem hx, by simp⟩
537540

541+
set_option backward.isDefEq.respectTransparency false in
538542
lemma apply_le_nnnorm_cfcₙ_nnreal (f : ℝ≥0 → ℝ≥0) (a : A) ⦃x : ℝ≥0⦄ (hx : x ∈ σₙ ℝ≥0 a)
539543
(hf : ContinuousOn f (σₙ ℝ≥0 a) := by cfc_cont_tac) (hf0 : f 0 = 0 := by cfc_zero_tac)
540544
(ha : 0 ≤ a := by cfc_tac) : f x ≤ ‖cfcₙ f a‖₊ := by
541545
revert hx
542546
exact (IsGreatest.nnnorm_cfcₙ_nnreal f a hf hf0 ha |>.2 ⟨x, ·, rfl⟩)
543547

548+
set_option backward.isDefEq.respectTransparency false in
544549
lemma nnnorm_cfcₙ_nnreal_le {f : ℝ≥0 → ℝ≥0} {a : A} {c : ℝ≥0} (h : ∀ x ∈ σₙ ℝ≥0 a, f x ≤ c) :
545550
‖cfcₙ f a‖₊ ≤ c := by
546551
refine cfcₙ_cases (‖·‖₊ ≤ c) a f (by simp) fun hf hf0 ha ↦ ?_
547552
simp only [← cfcₙ_apply f a, isLUB_le_iff (IsGreatest.nnnorm_cfcₙ_nnreal f a hf hf0 ha |>.isLUB)]
548553
rintro - ⟨x, hx, rfl⟩
549554
exact h x hx
550555

556+
set_option backward.isDefEq.respectTransparency false in
551557
lemma nnnorm_cfcₙ_nnreal_le_iff (f : ℝ≥0 → ℝ≥0) (a : A) (c : ℝ≥0)
552558
(hf : ContinuousOn f (σₙ ℝ≥0 a) := by cfc_cont_tac) (hf₀ : f 0 = 0 := by cfc_zero_tac)
553559
(ha : 0 ≤ a := by cfc_tac) : ‖cfcₙ f a‖₊ ≤ c ↔ ∀ x ∈ σₙ ℝ≥0 a, f x ≤ c :=
554560
fun h _ hx ↦ apply_le_nnnorm_cfcₙ_nnreal f a hx hf hf₀ ha |>.trans h, nnnorm_cfcₙ_nnreal_le⟩
555561

562+
set_option backward.isDefEq.respectTransparency false in
556563
lemma nnnorm_cfcₙ_nnreal_lt {f : ℝ≥0 → ℝ≥0} {a : A} {c : ℝ≥0} (h : ∀ x ∈ σₙ ℝ≥0 a, f x < c) :
557564
‖cfcₙ f a‖₊ < c := by
558565
refine cfcₙ_cases (‖·‖₊ < c) a f ?_ fun hf hf0 ha ↦ ?_

Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Range.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ variable [IsTopologicalRing A] [ContinuousStar A]
3939

4040
open StarAlgebra
4141

42+
set_option backward.isDefEq.respectTransparency false in
4243
open scoped ContinuousFunctionalCalculus in
4344
theorem range_cfcHom {a : A} (ha : p a) :
4445
(cfcHom ha (R := 𝕜)).range = elemental 𝕜 a := by
@@ -110,6 +111,7 @@ variable [ContinuousConstSMul 𝕜 A] [StarModule 𝕜 A] [IsTopologicalRing A]
110111

111112
open NonUnitalStarAlgebra
112113

114+
set_option backward.isDefEq.respectTransparency false in
113115
open scoped NonUnitalContinuousFunctionalCalculus in
114116
theorem range_cfcₙHom {a : A} (ha : p a) :
115117
NonUnitalStarAlgHom.range (cfcₙHom ha (R := 𝕜)) = elemental 𝕜 a := by
@@ -145,6 +147,7 @@ variable [SMulCommClass ℝ A A] [TopologicalSpace A]
145147
variable [NonUnitalContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [IsTopologicalRing A] [T2Space A]
146148
variable [PartialOrder A] [NonnegSpectrumClass ℝ A] [StarOrderedRing A]
147149

150+
set_option backward.isDefEq.respectTransparency false in
148151
lemma range_cfcₙ_nnreal_eq_image_cfcₙ_real (a : A) (ha : 0 ≤ a) :
149152
Set.range (cfcₙ (R := ℝ≥0) · a) = (cfcₙ · a) '' {f | ∀ x ∈ quasispectrum ℝ a, 0 ≤ f x} := by
150153
ext
@@ -158,6 +161,7 @@ lemma range_cfcₙ_nnreal_eq_image_cfcₙ_real (a : A) (ha : 0 ≤ a) :
158161

159162
variable [StarModule ℝ A] [ContinuousStar A] [ContinuousConstSMul ℝ A]
160163

164+
set_option backward.isDefEq.respectTransparency false in
161165
lemma range_cfcₙ_nnreal (a : A) (ha : 0 ≤ a) :
162166
Set.range (cfcₙ (R := ℝ≥0) · a) = {x | x ∈ NonUnitalStarAlgebra.elemental ℝ a ∧ 0 ≤ x} := by
163167
rw [range_cfcₙ_nnreal_eq_image_cfcₙ_real a ha, Set.setOf_and, SetLike.setOf_mem_eq,

Mathlib/Analysis/InnerProductSpace/PiL2.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,7 @@ private def DirectSum.IsInternal.subordinateOrthonormalBasisIndexFiberEquiv
11081108
left_inv := by grind [subordinateOrthonormalBasisIndex_def, Fin.cast_eq_self]
11091109
right_inv := by grind
11101110

1111+
set_option backward.isDefEq.respectTransparency false in
11111112
theorem DirectSum.IsInternal.card_filter_subordinateOrthonormalBasisIndex_eq
11121113
(hV' : OrthogonalFamily 𝕜 (fun i => V i) fun i => (V i).subtypeₗᵢ) (i : ι) :
11131114
Finset.card {a | hV.subordinateOrthonormalBasisIndex hn a hV' = i} = finrank 𝕜 (V i) := by

Mathlib/Analysis/LocallyConvex/SeparatingDual.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ instance _root_.Algebra.IsCentral.instContinuousLinearMap [Algebra.IsCentral S R
163163
have (y : V) := by simpa [hg] using congr($(Subalgebra.mem_center_iff.mp hf (g.smulRight y)) x)
164164
exact ⟨g (f x), by simp [this, ContinuousLinearMap.ext_iff]⟩
165165

166+
set_option backward.isDefEq.respectTransparency false in
166167
open ContinuousLinearMap ContinuousLinearEquiv in
167168
theorem _root_.ContinuousLinearEquiv.conjContinuousAlgEquiv_ext_iff
168169
{R V W : Type*} [NormedField R] [AddCommGroup V] [AddCommGroup W] [TopologicalSpace R]

Mathlib/Analysis/Normed/Module/HahnBanach.lean

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,11 @@ variable (𝕜 : Type v) [RCLike 𝕜]
140140

141141
open ContinuousLinearEquiv Submodule
142142

143-
set_option backward.isDefEq.respectTransparency false in
144-
theorem coord_norm' {x : E} (h : x ≠ 0) : ‖(‖x‖ : 𝕜) • coord 𝕜 x h‖ = 1 := by
145-
simp [-algebraMap_smul, norm_smul, mul_inv_cancel₀ (mt norm_eq_zero.mp h)]
143+
section Seminormed
146144

147145
variable {E : Type u} [SeminormedAddCommGroup E] [NormedSpace 𝕜 E]
148146

147+
set_option backward.isDefEq.respectTransparency false in
149148
/-- Corollary of Hahn-Banach. Given an element `x` of a normed space with `‖x‖ ≠ 0`, there
150149
exists an element of the dual space, of norm `1`, whose value on `x` is `‖x‖`. -/
151150
theorem exists_dual_vector (x : E) (h : ‖x‖ ≠ 0) : ∃ g : StrongDual 𝕜 E, ‖g‖ = 1 ∧ g x = ‖x‖ := by

Mathlib/Analysis/Normed/Module/Multilinear/Basic.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,7 @@ theorem norm_mkPiAlgebraFin [NormOneClass A] :
776776

777777
end
778778

779+
set_option backward.isDefEq.respectTransparency false in
779780
@[simp]
780781
theorem nnnorm_smulRight (f : ContinuousMultilinearMap 𝕜 E 𝕜) (z : G) :
781782
‖f.smulRight z‖₊ = ‖f‖₊ * ‖z‖₊ := by

0 commit comments

Comments
 (0)