Skip to content

Commit 8ec1912

Browse files
chore(Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean): automated extraction (#38010)
This PR was automatically created from PR #37987 by @yuanyi-350 via a [review comment](#37987 (comment)) by @themathqueen. Co-authored-by: yuanyi-350 <174429902+yuanyi-350@users.noreply.github.com>
1 parent 5ecc156 commit 8ec1912

File tree

1 file changed

+6
-9
lines changed
  • Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus

1 file changed

+6
-9
lines changed

Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ lemma cfcₙ_map_pi (f : R → R) (a : ∀ i, A i)
4242
(hf : ContinuousOn f (⋃ i, quasispectrum R (a i)) := by cfc_cont_tac)
4343
(ha : p a := by cfc_tac) (ha' : ∀ i, q i (a i) := by cfc_tac) :
4444
cfcₙ f a = fun i => cfcₙ f (a i) := by
45-
cases isEmpty_or_nonempty ι with
46-
| inr h =>
47-
by_cases hf₀ : f 0 = 0
48-
· ext i
49-
let φ := Pi.evalNonUnitalStarAlgHom S A i
50-
exact φ.map_cfcₙ f a (by rwa [Pi.quasispectrum_eq]) hf₀ (continuous_apply i) ha (ha' i)
51-
· simp only [cfcₙ_apply_of_not_map_zero _ hf₀, Pi.zero_def]
52-
| inl h =>
53-
exact Subsingleton.elim _ _
45+
by_cases hf₀ : f 0 = 0
46+
· ext i
47+
have : Nonempty ι := ⟨i⟩
48+
let φ := Pi.evalNonUnitalStarAlgHom S A i
49+
exact φ.map_cfcₙ f a (by rwa [Pi.quasispectrum_eq]) hf₀ (continuous_apply i) ha (ha' i)
50+
· simp only [cfcₙ_apply_of_not_map_zero _ hf₀, Pi.zero_def]
5451

5552
end nonunital_pi
5653

0 commit comments

Comments
 (0)