Main Page: Difference between revisions
No edit summary |
Published from the Principia Machina source |
||
| (25 intermediate revisions by 4 users not shown) | |||
| Line 21: | Line 21: | ||
Welcome to Ipsum Invarians, a platform built in four sections: | Welcome to Ipsum Invarians, a platform built in four sections: | ||
'''The Arena''' (Principia Machina): | '''The Arena''' (Principia Machina): Essentially, this venue functions as an evaluation framework for testing physical hypotheses using artificial intelligence. It provides an AI protocol and a public research registry. We call this framework ''[[the Principia Machina]].'' | ||
'''The Weapon''' (Hamilton's Principle): Our namesake reflects what is arguably the single most important formulation in physics: the Action Principle or even Hamilton's principle. In our gladiatorial arena, [[Hamilton's principle]] is the sharpest, most lethal weapon available. To give this underappreciated concept its due, Ipsum Invarians carries a dedicated field manual for Hamilton’s Principle and its attendant [[Noether's theorems|Noether's theorem]]. | '''The Weapon''' (Hamilton's Principle): Our namesake reflects what is arguably the single most important formulation in physics: the Action Principle or even Hamilton's principle. In our gladiatorial arena, [[Hamilton's principle]] is the sharpest, most lethal weapon available. To give this underappreciated concept its due, Ipsum Invarians carries a dedicated field manual for Hamilton’s Principle and its attendant [[Noether's theorems|Noether's theorem]]. | ||
'''The Gladiator''' (SVD): Continuing the metaphor, our local gladiator is Structured Vacuum Dynamics (SVD). SVD enters the arena with a specific postulate: that a single | '''The Gladiator''' (SVD): Continuing the metaphor, our local gladiator is Structured Vacuum Dynamics (SVD). SVD enters the arena with a specific postulate: that a single permutation of Maxwell’s 1861 paper, Hamilton’s Principle, and Noether's First Theorem is sufficient to populate all of physics. | ||
'''The Blueprint''' (Specifications): | '''The Blueprint''' (Specifications): [[The_Principia_Machina/Hub/General_reader|Complete specifications]] for the Principia Machina and its standard prompt setup are openly published to ensure transparency and replication. However, for security and reliability reasons, some internal testing functionality are only offered as pseudo code rather than providing the full testing paradigm. | ||
'''([[Introduction|Full article...]])''' | '''([[Introduction|Full article...]])''' | ||
| Line 33: | Line 33: | ||
</div> | </div> | ||
<!-- pma:begin lean --> | |||
<!-- Green Box --> | <!-- Green Box --> | ||
<div id="mp- | <div id="mp-lean-box" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff; color: #202122;"> | ||
<h2 id="mp- | <h2 id="mp-lean-h2" style="margin: 0; padding: 8px 10px; background-color: #cef2e0; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">The Current Program (Round 3): the move to Lean</h2> | ||
<div id="mp- | <div id="mp-lean" style="padding: 10px;"> | ||
<templatestyles src="Principia Machina/styles.css" /> | |||
[[The Principia Machina]] is being rewritten in '''Lean 4''', a language in which proofs are checked by machine: one source for the specification and its Calculator, theorems where version 1 had only tests, and a proof checker as the gate every change must pass. The move also inspired a restructuring of the development workflow. | |||
'' | '''Where it stands''' (14 October 2026): Phase 0 of seven, the development setup, is under way. Phase 0 ports nothing from version 1 beyond one small module used as its test subject; the port itself is the work of Phase 2, the Calculator. | ||
<div style="display: flex; flex-wrap: wrap; gap: 0 1em; align-items: flex-start;"> | |||
'' | <div style="flex: 1 1 220px; min-width: 0;"> | ||
* '''Done:''' Lean 4.35.0 pinned on every machine; a first library with three proved theorems, the Calculator and its tests; the proof and names gates; one task carried from one machine to another; publishing to this wiki under the Declarer's one-time code. | |||
'''([[ | * '''Open:''' the second development machine; steering a session from a phone or tablet. | ||
* '''Next:''' Test T1 has run: a Lean program runs on the wiki's own server outside a web request, so one Calculator still serves both sides. Tests T2 and T3 follow on the same server: the time one call takes, and what a hundred calls in one scheduled run cost. | |||
</div> | |||
<div class="pma-fig" style="flex: 0 1 356px; min-width: 0; margin: 0 auto; text-align: center;"> | |||
<graphviz> | |||
digraph phases { | |||
rankdir=TB; bgcolor="transparent"; nodesep=0.2; ranksep=0.18; size="5.6,9"; | |||
node [shape=box, style="rounded,filled", fontname="Helvetica", fontsize=10, color="#a2a9b1", fillcolor="#eaecf0", fontcolor="#202122", margin="0.12,0.06"]; | |||
edge [color="#54595d", fontname="Helvetica", fontsize=9, fontcolor="#202122", arrowsize=0.7]; | |||
node [width=3.6]; | |||
P0 [label="Phase 0 The development setup\nunder way: the current focus", fillcolor="#cedff2", color="#6a8fbf", penwidth=2.4]; | |||
P1 [label="Phase 1 Foundations\nunder way", fillcolor="#cedff2", color="#6a8fbf"]; | |||
P2 [label="Phase 2 The Calculator\nunder way", fillcolor="#cedff2", color="#6a8fbf"]; | |||
P3 [label="Phase 3 Custos\nnot started"]; | |||
P4 [label="Phase 4 The Research Client\nnot started"]; | |||
P5 [label="Phase 5 Other model families\nnot started"]; | |||
P6 [label="Phase 6 Lifecycle and cutover\nnot started"]; | |||
R [label="First release declared", shape=doubleoctagon, style=filled, fillcolor="#ffedad", color="#ac6600", width=2.2]; | |||
P0 -> P1 -> P2 -> P3 -> P4 -> P5 -> P6 -> R; | |||
} | |||
</graphviz> | |||
<div style="font-size: 0.88em; color: #54595d;">The seven phases, in order.</div> | |||
</div> | |||
</div> | |||
'''([[Principia Machina/Lean transition|Full article...]])''' · '''[[Principia Machina/Progress/Status|Status]]''' · [[Principia Machina/Lean transition#lt-plate-box|The two-doors riddle, in Lean]] · Version 1: [[Round 3|program of record]], [[The Principia Machina/Testing|testing]] | |||
</div> | </div> | ||
</div> | </div> | ||
<!-- pma:end lean --> | |||
<!-- Grey Box --> | <!-- Grey Box --> | ||
<div id="mp-history-box" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff;"> | <div id="mp-history-box" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff;"> | ||
| Line 52: | Line 78: | ||
<div id="mp-history" style="padding: 10px;"> | <div id="mp-history" style="padding: 10px;"> | ||
We started with a simple permutation of Maxwell's 1861 framework that yielded a promising interpretation of General Relativity. We applied a second permutation; analyzed it with tabletop testing and back-of-the-envelope calculations and found we could derive both the eigenstates of hydrogen and chromodynamics. These two disparate domains (GR & QM) long advertised as incompatible, seem to be perfectly harmonious derivations from Maxwell's 1861 work. The result suggests a viable postulate: if we constrain ourselves with Hamilton’s Principle and Noether’s First Theorem, can we build all of physics from a single assumption? From two assumptions? | We started with a simple permutation of Maxwell's 1861 framework that yielded a promising interpretation of General Relativity. We applied a second permutation; analyzed it with tabletop testing and back-of-the-envelope calculations, and found we could derive both the eigenstates of hydrogen and chromodynamics. These two disparate domains (GR & QM) long advertised as incompatible, seem to be perfectly harmonious derivations from Maxwell's 1861 work. The result suggests a viable postulate: if we constrain ourselves with Hamilton’s Principle and Noether’s First Theorem, can we build all of physics from a single assumption? From two assumptions? | ||
[[File:Modified vorticie.jpg|thumb|center|upright=1.5|A simple permutation of Maxwell's 1861 framework.]] | [[File:Modified vorticie.jpg|thumb|center|upright=1.5|A simple permutation of Maxwell's 1861 framework.]] | ||
| Line 65: | Line 91: | ||
* '''Round 2''' – The Research Register (RR-n) | * '''Round 2''' – The Research Register (RR-n) | ||
The Lesson from round 1 - physics is a much bigger domain than a single paper. We did start to understand the context limits of the most reasonably available AI offerings and the constraints it left us with. We broke the design into a back-end research register | The Lesson from round 1 - physics is a much bigger domain than a single paper. We did start to understand the context limits of the most reasonably available AI offerings and the constraints it left us with. We broke the design into two parts: a back-end research register and a front-end that could generate papers from the research register. Soon we ran into problems mapping the axioms to the environment. | ||
* '''Round 3 opening''' – The Principia Machina (TPM) | * '''Round 3 opening''' – The Principia Machina (TPM) | ||
The Lesson from round 2 - Local AI context was never going to be enough. We realized we could kill three birds with one stone if we moved the research context to a Wiki: | The Lesson from round 2 - Local AI context was never going to be enough for any serious work. We realized we could kill three birds with one stone if we moved the research context to a Wiki: | ||
#The context would be effectively unlimited | |||
#A public, formalized, framework would foster independent verification | |||
#it would give a great public record to invite collaboration and outside ideas | |||
Thus '''[[the Principia Machina]]:''' an AI Harness inspired physics solver/research platform and test bed implemented in MediaWiki. | Thus '''[[the Principia Machina]]:''' an AI Harness inspired physics solver/research platform and test bed implemented in MediaWiki. | ||
| Line 97: | Line 123: | ||
# '''The foundations record.''' A dated account of every design decision, the options rejected, and the reasons. It is the source TPS was written from. It describes; it never instructs. | # '''The foundations record.''' A dated account of every design decision, the options rejected, and the reasons. It is the source TPS was written from. It describes; it never instructs. | ||
# '''The specification.''' This document. It defines the five layers of the framework, the sealed container a piece of research lives in, the wiki machinery that records the work, and the Agent Contract: the rules any AI agent follows to work a container. It is versioned, and its fingerprint is the first line of the wiki's chain of declarations. | # '''The specification.''' This document. It defines the five layers of the framework, the sealed container a piece of research lives in, the wiki machinery that records the work, and the Agent Contract: the rules any AI agent follows to work a container. It is versioned, and its fingerprint is the first line of the wiki's chain of declarations. | ||
# '''The implementations.''' What runs the rules. On the server, TPX, a MediaWiki extension that performs every check a machine can perform. Beside the agent, PRB, the client an agent uses to hold its working copy and land results. And each agent's own instruction set, implementing the Agent Contract. The project's own instruction set | # '''The implementations.''' What runs the rules. On the server, TPX, a MediaWiki extension that performs every check a machine can perform. Beside the agent, PRB, the client an agent uses to hold its working copy and land results. And each agent's own instruction set, implementing the Agent Contract. The project's own instruction set is written for Claude and is one implementation among any number. | ||
# '''The wiki.''' Where all of the above is published and read, and the system of record for everything TPM does. | # '''The wiki.''' Where all of the above is published and read, and the system of record for everything TPM does. | ||
# '''The containers.''' The research itself: a sealed set of laws and assumptions, and the register of findings built on it. | # '''The containers.''' The research itself: a sealed set of laws and assumptions, and the register of findings built on it. | ||
| Line 113: | Line 139: | ||
<h2 id="mp-hamilton-h2" style="margin: 0; padding: 8px 10px; background-color: #cedff2; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">Hamilton's Principle</h2> | <h2 id="mp-hamilton-h2" style="margin: 0; padding: 8px 10px; background-color: #cedff2; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">Hamilton's Principle</h2> | ||
<div id="mp-hamilton" style="padding: 10px;"> | <div id="mp-hamilton" style="padding: 10px;"> | ||
Newton's laws, Maxwell's equations, general relativity and the Standard Model are each formulated as an action via Hamilton's Principle. | Newton's laws, Maxwell's equations, general relativity and the Standard Model are each formulated as an action via Hamilton's Principle. Across all these domains, dynamical equations emerge as derived outcomes rather than fundamental starting axioms. Conservation of energy, momentum and charge are not separate laws at all — [[Hamilton's principle/Mathematics/Noether's first theorem|Noether proved]] they follow from the action's symmetries. New models are now built by writing the action constrained by symmetry and letting the dynamics follow. This is how electromagnetism and gravity were derived and how the nuclear forces were found. Alone among classical concepts, '''Hamilton's Principle''' transitions smoothly into quantum mechanics, where the action represents a phase carried across distinct trajectories and the classical path marks where destructive interference is minimized. The action is the deepest thing physics knows. | ||
of energy, momentum and charge are not separate laws at all — [[Hamilton's principle/Mathematics/Noether's first theorem|Noether proved]] they follow from the action's symmetries. New models are now built by writing the action | |||
| Line 140: | Line 165: | ||
'''There are two theorems in the paper, and they are not versions of one another.''' | '''There are two theorems in the paper, and they are not versions of one another.''' | ||
The | The initial theorem relates global, finite-parameter symmetries directly to corresponding physical conservation laws governing actual dynamics. The second takes a symmetry that is allowed to differ from place to place and returns identities between the | ||
that is allowed to differ from place to place and returns identities between the | |||
field equations — identities that hold whether or not those equations are | field equations — identities that hold whether or not those equations are | ||
satisfied. The second theorem is why a gauge theory has fewer independent field | satisfied. The second theorem is why a gauge theory has fewer independent field | ||
| Line 187: | Line 210: | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Blue Box --> | |||
<div id="mp-toolkit-box" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff;"> | |||
<h2 id="mp-toolkit-h2" style="margin: 0; padding: 8px 10px; background-color: #cedff2; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">Research Toolkit</h2> | |||
<div id="mp-toolkit" style="padding: 10px;"> | |||
<div style="text-align: center;"> | |||
<graphviz> | |||
digraph mp_toolkit { | |||
rankdir=TB; bgcolor="transparent"; nodesep=0.2; ranksep=0.3; | |||
node [shape=box, style="rounded,filled", fillcolor="#eaf3ff", color="#6a8fbf", fontname="Helvetica", fontsize=10]; | |||
edge [color="#6a8fbf", arrowsize=0.6]; | |||
M [label="The manual\nstart here", fillcolor="#ffffff"]; | |||
F [label="Agent flow\ncontrol\n39 practices"]; | |||
R [label="Research\nmethods\n59 techniques"]; | |||
T [label="Research\ntools\n22 + 55 tools"]; | |||
B [label="Bibliography\n284 sources", shape=note, style=filled, fillcolor="#ffffff"]; | |||
M -> F; M -> R; M -> T; F -> B; R -> B; T -> B; | |||
} | |||
</graphviz> | |||
</div> | |||
Everything an AI agent, or a person, needs to do research on this wiki, in one place. '''An AI arriving here starts with [[The Principia Machina/Research Toolkit/Manual|the manual]].''' The toolkit has three parts: | |||
* '''[[The Principia Machina/Research Toolkit/Agent flow control|Agent flow control]]''' – how an agent plans, checks, retries, escalates and stays safe: thirty-nine practices with their evidence. | |||
* '''[[The Principia Machina/Research Toolkit/Research methods|Research methods]]''' – how to solve an abstract problem, check the answer and report it: fifty-nine techniques and the process from question to compared result. | |||
* '''[[The Principia Machina/Research Toolkit/Research tools|Research tools]]''' – the programs and services, assessed: the twenty-two [[The Principia Machina/Tools|physics tools]] and fifty-five general tools. | |||
With [[The Principia Machina/Research Toolkit/Bibliography|the bibliography]] (284 sources, each with a note of how it was checked) and [[The Principia Machina/Agent/Research toolkit|a card for AI agents]]. | |||
'''([[The Principia Machina/Research Toolkit|The full toolkit...]])''' | |||
</div> | |||
</div> | |||
<!-- pma:begin lean-edition --> | |||
<!-- Blue Box --> | |||
<div id="mp-lean-edition-box" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff;"> | |||
<h2 id="mp-lean-edition-h2" style="margin: 0; padding: 8px 10px; background-color: #cedff2; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">Lean theorem prover</h2> | |||
<div id="mp-lean-edition" style="padding: 10px;"> | |||
'''Lean''' is a proof assistant and a programming language. A person writes definitions, statements and proofs in Lean's formal language, and Lean checks each proof against the rules of its logic before it accepts the statement as a theorem. A small part of the program, the Lean kernel, makes that check; everything else only proposes. | |||
A 71-page reading edition: what Lean checks and how, the type theory behind it, how the program works, where it came from and what it is used for, written for a reader with no logic or programming and for one who wants the rules, with a plain-language counterpart for every technical page. | |||
* [[Lean theorem prover/Explainers/What a proof assistant does|What a proof assistant does]] — plain language, the place to start | |||
* [[Lean theorem prover/Foundations/Terms, types and judgments|Terms, types and judgments]] — the rules Lean checks against | |||
* [[Lean theorem prover/Explainers/What has to be trusted|What has to be trusted]] — what a checked proof still rests on | |||
'''([[Lean theorem prover|Full article...]])''' | |||
</div> | |||
</div> | |||
<!-- pma:end lean-edition --> | |||
</div> | </div> | ||
</div> | </div> | ||
| Line 193: | Line 263: | ||
<div id="mp-lower" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff;"> | <div id="mp-lower" style="border: 1px solid #a2a9b1; margin-bottom: 15px; background: #ffffff;"> | ||
<h2 id="mp-plate-h2" style="margin: 0; padding: 8px 10px; background-color: #ffedad; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">Featured plate</h2> | <h2 id="mp-plate-h2" style="margin: 0; padding: 8px 10px; background-color: #ffedad; border-bottom: 1px solid #a2a9b1; font-size: 1.2em; font-weight: bold;">Featured plate</h2> | ||
<div id="mp-plate" style="padding: 10px; text-align: left; display: flex; flex-wrap: wrap; flex-direction: row-reverse; gap: 1em; align-items: flex-start;"> | |||
{| class="infobox" style="width: | <div id="mp-plate-box" style="flex: 0 1 300px; max-width: 100%; margin: 0 auto;"> | ||
{| class="infobox" style="width: 100%; box-sizing: border-box; margin: 0; font-size: 90%; background: #f9f9f9; border: 1px solid #aaa; padding: 5px;" | |||
|+ style="font-size: 120%; font-weight: bold; padding-bottom: 5px;" | Analytical Foundations of Physics | |+ style="font-size: 120%; font-weight: bold; padding-bottom: 5px;" | Analytical Foundations of Physics | ||
|- | |- | ||
| Line 214: | Line 285: | ||
! colspan="2" style="background: #ccf; text-align: center;" | Key Equations | ! colspan="2" style="background: #ccf; text-align: center;" | Key Equations | ||
|- | |- | ||
| colspan="2" style="text-align: center; padding: 5px;" | | | colspan="2" style="text-align: center; padding: 5px;" | | ||
<math>S = \int L \, dt</math><br/> | <math>S = \int L \, dt</math><br/> | ||
<math>G_{\mu\nu} + \Lambda g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu}</math> | <math>G_{\mu\nu} + \Lambda g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu}</math> | ||
|} | |} | ||
</div> | |||
<div id="mp-plate-text" style="flex: 1 1 320px; min-width: 0;"> | |||
== [[Timeline of Physics]] == | == [[Timeline of Physics]] == | ||
The narrative of 18th- to 20th-century physics lies in a profound mathematical restructuring. This era marked the transition from treating nature as a collection of forces acting on point masses to understanding it through continuous fields, spacetime manifolds, and unified variational principles. | The narrative of 18th- to 20th-century physics lies in a profound mathematical restructuring. This era marked the transition from treating nature as a collection of forces acting on point masses to understanding it through continuous fields, spacetime manifolds, and unified variational principles. | ||
| Line 226: | Line 299: | ||
This analytical approach seamlessly extended beyond mechanical gears and pulleys into the continuum. It provided the structural mathematics required to unify electricity and magnetism into a single vacuum field theory, and later, to model gravity not as a pulling force, but as the dynamic geometric curvature of spacetime itself. Whether applied to subatomic particle behavior or cosmic expansion, these foundational principles continue to govern the leading edge of modern physics. | This analytical approach seamlessly extended beyond mechanical gears and pulleys into the continuum. It provided the structural mathematics required to unify electricity and magnetism into a single vacuum field theory, and later, to model gravity not as a pulling force, but as the dynamic geometric curvature of spacetime itself. Whether applied to subatomic particle behavior or cosmic expansion, these foundational principles continue to govern the leading edge of modern physics. | ||
== [[The Principia Machina/Tools|Physics Tools]] == | |||
Theoretical rigor must be paired with high-performance computational machinery. Twenty-two open tools are now surveyed for [[the Principia Machina]]; the first twelve cover three analytical frontiers: | |||
* '''The Inverse Action Problem:''' Discovering analytical scalar Lagrangians <math>\mathcal{L}(\phi, \partial_\mu \phi)</math> and continuous Noether symmetries directly from perturbation data using [[The_Principia_Machina/Tools/PySR|PySR]] and [[The_Principia_Machina/Tools/AIFeynman|AI Feynman]]. | |||
* '''Variational & Mesh-Free Solvers:''' Minimizing continuous action integrals across complex geometries via Physics-Informed Neural Networks ([[The_Principia_Machina/Tools/DeepXDE|DeepXDE]]) and symbolic finite-element/difference stencils ([[The_Principia_Machina/Tools/FEniCS|FEniCS]] & [[The_Principia_Machina/Tools/Devito|Devito]]). | |||
* '''Spacetime & Tensor Algebra:''' Evaluating functional variational derivatives in [[The_Principia_Machina/Tools/Cadabra2|Cadabra2]], 3+1 ADM spacetime evolution in the [[The_Principia_Machina/Tools/EinsteinToolkit|Einstein Toolkit]], and open quantum dynamics in [[The_Principia_Machina/Tools/QuTiP|QuTiP]]. | |||
Ten more were added on 2026-10-06: SymPy, SageMath, xAct, Lean with Mathlib and Physlib, FORM, FeynCalc, Lagrangian and Hamiltonian networks, PySINDy, Dedalus and SpECTRE ([[The Principia Machina/Tools#The additions of 2026-10-06|the additions]]). All twenty-two are in [[The Principia Machina/Research Toolkit/Research tools|the Research Toolkit's third part]], beside fifty-five general tools. | |||
Read it your way: '''[[The Principia Machina/Tools/General reader|in plain language]]''' · '''[[The Principia Machina/Tools/Operator's guide|the operator's guide]]''' · '''[[The Principia Machina/Agent/Tools|for AI agents]]''' | |||
'''([[The Principia Machina/Tools|Full survey and domain evaluation...]])''' | |||
</div> | |||
</div> | |||
</div> | </div> | ||
Latest revision as of 19:35, 15 October 2026
Introduction
Please be patient as we pull this site together. Check back often for the latest developments.
Welcome to Ipsum Invarians, a platform built in four sections:
The Arena (Principia Machina): Essentially, this venue functions as an evaluation framework for testing physical hypotheses using artificial intelligence. It provides an AI protocol and a public research registry. We call this framework the Principia Machina.
The Weapon (Hamilton's Principle): Our namesake reflects what is arguably the single most important formulation in physics: the Action Principle or even Hamilton's principle. In our gladiatorial arena, Hamilton's principle is the sharpest, most lethal weapon available. To give this underappreciated concept its due, Ipsum Invarians carries a dedicated field manual for Hamilton’s Principle and its attendant Noether's theorem.
The Gladiator (SVD): Continuing the metaphor, our local gladiator is Structured Vacuum Dynamics (SVD). SVD enters the arena with a specific postulate: that a single permutation of Maxwell’s 1861 paper, Hamilton’s Principle, and Noether's First Theorem is sufficient to populate all of physics.
The Blueprint (Specifications): Complete specifications for the Principia Machina and its standard prompt setup are openly published to ensure transparency and replication. However, for security and reliability reasons, some internal testing functionality are only offered as pseudo code rather than providing the full testing paradigm.
The Current Program (Round 3): the move to Lean
The Principia Machina is being rewritten in Lean 4, a language in which proofs are checked by machine: one source for the specification and its Calculator, theorems where version 1 had only tests, and a proof checker as the gate every change must pass. The move also inspired a restructuring of the development workflow.
Where it stands (14 October 2026): Phase 0 of seven, the development setup, is under way. Phase 0 ports nothing from version 1 beyond one small module used as its test subject; the port itself is the work of Phase 2, the Calculator.
- Done: Lean 4.35.0 pinned on every machine; a first library with three proved theorems, the Calculator and its tests; the proof and names gates; one task carried from one machine to another; publishing to this wiki under the Declarer's one-time code.
- Open: the second development machine; steering a session from a phone or tablet.
- Next: Test T1 has run: a Lean program runs on the wiki's own server outside a web request, so one Calculator still serves both sides. Tests T2 and T3 follow on the same server: the time one call takes, and what a hundred calls in one scheduled run cost.

(Full article...) · Status · The two-doors riddle, in Lean · Version 1: program of record, testing
Program History
We started with a simple permutation of Maxwell's 1861 framework that yielded a promising interpretation of General Relativity. We applied a second permutation; analyzed it with tabletop testing and back-of-the-envelope calculations, and found we could derive both the eigenstates of hydrogen and chromodynamics. These two disparate domains (GR & QM) long advertised as incompatible, seem to be perfectly harmonious derivations from Maxwell's 1861 work. The result suggests a viable postulate: if we constrain ourselves with Hamilton’s Principle and Noether’s First Theorem, can we build all of physics from a single assumption? From two assumptions?

The idea is daunting, but maybe AI can help.
- Round 1 – Technical paper: Structured Vacuum Dynamics
This was more of a proof of concept: would AI confirm the math or maybe find new paradigms to fit the otherwise disparate math together? We started with a simple technical paper around the postulate and a strict set of AI controls and restrictions. We designed a rigerous prompt that pitted the AI Agent against itself, doing more work to double and triple check its results than the original work to get the results, but this effort quickly overwhelmed the local AI context.
- Round 2 – The Research Register (RR-n)
The Lesson from round 1 - physics is a much bigger domain than a single paper. We did start to understand the context limits of the most reasonably available AI offerings and the constraints it left us with. We broke the design into two parts: a back-end research register and a front-end that could generate papers from the research register. Soon we ran into problems mapping the axioms to the environment.
- Round 3 opening – The Principia Machina (TPM)
The Lesson from round 2 - Local AI context was never going to be enough for any serious work. We realized we could kill three birds with one stone if we moved the research context to a Wiki:
- The context would be effectively unlimited
- A public, formalized, framework would foster independent verification
- it would give a great public record to invite collaboration and outside ideas
Thus the Principia Machina: an AI Harness inspired physics solver/research platform and test bed implemented in MediaWiki.
The Principia Machina Specification (TPS)
The Principia Machina Specification (TPS) is the complete, published description of The Principia Machina (TPM), a set of rules for doing research with AI assistants so that the result can be checked afterwards by anyone. TPS is written for two readers at once: a person who wants to understand how the framework works, and an AI agent of any make that wants to work under it. It is one of five parts, and it is the part that binds the other four.
- The foundations record. A dated account of every design decision, the options rejected, and the reasons. It is the source TPS was written from. It describes; it never instructs.
- The specification. This document. It defines the five layers of the framework, the sealed container a piece of research lives in, the wiki machinery that records the work, and the Agent Contract: the rules any AI agent follows to work a container. It is versioned, and its fingerprint is the first line of the wiki's chain of declarations.
- The implementations. What runs the rules. On the server, TPX, a MediaWiki extension that performs every check a machine can perform. Beside the agent, PRB, the client an agent uses to hold its working copy and land results. And each agent's own instruction set, implementing the Agent Contract. The project's own instruction set is written for Claude and is one implementation among any number.
- The wiki. Where all of the above is published and read, and the system of record for everything TPM does.
- The containers. The research itself: a sealed set of laws and assumptions, and the register of findings built on it.
Hamilton's Principle
Newton's laws, Maxwell's equations, general relativity and the Standard Model are each formulated as an action via Hamilton's Principle. Across all these domains, dynamical equations emerge as derived outcomes rather than fundamental starting axioms. Conservation of energy, momentum and charge are not separate laws at all — Noether proved they follow from the action's symmetries. New models are now built by writing the action constrained by symmetry and letting the dynamics follow. This is how electromagnetism and gravity were derived and how the nuclear forces were found. Alone among classical concepts, Hamilton's Principle transitions smoothly into quantum mechanics, where the action represents a phase carried across distinct trajectories and the classical path marks where destructive interference is minimized. The action is the deepest thing physics knows.

- Stationary is not least — the long way round a great circle obeys the same rule at every point, and is plainly not the shortest. See the diagram.
- Why the rule holds at all — nature selects nothing. It sums over everything, and what looks like a choice is the residue left by interference.
- Start without the mathematics — every page carrying equations has a plain-language counterpart, linked from it and linking back.
Noether's theorems

Klein read the paper to the Göttingen Scientific Society on 26 July 1918. Its last section answers a claim of Hilbert's: that energy conservation in general relativity fails to take the form it takes everywhere else in physics. There are two theorems in the paper, and they are not versions of one another.
The initial theorem relates global, finite-parameter symmetries directly to corresponding physical conservation laws governing actual dynamics. The second takes a symmetry that is allowed to differ from place to place and returns identities between the field equations — identities that hold whether or not those equations are satisfied. The second theorem is why a gauge theory has fewer independent field equations than it has fields, and why gravity has no local energy.
A 90-page reading edition: both theorems proved in full and kept apart, the mathematics they need, the physics they explain, and a plain-language counterpart for every page that carries equations.
- Göttingen and the energy problem — the question the paper was written to settle
- The primer — plain language, no mathematics
- The two theorems side by side — the distinction most accounts lose
The Work of James Clerk Maxwell
On Physical Lines of Force
In four instalments between March 1861 and February 1862, James Clerk Maxwell
filled space with spinning cells and little rolling particles, to explain the mechanics behind magnetic fields. His machine was wrong. On the way to building it,
he wrote down the displacement current, derived the speed of light from two
electrical measurements that had nothing to do with optics, and founded field
theory.
A 65-page reading edition: Maxwell's argument in his own order and register, the modern equations derived from his results, and a plain-language explainer for every major idea.
- Introduction — the story, and why the paper matters
- The primer — plain language, no mathematics
- The missing term — the one addition that made radio possible
Research Toolkit

Everything an AI agent, or a person, needs to do research on this wiki, in one place. An AI arriving here starts with the manual. The toolkit has three parts:
- Agent flow control – how an agent plans, checks, retries, escalates and stays safe: thirty-nine practices with their evidence.
- Research methods – how to solve an abstract problem, check the answer and report it: fifty-nine techniques and the process from question to compared result.
- Research tools – the programs and services, assessed: the twenty-two physics tools and fifty-five general tools.
With the bibliography (284 sources, each with a note of how it was checked) and a card for AI agents.
Lean theorem prover
Lean is a proof assistant and a programming language. A person writes definitions, statements and proofs in Lean's formal language, and Lean checks each proof against the rules of its logic before it accepts the statement as a theorem. A small part of the program, the Lean kernel, makes that check; everything else only proposes.
A 71-page reading edition: what Lean checks and how, the type theory behind it, how the program works, where it came from and what it is used for, written for a reader with no logic or programming and for one who wants the rules, with a plain-language counterpart for every technical page.
- What a proof assistant does — plain language, the place to start
- Terms, types and judgments — the rules Lean checks against
- What has to be trusted — what a checked proof still rests on
Featured plate
| The shift from Newtonian vectors to scalar fields and variational principles defined modern theoretical physics. | |
| Core Frameworks | |
|---|---|
| Classical Mechanics | Lagrangian mechanics |
| Dynamical Optimization | Principle of least action |
| Electromagnetism | Maxwell's equations |
| Vacuum Dynamics | Spacetime topology |
| Key Equations | |
|
| |
The narrative of 18th- to 20th-century physics lies in a profound mathematical restructuring. This era marked the transition from treating nature as a collection of forces acting on point masses to understanding it through continuous fields, spacetime manifolds, and unified variational principles.
The foundation was laid when physical systems began to be analyzed not through Newtonian vectors, but through scalar quantities—kinetic and potential energy—operating within generalized coordinates. By positing that the true dynamical trajectory of any system is the one that leaves the action integral stationary, theorists established a universal mathematical language.
This analytical approach seamlessly extended beyond mechanical gears and pulleys into the continuum. It provided the structural mathematics required to unify electricity and magnetism into a single vacuum field theory, and later, to model gravity not as a pulling force, but as the dynamic geometric curvature of spacetime itself. Whether applied to subatomic particle behavior or cosmic expansion, these foundational principles continue to govern the leading edge of modern physics.
Theoretical rigor must be paired with high-performance computational machinery. Twenty-two open tools are now surveyed for the Principia Machina; the first twelve cover three analytical frontiers:
- The Inverse Action Problem: Discovering analytical scalar Lagrangians and continuous Noether symmetries directly from perturbation data using PySR and AI Feynman.
- Variational & Mesh-Free Solvers: Minimizing continuous action integrals across complex geometries via Physics-Informed Neural Networks (DeepXDE) and symbolic finite-element/difference stencils (FEniCS & Devito).
- Spacetime & Tensor Algebra: Evaluating functional variational derivatives in Cadabra2, 3+1 ADM spacetime evolution in the Einstein Toolkit, and open quantum dynamics in QuTiP.
Ten more were added on 2026-10-06: SymPy, SageMath, xAct, Lean with Mathlib and Physlib, FORM, FeynCalc, Lagrangian and Hamiltonian networks, PySINDy, Dedalus and SpECTRE (the additions). All twenty-two are in the Research Toolkit's third part, beside fifty-five general tools.
Read it your way: in plain language · the operator's guide · for AI agents
Other areas of Ipsum Invarians
- All pages – ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
- Recent changes – nisi ut aliquip ex ea commodo consequat duis aute irure.
- Categories – dolor in reprehenderit in voluptate velit esse cillum dolore.
- Special pages – eu fugiat nulla pariatur excepteur sint occaecat cupidatat.
- Sandbox – non proident, sunt in culpa qui officia deserunt mollit anim.
- Upload – id est laborum sed ut perspiciatis unde omnis iste natus error.
Ipsum Invarians languages
Totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
Language editions are not yet configured. Set them up with interwiki links or Extension:Translate.