0628-a-charged-formula-is-an-ion met
- Issue
- #628
- Stated in
- expectations/0628-a-charged-formula-is-an-ion.json
- Graded against
- Statuses are those of the build recorded on 2026-11-24 07:55 UTC (run 20261124T0755302069730000, merging ecoinvent-3.13, ecoinvent-3.12, ecoinvent-3.8, bafu-2026-v1, stepwise-2006-1.09, agribalyse-3.2).
Why this file exists
An ion carries an electric charge and a neutral molecule, by definition, does not. This list published seven substances whose **only stated formula carries a charge** and typed every one of them NeutralMolecule: Borate (BO3-3), Thiocyanate, Ion (CNS-), Titanium, ion (Ti+4), Aluminium (iii) (Al+3), Methyl Borate (CH3BO3-2), Phosphonic Acid, Dibutyl Ester and Tricyclo[3.3.1.1~3,7~]tetrastibathiane. See #326.
The typing rules read a charge from the elemental_charge property, which most objects do not carry, and the branch that reaches NeutralMolecule comes from the structure rules -- so a charged species with a SMILES was called neutral, and nothing on that path asked the formula. The formula is the evidence and it is unambiguous: BO3-3 is the oxyanion with three negative charges.
The type is published, and it is also *used*: the ion layer recognises an ion by its base name resolving to an object typed chemrof:ChemicalElement, and the catch-all guard of #76 and #123 keys on whether a target is a grouping class. A wrong type is an input to later decisions, not only a wrong statement.
The fallback added for this reads the charge off the formulas, and its guard is agreement: **every** stated formula must carry a charge and all of them must agree. The claims below are the substances it moved, and the two it must not touch.
Measured on the unbounded build of 21 August 2026 at 6727d35; the NeutralMolecule readings are the ones recorded when #326 was filed, against the build of 20 August 2026.
Expectations
7| What should be true | State | About |
|---|---|---|
|
Borate is published as an anion
0628-borate-is-an-anion
The plainest case in the class, and the one where the wrong type was also a wrong reading of the substance. |
met |
substance
label: Borate
|
|
EF's titanium ion is published as a cation
0628-a-charged-atom-is-a-cation
The other half of the mechanism: the fallback has to choose the *kind* of ion as well as notice there is one. |
met |
substance
label: Titanium, ion
|
|
Thiocyanate is published as a molecular anion
0628-a-molecular-anion-is-not-an-atom
The mirror of the claim above, and the reason both are here: |
met |
substance
label: Thiocyanate, Ion
|
The Methyl Borate duplicate is not published at all any more
0628-a-doubly-charged-ester-is-an-anion
Rewritten with #338, reason recorded: the substance this claim typed was itself a defect. |
met |
substance
label: Methyl Borate
|
|
Benzethonium chloride is still published as a salt
0628-a-salt-is-not-an-ion
**The first guard, and the population it protects.** Six substances state formulas at more than one charge because they are salts -- a cation and its counter-ion, written both ways -- and |
met |
substance
label: Benzethonium Chloride
|
|
The substance stating two opposite formulas is not typed from either of them
0628-two-opposite-formulas-are-not-a-charge
**The second guard.** This substance states |
met |
substance
label: Phosphonic Acid, Dibutyl Ester
|
|
Rhenium(2+) is published as an ion rather than as a mixture of unknown composition
0628-a-charge-with-no-formula-is-still-an-ion
**The half of the class the formula fallback could not reach, recorded where the rest of it is.** The typing rules overwrote an ion marker in two directions: with |
met |
substance
label: Rhenium(2+)
|