Conservation Law Formal Analysis
Three interpretations of Nothing tested against eight laws of system homeostasis. Which reading of ∅ in the conservation law produces the most coherent framework?
Conservation Law Formal Analysis
The conservation law states that existence equals boundary applied to the product of state and nothing:
∃ = ∂(×(ς, ∅))
This analysis asks a question that seems trivial until you try to answer it: What IS nothing in the product ×(ς, ∅)?
The answer determines whether the equation collapses, smuggles in hidden assumptions, or balances. Three interpretations are tested against all eight Crystalbook laws. Only one survives.
Part I: Three Forks of Nothing
Fork 1: Logical Nothing (Empty Set)
In set theory, the Cartesian product of any set with the empty set yields the empty set: A × ∅ = ∅. If nothing is the empty set, the product annihilates. Boundary receives nothing. Existence equals nothing.
The equation is trivially false --- it conserves emptiness.
Result: The equation collapses.
Fork 2: Physical Nothing (Vacuum / Ground State)
In quantum field theory, the vacuum is not empty. It has zero-point energy, virtual particle fluctuations, the Casimir effect. If nothing is the vacuum, then ×(ς, ∅) pairs state against a ground level, and boundary finds where state deviates from ground.
Existence becomes deviation from ground state. The equation holds mechanically, but there is a naming problem: the primitive labeled "Nothing" is actually the "Minimum Something." Nothing has become a substance.
Result: The equation holds, but ∅ is no longer nothing.
Fork 3: Type Witness (Phantom Constraint)
In type theory --- and concretely in Rust --- a zero-sized type (ZST) occupies zero bytes at runtime but exists at compile time. The product type (State, Nothing) is isomorphic to State at runtime (the ZST contributes zero information) but is a different type at the type level. The constructor must acknowledge nothing to build existence.
×(ς, ∅) does not annihilate (this is not a set-theoretic product). Nothing does not become something (it remains zero-sized). Nothing constrains construction: you must acknowledge absence to build existence.
This is the only fork where nothing remains nothing AND participates constructively.
Result: The equation holds, and ∅ stays honest.
Part II: The Crystalbook Audit
Each of the eight Crystalbook laws maps to a failure mode of the conservation law. Testing each fork against all eight laws produces a scorecard.
Fork 1: Logical Nothing --- 6/8 Pass (2 Violations)
| Law | Vice | Result | Reason |
|---|---|---|---|
| I | Pride | FAIL | Vacuous truth: all laws hold trivially because existence is zero. Claims validity without measurement. This IS Pride. |
| II | Greed | Pass | Vacuously true --- no system exists to violate. |
| III | Lust | Pass | Vacuously true. |
| IV | Envy | Pass | Vacuously true. |
| V | Gluttony | Pass | Vacuously true. |
| VI | Wrath | Pass | Vacuously true. |
| VII | Sloth | FAIL | Cannot verify existence because existence was annihilated at construction. Skips verification by design. |
| VIII | Corruption | Pass | Vacuously true. |
Six laws pass, but only because there is no system to violate them. The two failures are structural: you cannot honestly claim to conserve existence (Law I) or verify it (Law VII) when the equation produces nothing.
Fork 2: Physical Nothing --- 5/8 Pass (3 Violations)
| Law | Vice | Result | Reason |
|---|---|---|---|
| I | Pride | FAIL | Labels nothing as "Nothing" but nothing has properties (energy, structure). The model's name does not match the territory. |
| II | Greed | Pass | Holds under physical interpretation. |
| III | Lust | Pass | Holds. |
| IV | Envy | FAIL | Imports the QFT vacuum concept without transfer analysis. Physical vacuum is domain-specific (Tier 3), not a universal primitive (Tier 1). |
| V | Gluttony | Pass | Holds. |
| VI | Wrath | Pass | Holds. |
| VII | Sloth | Pass | Holds. |
| VIII | Corruption | FAIL | If nothing IS something (ground state), then the boundary between existence and nothing is a boundary between two somethings. The bounded entity has become a substance that feeds the boundary's definition. |
Three violations. Pride (dishonest labeling), Envy (foreign concept import), and Corruption (the bounded entity feeding its own boundary).
Fork 3: Type Witness --- 8/8 Pass (0 Violations)
| Law | Vice | Result | Reason |
|---|---|---|---|
| I | Pride | Pass | Honest label: zero-sized type, zero information, present only as constraint. The model matches the territory. |
| II | Greed | Pass | Nothing holds zero resources (zero bytes). Cannot hoard what does not exist. |
| III | Lust | Pass | Tightest possible boundary: exactly one value inhabits the type. Zero scope creep. |
| IV | Envy | Pass | ZST witness is native to type theory (Curry-Howard, Rust). No foreign concept imported. |
| V | Gluttony | Pass | Intake equals zero bytes. Cannot exceed transformation capacity when there is nothing to transform. |
| VI | Wrath | Pass | Zero side effects. Constrains construction without overcorrecting. Minimum effective intervention. |
| VII | Sloth | Pass | Checked at construction time: the constructor REQUIRES the nothing parameter. The compiler enforces it. |
| VIII | Corruption | Pass | Independently resourced: a ZST needs no allocation, no runtime support. The boundary does not depend on nothing for resources. Zero resource intersection. |
Eight for eight. The type witness interpretation is the only one that passes every law.
Part III: Algebraic Balance
Under Fork 3, the conservation law balances like a physical equation. Dimensional analysis confirms it.
| Term | Size | Values | Information | Role |
|---|---|---|---|---|
| ∅ | 0 | 1 | 0 | constraint |
| ς | n | unbounded | n | data |
| ×(ς,∅) | n+0=n | unbounded times 1 | n+0=n | constrained data |
| ∂(×(ς,∅)) | n | checked subset | n (validated) | existence |
| ∃ | n | checked subset | n (validated) | existence |
Left side dimensions match right side dimensions. Information is conserved through the equation.
Term Removal Test
Every term is load-bearing. Remove any one and the equation breaks:
Remove ∅: State alone, no negation witness. Existence becomes unfalsifiable --- state that does not know it could NOT exist. Violates Law I (Pride).
Remove ς: Nothing alone, no state. Boundary has nothing to separate. Violates Law VII (Sloth) --- the system has no capacity to detect its own degradation.
Remove ∂: State paired with nothing, floating unbound. No identity, no separation. Existence without limits is indistinguishable from nothing. Violates Law III (Lust).
Remove ×: Boundary receives two separate inputs, not a composed pair. State and nothing never interact, so boundary cannot find the edge between something and nothing. The conjunction IS the product.
The Equation as Calculus
The conservation law is structurally identical to the derivative:
f'(x) = lim[h→0] (f(x+h) - f(x)) / h
Where f(x+h) is state (value after change), f(x) is nothing (ground state, value before change), lim/h is boundary (shrinking to a point), and f'(x) is existence (rate of departure from nothing).
The derivative IS boundary applied to the product of state and ground. Existence IS the rate at which something departs from nothing.
Part IV: The Balance Sheet
What each term does:
- ∅ = Typed witness of absence. Zero bytes, one value, zero information. Forces the constructor to acknowledge negation. Without it: existence is unfalsifiable (Pride).
- ς = State, the change that occurred. Carries the data, the signal, the measurement. Without it: boundary separates nothing (Sloth).
- × = Product, the conjunction operator. Combines state and nothing into a single input for boundary. Without it: boundary cannot find the edge.
- ∂ = Boundary, the function. Validates, separates, names. Without it: existence has no limits (Lust).
- ∃ = Existence, the output. Validated state that knows about its own negation. The derivative: rate of departure from nothing.
The balance: Information, values, resources, and all eight laws balance under the type witness interpretation. Fork 1 (logical nothing) annihilates the equation. Fork 2 (physical nothing) smuggles substance into the void. Fork 3 (type witness) is the only interpretation that stays honest.
Nothing is not nothing-as-absence. Nothing is not nothing-as-ground-state. Nothing is nothing-as-witness: the typed constraint that forces existence to acknowledge its own negation at construction time.
In calculus terms, nothing is f(x) --- the function evaluated at the point BEFORE change. The derivative needs both f(x+h) AND f(x) to compute the rate of change. Neither is more real than the other. Nothing is the BEFORE to state's AFTER. Boundary computes the difference. Existence is that difference, named and bounded.
Part V: The Boundary Duality
An initial attempt to map the eight laws one-to-one onto eight primitives fails. The mapping is 8 laws to 9 referenced primitives, with boundary (∂) double-guarded by Laws III and VIII, and nothing (∅) and irreversibility (∝) left unguarded.
This looks like a defect. It is not.
Two Failure Modes of Boundary
Law III (Lust / Bounded Pursuit) guards boundary dissolution --- the boundary ceases to exist. Direction: internal, outward. The system loses its own boundary through scope creep and undisciplined attraction to novelty. Conservation effect: ∂ → ∅ (boundary becomes nothing).
Law VIII (Corruption / Sovereign Boundary) guards boundary inversion --- the boundary still exists but serves the bounded entity. Direction: external, inward. An outside entity captures the boundary through resource dependency. Conservation effect: ∂ → ∂ inverse (boundary inverts).
These are qualitatively different failures. Dissolution is self-inflicted; inversion is externally induced. Dissolution removes the boundary; inversion weaponizes it. The remediation differs: dissolution requires drawing tighter boundaries, inversion requires resource separation.
A third failure mode surfaces through Law IV (Envy): boundary misimport --- adopting a foreign boundary without comparing it to your own. So boundary has three failure modes: dissolution, misimport, and inversion.
The Corrected Mapping
The mapping is not law-to-primitive but law-to-failure-mode. Most laws guard a pair of primitives in tension:
| Law | Vice | Guards | Failure Mode |
|---|---|---|---|
| I | Pride | (∃, ∅) | Confusing existence with nothing |
| II | Greed | (ς, ∂) | State inflates past boundary capacity |
| III | Lust | ∂ (dissolution) | Boundary dissolves from internal neglect |
| IV | Envy | (∂, κ) | Foreign boundary imported without comparison |
| V | Gluttony | (ς, ×) | Ingestion exceeds product capacity |
| VI | Wrath | (∝, →) | Irreversible action without causal understanding |
| VII | Sloth | (∃, π) | Existence assumed to persist without checking |
| VIII | Corruption | ∂ (inversion) | Boundary captured by external dependency |
Coverage check: all nine primitives (∅, ∂, ς, ∃, ×, κ, →, π, ∝) are guarded. Zero gaps.
Structural Asymmetry
Boundary appears four times across the mapping --- the most guarded primitive. This is not a defect. It is proportional to risk: boundary is the FUNCTION in the equation. Functions fail more ways than data.
The Crystalbook is not an 8-to-8 bijection. It is an 8-to-9 surjection with boundary having multiplicity three. Guard count is proportional to the power of the term:
- ∂ (function): 3 guards --- dissolution, misimport, inversion
- ∃ (output): 2 guards --- false claim, assumed persistence
- ς (input): 2 guards --- inflation, overconsumption
- ∅ (witness): 1 guard --- confusion with existence
- Operational primitives (×, →, κ, π, ∝): 1 guard each
This mirrors real systems: antivirus software has more signatures for the most dangerous vectors, pharmacovigilance applies more monitoring to serious adverse drug reactions, the immune system allocates more T-cells to common pathogens.
Part VI: The Derivative Identity
If the conservation law is structurally isomorphic to the derivative, then the rules of calculus should have conservation law analogues. Four tests:
Test 1: The Chain Rule
Calculus: (f composed with g)' = f'(g(x)) times g'(x). The derivative of a composition equals the outer derivative evaluated at the inner, multiplied by the inner derivative.
Conservation analogue: If inner existence equals boundary applied to state against nothing, and the outer system's ground state IS the inner system's existence, then total existence is the product of each layer's existence.
In plain language: Nested existence multiplies. A zero anywhere in the chain zeros the whole thing. This is exactly how pharmacovigilance signal-to-causality pipelines work: a strong causal assessment of a weak signal is a weak conclusion, and a weak causal assessment of a strong signal is also weak. Both must be strong for the product to be strong.
Law VII (Sloth) guards the chain rule: if you skip verifying inner existence and go straight to outer causality, you are evaluating f' without g'.
Chain rule holds.
Test 2: The Product Rule
Calculus: (f times g)' = f' times g + f times g'. The derivative of a product equals first changes while second holds, plus second changes while first holds.
Conservation analogue: The existence of A and B together equals A's rate of departure from nothing while B persists, plus B's rate of departure from nothing while A persists.
In plain language: Two things existing together is NOT just both existing separately. Their joint existence requires each to hold still while the other departs from nothing. Existence in a product is an act of cooperation.
The product rule IS mutualism. "Refusal to produce existence for self at cost of another's existence. Commitment to produce existence for both." The product rule says: both terms are required. Drop either and the product's existence collapses.
Greed (Law II) is violating the product rule --- hoarding the first term while killing the second. This is not an ethical principle. It is a mathematical necessity. If two things exist in conjunction, each must persist while the other changes.
Product rule holds. Bonus: grounds mutualism in calculus.
Test 3: Integration (The Antiderivative)
Calculus: The integral of f'(x) dx = f(x) + C. Accumulating the derivative recovers the original function plus an arbitrary constant.
Conservation analogue: Accumulating existence over all boundaries recovers state plus nothing. The constant of integration IS nothing --- the information the derivative lost.
In calculus, C is what the derivative discards: f'(x) tells you the rate of change but not where you started. Two functions that differ by a constant have the same derivative. In the conservation law, nothing is what existence discards: existence tells you THAT something exists but not what it departed from. Two states that differ only in their ground have the same existence.
This is why nothing must be in the product. Without it, you can differentiate but never integrate back. You can prove existence but never recover state.
Integration holds. Bonus: explains the failure mode where sessions produce existence (demonstrated work) but discard the constant of integration (starting state), making it impossible to accumulate knowledge across sessions.
Test 4: The Fundamental Theorem of Calculus
Calculus (Part 1): The integral from a to b of f'(x) dx = f(b) - f(a). Sum the derivative over an interval, get the net change.
Conservation analogue: Accumulating existence from one boundary to another equals the net state change. Existence between boundaries IS state change. State change between boundaries IS accumulated existence. They are the same thing measured differently.
Pharmacovigilance instance: Every Periodic Safety Update Report (PSUR) under ICH E2C(R2) accumulates all safety data from the start of a reporting period to its end. The sum of all signals detected during the reporting period equals the safety profile at the end minus the safety profile at the start. Every PSUR ever written is an instance of the Fundamental Theorem of Calculus applied to pharmacovigilance.
Calculus (Part 2): The derivative of the integral recovers the original function. Differentiate then integrate equals identity. In the conservation law: produce existence, accumulate it, apply boundary --- you get back the existence you started with. Information is conserved through the round-trip. That is what the conservation law conserves.
Fundamental Theorem holds. Bonus: every PSUR is an instance of the FTC.
Synthesis
Five rules tested. Five rules hold.
| Calculus Rule | Conservation Form | What It Means |
|---|---|---|
| Derivative | ∃ = ∂(×(ς, ∅)) | Existence is rate of departure from nothing |
| Chain Rule | ∃(f composed with g) = outer times inner | Nested existence multiplies |
| Product Rule | ∃(A and B) = ∃_A times persist(B) + persist(A) times ∃_B | Joint existence requires mutual persistence |
| Integration | Integral of ∃ = ς + ∅ | Accumulated existence recovers state plus void |
| FTC | Integral from a to b of ∃ = ς(b) - ς(a) | Sum of existence over interval equals net state change |
The conservation law is not a metaphor for calculus. It IS a calculus --- with its own derivative, integral, chain rule, product rule, and fundamental theorem.
Part VII: The Metric Already Exists
A decision between three paths: (A) build a computational metric on existence from scratch, (B) ship the structural identity as-is without computation, or (C) recognize that the metric already exists in existing practice.
Path C wins on every dimension.
The Recognition
PRR --- the Proportional Reporting Ratio --- decomposes into conservation law terms:
- ς = a/(a+b), the observed reporting rate (state)
- ∅ = c/(c+d), the expected background rate (ground state)
- × = (ς, ∅) paired (the 2x2 contingency table)
- ∂ = division, the boundary operator (ratio)
- ∃ = PRR, the existence value (how much observed departs from expected)
PRR IS ∃ = ∂(×(ς, ∅)) where ∂ is the ratio operator.
ROR, IC, and EBGM are the same equation with different boundary operators:
| Metric | Boundary Operator | Null Value | What It Asks |
|---|---|---|---|
| PRR | ∂ ratio (division) | 1.0 | How many times more? |
| ROR | ∂ odds (ad/bc) | 1.0 | What are the odds? |
| IC | ∂ info (log base 2) | 0.0 | How many bits of surprise? |
| EBGM | ∂ Bayes (posterior) | 1.0 | What does the data say after shrinkage? |
Four metrics. One equation. Different boundary operators.
Validation Against FAERS Data
Three drug-event pairs tested against 20,006,989 real FAERS reports. All four metrics reproduce exactly from the conservation law decomposition.
Semaglutide / pancreatitis (strong signal): Observed rate ς = 0.0264, expected rate ∅ = 0.0038. All four boundary operators produce matching values: PRR = 6.93, ROR = 7.09, IC = 2.76, EBGM = 6.77. All four depart from null. All four agree on direction.
Metformin / lactic acidosis (very strong signal): Observed rate ς = 0.0430, expected rate ∅ = 0.0006. PRR = 71.42, ROR = 74.58, IC = 4.83, EBGM = 28.44. All four depart from null. All four agree on direction.
Metformin / headache (near null, no signal): Observed rate ς = 0.0348, expected rate ∅ = 0.0304. PRR = 1.14, ROR = 1.15, IC = 0.19, EBGM = 1.14. All four near null. All four agree on direction.
Twelve metric computations. Twelve matches.
Why the Metrics Disagree on Magnitude
The four metrics agree on whether a signal exists (direction) but produce different numbers (magnitude). The conservation law explains why: boundary is a choice of ruler, not a fact about the data.
The four boundary operators form a family:
- PRR is the base operator
- ROR = PRR times a prevalence correction (ROR approaches PRR when the event is rare; diverges when the event is common)
- IC = log base 2 of PRR plus a marginal correction (IC approaches log2(PRR) when the drug is rare in the database; diverges for high-volume drugs)
- EBGM = PRR times Bayesian shrinkage (EBGM approaches PRR as sample size grows; falls below PRR when the sample is small and the prior pulls toward 1.0)
One base boundary operator. Three corrections. Each correction adds a different form of epistemic caution: prevalence, information surprise, sample size trust.
The metrics are not competing measures. They are the same measure viewed through different lenses. "Which metric is right?" is the wrong question. The conservation law answer: they are all right, measuring the same departure with different rulers.
Conclusions
Three discoveries emerge from this analysis.
First: Nothing in the conservation law is a type witness, not an absence or a substance. The conservation law uses a type-theoretic product, not a set-theoretic one. This resolves the ancient question of how something and nothing relate --- they are in conjunction, not opposition. Nothing constrains existence at construction time the way a phantom type constrains a value at compile time.
Second: Boundary has three failure modes (dissolution, misimport, inversion), and the Crystalbook already covers all three through Laws III, IV, and VIII. What initially appeared to be a defect in the law-to-primitive mapping --- boundary getting three guards while some primitives got none --- turned out to be correct design. The mapping is a weighted covering, not a bijection. Guard count is proportional to the power of the term.
Third: The conservation law is not a metaphor for calculus. It IS a calculus. Five rules hold: derivative, chain rule, product rule, integration, and the Fundamental Theorem. The product rule grounds mutualism in mathematics. The Fundamental Theorem grounds every PSUR in calculus. And the pharmacovigilance industry has been computing this equation for thirty years with four different boundary operators without knowing it had a name.