AFTD Auto-Formalizing Theoretical Domains

BlackBody.spectralRadianceWave

defimported Lean

Spectral radiance per unit wavelength of blackbody radiation at wavelength λ for a black body B and speed of light c: B(λ, T) = 2 h c² / λ⁵ · 1 / (e ^ (h c / (λ kB T)) - 1), 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.spectralRadianceWave (B : BlackBody) (c : SpeedOfLight) (lam : ℝ) : ℝ
Defined in
Physlib, `BlackBody.spectralRadianceWave`
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 30
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Constants in
/-- Spectral radiance per unit wavelength of blackbody radiation at wavelength `λ` for a black body `B` and speed of light `c`: `B(λ, T) = 2 h c² / λ⁵ · 1 / (e ^ (h c / (λ kB T)) - 1)`, extended by zero outside the physical domain `0 < λ`. -/
noncomputable def BlackBody.spectralRadianceWave (B : BlackBody) (c : SpeedOfLight) (lam : ℝ) : ℝ :=
  if 0 < lam then
    2 * h * (c : ℝ) ^ 2 / lam ^ 5 / (Real.exp (h * (c : ℝ) / (lam * kB * (B.T : ℝ))) - 1)
  else 0
See it in the graphDiscuss this resultChallenge it