orthonym.validation.spelling.checks_p_oxoacid_parent#
Note
Internal API. Names and behaviour may change between releases.
Spelling check /: a phosphonic or arsonic acid on a hydrocarbon skeleton is the parent of the name, and two of them are multiplied (registered with:func:orthonym.validation.pin_spelling.register).
“Names of mononuclear noncarbon oxoacids” (the Blue Book) names an organyl-substituted acid on the
acid (‘phenylphosphonic acid (PIN)’; ‘:35472 (naphthalene-2,6-diyl)bis(phosphonous acid) (PIN)’);:35702 extends the phosphonic names to arsenic. The acid is a functional parent with substitutable hydrogen atoms, an identical parent structure of multiplicative nomenclature (d),:5166: “functional parent compounds having substitutable hydrogen atoms, for example, acetic acid or phosphonic acid”). “Preferred IUPAC multiplicative names” (:23178): “Multiplicative nomenclature is preferred to substitutive nomenclature for generating preferred IUPAC names to express multiple occurrences of identical parent structures” when the linking bonds are identical and the parents identically substituted; (:6295) allows an unsymmetrical central group (‘bicyclo[2.2.1]heptane-2,7-diyl’). So for two such acids the PIN is ‘(<linker>)bis(phosphonic acid)’; a name that writes either acid as the prefix ‘phosphono’ (‘2,7-diphosphonobicyclo[2.2.1]heptane’, ‘(6-phosphonodecahydronaphthalen-2-yl)phosphonic acid’) is a valid name and not the PIN.
Scope, where the acid is certainly the principal characteristic group and the parents are identical: every heavy
atom other than the acid groups is a neutral carbon or the ring nitrogen that carries a phosphonic acid, every P (As)
atom is the centre of a neutral -P(=O)(OH)2 (-As(=O)(OH)2) on a carbon (a P also on a ring nitrogen:,
:35702, ‘(piperidin-1-yl)phosphonochloridic acid’), and only one of the two elements occurs. One acid: the name must carry the acid word.
Two acids on one multiplying group (_one_linking_group): the name must carry ‘bis(<acid>)’. Three or more acids: only the acid word is checked decides
between multiplied and substituted forms there). Outside the scope the rule is not about the molecule and the check
returns None (not ABSTAIN, which would keep every other name from a PIN certificate). No naming code, no OPSIN.
- orthonym.validation.spelling.checks_p_oxoacid_parent.phosphonic_acid_parent(mol, name)#
FAIL when the acid of a molecule in scope is not the parent of
name, or two acids are not multiplied.