All projects

Standalone Lean project

Physlib

Community physics definitions, theorems, calculations, notation, tactics, and quantum-information developments.

591indexed declarationsLean 4.32.0mathlib@81a5d257c8e4commit dd43e9e65791Apache-2.0Repository Versions and build evidence
actionaffine groupallows termangular momentumangular velocityas tensorbasicbasis linearchiral indicesclifford algebracommutationcompletenesscompletionsconstantconstant slice distconstant time distcontractioncontractionscoordinatecovariancecross productcurldefsderivativesdist of functiondivdown singleteffective potentialeigenfunctionelectric fieldempotentialeuler lagrangeevaluationexamplesexponential mapfield strengthfinitefinset termsfive quantagauge transformationgeneralizedgradgradinghamiltonianharmonic wavehas var adjointideal gasinfinite wireinsert and contractinsert and contract natinsert noneinsert someinsertion sortintegralis dist boundedis extremais plane waveis viableisqbridgeiterated laplaciankinetic energykinetic termkoszul signlagrangianlaplace runge lenz vectorlemmaslie traceline in cubicmagnetic fieldmapmatrix derivativesmatrix divmetricminimal super setmodulemodulesmomentummotionmultiplicationnavier stokesnorm pownormal orderof finsetof potential termone dimensionparameterizationpheno closedpheno constrainedphys hermitePhysicspositionpotentialpreproductproperquantum field theoryQuantum informationquark doubletradial angular measureregularizedreindexingrelationsrelativityresolventrowsschur triangulationschwartz submoduleself adjointslicesolid spheresolutionstatic contractstatic wick termsucc succ abovesuper commutesymmetrictanhten quantatensorialthermo quantitiesthree dimensiontime contracttime contractiontime liketime ordertime slicetiseto complexto solstotal derivative equivalencetrajectorytwotwo stateunboundeduncertaintyuncontracted listunitunit tensorup singletvariancewick contractionswick termwicks theorem normalyukawa

Flagship declarations

Start with the mathematical results

Pinned project revision
Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Differential Entropy eq k B beta mean Energy add k B log math Z

CanonicalEnsemble.differentialEntropy_eq_kB_beta_meanEnergy_add_kB_log_mathZ

Plain-language statement

General identity: S_diff = kB β ⟨E⟩ + kB log Z_math. This connects the differential entropy to the mean energy and the mathematical partition function. Integrability of log (probability …) follows from the pointwise formula.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Differential Entropy nonneg of prob le one

CanonicalEnsemble.differentialEntropy_nonneg_of_prob_le_one

Plain-language statement

General entropy non-negativity under a pointwise upper bound probability ≤ 1. This assumption holds automatically in the finite/counting case (since sums bound each term), but can fail in general (continuous) settings; hence we separate it as a hypothesis. Finite case: see CanonicalEnsemble.entropy_nonneg in Finite.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record

Project index

More declarations

Search within this project

Showing 8 of 585 additional declarations. Use project search for the complete index.

Project-declaredLean 4.32.0

Entropy nonneg

CanonicalEnsemble.entropy_nonneg

Plain-language statement

The entropy of a finite canonical ensemble (Shannon entropy) is non-negative.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Fluctuation dissipation theorem finite

CanonicalEnsemble.fluctuation_dissipation_theorem_finite

Plain-language statement

FDT for finite canonical ensembles: C_V = Var(E) / (k_B T²).

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Helmholtz Free Energy eq mean Energy sub temp mul thermodynamic Entropy

CanonicalEnsemble.helmholtzFreeEnergy_eq_meanEnergy_sub_temp_mul_thermodynamicEntropy

Project documentation

The Helmholtz free energy F is related to the mean energy U and the absolute thermodynamic entropy S by the identity F = U - TS. This theorem shows that the statistically-defined quantities in this framework correctly satisfy this principle of thermodynamics.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Log phys eq log math sub const on Ioi

CanonicalEnsemble.log_phys_eq_log_math_sub_const_on_Ioi

Plain-language statement

Helper: equality (on Set.Ioi 0) between the β–parametrized logarithm of the physical partition function and the β–parametrized logarithm of the mathematical partition function up to the (β–independent) semiclassical correction. This is used only to identify derivatives (the correction drops). We add the hypothesis h_fin giving finiteness of the Bolt...

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Mean Energy eq neg deriv log math Z of beta

CanonicalEnsemble.meanEnergy_eq_neg_deriv_log_mathZ_of_beta

Plain-language statement

The mean energy is the negative derivative of the logarithm of the (mathematical) partition function with respect to β = 1/(kB T). see: Tong (§1.3.2, §1.3.3), L&L (§31, implicitly, and §36) Here the derivative is a derivWithin over Set.Ioi 0 since β > 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Mean Energy eq ratio of integrals

CanonicalEnsemble.meanEnergy_eq_ratio_of_integrals

Plain-language statement

The mean energy can be expressed as a ratio of integrals.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record