Mħπ is a symbolic mathematics and physics computation engine grounded in the fundamental constants of nature. It rejects conventional numeric representations in favor of a pure symbolic system built from first principles, primarily the Planck length (P) and π.
The engine’s core postulate redefines mass as a derived dimension of Information Flow Rate ([M] = [Ω][T]⁻¹
). Mħπ serves as the validation framework for this theory, proving that this new foundation is dimensionally self-consistent and fully compatible with the established laws of General Relativity, Quantum Mechanics, and Electromagnetism.
Repository link
🧬 “Nature doesn’t calculate in decimals—it thinks in π and ħ.”
A Personal Exploration, Not an Academic Authority
I am not a physicist, mathematician, or cosmologist by training. My background is in software engineering, with over 25 years of experience building open source systems. This project is my attempt to answer a fundamental question: What if we remove all human-centric units and conventions from physics, and instead build everything from the ground up using only the universe’s most fundamental constants—like the Planck length and π?
Mħπ is my way of exploring what physics and mathematics might look like if we abandon familiar, human-made measurements (meters, kilograms, seconds) and instead express everything in terms of the smallest, most universal building blocks nature provides. I am using my engineering skills—and the help of advanced AI models—to rigorously test and develop this idea.
Most of the code is generated and checked by Google Gemini 2.5 Pro, with additional validation from Anthropic’s Claude and Amazon Q. While I strive for thoroughness and self-testing, I am not an expert in the relevant scientific fields. If you are a physicist, cosmologist, or mathematician, your feedback and collaboration would be invaluable.
This project is a work in progress and a learning journey. Mistakes will be made, but the goal is to create a system that challenges assumptions and invites new ways of thinking about the foundations of physics.
NOTE: This repository is not ready for use. Integration with LyX is underway, but this repository is still in a growth phase and figuring out its footings, architecture, etc. We are still working on building the core infrastructure and ensuring the math and physics are sound.
Mħπ represents a paradigm shift in symbolic mathematics—a system that thinks in terms of fundamental physical constants rather than human-convenient approximations. With its comprehensive calculus and advanced Clifford algebra capabilities, Mħπ enables direct symbolic manipulation of physical laws, quantum mechanical operators, and relativistic spacetime in their most natural form: as exact relationships between universal constants.
Mħπ is a system that proves the viability of a new physical basis where mass is not a fundamental dimension, but is instead derived from information and time ([Info][T]⁻¹). By demonstrating that this framework remains perfectly consistent with the core equations of General Relativity, Quantum Mechanics, and Cosmology, Mħπ serves as a powerful tool for exploring the deep connection between physics and information.
The recent calculus and Clifford algebra enhancements position Mħπ to tackle complex physics problems involving integration, differentiation, and non-commutative operator algebra while maintaining perfect symbolic precision—something no other system can achieve at this level of physical foundation.
Mħπ is fundamentally different from existing computational algebra systems like Mathematica or SymPy. It is built on a philosophy of zero numeric leakage and constructivist mathematics, where every expression is derived from universal constants.
Add
and Mul
are n-ary, simplifying associative transformations and canonical ordering. This allows for powerful and flexible expression manipulation, pattern matching, and rewrite rules.Because of its unique design, Mħπ enables analyses that are difficult or impossible in other systems:
Γ
), the Riemann curvature tensor (R^ρ_σμν
), and the Ricci tensor (R_μν
), as demonstrated by its ability to prove the Schwarzschild vacuum solution (R_μν = 0
).γ¹γ⁰ → -γ⁰γ¹
, γ⁰γ⁰ → 1
).x*ln(x)
symbolically using a generalized integration-by-parts engine, maintaining exact symbolic representation throughout.(iħγ^μ∂_μ + mc)(iħγ^μ∂_μ - mc)
), demonstrating a foundational capability in quantum field theory.p
as momentum, P
as pressure), with the dimensional analysis engine adapting accordingly.x̂
, p̂
, a
, a†
), commutators, anti-commutators, Dirac notation, and advanced Clifford algebra with Dirac gamma matrices (γμ) featuring canonical ordering and simplification.We are currently working on integrating Mħπ with the LyX editor, allowing users to call MPP functions for solving, verifying, and simplifying formulae directly within the editor. The goal is to provide a seamless experience for researchers and students who use LyX for writing scientific documents.
The work-in-progress repository for this integration can be found at: https://github.com/Digital-Defiance/Lyx-MPP
First, clone the repository to your local machine:
git clone https://github.com/Digital-Defiance/MPP.gitcd MPP
The project includes a comprehensive test suite covering the symbolic engine, dimensional analysis, and physics modules. To run all tests, use:
cargo test
Mħπ includes an interactive Read-Eval-Print Loop (REPL) for quick experiments. Run it with:
cargo run
We welcome contributions from researchers, developers, and enthusiasts. The project’s goals are ambitious, and there are many opportunities to get involved. See PROMPT.md
for the current development focus.
Apache 2.0 © 2025 Jessica Mulein
d6b6e01
: Refactored the core engine with a more descriptive operations API (run(Operation, ...)
), a more transparent rules system with verbosity controls, and coordinate-system-independent tensor calculations. Updated documentation and fixed a bug in CliffordAlgebraRule
.00e9e42
: Updated the README file.2fdcc18
: Updated the README file.cb87ed9
: Added initial tests for the external C FFI.73b039d
: Updated the PROMPT.md file.69e09eb
: Added initial C-compatible exports from the lib.rs
library.6bc2091
: Configured the build process to produce both the library (lib.rs
) and the REPL binary (main.rs
).403bb7f
: Updated documentation.88789d9
: Introduced the AdjointOfDerivativeRule
for quantum contexts, ensured “real” variables are treated as commutative scalars, and added checks to prevent duplicate rule names.877b1c1
: Implemented a general-purpose linear solver based on derivatives. Refactored the SimplificationRule
trait to be context-aware, added a safe DistributeNegativeRule
, and removed the buggy InvertFractionPowerRule
.d351873
: Rebranded the project from “MPP” to “Mħπ” (Mulein-Planck-Pi) and refined the scientific roadmap in PROMPT.md.46a9ae7
: Corrected the spacetime interval calculation to use full tensor contraction and replaced a numerical Lorentz invariance test with a more fundamental symbolic one. Updated project focus towards scientific correctness.154b800
: Updated documentation.3b53511
: Re-architected the symbolic engine to be a flexible, extensible rule-based system. Added documentation for the new engine and increased the stack size to handle deep recursion in complex physics formulae.de7f1dd
: Updated code review documentation.d6fde5a
: Implemented the full symbolic derivation of black hole surface gravity, added performance optimizations for metric inversion, and fixed coordinate variable names.6b4c583
: Added a new module to symbolically derive the Hawking temperature for a Schwarzschild black hole and implemented a generalized product rule for differentiation.1adb0bd
: Implemented the complete QED Lagrangian, derived the full Dirac equation and electromagnetic current, and corrected the dimensional consistency of the first Friedmann equation.51d2774
: Fixed the first Friedmann equation and added new tests.0bd118c
: Improved calculus engine and tests.86a76ce
: Improved simplification engine and documentation.ad7a9f8
: Improved simplification engine.3687bf1
: Updated the README and added the “MPP-For-Dummies.md” guide.0e95797
: Improved algorithms.b63377d
: Updated documentation.b28df69
: Updated PROMPT.md and README.md.5c70838
: Made improvements to the calculus engine.6af6cc5
: Added new tests.df66fcf
: Part 2 of implementing informational mass.1588cc9
: Part 1 of implementing informational mass.2afcbd3
: Updated README.md.9823499
: Removed comments from the code.c626239
: Updated MPP-Units.md
.44989ba
: Updated documentation.85b4da7
: Updated PROMPT.md.a0e7ee3
: Updated PROMPT.md.f2a6c35
: Updated PROMPT.md.f47b7ea
: Implemented a robust TeX parser handling operator precedence, associativity, and implicit multiplication, with enhanced error reporting.a249630
: Introduced foundational elements for gauge theory, including Connection
and CovariantDerivative
types.3d08c05
: Added support for Lie algebra.1e0a6ce
: Extended support for imaginary numbers.3a700e8
: Updated PROMPT.md.34ab9fa
: Implemented Euler’s formula (e^(i*θ) = cos(θ) + i*sin(θ)
) and related trigonometric simplifications.6511d8b
: Added more tests for imaginary numbers.8291332
: Fixed handling of imaginary numbers.c30a956
: Updated README.md.067193c
: Updated PROMPT.md.0941234
: Refactored Clifford algebra simplification logic and updated QFT tests to verify the derivation of the Klein-Gordon equation.e41f2f0
: Updated PROMPT.md.a1774fd
: Added support for symbolic manipulation of Dirac gamma matrices (Clifford algebra).f15a358
: Added a quantum field theory test.8522543
: Introduced quantum operators (Pauli matrices, etc.) and added tests for advanced physics concepts like Bekenstein-Hawking entropy.de95a06
: Implemented a comprehensive symbolic calculus engine with advanced integration and differentiation capabilities.7c18c74
: Added special case handling for integrating 1/x
to ln(x)
.ad5837e
: Improved dimensional analysis error messages with human-readable names.e6f391d
: Implemented canonical algebraic simplification by combining like terms and sorting expressions, enabling true axiomatic testing.d9a8677
: Refactored the dimensional analysis system to support rational exponents, enabling more precise physics calculations.24a87d7
: Updated README.md.d12265a
: Updated PROMPT.md.5ad2cf1
: Fundamentally refactored SymbolicExpr
into a proper Abstract Syntax Tree (AST) using Arc
for efficient sharing of sub-expressions, enabling n-ary operators and a more robust simplification engine.ee2b62b
: Expanded the dimension system to include Luminous Intensity, Information, and Angle, and added comprehensive support for SI and imperial units.0fcee95
: Added a cosmology module with support for cosmological constants, the Friedmann equations, and a proper Sqrt
operation.e00ebc3
: Updated documentation.3984dab
: Implemented a complete MPP-TeX language parser using the nom
library, with a formal grammar and proper error handling.0423bef
: Updated README.md.b1fe79e
: Created a CNAME file for custom domain mapping.ba3ffa8
: Initialized the Mulein-Planck-Pi (MPP) project as a symbolic mathematics system grounded in π and Planck units, with a TeX-like DSL, a simplification engine, and foundational support for quantum mechanics and QFT.