Zulip Chat Archive

Stream: mathlib4

Topic: Lean 4 code of the proof of the Spectral Theorem


Oliver (Jul 04 2024 at 00:15):

Could anyone please provide an error-free Lean 4 code of the proof of the Spectral Theorem? Thanks a lot.

Yury G. Kudryashov (Jul 04 2024 at 00:44):

What exact statement do you mean? git grep -i 'spectral.*theorem' gives some results. Does either of them work for you?

Oliver (Jul 04 2024 at 00:58):

Yury G. Kudryashov said:

What exact statement do you mean? git grep -i 'spectral.*theorem' gives some results. Does either of them work for you?

Why does it say "fatal: not a git repository (or any of the parent directories): .git" when running "git grep -i 'spectral.*theorem'"? Thanks.

Yury G. Kudryashov (Jul 04 2024 at 01:00):

Are you in the folder with a git clone of the Mathlib4 repo?

Shreyas Srinivas (Jul 04 2024 at 01:14):

https://www.moogle.ai/search/raw?q=spectral%20theorem

Yury G. Kudryashov (Jul 04 2024 at 03:42):

@Oliver Let me repeat my question. Yury G. Kudryashov said:

What exact statement do you mean?

E.g., do you need the infinite-dimensional case?

Jireh Loreaux (Jul 04 2024 at 05:04):

Yeah, you're really going to need to be more precise about what you mean by "spectral theorem". I'm familiar with more theorems (closely related) than I have fingers that go by that name. For instance, you could mean:

  • diagonalization of normal matrices
  • diagonalization of selfadjoint matrices
  • diagonalization of symmetric linear maps on a finite dimensional inner product space
  • diagonalization of symmetric linear maps on a finite dimensional inner product space
  • the continuous functional calculus in a C⋆-algebra
  • the Borel functional calculus in a von Neumann algebra
  • diagonalization of compact normal operators on a Hilbert space
  • diagonalization of compact selfadjoint operators on a Hilbert space
  • many more variations on these

Some of these we have. Others we don't. Some that we don't have could be obtained with a few hours effort, some with many months effort.

Kim Morrison (Jul 04 2024 at 21:34):

And that doesn't even mention unbounded operators! :-) One day ...


Last updated: May 02 2025 at 03:31 UTC