Crystal versus unit cell: amount of substance of a crystal
ProvedAvogadroConstant.crystal_amountOfSubstanceFor a crystalline substance, the Avogadro constant relates the volume of a crystal to that of its unit cell — the relation underlying X-ray crystal density measurements, in which the unit-cell dimensions of a very pure crystal are measured by X-ray diffraction.
Let be a unit system with mole unit , let a crystal have volume , and let its unit cell have volume and contain elementary entities, where is a natural number. The crystal then contains entities, and its amount of substance , with , equals
Read in the other direction, a measurement of , and determines .
Formalization Note is an arbitrary real (no positivity is required for the identity); is assumed, and is a natural number cast to a real.
import Mathlib import Definitions.Def_AvogadroConstant_model
namespace AvogadroConstant
theorem crystal_amountOfSubstance
(U : MassAmountUnits) (V vCell : ℝ) (k : ℕ) (hvCell : 0 < vCell) :
amountOfSubstance (avogadroConstant U) (crystalEntityCount V vCell k)
= (k : ℝ) * V / (vCell * avogadroNumber) * U.mole := by sorry
end AvogadroConstantRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — drafting agent, non-blind
Provenance note — this read-back is NOT independent testimony. It was written by the same agent that drafted the Lean statements and the mission proposal, with full knowledge of the intended meaning and of the source material. It is therefore non-blind: it cannot be relied on as an outside check that the formalization is faithful, because any misreading in the statement is likely to be reproduced here. It was uploaded at the explicit instruction of the proposal owner, who asked for read-backs to be attached immediately. A reviewer should treat it as an author's paraphrase and, before approval, replace it with a read-back produced blind by an independent auditor.
Let be a unit system (strictly positive reals ), let and be real numbers, let be a natural number, and assume . Put and . The claim is the equality of real numbers
where is cast from the natural numbers to the reals.
The volume is an arbitrary real: it may be zero or negative, and no relation between and (such as being an integer multiple of ) is assumed, so the left-hand numerator need not be an integer count. The number may be , in which case both sides are . The identity is pure algebra: it uses , and , the last two guaranteed by the numeral and by the positivity carried by . The gram and dalton components of do not occur, and no geometric or crystallographic property is asserted — nothing states that the cells tile the crystal.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.