pith. machine review for the scientific record. sign in
def definition def or abbrev high

distToNextClosure

show as:
view Lean formalization →

The definition computes the number of elements from atomic number Z until the next noble gas closure. Chemists deriving periodic radius trends and electron affinity patterns cite it for within-period contraction arguments. It is realized as a direct subtraction from the precomputed next noble gas locator.

claimFor atomic number $Z$, the distance to the next noble gas closure equals the atomic number of the smallest noble gas at or above $Z$, minus $Z$.

background

The Periodic Table Engine implements an eight-tick octave mapping for chemistry through phi-tier rails and a fixed set of block offsets. Noble gas closures are defined exactly as the points where cumulative valence cost satisfies 8-window neutrality, the chemical counterpart of the ledger balance condition. The nextClosure locator supplies the fixed sequence of these points as 2, 10, 18, 36, 54 and onward.

proof idea

This definition is a one-line wrapper that subtracts the input atomic number from the result of the nextClosure locator.

why it matters in Recognition Science

It supplies the distance metric used by the radius contraction theorem lower_z_more_remaining and the halogen checks at_dist_one through i_dist_one in AtomicRadii. The declaration operationalizes the Noble Gas Closure Theorem (P0-A0) stated in the module, linking directly to the eight-tick neutrality of the fundamental scheduler. It supports downstream falsifiable predictions for electron affinity decrease within periods.

scope and limits

Lean usage

theorem halogen_check : distToNextClosure 9 = 1 := by simp [distToNextClosure]

formal statement (Lean)

 147def distToNextClosure (Z : ℕ) : ℕ := nextClosure Z - Z

proof body

Definition body.

 148
 149/-- Valence electrons: electrons beyond the previous noble gas core.
 150    At noble gases, this equals the period length (complete shell).
 151    The RS insight: noble gases are exactly those where valence = period length. -/

used by (15)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (7)

Lean names referenced from this declaration's body.