Encyclopedia Cosmology Cosmology Statistics Kernels Fermi Energy Kernel From Log Kernel
ARTICLE 4 claims 3 theorems 1 model
Cosmology Statistics Kernels Fermi Energy Kernel From Log Kernel
The Fermi energy kernel, the average energy carried by a fermion mode, is not an arbitrary input but a derivative of the partition function.
The energy kernel's derivation
In statistical mechanics, the Fermi energy kernel describes the average energy of a single fermion mode at temperature T. Written as a function of the dimensionless ratio t = E/T, it takes the form t/(eᵗ + 1). This kernel appears in the pressure and energy integrals of a fermion gas, and it encodes the Pauli exclusion principle: no two fermions can occupy the same quantum state, so the average occupation of a mode never reaches one.
The kernel is classically derived from the grand partition function. For a single mode with energy E, the partition function is the sum of Gibbs weights e^(−n·E/T) over allowed occupancies n. For fermions, the Pauli principle restricts n to the set {0, 1}, so the partition function is simply 1 + e^(−t). The average occupation
In Recognition Science, the framework's machine-checked library of formal theorems proves that this energy kernel is not an independent definition but a consequence of the log kernel. Specifically, the theorem fermiEnergyKernel_from_logKernel establishes that the Fermi energy kernel equals −t times the derivative of the Fermi log kernel, where the log kernel is the logarithm of the partition function. This is the thermodynamic identity
What the theorem does not claim is that the Gibbs weight or the occupancy set are themselves derived. The Gibbs weight e^(−βE) is a model input, the canonical-ensemble measure, and the occupancy set {0, 1} is a model input encoding Pauli exclusion. The framework's exclusion principle is formalized elsewhere as a J-cost statement, but the bridge from that certificate to the occupancy set used here remains open. The theorem also does not claim that the Fermi energy kernel is the only possible form; it shows that, given the model inputs, the kernel follows from the partition function.
The payoff is thermodynamic consistency. The pressure kernel and the energy kernel are not independent inputs to the plasma equations; they are derivative-related, exactly as the grand-canonical formalism demands. This means the framework's plasma pressure and energy, computed from the partition function in momentum space, agree with the previously defined kernels. The theorem closes a gap: what was once a definition is now a proved consequence of a single starting point.
THEOREM fermiEnergyKernel_from_logKernel · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- Fermi version: `t/(eᵗ+1) = −t·(d/dt) ln Z_F`. -/
theorem fermiEnergyKernel_from_logKernel (t : ℝ) :
fermiEnergyKernel t = -t * deriv fermiLogKernel t := by
rw [(fermiLogKernel_hasDerivAt t).deriv, fermiEnergyKernel_eq_occupation]
ring
THEOREM fermiLogKernel_eq_log_partition · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- **THEOREM: the Fermi pressure kernel is the log partition function.**
`ln(1+e^{−t}) = ln Z_F(t)`. -/
theorem fermiLogKernel_eq_log_partition (t : ℝ) :
fermiLogKernel t = Real.log (fermiPartition t) := by
rw [fermiPartition_eq]
rfl
THEOREM fermiOccupation_eq · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- **THEOREM (Fermi–Dirac distribution).** The ensemble-mean occupation
of a fermionic mode is `⟨n⟩_F = 1/(eᵗ+1)`, for every `t` (the two-state
sum needs no convergence condition). -/
theorem fermiOccupation_eq (t : ℝ) :
fermiOccupation t = 1 / (Real.exp t + 1) := by
unfold fermiOccupation boltzmannWeight
rw [fermiPartition_eq]
simp only [Finset.sum_range_succ, Finset.sum_range_zero,
Nat.cast_zero, Nat.cast_one, zero_mul, one_mul, neg_zero,
Real.exp_zero, zero_add, add_zero]
have hy0 : Real.exp t ≠ 0 := ne_of_gt (Real.exp_pos t)
have hpos : (0 : ℝ) < 1 + Real.exp (-t) := by positivity
rw [Real.exp_neg]
rw [Real.exp_neg] at hpos
field_simp
MODEL boltzmannWeight · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- Gibbs weight of the `n`-quanta microstate of a mode at dimensionless
energy `t = E/T` (equivalently `β·E`), chemical potential zero:
`w_n = e^{−n·t}`. -/
noncomputable def boltzmannWeight (t : ℝ) (n : ℕ) : ℝ := Real.exp (-(n * t))
What this page does not claim
The theorem does not derive the Gibbs weight or the occupancy set from the framework's first principles. The theorem does not prove the Pauli exclusion principle itself; the bridge from the J-cost statement to the occupancy set remains open. The theorem does not claim the Fermi energy kernel is the only possible form for all fermionic systems.
Verify this page
Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:
$ lake env lean IndisputableMonolith/Cosmology/StatisticsKernels.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)
A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.
Derived articles
This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:
- How does the framework's J-cost statement of the exclusion principle connect to the occupancy set {0, 1} used here?
- What is the bosonic analogue of this derivation, and where does it appear in the plasma equations?
- How does the derivative relation between pressure and energy kernels generalize to interacting systems?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
THEOREM fermiEnergyKernel_from_logKernel · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- Fermi version: `t/(eᵗ+1) = −t·(d/dt) ln Z_F`. -/ theorem fermiEnergyKernel_from_logKernel (t : ℝ) : fermiEnergyKernel t = -t * deriv fermiLogKernel t := by rw [(fermiLogKernel_hasDerivAt t).deriv, fermiEnergyKernel_eq_occupation] ringThe Fermi energy kernel equals −t times the derivative of the Fermi log kernel. fermiEnergyKernel_from_logKernel · IndisputableMonolith/Cosmology/StatisticsKernels.leanTHEOREM fermiLogKernel_eq_log_partition · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- **THEOREM: the Fermi pressure kernel is the log partition function.** `ln(1+e^{−t}) = ln Z_F(t)`. -/ theorem fermiLogKernel_eq_log_partition (t : ℝ) : fermiLogKernel t = Real.log (fermiPartition t) := by rw [fermiPartition_eq] rflThe Fermi log kernel is the logarithm of the partition function. fermiLogKernel_eq_log_partition · IndisputableMonolith/Cosmology/StatisticsKernels.leanTHEOREM fermiOccupation_eq · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- **THEOREM (Fermi–Dirac distribution).** The ensemble-mean occupation of a fermionic mode is `⟨n⟩_F = 1/(eᵗ+1)`, for every `t` (the two-state sum needs no convergence condition). -/ theorem fermiOccupation_eq (t : ℝ) : fermiOccupation t = 1 / (Real.exp t + 1) := by unfold fermiOccupation boltzmannWeight rw [fermiPartition_eq] simp only [Finset.sum_range_succ, Finset.sum_range_zero, Nat.cast_zero, Nat.cast_one, zero_mul, one_mul, neg_zero, Real.exp_zero, zero_add, add_zero] have hy0 : Real.exp t ≠ 0 := ne_of_gt (Real.exp_pos t) have hpos : (0 : ℝ) < 1 + Real.exp (-t) := by positivity rw [Real.exp_neg] rw [Real.exp_neg] at hpos field_simpThe Fermi occupation number is 1/(eᵗ + 1). fermiOccupation_eq · IndisputableMonolith/Cosmology/StatisticsKernels.leanMODEL boltzmannWeight · IndisputableMonolith/Cosmology/StatisticsKernels.lean
/-- Gibbs weight of the `n`-quanta microstate of a mode at dimensionless energy `t = E/T` (equivalently `β·E`), chemical potential zero: `w_n = e^{−n·t}`. -/ noncomputable def boltzmannWeight (t : ℝ) (n : ℕ) : ℝ := Real.exp (-(n * t))The Gibbs weight and the occupancy set {0, 1} are model inputs. boltzmannWeight · IndisputableMonolith/Cosmology/StatisticsKernels.lean