Chapter I
An Operational Definition
Before anything could be said about what substances are made of, there had to be a test for a substance that is made of nothing else. Robert Boyle supplied one in 1661, and its merit is that it refuses to answer the metaphysical question. Aristotle's four elements and the alchemists' three principles both fail, he argued, for the same reason: nobody can produce them. So define an element as whatever resists decomposition by any means available.

This is a definition that moves. Lime was an element until Davy decomposed it; light and caloric appear in Lavoisier's own table of simple substances and are not elements at all. Boyle's test tells you what has not yet been done, which sounds like a weakness and is the reason the definition survived three subsequent revolutions in what matter was thought to be.
The obstacle to applying it was that a great many reactions involve a gas, and gases escaped. Joseph Black removed the obstacle in 1756 by weighing one. Heating magnesia alba drives off something and leaves a caustic residue that weighs less; treat the residue appropriately and the weight comes back, with the original substance restored. The thing driven off is a definite chemical substance — carbon dioxide — with a weight that can be entered in a ledger. After Black, a gas was a reagent rather than a condition of the air.
Chapter II
The Books Must Balance
The prevailing account of combustion held that burning substances release phlogiston. It explained a great deal: why flames go out in a closed vessel, why metals can be recovered from their ores by heating with charcoal, why some substances burn and others do not. And it had a quantitative problem that its defenders knew about and could not fix. When a metal is calcined it gets heavier. Lead, tin, mercury all gain weight on burning, reproducibly, by amounts that are not small.
Antoine Lavoisier's method was to work in sealed vessels and weigh everything, including the air. Done that way, the gain in the product is matched by a loss from the air, and about a fifth of the air is consumed before combustion stops. The remaining four-fifths will not support burning or breathing. Combustion is therefore combination with one component of the atmosphere, not the release of anything — and that component was the gas Joseph Priestley had prepared in 1774 and Carl Wilhelm Scheele probably before him, which Lavoisier named oxygen.

Marie-Anne Paulze Lavoisier translated the English phlogistic literature for him — including Richard Kirwan's defence, published with her husband's rebuttals attached — kept the laboratory records, and drew the plates of the apparatus in the Traité. The instruments she drew are the argument: sealed, graduated, and designed so that nothing enters or leaves unweighed.

The 1789 Traité élémentaire de chimie states conservation of mass as a principle and writes reactions as balanced equations. Two years earlier the same group had reformed the language, replacing oil of vitriol and flowers of zinc with sulfuric acid and zinc oxide. That reform was fought over harder than the chemistry, because adopting the names meant conceding the composition.
Chapter III
A Closer Look: Why Weighing Magnesium Settles It
Take the reaction phlogiston could not survive, and do the arithmetic with modern atomic masses.
Magnesium's atomic mass is 24.31, oxygen's 16.00. So 48.61 g of magnesium combines with 32.00 g of oxygen to give 80.61 g of magnesium oxide, and the weight gain is
Burning a gram of magnesium ribbon leaves 1.66 g of white ash. Under phlogiston theory, burning releases a substance, so the residue should weigh less than the metal. It weighs two-thirds more, and the discrepancy is not a measurement artefact — it is larger than the quantity being weighed.
The eighteenth-century rescue was to give phlogiston negative weight, or to suppose that air rushes in to fill the space it vacates. Both are available; neither is testable without weighing the air. So follow the oxygen instead. One gram of magnesium requires
which at standard conditions occupies litres. Air is 20.9% oxygen by volume, so the gram of magnesium strips the oxygen from
That is the number a closed vessel makes visible. Burn the magnesium in a sealed flask of two and a bit litres of air and the flame goes out with the metal unconsumed, the pressure has dropped by about a fifth, and the weight of the sealed flask has not changed at all. Open it and the balance records the gain.
The lesson is about the apparatus rather than the chemistry. Every term in the equation above is a weight, and the only one that is hard to obtain is the gas. Phlogiston theory was not defeated by a better idea; it was defeated by vessels that would not let the gases leave, and by the discipline of refusing to publish an account that did not balance. Lavoisier's laboratory notebooks are full of sums that did not close, abandoned.
Chapter IV
What a Compound Is
One question remained, and it had to be settled before anything atomic could be built. Is a compound's composition fixed?
Joseph Proust said yes, on the evidence of years of analyses: copper carbonate prepared by any route gives the same proportions of copper, carbon and oxygen; tin has two oxides and nothing in between. Claude-Louis Berthollet said no, and had good reasons. Chemical affinity, he argued, depends on the quantities present — a view that is correct and became the law of mass action — and he pointed at solutions, alloys and glasses, whose composition plainly varies continuously.
Proust won, and the law of definite proportions is what gave Dalton's atoms something to explain, as atomic theory describes. Berthollet's examples did not go away, though. Many solids — iron oxides, titanium sulfides, the lithium cobalt oxide in a rechargeable battery — have compositions that vary over a range, because they are held together by a lattice rather than assembled from identical molecules. They are called non-stoichiometric compounds, and sometimes berthollides, which is as close as chemistry comes to an apology.