Physics Derivation Graph / blog index / this post

relation between model and equations

First published 2026-06

prompt

In mathematical physics derivations start from an expression or assumption and work step-by-step to end up with a result. The derivation involves mathematical transformations and reliance on assumptions.

Looking only at the math steps leaves a reader with no insight as to whether the derivation is meaningful or useful. The aspect missing from the math is the relation between the equations and an underlying model. This connection between equations and the steps of a derivation and the model is typically made using narrative text that accompanies the math.

How can the model and the relation to the math be made more explicit? Or is there fundamentally no way to do that? Given a partially-completed derivation one must know the model in order to complete the derivation. How to specify the model more precisely than narrative text?

Response from Gemini 3.5 Flash on 2026-06-02

The gap between purely symbolic manipulation and the physical model it represents is a well-recognized challenge in mathematical physics. While narrative text is the traditional bridge, there are formal, semi-formal, and mathematical frameworks designed to make the underlying model, its assumptions, and its relation to the derivation more explicit.

Here are several approaches from physics, computer science, and applied mathematics that address this problem.


1. Variational and State-Space Frameworks (Mathematical Physics)

In classical and quantum mechanics, the "model" can often be completely specified mathematically before any derivation begins, reducing the need for narrative assumptions mid-derivation. This is typically done using variational principles or state-space formulations.

To specify a model precisely without narrative text, one can define:

How this helps: Any subsequent derivation (such as finding equations of motion) is simply an application of the principle of least action ($\delta S = 0$) under the specified constraints. The physical model is entirely contained in the definition of $S$ and $M$. If a derivation is partially complete, knowing $S$ and the constraints is mathematically sufficient to complete it.


2. Physical "Types" and Dimensional Ontology (Computer Science)

In standard mathematics, a variable might be defined simply as $x \in \mathbb{R}$. In physics, this lacks the context of the model. Computer science addresses this using type theory and ontologies, which can be applied to mathematical physics.

Instead of relying on narrative to explain what $x$ is, one can assign it a highly specific "physical type":

By formally defining these types at the start, any mathematical step that violates the dimensional or semantic rules (e.g., adding a velocity to a force, or applying a low-speed approximation to a relativistic variable) is flagged as mathematically or logically invalid.


3. Graph-Based Derivation Trees and Dependency Graphs

A derivation is rarely a linear sequence; it is a directed acyclic graph (DAG) of logical inferences. The relation between the model and the math can be formalized by structuring the derivation as a graph where:

By formalizing the derivation as a graph, you can trace exactly which physical assumptions are required for which mathematical steps. If a derivation is partially complete, the graph shows which assumptions (the "model") must be carried forward to validate the remaining steps.


4. Categorical and Applied Category Theory Frameworks

Applied Category Theory (ACT) is increasingly used to formalize physical systems, particularly through string diagrams and monoidal categories.

This approach replaces narrative explanations of "how components interact" with a rigorous topological and algebraic map of the system.


5. Semantic Mathematical Documents (e.g., OMDoc / MMT)

In digital humanities and mathematical knowledge management, frameworks like OMDoc (Open Mathematical Documents) and the MMT (Meta-Meta-Theory) language are used to represent mathematical physics.

These systems allow authors to:

Summary of How to Specify a Model More Precisely

If you are writing or programming a derivation and want to minimize narrative text, you can structure your document or code to include:

  1. An Explicit Context Block: Before the math begins, declare:
  2. Justification Tags on Equations: Instead of narrative paragraphs, label mathematical steps with formal justification tags (e.g., $\xrightarrow{\text{Taylor } (x \to 0), \text{ Order } 1}$).
  3. An Action or Conservation Principle: State the fundamental variational principle or conservation law from which the entire system is derived, rather than introducing ad-hoc equations mid-way through.