583 Three Instruments, Five Steps: Mass Spectrometry, Spectroscopy, X-ray Diffraction

Each instrument is taken through the same five steps: (raw) start from the stored detector values; (B) vary each layer’s choice and measure how far the result moves; (0–5) rebuild kinds and amounts from signals alone, without names of elements, molecules, or letters; (T) attach an arbitrary naming and check that the rebuilt result is unchanged; and (name test) ask whether the conventional names arise from the signal or only when the instrument and its rules are supplied.

Data. Mass spectrometry: BSA1.mzML retrieved from two OpenMS repository paths (both copies were read, so the counts below may include duplicates) and the LC–MS file of Section 661; 1508 MS1 and 2240 MS2 spectra in total, of which the 40 most intense MS1 \(m/z\) values and the first 400 MS2 spectra were used. Spectroscopy: the solar irradiance spectrum of Kurucz (2005; Thuillier calibration), 440,338 points over 380–700 nm, and Kurucz atomic line lists for Na I, Mg I, Ca I, Ti I, Cr I, Fe I, and Ni I (46,314 lines in range); NIST ASD returned an error page to automated requests and was not used. X-ray diffraction: the deposited structure factors of 1BNA, 1D8G, 1EHZ, 1UBQ, 2VB1, 355D, and 3P4J (5691–185,045 reflections); the deposited models were read only for the name test.

Mass spectrometry. (B) Molecular formulas were assigned to each \(m/z\) by enumerating C\(_{0-30}\)H\(_{0-60}\)N\(_{0-5}\)O\(_{0-10}\)P\(_{0-1}\)S\(_{0-1}\)Cl\(_{0-1}\), under allowed element set (CHO, CHNO, CHNOPS, CHNOPSCl), mass tolerance (2, 5, 20 ppm), ring-plus-double-bond filter (on/off), heuristic element-ratio rules (on/off), and adduct ([M+H]\(^+\), [M+Na]\(^+\), [M]\(^+\), [M\(-\)H]\(^-\)). Over 100 draws the number of candidate formulas per \(m/z\) ranged from 0.0 to 50.9, the fraction of \(m/z\) with a single candidate from 0.00 to 0.45, and the fraction returning the default top formula from 0.00 to 1.00. Decoy masses displaced by 0.25–0.45 Da received a formula in up to 35% of cases. The adduct assumption had the largest effect: the default top formula was returned in 29% of draws assuming [M+H]\(^+\) and in 0% under every other adduct. (0–5) Without a database, the 400 MS2 spectra were grouped by cosine similarity of square-root intensities in 0.5-Da bins, with an average-linkage cut at cosine distance 0.3: 388 groups, most of them single spectra (pairwise distance quantiles 1%/10%/50% = 0.743/0.866/0.936). The grouping depended on the bin width (ARI with the 0.5-Da grouping: 0.000 at 0.01 and 0.1 Da, 0.562 at 1.0 Da) and the cut (ARI 0.273 at 0.2, 0.442 at 0.5). (T) Renaming groups and a 3-ppm recalibration left the grouping unchanged (ARI 1.000); replacing intensities by their ranks within each spectrum changed it completely (ARI 0.000). (Name test) From the signal alone (20 ppm, CHNOPSCl, no rules) no \(m/z\) had a unique formula (mean 50.6 candidates); with the instrument tolerance and rules supplied (2 ppm, CHNOPS, both filters) 35% did (mean 0.8 candidates). The database-free MS2 groups agreed with the default precursor formulas at ARI 0.225 (\(n=150\)).

Spectroscopy. (B) Absorption lines were detected after continuum normalisation by a running maximum (0.5, 2, 5 nm) at prominence 0.02, 0.05, or 0.1, and each line was named after the candidate within a tolerance (0.005, 0.02, 0.05 nm) with the largest Saha–Boltzmann strength \(\propto A_{\rm el}\,f_{\rm ion}(T,n_e)\,gf\,e^{-E_{\rm low}/kT}\), with \(T\) = 4500, 5800, or 8000 K, \(n_e = 10^{13}\), \(10^{15}\), or \(10^{17}\) cm\(^{-3}\), solar or equal abundances, all seven or three elements, and wavelengths taken as given or converted from air to vacuum. Under the default, 4643 lines were detected and every one received a name, with Ca, Cr, Fe, Mg, Ni, and Ti each naming at least five. Over 100 draws 3644–5966 lines were detected, 0.54–1.00 were named, the name agreed with the default on 0.26–0.91 of shared lines, and six different lists of "elements present" occurred. The air–vacuum convention had the largest effect on agreement (0.51 as given, 0.36 converted), followed by the tolerance (0.33–0.48). (0–5) Without element names, the 300 deepest lines were taken as wavenumbers and linked whenever their separation fell in one of the 13 differences recurring above a random-position baseline, giving 27 families of two or more lines. (T) Renaming families left them unchanged (ARI 1.000); a wavelength scale change of \(10^{-6}\) reduced agreement to ARI 0.452. (Name test) The element purity of the name-free families was 0.636, against 0.560 when the element names were shuffled among lines; their ARI with the element names was 0.037.

X-ray diffraction. (0–5) Without phases or atoms, measured intensities were expanded by the space-group operations and Friedel symmetry and Fourier-transformed to a Patterson map, whose maxima are interatomic vectors. Under resolution cutoff (all, 2 Å, 3 Å), coefficients (\(F^2\), normalised \(E^2\), \(F\)), grid (32, 48, 64), and peak quantile (0.99, 0.995, 0.999), the number of Patterson maxima ranged from 2 to 1886 depending on entry and choice. (T) Replacing the Patterson map by its ranks left all maxima unchanged (1.000) on every entry. (Name test) The rank of the Patterson value at the interatomic vectors of the deposited model (200 atoms, all symmetry mates) exceeded that at random positions with AUC 0.505–0.530 across entries (0.502–0.548 across choices). The Spearman correlation of the Patterson rank with \(Z_iZ_j\) over model vectors was \(-0.092\) to \(0.030\): supplying element identities did not order the map.

Table 1071: Five steps on three instruments, public data.



step quantity value



MS (B) same top formula as default, over draws 0.00–1.00
MS (B) decoy masses given a formula 0.00–0.35
MS (0–5) database-free MS2 groups (400 spectra) 388
MS (T) ARI after renaming / recalibration / rank intensities 1.000 / 1.000 / 0.000
MS (name test) unique formula: signal alone / with instrument rules 0.00 / 0.35
SP (B) same element as default, over draws 0.26–0.91
SP (B) distinct “elements present” lists 6 of 100
SP (0–5) recurring differences / name-free families 13 / 27
SP (T) ARI after renaming / \(10^{-6}\) scale change 1.000 / 0.452
SP (name test) family purity: element names / shuffled 0.636 / 0.560
XRD (T) Patterson maxima unchanged under ranking 1.000 (all entries)
XRD (name test) AUC at model vectors vs random 0.505–0.530
XRD (name test) Spearman with \(Z_iZ_j\) \(-0.092\)–\(0.030\)



pict

Figure 776: (a) Mass spectrometry: fraction of \(m/z\) with a unique formula against agreement with the default formula over rule choices; colour, decoy assignment rate. (b) Spectroscopy: lines detected against agreement with the default element names over continuum, threshold, tolerance, element set, temperature, electron density, abundance, and wavelength convention; colour, fraction named. (c) X-ray diffraction: number of Patterson maxima against AUC of the Patterson rank at model interatomic vectors, per entry.

583.1 Rebuilding the Mathematics: Units, Differences, and Topology in Place of Atoms

The three instruments of Section 583 were rebuilt with mathematics that contains no element, atom, formula, or line name. Mass spectra become rank-weighted point measures compared by transport distance, with units of mass taken from differences that recur in the data; spectral lines become wavenumbers whose recurring differences stand for shared levels (the Ritz combination principle alone); diffraction becomes a ranked Patterson map summarised by cubical persistent homology. Names are read only in the final test.

Data. As in Section 583, with duplicate MS files removed (1508 MS1 and 2240 MS2 spectra; the first 300 MS2 spectra and the 300 most intense MS1 \(m/z\) values used); the Kurucz solar spectrum (4643 absorption minima, 400 deepest used); and the structure factors of the seven X-ray entries, whose polymer type was read from the coordinate file only for the name test.

Mass spectrometry. (0–5) Each MS2 spectrum was represented by its 50 most intense peaks as a point measure on the \(m/z\) axis with rank-normalised weights, and spectra were compared by the one-dimensional Wasserstein distance, with no binning. Average linkage with the cut at the largest merge gap gave two groups. (T, B) Replacing intensities by their cubes or logarithms, renaming groups, and recalibrating \(m/z\) by 5 ppm left the grouping unchanged (ARI 1.000); using 100 peaks or linear weights gave ARI 0.939 and 0.940. Among the 300 MS1 peaks, 77 mass differences recurred above a random-position baseline (tolerance 0.002 Da, at least four occurrences), and linking peaks by them formed 20 families of two or more peaks; recalibrating peaks and units together by 5 ppm gave ARI 0.746 with the original families. (Name test) Without being supplied, six of ten common chemical differences were among the data-derived units: the \(^{13}\)C–\(^{12}\)C isotope spacing, H\(_2\), CH\(_2\), O, Na–H, and C\(_2\)H\(_4\), against 0.08 expected for the same number of units drawn uniformly over 0.5–60 Da. The data-derived units cluster near integer masses (0.984, 1.000, 1.004, 1.988, 2.006, …), which the uniform baseline does not reflect.

Spectroscopy. (0–5) The 400 deepest lines were taken as wavenumbers. Six differences recurred above a random-position baseline (tolerance 0.02 cm\(^{-1}\), at least three occurrences), and linking lines by them formed 24 families of two or more lines, with no element or abundance model. (T, B) In principle differences do not change under an offset of the axis; in this implementation the recurring set depends on the histogram grid and the random baseline, and an offset of 5 cm\(^{-1}\) gave 8 units and ARI 0.228 with the original families, a scale change of \(10^{-6}\) gave 5 units and ARI 0.494, and cubing the depths gave 7 units and ARI 0.400. (Name test) All six data-derived differences equalled a difference between two levels of a single species in the Kurucz lists (within 0.05 cm\(^{-1}\); all in Ca I), but so did random differences of the same number (1.00), so the level lists are too dense for this test to discriminate.

X-ray diffraction. (0–5) The Patterson map (\(F^2\) coefficients, \(32^3\) grid, symmetry and Friedel expansion) was replaced by its ranks, and its superlevel cubical persistence computed in dimensions 0, 1, and 2 (376–1034, 1066–2850, and 399–1623 bars). (T) Cubing the map before ranking left the persistence unchanged on every entry (distance 0.0000). (B) A \(24^3\) grid moved it by 0.0780–0.2584, \(F\) instead of \(F^2\) coefficients by 0.1076–0.4512, and a 3-Å resolution cutoff by 0.0419–0.4071. Between entries, distances ranged from 0.0863 to 0.6320: 1EHZ, 1UBQ, 355D, and 3P4J lay within 0.0863–0.1622 of one another, and 1BNA and 2VB1 at 0.4249–0.6320 from all others. (Name test) The nearest neighbour of an entry shared its polymer type (polydeoxyribonucleotide, polyribonucleotide, or polypeptide) in one of seven cases (0.14): the ranked Patterson topology grouped entries without regard to whether they are DNA, RNA, or protein.

Table 1072: Rebuilt mathematics on three instruments.



instrument test result



MS groups of 300 MS2 spectra (Wasserstein, no bins) 2
MS monotone intensity / rename / 5 ppm recalibration ARI 1.000 / 1.000 / 1.000
MS 100 peaks / linear weights ARI 0.939 / 0.940
MS recurring mass differences / families 77 / 20
MS chemical differences recovered unsupplied 6 of 10 (uniform baseline 0.08)
SP recurring wavenumber differences / families 6 / 24
SP offset / scale / cubed depths ARI 0.228 / 0.494 / 0.400
SP differences matching a single-species level difference 1.00 (random 1.00)
XRD persistence change under monotone map 0.0000 (all entries)
XRD grid / coefficient / resolution 0.078–0.258 / 0.108–0.451 / 0.042–0.407
XRD nearest neighbour of same polymer type 0.14



pict

Figure 777: (a) Mass spectrometry: distribution of differences between the 300 most intense MS1 peaks; red, the 77 differences that recur above a random-position baseline; dotted, common chemical differences, which were not supplied to the procedure. (b) Spectroscopy: distribution of differences between the wavenumbers of the 400 deepest solar absorption lines, with the six recurring differences in red (top), and the lines coloured by the name-free family they join (bottom). (c) X-ray diffraction: distance between seven entries by cubical persistence of the ranked Patterson map, without phases or atoms.

583.2 Shaking the Coordinate: Mass Units Without a Mass Axis

Motivation. In Section 583.1 the differences that recurred among mass peaks matched chemical differences such as H\(_2\), CH\(_2\), and O. Such a match presupposes a coordinate in which mass is linear and additive. Here that coordinate is itself varied, and the read-out is then rebuilt without it.

Data. The LC–MS file of Section 661 (380 MS1 scans); the 300 most intense \(m/z\) values, which span 250.08–274.92. The Kurucz solar spectrum, 400 deepest absorption lines, as in Section 583.1.

Shaking the coordinate. The \(m/z\) values were mapped through the identity, an affine map \(1.3m+7\), the powers \(m^{0.9}\) and \(m^{1.1}\), \(\log m\), and a random monotone interpolant, with the tolerance scaled to the mapped range. Recurring differences were then recomputed in each coordinate (Table 1073). Because the random-position baseline is resampled each time, recomputing in the identity coordinate kept 0.839 of the linked peak pairs. Under the affine map 150 recurring differences remained, keeping 0.618 of the pairs, and six chemical differences (\(^{13}\)C–\(^{12}\)C, H\(_2\), CH\(_2\), NH, O, H\(_2\)O) could still be named after undoing the scale. Under the nonlinear maps the number of recurring differences fell to 98 (\(m^{0.9}\)), 81 (\(m^{1.1}\)), 42 (\(\log m\)), and 2 (random monotone), keeping 0.188, 0.177, 0.094, and 0.002 of the linked pairs; in these coordinates no difference corresponds to a fixed mass, so no chemical name can be attached. The same maps applied to solar wavenumbers left 2–5 recurring differences and kept none of the originally linked line pairs under any nonlinear map; recomputation in the identity coordinate itself kept only 0.137, so the spectroscopic differences were unstable before any change of coordinate.

Rebuilding without the coordinate. The \(m/z\) value was then used only as a tag that tells peaks apart. Each peak was represented by its intensity along the 380 elution scans, and peaks were compared by the rank correlation of these profiles and grouped by average linkage at the largest merge gap, giving three families. Any monotone map of the \(m/z\) axis, a random reordering of the peaks, and cubing or taking the logarithm of intensities left the families unchanged (ARI 1.000), as they must, since none of these enters a rank correlation of elution profiles. Resampling the elution axis by a random monotone index map gave ARI 0.774.

Name test. Among the 26,239 pairs of peaks inside a co-variation family, 0.0079 differed in mass by one of ten common chemical differences (within 0.003 Da), against 0.0052 among pairs in different families.

Table 1073: Recurring differences under a change of coordinate, and a coordinate-free rebuild.
mass spectrometry, 300 MS1 peaks
spectroscopy, 400 lines
co-variation families (m/z as tag only): 3; ARI 1.000 under any m/z map, peak
reordering, and monotone intensity maps; 0.774 under elution resampling





coordinate units linked pairs kept chemical names attachable





identity (recomputed) 161 5102 0.839 H\(_2\), CH\(_2\), NH, O
\(1.3m+7\) 150 4796 0.618 \(^{13}\)C–\(^{12}\)C, H\(_2\), CH\(_2\), NH, O, H\(_2\)O
\(m^{0.9}\) 98 2884 0.188 none (no fixed mass)
\(m^{1.1}\) 81 2451 0.177 none
\(\log m\) 42 1416 0.094 none
random monotone 2 39 0.002 none
identity (recomputed) 4 23 0.137 —
\(1.3\sigma +7\) 4 24 0.255 —
nonlinear maps 2–5 12–24 0.000 —










pict

Figure 778: (a) Mass spectrometry: number of recurring differences among 300 MS1 peaks (grey) and fraction of originally linked peak pairs kept (red) after mapping the \(m/z\) axis through the identity, an affine map, two powers, a logarithm, and a random monotone interpolant. (b) The same for the wavenumbers of 400 solar absorption lines. (c) Elution profiles of the 300 peaks as within-peak ranks, ordered by co-variation family (three families); the \(m/z\) value is used only to tell peaks apart. (d) Agreement of the families with the original after a monotone map of the \(m/z\) axis, a random reordering of peaks, monotone maps of intensity, and a monotone resampling of elution time.

583.3 Rebuilding Without Number: Four Combination Laws on Raw Symbols

583.4 The floor

Every preceding section treated its data as quantities: masses, wavelengths, temperatures, distances. Each of these already presupposes the real line, an ordering, and an operation of addition. This section removes all three.

A data file is a sequence of bytes. If no byte is read as a number, what remains is a stream over an alphabet of 256 symbols in which the only available operation is the test of identity: two symbols are the same or they are not. There is no magnitude, no order among symbols, no distance, and no sum.

Two raw files were taken at this floor. The first is the SDSS arc-lamp frame sdR-b1-00003237 (plate 266, MJD 51630): \(8\,807\,040\) detector symbols following the FITS header, arranged in \(2069\) records (CCD rows) of \(4256\) symbols. The second is the Orbitrap LC–MS file used throughout: \(380\) MS1 records (scans) totalling \(1\,415\,904\) symbols. The header boundary of the FITS file was located by the symbol string END followed by spaces, not by parsing any numeric field.

583.5 Structure carried by symbols alone

Using only identity, three properties were measured: how much the order of symbols carries, how much a dictionary learned on half the records transfers to the other half, and whether records adjacent in acquisition share more symbol blocks than distant ones. Compression by LZMA serves as the identity-only measure, since it encodes nothing but recurrence of symbol strings.

Table 1074: Symbol-only structure in the two raw files (bits per symbol of the held-out half).
mass spectrometer CCD
given training half 5.720 2.964
alone 5.986 2.980
order destroyed globally 7.459 4.680
order destroyed within record 7.451 4.482
structure carried by order \(+1.739\) \(+1.716\)
structure transferred from training \(+0.266\) \(+0.016\)
block overlap, adjacent / distant records 1.57 1.19

Order carries \(1.7\) bits per symbol in both files. Adjacent records share symbol blocks \(1.57\) and \(1.19\) times more than distant ones, so acquisition neighbourhood is recovered without any timestamp or coordinate being read.

On the CCD frame, flagging every row whose symbol content departs from that of the previous row recovers \(24\) of the \(26\) arc-line rows (\(92.3\%\)) identified afterwards by reading the same bytes as detector counts. The arc lines are found without number.

583.6 Four laws of combination

An element is taken to be a recurring block of \(k\) symbols, and a composite to be one record. Classical stoichiometry combines elements by counting: a composite is a multiset, and the formula \(\ce {H2O}\) records that one element occurs twice and another once. That is one law among several that are defined on the same symbols. Four were set side by side.

Table 1075: The four combination laws and what each makes of the composite H, H, O.
law a composite is H, H, O becomes property
concatenation a sequence \(HHO \ne HOH \ne OHH\) order is identity
union a set \(\{H, O\}\) \(H \cup H = H\); no count
XOR a parity vector \(\{O\}\) \(H \oplus H = \varnothing \)
bag a multiset \(\{H{:}2,\ O{:}1\}\) the classical law; counting

Only the bag carries a stoichiometric \(2\). Under union the duplicated element collapses into one; under XOR the pair annihilates; under concatenation the composite is not determined by its constituents at all but by their order.

On the CCD frame the most frequent two-of-one, one-of-another composite occurs in \(167\) records, with \(H = \texttt {04a3}\) and \(O = \texttt {04a2}\). Its four representations are shown in Fig. 779.

pict

Figure 779: The same composite under four combination laws. The symbol blocks are shown in hexadecimal and are never read as numbers.

583.7 Which law answers which question

Each law was scored on two tasks using only its own representation of the records: discriminating adjacent from distant records, and locating the arc-line rows of the CCD frame.

Table 1076: Neighbour discrimination (AUC) and arc-line recovery under each law.
*degenerate: no block repeats within a scan, so set, parity and multiset coincide.
CCD (\(k=2\))
mass spectrometer, AUC
law AUC arc rows found \(k=1\) \(k=2\) \(k=4\)*
concatenation 0.697 0.923 0.813 0.598 0.725
union 0.827 0.038 0.504 0.604 0.690
XOR 0.612 0.769 0.481 0.665 0.806
bag 0.874 0.538 0.884 0.858 0.688

No law wins both tasks. On the CCD frame the bag recovers neighbourhood best (\(0.874\)) but finds only \(53.8\%\) of the arc lines; concatenation finds \(92.3\%\) of the arc lines but is third at neighbourhood; union is second at neighbourhood and finds almost none of the lines (\(3.8\%\)).

For the mass spectrometer at \(k = 4\), no element occurs more than once in any scan, so the set, parity and multiset representations are identical and the differences in that column reflect only the similarity measure. At \(k = 1\) and \(k = 2\), where elements repeat, the bag is best at neighbourhood (\(0.884\), \(0.858\)).

pict

Figure 780: (a) Neighbour discrimination under each law for the CCD frame and the mass spectrometer at three block lengths. (b) Fraction of arc-line rows recovered on the CCD frame.

pict

Figure 781: Dissimilarity of each CCD row to the previous one under each law. Grey lines mark the arc-line rows identified afterwards by numeric reading.

583.8 A periodic table for each law

Elements were grouped into eight families by the pattern of their occurrence across records, where the pattern is defined by the law: mean position for concatenation, presence for union, parity for XOR, count for the bag. The same \(200\) elements thus yield four periodic tables (Figs. 782, 783).

Table 1077: Agreement between the periodic tables produced by different laws (adjusted Rand index).
pair of laws CCD MS, \(k=1\) MS, \(k=2\)
concatenation – union 0.815 0.050 0.295
concatenation – XOR 0.777 0.005 0.117
concatenation – bag 0.650 \(-0.030\) 0.229
union – XOR 0.904 0.001 0.167
union – bag 0.764 0.068 0.565
XOR – bag 0.701 0.013 0.167

The law of combination changes the table. On the CCD frame the agreement ranges from \(0.650\) (concatenation against bag) to \(0.904\) (union against XOR). For the mass spectrometer at \(k = 1\) the four tables are essentially unrelated, with every pairwise index between \(-0.030\) and \(0.068\): the same elements, organised by four laws, fall into four different classifications.

pict

Figure 782: Four periodic tables of the same \(200\) CCD symbol blocks, one for each combination law. Each row is a family; the number at left is its size.

pict

Figure 783: Four periodic tables of the same \(200\) mass-spectrometer symbols (\(k = 1\)). Pairwise agreement is near zero.

pict

Figure 784: Adjusted Rand index between the periodic tables of each pair of laws, for each data set and block length. The \(k = 4\) mass-spectrometer panel is degenerate.

583.9 Order returning from identity

One feature of the CCD tables was not put in. Under concatenation, the largest family contains

\[ \texttt {04bb, 04bc, 04bd, 04be, 04bf, 04c0, 04c1, …} \]
and under the bag the largest family contains 0402, 0403, 0404, 0405, 0406, …. Read afterwards as integers, these are consecutive values. No byte was read as a number in forming the families, and the alphabet carried no order. The grouping arises from which blocks occur together, and what occurs together turns out, on later reading, to be adjacent in magnitude.

Order was not assumed; it was recovered. Whether it is a property of the detector or of the reading that recognises it afterwards is the question the earlier sections have posed in each domain.

583.10 Summary

Table 1078: What changes when the law of combination is changed.
quantity result
arc lines found without number 24 of 26 (92.3%)
structure carried by symbol order 1.7 bits per symbol, both files
best law for neighbourhood bag (CCD 0.874; MS 0.884)
best law for arc lines concatenation (0.923); bag 0.538
periodic tables, CCD ARI 0.650–0.904 between laws
periodic tables, MS \(k=1\) ARI \(-0.030\)–\(0.068\) between laws
stoichiometric “2” present under the bag only

The classical law of combination — counting — is the best of the four at one task and among the worst at another. The formula \(\ce {H2O}\) is the bag’s representation of a composite that union writes as \(\{H, O\}\), XOR as \(\{O\}\), and concatenation as an ordered string with no single formula. The periodic table that organises the elements is not fixed by the elements: it changes with the law by which they are combined.

The circle learned on the mass data has period \(P = 1.000328\) Da, within \(0.7\) mDa of the atomic mass unit and of the mean nucleon mass in the compounds observed, with a second component at \(0.500478\) Da, its first harmonic. Under this system a peak is not a sum of constituents but an angle \(\theta = 2\pi \,(m \bmod P)/P\) on a circle; the integer number of windings, which in the additive description counts nucleons, is discarded. The circle predicts held-out peaks as well as addition does (\(0.732 \pm 0.021\) against \(0.724 \pm 0.067\) bits) while containing no notion of how many.

TWO INSTRUMENTS, TWO FLOORS, AND WHERE THE STANDARDS ENTER


ORBITRAP -- the raw is not a frequency

  ion oscillation
        |
        v
  image current induced on the outer electrodes
        |  amplification
        v
  ADC voltage samples: the TRANSIENT          <- the true raw;
        |                                        NOT stored by default
        |  apodisation, zero-fill, eFT / mFT
        v
  spectrum
        |  peak interpolation
        v
  frequency f
        |  noise thresholding, data reduction   (onboard electronics)
        v
  .RAW                                        <- the layer we receive
        |  calibration  m/z = A/f + B/f^2
        |     A, B fitted against a calibrant mixture of
        |     ASSUMED composition -- the mass scale is a fit,
        |     not a measurement
        v
  mzML


SPECTROSCOPY -- the floor is public

  photon
        |
        v
  CCD well charge
        |  readout, ADC
        v
  sdR: ADC counts in DN                       <- the floor of the
        |                                        public data
        |  gain (opGain.par), bias subtraction
        v
  calibrated frame
        |  wavelength solution
        |     arc lamp lines <- RITZ combination principle
        |     lambda from term differences <- R_inf
        |     R_inf <- Moseley <- element Z
        v
  lambda (observed)
        |  compare against lambda_0 (laboratory)
        |     lambda_0 comes from the SAME Ritz-built tables
        v
  z = lambda / lambda_0 - 1
        |  choice among ten monotone functions of the same ratio
        |     (all give tau = 0.963 against m_B)
        v
  "redshift", "distance", "expansion"


WHERE THE STANDARDS SIT

  Ritz     not in the data path at all -- it is in the TABLE the
           wavelength solution is fitted against. Every lambda above
           the arc-lamp step inherits it. Remove the table and there
           is no lambda, only pixel columns.

  z        one level above lambda, and it is a RATIO of two numbers
           that were built from the same table. The numerator is
                                                                                      
                                                                                      
           measured through a configuration; the denominator is
           the configuration.

  m/z      the mass analogue of z: a fit constant divided by a
           measured frequency, where the fit used assumed masses.


WHAT THE ONE-SHOT TEST DOES

  mass      measure the reduction in our own files directly:
            noise threshold, zero-fill factor, per-scan minimum
            intensity -- quantify what was removed before deposit

  spectra   start at DN and extract lines with no gain, no bias
            subtraction, no wavelength solution -- then run the
            coordinate tournament on what remains, so that neither
            Ritz nor z enters the chain at all

583.11 Rebuilding Without Number, Element, or Sum

583.12 Premises withdrawn

Every quantitative science of matter rests on a short list of premises that are seldom stated because they are never in question:

1.
a measurement is a number, a point on the real line;
2.
the world is composed of elements, each with a fixed identity;
3.
composites are formed by addition: a molecule is a multiset of elements, its mass the sum of theirs, its formula the count of each;
4.
the periodic table orders the elements, and the order is a property of the elements themselves.

Under these premises an associative, continuous, cancellative, order-preserving law of combination on an interval of the reals is necessarily addition in some coordinate (Aczél, 1948). The result binds whoever accepts the premises. This section accepts none of them.

The data are taken at the point where no premise has yet been applied: the raw bytes of a file. Nothing is read as a number. The only operation available is the test of identity — two symbols are the same or they are not. From there the four premises are replaced one at a time.

Table 1079: Premises of the classical description and their replacements.
classical premise replacement
measurement is a real number a byte is a symbol; only identity is used
an element has fixed identity an element is a recurring block of symbols
composites are formed by addition four laws: sequence, set, parity, multiset
abundance is a count abundance is an order: which is more, which is less
the periodic table is given a table is produced by each law

583.13 The floor

Two raw files were used. The SDSS arc-lamp exposure 3237 (plate 266, MJD 51630) was recorded simultaneously by four cameras, two blue (b1, b2) and two red (r1, r2); each frame gives \(2069\) records (CCD rows) of \(4256\) symbols. The Orbitrap LC–MS file gives \(380\) MS1 records (scans). The FITS header boundary was located by the symbol string END followed by spaces, without parsing any numeric field. All analysis choices were fixed on b1; the other three cameras serve only as replication.

Using identity alone, the order of symbols carries \(1.7\) bits per symbol in both files, and records adjacent in acquisition share more symbol blocks than distant ones, by factors of \(1.57\) (mass spectrometer) and \(1.19\) (CCD). On b1, flagging the rows whose symbol content departs from the previous row recovers \(24\) of the \(26\) rows identified afterwards, by numeric reading, as arc lines.

583.14 What a composite is

An element is a recurring block of \(k\) symbols; a composite is a record. Four laws of combination define what a composite is.

Table 1080: Four laws, and the composite H, H, O under each.
law composite is H, H, O property
sequence ordered string \(HHO \ne HOH \ne OHH\) order is identity
set presence \(\{H, O\}\) \(H \cup H = H\)
parity XOR vector \(\{O\}\) \(H \oplus H = \varnothing \)
multiset count \(\{H{:}2,\ O{:}1\}\) the classical law

The formula \(\ce {H2O}\) is the multiset’s description. Under the set law the duplicated element is not two of anything; under parity the pair annihilates; under sequence the composite is not fixed by its constituents but by their arrangement. On b1 the most frequent two-of-one, one-of-another composite (\(H = \texttt {04a3}\), \(O = \texttt {04a2}\)) occurs in \(167\) records, and its four representations are shown in Fig. 779.

583.15 Abundance without counting

The multiset law compares composites by their counts, and the comparison used — cosine similarity — multiplies and sums. Abundance need not be a count. Whether one element is more frequent than another in a record is decided by pairing occurrences one to one, which requires order but not addition. A composite can therefore be described by the order of its constituents’ abundance alone.

Seven ordinal laws were constructed on this basis: the Kendall and Spearman rank orders of abundance; the set of the \(m\) most abundant elements for \(m \in \{10, 20, 40\}\); a dominance pattern recording whether each element is above or below its own median across records; the set of (element, abundance quartile) cells; and the identity of the modal element. None represents a composite by a number of anything.

583.16 A pre-registered test

Each law was scored by its ability to tell adjacent records from records at least ten apart. The best ordinal law was chosen on b1 alone and then compared with the multiset law on the three remaining cameras.

Table 1081: Neighbour discrimination (AUC). The ordinal law was chosen on b1 and is tested on r1, b2, r2. The multiset law is shown with two similarity measures.
law b1 r1 b2 r2
quartile-cell set (ordinal; chosen on b1) 0.915 0.940 0.896 0.945
dominance pattern (ordinal) 0.848 0.929 0.805 0.929
Kendall rank (ordinal) 0.807 0.903 0.785 0.910
multiset, centred cosine 0.862 0.920 0.855 0.920
multiset, uncentred cosine 0.873 0.956 0.865 0.954

Against the multiset law with centred cosine, the ordinal law chosen on b1 wins on every replication camera, by \(0.021\), \(0.041\) and \(0.025\). Against the multiset law with uncentred cosine it wins on both blue cameras and loses on both red ones. The outcome of the contest between counting and ordering is thus decided, on the red cameras, by whether the mean is subtracted before two count vectors are compared — a choice internal to the additive description itself.

On the mass spectrometer, where the replication is the second half of the same file rather than an independent one, the multiset law wins (\(0.863\) against \(0.739\) for the ordinal law chosen on the first half).

583.17 A periodic table for each law

The same \(200\) elements were grouped into eight families by their pattern of occurrence under each law. Agreement between the resulting tables is given by the adjusted Rand index.

Table 1082: Agreement between the periodic tables of different laws (ARI), by camera.
pair of laws b1 r1 b2 r2
sequence – set 0.815 0.070 0.695 0.147
sequence – parity 0.777 0.070 0.849 0.052
sequence – multiset 0.650 0.449 0.866 0.374
set – parity 0.904 0.304 0.677 0.409
set – multiset 0.764 0.338 0.745 0.477
parity – multiset 0.701 0.143 0.834 0.170

On the red cameras the tables produced by different laws are close to unrelated: agreement falls to \(0.052\)–\(0.477\). The elements are the same; the law by which they are combined decides how they are classified. On the blue cameras the tables agree more closely (\(0.650\)–\(0.904\)), so the dependence of the classification on the law is itself detector-dependent.

The red and blue alphabets overlap too little for the same law to be compared across cameras: the red frames span a wider range of detector counts, and few symbol blocks occur in both.

583.18 Locating the lines

The task of locating arc lines does not have a single winning law, and the winner depends on a choice made before any law is applied — the block length \(k\).

Table 1083: Arc-line rows recovered, with rows flagged in parentheses (\(z = 5\)).
\(k = 1\)
\(k = 2\)
camera sequence multiset sequence multiset
b1 0.577 (218) 0.692 (119) 0.923 (157) 0.538 (136)
b2 0.760 (257) 0.960 (246) 0.960 (240) 0.520 (98)
r1 0.000 (0) 0.981 (307) 0.000 (0) 0.132 (20)
r2 0.000 (0) 1.000 (434) 0.000 (0) 0.145 (24)

At \(k = 2\) the sequence law leads on both blue cameras and flags nothing on the red ones; at \(k = 1\) the multiset law leads on all four. The recovered fractions are recall, not precision: on r1 at \(k = 1\) the multiset law flags \(307\) rows to recover \(52\) arc lines. Across the table precision lies near \(0.10\)–\(0.15\).

583.19 The mass circle

On the mass data, the circle learned among the algebras of an earlier section has period \(P = 1.000328\) Da, within a fraction of a millidalton of the atomic mass unit, with a second component at \(0.500478\) Da, its first harmonic. Under this system a peak is not a sum of constituents but an angle \(\theta = 2\pi (m \bmod P)/P\); the number of windings, which the additive description counts as nucleons, is discarded. The circle predicts held-out peaks as well as addition does (\(0.732 \pm 0.021\) against \(0.724 \pm 0.067\) bits) without any notion of how many.

583.20 What the rebuilding shows

Table 1084: Results of rebuilding without number, element, or sum.
question result
are arc lines found without number? 24 of 26 on b1
does an ordinal law beat counting at neighbourhood? yes on all cameras vs centred cosine;
on blue only vs uncentred cosine
does counting win on the mass spectrometer? yes (same-file replication)
does the law change the periodic table? ARI \(0.05\)–\(0.48\) (red), \(0.65\)–\(0.90\) (blue)
does one law win every task? no; the winner changes with task, \(k\), camera
is a stoichiometric “2” required? only under the multiset law

Withdrawing the premises does not leave nothing. It leaves a stream of symbols from which acquisition neighbourhood, arc lines, and families of elements can all be recovered, under laws that contain no number, no sum, and no fixed element. Counting is one of those laws. It is best at some tasks and not at others, and where it loses, it loses to a description that knows only which constituent is more abundant than which. The periodic table that organises the elements, and the formula that writes a composite as \(\ce {H2O}\), are what the data look like under the multiset law. Under the others they look otherwise, and the data do not choose among them.

Data and software used in this section

Table 1085: Sources.

item

source

CCD raw frames

SDSS DR17, sdR-{b1,r1,b2,r2}-00003237.fit.gz, plate 266, MJD 51630, FLAVOR = arc; https://data.sdss.org/sas/dr17/sdss/spectro/data/51630/

mass spectrometer

Thermo Orbitrap LC–MS, filter FTMS + p ESI Full ms [150.0000–500.0000], \(380\) MS1 scans, converted to mzML 1.1.0 from the Thermo RAW file B_M45_B_IH_AS_B_OZ2_HSS_T3_100mm_Formic_0-10_8min_25C13.raw (SHA-1 38492a671a11beec8d0902d540e017a541cb1686); obtained from [repository and accession, or URL]

X-ray line energies

xraylib, compiled from Bearden (1967) and Deslattes et al. (2003)

monoisotopic masses

NIST atomic weights and isotopic compositions, via pyteomics.mass.nist_mass

conventional periods and groups

pymatgen (post hoc comparison only)

software

Python 3.11; numpy, scipy, scikit-learn, astropy, pyteomics, lzma (standard library)

code

symbols.py, laws_all.py, replicate.py, replicate2.py, ordinal.py, fig_rebuild_all.py

pict

Figure 785: Rebuilding without number, element, or sum. (a) Neighbour discrimination for three ordinal laws and for counting under two similarity measures, on four cameras of one arc exposure; the ordinal law was chosen on b1 (shaded). (b) Margin of that law over counting. (c) Agreement between the periodic tables produced by each pair of laws. (d, e) Arc-line rows recovered by the sequence and multiset laws at two block lengths; bars are recall, black ticks precision. (f) Held-out prediction of mass peaks under eleven algebras. (g) Neighbour discrimination on the mass scans, first and second halves of the same file.

583.21 Dismantling the wavelength scale

The SDSS pipeline product spArc-b1-00003237 contains the arc solution for the blue camera of plate 266. Opened without interpretation, it holds a \(15 \times 321\) array whose first column lists the lamp wavelengths used and whose remaining columns give the fitted position of each in each of \(320\) fibres; a structure with FUNC = chebyshev, \(x \in [0, 2047]\) and coefficients of shape \((320, 5)\); and two Legendre structures for the fibre traces and line widths. The wavelength scale of the camera is therefore a fourth-degree Chebyshev polynomial in \(\log _{10}\lambda \), fitted separately for each fibre to fifteen lamp lines, between \(3983.84\) and \(6030.00\) Å. Evaluated at its own lines it reproduces them to \(0.0006\) Å rms.

Table 1086: Sensitivity of the SDSS b1 wavelength scale to the choices it rests on (central fibres 140–180).
change max \(|\Delta \lambda |\) [Å] max \(|\Delta v|\) [km s\(^{-1}\)]
polynomial degree \(4 \to 3\) 1.521 120.2
polynomial degree \(4 \to 2\) 5.438 429.8
polynomial degree \(4 \to 5\) 0.035 2.1
polynomial degree \(4 \to 6\) 0.043 3.4
air \(\to \) vacuum relabelling of the 15 lines 1.365a 83.6a
one of the 15 lines removed \(\le 0.0014\)b \(\le 0.07\)b
amedian; bbeyond the 0.0306 Å offset of the refit itself from the per-fibre solution.

The scale does not depend on any single line. It depends on the degree of the polynomial, which is chosen as the lowest that fits fifteen points with five coefficients, and on the convention by which the fifteen wavelengths are labelled.

The official solution as a predictor. Mapped onto the raw frame, the official solution places \(25\) of the \(31\) lamp lines in range onto observed lines of the arc exposure, at a constant offset of \(20\) rows. It was then used to predict a second arc exposure of the same camera (sdR-b1-00003247), and compared with laws that contain no wavelength, no lamp list and no atom: a shift, an affine map and a monotone cubic warp of the row coordinate, each learned from the first exposure alone.

Table 1087: Predicting the line rows of a second exposure from the first. Lines present in both exposures are scored separately from lines new in the second.
law bits recall, shared recall, new precision
monotone cubic warp 2.557 0.976 0.000 0.851
affine map 2.547 0.976 0.000 0.851
shift 2.497 0.976 0.000 0.851
atomic: SDSS solution + lamp list 0.205 0.341 0.000 0.452

The second exposure contains \(41\) lines present in the first and \(17\) new ones. The laws without atoms recover \(97.6\%\) of the shared lines; the atomic law recovers \(34.1\%\). The atomic law’s deficit is its list: within the observed range it names \(31\) lines, against \(58\) observed. Of the \(17\) new lines, no law — with or without atoms — recovers any.

The task favours the replacement laws, which predict an observation from a nearly identical one, whereas the atomic solution is constructed to assign absolute wavelengths. What the comparison establishes is therefore narrower than a defeat of the atomic description, and not weaker: predicting what the detector will record next required no wavelength and no atom, and the work the atomic description is expected to do beyond that — anticipating lines not yet seen — it did not do here.

pict

Figure 786: Dismantling the SDSS wavelength scale for camera b1 of plate 266. (a) Raw row profiles of two arc exposures; grey lines mark the fifteen lamp lines on which the pipeline built the scale. (b) The official solution, a fourth-degree Chebyshev polynomial in \(\log _{10}\lambda \) through those fifteen points. (c) Change in the scale, as velocity, when only the polynomial degree is varied; the dotted line is the effect of relabelling the same fifteen lines from air to vacuum. (d) Predicting the line rows of the second exposure from the first: three laws without wavelength or atoms against the official solution with the lamp list. (e) Recall on lines present in both exposures, recall on the seventeen new lines, and precision.