AFTD Auto-Formalizing Theoretical Domains

Constants.kB_nonneg

theoremverifiedformalizationimported Lean

The Boltzmann constant is non-negative.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open NNReal in
lemma Constants.kB_nonneg : 0 ≤ kB
Formalizes
Physlib, `Constants.kB_nonneg`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Joseph Tooby-Smith. 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
Classical.choiceQuot.soundpropext
Built on 2
  • Constants.kBThe Boltzmann constant in a given but arbitrary set of units. Boltzman's constant has dimension equivalent to Energy/Temperature.
  • Constants.kBAxThe Boltzmann constant in units of m ^ 2 kg s ^ (-2) K ^ (-1). As long as one does not use the underlying value of this quantity, then…
Used by 2
  • Temperature.βThe inverse temperature defined as 1/(kB * T) in a given, but arbitrary set of units. This has dimensions equivalent to Energy.
  • Temperature.ofβThe temperature associated with a given inverse temperature β.

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open NNReal in
/-- The Boltzmann constant is non-negative. -/
lemma Constants.kB_nonneg : 0 ≤ kB := le_of_lt kBAx.2
See it in the graphDiscuss this resultChallenge it