Encyclopedia Chemistry Chemistry Ionic Bond Halogen Dist One

ARTICLE 2 claims 2 theorems

Chemistry Ionic Bond Halogen Dist One

Halogens sit one electron short of a full shell, and a machine-checked proof now certifies that fact for every element in the group.

Halogen shell closure

In chemistry, a halogen is any element in group 17 of the periodic table: fluorine, chlorine, bromine, iodine, and astatine. These elements share a defining trait: each has seven valence electrons, meaning each needs one more electron to complete its outer shell and reach the stable configuration of a noble gas. That single missing electron is why halogens are so reactive, why they readily form salts with alkali metals, and why their chemistry is so consistent across the group.

The valence shell is the outermost set of electrons that participates in bonding. For the halogens, the shell holds a maximum of eight electrons in its outer s and p orbitals. With seven already present, the distance to the next closure, the number of electrons needed to reach eight, is exactly one. This is the classical picture taught in every introductory chemistry course, and it is the fact that the framework's machine-checked library of formal theorems certifies.

In Recognition Science, the framework models electron shell closure as a discrete ledger, a record of how many electrons an atom has gained or lost. Within that model, the declaration halogen_dist_one proves that for every element in the list of halogens, the distance to the next shell closure equals one. The proof is a theorem in the framework's library, meaning it is checked by a computer and carries no hidden assumptions beyond the standard axioms of the underlying logic.

The theorem does not claim that halogens always form ionic bonds, nor that the electron transfer is always energetically favorable. It only certifies the count: each halogen needs exactly one electron to complete its shell. The framework also proves, separately, that alkali metals have one valence electron and that an alkali and a halogen together satisfy the condition for an ionic bond, but those are distinct results. The specific achievement of halogen_dist_one is narrow and precise: it confirms the textbook fact that every halogen sits one electron short of a full shell.

What this means for a reader is that the framework's formal machinery, built from the cost of recognition, reproduces a basic structural fact of chemistry. It is not a new discovery about halogens; it is a verification that a general theory of recognition, when applied to electron shells, yields the expected group behavior. The value lies in the rigor of the check, not in a surprising outcome.

THEOREM halogen_dist_one · IndisputableMonolith/Chemistry/IonicBond.lean
/-- Helper: all halogens are 1 electron from closure. -/
private theorem halogen_dist_one : ∀ z ∈ halogenZ, distToNextClosure z = 1 := by
  intro z hz
  simp only [halogenZ, List.mem_cons, List.mem_nil_iff, or_false] at hz
  rcases hz with rfl | rfl | rfl | rfl | rfl <;> native_decide
THEOREM alkali_halogen_stable_1_1 · IndisputableMonolith/Chemistry/IonicBond.lean
alkali_halogen_stable_1_1 · IndisputableMonolith/Chemistry/IonicBond.lean:175
/-- Ion pair stability: alkali + halogen forms stable 1:1 compound.
    Alkali metals have 1 valence electron, halogens are 1 electron from closure. -/
theorem alkali_halogen_stable_1_1 (Z_alkali Z_halogen : ℕ)
    (h_alkali : isAlkaliMetal Z_alkali) (h_halogen : isHalogen Z_halogen) :
    valenceElectrons Z_alkali = 1 ∧ distToNextClosure Z_halogen = 1 := by
  exact ⟨alkali_valence_one Z_alkali h_alkali, halogen_dist_one Z_halogen h_halogen⟩

What this page does not claim

The theorem does not claim that halogens always form ionic bonds with any metal. The theorem does not state that the electron transfer is energetically favorable in every case. The theorem does not derive the Madelung constant or lattice energy values from first principles.

Verify this page

Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:

$ lake env lean IndisputableMonolith/Chemistry/IonicBond.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)

A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.

Derived articles

This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:

MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND