Documentation

CsdLean4.CV.OscillatorSpectrum

CV-4: the oscillator energy spectrum — finite-energy predictions recovered #

Category: 3-Local (the oscillator energy spectrum — finite-energy predictions recovered).

CV-2/CV-3 (CV/Oscillator.lean) built the truncated-oscillator ladder operators a, a†. This module reads off the energy spectrum and shows the truncation recovers the finite-energy predictions of the ideal oscillator exactly.

The Hamiltonian is H = a†a + ½ (ℏω = 1). Since a†a = diag(0, 1, …, N−1) is the number operator, H = diag(½, 3⁄2, …, N−1+½) is diagonal, Hermitian, with the Fock states eₙ as energy eigenstates:

`H·eₙ = (n + ½)·eₙ`,    `Eₙ = n + ½`.

The payoff is that Eₙ = n + ½ carries no N: the energy of level n is the same in every truncation that contains it (oscEnergy is a function of n alone). So the truncation is transparent for every level below the ceiling — the zero-point energy E₀ = ½, the uniform ladder spacing Eₙ₊₁ − Eₙ = 1 (the harmonic-oscillator signature), and each level are all recovered exactly. The finite cutoff distorts nothing below it; the only defect (CV-3) is at the top level N−1.

CSD reading #

A finite operational sector reproduces the low-lying oscillator physics exactly: the discrete, evenly-spaced energy ladder and its zero-point offset are cutoff-independent. The continuum oscillator is the N → ∞ limit, in which the ladder simply extends; no low-energy prediction changes.

Honest scope (load-bearing) #

This reads the spectrum off the (already-built) number operator and states its N-independence. It does not derive the oscillator dynamics or claim more than the finite-spectrum recovery. Cat-1; foundational triple; CSD reading in the docstrings only.

Main results #

noncomputable def CSD.CV.hamiltonian (N : ) :
Matrix (Fin N) (Fin N)

The oscillator Hamiltonian H = a†a + ½ (ℏω = 1).

Equations
Instances For
    noncomputable def CSD.CV.oscEnergy (n : ) :

    The energy of level n, Eₙ = n + ½. Crucially a function of n ALONE — no dependence on the cutoff N — so it is the same in every truncation that contains level n.

    Equations
    Instances For
      theorem CSD.CV.hamiltonian_eq_diagonal {N : } :
      hamiltonian N = Matrix.diagonal fun (i : Fin N) => (oscEnergy i)

      H = diag(½, 3⁄2, …, N−1+½). The Hamiltonian is diagonal with the energy levels on the diagonal.

      H is Hermitian (a genuine self-adjoint observable — hence real energies).

      The Fock states are energy eigenstates. H·eₙ = (n + ½)·eₙ, so the Fock basis diagonalises the Hamiltonian and the energy of level n is Eₙ = n + ½.

      theorem CSD.CV.oscEnergy_gap (n : ) :
      oscEnergy (n + 1) - oscEnergy n = 1

      Uniform ladder spacing. Eₙ₊₁ − Eₙ = 1 — the equally-spaced spectrum that is the harmonic oscillator's signature, exact and cutoff-free.

      Zero-point energy. E₀ = ½ — the ground-state energy, cutoff-free.

      theorem CSD.CV.oscEnergy_cutoff_independent {N M : } (n : Fin N) (m : Fin M) (h : n = m) :

      Cutoff-independence of finite-energy predictions. For any two truncations, levels with the same Fock index have the same energy: Eₙ depends only on n, never on the cutoff N. This is the sense in which the truncated oscillator recovers the ideal oscillator's finite-energy predictions exactly.

      theorem CSD.CV.hamiltonian_groundEnergy {N : } (hN : 0 < N) :

      The ground-state energy as an eigenvalue equation. H·e₀ = ½·e₀.