What is the mathematical cause of the "quantum" in quantum mechanics? What causes some observables to take on discrete values? There seem to be two different causes, compactness of symmetry Lie groups, and bound states. I haven't been able to find a full explanation of either cause, and am also wondering whether they are both aspects of the same underlying mathematical phenomenon. Maybe I should have split this into two questions, but I'm hoping for an overarching answer.
Below I catalogue some of the answers I have been able to find, and why they fall short, which I hope will be a guide for what kind of answer I am looking for.
first: compact Lie groups lead to discrete spectra
On the Lie group side, I think the gist of it is that any quantum numbers live in the spectrum of a generator of a symmetry Lie group of the Lagrangian, and for a compact Lie group those spectra must be discrete.
This is why the angular momentum is a discrete quantum number, because the rotation group is compact. Linear momentum must also be discrete in a compact configuration space.
In this physics.se post Qmechanic says compactness is the source of all discreteness in quantum mechanics:
The discrete spectrum for Lie algebra generators of a compact Lie group, e.g. angular momentum operators.
The linked physics.se post physics.se has some handwavey physical descriptions and some more mentions of compactness.
In another physics.se answer by Qmechanic, we hear:
It is a standard result in representation theory, that for a finite-dimensional representation of a compact Lie group, that the charges (i.e., the eigenvalues of the CSA generators) take values in a discrete weight lattice.
But when this question is asked on math.se, they have never heard of any such result. All operators have discrete spectra in finite dimensional reps. Maybe it's the Peter–Weyl theorem, or maybe it's Pontryagin duality.
But when Qiaochu asks on MO about Pontryagin duality giving discrete dual groups to non-Abelian compact groups, the answer is complicated.
Baez has a writeup which touches on it:
Let me toss out a buzzword or two. Pontryagin duality. Compact <=> Discrete. Lie groups.
In other words, in phase space the harmonic oscillator just goes round in circles... or in other, buzzier words, we have an action of U(1) as symplectomorphisms of phase space. So when we quantize, since nothing much goes wrong, we get an action of U(1) on a Hilbert space; the self-adjoint generator - the Hamiltonian - thus has integer spectrum.
Question 1: Is it standard fact of weights of a Lie algebra being discrete, or Pontryagin duality, or Peter-Weyl theorem
I don't see how any of these mathematical facts allow us to deduce discreteness of the spectra of the generators of a compact Lie group.
the root system of the Cartan subalgebra of a Lie algebra is discrete I guess because the Lie algebra and its Cartan subalgebra are finite dimensional. It doesn't appear to have anything to do with the compactness of the Lie group. In particular, Lie algebras like $\mathfrak{sl}_n$ have discrete root systems, despite the Lie groups not being compact.
Pontryagin duality tells us that the dual group of a compact LCA is discrete. What does this tell us about the spectrum of Lie group generators? Do those comprise the dual group in some way?
The Peter–Weyl theorem tells us that a unitary representation of a compact group decomposes into a direct sum of finitely many orthogonal irreps. What does this tell us about the spectrum of generators of the group?
We know that a faithful rep of a non-compact group cannot be both finite dimensional and unitary. Generators of compact groups are anti-Hermitian, but made Hermitian in the physics convention of factoring out an $i$. So the generators of the non-compact directions of the Poincaré group are not Hermitian. Does tell us anything about the relationship between compactness of the group and discreteness of the spectrum?
second: bounded Hamiltonians lead to a discrete spectrum of bound states
A free particle Hamiltonian has a continuous spectrum, while the spectrum of bound particles like a box potential or a harmonic oscillator is discrete. Why?
In this physics.se post it is discussed that Sturm–Liouville theory gives us a compact operator.
The spectral theorem for compact operators on a Hilbert space does tell us that they have discrete spectra or at worst, an accumulation of eigenvalues at zero.
But in general Hamiltonians or generators of a Lie group can be non-compact as operators on Hilbert space. And in general an unbounded operator can have a point spectrum, a continuous spectrum, as well as a residual spectrum, due to the Lebesgue decomposition theorem.
question 2: what criteria can we put on an unbounded operator on Hilbert space to guarantee a discrete spectrum, like for the Hamiltonian of free/bound systems
Is there any relationship between the discrete spectrum we expect for generators of a compact Lie group, and the discrete spectrum we expect for bound states? Is there a hidden compact Lie group at work on this Hamiltonian?
These seem more like math questions than physics, but since it was already asked on m.se with no answer, I thought I would try here. Plus some people here like Qmechanic seem like they may have good answers.