PML Research LabPaper · v0.3

Main research document · PML v0.3

Toward a Unified Physical-Mathematical Language for Computational Dynamics: An E–T–I–G Framework and Its Experimental Application to Boolean Satisfiability

Author / independent researcher: Prabhat Kumar Manna
Organization: SmokyCoders Research · PML Research Initiative
Status: Experimental / under development · Not peer-reviewed · Not a claim that P = NP or P ≠ NP

Abstract

Physical Mathematical Language (PML) is a proposed experimental framework for describing computational search using four coupled ingredients—Energy (E), Time (T), Information (I) and Geometry (G)—collectively called E–T–I–G. The motivation is pragmatic: Boolean satisfiability (SAT), especially 3-SAT, remains a central NP-complete problem whose practical solvers mix combinatorial search with heuristics. Statistical mechanics, information geometry and Hamiltonian mechanics already supply mature mathematical tools for energy landscapes, entropy, Fisher metrics and dynamical systems. PML asks whether a single declarative language and shared numerical engine can (i) make those tools composable for SAT-like objectives and (ii) expose failure modes that pure heuristic narratives often hide.

Mathematically, we work with configuration space \(X=\{0,1\}^n\), distributions \(p\) on \(X\) (or factorized approximations), Hamming and Fisher geometries, clause-count energy \(H\), free energy \(F[p]=\langle H\rangle-\tau S(p)\), and evolution operators \(\Phi\). The initial application is a browser-side SAT-3 laboratory with independent Boolean verification of candidate assignments. Current limitations are severe: factorization ignores correlations; continuous dynamics need decoding; historical runtimes in earlier notes remain historical report / reproduction pending. We do not claim a complexity-theoretic resolution of P versus NP.

1. Introduction

1.1 Computational complexity and SAT

Computational complexity classifies decision problems by resource growth. The class \(\mathbf{P}\) contains problems decidable in deterministic polynomial time; \(\mathbf{NP}\) contains problems with polynomial-time verifiable certificates [1,2]. Boolean satisfiability asks whether a propositional formula has a satisfying assignment. Cook–Levin showed SAT is NP-complete; Karp reduced many combinatorial problems to it [3,4]. 3-SAT restricts clauses to three literals and remains NP-complete.

1.2 Heuristic solvers and physical metaphors

Industrial SAT solvers (CDCL, VSIDS, clause learning) are extraordinarily effective yet do not constitute a worst-case polynomial algorithm. Energy-based metaphors—Ising encodings, simulated annealing, message passing—have a long history [5,6]. Information geometry supplies natural gradients on statistical manifolds [7,8]. These are established tools; PML’s novelty, if any, is packaging and experimental discipline—not a claim that classical mathematics cannot describe SAT.

1.3 Why a unified language?

Research software often buries geometry, entropy and energy in ad hoc hyperparameters. A declarative PML block forces explicit choices (metric, temperature schedule, dynamics type, verification policy). That is a research-engineering hypothesis about clarity and reproducibility, not a theorem about complexity.

2. Existing mathematical foundations

For each concept: formal definition (abbreviated), established use, SAT relevance, what PML reuses, what remains unproven.

2.1 Boolean algebra and CNF

Literals, clauses and CNF formulas are standard. PML reuses CNF as the ground-truth verification language. New? Nothing—verification is classical Boolean evaluation.

2.2 Graph theory and the Boolean hypercube

\(X=\{0,1\}^n\) with Hamming edges is the \(n\)-cube. Local search walks this graph. PML reuses Hamming neighborhoods for discrete baselines.

2.3 Shannon information

\[ S(p)=-\sum_x p(x)\ln p(x) \]

Entropy measures uncertainty of \(p\) [9]. High entropy ≠ useful diversity under correlation. PML uses \(S\) inside free energy; interpretation caveats are first-class failure modes (Failure F).

2.4 Information geometry and Fisher metric

\[ g_{ij}(\theta)=\mathbb{E}_{p_\theta}\!\left[\partial_i\log p_\theta\,\partial_j\log p_\theta\right] \]

On regular statistical models, \(g\) is a Riemannian metric; natural gradient \(\dot\theta=-\eta G^{-1}\nabla F\) is parameterization-invariant under invertibility [7,8]. Singularities at boundaries require regularization—PML does not assume \(G\) is always invertible.

2.5 Statistical mechanics and free energy

\[ F[p]=\langle H\rangle-\tau S(p),\qquad p_\tau(x)=\frac{e^{-H(x)/\tau}}{Z(\tau)},\quad Z(\tau)=\sum_x e^{-H(x)/\tau} \]

Gibbs measures minimize \(F\) among distributions at fixed \(\tau\) [5,10]. Here \(\tau\) is an algorithmic temperature, not necessarily physical temperature. Derivation via Lagrange multipliers for \(\sum p=1\) is classical (see §4.4).

2.6 Lagrangian / Hamiltonian mechanics

Kinetic-plus-potential Lagrangians and Euler–Lagrange equations are classical mechanics [11]. PML’s proposed \(L=\tfrac12\dot\theta^\top G(\theta)\dot\theta-F(\theta)\) is a research hypothesis about useful SAT dynamics— energy identities require stated assumptions (positive-definite \(G\), damping, etc.).

2.7 Optimization theory

Gradient, natural gradient and momentum methods are standard numerical optimization [8,12]. Global convergence to a satisfying assignment is not established.

3. Physical Mathematical Language (PML)

PML is a domain-specific declarative language for E–T–I–G experiments. Illustrative syntax (see also language specification):

SYSTEM SAT3 {
  SPACE:     X IN BOOLEAN_HYPERCUBE(n)
  GEOMETRY:  DISTANCE = HAMMING | FISHER
  INFORMATION: DISTRIBUTION = FACTORIZED_BERNOULLI
               MEASURE = SHANNON_ENTROPY
  ENERGY:    FUNCTION = UNSAT_CLAUSES
  DYNAMICS:  TYPE = NATURAL_GRADIENT | MOMENTUM | LOCAL_SEARCH
  TIME:      TYPE = DISCRETE
  OBJECTIVE: MINIMIZE(FREE_ENERGY)
  VERIFY:    INDEPENDENT_BOOLEAN_CHECK
}

Compilation pipeline (implemented in part for v0.3): lexer → parser → AST → type checks → mathematical IR → numerical engine → independent SAT verifier. Every instruction must map to a mathematical object; decorative notation is rejected as non-conforming.

4. E–T–I–G mathematical framework

Proposed unified structure (symbols overloaded carefully):

\[ \mathcal{P}=(X,\,p,\,G,\,H,\,F,\,\Phi) \]

Proposed packaging Discrete hypercube geometry and continuous statistical-manifold geometry are different mathematical objects; conflating them is a known failure mode (Failure C).

4.1 Geometry

\[ d_H(x,y)=\sum_{i=1}^n |x_i-y_i| \]

Neighbors differ by one bit. Search trajectories may be visualized as paths on the cube (exact for tiny \(n\)) or as curves in \(\theta\)-space.

4.2 Information

\[ p(x)\ge 0,\quad \sum_x p(x)=1 \]

Factorized Bernoulli model used in the v0.3 engine:

\[ p_\theta(x)=\prod_{i=1}^n q_i^{x_i}(1-q_i)^{1-x_i},\qquad q_i=\sigma(\theta_i) \]

Factorization ignores correlations—explicit limitation.

4.3 Energy

\[ E_j(x)=\begin{cases}0 & \text{clause }j\text{ satisfied}\\ 1 & \text{otherwise}\end{cases},\qquad H(x)=\sum_j E_j(x),\qquad \langle H\rangle=\sum_x p(x)H(x) \]

Under independence, \(\mathbb{E}[E_j]\) equals the product of literal-false probabilities (exact for the factorized model; not exact for the true posterior).

4.4 Free energy and Gibbs derivation (sketch)

Minimize \(F[p]=\sum_x p(x)H(x)+\tau\sum_x p(x)\ln p(x)\) subject to \(\sum_x p=1\). Lagrange multiplier \(\lambda\) yields stationarity \(\partial/\partial p(x):\; H(x)+\tau(\ln p(x)+1)+\lambda=0\), hence \(p(x)\propto e^{-H(x)/\tau}\). Normalization defines \(Z(\tau)\). Low \(\tau\) concentrates on low-\(H\) states; high \(\tau\) flattens. Zero temperature limits are delicate on discrete spaces. Status: analytically derived (classical); application to SAT search performance is empirical.

5. Information geometry (factorized model)

For independent Bernoullis in \(q\)-coordinates, the Fisher metric is diagonal: \(g_{ii}=1/(q_i(1-q_i))\) (and \(0\) off-diagonal). In logit coordinates \(\theta_i=\mathrm{logit}(q_i)\), \(g_{ii}=q_i(1-q_i)\). Natural-gradient steps use these diagonals with \(\varepsilon\)-floor regularization near \(0,1\). Dissipation \(dF/dt\le 0\) holds under continuous NG flow when \(G\succ 0\) and \(F\) is smooth—standard Riemannian gradient flow. Boundary singularities: regularization required.

6. Hamiltonian and Lagrangian extension

\[ L(\theta,\dot\theta)=\tfrac12\dot\theta^\top G(\theta)\dot\theta - F(\theta) \]

Euler–Lagrange equations involve Christoffel symbols when \(G\) depends on \(\theta\). Mechanically inspired energy \(H_{\mathrm{tot}}=\tfrac12\dot\theta^\top G\dot\theta+F(\theta)\) satisfies \(\frac{d}{dt}H_{\mathrm{tot}}\le 0\) under damping and stated assumptions; identities for constant \(G\) must not be blindly copied to time-varying metrics. Status: proposed dynamics · global SAT convergence not established.

7. Unified dynamics (variants)

  1. A. Natural-gradient: \(\theta\leftarrow\theta-\eta G^{-1}\nabla F\) (discrete).
  2. B. Momentum: velocity update with damping \(\mu\), then NG step.
  3. C. Entropy-regularized / annealed: schedule \(\tau(t)\) (partially exposed in UI).

Exact mathematical properties (local descent under assumptions) are distinct from empirical SAT success rates. Seeds, iteration caps and boundary handling are mandatory for reproducibility.

8. SAT-3 integration and verification

Instance \(\Phi=C_1\land\cdots\land C_m\) with three-literal clauses. The laboratory generates random or guaranteed-SAT CNFs, runs selected algorithms, then independently evaluates every clause on the decoded Boolean assignment. Optimizer energy is never trusted as a SAT certificate. Optimizer failure is never an UNSAT proof.

Baselines in v0.3: random/local bit-flip search; energy-only (\(\tau\to 0\)); natural gradient; momentum. External CDCL comparison is future work.

9. Historical SAT-3 experiments and reproducibility assessment

Integrity notice: figures below are historical conversational notes. Raw logs are unavailable. Labels are mandatory.

nmReported final energyReported runtimeStatus
209112.61 shistorical raw unavailable reproduction pending
3013523.60 shistorical reproduction pending
4017542.52 shistorical reproduction pending
5021524.12 shistorical reproduction pending
6025544.68 shistorical reproduction pending

Toy note: three variables, assignment \((0,1,0)\), energy \(0\) — historical. Guaranteed-SAT restart note (pop 200, max cycles 500, three restarts; 20-var energies/times 0.56s / 0.98s / 0.37s) — historical; 30-var record incomplete. Live browser runs are labeled browser simulation with exportable provenance.

10. Failure analysis (summary)

Full treatment: Failure analysis.

11. Relevance to P versus NP

\(\mathbf{P}\) and \(\mathbf{NP}\) are asymptotic complexity classes. 3-SAT is NP-complete, so a deterministic polynomial-time algorithm for all 3-SAT instances would imply \(\mathbf{P}=\mathbf{NP}\). Finite benchmarks, heuristics and average-case speedups do not prove that. Failing to solve an instance does not prove \(\mathbf{P}\neq\mathbf{NP}\). A genuine complexity contribution would require new reductions, circuit lower bounds, proof-complexity separations, or a proven poly-time decision procedure— none of which are claimed here. PML is an experimental modeling layer.

12. Limitations and future work

v0.3 limitations: browser-scale \(n\); factorized expectations; no Lean-checked proofs yet (stubs only); no claim of advantage over CDCL; historical tables unverified. Future: richer PML grammar, Web Worker engines, correlation-aware models, Lean 4 kernels for energy↔SAT lemmas, public raw logs with checksums, careful external solver baselines.

References

  1. Arora, S. & Barak, B. Computational Complexity: A Modern Approach. Cambridge University Press, 2009.
  2. Sipser, M. Introduction to the Theory of Computation (3rd ed.). Cengage, 2012.
  3. Cook, S. A. “The complexity of theorem-proving procedures.” STOC, 1971. DOI: 10.1145/800157.805047
  4. Karp, R. M. “Reducibility among combinatorial problems.” In Complexity of Computer Computations, 1972.
  5. Mézaard, M. & Montanari, A. Information, Physics, and Computation. Oxford University Press, 2009.
  6. Kirkpatrick, S., Gelatt, C. D. & Vecchi, M. P. “Optimization by simulated annealing.” Science, 1983. DOI: 10.1126/science.220.4598.671
  7. Amari, S. Information Geometry and Its Applications. Springer, 2016.
  8. Amari, S. “Natural gradient works efficiently in learning.” Neural Computation, 1998. DOI: 10.1162/089976698300017746
  9. Shannon, C. E. “A mathematical theory of communication.” Bell System Technical Journal, 1948.
  10. Jaynes, E. T. “Information theory and statistical mechanics.” Physical Review, 1957.
  11. Goldstein, H., Poole, C. & Safko, J. Classical Mechanics (3rd ed.). Addison-Wesley, 2002.
  12. Nocedal, J. & Wright, S. Numerical Optimization (2nd ed.). Springer, 2006.
  13. Biere, A., Heule, M., van Maaren, H. & Walsh, T. (eds.). Handbook of Satisfiability (2nd ed.). IOS Press, 2021.

© Research content: Prabhat Kumar Manna (independent researcher). Hosted by SmokyCoders Research. Equations render via KaTeX when available.