Neural PDEs & PINNs
The phaethon.pinns module provides deep integration with PyTorch, equipping artificial neural networks with absolute dimensional safety.
By bridging data-driven deep learning with fundamental physical laws, Phaethon introduces physics-aware autograd tensors, native calculus engines for Partial Differential Equations (PDEs), and advanced dimensional synthesis for operator learning.
Dependency Note
The PINNs module strictly requires the PyTorch backend. Install via: pip install 'phaethon[torch]'
PINNs Architecture
-
The
PTensorclass. PyTorch tensors that dynamically track physical DNA and safely assemble heterogeneous data for neural ingestion. -
Native autograd engines (
grad,laplace,div,curl) that automatically synthesize physical units during differentiation. -
Spectral layers (1D Convolutions) and Buckingham Pi SVD projections for discovering dimensionless groups on-the-fly.
-
Strictly enforced PDE residuals and Axiom tribunals that penalize networks for mathematically valid but physically impossible predictions.