AFTD Auto-Formalizing Theoretical Domains

BlackBody.spectralRadiance

defimported Lean

The spectral radiance per unit frequency of blackbody radiation at frequency ν for a black body B and speed of light c: B(ν, T) = 2 h ν³ / c² · 1 / (e^{h ν / (k_B T)} - 1) By the homogeneity and isotropy of blackbody radiation, the spectral radiance is independent of position and direction, so it depends only on frequency and temperature. Extended by zero outside the physical domain 0 < ν.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Constants in
noncomputable def BlackBody.spectralRadiance (B : BlackBody) (c : SpeedOfLight) (ν : ℝ) : ℝ
Defined in
Physlib, `BlackBody.spectralRadiance`
Lean proof
By Samyak Rai, Dwanith C. Jayanth, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Samyak Rai. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
10 Oct 2026
Axioms
none listed
Built on 29
Used by 5

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Constants in
/-- The spectral radiance per unit frequency of blackbody radiation at frequency `ν` for a black body `B` and speed of light `c`: `B(ν, T) = 2 h ν³ / c² · 1 / (e^{h ν / (k_B T)} - 1)` By the homogeneity and isotropy of blackbody radiation, the spectral radiance is independent of position and direction, so it depends only on frequency and temperature. Extended by zero outside the physical domain `0 < ν`. -/
noncomputable def BlackBody.spectralRadiance (B : BlackBody) (c : SpeedOfLight) (ν : ℝ) : ℝ :=
  if 0 < ν then
    2 * h * ν ^ 3 / ((c : ℝ) ^ 2 * (Real.exp (h * ν / (kB * (B.T : ℝ))) - 1))
  else 0
See it in the graphDiscuss this resultChallenge it