Frequently Asked Questions (FAQ) About the Physics Derivation Graph

navigation / documentation overview / Frequently Asked Questions (FAQ)


What is the status of the project?

As of January 2026, a single developer is actively contributing to the project in his spare time. A few collaborators have previously contributed.


How is the Physics Derivation Graph related to Hilbert's Sixth Problem?

Hilbert's Sixth Problem is

"To treat in the same manner, by means of axioms, those physical sciences in which already today mathematics plays an important part; in the first rank are the theory of probabilities and mechanics."

The Physics Derivation Graph is adjacent to, but not as ambitious as, Hilbert's Sixth Problem. Adjacent to Hilbert's Sixth Problem because the scope is comprehensive documentation of the inference rules. The Physics Derivation Graph is not as ambitious because PDG doesn't seek to discover new mathematical physics. PDG is descriptive rather than creating new bridges in physics.

The Physics Derivation Graph does not have the explicit goal of proving physics. Where a CAS or proof assistant can be leveraged they will be, but lack of proof does not constitute failure of the project. (For contrast, see other projects like Assumptions of Physics or Physlean.)

Solving, or even attempting to solve, Hilbert's Sixth Problem is ambitious. Whether the inference rules would qualify as axioms is not clear to the developer of the Physics Derivation Graph. Writing down all of mathematical physics is the primary goal of the Physics Derivation Graph, and the fact that some of the steps can be proven in Lean is an accidental benefit. The use of a Computer Algebra System (CAS) like SymPy and a proof assistant like Lean are secondary in the Physics Derivation Graph because the author does not expect every inference rule to be amenable to rigorous validation.

See more on Hilbert's Sixth Problem and the Physics Derivation Graph.


What is the durability of the project?

Many projects in knowledge management of science last as long as a grant or are created in support of a publication. The Physics Derivation Graph is intended to last for years. This influences design decisions.

Financial sustainability is a key consideration. The Physics Derivation Graph is hosted on Hetzner using a single droplet at a cost of $48/year. The lease on the domain name through SquareSpace is $12/year and renews annually. Paid through 2030.


Why is a login required for some links and actions?

Static content is displayed for and accessible to anyone. The ability to change the graph content requires a user to be signed in to prevent defacement and to track who contributed what in case a rollback is needed.


What graph queries are relevant to the Physics Derivation Graph?

See also https://github.com/allofphysicsgraph/ui_v8_website_flask_neo4j/issues/55


What are alternative paradigms that yield the same artifacts?

These descriptions of the project are equivalent:


How does data entered into the site get to the Physics Derivation Graph github repo?

Content entered through the web interface updates a Neo4j database on the Hetzner virtual private server. The project owner manually uploads code from that server to the github repo for it to become part of the "official" source code.

Alternatively, a person could enter their derivation, download the Cypher file, and submit a pull request to the repo.


Who is the audience for the Physics Derivation Graph?

Students, teachers, researchers.

See Use cases


What are the use cases for the Physics Derivation Graph?

See also https://github.com/allofphysicsgraph/task-tracker/issues/28

use case who does the work? who benefits? pure Latex is sufficient? incentive
show interconnectivity of expressions project owner students yes share the beauty of mathematical Physics
use PDG for derivation in paper appendix paper author paper readers yes none
validate homework derivation student student; teacher no; CAS required correctness of derivation
validate novel derivation researcher researcher no; CAS required correctness of derivation
database for training machine learning algorithms project owner machine learning researchers no; CAS needed progress in Physics?

Each of these use cases involve significant amounts of tedious data entry and learning what inference rules exist and the interface to the Physics Derivation Graph.

If research grants do not require validation of math, then researchers are not motivated to invest. If promotion in academia does not depend on validation of math, then professors are not motivated to invest. If publishing research does not require validation of math, then authors are not motivated to invest. If students doing homework can get by without being correct, then students are not motivated to invest.

The Physics Derivation Graph is expected to be useful to multiple audiences and users. Viewers of the content could include students in math and physics, and analysis of the content could help shape curriculum. Contributors to the Physics Derivation Graph would be scientists who add new developments based on their work, or enthusiasts who convert published scientific literature into the Physics Derivation Graph database.

The entrypoint for the use cases below is the navigation page, from which steps, expressions, symbols, operators, and inference rules can be viewed.

Use case: Education in Math and Physics

Currently students in Math and Physics are taught content using lectures, textbooks, and homework. The method of presentation varies, but the pedagogic story is often historically driven. Algebra is old, calculus is newer, and topology is recent. Classical mechanics is old, thermodynamics is newer, and quantum mechanics is recent. When teaching, these subjects are taught by building on previous content -- calculus leverages algebra, thermodynamics leverages classical mechanics.

A role the Physics Derivation Graph can play in education is showing the relevance of what is being taught. The focus for students in mathematics classes is on the technique, e.g., "integrate both sides with respect to \(Y\)," and application is necessarily of secondary importance. Physics students are expected to know the mathematical techniques and teaching is focused on application. The Physics Derivation Graph can assist both scenarios. The student in a math class can see where the inference rules they learn are applied in Physics. The student in the Physics class can see which inference rules are required in their field.

Stakeholders for this use case:

How could the Physics Derivation Graph benefit teachers?

For Physics teachers, the Physics Derivation Graph could address questions like

For Math teachers, the Physics Derivation Graph could address questions like

How could the Physics Derivation Graph benefit students?

The mechanics of mathematical physics is the application of inference rules taught in math classes. In addition the questions relevant for instructors, for physics students the Physics Derivation Graph could address questions like

Math classes essentially teach a set of inference rules. For math students, the Physics Derivation Graph could address questions like

As an example, see Fundamental rules for physics mathematical derivations?

Use case: Documenting Scientific Progress in Articles

The Physics Derivation Graph provides a very detailed explanation of how complex derivations are carried out. It also explicitly enumerates the assumptions necessary to perform derivations. Imposing these requirements on researchers would require clear and significant benefit to both the individual researchers and the community.

Peer-reviewed journal articles are one of the current methods of demonstrating value in the scientific community. Conciseness is a feature of this writing style, and the mathematics presented is correspondingly sparse -- just sufficient to covey the author's intention. This results in a burden on the reader of the article, either to take the author's claims on faith, or to rederive the mathematical expressions. A reader's derivation is complicated by implicit assumptions made by the author and unintentional mistakes in calculation.

With journals allowing supplemental materials for articles, calculations could be included. However, it is not clear what the appropriate level of detail is in supplied calculations. The intention is to be able to reproduce the work, but validation via computer.

Stakeholders for this use case:

Use case: Education Curriculum Design

By measuring the frequency of a specific inference rule in the Physics Derivation Graph, the question "What is the relative importance of this math skill?" can be addressed.

In the Physics Derivation Graph, it is simple to count utilization of inference rules. Thus, we are able to measure the ratio of how often "multiply both sides by X" is used relative to "integrate both sides with respect to \(Y\)."


Could the Physics Derivation Graph serve as a central registration for symbols and expressions?

Yes!

As two successful examples of central registration and tracking used in Science, consider the ORCID system for authors and DOIs for articles. Both of these examples seem to have originated with publishers.


How to contribute to the Physics Derivation Graph?


How to contact the project owner?

Email is the best method: ben.is.located AT gmail.com

Also, there is a gitter channel available for developers.

The PDG Google Group is for community announcements, updates, summaries of status, documenting strategic decisions, and questions from users.


What is an inference rule?

An inference rule is the atomic step of logic that relates two mathematical expressions. See the full explanation in the documentation.


Why does the user provide the input expressions, inference rule, and outputs? Why not generate the output from the inputs + inference rule?

In principle this is feasible in the Physics Derivation Graph.  With the user providing the input expressions and inference rules (plus any needed arguments), the outputs are deterministic. For example, starting with the expression \begin{equation} a = b \end{equation} the user instructs the software to apply the inference rule "multiply both sides by x" where \(x=2\). Then the software produces the output \begin{equation} 2 a = 2 b \end{equation} The constraint is that the Computer Algebra System used in the PDG (SymPy) is not capable of handling all inference rules or all expressions. Currently in the Physics Derivation Graph the user provides Latex, which gets converted (with help from the user) to SymPy. SymPy may eventually have the capability of deterministically applying inference rules. That would require investment in the Latex parser and Physics libraries.


Is the Physics Derivation Graph just knowledge management?

Yes. With some rigor to verify edges in the graph.

There have been similar efforts in Mathematical Knowledge Management.


What previous discussions of semantics in Physics exist?

A clear description of the issue of semantics in Physics expressions is presented in Making Meaning with Math in Physics: A semantic analysis and Language of physics, language of math: Disciplinary culture and dynamic epistemology.

The Physics Derivation Graph is enabled by sementic decoration of symbols and expressions. The implementation uses Sympy as a Computer Algebra System and extensive numeric indices for symbols, expressions, and steps.


Why would the Physics Derivation Graph succeed where other projects have stagnated?

This question is motivated by the essay "A Critique of OpenMath and Thoughts on Encoding Mathematics" (2001) since the Physics Derivation Graph is similar to the QED manifesto.

Rather than struggle to fit everything into a formal rigorous basis, the implementation for the Physics Derivation Graph uses Latex to encode math. Some expressions are represented using SymPy, with the hope that the Latex and SymPy refer to the same concepts.

By focusing on specific and practical demonstrations, the Physics Derivation Graph will provide value to teachers, students, and researchers.


What previous discussions of the grammar of Physics exists?

The grammar of physics by P. R. Subramanian, B. Gnanapragasam, and G. Janhavi
published in The Physics Teacher 28, 174 (1990); https://doi.org/10.1119/1.2342981. The focus seems to be on dimensional analysis.

There are also Science Ontologies like sciencewise.info


What domains does the Physics Derivation Graph cover?

source: "Physics and Formal Methods" by Douglas (2019)


What previous discussion of the syntax of Physics exists?

"syntax specifies exactly what should be allowed with regard to the formation of character strings." (source)


What is the role of proofs in the Physics Derivation Graph?

The Physics Derivation Graph does not prove anything; it merely documents the mathematical manipulations applied in Physics. In this project a derivation is used to denote relations between statements that relate objective measurements of reality. For more on this issue, see this answer.


Could the Physics Derivation Graph reduce Physics to axioms?

Relating the inference rules used in the Physics Derivation Graph to set theory or logical rules (e.g., modus ponens and axioms may be possible, but that is not in the current scope for the project.


How is the Physics Derivation Graph related to Computational Graphs in deep learning?
There is no relation between the inference rules and expressions present in the Physics Derivation Graph and computational graphs used in deep learning.


Does use of the Physics Derivation Graph and verification of steps in a derivation mean that the content is valid?
No. Simply carrying out mathematical manipulations of expressions does not necessarily lead to physically valid outcomes.


What lessons have you learned in implementing the Physics Derivation Graph?
My observations are specific to the nuances of the project and my personality.


If you were starting from scratch, what would you have wished you had done differently?
Knowing what the requirements of the data structure up front would have reduced the time wasted with insufficient data structures.

Better understanding where the Physics Derivation Graph fits with respect to semantics and formal proofs would have helped with finding relevant communities of practitioners. The Physics Derivation Graph fits with neither semantics nor proof assistants, but somewhere in between. PDG clearly relates to mathematical proofs; not clear how PDG relates to semantic tagging and structures.


What's the purpose of the many numerical indices associated with the expressions and inference rules?

Each expression index is a Godel number. This is a way of uniquely identifying each component in the graph. Separate from that, a unique identifier is also need for inference rules to distinguish the use in different steps.


Is the Physics Derivation Graph research?
No new research in math or physics is needed to validate these claims. This project documents the relations between derivations used to describe physical experiments.


Are there novel algorithms used in the Physics Derivation Graph?

There are no new algorithms. The Physics Derivation Graph is about documenting existing knowledge.


How does the Physics Derivation Graph handle non-algebraic arguments?

The Physics Derivation Graph does not include geometric arguments.
See Design Choices: not in scope

The Physics Derivation Graph is similar to a Schuam's outline, except it is intended to cover all known Physics and documents the relations between various governing expressions.


What is the Physics Derivation Graph not good at?

See Design Choices: not in scope


Does the Physics Derivation Graph require that all users agree on the same notation?

No. A Latex symbol used in a derivation can be used anywhere else in the Physics Derivation Graph because numeric IDs are used to track the concept.


Are derivations in the Physics Derivation Graph representations?
No. A step can be replaced by equivalent sequences of inference rules. Various permutations of equivalent steps may be more or less efficient (in terms of number of steps), and more or less abstract conceptually.


What is the role of automation in the Physics Derivation Graph?

There are no automatic mechanisms for generating new derivations. There is some automation used in detecting symbols in a step or derivation.


Don't Physics expressions share variables since they refer to the same reality?

Yes, a graph could be constructed that relies merely on variables that are common to expressions rather than derivations betweend expressions. Conceptually, the view would be

More specifically, the Physics Graph would look like

This graph would be easy to construct -- merely include all expressions from Physics and appropriately link variable definitions for each expression. This graph would be interesting but not provide as much insight as a derivation-based graph.


What are the objectives for the Physics Derivation Graph?

Derivations used in Physics are mathematical expressions linked by a finite set of inference rules.

The purpose of this project is to test the claim that a finite static graph exists which relates all expressions of mathematical physics. In this graph, nodes are expressions and edges are inference rules. Expressions are typically placed in a topic within Physics. Conceptually, this would look like

A second claim to be tested is that a finite number of unique inference rules are needed to express the relations between expressions.


Is there an alternative to the web interface for adding content?

There previously was a command-line prompt written in Python that facilitated content entry.

Investment in a command-line input tool was stopped and focus was shifted to an web-based input. Displaying Latex and viewing a graph of the content are not well-suited to the command line since those operations rely on opening a PDF or a PNG or a webpage. Therefore a webpage is used for both input and review.


Is the Physics Derivation Graph a good way to learn Physics?

No. The project is not intended to facilitate education -- it is not a replacement of textbooks which contain written explanations and pictures. There is not a plan or expectation that teachers would use the Physics Derivation Graph to convey knowledge to their students.

For tips on how to learn Physics,
(begin quote)

(end quote)
source: https://news.ycombinator.com/item?id=22691009


How could the Physics Derivation Graph be differentiated from the work of a crackpot?


The goal (documenting all known Physics) sounds crackpot-ish. The approach doesn't disallow crackpot statements -- checking derivation steps using a computer algebra system doens't prevent physically nonsensical conclusions.
The purpose of the Physics Derivation Graph is to document known knowledge. No new knowledge is expected.


How could the Physics Derivation Graph be used to identify the work of a crackpot?

If a crackpot is unable to quantiatively characterize their claims and make the assumptions explicit, then their work is less likely to be valid.


What is the output of the Physics Derivation Graph?

The output is typically a graph visualization or a PDF of the same content in a linear text format.


How can the Physics Derivation Graph be visualized?

The graph output can be visualized in a web browser, a static GraphViz output, and other formats.


How can the Physics Derivation Graph be checked?

A computer algebra system can be used to verify that each inference rule has been applied correctly to input and output expressions. Specifically, SymPy is used to validate applications of inference rule.


How is the content of the Physics Derivation Graph stored?

The expressions, symbols, and connections are stored Latex in a Neo4j database. This decision was based on a comparative analysis of other options, including MathML and Mathematica.


What subfields of Physics is this project capable of including?

Anything from Classical mechanics to Topological quantum field theory should be capable of being included.


What are the entry barriers to using the Physics Derivation Graph?


Can the Physics Derivation Graph be used to prove Physics?

No. "Proof" is not a well-defined term in Physics.
From a Stack Exchange answer,

"Mathematical proofs relate to exactly how a MODEL will behave. They don't have much to do with how the real world behaves. If the mathematics is carried out correctly, then one has 'proven' how the model will behave."

The motive for experimentation is to find out if the completely fictional MODEL that somebody simply made up, behaves in any way the same, as observations suggest the real world behaves. If it doesn't, that is not an indication of a mathematical error, it simply means the fictional model is not a good description of the real world, and must be changed.


Does this approach apply to other fields?

There is not clear application of the concepts used in the Physics Derivation Graph to other fields (ie chemistry, linguistics, economics, mathematics, etc).
The physics derivation graph can handle proving mathematical identities, e.g., Euler's equation, but that wasn't the intent.
The difference between a derivation and proving an identity is that when proving an identity, only one side of the equation is manipulated. For a derivation, both sides of the expression are involved.


How does the Physics Derivation Graph compare with other projects?

See the list of other projects.


How could my project leverage the Physics Derivation Graph?

Collaboration can take the form of using the code to calling the API. Contact us for other options.